httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <v.j.orlikow...@gte.net>
Subject [PATCH] Repairing of hints.m4
Date Mon, 09 Oct 2000 18:02:43 GMT
Someone decided to be unkind, and remove the definition of $PLAT.
$host works just as well though, so we play with that instead.....
Of course, the Right Thing To Do may be just to bring $PLAT back ...

Index: src/lib/apr/hints.m4
===================================================================
RCS file: /cvs/apache/apache-2.0/src/lib/apr/hints.m4,v
retrieving revision 1.19
diff -u -d -b -r1.19 hints.m4
--- hints.m4	2000/10/05 04:41:46	1.19
+++ hints.m4	2000/10/09 17:53:41
@@ -86,7 +86,7 @@
 	APR_SETVAR(APACHE_MPM, [prefork])
 	;;
     *-ibm-aix*)
-        case $PLAT in
+        case $host in
         i386-ibm-aix*)
 	    APR_SETIFNULL(CFLAGS, [-U__STR__ -DUSEBCOPY])
 	    ;;
@@ -150,7 +150,7 @@
 	;;
     *-hp-hpux10.*)
 	APR_SETIFNULL(CFLAGS, [-DHPUX10])
- 	case $PLAT in
+ 	case $host in
  	  *-hp-hpux10.01)
 dnl	       # We know this is a problem in 10.01.
 dnl	       # Not a problem in 10.20.  Otherwise, who knows?
@@ -185,7 +185,7 @@
 	APR_SETIFNULL(LIBS, [-lcrypt])
 	;;
     *-freebsd*)
-	case $PLAT in
+	case $host in
 	    *freebsd[2345]*)
 		APR_SETIFNULL(CFLAGS, [-funsigned-char])
 		;;
@@ -239,7 +239,7 @@
 	APR_SETIFNULL(LIBS, [-lPW -lsocket -lmalloc -lcrypt_i])
 	;;
     *-solaris2*)
-    	PLATOSVERS=`echo $PLAT | sed 's/^.*solaris2.//'`
+    	PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'`
 	APR_SETIFNULL(CFLAGS, [-DSOLARIS2=$PLATOSVERS])
 	APR_SETIFNULL(LIBS, [-lsocket -lnsl])
 	;;
@@ -311,7 +311,7 @@
 	APR_SETIFNULL(LIBS, [-lPW])
 	;;
     *-uts*)
-	PLATOSVERS=`echo $PLAT | sed 's/^.*,//'`
+	PLATOSVERS=`echo $host | sed 's/^.*,//'`
 	case $PLATOSVERS in
 	    2*) APR_SETIFNULL(CFLAGS, [-Xa -eft -DUTS21 -DUSEBCOPY])
 	        APR_SETIFNULL(LIBS, [-lsocket -lbsd -la])

-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
vjo@raleigh.ibm.com
vjo@us.ibm.com


Mime
View raw message