Skip to content

Commit

Permalink
add autogen.sh file
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Mar 19, 2017
1 parent 2776a4b commit 6666a94
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions autogen.sh
@@ -0,0 +1,21 @@
#!/bin/sh

git submodule update --init --recursive

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

if ! (autoreconf --version >/dev/null 2>&1); then
echo "*** No autoreconf found, please install it ***"
exit 1
fi

mkdir -p m4

autoreconf --force --install --verbose

cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

0 comments on commit 6666a94

Please sign in to comment.