summaryrefslogtreecommitdiff
path: root/editors/AbiWord2/files/patch-autogen.sh
blob: 57a58a879794d7b0fd9845e534539ec548438c35 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$FreeBSD$

--- autogen.sh.orig	Mon Mar 25 07:41:49 2002
+++ autogen.sh	Tue Apr  9 12:35:41 2002
@@ -10,20 +10,20 @@
 
 set -e
 
-automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print;  if ($1 < 1.4) {exit 1;}}'
+automake14 --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print;  if ($1 < 1.4) {exit 1;}}'
 
 if [ $? -ne 0 ]; then
     echo "Error: you need automake 1.4 or later.  Please upgrade."
     exit 1
 fi
 
-if test ! -d `aclocal --print-ac-dir`; then
+if test ! -d `aclocal14 --print-ac-dir`; then
   echo "Bad aclocal (automake) installation"
   exit 1
 fi
 
 for script in `cd ac-helpers/fallback; echo *.m4`; do
-  if test -r `aclocal --print-ac-dir`/$script; then
+  if test -r `aclocal14 --print-ac-dir`/$script; then
     # Perhaps it was installed recently
     rm -f ac-helpers/$script
   else
@@ -34,13 +34,13 @@
 
 # Produce aclocal.m4, so autoconf gets the automake macros it needs
 echo "Creating aclocal.m4..."
-aclocal -I ac-helpers
+aclocal14 -I ac-helpers
 
 # autoheader
 
 # Produce all the `GNUmakefile.in's and create neat missing things
 # like `install-sh', etc.
-automake --add-missing --copy --foreign
+automake14 --add-missing --copy --foreign
 
 # If there's a config.cache file, we may need to delete it.  
 # If we have an existing configure script, save a copy for comparison.
@@ -50,7 +50,7 @@
 
 # Produce ./configure
 echo "Creating configure..."
-autoconf
+autoconf213
 
 echo ""
 echo "You can run ./configure now."