From: Matthias Clasen Date: Thu, 7 Jul 2005 20:37:54 +0000 (+0000) Subject: Make the size_t size detection work on AIX. (#309725) X-Git-Tag: GLIB_2_7_2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc28f0832f0c40489bc0a9a47eab2c149f86998d;p=platform%2Fupstream%2Fglib.git 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) --- diff --git a/ChangeLog b/ChangeLog index bba4fa9..ce645c0 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 bba4fa9..ce645c0 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 bba4fa9..ce645c0 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 bba4fa9..ce645c0 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 1a8a95b..1b7bf34 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 () {