100 |
dnl Use option --without-guile to NOT compile Guile support. |
dnl Use option --without-guile to NOT compile Guile support. |
101 |
AC_ARG_WITH([guile], |
AC_ARG_WITH([guile], |
102 |
AC_HELP_STRING([--without-guile], |
AC_HELP_STRING([--without-guile], |
103 |
[without Guile support]), |
[without Guile support]), |
104 |
[ |
[ |
105 |
case "${withval}" in |
case "${withval}" in |
106 |
yes) useguile=yes ;; |
yes) useguile=yes ;; |
133 |
dnl Use option --without-gpgme to NOT compile GnuPG (GPGME library) support. |
dnl Use option --without-gpgme to NOT compile GnuPG (GPGME library) support. |
134 |
AC_SUBST(ANUBIS_GPGFILES) |
AC_SUBST(ANUBIS_GPGFILES) |
135 |
AC_ARG_WITH(gpgme, |
AC_ARG_WITH(gpgme, |
136 |
[ --without-gpgme without GnuPG (GPGME library) support], |
AC_HELP_STRING([--without-gpgme], |
137 |
|
[without GnuPG (GPGME library) support]), |
138 |
[with_gpgme=no], |
[with_gpgme=no], |
139 |
[with_gpgme=yes]) |
[with_gpgme=yes]) |
140 |
if test "$with_gpgme" = "no"; then |
if test "$with_gpgme" = "no"; then |
170 |
|
|
171 |
dnl Use option --without-gnutls to NOT compile GnuTLS library support. |
dnl Use option --without-gnutls to NOT compile GnuTLS library support. |
172 |
AC_ARG_WITH(gnutls, |
AC_ARG_WITH(gnutls, |
173 |
[ --without-gnutls without GnuTLS library support], |
AC_HELP_STRING([--without-gnutls], |
174 |
|
[without GnuTLS library support]), |
175 |
[with_gnutls=${withval}], |
[with_gnutls=${withval}], |
176 |
[with_gnutls=yes]) |
[with_gnutls=yes]) |
177 |
|
|
178 |
dnl Use option --with-openssl to compile OpenSSL support. |
dnl Use option --with-openssl to compile OpenSSL support. |
179 |
AC_ARG_WITH(openssl, |
AC_ARG_WITH(openssl, |
180 |
[ --with-openssl with OpenSSL library support (disable GnuTLS)], |
AC_HELP_STRING([--with-openssl], |
181 |
|
[with OpenSSL library support (disable GnuTLS)]), |
182 |
[with_openssl=${withval}], |
[with_openssl=${withval}], |
183 |
[with_openssl=no]) |
[with_openssl=no]) |
184 |
|
|
245 |
|
|
246 |
dnl Use option --with-pcre to compile PCRE library support. |
dnl Use option --with-pcre to compile PCRE library support. |
247 |
AC_ARG_WITH(pcre, |
AC_ARG_WITH(pcre, |
248 |
[ --with-pcre with PCRE library support], |
AC_HELP_STRING([--with-pcre], |
249 |
|
[with PCRE library support]), |
250 |
[with_pcre=yes], |
[with_pcre=yes], |
251 |
[with_pcre=no]) |
[with_pcre=no]) |
252 |
if test "$with_pcre" = "yes"; then |
if test "$with_pcre" = "yes"; then |
257 |
|
|
258 |
dnl Use option --with-pam to compile PAM support. |
dnl Use option --with-pam to compile PAM support. |
259 |
AC_ARG_WITH(pam, |
AC_ARG_WITH(pam, |
260 |
[ --with-pam with Pluggable Authentication Modules support], |
AC_HELP_STRING([--with-pam], |
261 |
|
[with Pluggable Authentication Modules support]), |
262 |
[with_pam=yes], |
[with_pam=yes], |
263 |
[with_pam=no]) |
[with_pam=no]) |
264 |
if test "$with_pam" = "yes"; then |
if test "$with_pam" = "yes"; then |
270 |
|
|
271 |
dnl Use option --with-tcp-wrappers to compile libwrap library support. |
dnl Use option --with-tcp-wrappers to compile libwrap library support. |
272 |
AC_ARG_WITH(tcp-wrappers, |
AC_ARG_WITH(tcp-wrappers, |
273 |
[ --with-tcp-wrappers with libwrap (TCP wrappers) support], |
AC_HELP_STRING([--with-tcp-wrappers], |
274 |
|
[with libwrap (TCP wrappers) support]), |
275 |
[with_tcp_wrappers=yes], |
[with_tcp_wrappers=yes], |
276 |
[with_tcp_wrappers=no]) |
[with_tcp_wrappers=no]) |
277 |
if test "$with_tcp_wrappers" = "yes"; then |
if test "$with_tcp_wrappers" = "yes"; then |
281 |
AC_MSG_RESULT([Enabling libwrap (TCP wrappers) support...]) |
AC_MSG_RESULT([Enabling libwrap (TCP wrappers) support...]) |
282 |
fi |
fi |
283 |
|
|
284 |
|
dnl Use option --with-unprivileged-user |
285 |
|
AC_ARG_WITH(unprivileged-user, |
286 |
|
AC_HELP_STRING([--with-unprivileged-user=USER], |
287 |
|
[set an unprivileged user (default is "nobody")])) |
288 |
|
if test -z "$with_unprivileged_user"; then |
289 |
|
with_unprivileged_user="nobody" |
290 |
|
fi |
291 |
|
AC_DEFINE_UNQUOTED(DEFAULT_UNPRIVILEGED_USER, "$with_unprivileged_user", |
292 |
|
[Define the default unprivileged user.]) |
293 |
|
|
294 |
dnl Use option --enable-gcc-debug to enable GCC debug code. |
dnl Use option --enable-gcc-debug to enable GCC debug code. |
295 |
AC_ARG_ENABLE(gcc-debug, |
AC_ARG_ENABLE(gcc-debug, |
296 |
[ --enable-gcc-debug enable GCC DEBUG code], |
AC_HELP_STRING([--enable-gcc-debug], |
297 |
|
[enable GCC DEBUG code]), |
298 |
[enable_gcc_debug=yes], |
[enable_gcc_debug=yes], |
299 |
[enable_gcc_debug=no]) |
[enable_gcc_debug=no]) |
300 |
if test "$enable_gcc_debug" = "yes" && (test "$GCC" = "yes"); then |
if test "$enable_gcc_debug" = "yes" && (test "$GCC" = "yes"); then |