diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-01-20 12:01:09 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-01-21 07:13:46 +1000 |
commit | e4cd6cef9154a330646cfcaad4e78fcef3db3917 (patch) | |
tree | 7434362202f4cecea21d121ebbdba921d95f652e | |
parent | 7bc662d0b48e718cf30c4e4b1b32c1c8a557e091 (diff) |
libinput-drv: Add autogen.sh
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..fd9c59a --- /dev/null +++ b/autogen.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +if test -z "$NOCONFIGURE"; then + exec $srcdir/configure "$@" +fi |