]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed va_copy test
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Nov 2004 13:46:33 +0000 (13:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Nov 2004 13:46:33 +0000 (13:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 86edb7cae126d4175e8f741276d7731e493da820..498a46d3d32c2bc39f334331c452bdbc44484fec 100755 (executable)
--- a/configure
+++ b/configure
@@ -18362,6 +18362,10 @@ else
                 va_end(ap2);
                 va_end(ap1);
             }
+            int main()
+            {
+                return foo("hi", 17);
+            }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
index 8883bbb10eb222d6cb071c19189857984ee9a0ea..788a8dd10b56bc86cb96a4e85203c8c623d9680a 100644 (file)
@@ -1737,6 +1737,10 @@ AC_CACHE_CHECK([for va_copy],
                 va_copy(ap2, ap1);
                 va_end(ap2);
                 va_end(ap1);
+            }
+            int main()
+            {
+                return foo("hi", 17);
             }],
             wx_cv_func_va_copy=yes,
             wx_cv_func_va_copy=no