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

Split the /usr/local /usr/gnu include and lib search into two.

Rev: src/configure.in:1.126
parent 45a37bda
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.125 1997/10/02 22:06:44 grubba Exp $")
AC_REVISION("$Id: configure.in,v 1.126 1997/10/03 10:55:41 grubba Exp $")
AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h)
......@@ -274,16 +274,16 @@ fi
if test ! -d modules/. ; then
mkdir modules
fi
if test $cppflags_is_set$ldflags_is_set = nono -a x${C_INCLUDE_PATH-} = x ; then
#############################################################################
## Search for some popular places where libraries may be hidden.
#############################################################################
if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then
for d in /usr/local /usr/gnu /opt/gnu /sw/gnu /home/GNU /sw /usr/freeware
do
if test -d "$d/lib" ; then
echo Adding $d/lib to the library-path
LDFLAGS="${LDFLAGS} -R$d/lib -L$d/lib"
else
:
fi
if test -d "$d/include" ; then
echo Adding $d/include to the include-path
CPPFLAGS="${CPPFLAGS} -I$d/include"
......@@ -294,6 +294,19 @@ if test $cppflags_is_set$ldflags_is_set = nono -a x${C_INCLUDE_PATH-} = x ; then
else
:
fi
if test $ldflags_is_set = no ; then
for d in /usr/local /usr/gnu /opt/gnu /sw/gnu /home/GNU /sw /usr/freeware
do
if test -d "$d/lib" ; then
echo Adding $d/lib to the library-path
LDFLAGS="${LDFLAGS} -R$d/lib -L$d/lib"
else
:
fi
done
else
:
fi
#############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment