From fc28f0832f0c40489bc0a9a47eab2c149f86998d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 7 Jul 2005 20:37:54 +0000 Subject: [PATCH] Make the size_t size detection work on AIX. (#309725) 2005-07-07 Matthias Clasen * configure.in: Make the size_t size detection work on AIX. (#309725) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ configure.in | 6 ++++++ 5 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index bba4fa92c..ce645c01f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-07 Matthias Clasen + + * configure.in: Make the size_t size detection work on AIX. + (#309725) + 2005-07-06 Matthias Clasen * configure.in: Require a newer gtk-doc. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bba4fa92c..ce645c01f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-07-07 Matthias Clasen + + * configure.in: Make the size_t size detection work on AIX. + (#309725) + 2005-07-06 Matthias Clasen * configure.in: Require a newer gtk-doc. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index bba4fa92c..ce645c01f 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2005-07-07 Matthias Clasen + + * configure.in: Make the size_t size detection work on AIX. + (#309725) + 2005-07-06 Matthias Clasen * configure.in: Require a newer gtk-doc. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bba4fa92c..ce645c01f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-07-07 Matthias Clasen + + * configure.in: Make the size_t size detection work on AIX. + (#309725) + 2005-07-06 Matthias Clasen * configure.in: Require a newer gtk-doc. diff --git a/configure.in b/configure.in index 1a8a95be8..1b7bf3475 100644 --- a/configure.in +++ b/configure.in @@ -787,6 +787,9 @@ dnl if test $ac_cv_sizeof_size_t = $ac_cv_sizeof_int && test $ac_cv_sizeof_size_t = $ac_cv_sizeof_long ; then GLIB_CHECK_COMPILE_WARNINGS([ +#ifdef _AIX +#pragma options langlvl=stdc89 +#endif #include int main () { @@ -796,6 +799,9 @@ int main () } ],glib_size_type=int, [GLIB_CHECK_COMPILE_WARNINGS([ +#ifdef _AIX +#pragma options langlvl=stdc89 +#endif #include int main () {