summaryrefslogtreecommitdiff
path: root/pkgtools/mtree/files/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/mtree/files/configure.ac')
-rw-r--r--pkgtools/mtree/files/configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/mtree/files/configure.ac b/pkgtools/mtree/files/configure.ac
index 9601a581aca..6318cec3ffb 100644
--- a/pkgtools/mtree/files/configure.ac
+++ b/pkgtools/mtree/files/configure.ac
@@ -10,9 +10,12 @@ AC_CONFIG_HEADER([config.h])
AC_PROG_CC
AC_PROG_INSTALL
+# Checks for libraries.
+AC_CHECK_LIB(util, fparseln)
+
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([fnmatch.h])
+AC_CHECK_HEADERS([fnmatch.h grp.h pwd.h util.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST