about summary refs log tree commit diff
path: root/sysdeps/mach/configure
diff options
context:
space:
mode:
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 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