--- gforth/configure.in 2004/06/13 17:04:28 1.139 +++ gforth/configure.in 2004/08/27 15:53:49 1.141 @@ -356,17 +356,15 @@ AC_SUBST(asm_fs) AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine) AC_SUBST(disasm_fs) -#programs needed for dis-gdb.fs -#it would be better to check for them at run-time, though -AC_CHECK_PROG([disgdb_fs1],[mktemp],[dis-gdb.fs],) -AC_CHECK_PROG([disgdb_fs],[gdb],[$disgdb_fs1],) - AC_PATH_PROG(INSTALL_INFO,install-info,[echo '>>>>Please make info dir entry:'],$PATH:/sbin:/usr/sbin:/usr/local/sbin) case "$host_os" in *win32|cygwin) DIRSEP="\\\\" PATHSEP=";" + #we want the builtins of command.com and its handling of .com files + #on some Windows versions "cmd.exe /c " is an alternative + DEFAULTSYSTEMPREFIX="command.com /c " ;; *darwin*) #Darwin uses some funny preprocessor by default; eliminate it: @@ -374,17 +372,20 @@ case "$host_os" in CFLAGS="$CFLAGS -no-cpp-precomp" DIRSEP="/" PATHSEP=":" + DEFAULTSYSTEMPREFIX="" ;; *) DIRSEP="/" PATHSEP=":" + DEFAULTSYSTEMPREFIX="" ;; esac AC_SUBST(DIRSEP) AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) AC_SUBST(PATHSEP) AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP',[a path separator character]) - +AC_SUBST(DEFAULTSYSTEMPREFIX) +AC_DEFINE_UNQUOTED(DEFAULTSYSTEMPREFIX,"$DEFAULTSYSTEMPREFIX",[default for environment variable GFORTHSYSTEMPREFIX]) dnl Now a little support for DOS/DJGCC AC_SUBST(GFORTH_EXE)