utils: add necessary header and footer to have right calling convention
[platform/upstream/libgsignon-glib.git] / autogen.sh
1 #!/bin/sh -e
2
3 srcdir=`dirname $0`
4 test -z "$srcdir" && srcdir=.
5
6 (test -f $srcdir/libgsignon-glib.pc.in ) || {
7         echo -n "Error: Directory "\`$srcdir\`" does not look like the "
8         echo "top-level libgsignon-glib directory."
9         exit 1
10 }
11
12 cd "$srcdir"
13 gtkdocize --copy --flavour no-tmpl
14 cd "$OLDPWD"
15 autoreconf --install --force --verbose --warnings=all "$srcdir"
16 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"