version 1.184, 2007/04/22 20:06:25
|
version 1.187, 2007/06/02 14:25:26
|
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.9-20070401],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.9-20070602],[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="April 09, 2006" |
UPDATED="June 02, 2007" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 86 dnl --without-peephole disables peepho
|
Line 86 dnl --without-peephole disables peepho
|
dnl but slower images.], |
dnl but slower images.], |
dnl PEEPHOLE="$withval") |
dnl PEEPHOLE="$withval") |
|
|
|
GCC_LD="\$(GCC)" |
|
EC_MODE="false" |
|
EC="" |
|
engine2="engine2.o" |
|
engine_fast2="engine-fast2.o" |
|
no_dynamic="" |
|
image_i="" |
|
signals_o="io.o signals.o" |
|
|
AC_ARG_WITH(ec, |
AC_ARG_WITH(ec, |
AC_HELP_STRING([--with-ec=<arch>], |
AC_HELP_STRING([--with-ec=<arch>], |
[ Build gforth for systems without OS.]), |
[ Build gforth for systems without OS.]), |
[if test "$withval" = "no"; then |
[if test "$withval" = "no"; then |
echo "defining hosted system" |
echo "defining hosted system" |
EC_MODE="false" |
|
EC="" |
|
engine2="engine2.o" |
|
engine_fast2="engine-fast2.o" |
|
no_dynamic="" |
|
image_i="" |
|
signals_o="io.o signals.o" |
|
GCC_LD="\$(GCC)" |
|
else |
else |
echo "defining standalone system (${withval})" |
echo "defining standalone system (${withval})" |
AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
Line 768 then
|
Line 769 then
|
fi |
fi |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_FUNC_FSEEKO |
AC_FUNC_FSEEKO |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage nanosleep) |
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)]) |