shed-1.15-tinfo.patch 355 B

12345678910111213
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -41,8 +41,7 @@
  4. fi
  5. ERR="Required package missing!"
  6. -AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([$ERR]))
  7. +PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],AC_MSG_ERROR([$ERR]))
  8. AC_CHECK_HEADER(getopt.h,:,AC_MSG_ERROR([$ERR]))
  9. -AC_CHECK_LIB(ncurses,initscr)
  10. AC_CHECK_LIB(m,pow)
  11. AC_OUTPUT(Makefile)