Re: cvs: php4(PHP_4_0_6) /ext/curl config.m4

From: Date: Mon, 21 May 2001 21:14:32 +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-5915@lists.php.net to get a copy of this message
On Mon, 21 May 2001, Sterling Hughes wrote: >Jani Taskinen wrote: > >> 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)? 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. --Jani

« previous php.cvs (#5915) next »