diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1999-03-16 03:46:18 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1999-03-16 03:46:18 +0000 |
commit | f87ca72bef8ceaac1e2219fcb38175d51f8c177c (patch) | |
tree | 510a61fb70c2fb589219c495592e23ebf3fac92f /autogen.sh | |
parent | 4d395a68a9e41cff6415954bb308cb24769e37b4 (diff) | |
download | gtk-doc-f87ca72bef8ceaac1e2219fcb38175d51f8c177c.tar.gz |
Fix builddir != srcdir.
Fix builddir != srcdir.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -7,6 +7,13 @@ FILE=gtk-doc.dsl.in DIE=0 +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +THEDIR="`pwd`" + +cd "$srcdir" + (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have autoconf installed to compile $PROJECT." @@ -57,7 +64,9 @@ aclocal $ACLOCAL_FLAGS automake --add-missing $am_opt autoconf -./configure "$@" +cd "$THEDIR" + +$srcdir/configure "$@" echo echo "Now type 'make install' to install $PROJECT." |