Squid Web Cache wiki

Squid Web Cache documentation

🔗 Autoconf Syntax Guidelines

The current standard for both –enable and –with flags is:

For –with flags, everything else is usually considered as a path to be used. Though in some cases is a global constant.

For –enable flags, may contain a list of the components modular pieces to be enabled. In which case:

🔗 Component Macros in Autoconf

Squid uses autoconf defined macros to eliminate experimental or optional components at build time.

:warning: In the event of a clash or potential clash with system variables tack SQUID_ after the above prefix. ie ENABLE_SQUID_ or USE_SQUID_

# For --enable-foo / --disable-foo

AC_CONDITIONAL([ENABLE_FOO],[test "x${enable_foo:=yes}" = "xyes"])

SQUID_DEFINE_BOOL(USE_FOO,${enable_foo:=no},[Whether to enable foo.])

DEFAULT_FOO_MAGIC="magic"
AC_SUBST(DEFAULT_FOO_MAGIC)
Navigation: Site Search, Site Pages, Categories, 🔼 go up