version 1.137, 2003/12/07 23:05:30
|
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 204 case "$host_cpu" in
|
Line 204 case "$host_cpu" in
|
power*|rs6000) |
power*|rs6000) |
machine=power |
machine=power |
$srcdir/mkinstalldirs arch/power |
$srcdir/mkinstalldirs arch/power |
AC_CHECK_FUNC(_sync_cache_range,true,AC_LIBOBJ(../arch/power/_sync_cache_range)) |
AC_CHECK_FUNC(_sync_cache_range,[true],[AC_LIBOBJ(../arch/power/_sync_cache_range)]) |
#long long is broken on (at least) gcc-2.95.* for PPC |
#long long is broken on (at least) gcc-2.95.* for PPC |
test x$ac_cv_sizeof_long_long = x && ac_cv_sizeof_long_long=0 |
test x$ac_cv_sizeof_long_long = x && ac_cv_sizeof_long_long=0 |
;; |
;; |
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) |
Line 500 AC_FUNC_FSEEKO
|
Line 509 AC_FUNC_FSEEKO
|
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_TYPES(stack_t,,,[#include <signal.h>]) |
AC_CHECK_TYPES(stack_t,,,[#include <signal.h>]) |
AC_DECL_SYS_SIGLIST |
AC_DECL_SYS_SIGLIST |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt); AC_LIBOBJ(getopt1)) |
AC_CHECK_FUNC(getopt_long,[true],[AC_LIBOBJ(getopt) AC_LIBOBJ(getopt1)]) |
AC_CHECK_FUNCS(expm1 log1p) |
AC_CHECK_FUNCS(expm1 log1p) |
AC_REPLACE_FUNCS(rint ecvt) |
AC_REPLACE_FUNCS(rint ecvt) |
dnl No check for select, because our replacement is no good under |
dnl No check for select, because our replacement is no good under |