aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-18 16:42:16 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-18 16:42:16 +0000
commit07262a2dfbf352844ecda2dc88bcaa4b66c332e5 (patch)
tree83ae4aea341c1e153d95e27638b69e88b29e5271 /src
parent0858b06f1652b91d925215192046710c662435b1 (diff)
downloadpostgresql-07262a2dfbf352844ecda2dc88bcaa4b66c332e5.tar.gz
postgresql-07262a2dfbf352844ecda2dc88bcaa4b66c332e5.zip
Update configure include checks.
Diffstat (limited to 'src')
-rw-r--r--src/configure.in2
-rw-r--r--src/include/config.h.in6
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.c2
3 files changed, 0 insertions, 10 deletions
diff --git a/src/configure.in b/src/configure.in
index 932797d1879..a8dcfe1da9c 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -582,12 +582,10 @@ AC_CHECK_HEADERS(dld.h)
AC_CHECK_HEADERS(endian.h)
AC_CHECK_HEADERS(float.h)
AC_CHECK_HEADERS(fp_class.h)
-AC_CHECK_HEADERS(getopt.h)
AC_CHECK_HEADERS(history.h)
AC_CHECK_HEADERS(ieeefp.h)
AC_CHECK_HEADERS(limits.h)
AC_CHECK_HEADERS(netdb.h)
-AC_CHECK_HEADERS(netinet/in.h)
AC_CHECK_HEADERS(readline.h)
AC_CHECK_HEADERS(readline/history.h)
AC_CHECK_HEADERS(readline/readline.h)
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 25e08767c35..8f1489b05ee 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -77,9 +77,6 @@
/* Set to 1 if you have <fp_class.h> */
#undef HAVE_FP_CLASS_H
-/* Set to 1 if you have <getopt.h> */
-#undef HAVE_GETOPT_H
-
/* Set to 1 if you have <history.h> */
#undef HAVE_HISTORY_H
@@ -92,9 +89,6 @@
/* Set to 1 if you have <netdb.h> */
#undef HAVE_NETDB_H
-/* Set to 1 if you have <netinet/in.h> */
-#undef HAVE_NETINET_IN_H
-
/* Set to 1 if you have <readline.h> */
#undef HAVE_READLINE_H
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c
index 6bfabd338de..968293aaf65 100644
--- a/src/interfaces/ecpg/preproc/ecpg.c
+++ b/src/interfaces/ecpg/preproc/ecpg.c
@@ -4,9 +4,7 @@
#include "postgres.h"
-#if HAVE_GETOPT_H
#include <getopt.h>
-#else
#include <unistd.h>
extern int optind;
extern char *optarg;