renatofilho@608: #!/bin/sh
renatofilho@608: # Run this to generate all the initial makefiles, etc.
renatofilho@608: 
renatofilho@611: srcdir=`dirname $0`
renatofilho@611: test -z "$srcdir" && srcdir=.
renatofilho@608: 
renatofilho@611: PKG_NAME="gmemcoder"
renatofilho@608: 
renatofilho@611: (test -f $srcdir/configure.ac) || {
renatofilho@611:     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
renatofilho@611:     echo " top-level $PKG_NAME directory"
renatofilho@611:     exit 1
renatofilho@608: }
renatofilho@608: 
renatofilho@611: which gnome-autogen.sh || {
renatofilho@611:     echo "You need to install gnome-common from the GNOME CVS"
renatofilho@611:     exit 1
renatofilho@608: }
melunko@709: ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
renatofilho@611: REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh