rpm-ostree/autogen.sh
Colin Walters 220773f213 Import some code for using GJS
This is forked from gnome-continuous.
2014-01-03 17:14:10 -05:00

30 lines
522 B
Bash
Executable File

#!/bin/sh
set -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please intall it ***"
exit 1
fi
mkdir -p m4
# Fetch submodules if needed
if test ! -f src/libgsystem/README;
then
echo "+ Setting up submodules"
git submodule init
git submodule update
fi
autoreconf --force --install --verbose
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"