diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-08-20 20:20:17 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-08-20 20:20:17 +0000 |
commit | 2ff1f7400ae539940539da019a4aef2de9152687 (patch) | |
tree | 97172d14529af3e83f3df872817f5a103921cea7 | |
parent | 872a43c7801106a02373899db39e684b4747bbaa (diff) | |
download | pango-2ff1f7400ae539940539da019a4aef2de9152687.tar.gz |
Make the test for VARARGS macros more robust, fixing problem with
Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Make the test for VARARGS macros
more robust, fixing problem with misbehaving
IRIX compiler that doesn't error on #error.
(#90267)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 7 | ||||
-rw-r--r-- | configure.in | 12 |
7 files changed, 50 insertions, 4 deletions
@@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 1e5f8aa3..2bd15452 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index 1e5f8aa3..2bd15452 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 1e5f8aa3..2bd15452 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 1e5f8aa3..2bd15452 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 1e5f8aa3..2bd15452 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,10 @@ +Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> + + * configure.in: Make the test for VARARGS macros + more robust, fixing problem with misbehaving + IRIX compiler that doesn't error on #error. + (#90267) + Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): diff --git a/configure.in b/configure.in index 06489d71..5b270d81 100644 --- a/configure.in +++ b/configure.in @@ -315,15 +315,19 @@ fi # The OpenType test programs aren't particularly portable # have_varargs=no +pango_saved_cppflags=$CPPFLAGS +CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS" AC_MSG_CHECKING(Whether to build OpenType test programs) -pango_save_cppflags="$CPPFLAGS" -AC_TRY_COMPILE([#include <glib.h>],[ -#if !(defined(G_HAVE_ISO_VARARGS) || defined(G_HAVE_GNUC_VARARGS)) -#error "No varargs macro definitions" +AC_EGREP_CPP(pango_configure_test_yes, [ +#include <glib.h> + +#if defined(G_HAVE_ISO_VARARGS) || defined(G_HAVE_GNUC_VARARGS) +pango_configure_test_yes #endif ],have_varargs=yes) AC_MSG_RESULT($have_varargs) AM_CONDITIONAL(BUILD_OT_TESTS, test $have_varargs = yes) +CPPFLAGS=$pango_saved_cppflags # # Allow building some or all modules included |