diff options
author | Jasper van Bourgognie <van.bourgognie@gmai.com> | 2013-12-27 22:05:33 +0100 |
---|---|---|
committer | Jasper van Bourgognie <van.bourgognie@gmai.com> | 2013-12-27 22:05:33 +0100 |
commit | 7272f42c97f5ecfd453f7c01888adf1a22cd7534 (patch) | |
tree | b47aa199e4632ceb3ecb0bf8989c16d60294a667 /configure.ac | |
parent | 4a706f7a801c4a4c18c30e27a6b31a468ef27b43 (diff) | |
download | profani-tty-7272f42c97f5ecfd453f7c01888adf1a22cd7534.tar.gz |
configure.ac: use ncursesw if it's there, but continue if only ncurses is found
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9aece663..efc20277 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,10 @@ AC_CHECK_LIB([ssl], [main], [], [AC_MSG_ERROR([openssl is required for profanity])]) AC_CHECK_LIB([strophe], [main], [], [AC_MSG_ERROR([libstrophe is required for profanity])]) -AC_CHECK_LIB([ncurses], [main], [], - [AC_MSG_ERROR([ncurses is required for profanity])]) +AC_CHECK_LIB([ncursesw], [main], [], + [AC_CHECK_LIB([ncurses],[main], + [AC_MSG_NOTICE([ncursesw not found but trying with ncurses instead])], + [AC_MSG_ERROR([ncurses is required for profanity])])]) AC_CHECK_LIB([glib-2.0], [main], [], [AC_MSG_ERROR([glib-2.0 is required for profanity])]) AC_CHECK_LIB([curl], [main], [], |