libevdev/autogen.sh
Gaetan Nadon 4184c153ec autogen.sh: fix broken out-of-source tree building
The configure script is invoked from the build directory rather than
from the source directory.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-11-19 09:36:09 +10:00

13 lines
225 B
Bash
Executable file

#!/bin/sh
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
test -d m4 || mkdir m4
autoreconf -fvi || exit $?
cd "$olddir"
test -n "$NOCONFIGURE" || $srcdir/configure "$@"