Commit 5a205bc4 5a205bc4041bb38640bd12db5950c935d7802402 by Sergey Poznyakoff

Added --enable-experimental option to enable

building of experimental/unfinished utilities. Currently it
controls mh utils.
1 parent 620095aa
...@@ -375,15 +375,29 @@ AC_ARG_WITH([virtual-pwddir], ...@@ -375,15 +375,29 @@ AC_ARG_WITH([virtual-pwddir],
375 MU_ENABLE_SUPPORT(imap) 375 MU_ENABLE_SUPPORT(imap)
376 MU_ENABLE_SUPPORT(pop) 376 MU_ENABLE_SUPPORT(pop)
377 377
378 AC_SUBST(BUILD_MH_PROGRAMS)
379 AC_SUBST(BUILD_MH_LIBRARIES)
380 MU_ENABLE_SUPPORT(mh, [BUILD_MH_PROGRAMS='$(PROGRAMS_MH)'; BUILD_MH_LIBRARIES='$(LIBRARIES_MH)'])
381 AC_SUBST(BUILD_SMTP_PROGRAMS) 378 AC_SUBST(BUILD_SMTP_PROGRAMS)
382 AC_SUBST(RUN_SMTP_DEJATOOL) 379 AC_SUBST(RUN_SMTP_DEJATOOL)
383 MU_ENABLE_SUPPORT(smtp, [BUILD_SMTP_PROGRAMS='$(PROGRAMS_SMTP)' 380 MU_ENABLE_SUPPORT(smtp, [BUILD_SMTP_PROGRAMS='$(PROGRAMS_SMTP)'
384 RUN_SMTP_DEJATOOL='$(SMTP_DEJATOOL)']) 381 RUN_SMTP_DEJATOOL='$(SMTP_DEJATOOL)'])
385 MU_ENABLE_SUPPORT(sendmail) 382 MU_ENABLE_SUPPORT(sendmail)
386 383
384 AC_SUBST(BUILD_MH_PROGRAMS)
385 AC_SUBST(BUILD_MH_LIBRARIES)
386 MU_ENABLE_SUPPORT(mh,
387 [BUILD_MH_PROGRAMS='$(PROGRAMS_MH)';
388 BUILD_MH_LIBRARIES='$(LIBRARIES_MH)'])
389
390 AC_ARG_ENABLE([experimental],
391 AC_HELP_STRING([--enable-experimental],
392 [build experimental and/or unfinished utilities]),
393 [MU_BUILD_EXPERIMENTAL="${enableval}"],
394 [MU_BUILD_EXPERIMENTAL=no])
395
396 if test ".$MU_BUILD_EXPERIMENTAL" = ".no"; then
397 BUILD_MH_PROGRAMS=
398 BUILD_MH_LIBRARIES=
399 fi
400
387 if test x"$testpam" = x"yes"; then 401 if test x"$testpam" = x"yes"; then
388 AC_CHECK_HEADERS(security/pam_appl.h) 402 AC_CHECK_HEADERS(security/pam_appl.h)
389 if test x"$ac_cv_header_security_pam_appl_h" = x"yes"; then 403 if test x"$ac_cv_header_security_pam_appl_h" = x"yes"; then
......