mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-08 10:08:03 +02:00
New autogen.sh from Thomas Fitzsimmons that works with srcdir != objdir.
This commit is contained in:
parent
648b14e2d0
commit
e86de666f5
1 changed files with 10 additions and 1 deletions
11
autogen.sh
11
autogen.sh
|
|
@ -1,3 +1,12 @@
|
|||
#! /bin/sh
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
ORIGDIR=`pwd`
|
||||
cd $srcdir
|
||||
|
||||
autoreconf -v --install || exit 1
|
||||
./configure --enable-maintainer-mode "$@"
|
||||
cd $ORIGDIR || exit $?
|
||||
|
||||
$srcdir/configure --enable-maintainer-mode "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue