From: Jeroen Roovers Date: Mon, 16 Oct 2017 22:28:42 +0000 (+0200) Subject: app-shells/hstr: Use AC_SEARCH_LIBS not AC_CHECK_LIB (bug #634428). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=187aae663128101c709b9262f8032226e714eca9;p=gentoo.git app-shells/hstr: Use AC_SEARCH_LIBS not AC_CHECK_LIB (bug #634428). Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch index 2dbd8dcf0c97..85a4743c0e94 100644 --- a/app-shells/hstr/files/hstr-1.23-tinfo.patch +++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch @@ -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)