diff --git a/src/configure.in b/src/configure.in index 49beb53a2c68ee5fbcf6c361d20e83662e1050fe..32d33813eb88ffa146a0db73e8bced9a4d56e1de 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 #############################################################################