SuSE 9.3 reportedly needs -lncurses for setupterm().

This commit is contained in:
Markus Armbruster 2006-05-18 18:18:45 +00:00
parent 53f5cb861f
commit af9c94d06f

View file

@ -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