jean-frederic clere wrote: > Henri Gomez wrote: > >> [EMAIL PROTECTED] wrote: >> >>> jfclere 2002/09/12 03:33:45 >>> >>> Modified: jk/support jk_apxs.m4 >>> Log: >>> Prevent using --with-apxs2 with apache-1.3 and vice-versa(s). >>> Revision Changes Path >>> 1.5 +7 -1 jakarta-tomcat-connectors/jk/support/jk_apxs.m4 >>> Index: jk_apxs.m4 >>> =================================================================== >>> RCS file: /home/cvs/jakarta-tomcat-connectors/jk/support/jk_apxs.m4,v >>> retrieving revision 1.4 >>> retrieving revision 1.5 >>> diff -u -r1.4 -r1.5 >>> --- jk_apxs.m4 16 Jun 2002 20:41:33 -0000 1.4 >>> +++ jk_apxs.m4 12 Sep 2002 10:33:45 -0000 1.5 >>> @@ -119,11 +119,17 @@ >>> dnl check if we have an apxs for Apache 1.3 or 2.0 >>> if ${TEST} -z "$APA" ; then >>> + if ${TEST} ! -z "$1" ; then >>> + AC_MSG_ERROR(Do not use --with-apxs$1 but >>> --with-apxs) >>> + fi >>> WEBSERVERS="${WEBSERVERS} server/apache13" >>> RWEBSERVER="apache-1.3" >>> APXS$1_CFLAGS="`${APXS$1} -q CFLAGS`" >>> APXS$1_CPPFLAGS="" >>> else >>> + if ${TEST} -z "$1" ; then >>> + AC_MSG_ERROR(Do not use --with-apxs but --with-apxs2) >>> + fi >>> WEBSERVERS="${WEBSERVERS} server/apache2" >>> RWEBSERVER="apache-2.0" >>> APACHE2_CONFIG_VARS=${apache_dir}/build/config_vars.mk >>> >> >> >> >> Are you sure ? >> >> The goal was to set configure to be able to generate stuff for APXS >> and APXS2 the same time, to help build apache and apache2 on a single >> pass > > > Yes, but we should not allow to configure using --with-apxs when Apache > is 2.0 or we should do like in native: --with-apxs works for both 1.3 > and 2.0.
> The "fastest work-around" is to make sure the --with-apxs and with-apxs2 > are use only with their respective Apache version. And that what I am > doing. So we could still use --with-apxs and --with-apxs2 on the same command line ? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>