about summary refs log tree commit diff stats
path: root/configure.ac
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-29 15:41:22 +0000
committerJames Booth <boothj5@gmail.com>2013-12-29 15:41:22 +0000
commit8840457e1995e593f6582817088ea0ca9bbef9a6 (patch)
tree9707d6862402db5e8500280284b011f24220aaee /configure.ac
parent2defeaefe3f105711e8421d65cc80729fe362d42 (diff)
parent7272f42c97f5ecfd453f7c01888adf1a22cd7534 (diff)
downloadprofani-tty-8840457e1995e593f6582817088ea0ca9bbef9a6.tar.gz
Merge remote-tracking branch 'louiecaulfield/master'
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 32b60823..ddcea284 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([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], [],