diff --git a/configure b/configure index 015bd04..6289f76 100755 --- a/configure +++ b/configure @@ -864,8 +864,8 @@ EOF ## Linux *-*-linux* ) dir=linux - # both gross, but needed for some older a.out systems - LIBS=-lm -lc + # gross, but needed for some older a.out systems for 0.4.x + LIBS=-lc echo $ac_n "checking for Linux using ELF""... $ac_c" 1>&6 if eval "test \"`echo '$''{'scsh_cv_linux_elf'+set}'`\" = set"; then diff --git a/configure.in b/configure.in index ed9da75..e6eac82 100644 --- a/configure.in +++ b/configure.in @@ -248,8 +248,8 @@ case "$host" in ## Linux *-*-linux* ) dir=linux - # both gross, but needed for some older a.out systems - LIBS=-lm -lc + # gross, but needed for some older a.out systems for 0.4.x + LIBS=-lc SCSH_LINUX_ELF ;;