blob: 6cc3bc97d84ed2f02f44af0a66f5277d7ea30a9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- srclib/apr/buildconf.orig 2009-11-12 17:19:49.000000000 -0500
+++ srclib/apr/buildconf 2010-04-30 19:22:40.116834529 -0400
@@ -28,7 +28,7 @@
#
build/buildcheck.sh $verbose || exit 1
-libtoolize=`build/PrintPath glibtoolize1 glibtoolize libtoolize15 libtoolize14 libtoolize`
+libtoolize="${LIBTOOLIZE}"
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
@@ -65,7 +65,7 @@
# Expecting the code above to be very portable, but just in case...
if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
ltpath=`dirname $libtoolize`
- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ ltfile=${LIBTOOL_M4}
fi
fi
@@ -76,6 +76,7 @@
echo "buildconf: Using libtool.m4 at ${ltfile}."
+chmod 664 build/libtool.m4
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
# libtool.m4 from 1.6 requires ltsugar.m4
@@ -100,8 +101,10 @@
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache
-echo "Generating 'make' outputs ..."
-build/gen-build.py $verbose make
+if [ "x${FULLBUILD}" = "xon" ] ; then
+ echo "Generating 'make' outputs ..."
+ build/gen-build.py $verbose make
+fi
# Create RPM Spec file
if [ -f `which cut` ]; then
|