PostgreSQL configure checks, from a patch by
authoraland <aland>
Tue, 6 Mar 2001 18:10:06 +0000 (18:10 +0000)
committeraland <aland>
Tue, 6 Mar 2001 18:10:06 +0000 (18:10 +0000)
Jason Slagle <raistlin@tacorp.net>

Make.inc.in
acconfig.h
configure.in

index 1b1cd0d..e0b028d 100644 (file)
@@ -49,3 +49,10 @@ INCLTDL              = @INCLTDL@
 USE_SHARED_LIBS        = @USE_SHARED_LIBS@
 USE_STATIC_LIBS = @USE_STATIC_LIBS@
 STATIC_MODULES = @STATIC_MODULES@
+
+#
+#  PostgreSQL defines
+#
+PGROOT         = @PGROOT@
+PQ_LIBS                = @PQ_LIBS@
+PG_INCLUDE_DIR = @PG_INCLUDE_DIR@
index bf6dae4..0f5eea8 100644 (file)
@@ -101,6 +101,12 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the <ucd_snmp/asn1.h> header file.  */
 #undef HAVE_UCD_SNMP_ASN1_H
 
+/* define if you have the <libpq_fe.h> header file.  */
+#undef HAVE_LIBPQ_FE_H
+
+/* define if you have the <postgres.h> header file.  */
+#undef HAVE_POSTGRES_H
+
 @BOTTOM@
 
 #ifndef HAVE_SNPRINTF
index a319c1f..cb3ca9d 100644 (file)
@@ -381,6 +381,8 @@ if test "x$WITH_SNMP" = "xyes"; then
   fi
 fi
 
+POSTGRESQL_CHECKS
+
 dnl #############################################################
 dnl #
 dnl #  3. Checks for header files