title: Autoconf/Automake: How to avoid passing the "check" option to AC_CONFIG_SUBDIRS
body: <p>I'm using Autoconf to build my c++ project. It uses third party code which is also built with the help of Autoconf/Automake. So in my <code>configure.ac</code> I've got the following line:</p>
  
  <pre><code>AC_CONFIG_SUBDIRS([subdirectoryname])
  </code></pre>
  
  <p>Everything works fine, but I also use the feature to let tests be automatically made if <code>make check</code> is executed - which is done by the third party code as well. Because these tests take a while it's annoying to execute them each time I want to test my own code. So is there any way to avoid that the <code>check</code> option is passed to the subdirectory's <code>Makefile</code>?</p>
  
  <p><strong>Update:</strong> Overriding <code>check-recursive</code> does not seem to be an option, as my top-level Makefile.am looks (more or less) like this:</p>
  
  <pre><code>SUBDIRS=library src
  </code></pre>
  
  <p>So disabling checking on this level would also disable the checking inside my <code>src</code> folder. And that's not what I want to achieve. I just want to disable the checking in the <code>library</code> directory.</p>