[sr #110886] autoupdate produces broken configure.ac

Maxim Cournoyer <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #4, sr #110886 (project autoconf):

Another one, which falls into the nested category: a quote was stripped,
leaving the result unbalanced:


@@ -3618,17 +3578,14 @@ if test "$wx_cv_size_t_is_uint" = "yes"; then
 else
     AC_CACHE_CHECK([if size_t is unsigned long], [
         wx_cv_size_t_is_ulong, [
-        AC_TRY_COMPILE([#include <stddef.h>],
-            [
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]], [[
                 return 0; }
 
                 struct Foo { void foo(size_t); void foo(unsigned long); };
 
                 int bar() {
-            ],
-            wx_cv_size_t_is_ulong=no,
-            wx_cv_size_t_is_ulong=yes
-        )
+            ]])],[wx_cv_size_t_is_ulong=no],[wx_cv_size_t_is_ulong=yes
+        ])
     )]
 
     if test "$wx_cv_size_t_is_ulong" = "yes"; then




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110886>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.