From 7d1bb21c191fea7c9e02d78e820a8df1b9ac65d3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 29 Apr 2009 19:02:22 +0000 Subject: Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_build.h --- tests/testcurl.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- cgit v1.2.3