diff options
Diffstat (limited to 'editors/abiword-devel/files/patch-autogen.sh')
-rw-r--r-- | editors/abiword-devel/files/patch-autogen.sh | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/editors/abiword-devel/files/patch-autogen.sh b/editors/abiword-devel/files/patch-autogen.sh index 84fe028e64ac..4534322f4ca7 100644 --- a/editors/abiword-devel/files/patch-autogen.sh +++ b/editors/abiword-devel/files/patch-autogen.sh @@ -1,11 +1,11 @@ ---- autogen.sh.orig Thu Oct 17 08:19:31 2002 -+++ autogen.sh Fri Feb 21 23:47:48 2003 -@@ -10,20 +10,20 @@ +--- autogen.sh.orig Fri Aug 1 04:40:52 2003 ++++ autogen.sh Mon Aug 25 03:31:45 2003 +@@ -10,31 +10,31 @@ rm -f autogen.err -automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' -+%%AUTOMAKE%% --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' ++%%AUTOMAKE%% --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." @@ -19,14 +19,6 @@ exit 1 fi - for script in `cd ac-helpers/fallback; echo *.m4`; do -- if test -r `aclocal --print-ac-dir 2>> autogen.err`/$script; then -+ if test -r `%%ACLOCAL%% --print-ac-dir 2>> autogen.err`/$script; then - # Perhaps it was installed recently - rm -f ac-helpers/$script - else -@@ -34,17 +34,17 @@ - # Produce aclocal.m4, so autoconf gets the automake macros it needs # -echo "Creating aclocal.m4: aclocal -I ac-helpers $ACLOCAL_FLAGS" @@ -48,7 +40,7 @@ exit 1 } pkgcheckdef=`grep PKG_CHECK_MODULES aclocal.m4 | grep AC_DEFUN` -@@ -66,9 +66,9 @@ +@@ -56,9 +56,9 @@ # Produce all the `GNUmakefile.in's and create neat missing things # like `install-sh', etc. # @@ -60,7 +52,7 @@ echo "" echo "* * * warning: possible errors while running automake - check autogen.err" echo "" -@@ -84,7 +84,7 @@ +@@ -74,7 +74,7 @@ # echo "Creating configure..." |