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
commit5e525bbd9cd04a327b1af77e61cab4f26ca09af5 (patch)
tree3f2ff063056f8ccd88dcdcc8b0726422189482ba /autogen.sh
parentf921c003ecf3ba8eb9cf70f0cce62cfe7cac53b4 (diff)
downloadogg-5e525bbd9cd04a327b1af77e61cab4f26ca09af5.tar.gz
fix autogen.sh so that builddir != srcdir works
git-svn-id: http://svn.xiph.org/trunk/ogg@3572 0101bb08-14d6-0310-b084-bc0e0c8e3800
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