You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
446 B

  1. diff --git a/configure.in b/configure.in
  2. index 75f4a51..f70b37c 100644
  3. --- a/configure.in
  4. +++ b/configure.in
  5. @@ -193,6 +193,19 @@ if test x$with_pam = xtrue; then
  6. header files!])])
  7. fi
  8. +AC_CHECK_LIB(
  9. + [fts],
  10. + [fts_open],
  11. + [],
  12. + [AC_MSG_ERROR([Cannot compile without fts!])]
  13. +)
  14. +
  15. +AC_CHECK_HEADERS(
  16. + [fts.h],
  17. + [],
  18. + [AC_MSG_ERROR([Cannot compile without fts.h])]
  19. +)
  20. +
  21. AC_CONFIG_FILES([Makefile
  22. tests/Makefile
  23. tests/tools/testenv.sh