[xiph-cvs] cvs commit: ogg autogen.sh

Monty xiphmont at xiph.org
Sun Mar 7 20:31:18 PST 2004



xiphmont    04/03/07 23:31:18

  Modified:    .        autogen.sh
  Log:
  Fix bug 483

Revision  Changes    Path
1.12      +2 -2      ogg/autogen.sh

Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ogg/autogen.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- autogen.sh	22 Nov 2003 00:35:49 -0000	1.11
+++ autogen.sh	8 Mar 2004 04:31:18 -0000	1.12
@@ -40,7 +40,7 @@
     echo -n "checking for automake $AM_NEEDED or later... "
     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 | $VERSIONMKINT`
+      ver=`$am --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
       verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
       if test $ver -ge $verneeded; then
         AUTOMAKE=$am
@@ -52,7 +52,7 @@
     echo -n "checking for aclocal $AM_NEEDED or later... "
     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 | $VERSIONMKINT`
+      ver=`$ac --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
       verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
       if test $ver -ge $verneeded; then
         ACLOCAL=$ac

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list