From 90bd712c88142fc534ae77f5fca85d31eb53aea8 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 13 Sep 2000 18:12:05 +0000 Subject: [PATCH] Default case for slang AC_TRY_RUNs in configure.in git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@220 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ configure | 6 +++--- configure.in | 5 ++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2424b629..ee697718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ CVS code - - General - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, added check for regex.h in configure.in. +- configure.in: + - Added default case for cross-compiling to get rid of annoying + AC_TRY_RUN warning. - cut.c: do_cut_text() - Don't immediately abort if we're on filebot and the marker is diff --git a/configure b/configure index 6f1c5185..3a80e130 100755 --- a/configure +++ b/configure @@ -1330,7 +1330,7 @@ echo "configure:1330: checking for SLtt_initialize in -lslang" >&5 _libs=$LIBS LIBS="$LIBS -lslang" if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + echo "configure: warning: *** Can not use slang when cross-compiling" 1>&2 else cat > conftest.$ac_ext <&5 LIBS="$LIBS $tcap" if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + echo "configure: warning: *** Can not use slang when cross-compiling" 1>&2 else cat > conftest.$ac_ext <&5 LIBS="$LIBS -lm" if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + echo "configure: warning: *** Can not use slang when cross-compiling" 1>&2 else cat > conftest.$ac_ext <