From cb728ca9547c8ed97875115cc6e947501a83cf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 12 Jan 1997 03:16:01 +0100 Subject: [PATCH] Now creates modules directory if it didn't exist before. Added some Dynix compatibility. Rev: src/configure.in:1.40 --- src/configure.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index 49beb53a2c..32d33813eb 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.39 1997/01/12 00:35:51 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.40 1997/01/12 02:16:01 grubba Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -176,6 +176,9 @@ fi if test -f modules/master_lib_dirs; then rm modules/master_lib_dirs else : ; fi +if test -d modules/. ; then : ; else + mkdir modules +fi if test $cppflags_is_set$ldflags_is_set = nono -a x${C_INCLUDE_PATH-} = x ; then for d in /usr/gnu /opt/gnu /usr/local /sw/gnu /sw do @@ -183,14 +186,20 @@ if test $cppflags_is_set$ldflags_is_set = nono -a x${C_INCLUDE_PATH-} = x ; then echo Adding $d/lib to the library-path LDFLAGS="${LDFLAGS} -L$d/lib" echo $d/lib >>modules/master_lib_dirs + else + : fi if test -d "$d/include" ; then echo Adding $d/include to the include-path CPPFLAGS="${CPPFLAGS} -I$d/include" + else + : fi done export LDFLAGS CPPFLAGS +else + : fi ############################################################################# -- GitLab