summaryrefslogtreecommitdiff
path: root/www/php3/patches/patch-ah
blob: ebd064c57dd8ebb00c5c93b74b3dd8bc0e726a11 (plain)
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
$NetBSD: patch-ah,v 1.5 2000/04/25 16:53:04 bad Exp $

--- configure.orig	Wed Apr  5 01:32:58 2000
+++ configure	Tue Apr 25 18:15:31 2000
@@ -1624,7 +1624,7 @@
   ;;
   *)
   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib"
+  ac_dummy="$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib"
   for ac_dir in $ac_dummy; do 
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
@@ -4373,6 +4373,7 @@
 fi
 
 
+LDFLAGS_SHLIB_EXPORT=`perl -V:ccdlflags | cut -d\' -f2`
 
 echo $ac_n "checking for Apache module support via DSO through APXS""... $ac_c" 1>&6
 echo "configure:4379: checking for Apache module support via DSO through APXS" >&5
@@ -4395,7 +4396,7 @@
 	if test "a`$APXS -q LD_SHLIB`" = "a" || test "`$APXS -q LIBEXECDIR`" = "modules"; then
 		PHP_APXS_BROKEN=yes
 	fi
-    PHP_LIBS=-L/usr/local/lib
+    PHP_LIBS=-L${PREFIX}/lib
     STRONGHOLD=
     cat >> confdefs.h <<\EOF
 #define APACHE 1