Re: cvs: php4(PHP_4_0_6) /ext/curl config.m4
| From: | Sterling Hughes | Date: | Mon, 21 May 2001 09:14:49 +0000 |
| Subject: | Re: cvs: php4(PHP_4_0_6) /ext/curl config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5916@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
On Mon, 21 May 2001, Sterling Hughes wrote:curl-config is always made with curl -SterlingJani Taskinen wrote:Point is that curl-config just might not exist. curl.h has to exists as it's kinda hard to compile the extension without it.Why don't you use the define in curl.h: /* This is the version number */ #define LIBCURL_VERSION "7.7.4-pre1" #define LIBCURL_VERSION_NUM 0x070704 ?? Like it's done with OpenSSL.. ? (acinclude.m4) It would be cleaner.Not really. What's the point of compiling a program to check for the version when I can use the pre-existing curl-config program (just as easy)?