Use AC_LINK_IFELSE(), not AC_TRY_RUN() for va_copy(), __va_copy() checks.
authorOwen Taylor <otaylor@redhat.com>
Fri, 6 Dec 2002 17:29:52 +0000 (17:29 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 6 Dec 2002 17:29:52 +0000 (17:29 +0000)
Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
        for va_copy(), __va_copy() checks.

        * configure.in: When there is a reasonable default,
        provide that in the 3rd argument of AC_TRY_RUN(),
        instead of just leaving the 3rd argument empty.

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

index 93c70dc..6a61521 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index 93c70dc..6a61521 100644 (file)
@@ -1,3 +1,12 @@
+Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
+       for va_copy(), __va_copy() checks.
+
+       * configure.in: When there is a reasonable default,
+       provide that in the 3rd argument of AC_TRY_RUN(),
+       instead of just leaving the 3rd argument empty.
+
 2002-12-05  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
index da6343f..a29c3f1 100644 (file)
@@ -808,7 +808,7 @@ AC_CACHE_CHECK([whether realloc (NULL,) will work],glib_cv_sane_realloc,[
         }],
         [glib_cv_sane_realloc=yes],
         [glib_cv_sane_realloc=no],
-       [])
+       [glib_cv_sane_realloc=yes])
 ])
 if test x$glib_cv_sane_realloc = xyes; then
   AC_DEFINE(REALLOC_0_WORKS,1,[whether realloc (NULL,) works])
@@ -852,7 +852,7 @@ dnl **********************
 dnl we currently check for all three va_copy possibilities, so we get
 dnl all results in config.log for bug reports.
 AC_CACHE_CHECK([for an implementation of va_copy()],glib_cv_va_copy,[
-       AC_TRY_RUN([#include <stdarg.h>
+       AC_LINK_IFELSE([#include <stdarg.h>
        void f (int i, ...) {
        va_list args1, args2;
        va_start (args1, i);
@@ -866,11 +866,10 @@ AC_CACHE_CHECK([for an implementation of va_copy()],glib_cv_va_copy,[
          return 0;
        }],
        [glib_cv_va_copy=yes],
-       [glib_cv_va_copy=no],
-       [])
+       [glib_cv_va_copy=no])
 ])
 AC_CACHE_CHECK([for an implementation of __va_copy()],glib_cv___va_copy,[
-       AC_TRY_RUN([#include <stdarg.h>
+       AC_LINK_IFELSE([#include <stdarg.h>
        void f (int i, ...) {
        va_list args1, args2;
        va_start (args1, i);
@@ -884,8 +883,7 @@ AC_CACHE_CHECK([for an implementation of __va_copy()],glib_cv___va_copy,[
          return 0;
        }],
        [glib_cv___va_copy=yes],
-       [glib_cv___va_copy=no],
-       [])
+       [glib_cv___va_copy=no])
 ])
 
 if test "x$glib_cv_va_copy" = "xyes"; then
@@ -915,7 +913,7 @@ AC_CACHE_CHECK([whether va_lists can be copied by value],glib_cv_va_val_copy,[
        }],
        [glib_cv_va_val_copy=yes],
        [glib_cv_va_val_copy=no],
-       [])
+       [glib_cv_va_val_copy=yes])
 ])
 
 if test "x$glib_cv_va_val_copy" = "xno"; then
@@ -1010,7 +1008,7 @@ int main () {
 }                       ],
                        [glib_cv_rtldglobal_broken=no],
                        [glib_cv_rtldglobal_broken=yes],
-                       [])
+                       [glib_cv_rtldglobal_broken=no])
                rm -f plugin.c plugin.o plugin.lo
        ])
        if test "x$glib_cv_rtldglobal_broken" = "xyes"; then