diff options
| author | Marc G. Fournier | 1997-12-19 02:09:10 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-12-19 02:09:10 +0000 |
| commit | 5379b84eff3ae207635d7ac9527b0a3f5eb272e7 (patch) | |
| tree | 84d6a71200ffe5edf43596bc2fbf3276737e086a /src/configure.in | |
| parent | 30856a390457682db4f8577e9f5a7f8521839c6f (diff) | |
More cleanups. I can now compile without PORTNAME being defined n
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in index 86cc6683aa7..0a335979094 100644 --- a/src/configure.in +++ b/src/configure.in @@ -40,6 +40,8 @@ nextstep*) PORTNAME='nextstep';; exit;; esac +AC_SUBST(PORTNAME) + echo "checking echo setting..." if echo '\c' | grep -s c >/dev/null 2>&1 then @@ -270,6 +272,7 @@ AC_PROG_CPP AC_LINK_FILES(include/port/${PORTNAME}.h, include/os.h) 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(LDFLAGS) AC_SUBST(CPPFLAGS) @@ -452,7 +455,7 @@ AC_FUNC_MEMCMP AC_TYPE_SIGNAL AC_FUNC_VPRINTF 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(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') |
