From b75f8c952daafcab85636acfb01bd8f7411e497d Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 27 Mar 2009 16:18:32 +0100 Subject: configure: fixed some checks (glib, boost, EDS) Configure didn't check correctly for "glib": it invoked glib-config but didn't notice when that command was missing. Removed that check as it has been superseeded by "glib-2.0" anyway. Boost wasn't checked for at all, although the Boost header files are no longer bundled. libecal and libebook are now obligatory unless explicitly disabled. This catches a common mistake made by users: previously syncevolution would compile, but without Evolution support. The drawback is that on platforms without Evolution, support for it now must be disabled explicitly. --- HACKING | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index aa1c9832..5967fc18 100644 --- a/HACKING +++ b/HACKING @@ -16,7 +16,8 @@ faster compilation) and will bundle the Synthesis sources in source .tar.gz archives. For doing development work the recommended configure line is: - configure CXXFLAGS="-Wall -Werror -Wno-unknown-pragmas" \ + configure CFLAGS="-g -Wall -Werror -Wno-unknown-pragmas" \ + CXXFLAGS="-g -Wall -Werror -Wno-unknown-pragmas" \ --enable-unit-tests \ --enable-libcurl @@ -180,6 +181,7 @@ Compiling for Mac OS X Configuring for development: /configure --with-funambol-src= \ --enable-addressbook \ + --disable-ecal --disable-ebook \ CXXFLAGS="-Wall -Werror -Wno-unknown-pragmas" \ LDFLAGS="-framework Addressbook -framework CoreServices" \ CXXFLAGS=-g \ @@ -189,6 +191,7 @@ Compiling for Mac OS X Compiling final release: ./configure --enable-addressbook \ + --disable-ecal --disable-ebook \ CXXFLAGS="-O -g -arch i386 -arch ppc" \ CFLAGS="-O -g -arch i386 -arch ppc" \ LDFLAGS="-arch i386 -arch ppc -framework Addressbook -framework CoreServices" \ -- cgit v1.2.3