diff --git a/bin/dunecontrol b/bin/dunecontrol
index b0693783d87f6f63aad4ae009563addca6db626e..fbc9ce59f190f855cbbffdab36035889c8b18b56 100755
--- a/bin/dunecontrol
+++ b/bin/dunecontrol
@@ -620,6 +620,8 @@ EOF
 	  MOD=`echo $mod | tr [:lower:] [:upper:]`
 	  cat >> $fname <<EOF
   ### check suggestion $name
+  # add a conditional check, just in case the module is not available
+  AM_CONDITIONAL([HAVE_${MOD}])
   # invoke checks required by this module
   AC_REQUIRE([${MOD}_CHECKS])
   # invoke check for this module