mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added AC_CHECK_LIB fallback for brew
This commit is contained in:
parent
9394091f04
commit
42300fdc18
@ -82,7 +82,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_MSG_ERROR([ncurses is required for profanity])])])
|
||||
[AC_CHECK_LIB([ncurses], [main], [],
|
||||
[AC_MSG_ERROR([ncurses is required for profanity])])])])
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS"
|
||||
LIBS="$LIBS $NCURSES_LIBS"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user