Add getopt test.
This commit is contained in:
parent
0b976ec1d8
commit
cb08547646
@ -582,6 +582,7 @@ 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,6 +235,9 @@
|
|||||||
/* 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
|
||||||
|
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_GETOPT_H
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
extern int optind;
|
extern int optind;
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user