From acdf5c0533b9a125baa3288a6524de4aa1e927f9 Mon Sep 17 00:00:00 2001 From: Zhang zhengguang Date: Thu, 20 Nov 2014 15:58:20 +0800 Subject: [PATCH] Add autogen.sh --- autogen.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 autogen.sh diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..2d55b80 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. + +olddir=`pwd` +cd $srcdir + +AUTORECONF=`which autoreconf` +if test -z $AUTORECONF; then + echo "*** No autoreconf found, please intall it ***" + exit 1 +fi + +INTLTOOLIZE=`which intltoolize` +if test -z $INTLTOOLIZE; then + echo "*** No intltoolize found, please install the intltool package ***" + exit 1 +fi + +#GTKDOCIZE=`which gtkdocize` +#if test -z $GTKDOCIZE; then +# echo "*** No GTK-Doc found, please install it ***" +# exit 1 +#fi + +#gtkdocize || exit $? +intltoolize --automake --copy +autoreconf --force --install --verbose + +cd $olddir +test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" -- 2.7.4