APPROVE COMMIT 21.5
Thanks to Ilya Golubev for catching this one. This is another mistake
from my recent update to configure.ac. I have checked every use of
AC_LANG_SOURCE and this is the only remaining incorrect one.
ChangeLog addition:
2006-03-30 Jerry James <james(a)xemacs.org>
* configure.ac: Fix for -Kalloca detection, also broken by the
recent autoconf updates. Thanks to Ilya Golubev.
xemacs-21.5 source patch:
Diff command: cvs -q diff -uN
Files affected: configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.39
diff -d -u -r1.39 configure.ac
--- configure.ac 2006/03/30 16:22:27 1.39
+++ configure.ac 2006/03/30 18:04:14
@@ -2184,10 +2184,10 @@
if test "$__USLC__" = yes; then
AC_MSG_CHECKING(for whether the -Kalloca compiler flag is needed)
need_kalloca=no
- AC_LINK_IFELSE([AC_LANG_SOURCE([void *x = alloca(4);])], [:], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [void *x = alloca(4);])], [:], [
xe_save_c_switch_system="$c_switch_system"
c_switch_system="$c_switch_system -Kalloca"
- AC_LINK_IFELSE([AC_LANG_SOURCE([void *x = alloca(4);])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [void *x = alloca(4);])],
[ need_kalloca=yes ])
c_switch_system="$xe_save_c_switch_system"])
AC_MSG_RESULT($need_kalloca)
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University