@ -40,6 +40,8 @@ nextstep*) PORTNAME='nextstep';;
exit;;
exit;;
esac
esac
AC_SUBST(PORTNAME)
echo "checking echo setting..."
echo "checking echo setting..."
if echo '\c' | grep -s c >/dev/null 2>&1
if echo '\c' | grep -s c >/dev/null 2>&1
then
then
@ -270,6 +272,7 @@ AC_PROG_CPP
AC_LINK_FILES(include/port/${PORTNAME}.h, include/os.h)
AC_LINK_FILES(include/port/${PORTNAME}.h, include/os.h)
AC_LINK_FILES(makefiles/Makefile.${PORTNAME}, Makefile.port)
AC_LINK_FILES(makefiles/Makefile.${PORTNAME}, Makefile.port)
AC_LINK_FILES(backend/port/${PORTNAME}/port-protos.h, include/port-protos.h)
AC_SUBST(PORTNAME)
AC_SUBST(PORTNAME)
AC_SUBST(LDFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(CPPFLAGS)
@ -452,7 +455,7 @@ AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(isinf tzset getrusage vfork memmove sigsetjmp kill sysconf)
AC_CHECK_FUNCS(isinf tzset getrusage vfork memmove sigsetjmp kill sysconf)
AC_CHECK_FUNCS(sigprocmask waitpid setsid random srandom fcvt)
AC_CHECK_FUNCS(sigprocmask waitpid setsid random srandom fcvt gethostname )
AC_CHECK_FUNC(inet_aton, AC_DEFINE(HAVE_INET_ATON), INET_ATON='inet_aton.o')
AC_CHECK_FUNC(inet_aton, AC_DEFINE(HAVE_INET_ATON), INET_ATON='inet_aton.o')
AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), [STRERROR='strerror.o' STRERROR2='../../backend/port/strerror.o'])
AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), [STRERROR='strerror.o' STRERROR2='../../backend/port/strerror.o'])
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), STRDUP='../../utils/strdup.o')
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), STRDUP='../../utils/strdup.o')