mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-08 11:18:44 +02:00
Update autogen.sh to one that does objdir != srcdir.
This commit is contained in:
parent
ea93d1b25b
commit
cb188ab9d7
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 "$@"
|
||||
cd $ORIGDIR || exit $?
|
||||
|
||||
$srcdir/configure --enable-maintainer-mode "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue