summaryrefslogtreecommitdiff
path: root/recipes/autoconf/autoconf-2.63/autoreconf-gnuconfigize.patch
blob: beeb4c70c00336f7c2960478564f78f305d07a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- /tmp/autoreconf.in	2009-06-02 13:10:42.000000000 +0200
+++ autoconf-2.63/bin/autoreconf.in	2009-06-02 13:12:28.000000000 +0200
@@ -58,7 +58,7 @@
 $help = "Usage: $0 [OPTION]... [DIRECTORY]...
 
 Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
-(formerly `gettextize'), and `libtoolize' where appropriate)
+(formerly `gettextize'), `libtoolize', and `gnu-configize' where appropriate)
 repeatedly to remake the GNU Build System files in specified
 DIRECTORIES and their subdirectories (defaulting to `.').
 
@@ -115,6 +115,7 @@
 my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
 my $autopoint  = $ENV{'AUTOPOINT'}  || 'autopoint';
 my $make       = $ENV{'MAKE'}       || 'make';
+my $gnuconfigize  = $ENV{'GNUCONFIGIZE'} || 'gnu-configize';
 
 # --install -- as --add-missing in other tools.
 my $install = 0;
@@ -643,6 +644,10 @@
       }
     }
 
+  @ex = grep (/^gnu-configize$/, @exclude);
+  if ($#ex == -1) {
+    xsystem ("$gnuconfigize");
+  }
 
   # -------------- #
   # Running make.  #