--- gforth/Attic/configure 1994/12/12 17:10:31 1.6 +++ gforth/Attic/configure 1994/12/14 16:15:25 1.7 @@ -671,6 +671,45 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +echo $ac_n "checking for -lm""... $ac_c" 1>&4 +if eval "test \"`echo '${'ac_cv_lib_m'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + ac_save_LIBS="$LIBS" +LIBS="$LIBS -lm " +cat > conftest.$ac_ext <&4 + ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'` + cat >> confdefs.h <&4 +fi + echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4 if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 @@ -679,7 +718,7 @@ else ac_cv_func_memcmp=no else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -753,7 +792,7 @@ if eval "test \"`echo '${'ac_cv_func_get echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ /* Override any gcc2 internal prototype to avoid an error. */ @@ -792,46 +831,7 @@ getopt_long="getopt.o getopt1.o" fi -echo $ac_n "checking for -lm""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_lib_m'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - ac_save_LIBS="$LIBS" -LIBS="$LIBS -lm " -cat > conftest.$ac_ext <&4 - ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'` - cat >> confdefs.h <&4 -fi - -for ac_func in rint +for ac_func in rint expm1 log1p do echo $ac_n "checking for $ac_func""... $ac_c" 1>&4 if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then