about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-09 00:04:39 +0000
committerJames Booth <boothj5@gmail.com>2014-03-09 00:04:39 +0000
commit72c35553fd532848bbab9a540eb00d87df5644ec (patch)
tree31ade9db371f644f8f357bd06b15cc28642366c1
parent7fa9ecc76d659b45834376ff4f8ea5d343a805e7 (diff)
downloadprofani-tty-72c35553fd532848bbab9a540eb00d87df5644ec.tar.gz
Split ncurses and curl LIB additions
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f2f8d2f2..cfbb0728 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ PKG_CHECK_MODULES([ncursesw], [ncursesw],
             	[AC_MSG_ERROR([ncurses is required for profanity])])])])])
 AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS"
 LIBS="$LIBS $NCURSES_LIBS"
-AS_IF([test "x$PLATFORM" = xosx], [LIBS="$LIBS -lncurses -lcurl"])
+AS_IF([test "x$PLATFORM" = xosx], [LIBS="$LIBS -lncurses"])
 
 ### Check wide characters support in ncurses library
 CFLAGS_RESTORE="$CFLAGS"
@@ -120,6 +120,7 @@ PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [],
     [AC_MSG_ERROR([glib 2.26 or higher is required for profanity])])
 PKG_CHECK_MODULES([curl], [libcurl], [],
     [AC_MSG_ERROR([libcurl is required for profanity])])
+AS_IF([test "x$PLATFORM" = xosx], [LIBS="$LIBS -lcurl"])
 
 ### Check for desktop notification support
 ### Linux requires libnotify