aboutsummaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-srclib-apr-buildconf
blob: f8638d7f4634a1a5f018902872f3be98f1f1edb5 (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
--- srclib/apr/buildconf.orig	Tue Jun 14 14:11:15 2005
+++ srclib/apr/buildconf	Sun Sep 24 15:17:36 2006
@@ -23,7 +23,7 @@
 #
 build/buildcheck.sh || exit 1
 
-libtoolize=`build/PrintPath glibtoolize libtoolize15 libtoolize14 libtoolize`
+libtoolize="${LIBTOOLIZE}"
 if [ "x$libtoolize" = "x" ]; then
     echo "libtoolize not found in path"
     exit 1
@@ -52,7 +52,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
   
@@ -87,8 +87,11 @@
 # Remove autoconf 2.5x's cache directory
 rm -rf autom4te*.cache
 
+
+if [ "x${FULLBUILD}" = "xon" ] ; then
 echo "Generating 'make' outputs ..."
 build/gen-build.py make
+fi
 
 # Create RPM Spec file
 if [ -f `which cut` ]; then