Merge branch 'master' of ssh://repo.or.cz/srv/git/libprolooks
[libprolooks.git] / autogen.sh
blob119683ddb53706136baf47cfa91bc3011f54c51f
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME="prolooks"
9 (test -f $srcdir/configure.ac) || {
10 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
11 echo " top-level $PKG_NAME directory"
12 exit 1
15 which gnome-autogen.sh || {
16 echo "You need to install gnome-common from the GNOME CVS"
17 exit 1
20 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I macros"
21 REQUIRED_AUTOMAKE_VERSION=1.7 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh "$@"