[Omake] Re: Problems with TryCompileC etc.

John Billings jnb26 at cam.ac.uk
Tue Sep 2 05:56:37 PDT 2008


On Tue, Sep 02, 2008 at 01:44:35PM +0100, John Billings wrote:
> I've been having problems with some of the autoconf functions.
> As a minimal example, the following (in an otherwise empty OMakefile)
> always returns false:
> 
>   echo $(TryCompileC 'int main() { return 0; }')
> 
> Do you have any hints how to get this working?

Looks like it's a quoting issue.  The following works:

  foo = int main() { return 0; }
  echo $(TryCompileC $(foo))

Cheers,

John


More information about the Omake mailing list