autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checking Mac OS X headers


From: Ralf Wildenhues
Subject: Re: checking Mac OS X headers
Date: Mon, 4 Jan 2010 20:08:07 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Vincent,

* Vincent Torri wrote on Sat, Jan 02, 2010 at 06:27:49PM CET:
> happy new year :-)

Same to you.

> >>>if test "x${ac_cv_objc_compiler_gnu}" = "xyes" ; then
> >>>   AC_LANG_PUSH([Objective C])
> >>>   AC_CHECK_HEADER([Cocoa/Cocoa.h],
> >>>      [
> >>>       have_quartz="yes"
> >>>       evas_engine_[]$1[]_libs="-framework Cocoa"
> >>>      ],
> >>>      [have_quartz="no"])
> >>>   AC_LANG_POP([Objective C])
> >>>fi
> >>>
> >>>is good enough ?
> >>
> >>That looks ok to me, at a glance.  I haven't tested it on Darwin though.
> >
> >As I said, it still does not work if it is in an m4 macro and no
> >objc compiler is present. No idea of the problem (see my previous
> >mail about the code I use.
> 
> still no idea why it does not work ?

No.  Can you write a small example configure.ac that exposes the
problem, run it, post all its output as well as config.log?
"it does not work" is not sufficient information for me, and the
wrong setting of $CPP or $OBJCPP can come from some earlier test.

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]