patch-configure_ac 642 B

1234567891011121314
  1. $OpenBSD: patch-configure_ac,v 1.1.1.1 2009/08/14 00:02:10 sthen Exp $
  2. --- configure.ac.orig Mon Apr 20 07:10:12 2009
  3. +++ configure.ac Thu Aug 13 16:04:17 2009
  4. @@ -37,7 +37,8 @@ AC_CHECK_FUNCS([dup2 setenv strchr strdup strrchr strs
  5. # Check for readline
  6. AC_CHECK_HEADERS([readline/readline.h], [], [echo "Error: readline headers not found."; exit 1;])
  7. -AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
  8. +AC_SEARCH_LIBS(tgetent, termcap terminfo termlib)
  9. +AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
  10. AC_CONFIG_FILES([Makefile src/Makefile])
  11. AC_OUTPUT