fi
dnl If we have a local install path, check for some files
if test $PGROOT && test IS_LOCAL ; then
- if test -e $PGROOT/lib/libpq.so ; then
+ if test -e $PGROOT/lib/libpq${libltdl_cv_shlibext} ; then
if test -e $PGROOT/lib/libpq.a ; then
PQ_LIBS="-L$PGROOT/lib -lpq"
fi
dnl #
old_LIBS="$LIBS"
- AC_LOCATE_DIR(odbc_lib_dir, [libodbcclient.so])
+ AC_LOCATE_DIR(odbc_lib_dir, [libodbcclient${libltdl_cv_shlibext}])
AC_LOCATE_DIR(odbc_lib_dir, [libodbcclient.a])
for try in /usr/lib /usr/lib/odbc /usr/local/lib/odbc /usr/local/odbc/lib $odbc_lib_dir; do
smart_lib="-l$1")
if test "x$smart_lib" = "x"; then
- AC_LOCATE_DIR(smart_lib_dir,[lib$1.so])
+ AC_LOCATE_DIR(smart_lib_dir,[lib$1${libltdl_cv_shlibext}])
AC_LOCATE_DIR(smart_lib_dir,[lib$1.a])
for try in $smart_lib_dir /usr/local/lib/ /opt/lib; do
-# From configure.in Revision: 1.118
+# From configure.in Revision: 1.119
RADIUSD_VERSION=0.1
fi
fi
if test $PGROOT && test IS_LOCAL ; then
- if test -e $PGROOT/lib/libpq.so ; then
+ if test -e $PGROOT/lib/libpq${libltdl_cv_shlibext} ; then
if test -e $PGROOT/lib/libpq.a ; then
PQ_LIBS="-L$PGROOT/lib -lpq"
fi
if test "x$LOCATE" != "x"; then
DIRS=
- file=libodbcclient.so
+ file=libodbcclient${libltdl_cv_shlibext}
for x in `${LOCATE} $file 2>/dev/null`; do
base=`echo $x | sed "s%/${file}%%"`
top_builddir=`pwd`
+
if test "$WITH_THREAD_POOL" = "yes"; then
if test "$WITH_THREADS" != "yes"; then
{ echo "configure: error: You must have threads enabled for thread pools to work." 1>&2; exit 1; }