version 1.17, 1995/12/23 16:21:55
|
version 1.18, 1995/12/26 17:35:35
|
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. |
AC_INIT(engine.c) |
AC_INIT(engine.c) |
|
AC_CONFIG_HEADER(config.h) |
|
|
AC_ARG_ENABLE(force-reg, |
AC_ARG_ENABLE(force-reg, |
[ --enable-force-reg Use explicit register declarations if they appear in |
[ --enable-force-reg Use explicit register declarations if they appear in |
Line 154 dnl using sin here is no good idea since
|
Line 155 dnl using sin here is no good idea since
|
AC_CHECK_LIB(m,asin) |
AC_CHECK_LIB(m,asin) |
AC_FUNC_MEMCMP |
AC_FUNC_MEMCMP |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal) |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal) |
dnl AC_TRY_LINK(#include <signal.h>,sys_siglist;,AC_DEFINE(HAVE_SYS_SIGLIST),) |
|
AC_CHECK_FUNCS(sys_siglist) |
AC_CHECK_FUNCS(sys_siglist) |
|
AC_MSG_CHECKING(whether sys_siglist may be declared) |
|
AC_CACHE_VAL(gf_cv_declare_sys_siglist, |
|
AC_TRY_COMPILE(#include <stdio.h> |
|
#include <signal.h> |
|
,extern void sys_siglist;,gf_cv_declare_sys_siglist='yes',gf_cv_declare_sys_siglist='no')) |
|
if test $gf_cv_declare_sys_siglist = yes |
|
then |
|
AC_DEFINE(DECLARE_SYS_SIGLIST) |
|
fi |
|
AC_MSG_RESULT($gf_cv_declare_sys_siglist) |
AC_CHECK_FUNC(getopt_long,getopt_long="",getopt_long="getopt.o getopt1.o") |
AC_CHECK_FUNC(getopt_long,getopt_long="",getopt_long="getopt.o getopt1.o") |
AC_SUBST(getopt_long) |
AC_SUBST(getopt_long) |
AC_CHECK_FUNCS(rint expm1 log1p) |
AC_CHECK_FUNCS(rint expm1 log1p) |
Line 167 kernal_fi=kernl${wordsize}${bytesex}.fi
|
Line 177 kernal_fi=kernl${wordsize}${bytesex}.fi
|
AC_SUBST(kernal_fi) |
AC_SUBST(kernal_fi) |
|
|
AC_LINK_FILES(${mach_h}.h $kernal_fi,machine.h kernal.fi) |
AC_LINK_FILES(${mach_h}.h $kernal_fi,machine.h kernal.fi) |
AC_OUTPUT(Makefile) |
AC_OUTPUT(Makefile,echo timestamp > stamp-h) |
|
|