diff options
author | Manolis Ragkousis <manolis837@gmail.com> | 2015-08-26 23:48:33 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-06 20:56:18 +0200 |
commit | ccdc039c9d1f7b2efe23a156b2c72a50e64453e4 (patch) | |
tree | 81b4532e30cea7ac0a3994d82ae3f380eca1a08c /sysdeps/mach/configure | |
parent | bd9e69abb887d78d0d6708fc089cc9f3eabf106d (diff) | |
download | glibc-ccdc039c9d1f7b2efe23a156b2c72a50e64453e4.tar.gz glibc-ccdc039c9d1f7b2efe23a156b2c72a50e64453e4.tar.xz glibc-ccdc039c9d1f7b2efe23a156b2c72a50e64453e4.zip |
Check sysheaders when looking for Mach and Hurd headers
* sysdeps/mach/configure.ac: Add sysheaders check. * sysdeps/mach/configure: Regenerate. * sysdeps/mach/hurd/configure.ac: Add sysheaders check. * sysdeps/mach/hurd/configure: Regenerate.
Diffstat (limited to 'sysdeps/mach/configure')
-rw-r--r-- | sysdeps/mach/configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure index 228f99ef9e..4d2a4e3658 100644 --- a/sysdeps/mach/configure +++ b/sysdeps/mach/configure @@ -165,6 +165,11 @@ fi config_vars="$config_vars MIG = $MIG" +if test -n "$sysheaders"; then + OLD_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $SYSINCLUDES" +fi + ### Sanity checks for Mach header installation @@ -553,3 +558,7 @@ if test $hurd_cv_mig_retcode = yes; then $as_echo "#define HAVE_MIG_RETCODE 1" >>confdefs.h fi + +if test -n "$sysheaders"; then + CPPFLAGS=$OLD_CPPFLAGS +fi |