--- a/configure Thu Aug 07 23:50:52 2008 +0000 +++ b/configure Fri Oct 10 00:07:54 2008 +0000 @@ -6842,6 +6842,13 @@ GUI_COCOA_FALSE= fi +if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then + +cat >>confdefs.h <<\_ACEOF +#define OSX_BUNDLE 1 +_ACEOF + +fi