~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: jiho-sf
  • Date: 2008-01-10 23:25:07 UTC
  • Revision ID: jiho-sf@users.sourceforge.net-20080110232507-6qy238s6yvmt1fds
Added part of a patch by Adam Strzelecki which makes GTK menu migrate to OS X menubar when GTK+quartz is used. This is taken from Gimp and should be safe enough at this stage since it really only affects OS X.

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
fi
587
587
PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2)
588
588
 
 
589
# Check for Apple Mac OS X Carbon framework
 
590
carbon_ok=no
 
591
AC_MSG_CHECKING([for Mac OS X Carbon support])
 
592
AC_TRY_CPP([
 
593
#include <Carbon/Carbon.h>
 
594
#include <CoreServices/CoreServices.h>
 
595
], carbon_ok=yes)
 
596
AC_MSG_RESULT($carbon_ok)
 
597
if test "x$carbon_ok" = "xyes"; then
 
598
  AC_DEFINE(HAVE_CARBON, 1, [define to 1 if Carbon is available])
 
599
  CARBON_LDFLAGS="-framework Carbon"
 
600
  AC_SUBST(CARBON_LDFLAGS)
 
601
fi
 
602
AM_CONDITIONAL(HAVE_CARBON, test "x$carbon_ok" = "xyes")
 
603
 
589
604
# Check for some boost header files
590
605
AC_CHECK_HEADERS([boost/concept_check.hpp], [], AC_MSG_ERROR([You need the boost package (e.g. libboost-dev)]))
591
606