libtpms/autogen.sh
Marc-André Lureau 9081bbc459 build-sys: add a simple autogen.sh
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2018-05-26 07:41:18 -04:00

17 lines
235 B
Bash
Executable File

#!/bin/sh
set -e # exit on errors
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
olddir=`pwd`
cd "$srcdir"
autoreconf --verbose --force --install
cd "$olddir"
if [ -z "$NOCONFIGURE" ]; then
"$srcdir"/configure ${1+"$@"}
fi