Preliminary checks for mysql libraries && header files.
authoraland <aland>
Thu, 8 Mar 2001 17:40:07 +0000 (17:40 +0000)
committeraland <aland>
Thu, 8 Mar 2001 17:40:07 +0000 (17:40 +0000)
Make.inc.in
configure.in
src/include/autoconf.h.in

index 064e76e..ff4e55d 100644 (file)
@@ -56,3 +56,6 @@ STATIC_MODULES        = @STATIC_MODULES@
 PGROOT         = @PGROOT@
 PQ_LIBS                = @PQ_LIBS@
 PG_INCLUDE_DIR = @PG_INCLUDE_DIR@
+
+SQL_MYSQL_LIBS = @MYSQL_LIBS@
+SQL_MYSQL_INCLUDE = @MYSQL_INCLUDE@
index dfad22b..ffd9397 100644 (file)
@@ -185,6 +185,16 @@ AC_ARG_WITH(snmp,
   esac ]
 )
 
+AC_ARG_WITH(mysql-include-dir,
+[  --with-mysql-include-dir=DIR       Directory where the MySQL includes may be found ],
+[ mysql_include_dir="$withval" ]
+)
+
+AC_ARG_WITH(mysql-include-dir,
+[  --with-mysql-lib-dir=DIR       Directory where the MySQL libraries may be found ],
+[ mysql_lib_dir="$withval" ]
+)
+
 AC_ARG_ENABLE(ltdl-install,
 [  --disable-ltdl-install  do not install libltdl])
 if test x"${enable_ltdl_install+set}" != xset; then
@@ -393,6 +403,7 @@ if test "x$WITH_SNMP" = "xyes"; then
 fi
 
 POSTGRESQL_CHECKS
+MYSQL_CHECKS
 
 dnl #############################################################
 dnl #
index b99a294..f6cc65c 100644 (file)
@@ -87,6 +87,15 @@ 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
+
+/* define this if we have REG_EXTENDED (from <regex.h>) */
+#undef HAVE_REG_EXTENDED
+
 /* Define if you have the gethostname function.  */
 #undef HAVE_GETHOSTNAME
 
@@ -135,6 +144,12 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the vsnprintf function.  */
 #undef HAVE_VSNPRINTF
 
+/* Define if you have the </include/libpq-fe.h> header file.  */
+#undef HAVE__INCLUDE_LIBPQ_FE_H
+
+/* Define if you have the </include/postgres.h> header file.  */
+#undef HAVE__INCLUDE_POSTGRES_H
+
 /* Define if you have the <arpa/inet.h> header file.  */
 #undef HAVE_ARPA_INET_H
 
@@ -174,9 +189,6 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the <signal.h> header file.  */
 #undef HAVE_SIGNAL_H
 
-/* Define if you have the <stdarg.h> header file.  */
-#undef HAVE_STDARG_H
-
 /* Define if you have the <stdint.h> header file.  */
 #undef HAVE_STDINT_H