summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-23 03:06:52 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-23 03:06:52 +0200
commit7647353c8204520a6eab0166d6011caeccae30cc (patch)
tree9ce51e74994e412c625bf13626ed6886e5db3c9c /configure.in
parent590bf0840b799d594ce7224fd45dc3a33c4027f3 (diff)
downloadgmp-7647353c8204520a6eab0166d6011caeccae30cc.tar.gz
Add checks for getopt.h and getopt_long.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index b71968d58..8b6b41b75 100644
--- a/configure.in
+++ b/configure.in
@@ -594,7 +594,7 @@ AC_CHECK_DECLS((optarg))
dnl Checks for header files.
dnl ------------------------
AC_HEADER_STDC
-AC_CHECK_HEADERS(unistd.h sys/sysctl.h)
+AC_CHECK_HEADERS(getopt.h unistd.h sys/sysctl.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl --------------------------------------------------------------
@@ -607,7 +607,7 @@ dnl -----------------------------
dnl AC_FUNC_MEMCMP
dnl AC_TYPE_SIGNAL
dnl AC_CHECK_FUNCS(strtol strtoul)
-AC_CHECK_FUNCS(sysconf sysctlbyname)
+AC_CHECK_FUNCS(getopt_long sysconf sysctlbyname)
dnl Set `syntax' to one of <blank>, "mit", "elf", "aix", "macho".