blob: 0c3697458caef7298b095f3b6778bfaa1555df56 (
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 "$@"
echo
echo "Now type 'make' to compile $PROJECT."
else
echo "Now type './configure && make' to compile $PROJECT."
fi
|