aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-22 23:45:23 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-22 23:45:23 +0000
commit798c59f27020f7e5d07f53d9508bb6612f3d4c14 (patch)
treeb7954a45ca64653b248fbab7871e14060285defd
parentUpdate am-wrapper script to also use ac_version and am_version functions to (diff)
downloadautotools-wrappers-798c59f27020f7e5d07f53d9508bb6612f3d4c14.tar.gz
autotools-wrappers-798c59f27020f7e5d07f53d9508bb6612f3d4c14.tar.bz2
autotools-wrappers-798c59f27020f7e5d07f53d9508bb6612f3d4c14.zip
initial ebuild
Break the automake wrapper (am-wrapper.pl) off into its own package.
-rwxr-xr-xam-wrapper.pl21
1 files changed, 4 insertions, 17 deletions
diff --git a/am-wrapper.pl b/am-wrapper.pl
index 06df188..4deff78 100755
--- a/am-wrapper.pl
+++ b/am-wrapper.pl
@@ -74,23 +74,10 @@ sub ac_version {
my $binary = "$0-1.4";
-my $binary_1_5 = "$0-1.5x";
-my $binary_1_6 = "$0-1.6x";
-my $binary_1_7 = "$0-1.7x";
-my $binary_1_8 = "$0-1.8x";
-
-# Automake is really getting out of hand, so rather start supporting
-# WANT_AUTOMAKE = "1.7" the like. Unfortunately it override the old
-# variables, so if not set, just convert the old variables ....
-if ($ENV{WANT_AUTOMAKE} eq "") {
- if ($ENV{WANT_AUTOMAKE_1_4}) {
- $ENV{WANT_AUTOMAKE} = '1.4';
- } elsif ($ENV{WANT_AUTOMAKE_1_6}) {
- $ENV{WANT_AUTOMAKE} = '1.6';
- } elsif ($ENV{WANT_AUTOMAKE_1_5}) {
- $ENV{WANT_AUTOMAKE} = '1.5';
- }
-}
+my $binary_1_5 = "$0-1.5";
+my $binary_1_6 = "$0-1.6";
+my $binary_1_7 = "$0-1.7";
+my $binary_1_8 = "$0-1.8";
# question here is do we really want 1.5 or 1.6? Out of a KDE outlook, it
# should rather be 1.5, and since most people would rather have migrated to