You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Victor J. Orlikowski" <vj...@raleigh.ibm.com> on 2000/06/23 18:28:02 UTC

[PATCH] Sascha's Suggestion to the AIX detection patch

Index: src/lib/apr/hints.m4
===================================================================
RCS file: /cvs/apache/apache-2.0/src/lib/apr/hints.m4,v
retrieving revision 1.10
diff -u -r1.10 hints.m4
--- hints.m4 2000/06/03 15:56:00 1.10
+++ hints.m4 2000/06/23 16:27:03
@@ -78,27 +78,38 @@
  APR_SETIFNULL(LDFLAGS, [-s])
  ;;
     i386-ibm-aix*)
- APR_SETIFNULL(CFLAGS, [-DAIX=1 -U__STR__ -DUSEBCOPY])
+ APR_SETIFNULL(CFLAGS, [-U__STR__ -DUSEBCOPY])
  ;;
     *-ibm-aix[1-2].*)
- APR_SETIFNULL(CFLAGS, [-DAIX=1 -DNEED_RLIM_T -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-DNEED_RLIM_T -U__STR__])
  ;;
     *-ibm-aix3.*)
- APR_SETIFNULL(CFLAGS, [-DAIX=30 -DNEED_RLIM_T -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-DNEED_RLIM_T -U__STR__])
  ;;
     *-ibm-aix4.1)
- APR_SETIFNULL(CFLAGS, [-DAIX=41 -DNEED_RLIM_T -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-DNEED_RLIM_T -U__STR__])
  ;;
+    *-ibm-aix4.1.*)
+        APR_SETIFNULL(CFLAGS, [-DNEED_RLIM_T -U__STR__])
+        ;;
     *-ibm-aix4.2)
- APR_SETIFNULL(CFLAGS, [-DAIX=42 -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-U__STR__])
  APR_SETIFNULL(LDFLAGS, [-lm])
  ;;
+    *-ibm-aix4.2.*)
+        APR_SETIFNULL(CFLAGS, [-U__STR__])
+        APR_SETIFNULL(LDFLAGS, [-lm])
+        ;;
     *-ibm-aix4.3)
- APR_SETIFNULL(CFLAGS, [-DAIX=43 -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-D_USE_IRS -U__STR__])
  APR_SETIFNULL(LDFLAGS, [-lm])
  ;;
+    *-ibm-aix4.3.*)
+        APR_SETIFNULL(CFLAGS, [-D_USE_IRS -U__STR__])
+        APR_SETIFNULL(LDFLAGS, [-lm])
+        ;;
     *-ibm-aix*)
- APR_SETIFNULL(CFLAGS, [-DAIX=1 -U__STR__])
+ APR_SETIFNULL(CFLAGS, [-U__STR__])
  APR_SETIFNULL(LDFLAGS, [-lm])
  ;;
     *-apollo-*)