blob: 23af855ba02f153393a684386306eac696384566 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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
|