[demo] Added --help and --version to adg-demo
[adg.git] / autogen.sh
blobb32e02797c9373cf5c43dbc0041d0be6414eda18
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 if test ! -f $srcdir/configure.ac -o ! -f $srcdir/adg/adg.h; then
8 echo "**Error**: '$srcdir' does not look like the top-level adg directory"
9 exit 1
12 cd $srcdir
13 glib-gettextize -f || exit $?
14 autoreconf -is -Wall || exit $?
15 ./configure "$@" && echo "Now type 'make' to compile $PROJECT."