Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > What happens with the following? > > cl --help </dev/null; echo $?
I think that's a good idea even if it doesn't happen to work around the Allegro cl problem, so I installed this: 2005-02-10 Paul Eggert <[EMAIL PROTECTED]> * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to avoid thinking that Allegro Common Lisp's "cl" command is a C++ compiler. --- general.m4.~1.843.~ 2005-02-04 23:45:49 -0800 +++ general.m4 2005-02-10 14:56:34 -0800 @@ -2133,7 +2133,7 @@ AC_DEFUN([AC_RUN_LOG], # to expand ac_cpp. AC_DEFUN([_AC_PREPROC_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl -if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then +if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) </dev/null >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_[]_AC_LANG_ABBREV[]_werror_flag @@ -2218,7 +2218,7 @@ AC_DEFUN([AC_EGREP_HEADER], m4_define([_AC_COMPILE_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl rm -f conftest.$ac_objext -AS_IF([_AC_EVAL_STDERR($ac_compile) && +AS_IF([_AC_EVAL_STDERR($ac_compile) </dev/null && AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" || test ! -s conftest.err]) && AC_TRY_COMMAND([test -s conftest.$ac_objext])], @@ -2259,7 +2259,7 @@ AU_DEFUN([AC_TRY_COMPILE], m4_define([_AC_LINK_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl rm -f conftest.$ac_objext conftest$ac_exeext -AS_IF([_AC_EVAL_STDERR($ac_link) && +AS_IF([_AC_EVAL_STDERR($ac_link) </dev/null && AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" || test ! -s conftest.err]) && AC_TRY_COMMAND([test -s conftest$ac_exeext])],