From 73a2fcea0b4adea6ba342cd7ed1149782c214ae3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 22 May 2017 09:05:10 +0200 Subject: includes: remove curl/curlbuild.h and curl/curlrules.h Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456 --- tests/testcurl.pl | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'tests/testcurl.pl') diff --git a/tests/testcurl.pl b/tests/testcurl.pl index dc35a026d..9749bc7d1 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -588,7 +588,6 @@ if ($configurebuild) { elsif ($^O eq 'linux') { system("cp -afr $CURLDIR/* ."); system("cp -af $CURLDIR/Makefile.dist Makefile"); - system("cp -af $CURLDIR/include/curl/curlbuild.h.dist ./include/curl/curlbuild.h"); system("$make -i -C lib -f Makefile.$targetos prebuild"); system("$make -i -C src -f Makefile.$targetos prebuild"); if (-d "$CURLDIR/ares") { @@ -609,20 +608,6 @@ if(-f "./libcurl.pc") { } } -if(-f "./include/curl/curlbuild.h") { - logit_spaced "display include/curl/curlbuild.h"; - if(open(F, "<./include/curl/curlbuild.h")) { - while() { - my $ll = $_; - print $ll if(($ll =~ /^ *# *define *CURL_/) && ($ll !~ /__CURL_CURLBUILD_H/)); - } - close(F); - } -} -else { - mydie "no curlbuild.h created/found"; -} - logit_spaced "display lib/$confheader"; open(F, "lib/$confheader") or die "lib/$confheader: $!"; while () { -- cgit v1.2.3