Diff for /gforth/Attic/configure between versions 1.6 and 1.9

version 1.6, 1994/12/12 17:10:31 version 1.9, 1995/01/12 18:37:49
Line 489  echo "$ac_t""$host" 1>&4 Line 489  echo "$ac_t""$host" 1>&4
 case "$host_cpu" in  case "$host_cpu" in
         hppa*)          hppa*)
                 mach_h=hppa                  mach_h=hppa
                   LIBOBJS="cache.o"
                 ;;                  ;;
         sparc*)          sparc*)
                 mach_h=sparc                  mach_h=sparc
Line 539  else Line 540  else
   ac_cv_cross=yes    ac_cv_cross=yes
 else  else
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 543 "configure"  #line 544 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 main(){return(0);}  main(){return(0);}
 EOF  EOF
Line 563  else Line 564  else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else  else
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 567 "configure"  #line 568 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 main () {  main () {
   /* Are we little or big endian?  From Harbison&Steele.  */    /* Are we little or big endian?  From Harbison&Steele.  */
Line 593  EOF Line 594  EOF
   
 fi  fi
   
   
 if test $ac_cv_c_bigendian = yes; then  if test $ac_cv_c_bigendian = yes; then
   bytesex=b    bytesex=b
     KERNAL="kernl32b.fi kernl32l.fi"
 else  else
   bytesex=l    bytesex=l
     KERNAL="kernl32l.fi kernl32b.fi"
 fi  fi
   
 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
Line 671  test -z "$INSTALL_PROGRAM" && INSTALL_PR Line 675  test -z "$INSTALL_PROGRAM" && INSTALL_PR
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  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 <<EOF
   #line 686 "configure"
   #include "confdefs.h"
   
   int main() { return 0; }
   int t() {
   asin()
   ; return 0; }
   EOF
   if eval $ac_link; then
     rm -rf conftest*
     eval "ac_cv_lib_m=yes"
   else
     rm -rf conftest*
     eval "ac_cv_lib_m=no"
   fi
   rm -f conftest*
   LIBS="$ac_save_LIBS"
   
   fi
   if eval "test \"`echo '$ac_cv_lib_'m`\" = yes"; then
     echo "$ac_t""yes" 1>&4
       ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'`
     cat >> confdefs.h <<EOF
   #define $ac_tr_lib 1
   EOF
   
     LIBS="$LIBS -lm"
   
   else
     echo "$ac_t""no" 1>&4
   fi
   
 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4
 if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then  if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4    echo $ac_n "(cached) $ac_c" 1>&4
Line 679  else Line 722  else
   ac_cv_func_memcmp=no    ac_cv_func_memcmp=no
 else  else
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 683 "configure"  #line 726 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 main()  main()
Line 708  if eval "test \"`echo '${'ac_cv_func_$ac Line 751  if eval "test \"`echo '${'ac_cv_func_$ac
   echo $ac_n "(cached) $ac_c" 1>&4    echo $ac_n "(cached) $ac_c" 1>&4
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 712 "configure"  #line 755 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */  #include <ctype.h> /* Arbitrary system header to define __stub macros. */
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
Line 753  if eval "test \"`echo '${'ac_cv_func_get Line 796  if eval "test \"`echo '${'ac_cv_func_get
   echo $ac_n "(cached) $ac_c" 1>&4    echo $ac_n "(cached) $ac_c" 1>&4
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 757 "configure"  #line 800 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */  #include <ctype.h> /* Arbitrary system header to define __stub macros. */
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
Line 792  getopt_long="getopt.o getopt1.o" Line 835  getopt_long="getopt.o getopt1.o"
 fi  fi
   
   
 echo $ac_n "checking for -lm""... $ac_c" 1>&4  for ac_func in rint expm1 log1p
 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 <<EOF  
 #line 803 "configure"  
 #include "confdefs.h"  
   
 int main() { return 0; }  
 int t() {  
 sin()  
 ; return 0; }  
 EOF  
 if eval $ac_link; then  
   rm -rf conftest*  
   eval "ac_cv_lib_m=yes"  
 else  
   rm -rf conftest*  
   eval "ac_cv_lib_m=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'m`\" = yes"; then  
   echo "$ac_t""yes" 1>&4  
     ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="$LIBS -lm"  
   
 else  
   echo "$ac_t""no" 1>&4  
 fi  
   
 for ac_func in rint  
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&4  echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
 if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4    echo $ac_n "(cached) $ac_c" 1>&4
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 842 "configure"  #line 846 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */  #include <ctype.h> /* Arbitrary system header to define __stub macros. */
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
Line 887  if eval "test \"`echo '${'ac_cv_func_$ac Line 891  if eval "test \"`echo '${'ac_cv_func_$ac
   echo $ac_n "(cached) $ac_c" 1>&4    echo $ac_n "(cached) $ac_c" 1>&4
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 891 "configure"  #line 895 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h> /* Arbitrary system header to define __stub macros. */  #include <ctype.h> /* Arbitrary system header to define __stub macros. */
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
Line 1045  s%@host_os@%$host_os%g Line 1049  s%@host_os@%$host_os%g
 s%@MAKE_EXE@%$MAKE_EXE%g  s%@MAKE_EXE@%$MAKE_EXE%g
 s%@LINK_KERNL32L@%$LINK_KERNL32L%g  s%@LINK_KERNL32L@%$LINK_KERNL32L%g
 s%@LINK_KERNL32B@%$LINK_KERNL32B%g  s%@LINK_KERNL32B@%$LINK_KERNL32B%g
   s%@KERNAL@%$KERNAL%g
 s%@LN_S@%$LN_S%g  s%@LN_S@%$LN_S%g
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 s%@INSTALL_DATA@%$INSTALL_DATA%g  s%@INSTALL_DATA@%$INSTALL_DATA%g

Removed from v.1.6  
changed lines
  Added in v.1.9


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>