diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 00:13:03 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 00:13:03 +0000 |
commit | 1b84395d17cc86f90b3e7e396f6ce8dab38ddb07 (patch) | |
tree | 86b2d29a2f56e70748bcf9b32df3fbc109a5c662 /configure.ac | |
parent | 6cea97bf72362558a8701e97d3f2ef0216cd2bb1 (diff) |
get cflags for libcurl as well as libs (patch from qwell)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41023 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c3eacdc57..c166c081b 100644 --- a/configure.ac +++ b/configure.ac @@ -917,20 +917,23 @@ if test ! x"${CURL}" = xNo; then # check for version if test "${host_os}" = "SunOS"; then if [[ 0x`curl-config --vernum` -ge 0x70907 ]]; then - CURLLIB=$(${CURL} --libs) + CURL_INCLUDE=$(${CURL} --cflags) + CURL_LIB=$(${CURL} --libs) PBX_CURL=1 AC_DEFINE([HAVE_CURL], 1, [Define if your system has the curl libraries.]) fi else if [[[ 0x`curl-config --vernum` -ge 0x70907 ]]]; then - CURLLIB=$(${CURL} --libs) + CURL_INCLUDE=$(${CURL} --cflags) + CURL_LIB=$(${CURL} --libs) PBX_CURL=1 AC_DEFINE([HAVE_CURL], 1, [Define if your system has the curl libraries.]) fi fi fi AC_SUBST(PBX_CURL) -AC_SUBST(CURLLIB) +AC_SUBST(CURL_INCLUDE) +AC_SUBST(CURL_LIB) AC_CONFIG_FILES([build_tools/menuselect-deps makeopts]) AC_OUTPUT |