diff options
author | laforge <laforge> | 2005-05-04 01:19:31 +0000 |
---|---|---|
committer | laforge <laforge> | 2005-05-04 01:19:31 +0000 |
commit | 721bf5f0b8e091a890d51fa763b94e20d2ab3ad3 (patch) | |
tree | bd67fc2e1ea4757388d3aa422c293f9e75111439 /ulogd | |
parent | c2e06fa68d62439c58078ee2a23641a2458fc9e7 (diff) |
add 'lib64' to search paths (Marius Tomaschewski)
Diffstat (limited to 'ulogd')
-rw-r--r-- | ulogd/configure.in | 20 |
1 files changed, 18 insertions, 2 deletions
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 |