From 721bf5f0b8e091a890d51fa763b94e20d2ab3ad3 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 4 May 2005 01:19:31 +0000 Subject: add 'lib64' to search paths (Marius Tomaschewski) --- ulogd/configure.in | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'ulogd') diff --git a/ulogd/configure.in b/ulogd/configure.in index 93b8cbf..b742b9e 100644 --- a/ulogd/configure.in +++ b/ulogd/configure.in @@ -46,7 +46,13 @@ mysqldir="" AC_MSG_CHECKING(for MySQL files) for d in $dir /usr /usr/local /usr/local/mysql /opt/mysql /opt/packages/mysql do - if test -f $d/lib/mysql/libmysqlclient.so + if test -f $d/lib64/mysql/libmysqlclient.so + then + AC_MSG_RESULT(found mysql in $d/lib64) + mysqldir=$d + mysqldir_suffix=64/mysql + break + elif test -f $d/lib/mysql/libmysqlclient.so then AC_MSG_RESULT(found mysql in $d) mysqldir=$d @@ -142,7 +148,17 @@ pgsqldir="" AC_MSG_CHECKING(for PGSQL files) for d in $dir /usr /usr/local /usr/local/pgsql /opt/pgsql /opt/packages/pgsql do - if test -f $d/lib/pgsql/libpq.so + if test -f $d/lib64/pgsql/libpq.so + then + AC_MSG_RESULT(found pgsql in $d) + pgsqldir=$d + break + elif test -f $d/lib/pgsql/libpq.so + then + AC_MSG_RESULT(found pgsql in $d) + pgsqldir=$d + break + elif test -f $d/lib64/libpq.so then AC_MSG_RESULT(found pgsql in $d) pgsqldir=$d -- cgit v1.2.3