summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorozone <ozone@xiph.org>2005-01-18 06:26:22 +0000
committerozone <ozone@xiph.org>2005-01-18 06:26:22 +0000
commit034e5a5cb897419e219b6d353a3c1c6fae143148 (patch)
treecfaa9f3c7715be5762987d556017e89f859f9aa4 /autogen.sh
parenta6fba24cce7b978956814fe58adb67cd50b4e466 (diff)
downloadlibvorbis-git-034e5a5cb897419e219b6d353a3c1c6fae143148.tar.gz
vorbis:
* Use autoheader and config.h.in again (basically revert changeset:8766) * Use 'type' shell builtin instead of 'which' to locate libtoolize, since it's more portable and less prone to different behaviour svn path=/trunk/vorbis/; revision=8767
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 0f1545f6..a7349228 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,7 +32,7 @@ echo "checking for automake... "
echo -n "checking for libtool... "
for LIBTOOLIZE in libtoolize glibtoolize nope; do
- (which $LIBTOOLIZE) > /dev/null 2>&1 && break
+ (type $LIBTOOLIZE) > /dev/null 2>&1 && break
done
if test x$LIBTOOLIZE = xnope; then
echo "nope."
@@ -62,6 +62,8 @@ echo "Generating configuration files for $package, please wait...."
echo " aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS || exit 1
+echo " autoheader"
+autoheader || exit 1
echo " $LIBTOOLIZE --automake"
$LIBTOOLIZE --automake || exit 1
echo " automake --add-missing $AUTOMAKE_FLAGS"