cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1662003 ] --with-libcurl doesn't work right

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 16 Feb 2007 15:06:55 -0800

Bugs item #1662003, was opened at 2007-02-16 15:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1662003&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ian Turner (vectro)
Assigned to: Daniel Stenberg (bagder)
Summary: --with-libcurl doesn't work right

Initial Comment:
The sample autoconf macro distributed as docs/libcurl/libcurl.m4 doesn't properly search for check-config when the --with-libcurl commandline is used.

The problem is that AC_PATH_PROG already appends the path, which you should override with the third argument (not the second).

This patch should do the job:

--- broken/libcurl.m4
+++ fixed/libcurl.m4
@@ -1166,7 +1166,7 @@
      if test -d "$_libcurl_with" ; then
         LIBCURL_CPPFLAGS="-I$withval/include"
         _libcurl_ldflags="-L$withval/lib"
- AC_PATH_PROG([_libcurl_config],["$withval/bin/curl-config"])
+ AC_PATH_PROG([_libcurl_config],[curl-config],["$withval/bin"])
      else
         AC_PATH_PROG([_libcurl_config],[curl-config])
      fi

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1662003&group_id=976
Received on 2007-02-17

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET