SuSE 9.3 reportedly needs -lncurses for setupterm().
This commit is contained in:
parent
53f5cb861f
commit
af9c94d06f
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ esac
|
||||||
|
|
||||||
# TODO turn this into a macro?
|
# TODO turn this into a macro?
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
AC_SEARCH_LIBS([setupterm], [termlib termcap curses])
|
AC_SEARCH_LIBS([setupterm], [termlib termcap curses ncurses])
|
||||||
|
# FIXME if not found, complain and switch off highlighting
|
||||||
termlibs=`echo $LIBS | sed s/\`echo $save_LIBS | sed 's/././g'\`'$//'`
|
termlibs=`echo $LIBS | sed s/\`echo $save_LIBS | sed 's/././g'\`'$//'`
|
||||||
AC_SUBST(termlibs)
|
AC_SUBST(termlibs)
|
||||||
LIBS=$save_LIBS
|
LIBS=$save_LIBS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue