diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2009-03-27 16:18:32 +0100 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2009-03-27 16:22:31 +0100 |
commit | b75f8c952daafcab85636acfb01bd8f7411e497d (patch) | |
tree | 34a846d0b15a846ada98a2a0e3ecd8ddb0c0ae88 /HACKING | |
parent | fa3dcb756a3d41187cfa1306542d5994dad21976 (diff) |
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.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: <path>/configure --with-funambol-src=<path> \ --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" \ |