From 87a9656f48a09b63b259271de1d8021b3e82b72c Mon Sep 17 00:00:00 2001 From: bdc Date: Thu, 2 Nov 1995 22:55:53 +0000 Subject: [PATCH] *** empty log message *** --- configure | 41 +++++++++++++++++++++-------------------- configure.in | 3 ++- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/configure b/configure index 76e9df6..8b01239 100755 --- a/configure +++ b/configure @@ -864,7 +864,8 @@ EOF ## Linux *-*-linux* ) dir=linux - LIBS=-lm + # both gross, but needed for some older a.out systems + LIBS=-lm -lc echo $ac_n "checking for Linux using ELF""... $ac_c" 1>&6 if eval "test \"`echo '$''{'scsh_cv_linux_elf'+set}'`\" = set"; then @@ -967,7 +968,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext < #include @@ -1286,7 +1287,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -1300,7 +1301,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1333,7 +1334,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -1368,7 +1369,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext < int main() { return 0; } @@ -1627,7 +1628,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1662,7 +1663,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1696,7 +1697,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1731,7 +1732,7 @@ EOF else cat > conftest.$ac_ext < #include diff --git a/configure.in b/configure.in index 91d4fab..d6d9654 100644 --- a/configure.in +++ b/configure.in @@ -248,7 +248,8 @@ case "$host" in ## Linux *-*-linux* ) dir=linux - LIBS=-lm + # both gross, but needed for some older a.out systems + LIBS=-lm -lc SCSH_LINUX_ELF ;;