]>
saetta.ns0.it Git - zakform/libzakform/blob - autogen.sh
2 # Run this to generate all the initial makefiles, etc.
3 test -n "$srcdir" || srcdir
=`dirname "$0"`
4 test -n "$srcdir" || srcdir
=.
10 (test -f configure.ac
) || {
11 echo "*** ERROR: Directory "\
`$srcdir\'" does not look like the top-level project directory ***"
15 PKG_NAME=`autoconf
--trace 'AC_INIT:$1' configure.ac
`
17 if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
18 echo "*** WARNING: I am going to run \`configure
' with no arguments." >&2
19 echo "*** If you wish to pass any to it, please specify them on the" >&2
20 echo "*** \`$0\' command line." >&2
25 aclocal --install || exit 1
26 glib-gettextize --force --copy || exit 1
27 gtkdocize --copy || exit 1
28 intltoolize --force --copy --automake || exit 1
29 autoreconf --verbose --force --install -Wno-portability || exit 1
32 if [ "$NOCONFIGURE" = "" ]; then
33 $srcdir/configure "$@" || exit 1
35 if [ "$1" = "--help" ]; then
38 echo "Now type \`make\' to compile $PKG_NAME" || exit 1
41 echo "Skipping configure process."
44 { set +x; } 2>/dev/null