# HG changeset patch # User diego # Date 1241732096 0 # Node ID ce95678d6dc8862f6da29b458eb6a29d867d8cce # Parent 43c16f39bace3a6bdc6e8b07bd8762358c57edab Add -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled. diff -r 43c16f39bace -r ce95678d6dc8 configure --- a/configure Thu May 07 21:02:57 2009 +0000 +++ b/configure Thu May 07 21:34:56 2009 +0000 @@ -3809,13 +3809,19 @@ echocheck "Mac OS X Finder Support" def_macosx_finder='#undef CONFIG_MACOSX_FINDER' -test "$_macosx_finder" = yes && def_macosx_finder='#define CONFIG_MACOSX_FINDER 1' +if test "$_macosx_finder" = yes ; then + def_macosx_finder='#define CONFIG_MACOSX_FINDER 1' + extra_ldflags="$extra_ldflags -framework Carbon" +fi echores "$_macosx_finder" echocheck "Mac OS X Bundle file locations" def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE' test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder -test "$_macosx_bundle" = yes && def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1' +if test "$_macosx_bundle" = yes ; then + def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1' + extra_ldflags="$extra_ldflags -framework Carbon" +fi echores "$_macosx_bundle" echocheck "Apple Remote"