title: test if a function accept one or two parameter in configure.ac
body: <p>How to test in configure.ac if a given function foo has one or two parameters. I found AC_COMPILE_IFELSE in the documentation but couldn't find an example. and I get always STRING EOF ERROR .
  Here is the part where there is an error : </p>
  
  <pre><code>AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include &lt;mistery.h&gt;])],[],[AC_DEFINE([MISTERY_VALUE_ONEPARAM], [42], [The famous answer])])
  </code></pre>