mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 14:11:47 +00:00
autogen: remove copied code - srcdir and ORIGDIR (subdir config)
Signed-off-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
dcef400d30
commit
3b58f557af
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user