app-shells/hstr: Use AC_SEARCH_LIBS not AC_CHECK_LIB (bug #634428).
authorJeroen Roovers <jer@gentoo.org>
Mon, 16 Oct 2017 22:28:42 +0000 (00:28 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 16 Oct 2017 22:29:02 +0000 (00:29 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

app-shells/hstr/files/hstr-1.23-tinfo.patch

index 2dbd8dcf0c97a9a29cf63617f21c97f8965e8cc1..85a4743c0e9446f734ae57753d3df28ee4604ec5 100644 (file)
@@ -5,7 +5,7 @@
  AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
  # ncurses might be linked in libtinfo
 -#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
-+AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
++AC_SEARCH_LIBS(keypad, tinfo, [], [AC_MSG_ERROR([Could not find tinfo library])])
  
  # Checks for header files.
  AC_CHECK_HEADER(assert.h)