version 1.138, 2004/04/10 10:15:06
|
version 1.143, 2004/12/31 13:23:56
|
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,1997,1998,2000,2003 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003,2004 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 362 case "$host_os" in
|
Line 362 case "$host_os" in
|
*win32|cygwin) |
*win32|cygwin) |
DIRSEP="\\\\" |
DIRSEP="\\\\" |
PATHSEP=";" |
PATHSEP=";" |
|
#we want the builtins of command.com/cmd.exe and its |
|
# handling of .com files. |
|
#$COMSPEC contains the name of the Windows shell; |
|
# the ./ is there, because the bash does not recognize |
|
# absolute DOS filenames |
|
DEFAULTSYSTEMPREFIX="./$COMSPEC /c " |
;; |
;; |
*darwin*) |
*darwin*) |
#Darwin uses some funny preprocessor by default; eliminate it: |
#Darwin uses some funny preprocessor by default; eliminate it: |
Line 369 case "$host_os" in
|
Line 375 case "$host_os" in
|
CFLAGS="$CFLAGS -no-cpp-precomp" |
CFLAGS="$CFLAGS -no-cpp-precomp" |
DIRSEP="/" |
DIRSEP="/" |
PATHSEP=":" |
PATHSEP=":" |
|
DEFAULTSYSTEMPREFIX="" |
;; |
;; |
*) |
*) |
DIRSEP="/" |
DIRSEP="/" |
PATHSEP=":" |
PATHSEP=":" |
|
DEFAULTSYSTEMPREFIX="" |
;; |
;; |
esac |
esac |
AC_SUBST(DIRSEP) |
AC_SUBST(DIRSEP) |
AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) |
AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) |
AC_SUBST(PATHSEP) |
AC_SUBST(PATHSEP) |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP',[a path separator character]) |
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 |
dnl Now a little support for DOS/DJGCC |
AC_SUBST(GFORTH_EXE) |
AC_SUBST(GFORTH_EXE) |