mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
build: Fix running autogen.sh out-of-tree
This commit is contained in:
10
autogen.sh
10
autogen.sh
@@ -1,10 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
pushd $srcdir
|
||||
|
||||
libtoolize --copy --force || exit 1
|
||||
aclocal || exit 1
|
||||
autoheader || exit 1
|
||||
autoconf || exit 1
|
||||
automake -a -c || exit 1
|
||||
popd
|
||||
|
||||
if test -z "$NOCONFIGURE"; then
|
||||
exec ./configure --enable-maintainer-mode --enable-examples-build \
|
||||
$srcdir/configure --enable-maintainer-mode --enable-examples-build \
|
||||
--enable-x11-examples-build --enable-debug-log $*
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user