[xiph-commits] r11286 - trunk/ogg

giles at svn.xiph.org giles at svn.xiph.org
Wed Apr 26 09:58:59 PDT 2006


Author: giles
Date: 2006-04-26 09:58:54 -0700 (Wed, 26 Apr 2006)
New Revision: 11286

Modified:
   trunk/ogg/autogen.sh
Log:
Propagate fixes for when AUTOMAKE_OPTIONS doesn't list a minimum version number.
This is not currently relevent, but it's best to use our latest version.


Modified: trunk/ogg/autogen.sh
===================================================================
--- trunk/ogg/autogen.sh	2006-04-26 16:57:20 UTC (rev 11285)
+++ trunk/ogg/autogen.sh	2006-04-26 16:58:54 UTC (rev 11286)
@@ -2,7 +2,7 @@
 # Run this to set up the build system: configure, makefiles, etc.
 # (based on the version in enlightenment's cvs)
 
-package="libogg"
+package="vorbisdec"
 
 olddir=`pwd`
 srcdir=`dirname $0`
@@ -25,16 +25,20 @@
                                                                                 
 # do we need automake?
 if test -r Makefile.am; then
-  AM_NEEDED=`fgrep AUTOMAKE_OPTIONS Makefile.am | $VERSIONGREP`
+  AM_OPTIONS=`fgrep AUTOMAKE_OPTIONS Makefile.am`
+  AM_NEEDED=`echo $AM_OPTIONS | $VERSIONGREP`
+  if test x"$AM_NEEDED" = "x$AM_OPTIONS"; then
+    AM_NEEDED=""
+  fi
   if test -z $AM_NEEDED; then
     echo -n "checking for automake... "
     AUTOMAKE=automake
     ACLOCAL=aclocal
     if ($AUTOMAKE --version < /dev/null > /dev/null 2>&1); then
+      echo "yes"
+    else
       echo "no"
       AUTOMAKE=
-    else
-      echo "yes"
     fi
   else
     echo -n "checking for automake $AM_NEEDED or later... "



More information about the commits mailing list