Re: Bad example (harmful to HP/UX)
William A. Rowe, Jr. wrote: Attached is a simple patch to correct the jk_apxs detection macros. In every case we search for .so (.dylib) we should also consider the .sl files our HP/UX friends rely on. Done, thanks. Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bad example (harmful to HP/UX)
Attached is a simple patch to correct the jk_apxs detection macros. In every case we search for .so (.dylib) we should also consider the .sl files our HP/UX friends rely on. BillIndex: jk/support/jk_apxs.m4 === RCS file: /var/covalent/.CVS/apache-cvs/jakarta-tomcat-connectors-cvs/jk/support/jk_apxs.m4,v retrieving revision 1.16 diff -u -r1.16 jk_apxs.m4 --- jk/support/jk_apxs.m4 1 Apr 2004 07:08:20 - 1.16 +++ jk/support/jk_apxs.m4 27 Jan 2005 23:27:46 - @@ -101,11 +101,17 @@ APR_UTIL_INCDIR=-I`${APXS$1} -q APU_INCLUDEDIR` APACHE2_LIBDIR=`${APXS$1} -q LIBDIR` LIBTOOL=`${APXS$1} -q LIBTOOL` - if ${TEST} -f ${APACHE2_LIBDIR}/libapr-1.so -o -f ${APACHE2_LIBDIR}/libapr-1.dylib; then + if ${TEST} -f ${APACHE2_LIBDIR}/libapr-1.so \ + -o -f ${APACHE2_LIBDIR}/libapr-1.sl \ + -o -f ${APACHE2_LIBDIR}/libapr-1.dylib; then APR_LIBS=-L${APACHE2_LIBDIR} -lapr-1 - elif ${TEST} -f ${APACHE2_LIBDIR}/libapr-0.so -o -f ${APACHE2_LIBDIR}/libapr-0.dylib; then + elif ${TEST} -f ${APACHE2_LIBDIR}/libapr-0.so \ +-o -f ${APACHE2_LIBDIR}/libapr-0.sl \ +-o -f ${APACHE2_LIBDIR}/libapr-0.dylib; then APR_LIBS=-L${APACHE2_LIBDIR} -lapr-0 - elif ${TEST} -f ${APACHE2_LIBDIR}/libapr.so -o -f ${APACHE2_LIBDIR}/libapr.dylib; then + elif ${TEST} -f ${APACHE2_LIBDIR}/libapr.so \ +-o -f ${APACHE2_LIBDIR}/libapr.sl \ +-o -f ${APACHE2_LIBDIR}/libapr.dylib; then APR_LIBS=-L${APACHE2_LIBDIR} -lapr else AC_MSG_ERROR(can't locate libapr) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]