summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2006-04-26 16:58:54 +0000
committerRalph Giles <giles@xiph.org>2006-04-26 16:58:54 +0000
commita8bc5bf7cc74f26592d2ce32ce0eaa0ef6d4f0ad (patch)
treec90535ac92a9e5d945b525d72e6c3eb4ded6e7f0 /autogen.sh
parent871a74a9d3275f74462376dd766905c973369960 (diff)
downloadogg-git-a8bc5bf7cc74f26592d2ce32ce0eaa0ef6d4f0ad.tar.gz
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. svn path=/trunk/ogg/; revision=11286
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 5e9ec76..73c8fca 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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 @@ VERSIONMKINT="sed -e s/[^0-9]//"
# 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... "