[xiph-commits] r16376 - trunk/ezstream

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Aug 1 08:26:28 PDT 2009


Author: moritz
Date: 2009-08-01 08:26:28 -0700 (Sat, 01 Aug 2009)
New Revision: 16376

Modified:
   trunk/ezstream/autogen.sh
Log:
Fix for non-libtool project.


Modified: trunk/ezstream/autogen.sh
===================================================================
--- trunk/ezstream/autogen.sh	2009-08-01 13:52:20 UTC (rev 16375)
+++ trunk/ezstream/autogen.sh	2009-08-01 15:26:28 UTC (rev 16376)
@@ -10,6 +10,8 @@
 	exit 1
 fi
 
+USE_LIBTOOL="$(grep AC_PROG_LIBTOOL ./configure.* 2> /dev/null)"
+
 EXTRA=
 if [ -d m4 ]; then
 	EXTRA="-I m4"
@@ -25,9 +27,11 @@
 	autoconf || exit 1
 AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
 	autoheader || exit 1
+if [ -n "${USE_LIBTOOL}" ]; then
+	AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
+		libtoolize --automake -c -f || exit 1
+fi
 AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
-	libtoolize --automake -c -f || exit 1
-AUTOCONF_VERSION="${_ac_version}" AUTOMAKE_VERSION="${_am_version}" \
 	automake -a -c || exit 1
 
 rm -r autom4te.cache



More information about the commits mailing list