[AdgToyText] Refactored using maps
[adg.git] / autogen.sh
blob0e072992d40dbef4bb327a0822b458f798c1669e
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 (test -f $srcdir/configure.ac && test -f $srcdir/adg/adg.h) ||
9 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
10 echo " top-level adg directory"
11 exit 1
14 pushd $srcdir
15 autoreconf -is -Wall
16 popd