Commit c9acd2da authored by Bruce Momjian's avatar Bruce Momjian

Remove getopt configure check.

parent 44bc7ab2
...@@ -582,7 +582,6 @@ AC_CHECK_HEADERS(dld.h) ...@@ -582,7 +582,6 @@ AC_CHECK_HEADERS(dld.h)
AC_CHECK_HEADERS(endian.h) AC_CHECK_HEADERS(endian.h)
AC_CHECK_HEADERS(float.h) AC_CHECK_HEADERS(float.h)
AC_CHECK_HEADERS(fp_class.h) AC_CHECK_HEADERS(fp_class.h)
AC_CHECK_HEADERS(getopt.h)
AC_CHECK_HEADERS(history.h) AC_CHECK_HEADERS(history.h)
AC_CHECK_HEADERS(ieeefp.h) AC_CHECK_HEADERS(ieeefp.h)
AC_CHECK_HEADERS(limits.h) AC_CHECK_HEADERS(limits.h)
......
...@@ -235,9 +235,6 @@ ...@@ -235,9 +235,6 @@
/* Set to 1 if you have <fp_class.h> */ /* Set to 1 if you have <fp_class.h> */
#undef HAVE_FP_CLASS_H #undef HAVE_FP_CLASS_H
/* Set to 1 if you have <fp_class.h> */
#undef HAVE_GETOPT
/* Set to 1 if you have <history.h> */ /* Set to 1 if you have <history.h> */
#undef HAVE_HISTORY_H #undef HAVE_HISTORY_H
......
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
/* (C) Michael Meskes <meskes@debian.org> Feb 5th, 1998 */ /* (C) Michael Meskes <meskes@debian.org> Feb 5th, 1998 */
/* Placed under the same copyright as PostgresSQL */ /* Placed under the same copyright as PostgresSQL */
#include <unistd.h>
#include "postgres.h" #include "postgres.h"
#ifdef HAVE_GETOPT_H #ifdef __CYGWIN32__
#include <getopt.h> #include "getopt.h"
#else
#include <unistd.h>
extern int optind;
extern char *optarg;
#endif #endif
#include "extern.h" #include "extern.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment