if a prefix other then /usr or /usr/local is used look in $prefix/lib
and $prefix/include for libraries CVS patchset: 1401 CVS date: 1997/02/12 04:48:06
This commit is contained in:
parent
900266be6a
commit
5c503f570f
21
configure.in
21
configure.in
|
@ -77,6 +77,27 @@ fi
|
||||||
|
|
||||||
topdir=`pwd`
|
topdir=`pwd`
|
||||||
|
|
||||||
|
if test $prefix != "/usr" -a $prefix != "/usr/local"; then
|
||||||
|
echo $ac_n "checking for $prefix/lib... $ac_c"
|
||||||
|
if test -d $prefix/lib ; then
|
||||||
|
LIBS="$LIBS -L$prefix/lib"
|
||||||
|
LIBPATH="$LIBPATH -L$prefix/lib"
|
||||||
|
|
||||||
|
echo "yes"
|
||||||
|
else
|
||||||
|
echo "no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $ac_n "checking for $prefix/include... $ac_c"
|
||||||
|
if test -d $prefix/include ; then
|
||||||
|
INCPATH="$INCPATH -I$prefix/include"
|
||||||
|
|
||||||
|
echo "yes"
|
||||||
|
else
|
||||||
|
echo "no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(checking for /usr/local/lib...)
|
AC_MSG_CHECKING(checking for /usr/local/lib...)
|
||||||
if test -d /usr/local/lib ; then
|
if test -d /usr/local/lib ; then
|
||||||
LIBS="$LIBS -L/usr/local/lib"
|
LIBS="$LIBS -L/usr/local/lib"
|
||||||
|
|
Loading…
Reference in New Issue