DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30559>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30559 Feature Request: "apxs -q DATADIR" ------- Additional Comments From [EMAIL PROTECTED] 2004-09-17 13:59 ------- I didn't mean DocumentRoot, I meant what the Apache configure script calls 'datadir'. ./configure --help .... --datadir=DIR read-only architecture-independent data [PREFIX/share] .... Some Apache modules call this "top_builddir" in their Makefiles - so the module's Makefile can do: include ${top_builddir}/build/special.mk I can script the automatic build of such modules: INCLUDES=`${APXS} -q INCLUDEDIR` $MAKE top_dir=${APACHE2DIR} top_builddir=${DATADIR} INCLUDES=-I${INCLUDES} APXS=${APXS} but I have to hard-code DATADIR. It struck me that apxs knows exactly where "datadir" is - because line 35 reads: my $datadir = get_vars("datadir"); but there's no switch to report back to the user on its value. It would just have saved me hard-coding the value on a per-platform basis. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
