cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Is this a bug in the configure script?

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 22 Oct 2009 11:04:48 +0200

 
Dantzler, DeWayne C wrote:

> Attempting to compile libcurl with Xereces-C++ and got a compiler
error that curl.h could not find include file 'curl/curlbuild.h'.

I had this trouble a few weeks ago when using libcurl on OS/400.

> (3)Modified curl.h as follows to get the build to work
> #include "curlver.h" /* libcurl version defines */
> /*#include "curl/curlbuild.h" /* libcurl build definitions */
> #include "curlbuild.h" /* libcurl build definitions */
> #include "curlrules.h" /* libcurl rules enforcement */

I then tried what you suggest: this was a success for me, but it brokes
compilations with the source tree outside the destination directory
(nearly all autobuilds failed), because the curlbuild.h file is
generated at configure time.
Since then, there is a comment explaining it in curl.h.

See:
http://curl.haxx.se/mail/lib-2009-08/0393.html and nexts in thread.
http://curl.haxx.se/cvs.cgi/curl/include/curl/curl.h?r1=1.392&r2=1.394

> Did the configure script generate an incorrect include statement or
was it the install?

As you can see above, none of them. This was intentional.
Perhaps you can resolve your problem with compiler options...
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-22