summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-12-18 05:11:29 +1000
committerDan McGee <dan@archlinux.org>2010-12-29 19:26:21 -0600
commitd22777146446ecaf8b4b9c0afd593d23c5c9766e (patch)
treec8076166f5c47067070c90208a17f2f74dfff128 /configure.ac
parent81dd9d3ebc3eca04fade4df4689c53d1d11c5f19 (diff)
downloadpacman-d22777146446ecaf8b4b9c0afd593d23c5c9766e.tar.xz
Use limits.h for PATH_MAX
We use PATH_MAX everywhere by including limits.h so there is no point in doing a check for it in a different header when dealing with FreeBSD's libfetch. Also, remove autoconf check for strings.h header as it is not used anywhere. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 11b6b11a..5627fb76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,8 +172,8 @@ AS_IF([test "x$with_fetch" != "xno"],
AM_CONDITIONAL([HAVE_LIBFETCH], [test "x$ac_cv_lib_fetch_fetchParseURL" = "xyes"])
# Checks for header files.
-AC_CHECK_HEADERS([fcntl.h glob.h libintl.h locale.h mntent.h string.h strings.h \
- sys/ioctl.h sys/mount.h sys/param.h sys/statvfs.h sys/syslimits.h \
+AC_CHECK_HEADERS([fcntl.h glob.h libintl.h locale.h mntent.h string.h \
+ sys/ioctl.h sys/mount.h sys/param.h sys/statvfs.h \
sys/time.h sys/types.h sys/ucred.h syslog.h wchar.h])
# Checks for typedefs, structures, and compiler characteristics.