Objective C++ support in autotools

Posted by vian on Stack Overflow See other posts from Stack Overflow or by vian
Published on 2010-12-22T04:51:01Z Indexed on 2010/12/22 4:53 UTC
Read the original article Hit count: 577

Filed under:
|

I'm working under Mac OS X 10.6.5 autoconf version 2.68 automake version 1.11.1 In a large project that is built using autoconf, automake, I need to add .mm files to the library sources. When I add them to the library_SOURCES variable they won't compile even after I use

AS_IF([test "$with_target" = "quartz"], [AC_PROG_OBJCXX])

in my configure.ac. The test is passed successfully and it event outputs

checking whether we are using the GNU Objective C++ compiler... yes

and .mm files don't compile. Where can I look to solve this problem?

© Stack Overflow or respective owner

Related posts about autotools

Related posts about objective-c++