Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
for non-configure targets when host system doesn't run buildconf.bat.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -20,6 +20,9 @@ Yang Tse (7 Aug 2008)
|
|||||||
|
|
||||||
- Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
|
- Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
|
||||||
|
|
||||||
|
- Adjusted testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
|
||||||
|
for non-configure targets when the host system doesn't run buildconf.bat.
|
||||||
|
|
||||||
- Prevent buildconf from removing 'Makefile' and 'missing' files. This would
|
- Prevent buildconf from removing 'Makefile' and 'missing' files. This would
|
||||||
blow away our CVS checked files 'missing' and 'hiper/Makefile'.
|
blow away our CVS checked files 'missing' and 'hiper/Makefile'.
|
||||||
|
|
||||||
|
|||||||
@@ -489,6 +489,7 @@ if ($configurebuild) {
|
|||||||
elsif (($^O eq 'linux') || ($targetos =~ /netware/)) {
|
elsif (($^O eq 'linux') || ($targetos =~ /netware/)) {
|
||||||
system("cp -afr ../$CURLDIR/* .");
|
system("cp -afr ../$CURLDIR/* .");
|
||||||
system("cp -af ../$CURLDIR/Makefile.dist Makefile");
|
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 lib -f Makefile.$targetos prebuild");
|
||||||
system("$make -i -C src -f Makefile.$targetos prebuild");
|
system("$make -i -C src -f Makefile.$targetos prebuild");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user