summaryrefslogtreecommitdiff
blob: e5e0fe0ac4053c97d45dc8c49ca324f59cae54eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- hexcurse-1.60.0/configure.ac
+++ hexcurse-1.60.0/configure.ac
@@ -15,7 +15,9 @@
 
 dnl Checks for libraries.
 dnl Replace `main' with a function in -lncurses:
-AC_CHECK_LIB(ncurses, initscr,,[AC_CHECK_LIB(curses, initscr,,[AC_MSG_ERROR([ncurses library not found])])])
+AC_CHECK_LIB(ncurses, initscr)
+AC_SEARCH_LIBS(initscr,curses)
+AC_SEARCH_LIBS(LINES,tinfo)
 
 dnl Checks for header files.
 AC_HEADER_STDC