Diff for /gforth/configure.in between versions 1.274 and 1.275

version 1.274, 2010/01/02 17:47:03 version 1.275, 2010/01/08 18:54:34
Line 70  if test "$withval" = "yes"; then DEBUGFL Line 70  if test "$withval" = "yes"; then DEBUGFL
   
 GCC_LD="\$(GCC)"  GCC_LD="\$(GCC)"
 EC_MODE="false"  EC_MODE="false"
   NO_EC=""
 EC=""  EC=""
 engine2='engine2$(OPT).o'  engine2='engine2$(OPT).o'
 engine_fast2='engine-fast2$(OPT).o'  engine_fast2='engine-fast2$(OPT).o'
Line 77  no_dynamic="" Line 78  no_dynamic=""
 image_i=""  image_i=""
 signals_o="io.o signals.o"  signals_o="io.o signals.o"
   
   AC_CANONICAL_HOST
 AC_ARG_WITH(ec,  AC_ARG_WITH(ec,
         AC_HELP_STRING([--with-ec=<arch>],          AC_HELP_STRING([--with-ec=<arch>],
                         [  Build gforth for systems without OS.]),                          [  Build gforth for systems without OS.]),
Line 87  else Line 89  else
   AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS])    AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS])
   EC_MODE="true"    EC_MODE="true"
   EC="-ec"    EC="-ec"
     NO_EC="#"
   engine2=""    engine2=""
   engine_fast2=""    engine_fast2=""
   no_dynamic="-DNO_DYNAMIC"    no_dynamic="-DNO_DYNAMIC"
Line 96  else Line 99  else
   else    else
     signals_o="io.o"      signals_o="io.o"
   fi    fi
     if test -f "arch/$host_cpu/${withval}/config.sh"; then
       source "arch/$host_cpu/${withval}/config.sh"
     fi
   GCC_PATH=$(which $CC)    GCC_PATH=$(which $CC)
   LIB_PATH=${GCC_PATH%/*/*}    LIB_PATH=${GCC_PATH%/*/*}
   GCC_LD="\$(LD)"    GCC_LD="\$(LD)"
Line 165  AC_SUBST(CC) Line 171  AC_SUBST(CC)
 AC_SUBST(GCC_LD)  AC_SUBST(GCC_LD)
 AC_SUBST(DEBUGFLAG)  AC_SUBST(DEBUGFLAG)
 AC_SUBST(EC)  AC_SUBST(EC)
   AC_SUBST(NO_EC)
 AC_SUBST(EC_MODE)  AC_SUBST(EC_MODE)
 AC_SUBST(engine2)  AC_SUBST(engine2)
 AC_SUBST(engine_fast2)  AC_SUBST(engine_fast2)
Line 193  AC_MSG_RESULT($ac_export_dynamic) Line 200  AC_MSG_RESULT($ac_export_dynamic)
   
 #terminology is a bit unusual here: The host is the system on which  #terminology is a bit unusual here: The host is the system on which
 #gforth will run; the system on which configure will run is the `build'  #gforth will run; the system on which configure will run is the `build'
 AC_CANONICAL_HOST  
 case "$host_cpu" in  case "$host_cpu" in
         arm*)          arm*)
                 machine=arm                  machine=arm
Line 658  AC_MSG_RESULT($PREFORTH) Line 664  AC_MSG_RESULT($PREFORTH)
 #echo "machine='$machine'"  #echo "machine='$machine'"
   
 dnl AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine)  dnl AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine)
 AC_CHECK_FILE($srcdir/arch/$machine/asm.fs,[asm_fs=arch/$machine/asm.fs],)  if test x$EC_MODE = xfalse
   then
     AC_CHECK_FILE($srcdir/arch/$machine/asm.fs,[asm_fs=arch/$machine/asm.fs],)
   fi
 AC_SUBST(asm_fs)  AC_SUBST(asm_fs)
   
 dnl AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine)  dnl AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine)
 AC_CHECK_FILE($srcdir/arch/$machine/disasm.fs,[disasm_fs=arch/$machine/disasm.fs],)  if test x$EC_MODE = xfalse
   then
     AC_CHECK_FILE($srcdir/arch/$machine/disasm.fs,[disasm_fs=arch/$machine/disasm.fs],)
   fi
 AC_SUBST(disasm_fs)  AC_SUBST(disasm_fs)
   
 AC_PATH_PROG(INSTALL_INFO,install-info,[echo '>>>>Please make info dir entry:'],$PATH:/sbin:/usr/sbin:/usr/local/sbin)  AC_PATH_PROG(INSTALL_INFO,install-info,[echo '>>>>Please make info dir entry:'],$PATH:/sbin:/usr/sbin:/usr/local/sbin)

Removed from v.1.274  
changed lines
  Added in v.1.275


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