diff options
author | Uri Lublin <uril@redhat.com> | 2009-12-30 15:34:56 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-10 19:43:34 +0200 |
commit | 09edf10262712f9503b0e65335316c1fa135181a (patch) | |
tree | afbfaccba32939ca5b7744e7918d305fb6ae7ada | |
parent | 461b04793d5001b55fa1e52851e7048d521258bf (diff) | |
download | spice-09edf10262712f9503b0e65335316c1fa135181a.tar.gz spice-09edf10262712f9503b0e65335316c1fa135181a.tar.xz spice-09edf10262712f9503b0e65335316c1fa135181a.zip |
autogen: remove copied code - srcdir and ORIGDIR (subdir config)
Signed-off-by: Uri Lublin <uril@redhat.com>
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,11 +1,5 @@ #! /bin/sh -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -ORIGDIR=`pwd` -cd $srcdir - # FIXME: can replace this entire script with # the following line if we can require autoconf 2.60: # autoreconf -v --force --install || exit 1 @@ -39,6 +33,7 @@ srcdir=`dirname $ARGV0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` +cd $srcdir # Not all echo versions allow -n, so we check what is possible. This test is # based on the one in autoconf. @@ -156,7 +151,6 @@ do_cmd() { # Run for top level directory printbold "Setting up $PACKAGE toplevel" -cd $srcdir do_cmd $LIBTOOLIZE $LIBTOOLIZE_FLAGS do_cmd $ACLOCAL $ACLOCAL_FLAGS do_cmd $AUTOHEADER |