From b2018d63c8de46acac8c5448152d1a6b09e107bd Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 21 Jul 2002 09:32:34 +0000 Subject: [PATCH] Now copies the Makefile.am template instead of rename()ing it. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 14b2e40a..18fd8743 100755 --- a/bootstrap +++ b/bootstrap @@ -2,7 +2,7 @@ set -e echo "Initial preparation...this can take awhile, so sit tight..." -perl -w -e 'exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { rename ("./Makefile.am.oldautomake", "./Makefile.am"); } else { rename ("./Makefile.am.newautomake", "./Makefile.am"); }' +perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }' aclocal libtoolize --automake --copy --force autoheader