Skip to content

Commit

Permalink
BUILD: Add stubs for compiling Objective C++ on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 20, 2014
1 parent 83c94d1 commit 7d443c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ LT_INIT([disable-shared])
dnl We're C++
AC_PROG_CXX
AM_PROG_CC_C_O
dnl Objective C++ for extra Mac OS X stuff
AC_PROG_OBJCXX
dnl We want a make install
AC_PROG_INSTALL

Expand Down Expand Up @@ -96,14 +98,17 @@ case "$target" in
*darwin*)
XOREOS_CFLAGS="-DUNIX -DMACOSX"
XOREOS_LIBS=""
AM_CONDITIONAL(DARWIN, true)
;;
*mingw*)
XOREOS_CFLAGS=""
XOREOS_LIBS="-static-libgcc -static-libstdc++"
AM_CONDITIONAL(DARWIN, false)
;;
*)
XOREOS_CFLAGS="-DUNIX"
XOREOS_LIBS=""
AM_CONDITIONAL(DARWIN, false)
;;
esac;

Expand Down

0 comments on commit 7d443c2

Please sign in to comment.