summaryrefslogtreecommitdiff
path: root/sysdeps/mach/configure
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-08-26 23:49:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-08-26 23:49:07 +0200
commit1d39694fcbc8e3675d86204225e3d479874eef15 (patch)
tree937dba09a5162b6f5ee420322b48a2611153e56a /sysdeps/mach/configure
parent5b38936ab967907d91dc46ddbd3c0b87e5fcbeaa (diff)
parentc60ca31104c8f9433e3fe51aee238c19e09d9943 (diff)
Merge branch 't/sysheaders' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'sysdeps/mach/configure')
-rw-r--r--sysdeps/mach/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure
index 290a5ffb0b..d7c102c672 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