summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-08-05 07:01:14 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2021-08-05 07:01:14 +0200
commit29d58e9de7838bcf32e358602abd4ed4498566f8 (patch)
tree4a9334b5cdd43535e86c3039c159c05b1655789d /configure.ac
parentsm: Fix pwri. (diff)
downloadgnupg2-29d58e9de7838bcf32e358602abd4ed4498566f8.tar.xz
gnupg2-29d58e9de7838bcf32e358602abd4ed4498566f8.zip
build: Simplify for string.h and getopt.h.
* configure.ac (AC_CHECK_HEADERS): Remove string.h and getopt.h. * dirmngr/ks-engine-ldap.c: Remove including getopt.h. * tools/make-dns-cert.c: Likewise. -- Checking string.h is supported by AC_HEADER_STDC. Use of getopt.h is only needed for getopt_long of GNU extention. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 361a5d80d..913aeb4e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1358,7 +1358,7 @@ fi
AC_MSG_NOTICE([checking for header files])
AC_HEADER_STDC
AC_HEADER_TIME
-AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
+AC_CHECK_HEADERS([unistd.h langinfo.h termio.h locale.h \
pwd.h inttypes.h signal.h sys/select.h \
stdint.h signal.h termios.h \
ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h])