diff options
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index b3864ef..cd0c118 100644 --- a/configure.in +++ b/configure.in | |||
@@ -93,7 +93,7 @@ AC_ARG_WITH(pgsql,--with-pgsql=<dir> sets path to pgsql installation,[PGSQL=$wit | |||
93 | AC_CHECK_LIB(crypt,main) | 93 | AC_CHECK_LIB(crypt,main) |
94 | if test "$ac_cv_lib_crypt_main" = "yes"; then | 94 | if test "$ac_cv_lib_crypt_main" = "yes"; then |
95 | if test -n "$PGSQL"; then | 95 | if test -n "$PGSQL"; then |
96 | LIBS="$LIBS -L$PGSQL/lib" | 96 | LDFLAGS="$LDFLAGS -L$PGSQL/lib" |
97 | CPPFLAGS="$CPPFLAGS -I$PGSQL/include" | 97 | CPPFLAGS="$CPPFLAGS -I$PGSQL/include" |
98 | fi | 98 | fi |
99 | AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt) | 99 | AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt) |