FIxes and updates for the configure script
authoraland <aland>
Wed, 24 Oct 2001 14:13:47 +0000 (14:13 +0000)
committeraland <aland>
Wed, 24 Oct 2001 14:13:47 +0000 (14:13 +0000)
Patches from "Nikolay P. Romanyuk" <mag@vtelecom.ru>

src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.in

index 58ec35e..97cb890 100755 (executable)
@@ -14,7 +14,7 @@ ac_default_prefix=/usr/local
 ac_help="$ac_help
   --with-rlm-sql-postgresql-lib-dir=DIR       Directory for PostgreSQL library files []"
 ac_help="$ac_help
-  --with-rlm--sql-postgresql-include-dir=DIR   Directory for PostgreSQL include files []"
+  --with-rlm-sql-postgresql-include-dir=DIR   Directory for PostgreSQL include files []"
 
 # Initialize some variables set by options.
 # The variables have the same names as the options, with
@@ -525,7 +525,7 @@ else
 fi
 
 
-# From configure.in Revision: 1.1 
+# From configure.in Revision: 1.2 
 
 
 fail=
@@ -889,7 +889,7 @@ rm -f conftest*
     echo "$ac_t""no" 1>&6 
 fi
 
-       if test "x$ac_cv_header_" != "xyes"; then
+       if test "x$ac_cv_header_libpq_fe_h" != "xyes"; then
          fail="$fail libpq-fe.h"
        fi
 
index 5426d53..c3de52a 100644 (file)
@@ -28,7 +28,7 @@ if test x$with_[]modname != xno; then
        dnl extra argument: --with-rlm-sql-postgresql-include-dir
        rlm_sql_postgresql_include_dir=
        AC_ARG_WITH(rlm-sql-postgresql-include-dir,
-       [  --with-rlm--sql-postgresql-include-dir=DIR   Directory for PostgreSQL include files []],
+       [  --with-rlm-sql-postgresql-include-dir=DIR   Directory for PostgreSQL include files []],
        [ case "$withval" in
            no)
                AC_MSG_ERROR(Need rlm-sql-postgresql-include-dir)
@@ -43,7 +43,7 @@ if test x$with_[]modname != xno; then
 
        smart_try_dir="$rlm_sql_postgresql_include_dir /usr/local/pgsql/include"
        AC_SMART_CHECK_INCLUDE(libpq-fe.h)
-       if test "x$ac_cv_header_" != "xyes"; then
+       if test "x$ac_cv_header_libpq_fe_h" != "xyes"; then
          fail="$fail libpq-fe.h"
        fi