pygi-foreign-cairo.c: fix include for py3cairo.h
[pygobject.git] / autogen.sh
blob3c7605dbf2a7e1d28e94c059e189790d0c2c1095
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3 set -e
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME="pygobject"
9 (test -f $srcdir/configure.ac \
10 && test -f $srcdir/$PKG_NAME.doap) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
13 exit 1
16 if type lcov >/dev/null 2>&1; then
17 EXTRA_ARGS="--enable-code-coverage"
18 else
19 echo "lcov not installed, not enabling code coverage"
23 which gnome-autogen.sh || {
24 echo "You need to install gnome-common."
25 exit 1
28 . gnome-autogen.sh "$EXTRA_ARGS" "$@"