]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/acinclude.m4
bugfix: modules can be disabled manually
[u/mrichter/AliRoot.git] / HLT / acinclude.m4
index 27f9e48945d225dedcac4d94b1bb4682bf6833dc..a62246086bac6f8e452ce554c3f1c8334e639ecc 100644 (file)
@@ -221,7 +221,11 @@ AH_TEMPLATE([HLT_[$1]],[hlt [$1] library])
 AC_ARG_ENABLE([$1],
   [AC_HELP_STRING([--disable-[$1]],
       [   compile the $1 library ])],
-  [],
+  [if test "x$enableval" = "xno";
+     then enable_module=no
+   else
+     enable_module=force
+  fi],
   [enable_module=yes
    if test "x$have_aliroot" = "xno" ; then
      enable_module="no...requires.AliRoot"