Fix location where math-vector-fortran.h is installed.

Message ID 44cd0edb-2ab3-2908-8adb-f2e06859ecfe@suse.cz
State Superseded
Headers

Commit Message

Martin Liška Feb. 26, 2019, 5:56 p.m. UTC
  Hi.

This is follow up patch where I fix location where the header
is installed. I made a type as I was copying & pasting.

I also built glibc package in openSUSE and verified a recent GCC
can properly find the header.

Ready for trunk?
Thanks,
Martin
  

Comments

Joseph Myers Feb. 26, 2019, 6:05 p.m. UTC | #1
On Tue, 26 Feb 2019, Martin Liška wrote:

> Hi.
> 
> This is follow up patch where I fix location where the header
> is installed. I made a type as I was copying & pasting.

It's not clear to me that we want to add a top-level finclude/ directory 
in the glibc source tree.  Would math/finclude/ work just as well as a 
source tree location for this file?
  

Patch

From ccc30d7ac8ae5383e3e876bbd0da88640aefd4a0 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Tue, 26 Feb 2019 18:17:36 +0100
Subject: [PATCH] Fix location where math-vector-fortran.h is installed.

ChangeLog:

2019-02-26  Martin Liska  <mliska@suse.cz>

	* math/Makefile: Change location where math-vector-fortran.h is
	installed.
	* finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
	* sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
	from sysdeps/x86/fpu/bits/math-vector-fortran.h.
---
 {bits => finclude}/math-vector-fortran.h                 | 0
 math/Makefile                                            | 2 +-
 sysdeps/x86/fpu/{bits => finclude}/math-vector-fortran.h | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename {bits => finclude}/math-vector-fortran.h (100%)
 rename sysdeps/x86/fpu/{bits => finclude}/math-vector-fortran.h (100%)

diff --git a/bits/math-vector-fortran.h b/finclude/math-vector-fortran.h
similarity index 100%
rename from bits/math-vector-fortran.h
rename to finclude/math-vector-fortran.h
diff --git a/math/Makefile b/math/Makefile
index fc4191089d..cb4eaec6a9 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -26,7 +26,7 @@  headers		:= math.h bits/mathcalls.h bits/mathinline.h \
 		   fpu_control.h complex.h bits/cmathcalls.h fenv.h \
 		   bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \
 		   bits/math-finite.h bits/math-vector.h \
-		   bits/math-vector-fortran.h \
+		   finclude/math-vector-fortran.h \
 		   bits/libm-simd-decl-stubs.h bits/iscanonical.h \
 		   bits/flt-eval-method.h bits/fp-fast.h bits/fp-logb.h \
 		   bits/long-double.h bits/mathcalls-helper-functions.h \
diff --git a/sysdeps/x86/fpu/bits/math-vector-fortran.h b/sysdeps/x86/fpu/finclude/math-vector-fortran.h
similarity index 100%
rename from sysdeps/x86/fpu/bits/math-vector-fortran.h
rename to sysdeps/x86/fpu/finclude/math-vector-fortran.h
-- 
2.20.1