blob: 2f05b63c5f85b0af7b397726d8070f20d63674f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ai,v 1.7 2005/04/25 09:13:14 adam Exp $
--- support/apxs.in.orig 2005-02-04 20:21:18.000000000 +0000
+++ support/apxs.in
@@ -338,9 +338,12 @@ if (! -x "$apu_bindir/apu-config") {
exit(1);
}
-my $libtool = `$apr_bindir/apr-config --installbuilddir`;
-chomp($libtool);
-$libtool = "$libtool/libtool";
+my $libtool = $ENV{'APR_LIBTOOL'};
+unless ($libtool) {
+ $libtool = `$apr_bindir/apr-config --installbuilddir`;
+ chomp($libtool);
+ $libtool = "$libtool/libtool";
+}
my $apr_includedir = `$apr_bindir/apr-config --includes`;
chomp($apr_includedir);
|