AC_SUBST([ORACLE_LIBS])
if test x"$with_oracle_libs" = "x"; then
- # check possible locationse
+ # check possible locations
for p1 in /usr/lib/oracle /usr/local/lib/oracle; do
for p2 in $p1/*/client*/lib; do
if test -d "$p2"; then
# we have to check for client9 as well...
# test -lclntsh
old_LDFLAGS="$LDFLAGS"
- LDFLAGS="-L$with_oracle_libs -lnnz11 -locci"
+ LDFLAGS="-L$with_oracle_libs -locci"
AC_CHECK_LIB([clntsh],[OCIEnvInit],
- [ORACLE_LIBS="-L$with_oracle_libs -lnnz11 -lclntsh -locci"],
+ [ORACLE_LIBS="-L$with_oracle_libs -lclntsh -locci"],
AC_CHECK_LIB([client9], [OCIEnvInit],
[ORACLE_LIBS="-L$with_oracle_libs -lclient9 -lclntsh9"],
[AC_MSG_ERROR([Could not find client libraries])]