summaryrefslogtreecommitdiff
path: root/lgl
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-09-08 13:57:22 +0200
committerSimon Josefsson <simon@josefsson.org>2008-09-08 13:57:22 +0200
commit2990c2f136ee12c75e298a80f0c15fc413c4f698 (patch)
treea8da157ecf4a0442a776bc473e6018c27dd210f8 /lgl
parent2ac6ef7894990869f8ed951cf3cc7a15ede00f66 (diff)
downloadgnutls-2990c2f136ee12c75e298a80f0c15fc413c4f698.tar.gz
Update gnulib files.
Diffstat (limited to 'lgl')
-rw-r--r--lgl/m4/include_next.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/lgl/m4/include_next.m4 b/lgl/m4/include_next.m4
index 08c63dbc2c..b6e4d3ae7a 100644
--- a/lgl/m4/include_next.m4
+++ b/lgl/m4/include_next.m4
@@ -1,4 +1,4 @@
-# include_next.m4 serial 7
+# include_next.m4 serial 8
dnl Copyright (C) 2006-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -28,8 +28,12 @@ AC_DEFUN([gl_INCLUDE_NEXT],
[gl_cv_have_include_next],
[rm -rf conftestd1 conftestd2
mkdir conftestd1 conftestd2
+ dnl The include of <stdio.h> is because IBM C 9.0 on AIX 6.1 supports
+ dnl include_next when used as first preprocessor directive in a file,
+ dnl but not when preceded by another include directive.
cat <<EOF > conftestd1/conftest.h
#define DEFINED_IN_CONFTESTD1
+#include <stdio.h>
#include_next <conftest.h>
#ifdef DEFINED_IN_CONFTESTD2
int foo;