dnl look for modules in the base-directory supplied as argument.
-dnl fill-in the variable pointed-to by the second argument with the space-separated
-dnl list of modules
+dnl fill-in the variable pointed-to by the second argument with the
+dnl space-separated list of modules
AC_DEFUN([SQUID_LOOK_FOR_MODULES],[
for dir in $1/*; do
module="`basename $dir`"
AR_R="$AR r"
AC_SUBST(AR_R)
-
-dnl Make the squid top srcdir available to sub-packages as --with-squid=PATH
-ac_configure_args="$ac_configure_args --with-squid=$ac_abs_confdir"
-
squid_opt_enable_werror="yes" # default
AC_ARG_ENABLE(strict-error-checking,
AS_HELP_STRING([--disable-strict-error-checking],[By default squid is compiled
esac
done
-dnl TODO: FIXME What are those for? They seem to be never be defined. Kinkie
+dnl hack: need to define those even if not used in the build system to
+dnl make sure that global FS objects are linked to the squid binary.
AH_TEMPLATE(HAVE_FS_UFS, "Define to 1 if ufs filesystem module is build")
AH_TEMPLATE(HAVE_FS_AUFS, "Define to 1 if aufs filesystem module is build")
AH_TEMPLATE(HAVE_FS_DISKD, "Define to 1 if diskd filesystem module is build")