--- sql/pgsql/Attic/configure.in 2001/09/21 15:44:37 1.1 +++ sql/pgsql/Attic/configure.in 2001/09/25 07:09:22 1.3 @@ -6,12 +6,15 @@ AM_CONFIG_HEADER(config_auto.h) dnl Arguments -AC_ARG_WITH(pgsql_inc,[ --with-pgsql_inc[=DIR] DIR is the PgSQL includes directory],, +AC_ARG_WITH(pgsql-inc,[ --with-pgsql-inc[=DIR] DIR is the PgSQL includes directory],, withval="/usr/local/pgsql/include" ) PGSQL_INC=$withval AC_SUBST(PGSQL_INC) +if test \! -f "$PGSQL_INC/libpq-fe.h"; then + AC_MSG_ERROR($PGSQL_INC does not seem to be valid PgSQL includes directory) +fi dnl Checks for programs. AC_PROG_INSTALL