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

Updated configure.ac for libcurl

This commit is contained in:
James Booth 2012-07-29 00:29:37 +01:00
parent ea5c1f0fa4
commit 5b769a3ff0

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65])
AC_INIT([profanity], [0.1.2], [boothj5web@gmail.com])
AC_INIT([profanity], [0.1.3], [boothj5web@gmail.com])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_AUX_DIR([build-aux])
@ -26,6 +26,8 @@ AC_CHECK_LIB([strophe], [main], [],
[AC_MSG_ERROR([libstrophe 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], [],
[AC_MSG_ERROR([libcurl is required for profanity])])
AC_CHECK_LIB([notify], [main], [],
[AC_MSG_NOTICE([libnotify not found])])
AC_CHECK_LIB([headunit], [main], [],
@ -34,7 +36,7 @@ AC_CHECK_LIB([headunit], [main], [],
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h])
PKG_CHECK_MODULES([DEPS], [openssl glib-2.0])
PKG_CHECK_MODULES([DEPS], [openssl glib-2.0 libcurl])
PKG_CHECK_MODULES([NOTIFY], [libnotify], [],
[AC_MSG_NOTICE([libnotify module not found])])