about summary refs log tree commit diff stats
path: root/configure.ac
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-02 01:57:05 +0000
committerJames Booth <boothj5@gmail.com>2014-01-02 01:57:05 +0000
commit170af88c0dc736087d40d3591c1880d8af17b5e6 (patch)
tree29c912e2fe3261e758691254dbddbe43c6d139c7 /configure.ac
parentbc700fbfeac560946991063313f293a9861d4d1d (diff)
parent3fbd45bd0603d51255c9e6df2a56d5cd5de4dd2b (diff)
downloadprofani-tty-170af88c0dc736087d40d3591c1880d8af17b5e6.tar.gz
Merge branch 'master' into otr
Conflicts:
	Makefile.am
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e847f5b3..69e304c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,8 +81,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([ncursesw], [main], [],
-    [AC_MSG_ERROR([ncursesw is required for profanity])])
+AC_CHECK_LIB([ncursesw], [wget_wch], [],
+    [AC_CHECK_LIB([ncurses],[wget_wch],
+	    [AC_MSG_NOTICE([ncursesw not found but trying with ncurses instead])],
+	    [AC_MSG_ERROR([ncurses wide character support 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], [],