]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Strengthen the configure test for working -nostdinc -isystem.
authorGrégoire Sutre <gregoire.sutre@gmail.com>
Sun, 5 Aug 2012 14:49:03 +0000 (16:49 +0200)
committerGrégoire Sutre <gregoire.sutre@gmail.com>
Sun, 5 Aug 2012 14:49:03 +0000 (16:49 +0200)
ChangeLog
configure.ac

index dd1fda8d67338b2afadc24b6ea4f6103664e9ba9..a0a81b1983f1c91bc3ae8c636ff6f4c5c4641d3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-05  Grégoire Sutre  <gregoire.sutre@gmail.com>
+
+       * configure.ac: Strengthen the test for working -nostdinc -isystem.
+
 2012-07-31  Grégoire Sutre  <gregoire.sutre@gmail.com>
 
        * po/POTFILES.in: Regenerated.
index 91b36d0a4fa5ec18ad463f7eaa2bff8f9fd7a075..190665df846722d0b717721bf2ff4732f16ad420 100644 (file)
@@ -717,6 +717,7 @@ AC_CACHE_CHECK([whether -nostdinc -isystem works], [grub_cv_cc_isystem], [
   SAVED_CPPFLAGS="$CPPFLAGS"
   CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
+#include <stddef.h>
 int va_arg_func (int fixed, va_list args);]], [[]])],
       [grub_cv_cc_isystem=yes],
       [grub_cv_cc_isystem=no])