Attached is a patch to fix a bug in aclocal.m4. If CXX is specified on
the command-line before ./configure (CXX=g++ ./configure),
ac_cv_prog_cxx_cross is not set. This leads to cross_compiling not
being set which leads to this test failing:
### check for compiler brokenness
#check for the strength reduction bug of gcc
if test x$GXX = xyes && test $cross_compiling = no ; then
I also changed a "test ! -n" to "test -z" as you use it elsewhere in
the code for consistency.
--
albert chin ([EMAIL PROTECTED])
-- snip snip
--- aclocal.m4.orig Thu Jul 1 23:41:41 1999
+++ aclocal.m4 Thu Jul 1 23:44:44 1999
@@ -89,7 +89,7 @@
dnl LYX_SEARCH_PROG(VARIABLE-NAME,PROGRAMS-LIST,ACTION-IF-FOUND)
dnl
define(LYX_SEARCH_PROG,[dnl
-if test ! -n "[$]$1"; then
+if test -z "[$]$1"; then
for ac_prog in $2 ; do
#Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog ; ac_word=$[2]
@@ -109,6 +109,9 @@
fi)
test -n "[$]$1" && break
done
+else
+ ifelse($3,,,dnl
+ $3)
fi
])dnl
dnl