version 1.37, 1998/07/28 21:04:02
|
version 1.43, 1998/12/19 23:15:08
|
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 85 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 92 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 144 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 221 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 266 dnl using sin here is no good idea since
|
Line 280 dnl using sin here is no good idea since
|
AC_CHECK_LIB(m,asin) |
AC_CHECK_LIB(m,asin) |
AC_CHECK_FUNCS(dlopen) |
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 |
Line 290 AC_SUBST(machine)
|
Line 303 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 |
|
gforthmi |
engine/Makefile |
engine/Makefile |
doc/version.texi ],echo timestamp > stamp-h) |
doc/version.texi ],echo timestamp > stamp-h) |
|
chmod +x gforthmi |