pkg-config/autogen.sh
Dan Nicholson 5c2675eb81 Don't --enable-maintainer-mode from autogen.sh
Maintainer mode was removed some time ago, so setting it from autogen.sh
has no effect.
2012-05-14 14:51:25 -07:00

22 lines
476 B
Bash
Executable file

#!/bin/sh
# Run this to generate all the initial makefiles, etc.
PROJECT=pkg-config
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
# Rebuild the autotools for pkg-config
${AUTORECONF-autoreconf} -iv || exit $?
cd $ORIGDIR
if [ -z "$NOCONFIGURE" ] && [ "$1" != --no-configure ]; then
"$srcdir"/configure "$@"
echo
echo "Now type 'make' to compile $PROJECT."
else
echo "Now type './configure && make' to compile $PROJECT."
fi