Skip to content
Snippets Groups Projects
Commit cb728ca9 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now creates modules directory if it didn't exist before.

Added some Dynix compatibility.

Rev: src/configure.in:1.40
parent 863db1d8
No related branches found
No related tags found
No related merge requests found
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_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -176,6 +176,9 @@ fi ...@@ -176,6 +176,9 @@ fi
if test -f modules/master_lib_dirs; then if test -f modules/master_lib_dirs; then
rm modules/master_lib_dirs rm modules/master_lib_dirs
else : ; fi 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 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 for d in /usr/gnu /opt/gnu /usr/local /sw/gnu /sw
do do
...@@ -183,14 +186,20 @@ if test $cppflags_is_set$ldflags_is_set = nono -a x${C_INCLUDE_PATH-} = x ; then ...@@ -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 echo Adding $d/lib to the library-path
LDFLAGS="${LDFLAGS} -L$d/lib" LDFLAGS="${LDFLAGS} -L$d/lib"
echo $d/lib >>modules/master_lib_dirs echo $d/lib >>modules/master_lib_dirs
else
:
fi fi
if test -d "$d/include" ; then if test -d "$d/include" ; then
echo Adding $d/include to the include-path echo Adding $d/include to the include-path
CPPFLAGS="${CPPFLAGS} -I$d/include" CPPFLAGS="${CPPFLAGS} -I$d/include"
else
:
fi fi
done done
export LDFLAGS CPPFLAGS export LDFLAGS CPPFLAGS
else
:
fi fi
############################################################################# #############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment