jbig2dec

Ralph Giles <[email protected]> Tue, 04 Mar 2003 07:39:03 -0800
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Update of /cvsroot/jbig2dec/jbig2dec
In directory sc8-pr-cvs1:/tmp/cvs-serv23560

Modified Files:
	autogen.sh 
Log Message:
Correct a typo in the previous commit.


Index: autogen.sh
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/autogen.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- autogen.sh	4 Mar 2003 15:24:58 -0000	1.3
+++ autogen.sh	4 Mar 2003 15:39:00 -0000	1.4
@@ -39,7 +39,7 @@
     for am in automake-$AM_NEEDED automake$AM_NEEDED automake; do
       ($am --version < /dev/null > /dev/null 2>&1) || continue
       ver=`$am --version < /dev/null | head -1 | $VERSIONGREP`
-      if test 0$ver = 0$AM_NEEDED; then
+      if test $ver = $AM_NEEDED; then
         AUTOMAKE=$am
         echo $AUTOMAKE
         break
@@ -50,7 +50,7 @@
     for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED aclocal; do
       ($ac --version < /dev/null > /dev/null 2>&1) || continue
       ver=`$ac --version < /dev/null | head -1 | $VERSIONGREP`
-      if test 0$ver = $AM_NEEDED; then
+      if test $ver = $AM_NEEDED; then
         ACLOCAL=$ac
         echo $ACLOCAL
         break
@@ -58,7 +58,7 @@
     done
     test -z $ACLOCAL && echo "no"
   fi
-  test -z $AUTOMAKE && {
+  test -z $AUTOMAKE || test -z $ACLOCAL && {
         echo
         echo "You must have automake installed to compile $package."
         echo "Download the appropriate package for your distribution,"