Diff for /gforth/configure.in between versions 1.34 and 1.44

version 1.34, 1998/06/04 16:17:38 version 1.44, 1998/12/20 11:20:28
Line 1 Line 1
 dnl Process this file with autoconf to produce a configure script.  dnl Process this file with autoconf to produce a configure script.
   
 #Copyright (C) 1995,1996 Free Software Foundation, Inc.  #Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
   
 #This file is part of Gforth.  #This file is part of Gforth.
   
Line 69  EOF Line 69  EOF
 fi  fi
   
 AC_SUBST(CC)  AC_SUBST(CC)
 AC_SUBST(GCCLDFLAGS)  
 AC_SUBST(DEBUGFLAG)  AC_SUBST(DEBUGFLAG)
   
 dnl the following macro produces a warning with autoconf-2.1  dnl the following macro produces a warning with autoconf-2.1
Line 86  case "$ac_cv_sizeof_char_p" in Line 85  case "$ac_cv_sizeof_char_p" in
     ;;      ;;
 esac  esac
   
   AC_CHECK_SIZEOF(char)
 AC_CHECK_SIZEOF(short)  AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(int)  AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(long)  AC_CHECK_SIZEOF(long)
Line 93  AC_CHECK_SIZEOF(long long) Line 93  AC_CHECK_SIZEOF(long long)
   
 ac_cv_int_type_cell=none  ac_cv_int_type_cell=none
 case "$ac_cv_sizeof_char_p" in  case "$ac_cv_sizeof_char_p" in
     $ac_cv_sizeof_int)
       ac_cv_int_type_cell=int
       ;;
   $ac_cv_sizeof_short)    $ac_cv_sizeof_short)
     ac_cv_int_type_cell=short      ac_cv_int_type_cell=short
     ;;      ;;
   $ac_cv_sizeof_int)    $ac_cv_sizeof_char)
     ac_cv_int_type_cell=int      ac_cv_int_type_cell=char
     ;;      ;;
   $ac_cv_sizeof_long)    $ac_cv_sizeof_long)
     ac_cv_int_type_cell=long      ac_cv_int_type_cell=long
Line 145  AC_CANONICAL_HOST Line 148  AC_CANONICAL_HOST
 case "$host_cpu" in  case "$host_cpu" in
         hppa*)          hppa*)
                 machine=hppa                  machine=hppa
                 LIBOBJS="$LIBOBJS cache.o"                  LIBOBJS="$LIBOBJS ../arch/hppa/cache.o"
                 LDFLAGS="-Xlinker -N"                  LDFLAGS="-Xlinker -N"
                 LIBS="-L/lib/pa1.1/"                  LIBS="-L/lib/pa1.1/"
                 if test "${enable_direct_threaded+set}" = ""                  if test "${enable_direct_threaded+set}" = ""
Line 197  case "$host_cpu" in Line 200  case "$host_cpu" in
         mips*)          mips*)
                 machine=mips                  machine=mips
                 #link text and data segment into the same 256M region!                  #link text and data segment into the same 256M region!
                 GCCLDFLAGS="-Xlinker -T -Xlinker 10000000 -Xlinker -D -Xlinker 10400000"                  AC_MSG_CHECKING([whether the linker accepts -D])
                   OLDLDFLAGS=$LDFLAGS
                   LDFLAGS="$LDFLAGS -Xlinker -T -Xlinker 10000000 -Xlinker -D -Xlinker 10400000"
                   AC_TRY_LINK(,,ac_link_mips_d=yes,ac_link_mips_d=no)
                   test $ac_link_mips_d = yes||LDFLAGS="$OLDLDFLAGS -Xlinker -T -Xlinker 10000000"
                   AC_MSG_RESULT($ac_link_mips_d)
                 ;;                  ;;
         alpha*)          alpha*)
                 machine=alpha                  machine=alpha
                 ;;                  ;;
         power*)          power*)
                 machine=power                  machine=power
                   AC_CHECK_FUNC(_sync_cache_range,true,LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.o")
                 ;;                  ;;
         *)          *)
                 echo "No direct threading support for $host_cpu, using indirect threading."                  echo "No direct threading support for $host_cpu, using indirect threading."
Line 216  esac Line 225  esac
 AC_SUBST(host)  AC_SUBST(host)
 AC_SUBST(ENGINE_FLAGS)  AC_SUBST(ENGINE_FLAGS)
   
   case "$host_os" in
           *win32)
                   EXE=".exe"
                   ;;
           *)
                   EXE=""
                   ;;
   esac
   AC_SUBST(EXE)
   
 dnl Now a little support for DOS/DJGCC  dnl Now a little support for DOS/DJGCC
 AC_SUBST(GFORTH_EXE)  AC_SUBST(GFORTH_EXE)
 GFORTH_EXE=""  GFORTH_EXE=""
Line 259  dnl Checks for library functions Line 278  dnl Checks for library functions
 dnl This check is just for making later checks link with libm.  dnl This check is just for making later checks link with libm.
 dnl using sin here is no good idea since it is built-into gcc and typechecked  dnl using sin here is no good idea since it is built-into gcc and typechecked
 AC_CHECK_LIB(m,asin)  AC_CHECK_LIB(m,asin)
 AC_CHECK_FUNCS(dlopen)  
 AC_CHECK_LIB(dl,dlopen)  AC_CHECK_LIB(dl,dlopen)
 AC_CHECK_LIB(kernel32,GetModuleHandle)  
 if test "$host_os" != "nextstep3"  if test "$host_os" != "nextstep3"
 then  then
         AC_FUNC_MEMCMP          AC_FUNC_MEMCMP
 fi  fi
 AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh)  AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh)
 AC_CHECK_FUNCS(sys_siglist)  AC_CHECK_FUNCS(dlopen sys_siglist)
 AC_DECL_SYS_SIGLIST  AC_DECL_SYS_SIGLIST
 AC_CHECK_FUNC(getopt_long,true,LIBOBJS="$LIBOBJS getopt.o getopt1.o")  AC_CHECK_FUNC(getopt_long,true,LIBOBJS="$LIBOBJS getopt.o getopt1.o")
 AC_CHECK_FUNCS(rint expm1 log1p)  AC_CHECK_FUNCS(rint expm1 log1p)
Line 285  AC_SUBST(machine) Line 302  AC_SUBST(machine)
 dnl AC_LINK_FILES(arch/$machine,arch/machine) #no longer needed  dnl AC_LINK_FILES(arch/$machine,arch/machine) #no longer needed
 AC_OUTPUT([  AC_OUTPUT([
 Makefile  Makefile
 engine/Makefile ],echo timestamp > stamp-h)  gforthmi
   engine/Makefile
   doc/version.texi ],
   echo timestamp > stamp-h
   chmod +x gforthmi
   test -d kernel||mkdir kernel)
   

Removed from v.1.34  
changed lines
  Added in v.1.44


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