jfclere 2002/09/03 03:15:52
Modified: webapp/support wa_apr.m4
Log:
use --link-libtool instead of --apr-la-file:
--apr-la-file tests is the .la file exist and if not it returns " ".
Revision Changes Path
1.7 +5 -5 jakarta-tomcat-connectors/webapp/support/wa_apr.m4
Index: wa_apr.m4
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/support/wa_apr.m4,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- wa_apr.m4 30 Aug 2002 14:15:06 -0000 1.6
+++ wa_apr.m4 3 Sep 2002 10:15:52 -0000 1.7
@@ -133,9 +133,9 @@
if test ! -f "$2/apr-config" ; then
WA_ERROR([cannot find apr-config file in $2])
fi
- wa_apr_get_tempval=`$2/apr-config --apr-la-file 2> /dev/null`
+ wa_apr_get_tempval=`$2/apr-config --link-libtool 2> /dev/null`
if test -z "${wa_apr_get_tempval}" ; then
- WA_ERROR([$2/apr-config --apr-la-file failed])
+ WA_ERROR([$2/apr-config --link-libtool failed])
fi
wa_apr_get_tempval=`basename ${wa_apr_get_tempval} | sed 's/lib//g'`
wa_apr_get_tempval=`echo ${wa_apr_get_tempval} | sed 's/\.la//g'`
@@ -157,9 +157,9 @@
if test ! -f "$2/apr-config" ; then
WA_ERROR([cannot find apr-config file in $2])
fi
- wa_apr_get_tempval=`$2/apr-config --apr-la-file 2> /dev/null`
+ wa_apr_get_tempval=`$2/apr-config --link-libtool 2> /dev/null`
if test -z "${wa_apr_get_tempval}" ; then
- WA_ERROR([$2/apr-config --apr-la-file failed])
+ WA_ERROR([$2/apr-config --link-libtool failed])
fi
wa_apr_get_tempval=`basename ${wa_apr_get_tempval}`
WA_APPEND([$1],[${wa_apr_get_tempval}])
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>