summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorMarc G. Fournier1997-04-04 07:59:48 +0000
committerMarc G. Fournier1997-04-04 07:59:48 +0000
commitf2eb14ad0dbf8950b67b77c949ad254aa02bba89 (patch)
tree73cf2458bd0cce131af672162bdef05e92f37359 /src/configure.in
parent82a27f230af39a882a8f2cd46571817782d3b3c8 (diff)
One helluva mess.
Further extended Makefile.global/build/configure so that we can have a 'template' file for each OS (and each version of OS, as in BSDi) which is used as much as possible to generate Makefile.global Any future ports should look at using the template file as a basis, before moving over to Makefile.global. This will most probably break alot of the ports, atho I've tried to be very neat about it...
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/configure.in b/src/configure.in
index 72beb6b6d82..6e0f51d3edb 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -43,18 +43,23 @@ nextstep*) PORTNAME='nextstep';;
echo ""
exit;;
esac
+AC_CONFIG_HEADER(include/config.h)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_CPP
+
AC_LINK_FILES(port/${PORTNAME}.h, include/os.h)
AC_SUBST(PORTNAME)
AC_SUBST(TR)
AC_SUBST(LDFLAGS)
AC_SUBST(CPPFLAGS)
+AC_SUBST(AROPT)
+AC_SUBST(SHARED_LIBS)
+AC_SUBST(ALL)
+AC_SUBST(BACKEND)
-AC_CONFIG_HEADER(include/config.h)
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CPP
dnl ****************************************************************
dnl Hold off on the C++ stuff until we can figure out why it doesn't