pkg-config/autogen.sh
Tollef Fog Heen 99964eddb5 Stop shipping an embedded glib
Drop the embedded glib, the associated patches and adjust build
scripts appropriately.
2011-04-13 20:16:23 +02:00

22 lines
501 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 --enable-maintainer-mode "$@"
echo
echo "Now type 'make' to compile $PROJECT."
else
echo "Now type './configure && make' to compile $PROJECT."
fi