Fix ncurses detection at configure time
There appears to be a typo/thinko in the ncurses detection stuff in configure.ac. The fallout was that on a Linux host without ncurses-devel installed, "./configure" failed to find curses.h but claimed overall success, then the build failed later during make. This patch removes an extraneous comma, which seems to make it both fail and succeed correctly when it should.
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ PKG_CHECK_MODULES([TINFO], [tinfo], ,
|
||||
[AX_CHECK_LIBRARY([TINFO], [curses.h], [tinfo],
|
||||
[AC_SUBST([TINFO_CFLAGS], ["$TINFO_CPPFLAGS"])
|
||||
AC_SUBST([TINFO_LIBS], ["$TINFO_LDFLAGS -ltinfo"])],
|
||||
[AX_CHECK_LIBRARY([TINFO], [curses.h], [ncurses], ,
|
||||
[AX_CHECK_LIBRARY([TINFO], [curses.h], [ncurses],
|
||||
[AC_SUBST([TINFO_CFLAGS], ["$TINFO_CPPFLAGS"])
|
||||
AC_SUBST([TINFO_LIBS], ["$TINFO_LDFLAGS -lncurses"])],
|
||||
[AC_MSG_ERROR([Unable to find libtinfo or libncurses])])])])])
|
||||
|
||||
Reference in New Issue
Block a user