1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

configure.ac: use ncursesw if it's there, but continue if only ncurses is found

This commit is contained in:
Jasper van Bourgognie 2013-12-27 22:05:33 +01:00
parent 4a706f7a80
commit 7272f42c97

View File

@ -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], [],