version 1.131, 2003/08/25 08:02:58
|
version 1.135, 2003/09/08 13:03:06
|
Line 21 dnl Process this file with autoconf to p
|
Line 21 dnl Process this file with autoconf to p
|
|
|
dnl We use some automake macros here, |
dnl We use some automake macros here, |
dnl but don't use automake for creating Makefile.in |
dnl but don't use automake for creating Makefile.in |
AC_INIT([gforth],[0.6.1-20030806],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.2],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_PREREQ(2.54) |
AC_PREREQ(2.54) |
#snapshots have numbers major.minor.release-YYYYMMDD |
#snapshots have numbers major.minor.release-YYYYMMDD |
#note that lexicographic ordering must be heeded. |
#note that lexicographic ordering must be heeded. |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
UPDATED="August 6, 2003" |
UPDATED="August 25, 2003" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 42 AC_ARG_ENABLE(force-reg,
|
Line 42 AC_ARG_ENABLE(force-reg,
|
but also incorrect code with some gcc versions on |
but also incorrect code with some gcc versions on |
some processors (default disabled).], |
some processors (default disabled).], |
AC_DEFINE(FORCE_REG,,[Define if you want to use explicit register declarations for better performance or for more convenient CODE words (does not work with all GCC versions on all machines)])) |
AC_DEFINE(FORCE_REG,,[Define if you want to use explicit register declarations for better performance or for more convenient CODE words (does not work with all GCC versions on all machines)])) |
|
AC_SUBST(PROFEXES) |
|
AC_SUBST(PROFOBJS) |
|
AC_ARG_ENABLE(prof, |
|
[ --enable-prof Build gforth-prof, which outputs frequently occuring |
|
sequences of primitives.], |
|
PROFEXES="gforth-prof\$(EXE)"; PROFOBJS="engine-prof.o main-prof.o profile.o") |
|
|
AC_ARG_WITH(debug, |
AC_ARG_WITH(debug, |
[ --with-debug specifies option -g to compile with debug info |
[ --with-debug specifies option -g to compile with debug info |
Line 134 case "$host_cpu" in
|
Line 140 case "$host_cpu" in
|
machine=hppa |
machine=hppa |
$srcdir/mkinstalldirs arch/hppa |
$srcdir/mkinstalldirs arch/hppa |
AC_LIBOBJ(../arch/hppa/cache) |
AC_LIBOBJ(../arch/hppa/cache) |
#LDFLAGS="$LDFLAGS -Xlinker -N" |
#-N needed for --dynamic <M4U3b.3790$9d.317@news.cpqcorp.net> |
|
LDFLAGS="$LDFLAGS -Xlinker -N" |
LIBS="$LIBS -L/lib/pa1.1/" |
LIBS="$LIBS -L/lib/pa1.1/" |
#executing dynamically generated code produced segfaults on |
|
#the only HPPA machine that could waste code space, so |
|
#disable it by default |
|
no_dynamic_default=1 |
|
AC_MSG_WARN(Disabling dynamic native code generation by default (speed penalty factor ~2)) |
|
;; |
;; |
sparc*) |
sparc*) |
machine=sparc |
machine=sparc |
Line 160 case "$host_cpu" in
|
Line 162 case "$host_cpu" in
|
CFLAGS="$CFLAGS -march=pentium" |
CFLAGS="$CFLAGS -march=pentium" |
AC_TRY_COMPILE(,,,CFLAGS="$CFLAGS_1 -m486") |
AC_TRY_COMPILE(,,,CFLAGS="$CFLAGS_1 -m486") |
;; |
;; |
|
x86_64) |
|
machine=amd64 |
|
;; |
#generic should work for IA64 |
#generic should work for IA64 |
# ia64*) |
# ia64*) |
# machine=ia64 |
# machine=ia64 |