--- gforth/configure.in 1997/05/21 20:39:21 1.31 +++ gforth/configure.in 1997/09/01 23:07:06 1.33 @@ -183,7 +183,11 @@ case "$host_cpu" in ;; m68k) mach_h=m68k - CFLAGS="$CFLAGS -fomit-frame-pointer -traditional-cpp" + CFLAGS="$CFLAGS -fomit-frame-pointer" + if test "$host_os" = "nextstep3" + then + LIBOBJS="$LIBOBJS termios.o" + fi ;; mips*) mach_h=mips @@ -253,7 +257,10 @@ AC_CHECK_LIB(m,asin) AC_CHECK_FUNCS(dlopen) AC_CHECK_LIB(dl,dlopen) AC_CHECK_LIB(kernel32,GetModuleHandle) -AC_FUNC_MEMCMP +if test "$host_os" != "nextstep3" +then + AC_FUNC_MEMCMP +fi AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) AC_CHECK_FUNCS(sys_siglist) AC_DECL_SYS_SIGLIST @@ -269,7 +276,8 @@ AC_CHECK_FUNCS(mmap sysconf getpagesize) kernel_fi=kernl${wordsize}${bytesex}.fi AC_SUBST(kernel_fi) -AC_LINK_FILES(arch/${mach_h} $kernel_fi,machine kernel.fi) +AC_SUBST(mach_h) +AC_LINK_FILES($kernel_fi,kernel.fi) AC_OUTPUT([ Makefile engine/Makefile ],echo timestamp > stamp-h)