Squid-3 coding guidelines mandate that AM_CONDITIONAL variables begin
with ENABLE_* and AC_DEFINE macros begin with USE_* to resolve confusion
over which is relevant.
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc helpers src test-suite tools
SUBDIRS = compat lib
-if USE_LOADABLE_MODULES
+if ENABLE_LOADABLE_MODULES
SUBDIRS += libltdl
endif
SUBDIRS += scripts icons errors doc helpers src tools test-suite
SQUID_YESNO([$enableval],
[Unrecognized argument to --disable-loadable-modules: $enableval])
])
-AM_CONDITIONAL(USE_LOADABLE_MODULES, test "x${enable_loadable_modules:=yes}" = "xyes")
+AM_CONDITIONAL(ENABLE_LOADABLE_MODULES, test "x${enable_loadable_modules:=yes}" = "xyes")
AC_MSG_RESULT([$enable_loadable_modules])
if test "x$enable_loadable_modules" = "xyes";
## Loadable Modules requires LTDL include paths.
## Because we need this to use the libray linking headers...
-if USE_LOADABLE_MODULES
+if ENABLE_LOADABLE_MODULES
INCLUDES += $(INCLTDL)
endif
ipc/libipc.la \
mgr/libmgr.la
-if USE_LOADABLE_MODULES
+if ENABLE_LOADABLE_MODULES
squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
squid_LDADD += -L$(top_builddir) $(LIBLTDL)
squid_LDFLAGS = -export-dynamic -dlopen force