trawick 2004/06/11 08:00:21
Modified: build apr_hints.m4
Log:
Don't try to enable run-time linking on AIX < 4.2, as this
results in invalid linker options being used.
PR: 29170
Revision Changes Path
1.62 +7 -1 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- apr_hints.m4 19 May 2004 19:30:40 -0000 1.61
+++ apr_hints.m4 11 Jun 2004 15:00:21 -0000 1.62
@@ -63,7 +63,13 @@
fi
APR_SETIFNULL(apr_sysvsem_is_global, [yes])
APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
- APR_ADDTO(LDFLAGS, [-Wl,-brtl])
+ case $host in
+ *-ibm-aix3* | *-ibm-aix4.1.*)
+ ;;
+ *)
+ APR_ADDTO(LDFLAGS, [-Wl,-brtl])
+ ;;
+ esac
;;
*-apollo-*)
APR_ADDTO(CPPFLAGS, [-DAPOLLO])