Commit d6ef106c authored by Felix Paul Kühne's avatar Felix Paul Kühne

configure: add basic support for Objective-C++

parent 24d03c32
......@@ -86,8 +86,9 @@ case "${host_os}" in
;;
esac
CFLAGS="${CFLAGS} -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
CFLAGS="${CFLAGS} -fobjc-exceptions -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
OBJCXXFLAGS=="${OBJCXXFLAGS} -fobjc-exceptions -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
CPPFLAGS="${CPPFLAGS} ${ARCH_flag}"
LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
;;
......@@ -101,6 +102,9 @@ case "${host_os}" in
esac
AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin")
AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
AM_COND_IF([HAVE_DARWIN], [AC_PROG_OBJCXX])
LT_INIT
dnl
dnl Check widl/midl tools for win32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment