]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the test for vsscanf() declaration which never passed because it was trying to...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jun 2008 22:34:57 +0000 (22:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jun 2008 22:34:57 +0000 (22:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 5625f7103321baf64469edc5cf9b71d66fdc773d..2492896d6688a772613ae309ae6c80ab508c0bda 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Id: configure.in 53035 2008-04-05 21:00:46Z SN .
+# From configure.in Id: configure.in 53842 2008-05-30 13:35:30Z VZ .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
 #
@@ -35360,8 +35360,9 @@ int
 main ()
 {
 
-                    char *buf, *parse;
-                    vsscanf(buf, "%s", parse);
+                    char *buf;
+                    va_list args;
+                    vsscanf(buf, "%s", args);
 
   ;
   return 0;
index 4d24aba9d63f43b0dd44ae20f0b596d08705d3f2..ced854cefcea8822daa69c89cf5e9a7ef1d06dde 100644 (file)
@@ -4182,8 +4182,9 @@ if test "$ac_cv_func_vsscanf" = "yes"; then
                     #endif
                 ],
                 [
-                    char *buf, *parse;
-                    vsscanf(buf, "%s", parse);
+                    char *buf;
+                    va_list args;
+                    vsscanf(buf, "%s", args);
                 ],
                 wx_cv_func_vsscanf_decl=yes,
                 wx_cv_func_vsscanf_decl=no