use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline
authorManish Singh <yosh@gimp.org>
Fri, 3 Jan 2003 00:16:09 +0000 (00:16 +0000)
committerManish Singh <yosh@src.gnome.org>
Fri, 3 Jan 2003 00:16:09 +0000 (00:16 +0000)
Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
        tests for inline keywords. Fixes #101976.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index 371b043..d60fd43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 371b043..d60fd43 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 371b043..d60fd43 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 371b043..d60fd43 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 371b043..d60fd43 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 371b043..d60fd43 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
+       tests for inline keywords. Fixes #101976.
+
 2003-01-02  Tor Lillqvist  <tml@iki.fi>
 
        * glib/gwin32.h: Correct the comment telling what headers have
index 2f7042b..fb07311 100644 (file)
@@ -542,7 +542,7 @@ dnl AC_C_INLINE is useless to us since it bails out too early, we need to
 dnl truely know which ones of `inline', `__inline' and `__inline__' are
 dnl actually supported.
 AC_CACHE_CHECK([for __inline],glib_cv_has__inline,[
-        AC_TRY_COMPILE([
+        AC_COMPILE_IFELSE([
        __inline int foo () { return 0; }
        int main () { return foo (); }
                ],
@@ -555,7 +555,7 @@ case x$glib_cv_has__inline in
 xyes) AC_DEFINE(G_HAVE___INLINE,1,[Have __inline keyword])
 esac
 AC_CACHE_CHECK([for __inline__],glib_cv_has__inline__,[
-        AC_TRY_COMPILE([
+        AC_COMPILE_IFELSE([
        __inline__ int foo () { return 0; }
        int main () { return foo (); }
                ],
@@ -568,7 +568,7 @@ case x$glib_cv_has__inline__ in
 xyes) AC_DEFINE(G_HAVE___INLINE__,1,[Have __inline__ keyword])
 esac
 AC_CACHE_CHECK([for inline], glib_cv_hasinline,[
-        AC_TRY_COMPILE([
+        AC_COMPILE_IFELSE([
        #undef inline
        inline int foo () { return 0; }
        int main () { return foo (); }