renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
This commit is contained in:
@@ -1614,8 +1614,8 @@ sub checksystem {
|
||||
die "couldn't get curl's version";
|
||||
}
|
||||
|
||||
if(-r "../lib/config.h") {
|
||||
open(CONF, "<../lib/config.h");
|
||||
if(-r "../lib/curl_config.h") {
|
||||
open(CONF, "<../lib/curl_config.h");
|
||||
while(<CONF>) {
|
||||
if($_ =~ /^\#define HAVE_GETRLIMIT/) {
|
||||
$has_getrlimit = 1;
|
||||
|
||||
Reference in New Issue
Block a user