diff options
author | James Booth <boothj5@gmail.com> | 2014-03-09 00:06:20 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-09 00:06:20 +0000 |
commit | 3b1b3f8b16c7f5f4336114acfcbec64f82a40bb8 (patch) | |
tree | 31ade9db371f644f8f357bd06b15cc28642366c1 | |
parent | ea16cacf91fdfa72958386484be3c700add29b87 (diff) | |
parent | 72c35553fd532848bbab9a540eb00d87df5644ec (diff) | |
download | profani-tty-3b1b3f8b16c7f5f4336114acfcbec64f82a40bb8.tar.gz |
Merge branch 'brew-build'
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3bc7d182..cfbb0728 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +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"]) ### Check wide characters support in ncurses library CFLAGS_RESTORE="$CFLAGS" @@ -119,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 @@ -206,8 +208,6 @@ AS_IF([test "x$PACKAGE_STATUS" = xdevelopment], AM_CPPFLAGS="$AM_CPPFLAGS $glib_CFLAGS $curl_CFLAGS $libnotify_CFLAGS" LIBS="$LIBS $glib_LIBS $curl_LIBS $libnotify_LIBS" -AS_IF([test "x$PLATFORM" = xosx], [LIBS="$LIBS -lncurses -lcurl"]) - AC_SUBST(AM_CFLAGS) AC_SUBST(AM_CPPFLAGS) |