From: Yang Tse Date: Wed, 29 Apr 2009 19:02:22 +0000 (+0000) Subject: Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_bu... X-Git-Tag: curl-7_19_5~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d1bb21c191fea7c9e02d78e820a8df1b9ac65d3;p=curl Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_build.h --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 4d1d73fc6..b4246ec4c 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -521,7 +521,7 @@ if(-f "./include/curl/curlbuild.h") { if(open(F, "<./include/curl/curlbuild.h")) { while() { my $ll = $_; - print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CURL_CURLBUILD_H/)); + print $ll if(($ll =~ /^ *# *define *CURL_/) && ($ll !~ /__CURL_CURLBUILD_H/)); } close(F); } @@ -545,7 +545,7 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) { if(open(F, "<./ares/ares_build.h")) { while() { my $ll = $_; - print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CARES_BUILD_H/)); + print $ll if(($ll =~ /^ *# *define *CARES_/) && ($ll !~ /__CARES_BUILD_H/)); } close(F); }