summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorcalc <calc@xiph.org>2002-07-11 04:00:04 +0000
committercalc <calc@xiph.org>2002-07-11 04:00:04 +0000
commite5d7088b4d4320ac08714e5197e8cd30e752ff5f (patch)
tree3f2ff063056f8ccd88dcdcc8b0726422189482ba /autogen.sh
parent60e4b931836c8bd2ab74303586806626427dfb40 (diff)
downloadogg-git-e5d7088b4d4320ac08714e5197e8cd30e752ff5f.tar.gz
fix autogen.sh so that builddir != srcdir works
svn path=/trunk/ogg/; revision=3572
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 4f92453..e71d069 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,7 @@
package="libogg"
+olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
@@ -58,4 +59,5 @@ automake --add-missing $AUTOMAKE_FLAGS
echo " autoconf"
autoconf
+cd $olddir
$srcdir/configure "$@" && echo