2 dnl APACHE_HELP_STRING(LHS, RHS)
3 dnl Autoconf 2.50 can not handle substr correctly. It does have
4 dnl AC_HELP_STRING, so let's try to call it if we can.
5 dnl Note: this define must be on one line so that it can be properly returned
6 dnl as the help string.
7 AC_DEFUN(APACHE_HELP_STRING,[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING($1,$2),[ ]$1 substr([ ],len($1))$2)])dnl
9 dnl APACHE_SUBST(VARIABLE)
10 dnl Makes VARIABLE available in generated files
11 dnl (do not use @variable@ in Makefiles, but $(variable))
12 AC_DEFUN(APACHE_SUBST,[
13 APACHE_VAR_SUBST="$APACHE_VAR_SUBST $1"
17 dnl APACHE_FAST_OUTPUT(FILENAME)
18 dnl Perform substitutions on FILENAME (Makefiles only)
19 AC_DEFUN(APACHE_FAST_OUTPUT,[
20 APACHE_FAST_OUTPUT_FILES="$APACHE_FAST_OUTPUT_FILES $1"
23 dnl APACHE_MKDIR_P_CHECK
24 dnl checks whether mkdir -p works
25 AC_DEFUN(APACHE_MKDIR_P_CHECK,[
26 AC_CACHE_CHECK(for working mkdir -p, ac_cv_mkdir_p,[
27 test -d conftestdir && rm -rf conftestdir
28 mkdir -p conftestdir/somedir >/dev/null 2>&1
29 if test -d conftestdir/somedir; then
38 dnl APACHE_GEN_CONFIG_VARS
39 dnl Creates config_vars.mk
40 AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
41 APACHE_SUBST(abs_srcdir)
45 APACHE_SUBST(logfiledir)
46 APACHE_SUBST(exec_prefix)
48 APACHE_SUBST(localstatedir)
51 APACHE_SUBST(libexecdir)
52 APACHE_SUBST(htdocsdir)
53 APACHE_SUBST(manualdir)
54 APACHE_SUBST(includedir)
55 APACHE_SUBST(errordir)
56 APACHE_SUBST(iconsdir)
57 APACHE_SUBST(sysconfdir)
58 APACHE_SUBST(installbuilddir)
59 APACHE_SUBST(runtimedir)
60 APACHE_SUBST(proxycachedir)
61 APACHE_SUBST(other_targets)
62 APACHE_SUBST(progname)
68 APACHE_SUBST(CPPFLAGS)
70 APACHE_SUBST(CXXFLAGS)
73 APACHE_SUBST(LT_LDFLAGS)
74 APACHE_SUBST(SH_LDFLAGS)
75 APACHE_SUBST(HTTPD_LDFLAGS)
76 APACHE_SUBST(UTIL_LDFLAGS)
79 APACHE_SUBST(INCLUDES)
80 APACHE_SUBST(NOTEST_CPPFLAGS)
81 APACHE_SUBST(NOTEST_CFLAGS)
82 APACHE_SUBST(NOTEST_CXXFLAGS)
83 APACHE_SUBST(NOTEST_LDFLAGS)
84 APACHE_SUBST(NOTEST_LIBS)
85 APACHE_SUBST(EXTRA_CPPFLAGS)
86 APACHE_SUBST(EXTRA_CFLAGS)
87 APACHE_SUBST(EXTRA_CXXFLAGS)
88 APACHE_SUBST(EXTRA_LDFLAGS)
89 APACHE_SUBST(EXTRA_LIBS)
90 APACHE_SUBST(EXTRA_INCLUDES)
93 APACHE_SUBST(MODULE_DIRS)
94 APACHE_SUBST(MODULE_CLEANDIRS)
96 APACHE_SUBST(CORE_IMPLIB_FILE)
97 APACHE_SUBST(CORE_IMPLIB)
99 APACHE_SUBST(SH_LIBTOOL)
100 APACHE_SUBST(MK_IMPLIB)
101 APACHE_SUBST(INSTALL_PROG_FLAGS)
102 APACHE_SUBST(DSO_MODULES)
104 abs_srcdir="`(cd $srcdir && pwd)`"
107 echo creating config_vars.mk
108 if test "$ac_cv_mkdir_p" = "yes"; then
111 mkdir_p="$top_srcdir/build/mkdir.sh"
113 test -d build || $mkdir_p build
114 > build/config_vars.mk
115 for i in $APACHE_VAR_SUBST; do
116 eval echo "$i = \$$i" >> build/config_vars.mk
120 dnl APACHE_GEN_MAKEFILES
121 dnl Creates Makefiles
122 AC_DEFUN(APACHE_GEN_MAKEFILES,[
123 $SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $BSD_MAKEFILE $APACHE_FAST_OUTPUT_FILES
126 dnl ## APACHE_OUTPUT(file)
127 dnl ## adds "file" to the list of files generated by AC_OUTPUT
128 dnl ## This macro can be used several times.
129 AC_DEFUN(APACHE_OUTPUT, [
130 APACHE_OUTPUT_FILES="$APACHE_OUTPUT_FILES $1"
134 dnl APACHE_TYPE_RLIM_T
136 dnl If rlim_t is not defined, define it to int
138 AC_DEFUN(APACHE_TYPE_RLIM_T, [
139 AC_CACHE_CHECK([for rlim_t], ac_cv_type_rlim_t, [
141 #include <sys/types.h>
142 #include <sys/time.h>
143 #include <sys/resource.h>
144 ], [rlim_t spoon;], [
145 ac_cv_type_rlim_t=yes
146 ],[ac_cv_type_rlim_t=no
149 if test "$ac_cv_type_rlim_t" = "no" ; then
150 AC_DEFINE(rlim_t, int,
151 [Define to 'int' if <sys/resource.h> doesn't define it for us])
155 dnl APACHE_MODPATH_INIT(modpath)
156 AC_DEFUN(APACHE_MODPATH_INIT,[
158 modpath_current=modules/$1
161 test -d $1 || $srcdir/build/mkdir.sh $modpath_current
162 > $modpath_current/modules.mk
165 AC_DEFUN(APACHE_MODPATH_FINISH,[
166 echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
167 echo "static = $modpath_static" >> $modpath_current/modules.mk
168 echo "shared = $modpath_shared" >> $modpath_current/modules.mk
169 if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
170 MODULE_DIRS="$MODULE_DIRS $current_dir"
172 MODULE_CLEANDIRS="$MODULE_CLEANDIRS $current_dir"
174 APACHE_FAST_OUTPUT($modpath_current/Makefile)
177 dnl APACHE_MODPATH_ADD(name[, shared[, objects [, ldflags[, libs]]]])
178 AC_DEFUN(APACHE_MODPATH_ADD,[
179 if test -z "$3"; then
185 if test -z "$module_standalone"; then
186 if test -z "$2"; then
188 BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
189 modpath_static="$modpath_static $libname"
190 cat >>$modpath_current/modules.mk<<EOF
192 \$(MOD_LINK) $objects
195 apache_need_shared=yes
197 shobjects=`echo $objects | sed 's/\.lo/.slo/g'`
198 modpath_shared="$modpath_shared $libname"
199 cat >>$modpath_current/modules.mk<<EOF
201 \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $4 $objects $5
208 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
210 dnl default is one of:
211 dnl yes -- enabled by default. user must explicitly disable.
212 dnl no -- disabled under default, most, all. user must explicitly enable.
213 dnl most -- disabled by default. enabled explicitly or with most or all.
214 dnl static -- enabled as static by default, must be explicitly changed.
215 dnl "" -- disabled under default, most. enabled explicitly or with all.
217 dnl basically: yes/no is a hard setting. "most" means follow the "most"
218 dnl setting. otherwise, fall under the "all" setting.
219 dnl explicit yes/no always overrides.
221 AC_DEFUN(APACHE_MODULE,[
222 AC_MSG_CHECKING(whether to enable mod_$1)
223 define([optname],[--]ifelse($5,yes,disable,enable)[-]translit($1,_,-))dnl
224 AC_ARG_ENABLE(translit($1,_,-),APACHE_HELP_STRING(optname(),$2),,enable_$1=ifelse($5,,maybe-all,$5))
225 undefine([optname])dnl
227 dnl When --enable-modules=most is set and the module was not explicitly
228 dnl requested, allow a module to disable itself if its pre-reqs fail.
229 if test "$module_selection" = "most" -a "$enable_$1" = "most"; then
230 _apmod_error_fatal="no"
232 _apmod_error_fatal="yes"
234 if test "$enable_$1" = "static"; then
236 elif test "$enable_$1" = "yes"; then
237 enable_$1=$module_default
238 _apmod_extra_msg=" ($module_selection)"
239 elif test "$enable_$1" = "most"; then
240 if test "$module_selection" = "most" -o "$module_selection" = "all"; then
241 enable_$1=$module_default
242 _apmod_extra_msg=" ($module_selection)"
243 elif test "$enable_$1" != "yes"; then
246 elif test "$enable_$1" = "maybe-all"; then
247 if test "$module_selection" = "all"; then
248 enable_$1=$module_default
249 _apmod_extra_msg=" (all)"
254 if test "$enable_$1" != "no"; then
255 dnl If we plan to enable it, allow the module to run some autoconf magic
256 dnl that may disable it because of missing dependencies.
257 ifelse([$6],,:,[AC_MSG_RESULT([checking dependencies])
259 AC_MSG_CHECKING(whether to enable mod_$1)
260 if test "$enable_$1" = "no"; then
261 if test "$_apmod_error_fatal" = "no"; then
262 _apmod_extra_msg=" (disabled)"
264 AC_MSG_ERROR([mod_$1 has been requested but can not be built due to prerequisite failures])
268 AC_MSG_RESULT($enable_$1$_apmod_extra_msg)
269 if test "$enable_$1" != "no"; then
272 enable_$1=`echo $ac_n $enable_$1$ac_c|sed 's/shared,*//'`
275 DSO_MODULES="$DSO_MODULES $1"
278 MODLIST="$MODLIST ifelse($4,,$1,$4)"
279 if test "$1" = "so"; then
284 APACHE_MODPATH_ADD($1, $shared, $3)
289 dnl APACHE_LAYOUT_DEFAULTS
291 AC_DEFUN(APACHE_LAYOUT_DEFAULTS,[
292 dnl Apache defaults for autoconf variables.
293 test "x${prefix}" = "xNONE" && prefix='/usr/local/apache2'
294 test "x${exec_prefix}" = "xNONE" && exec_prefix='${prefix}'
295 dnl Now we need to check the non-autoconf variables.
296 test "x${cgidir}" = "x" && cgidir='${datadir}/cgi-bin'
297 test "x${logfiledir}" = "x" && logfiledir='${localstatedir}/logs'
298 test "x${htdocsdir}" = "x" && htdocsdir='${datadir}/htdocs'
299 test "x${manualdir}" = "x" && manualdir='${datadir}/manual'
300 test "x${errordir}" = "x" && errordir='${datadir}/error'
301 test "x${iconsdir}" = "x" && iconsdir='${datadir}/icons'
302 test "x${installbuilddir}" = "x" && installbuilddir='${datadir}/build'
303 test "x${runtimedir}" = "x" && runtimedir='${localstatedir}/logs'
304 test "x${proxycachedir}" = "x" && proxycachedir='${localstatedir}/proxy'
308 dnl APACHE_LAYOUT(configlayout, layoutname)
310 AC_DEFUN(APACHE_LAYOUT,[
311 if test ! -f $srcdir/config.layout; then
312 echo "** Error: Layout file $srcdir/config.layout not found"
313 echo "** Error: Cannot use undefined layout '$LAYOUT'"
318 sed -e "1,/[ ]*<[lL]ayout[ ]*$2[ ]*>[ ]*/d" \
319 -e '/[ ]*<\/Layout>[ ]*/,$d' \
327 for var in prefix exec_prefix bindir sbindir libexecdir mandir \
328 sysconfdir datadir errordir iconsdir htdocsdir cgidir \
329 includedir localstatedir runtimedir logfiledir libdir \
330 manualdir proxycachedir installbuilddir; do
331 eval "val=\"\$$var\""
334 val=`echo $val | sed -e 's;\+$;;'`
335 eval "$var=\"\$val\""
342 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
343 val=`echo $val | sed -e 's:[\$]\([a-z_]*\):${\1}:g'`
344 if test "$autosuffix" = "yes"; then
345 if echo $val | grep apache >/dev/null; then
350 if test "$addtarget" = "yes"; then
360 dnl APACHE_ENABLE_LAYOUT
362 AC_DEFUN(APACHE_ENABLE_LAYOUT,[
363 AC_ARG_ENABLE(layout,
364 [ --enable-layout=LAYOUT],[
368 if test -z "$LAYOUT"; then
371 APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
373 AC_MSG_CHECKING(for chosen layout)
374 AC_MSG_RESULT($layout_name)
378 dnl APACHE_ENABLE_MODULES
380 AC_DEFUN(APACHE_ENABLE_MODULES,[
381 module_selection=default
384 AC_ARG_ENABLE(modules,
385 APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Modules to enable),[
386 for i in $enableval; do
387 if test "$i" = "all" -o "$i" = "most"; then
395 AC_ARG_ENABLE(mods-shared,
396 APACHE_HELP_STRING(--enable-mods-shared=MODULE-LIST,Shared modules to enable),[
397 for i in $enableval; do
398 if test "$i" = "all" -o "$i" = "most"; then
400 module_default=shared
402 i=`echo $i | sed 's/-/_/g'`
403 eval "enable_$i=shared"
409 AC_DEFUN(APACHE_REQUIRE_CXX,[
410 if test -z "$apache_cxx_done"; then
418 dnl APACHE_CHECK_SSL_TOOLKIT
420 dnl Find the openssl toolkit installation and check it for the right
421 dnl version, then add its flags to INCLUDES and LIBS. This should
422 dnl really be using a custom AC_TRY_COMPILE function to test the includes
423 dnl and then AC_TRY_LINK to test the libraries directly for the version,
424 dnl but that will require someone who knows how to program openssl.
426 AC_DEFUN(APACHE_CHECK_SSL_TOOLKIT,[
427 if test "x$ap_ssltk_base" = "x"; then
428 AC_MSG_CHECKING(for SSL/TLS toolkit base)
430 AC_ARG_WITH(ssl, APACHE_HELP_STRING(--with-ssl=DIR,SSL/TLS toolkit (OpenSSL)), [
431 if test "x$withval" != "xyes" -a "x$withval" != "x"; then
432 ap_ssltk_base="$withval"
435 if test "x$ap_ssltk_base" = "x"; then
436 AC_CACHE_VAL(ap_cv_ssltk,[
438 # shotgun approach: find all occurrences of the openssl program
441 # The IFS=... trick eliminates the colons from $PATH, without using an external program
442 for p in `IFS=":$IFS"; echo $PATH` /usr/local/openssl/bin /usr/local/ssl/bin; do
443 if test -f "$p/openssl"; then
444 ap_ssltk_try="$ap_ssltk_try $p"
447 if test "x$ap_ssltk_try" = "x"; then
448 AC_MSG_ERROR(['openssl' not found in path])
450 for p in $ap_ssltk_try; do
451 ap_ssltk_version="`$p/openssl version`"
452 case "$ap_ssltk_version" in
453 "OpenSSL "[[1-9]]* | \
454 "OpenSSL "0.9.[[6-9]]* | \
455 "OpenSSL "0.[[1-9]][[0-9]]* )
456 ap_cv_ssltk="`(cd $p/.. && pwd)`"
460 # skip because it is too old or a bad result
464 if test "x$ap_cv_ssltk" = "x"; then
465 AC_MSG_ERROR([requires OpenSSL 0.9.6 or higher])
468 ap_ssltk_base="$ap_cv_ssltk"
470 if test ! -d $ap_ssltk_base; then
471 AC_MSG_ERROR([invalid SSL/TLS toolkit base directory $ap_ssltk_base])
473 AC_MSG_RESULT($ap_ssltk_base)
475 AC_MSG_CHECKING(for SSL/TLS toolkit version)
476 AC_MSG_RESULT($ap_ssltk_version)
478 AC_MSG_CHECKING(for SSL/TLS toolkit includes)
480 for p in $ap_ssltk_base/include /usr/local/openssl/include \
481 /usr/local/ssl/include /usr/local/include /usr/include; do
482 if test -f "$p/openssl/ssl.h"; then
485 elif test -f "$p/ssl.h"; then
490 if test "x$ap_ssltk_incdir" = "x"; then
491 AC_MSG_ERROR([OpenSSL headers not found])
493 AC_MSG_RESULT($ap_ssltk_incdir)
495 AC_MSG_CHECKING(for SSL/TLS toolkit libraries)
497 for p in $ap_ssltk_base/lib /usr/local/openssl/lib \
498 /usr/local/ssl/lib /usr/local/lib /usr/lib /lib; do
499 if test -f "$p/libssl.a" -o -f "$p/libssl.so"; then
504 if test ".$ap_ssltk_libdir" = .; then
505 AC_MSG_ERROR([OpenSSL libraries not found])
507 AC_MSG_RESULT($ap_ssltk_libdir)
509 dnl # annotate the Apache build environment with determined information
510 APR_ADDTO(INCLUDES, [-I$ap_ssltk_incdir/openssl])
511 if test "x$ap_ssltk_incdir" != "x/usr/include"; then
512 APR_ADDTO(INCLUDES, [-I$ap_ssltk_incdir])
514 if test "x$ap_ssltk_libdir" != "x/usr/lib"; then
515 APR_ADDTO(LDFLAGS, [-L$ap_ssltk_libdir])
516 if test "x$ap_platform_runtime_link_flag" != "x"; then
517 APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag$ap_ssltk_libdir])
520 APR_ADDTO(LIBS, [-lssl -lcrypto])
521 ap_cv_ssltk="$ap_ssltk_base"
526 dnl APACHE_PARSE_ARGUMENTS
527 dnl a reimplementation of autoconf's argument parser,
528 dnl used here to allow us to co-exist layouts and argument based
530 AC_DEFUN(APACHE_PARSE_ARGUMENTS,[
534 # If the previous option needs an argument, assign it.
535 if test -n "$ac_prev"; then
536 eval "$ac_prev=\$ac_option"
541 ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
545 -bindir | --bindir | --bindi | --bind | --bin | --bi)
547 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
548 bindir="$ac_optarg" ;;
550 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
552 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
554 datadir="$ac_optarg" ;;
556 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
557 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
558 | --exec | --exe | --ex)
559 ac_prev=exec_prefix ;;
560 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
561 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
562 | --exec=* | --exe=* | --ex=*)
563 exec_prefix="$ac_optarg" ;;
565 -includedir | --includedir | --includedi | --included | --include \
566 | --includ | --inclu | --incl | --inc)
567 ac_prev=includedir ;;
568 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
569 | --includ=* | --inclu=* | --incl=* | --inc=*)
570 includedir="$ac_optarg" ;;
572 -infodir | --infodir | --infodi | --infod | --info | --inf)
574 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
575 infodir="$ac_optarg" ;;
577 -libdir | --libdir | --libdi | --libd)
579 -libdir=* | --libdir=* | --libdi=* | --libd=*)
580 libdir="$ac_optarg" ;;
582 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
583 | --libexe | --libex | --libe)
584 ac_prev=libexecdir ;;
585 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
586 | --libexe=* | --libex=* | --libe=*)
587 libexecdir="$ac_optarg" ;;
589 -localstatedir | --localstatedir | --localstatedi | --localstated \
590 | --localstate | --localstat | --localsta | --localst \
591 | --locals | --local | --loca | --loc | --lo)
592 ac_prev=localstatedir ;;
593 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
594 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
595 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
596 localstatedir="$ac_optarg" ;;
598 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
600 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
601 mandir="$ac_optarg" ;;
603 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
605 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
606 prefix="$ac_optarg" ;;
608 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
610 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
612 sbindir="$ac_optarg" ;;
614 -sharedstatedir | --sharedstatedir | --sharedstatedi \
615 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
616 | --sharedst | --shareds | --shared | --share | --shar \
618 ac_prev=sharedstatedir ;;
619 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
620 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
621 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
623 sharedstatedir="$ac_optarg" ;;
625 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
626 | --syscon | --sysco | --sysc | --sys | --sy)
627 ac_prev=sysconfdir ;;
628 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
629 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
630 sysconfdir="$ac_optarg" ;;
635 # Be sure to have absolute paths.
636 for ac_var in exec_prefix prefix
638 eval ac_val=$`echo $ac_var`
640 [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
641 *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
648 dnl APACHE_EXPORT_ARGUMENTS
649 dnl Export (via APACHE_SUBST) the various path-related variables that
650 dnl apache will use while generating scripts like autoconf and apxs and
651 dnl the default config file.
653 AC_DEFUN(APACHE_SUBST_EXPANDED_ARG,[
654 APR_EXPAND_VAR(exp_$1, [$]$1)
656 APR_PATH_RELATIVE(rel_$1, [$]exp_$1, ${prefix})
660 AC_DEFUN(APACHE_EXPORT_ARGUMENTS,[
661 APACHE_SUBST_EXPANDED_ARG(exec_prefix)
662 APACHE_SUBST_EXPANDED_ARG(bindir)
663 APACHE_SUBST_EXPANDED_ARG(sbindir)
664 APACHE_SUBST_EXPANDED_ARG(libdir)
665 APACHE_SUBST_EXPANDED_ARG(libexecdir)
666 APACHE_SUBST_EXPANDED_ARG(mandir)
667 APACHE_SUBST_EXPANDED_ARG(sysconfdir)
668 APACHE_SUBST_EXPANDED_ARG(datadir)
669 APACHE_SUBST_EXPANDED_ARG(installbuilddir)
670 APACHE_SUBST_EXPANDED_ARG(errordir)
671 APACHE_SUBST_EXPANDED_ARG(iconsdir)
672 APACHE_SUBST_EXPANDED_ARG(htdocsdir)
673 APACHE_SUBST_EXPANDED_ARG(manualdir)
674 APACHE_SUBST_EXPANDED_ARG(cgidir)
675 APACHE_SUBST_EXPANDED_ARG(includedir)
676 APACHE_SUBST_EXPANDED_ARG(localstatedir)
677 APACHE_SUBST_EXPANDED_ARG(runtimedir)
678 APACHE_SUBST_EXPANDED_ARG(logfiledir)
679 APACHE_SUBST_EXPANDED_ARG(proxycachedir)