Re: checking Mac OS X headers

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

 




Hey

happy new year :-)

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 ?

Vincent Torri


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux