pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
1997-10-03
1997-10-03 10:55:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c0911b053f111f04e48c0eb79ec1e971b5355a13 (
32
lines) (+
23
/-
9
)
[
Show
|
Annotate
]
Branch:
7.9
Split the /usr/local /usr/gnu include and lib search into two.
Rev: src/configure.in:1.126
1:
-
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:
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:
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
#############################################################################