diff configure @ 3317:83ea3a38afe7

[xemacs-hg @ 2006-03-30 18:11:17 by james] Fix broken -Kalloca detection due to recent autoconf updates. See xemacs-patches message <m33bgziz2f.fsf@jerrypc.cs.usu.edu>.
author james
date Thu, 30 Mar 2006 18:11:18 +0000
parents d45de99b5d79
children 14995b91af10
line wrap: on
line diff
--- a/configure	Thu Mar 30 16:22:27 2006 +0000
+++ b/configure	Thu Mar 30 18:11:18 2006 +0000
@@ -9025,7 +9025,14 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+
+int
+main ()
+{
 void *x = alloca(4);
+  ;
+  return 0;
+}
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
@@ -9063,7 +9070,14 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+
+int
+main ()
+{
 void *x = alloca(4);
+  ;
+  return 0;
+}
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5