diff options
author | James Booth <boothj5@gmail.com> | 2014-03-06 21:37:46 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-06 21:37:46 +0000 |
commit | bc8a871ad9e1b8cb842e88139f96cc6a024d4747 (patch) | |
tree | e09ba203b258bac54847b1c74a7502e70ed5d7cb /configure.ac | |
parent | 1588106e912d2338fe19689aaf4536de1860b94f (diff) | |
download | profani-tty-bc8a871ad9e1b8cb842e88139f96cc6a024d4747.tar.gz |
Revert "Ncurses fixes for brew"
This reverts commit ca0a1e4d9dd757b915793f85f17c533f87523449.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 114f6552..ed232524 100644 --- a/configure.ac +++ b/configure.ac @@ -90,10 +90,8 @@ PKG_CHECK_MODULES([ncursesw], [ncursesw], [NCURSES_CFLAGS="$ncursesw_CFLAGS"; NCURSES_LIBS="$ncursesw_LIBS"; NCURSES="ncursesw"], [PKG_CHECK_MODULES([ncurses], [ncurses], [NCURSES_CFLAGS="$ncurses_CFLAGS"; NCURSES_LIBS="$ncurses_LIBS"; NCURSES="ncurses"], - [AC_CHECK_LIB([ncursesw], [main], - [LIBS="-lncursesw $LIBS" AC_DEFINE([HAVE_LIBNCURSESW], [1], [have ncursesw]) NCURSES_CFLAGS="$ncursesw_CFLAGS" NCURSES_LIBS="$ncursesw_LIBS" NCURSES="ncursesw"], + [AC_CHECK_LIB([ncursesw], [main], [], [AC_CHECK_LIB([ncurses], [main], [], - [LIBS="-lncurses $LIBS" AC_DEFINE([HAVE_LIBNCURSES], [1], [have ncurses]) NCURSES_CFLAGS="$ncurses_CFLAGS" NCURSES_LIBS="$ncurses_LIBS" NCURSES="ncurses"], [AC_MSG_ERROR([ncurses is required for profanity])])])])]) AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS" LIBS="$LIBS $NCURSES_LIBS" |