Imported Upstream version 1.3.99.3~20130529~SE~b989f69~SYSYNC~3366831 upstream/1.3.99.3_20130529_SE_b989f69_SYSYNC_3366831
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 28 Jun 2013 12:01:55 +0000 (12:01 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 28 Jun 2013 12:01:55 +0000 (12:01 +0000)
166 files changed:
INSTALL
Makefile.in
NEWS
README
aclocal.m4
compile
config.guess
config.sub
configure
configure.ac
depcomp
install-sh
ltmain.sh [changed mode: 0755->0644]
m4/intltool.m4
m4/libtool.m4
m4/ltoptions.m4
m4/ltversion.m4
m4/lt~obsolete.m4
missing
po/Makefile.in.in
src/backends/activesync/ActiveSyncCalendarSource.cpp
src/backends/activesync/ActiveSyncSource.cpp
src/backends/activesync/ActiveSyncSourceRegister.cpp
src/backends/addressbook/AddressBookSource.cpp
src/backends/akonadi/akonadisyncsource.cpp
src/backends/akonadi/akonadisyncsource.h
src/backends/evolution/EvolutionCalendarSource.cpp
src/backends/evolution/EvolutionCalendarSource.h
src/backends/evolution/EvolutionContactSource.cpp
src/backends/evolution/EvolutionContactSource.h
src/backends/evolution/EvolutionSyncSource.cpp
src/backends/evolution/EvolutionSyncSource.h
src/backends/file/FileSyncSource.cpp
src/backends/kcalextended/KCalExtendedSource.cpp
src/backends/kde/KDEPlatform.cpp
src/backends/pbap/PbapSyncSource.cpp
src/backends/qtcontacts/QtContactsSource.cpp
src/backends/sqlite/SQLiteContactSource.cpp
src/backends/webdav/CalDAVSource.cpp
src/backends/webdav/NeonCXX.cpp
src/backends/webdav/WebDAVSource.cpp
src/backends/webdav/WebDAVSourceRegister.cpp
src/client-test-app.cpp
src/dbus/server/auto-sync-manager.cpp
src/dbus/server/auto-term.h
src/dbus/server/bluez-manager.cpp
src/dbus/server/client.cpp
src/dbus/server/connection.cpp
src/dbus/server/connman-client.cpp
src/dbus/server/dbus-sync.cpp
src/dbus/server/dbus-transport-agent.cpp
src/dbus/server/main.cpp
src/dbus/server/network-manager-client.cpp
src/dbus/server/notification-backend-libnotify.cpp
src/dbus/server/pim/README
src/dbus/server/pim/edsf-view.cpp
src/dbus/server/pim/filtered-view.cpp
src/dbus/server/pim/folks.cpp
src/dbus/server/pim/folks.h
src/dbus/server/pim/full-view.cpp
src/dbus/server/pim/individual-traits.cpp
src/dbus/server/pim/locale-factory-boost.cpp
src/dbus/server/pim/locale-factory.cpp [new file with mode: 0644]
src/dbus/server/pim/locale-factory.h
src/dbus/server/pim/manager.cpp
src/dbus/server/pim/manager.h
src/dbus/server/pim/merge-view.cpp
src/dbus/server/pim/pim-manager-api.txt [new file with mode: 0644]
src/dbus/server/pim/test-dbus/db-active/config/syncevolution/pim-manager.ini
src/dbus/server/pim/testpim.py
src/dbus/server/pim/view.cpp
src/dbus/server/presence-status.cpp
src/dbus/server/restart.h
src/dbus/server/server.am
src/dbus/server/server.cpp
src/dbus/server/server.h
src/dbus/server/session-common.h
src/dbus/server/session-helper.cpp
src/dbus/server/session-helper.h
src/dbus/server/session.cpp
src/dbus/server/session.h
src/dbus/server/sync-helper.cpp
src/gdbusxx/gdbus-cxx-bridge.cpp
src/gdbusxx/gdbus-cxx-bridge.h
src/gdbusxx/test/example.cpp
src/syncevo/Cmdline.cpp
src/syncevo/CurlTransportAgent.cpp
src/syncevo/EDSClient.cpp
src/syncevo/ForkExec.cpp
src/syncevo/ForkExec.h
src/syncevo/GLibSupport.cpp
src/syncevo/GLibSupport.h
src/syncevo/GeeSupport.h
src/syncevo/LocalTransportAgent.cpp
src/syncevo/LogRedirect.cpp
src/syncevo/LogRedirect.h
src/syncevo/LogStdout.cpp
src/syncevo/LogStdout.h
src/syncevo/LogSyslog.cpp
src/syncevo/LogSyslog.h
src/syncevo/Logging.cpp
src/syncevo/Logging.h
src/syncevo/MapSyncSource.cpp
src/syncevo/ObexTransportAgent.cpp
src/syncevo/SmartPtr.h
src/syncevo/SoupTransportAgent.cpp
src/syncevo/SuspendFlags.cpp
src/syncevo/SuspendFlags.h
src/syncevo/SyncConfig.cpp
src/syncevo/SyncConfig.h
src/syncevo/SyncContext.cpp
src/syncevo/SyncContext.h
src/syncevo/SyncML.cpp
src/syncevo/SyncSource.cpp
src/syncevo/SyncSource.h
src/syncevo/SynthesisDBPlugin.cpp
src/syncevo/ThreadSupport.h [new file with mode: 0644]
src/syncevo/TrackingSyncSource.cpp
src/syncevo/TransportAgent.h
src/syncevo/syncevo.am
src/syncevo/util.cpp
src/syncevo/util.h
src/syncevolution.cpp
src/synthesis-includes/Makefile.in
src/synthesis/ChangeLog
src/synthesis/configure
src/synthesis/configure.in
src/synthesis/src/DB_interfaces/api_db/DLL_interface.cpp
src/synthesis/src/DB_interfaces/api_db/pluginapids.h
src/synthesis/src/EXCLUDE_FILES
src/synthesis/src/EXTRA_FILES
src/synthesis/src/Makefile.am
src/synthesis/src/Makefile.in
src/synthesis/src/Targets/ReleasedProducts/combiEngine_opensource_linux/target_options.h
src/synthesis/src/Transport_interfaces/engine/enginesessiondispatch.h
src/synthesis/src/gen-makefile-am.sh
src/synthesis/src/platform_adapters/platform_thread.h
src/synthesis/src/platform_adapters/unix_common/platform_thread.cpp
src/synthesis/src/syncml_tk/src/sml/xlt/all/xltdec.c
src/synthesis/src/synthesis-linker.map
src/synthesis/src/sysync/binfileimplclient.cpp
src/synthesis/src/sysync/binfileimplds.cpp
src/synthesis/src/sysync/debuglogger.cpp
src/synthesis/src/sysync/debuglogger.h
src/synthesis/src/sysync/engineinterface.h
src/synthesis/src/sysync/itemfield.h
src/synthesis/src/sysync/mimedirprofile.h
src/synthesis/src/sysync/stdlogicds.cpp
src/synthesis/src/sysync/syncappbase.h
src/synthesis/src/sysync/synccommand.h
src/synthesis/src/sysync/syncdatastore.h
src/synthesis/src/sysync/syncitem.h
src/synthesis/src/sysync/syncitemtype.h
src/synthesis/src/sysync_SDK/Sources/SDK_util.c
src/synthesis/src/sysync_SDK/Sources/blobs.cpp
src/synthesis/src/sysync_SDK/Sources/dbitem.h
src/synthesis/src/sysync_SDK/Sources/enginemodulebase.h
src/synthesis/src/sysync_SDK/Sources/san.h
src/synthesis/src/sysync_SDK/Sources/sysync_noncopyable.h [new file with mode: 0644]
src/synthesis/src/sysync_SDK/Sources/sysync_utils.h
test/ClientTest.cpp
test/ClientTest.h
test/ClientTestAssert.h
test/client-test-main.cpp
test/dbus-client-server.cpp
test/synccompare.pl

diff --git a/INSTALL b/INSTALL
index 7d1c323..a1e89e1 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,8 +1,8 @@
 Installation Instructions
 *************************
 
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
 
    Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
@@ -226,6 +226,11 @@ order to use an ANSI C compiler:
 
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
+   HP-UX `make' updates targets which have the same time stamps as
+their prerequisites, which makes it generally unusable when shipped
+generated files such as `configure' are involved.  Use GNU `make'
+instead.
+
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
 parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
index ba1bd46..1553a6d 100644 (file)
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
-# Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 
 VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -318,13 +335,13 @@ EXTRA_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/full-view.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/filtered-view.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/edsf-view.cpp \
+@COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/locale-factory.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/merge-view.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/individual-traits.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/folks.cpp \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/manager.cpp
 
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@am__append_62 = \
-@COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/locale-factory.h \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@  src/dbus/server/pim/persona-details.h
 
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@am__append_63 = \
@@ -514,6 +531,12 @@ am__nobase_list = $(am__nobase_strip_setup); \
 am__base_list = \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(src_backends_activesync_backenddir)" \
        "$(DESTDIR)$(src_backends_addressbook_backenddir)" \
@@ -596,8 +619,8 @@ am__dirstamp = $(am__leading_dot)dirstamp
 @COND_CORE_TRUE@       $(am__objects_1)
 src_backends_activesync_syncactivesync_la_OBJECTS =  \
        $(am_src_backends_activesync_syncactivesync_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
 src_backends_activesync_syncactivesync_la_LINK = $(LIBTOOL) $(AM_V_lt) \
        --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
@@ -959,7 +982,7 @@ src_dbus_server_libsyncevodbushelper_la_LINK = $(LIBTOOL) $(AM_V_lt) \
 @COND_DBUS_TRUE@src_dbus_server_libsyncevodbusserver_la_DEPENDENCIES =  \
 @COND_DBUS_TRUE@       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 @COND_DBUS_TRUE@       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-@COND_DBUS_TRUE@       $(am__DEPENDENCIES_2)
+@COND_DBUS_TRUE@       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
 am__src_dbus_server_libsyncevodbusserver_la_SOURCES_DIST =  \
        src/dbus/server/notification-backend-noop.h \
        src/dbus/server/notification-backend-libnotify.h \
@@ -979,6 +1002,7 @@ am__src_dbus_server_libsyncevodbusserver_la_SOURCES_DIST =  \
        src/dbus/server/pim/full-view.h \
        src/dbus/server/pim/filtered-view.h \
        src/dbus/server/pim/edsf-view.h \
+       src/dbus/server/pim/locale-factory.h \
        src/dbus/server/pim/merge-view.h \
        src/dbus/server/pim/individual-traits.h \
        src/dbus/server/pim/folks.h src/dbus/server/pim/manager.h \
@@ -990,8 +1014,7 @@ am__src_dbus_server_libsyncevodbusserver_la_SOURCES_DIST =  \
        src/dbus/server/session-common.h \
        src/dbus/server/source-progress.h \
        src/dbus/server/source-status.h src/dbus/server/timeout.h \
-       src/dbus/server/timer.h src/dbus/server/pim/locale-factory.h \
-       src/dbus/server/pim/persona-details.h \
+       src/dbus/server/timer.h src/dbus/server/pim/persona-details.h \
        src/dbus/server/notification-backend-noop.cpp \
        src/dbus/server/notification-backend-libnotify.cpp \
        src/dbus/server/notification-backend-mlite.cpp \
@@ -1011,6 +1034,7 @@ am__src_dbus_server_libsyncevodbusserver_la_SOURCES_DIST =  \
        src/dbus/server/pim/full-view.cpp \
        src/dbus/server/pim/filtered-view.cpp \
        src/dbus/server/pim/edsf-view.cpp \
+       src/dbus/server/pim/locale-factory.cpp \
        src/dbus/server/pim/merge-view.cpp \
        src/dbus/server/pim/individual-traits.cpp \
        src/dbus/server/pim/folks.cpp src/dbus/server/pim/manager.cpp \
@@ -1020,6 +1044,7 @@ am__src_dbus_server_libsyncevodbusserver_la_SOURCES_DIST =  \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo \
+@COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo \
 @COND_DBUS_PIM_TRUE@@COND_DBUS_TRUE@   src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo \
@@ -1131,13 +1156,14 @@ am__src_syncevo_libsyncevolution_la_SOURCES_DIST =  \
        src/syncevo/VolatileConfigTree.h src/syncevo/SmartPtr.h \
        src/syncevo/eds_abi_wrapper.h src/syncevo/eds_abi_wrapper.cpp \
        src/syncevo/GLibSupport.h src/syncevo/GLibSupport.cpp \
-       src/syncevo/SyncML.h src/syncevo/SyncML.cpp \
-       src/syncevo/SynthesisEngine.h src/syncevo/SynthesisEngine.cpp \
-       src/syncevo/Logging.h src/syncevo/Logging.cpp \
-       src/syncevo/LogStdout.h src/syncevo/LogStdout.cpp \
-       src/syncevo/LogRedirect.h src/syncevo/LogRedirect.cpp \
-       src/syncevo/LogSyslog.h src/syncevo/LogSyslog.cpp \
-       src/syncevo/TransportAgent.h src/syncevo/TransportAgent.cpp \
+       src/syncevo/ThreadSupport.h src/syncevo/SyncML.h \
+       src/syncevo/SyncML.cpp src/syncevo/SynthesisEngine.h \
+       src/syncevo/SynthesisEngine.cpp src/syncevo/Logging.h \
+       src/syncevo/Logging.cpp src/syncevo/LogStdout.h \
+       src/syncevo/LogStdout.cpp src/syncevo/LogRedirect.h \
+       src/syncevo/LogRedirect.cpp src/syncevo/LogSyslog.h \
+       src/syncevo/LogSyslog.cpp src/syncevo/TransportAgent.h \
+       src/syncevo/TransportAgent.cpp \
        src/syncevo/CurlTransportAgent.h \
        src/syncevo/CurlTransportAgent.cpp \
        src/syncevo/SoupTransportAgent.h \
@@ -1683,18 +1709,18 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
        $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD  " $@;
 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
@@ -1702,18 +1728,18 @@ LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
        $(AM_CXXFLAGS) $(CXXFLAGS)
-AM_V_CXX = $(am__v_CXX_$(V))
-am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY))
+AM_V_CXX = $(am__v_CXX_@AM_V@)
+am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
 am__v_CXX_0 = @echo "  CXX   " $@;
 CXXLD = $(CXX)
 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CXXLD = $(am__v_CXXLD_$(V))
-am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY))
+AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
+am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
 am__v_CXXLD_0 = @echo "  CXXLD " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN   " $@;
 SOURCES = $(src_backends_activesync_syncactivesync_la_SOURCES) \
        $(src_backends_addressbook_syncaddressbook_la_SOURCES) \
@@ -1808,6 +1834,11 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
        install-pdf-recursive install-ps-recursive install-recursive \
        installcheck-recursive installdirs-recursive pdf-recursive \
        ps-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 man1dir = $(mandir)/man1
 NROFF = nroff
 MANS = $(man_MANS)
@@ -1973,18 +2004,18 @@ am__src_dbus_glib_libsyncevo_dbus_include_HEADERS_DIST =  \
 am__src_syncevo_libsyncevolution_include_HEADERS_DIST =  \
        src/syncevo/declarations.h src/syncevo/Cmdline.h \
        src/syncevo/ConfigFilter.h src/syncevo/GLibSupport.h \
-       src/syncevo/TrackingSyncSource.h src/syncevo/MapSyncSource.h \
-       src/syncevo/LogRedirect.h src/syncevo/LogStdout.h \
-       src/syncevo/LogSyslog.h src/syncevo/FilterConfigNode.h \
-       src/syncevo/PrefixConfigNode.h src/syncevo/SafeConfigNode.h \
-       src/syncevo/SyncConfig.h src/syncevo/SyncSource.h \
-       src/syncevo/util.h src/syncevo/BoostHelper.h \
-       src/syncevo/SuspendFlags.h src/syncevo/SyncContext.h \
-       src/syncevo/Timespec.h src/syncevo/UserInterface.h \
-       src/syncevo/SynthesisEngine.h src/syncevo/Logging.h \
-       src/syncevo/SyncML.h src/syncevo/eds_abi_wrapper.h \
-       src/syncevo/icalstrdup.h src/syncevo/SmartPtr.h \
-       src/syncevo/ConfigNode.h
+       src/syncevo/ThreadSupport.h src/syncevo/TrackingSyncSource.h \
+       src/syncevo/MapSyncSource.h src/syncevo/LogRedirect.h \
+       src/syncevo/LogStdout.h src/syncevo/LogSyslog.h \
+       src/syncevo/FilterConfigNode.h src/syncevo/PrefixConfigNode.h \
+       src/syncevo/SafeConfigNode.h src/syncevo/SyncConfig.h \
+       src/syncevo/SyncSource.h src/syncevo/util.h \
+       src/syncevo/BoostHelper.h src/syncevo/SuspendFlags.h \
+       src/syncevo/SyncContext.h src/syncevo/Timespec.h \
+       src/syncevo/UserInterface.h src/syncevo/SynthesisEngine.h \
+       src/syncevo/Logging.h src/syncevo/SyncML.h \
+       src/syncevo/eds_abi_wrapper.h src/syncevo/icalstrdup.h \
+       src/syncevo/SmartPtr.h src/syncevo/ConfigNode.h
 HEADERS = $(nodist_src_dbus_qt_libsyncevolution_qt_dbus_include_HEADERS) \
        $(src_dbus_glib_libsyncevo_dbus_include_HEADERS) \
        $(src_syncevo_libsyncevolution_include_HEADERS)
@@ -2001,9 +2032,11 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
 am__remove_distdir = \
-  { test ! -d "$(distdir)" \
-    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr "$(distdir)"; }; }
+  if test -d "$(distdir)"; then \
+    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+      && rm -rf "$(distdir)" \
+      || { sleep 5 && rm -rf "$(distdir)"; }; \
+  else :; fi
 am__relativize = \
   dir0=`pwd`; \
   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -2032,6 +2065,8 @@ am__relativize = \
 DIST_ARCHIVES = $(distdir).tar.gz
 GZIP_ENV = --best
 distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
 distcleancheck_listfiles = find . -type f -print
 ACLOCAL = @ACLOCAL@
 ADDRESSBOOK_CFLAGS = @ADDRESSBOOK_CFLAGS@
@@ -2083,6 +2118,7 @@ DBUS_PIM_PLUGIN_LIBS = @DBUS_PIM_PLUGIN_LIBS@
 DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
 EASCLIENT_CFLAGS = @EASCLIENT_CFLAGS@
@@ -2134,6 +2170,8 @@ GUI_CFLAGS = @GUI_CFLAGS@
 GUI_DESKTOP_FILES = @GUI_DESKTOP_FILES@
 GUI_LIBS = @GUI_LIBS@
 GUI_PROGRAMS = @GUI_PROGRAMS@
+ICU_CFLAGS = @ICU_CFLAGS@
+ICU_LIBS = @ICU_LIBS@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -2145,6 +2183,10 @@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
 INTLTOOL_PERL = @INTLTOOL_PERL@
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
 KCALEXTENDED_CFLAGS = @KCALEXTENDED_CFLAGS@
 KCALEXTENDED_LIBS = @KCALEXTENDED_LIBS@
 KDE4_CONFIG = @KDE4_CONFIG@
@@ -2178,6 +2220,7 @@ LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
 MCALB_CFLAGS = @MCALB_CFLAGS@
 MCALB_LIBS = @MCALB_LIBS@
 MKDIR_P = @MKDIR_P@
@@ -2215,6 +2258,8 @@ PCRECPP_LIBS = @PCRECPP_LIBS@
 PHONENUMBERS_CFLAGS = @PHONENUMBERS_CFLAGS@
 PHONENUMBERS_LIBS = @PHONENUMBERS_LIBS@
 PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 POFILES = @POFILES@
 POSUB = @POSUB@
 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
@@ -2279,6 +2324,7 @@ abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
 abs_top_builddir = @abs_top_builddir@
 abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
@@ -2308,11 +2354,12 @@ htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
 install_sh = @install_sh@
+intltool__v_merge_options_ = @intltool__v_merge_options_@
+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
 libdir = @libdir@
 libexecdir = @libexecdir@
 localedir = @localedir@
 localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -2451,6 +2498,7 @@ EXTRA_DIST = build/export-foreign-git.sh build/export-gdbus.sh \
        build/gen-linguas.sh build/import-foreign-git.sh \
        build/import-gdbus.sh build/import-synthesis-xml.sh \
        build/update-copyrights.sh src/dbus/server/pim/README \
+       src/dbus/server/pim/pim-manager-api.txt \
        src/dbus/server/pim/examples/search.py \
        src/dbus/server/pim/examples/sync.py \
        src/dbus/server/pim/testpim.py \
@@ -2585,6 +2633,7 @@ src_cppflags = -I$(top_srcdir)/src $(am__append_3) $(am__append_8) \
 @COND_CORE_TRUE@       src/syncevo/eds_abi_wrapper.cpp \
 @COND_CORE_TRUE@       src/syncevo/GLibSupport.h \
 @COND_CORE_TRUE@       src/syncevo/GLibSupport.cpp \
+@COND_CORE_TRUE@       src/syncevo/ThreadSupport.h \
 @COND_CORE_TRUE@       src/syncevo/SyncML.h src/syncevo/SyncML.cpp \
 @COND_CORE_TRUE@       src/syncevo/SynthesisEngine.h \
 @COND_CORE_TRUE@       src/syncevo/SynthesisEngine.cpp \
@@ -2656,6 +2705,7 @@ src_cppflags = -I$(top_srcdir)/src $(am__append_3) $(am__append_8) \
 @COND_CORE_TRUE@  src/syncevo/Cmdline.h \
 @COND_CORE_TRUE@  src/syncevo/ConfigFilter.h \
 @COND_CORE_TRUE@  src/syncevo/GLibSupport.h \
+@COND_CORE_TRUE@  src/syncevo/ThreadSupport.h \
 @COND_CORE_TRUE@  src/syncevo/TrackingSyncSource.h  \
 @COND_CORE_TRUE@  src/syncevo/MapSyncSource.h \
 @COND_CORE_TRUE@  src/syncevo/LogRedirect.h \
@@ -3107,14 +3157,14 @@ src_cppflags = -I$(top_srcdir)/src $(am__append_3) $(am__append_8) \
 @COND_DBUS_TRUE@       $(am__append_64)
 @COND_DBUS_TRUE@src_dbus_server_libsyncevodbusserver_la_LIBADD =  \
 @COND_DBUS_TRUE@       $(LIBNOTIFY_LIBS) $(MLITE_LIBS) $(DBUS_LIBS) \
-@COND_DBUS_TRUE@       $(PCRECPP_LIBS) $(am__append_65)
+@COND_DBUS_TRUE@       $(PCRECPP_LIBS) $(ICU_LIBS) $(am__append_65)
 @COND_DBUS_TRUE@src_dbus_server_libsyncevodbusserver_la_CPPFLAGS = -DHAVE_CONFIG_H -DSYNCEVOLUTION_LOCALEDIR=\"${SYNCEVOLUTION_LOCALEDIR}\" -I$(top_srcdir)/src -I$(top_srcdir)/test -I$(top_srcdir) -I$(gdbus_dir) $(BACKEND_CPPFLAGS)
 @COND_DBUS_TRUE@src_dbus_server_libsyncevodbusserver_la_CXXFLAGS =  \
 @COND_DBUS_TRUE@       $(SYNCEVOLUTION_CXXFLAGS) $(CORE_CXXFLAGS) \
 @COND_DBUS_TRUE@       $(SYNTHESIS_CFLAGS) $(GLIB_CFLAGS) \
 @COND_DBUS_TRUE@       $(DBUS_CFLAGS) $(LIBNOTIFY_CFLAGS) \
 @COND_DBUS_TRUE@       $(MLITE_CFLAGS) $(SYNCEVO_WFLAGS) \
-@COND_DBUS_TRUE@       $(am__append_66)
+@COND_DBUS_TRUE@       $(ICU_CFLAGS) $(am__append_66)
 @COND_DBUS_TRUE@src_dbus_server_dbus_helper_cpp_files = \
 @COND_DBUS_TRUE@  src/dbus/server/dbus-callbacks.cpp \
 @COND_DBUS_TRUE@  src/dbus/server/dbus-sync.cpp \
@@ -3504,7 +3554,7 @@ all: $(BUILT_SOURCES) config.h
 
 .SUFFIXES:
 .SUFFIXES: .c .cpp .lo .o .obj
-am--refresh:
+am--refresh: Makefile
        @:
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/setup-variables.am $(top_srcdir)/autotroll.am $(top_srcdir)/build/build.am $(srcdir)/src/src.am $(top_srcdir)/src/gnome-bluetooth/gnome-bluetooth.am $(top_srcdir)/src/gdbusxx/gdbusxx.am $(top_srcdir)/src/gdbus/gdbus.am $(top_srcdir)/src/syncevo/syncevo.am $(top_srcdir)/src/syncevo/configs/configs.am $(top_srcdir)/src/syncevo/configs/configs_xml.am $(top_srcdir)/src/backends/backends.am $(top_srcdir)/src/backends/activesync/activesync.am $(top_srcdir)/src/backends/addressbook/addressbook.am $(top_srcdir)/src/backends/akonadi/akonadi.am $(top_srcdir)/src/backends/evolution/evolution.am $(top_srcdir)/src/backends/file/file.am $(top_srcdir)/src/backends/gnome/gnome.am $(top_srcdir)/src/backends/kcalextended/kcalextended.am $(top_srcdir)/src/backends/kde/kde.am $(top_srcdir)/src/backends/maemo/maemo.am $(top_srcdir)/src/backends/pbap/pbap.am $(top_srcdir)/src/backends/qtcontacts/qtcontacts.am $(top_srcdir)/src/backends/sqlite/sqlite.am $(top_srcdir)/src/backends/webdav/webdav.am $(top_srcdir)/src/backends/xmlrpc/xmlrpc.am $(top_srcdir)/src/templates/templates.am $(top_srcdir)/src/dbus/dbus.am $(top_srcdir)/src/dbus/interfaces/interfaces.am $(top_srcdir)/src/dbus/glib/glib.am $(top_srcdir)/src/dbus/qt/qt.am $(top_srcdir)/src/dbus/server/server.am $(top_srcdir)/src/gtk-ui/gtk-ui.am $(top_srcdir)/src/gtk3-ui/gtk-ui.am $(top_srcdir)/src/testcases.am $(srcdir)/test/test.am $(am__configure_deps)
        @for dep in $?; do \
@@ -3529,6 +3579,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
        esac;
+$(top_srcdir)/setup-variables.am $(top_srcdir)/autotroll.am $(top_srcdir)/build/build.am $(srcdir)/src/src.am $(top_srcdir)/src/gnome-bluetooth/gnome-bluetooth.am $(top_srcdir)/src/gdbusxx/gdbusxx.am $(top_srcdir)/src/gdbus/gdbus.am $(top_srcdir)/src/syncevo/syncevo.am $(top_srcdir)/src/syncevo/configs/configs.am $(top_srcdir)/src/syncevo/configs/configs_xml.am $(top_srcdir)/src/backends/backends.am $(top_srcdir)/src/backends/activesync/activesync.am $(top_srcdir)/src/backends/addressbook/addressbook.am $(top_srcdir)/src/backends/akonadi/akonadi.am $(top_srcdir)/src/backends/evolution/evolution.am $(top_srcdir)/src/backends/file/file.am $(top_srcdir)/src/backends/gnome/gnome.am $(top_srcdir)/src/backends/kcalextended/kcalextended.am $(top_srcdir)/src/backends/kde/kde.am $(top_srcdir)/src/backends/maemo/maemo.am $(top_srcdir)/src/backends/pbap/pbap.am $(top_srcdir)/src/backends/qtcontacts/qtcontacts.am $(top_srcdir)/src/backends/sqlite/sqlite.am $(top_srcdir)/src/backends/webdav/webdav.am $(top_srcdir)/src/backends/xmlrpc/xmlrpc.am $(top_srcdir)/src/templates/templates.am $(top_srcdir)/src/dbus/dbus.am $(top_srcdir)/src/dbus/interfaces/interfaces.am $(top_srcdir)/src/dbus/glib/glib.am $(top_srcdir)/src/dbus/qt/qt.am $(top_srcdir)/src/dbus/server/server.am $(top_srcdir)/src/gtk-ui/gtk-ui.am $(top_srcdir)/src/gtk3-ui/gtk-ui.am $(top_srcdir)/src/testcases.am $(srcdir)/test/test.am:
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck
@@ -3540,10 +3591,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 $(am__aclocal_m4_deps):
 
 config.h: stamp-h1
-       @if test ! -f $@; then \
-         rm -f stamp-h1; \
-         $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
-       else :; fi
+       @if test ! -f $@; then rm -f stamp-h1; else :; fi
+       @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
 
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
        @rm -f stamp-h1
@@ -3563,7 +3612,6 @@ src/dbus/glib/syncevo-dbus.pc: $(top_builddir)/config.status $(top_srcdir)/src/d
        cd $(top_builddir) && $(SHELL) ./config.status $@
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3571,6 +3619,8 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
        }
@@ -3603,7 +3653,6 @@ clean-noinstLTLIBRARIES:
        done
 install-src_backends_activesync_backendLTLIBRARIES: $(src_backends_activesync_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_activesync_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_activesync_backenddir)"
        @list='$(src_backends_activesync_backend_LTLIBRARIES)'; test -n "$(src_backends_activesync_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3611,6 +3660,8 @@ install-src_backends_activesync_backendLTLIBRARIES: $(src_backends_activesync_ba
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_activesync_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_activesync_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_activesync_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_activesync_backenddir)"; \
        }
@@ -3634,7 +3685,6 @@ clean-src_backends_activesync_backendLTLIBRARIES:
        done
 install-src_backends_addressbook_backendLTLIBRARIES: $(src_backends_addressbook_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_addressbook_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_addressbook_backenddir)"
        @list='$(src_backends_addressbook_backend_LTLIBRARIES)'; test -n "$(src_backends_addressbook_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3642,6 +3692,8 @@ install-src_backends_addressbook_backendLTLIBRARIES: $(src_backends_addressbook_
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_addressbook_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_addressbook_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_addressbook_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_addressbook_backenddir)"; \
        }
@@ -3665,7 +3717,6 @@ clean-src_backends_addressbook_backendLTLIBRARIES:
        done
 install-src_backends_akonadi_backendLTLIBRARIES: $(src_backends_akonadi_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_akonadi_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_akonadi_backenddir)"
        @list='$(src_backends_akonadi_backend_LTLIBRARIES)'; test -n "$(src_backends_akonadi_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3673,6 +3724,8 @@ install-src_backends_akonadi_backendLTLIBRARIES: $(src_backends_akonadi_backend_
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_akonadi_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_akonadi_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_akonadi_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_akonadi_backenddir)"; \
        }
@@ -3696,7 +3749,6 @@ clean-src_backends_akonadi_backendLTLIBRARIES:
        done
 install-src_backends_evolution_backendLTLIBRARIES: $(src_backends_evolution_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_evolution_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_evolution_backenddir)"
        @list='$(src_backends_evolution_backend_LTLIBRARIES)'; test -n "$(src_backends_evolution_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3704,6 +3756,8 @@ install-src_backends_evolution_backendLTLIBRARIES: $(src_backends_evolution_back
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_evolution_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_evolution_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_evolution_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_evolution_backenddir)"; \
        }
@@ -3727,7 +3781,6 @@ clean-src_backends_evolution_backendLTLIBRARIES:
        done
 install-src_backends_file_backendLTLIBRARIES: $(src_backends_file_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_file_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_file_backenddir)"
        @list='$(src_backends_file_backend_LTLIBRARIES)'; test -n "$(src_backends_file_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3735,6 +3788,8 @@ install-src_backends_file_backendLTLIBRARIES: $(src_backends_file_backend_LTLIBR
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_file_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_file_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_file_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_file_backenddir)"; \
        }
@@ -3758,7 +3813,6 @@ clean-src_backends_file_backendLTLIBRARIES:
        done
 install-src_backends_gnome_backendLTLIBRARIES: $(src_backends_gnome_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_gnome_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_gnome_backenddir)"
        @list='$(src_backends_gnome_backend_LTLIBRARIES)'; test -n "$(src_backends_gnome_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3766,6 +3820,8 @@ install-src_backends_gnome_backendLTLIBRARIES: $(src_backends_gnome_backend_LTLI
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_gnome_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_gnome_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_gnome_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_gnome_backenddir)"; \
        }
@@ -3789,7 +3845,6 @@ clean-src_backends_gnome_backendLTLIBRARIES:
        done
 install-src_backends_kcalextended_backendLTLIBRARIES: $(src_backends_kcalextended_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_kcalextended_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_kcalextended_backenddir)"
        @list='$(src_backends_kcalextended_backend_LTLIBRARIES)'; test -n "$(src_backends_kcalextended_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3797,6 +3852,8 @@ install-src_backends_kcalextended_backendLTLIBRARIES: $(src_backends_kcalextende
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_kcalextended_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_kcalextended_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_kcalextended_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_kcalextended_backenddir)"; \
        }
@@ -3820,7 +3877,6 @@ clean-src_backends_kcalextended_backendLTLIBRARIES:
        done
 install-src_backends_kde_backendLTLIBRARIES: $(src_backends_kde_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_kde_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_kde_backenddir)"
        @list='$(src_backends_kde_backend_LTLIBRARIES)'; test -n "$(src_backends_kde_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3828,6 +3884,8 @@ install-src_backends_kde_backendLTLIBRARIES: $(src_backends_kde_backend_LTLIBRAR
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_kde_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_kde_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_kde_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_kde_backenddir)"; \
        }
@@ -3851,7 +3909,6 @@ clean-src_backends_kde_backendLTLIBRARIES:
        done
 install-src_backends_maemo_backendLTLIBRARIES: $(src_backends_maemo_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_maemo_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_maemo_backenddir)"
        @list='$(src_backends_maemo_backend_LTLIBRARIES)'; test -n "$(src_backends_maemo_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3859,6 +3916,8 @@ install-src_backends_maemo_backendLTLIBRARIES: $(src_backends_maemo_backend_LTLI
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_maemo_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_maemo_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_maemo_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_maemo_backenddir)"; \
        }
@@ -3882,7 +3941,6 @@ clean-src_backends_maemo_backendLTLIBRARIES:
        done
 install-src_backends_pbap_backendLTLIBRARIES: $(src_backends_pbap_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_pbap_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_pbap_backenddir)"
        @list='$(src_backends_pbap_backend_LTLIBRARIES)'; test -n "$(src_backends_pbap_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3890,6 +3948,8 @@ install-src_backends_pbap_backendLTLIBRARIES: $(src_backends_pbap_backend_LTLIBR
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_pbap_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_pbap_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_pbap_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_pbap_backenddir)"; \
        }
@@ -3913,7 +3973,6 @@ clean-src_backends_pbap_backendLTLIBRARIES:
        done
 install-src_backends_qtcontacts_backendLTLIBRARIES: $(src_backends_qtcontacts_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_qtcontacts_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_qtcontacts_backenddir)"
        @list='$(src_backends_qtcontacts_backend_LTLIBRARIES)'; test -n "$(src_backends_qtcontacts_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3921,6 +3980,8 @@ install-src_backends_qtcontacts_backendLTLIBRARIES: $(src_backends_qtcontacts_ba
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_qtcontacts_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_qtcontacts_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_qtcontacts_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_qtcontacts_backenddir)"; \
        }
@@ -3944,7 +4005,6 @@ clean-src_backends_qtcontacts_backendLTLIBRARIES:
        done
 install-src_backends_sqlite_backendLTLIBRARIES: $(src_backends_sqlite_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_sqlite_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_sqlite_backenddir)"
        @list='$(src_backends_sqlite_backend_LTLIBRARIES)'; test -n "$(src_backends_sqlite_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3952,6 +4012,8 @@ install-src_backends_sqlite_backendLTLIBRARIES: $(src_backends_sqlite_backend_LT
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_sqlite_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_sqlite_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_sqlite_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_sqlite_backenddir)"; \
        }
@@ -3975,7 +4037,6 @@ clean-src_backends_sqlite_backendLTLIBRARIES:
        done
 install-src_backends_webdav_backendLTLIBRARIES: $(src_backends_webdav_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_webdav_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_webdav_backenddir)"
        @list='$(src_backends_webdav_backend_LTLIBRARIES)'; test -n "$(src_backends_webdav_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -3983,6 +4044,8 @@ install-src_backends_webdav_backendLTLIBRARIES: $(src_backends_webdav_backend_LT
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_webdav_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_webdav_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_webdav_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_webdav_backenddir)"; \
        }
@@ -4006,7 +4069,6 @@ clean-src_backends_webdav_backendLTLIBRARIES:
        done
 install-src_backends_xmlrpc_backendLTLIBRARIES: $(src_backends_xmlrpc_backend_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_backends_xmlrpc_backenddir)" || $(MKDIR_P) "$(DESTDIR)$(src_backends_xmlrpc_backenddir)"
        @list='$(src_backends_xmlrpc_backend_LTLIBRARIES)'; test -n "$(src_backends_xmlrpc_backenddir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -4014,6 +4076,8 @@ install-src_backends_xmlrpc_backendLTLIBRARIES: $(src_backends_xmlrpc_backend_LT
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_backends_xmlrpc_backenddir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_backends_xmlrpc_backenddir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_backends_xmlrpc_backenddir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_backends_xmlrpc_backenddir)"; \
        }
@@ -4037,7 +4101,6 @@ clean-src_backends_xmlrpc_backendLTLIBRARIES:
        done
 install-src_gnome_bluetoothLTLIBRARIES: $(src_gnome_bluetooth_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gnome_bluetoothdir)" || $(MKDIR_P) "$(DESTDIR)$(src_gnome_bluetoothdir)"
        @list='$(src_gnome_bluetooth_LTLIBRARIES)'; test -n "$(src_gnome_bluetoothdir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -4045,6 +4108,8 @@ install-src_gnome_bluetoothLTLIBRARIES: $(src_gnome_bluetooth_LTLIBRARIES)
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gnome_bluetoothdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gnome_bluetoothdir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(src_gnome_bluetoothdir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(src_gnome_bluetoothdir)"; \
        }
@@ -4078,7 +4143,7 @@ src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSour
 src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo:  \
        src/backends/activesync/$(am__dirstamp) \
        src/backends/activesync/$(DEPDIR)/$(am__dirstamp)
-src/backends/activesync/syncactivesync.la: $(src_backends_activesync_syncactivesync_la_OBJECTS) $(src_backends_activesync_syncactivesync_la_DEPENDENCIES) src/backends/activesync/$(am__dirstamp)
+src/backends/activesync/syncactivesync.la: $(src_backends_activesync_syncactivesync_la_OBJECTS) $(src_backends_activesync_syncactivesync_la_DEPENDENCIES) $(EXTRA_src_backends_activesync_syncactivesync_la_DEPENDENCIES) src/backends/activesync/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_activesync_syncactivesync_la_LINK) $(am_src_backends_activesync_syncactivesync_la_rpath) $(src_backends_activesync_syncactivesync_la_OBJECTS) $(src_backends_activesync_syncactivesync_la_LIBADD) $(LIBS)
 src/backends/addressbook/$(am__dirstamp):
        @$(MKDIR_P) src/backends/addressbook
@@ -4092,7 +4157,7 @@ src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBook
 src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo:  \
        src/backends/addressbook/$(am__dirstamp) \
        src/backends/addressbook/$(DEPDIR)/$(am__dirstamp)
-src/backends/addressbook/syncaddressbook.la: $(src_backends_addressbook_syncaddressbook_la_OBJECTS) $(src_backends_addressbook_syncaddressbook_la_DEPENDENCIES) src/backends/addressbook/$(am__dirstamp)
+src/backends/addressbook/syncaddressbook.la: $(src_backends_addressbook_syncaddressbook_la_OBJECTS) $(src_backends_addressbook_syncaddressbook_la_DEPENDENCIES) $(EXTRA_src_backends_addressbook_syncaddressbook_la_DEPENDENCIES) src/backends/addressbook/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_addressbook_syncaddressbook_la_LINK) $(am_src_backends_addressbook_syncaddressbook_la_rpath) $(src_backends_addressbook_syncaddressbook_la_OBJECTS) $(src_backends_addressbook_syncaddressbook_la_LIBADD) $(LIBS)
 src/backends/akonadi/$(am__dirstamp):
        @$(MKDIR_P) src/backends/akonadi
@@ -4103,7 +4168,7 @@ src/backends/akonadi/$(DEPDIR)/$(am__dirstamp):
 src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo:  \
        src/backends/akonadi/$(am__dirstamp) \
        src/backends/akonadi/$(DEPDIR)/$(am__dirstamp)
-src/backends/akonadi/syncakonadi.la: $(src_backends_akonadi_syncakonadi_la_OBJECTS) $(src_backends_akonadi_syncakonadi_la_DEPENDENCIES) src/backends/akonadi/$(am__dirstamp)
+src/backends/akonadi/syncakonadi.la: $(src_backends_akonadi_syncakonadi_la_OBJECTS) $(src_backends_akonadi_syncakonadi_la_DEPENDENCIES) $(EXTRA_src_backends_akonadi_syncakonadi_la_DEPENDENCIES) src/backends/akonadi/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_akonadi_syncakonadi_la_LINK) $(am_src_backends_akonadi_syncakonadi_la_rpath) $(src_backends_akonadi_syncakonadi_la_OBJECTS) $(src_backends_akonadi_syncakonadi_la_LIBADD) $(LIBS)
 src/backends/evolution/$(am__dirstamp):
        @$(MKDIR_P) src/backends/evolution
@@ -4117,7 +4182,7 @@ src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.l
 src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo:  \
        src/backends/evolution/$(am__dirstamp) \
        src/backends/evolution/$(DEPDIR)/$(am__dirstamp)
-src/backends/evolution/syncebook.la: $(src_backends_evolution_syncebook_la_OBJECTS) $(src_backends_evolution_syncebook_la_DEPENDENCIES) src/backends/evolution/$(am__dirstamp)
+src/backends/evolution/syncebook.la: $(src_backends_evolution_syncebook_la_OBJECTS) $(src_backends_evolution_syncebook_la_DEPENDENCIES) $(EXTRA_src_backends_evolution_syncebook_la_DEPENDENCIES) src/backends/evolution/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_evolution_syncebook_la_LINK) $(am_src_backends_evolution_syncebook_la_rpath) $(src_backends_evolution_syncebook_la_OBJECTS) $(src_backends_evolution_syncebook_la_LIBADD) $(LIBS)
 src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo:  \
        src/backends/evolution/$(am__dirstamp) \
@@ -4131,7 +4196,7 @@ src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo
 src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo:  \
        src/backends/evolution/$(am__dirstamp) \
        src/backends/evolution/$(DEPDIR)/$(am__dirstamp)
-src/backends/evolution/syncecal.la: $(src_backends_evolution_syncecal_la_OBJECTS) $(src_backends_evolution_syncecal_la_DEPENDENCIES) src/backends/evolution/$(am__dirstamp)
+src/backends/evolution/syncecal.la: $(src_backends_evolution_syncecal_la_OBJECTS) $(src_backends_evolution_syncecal_la_DEPENDENCIES) $(EXTRA_src_backends_evolution_syncecal_la_DEPENDENCIES) src/backends/evolution/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_evolution_syncecal_la_LINK) $(am_src_backends_evolution_syncecal_la_rpath) $(src_backends_evolution_syncecal_la_OBJECTS) $(src_backends_evolution_syncecal_la_LIBADD) $(LIBS)
 src/backends/file/$(am__dirstamp):
        @$(MKDIR_P) src/backends/file
@@ -4142,7 +4207,7 @@ src/backends/file/$(DEPDIR)/$(am__dirstamp):
 src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo:  \
        src/backends/file/$(am__dirstamp) \
        src/backends/file/$(DEPDIR)/$(am__dirstamp)
-src/backends/file/syncfile.la: $(src_backends_file_syncfile_la_OBJECTS) $(src_backends_file_syncfile_la_DEPENDENCIES) src/backends/file/$(am__dirstamp)
+src/backends/file/syncfile.la: $(src_backends_file_syncfile_la_OBJECTS) $(src_backends_file_syncfile_la_DEPENDENCIES) $(EXTRA_src_backends_file_syncfile_la_DEPENDENCIES) src/backends/file/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_file_syncfile_la_LINK) $(am_src_backends_file_syncfile_la_rpath) $(src_backends_file_syncfile_la_OBJECTS) $(src_backends_file_syncfile_la_LIBADD) $(LIBS)
 src/backends/gnome/$(am__dirstamp):
        @$(MKDIR_P) src/backends/gnome
@@ -4156,7 +4221,7 @@ src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo:  \
 src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo:  \
        src/backends/gnome/$(am__dirstamp) \
        src/backends/gnome/$(DEPDIR)/$(am__dirstamp)
-src/backends/gnome/platformgnome.la: $(src_backends_gnome_platformgnome_la_OBJECTS) $(src_backends_gnome_platformgnome_la_DEPENDENCIES) src/backends/gnome/$(am__dirstamp)
+src/backends/gnome/platformgnome.la: $(src_backends_gnome_platformgnome_la_OBJECTS) $(src_backends_gnome_platformgnome_la_DEPENDENCIES) $(EXTRA_src_backends_gnome_platformgnome_la_DEPENDENCIES) src/backends/gnome/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_gnome_platformgnome_la_LINK) $(am_src_backends_gnome_platformgnome_la_rpath) $(src_backends_gnome_platformgnome_la_OBJECTS) $(src_backends_gnome_platformgnome_la_LIBADD) $(LIBS)
 src/backends/kcalextended/$(am__dirstamp):
        @$(MKDIR_P) src/backends/kcalextended
@@ -4167,7 +4232,7 @@ src/backends/kcalextended/$(DEPDIR)/$(am__dirstamp):
 src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo:  \
        src/backends/kcalextended/$(am__dirstamp) \
        src/backends/kcalextended/$(DEPDIR)/$(am__dirstamp)
-src/backends/kcalextended/synckcalextended.la: $(src_backends_kcalextended_synckcalextended_la_OBJECTS) $(src_backends_kcalextended_synckcalextended_la_DEPENDENCIES) src/backends/kcalextended/$(am__dirstamp)
+src/backends/kcalextended/synckcalextended.la: $(src_backends_kcalextended_synckcalextended_la_OBJECTS) $(src_backends_kcalextended_synckcalextended_la_DEPENDENCIES) $(EXTRA_src_backends_kcalextended_synckcalextended_la_DEPENDENCIES) src/backends/kcalextended/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_kcalextended_synckcalextended_la_LINK) $(am_src_backends_kcalextended_synckcalextended_la_rpath) $(src_backends_kcalextended_synckcalextended_la_OBJECTS) $(src_backends_kcalextended_synckcalextended_la_LIBADD) $(LIBS)
 src/backends/kde/$(am__dirstamp):
        @$(MKDIR_P) src/backends/kde
@@ -4181,7 +4246,7 @@ src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo:  \
 src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo:  \
        src/backends/kde/$(am__dirstamp) \
        src/backends/kde/$(DEPDIR)/$(am__dirstamp)
-src/backends/kde/platformkde.la: $(src_backends_kde_platformkde_la_OBJECTS) $(src_backends_kde_platformkde_la_DEPENDENCIES) src/backends/kde/$(am__dirstamp)
+src/backends/kde/platformkde.la: $(src_backends_kde_platformkde_la_OBJECTS) $(src_backends_kde_platformkde_la_DEPENDENCIES) $(EXTRA_src_backends_kde_platformkde_la_DEPENDENCIES) src/backends/kde/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_kde_platformkde_la_LINK) $(am_src_backends_kde_platformkde_la_rpath) $(src_backends_kde_platformkde_la_OBJECTS) $(src_backends_kde_platformkde_la_LIBADD) $(LIBS)
 src/backends/maemo/$(am__dirstamp):
        @$(MKDIR_P) src/backends/maemo
@@ -4192,7 +4257,7 @@ src/backends/maemo/$(DEPDIR)/$(am__dirstamp):
 src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo:  \
        src/backends/maemo/$(am__dirstamp) \
        src/backends/maemo/$(DEPDIR)/$(am__dirstamp)
-src/backends/maemo/syncmaemocal.la: $(src_backends_maemo_syncmaemocal_la_OBJECTS) $(src_backends_maemo_syncmaemocal_la_DEPENDENCIES) src/backends/maemo/$(am__dirstamp)
+src/backends/maemo/syncmaemocal.la: $(src_backends_maemo_syncmaemocal_la_OBJECTS) $(src_backends_maemo_syncmaemocal_la_DEPENDENCIES) $(EXTRA_src_backends_maemo_syncmaemocal_la_DEPENDENCIES) src/backends/maemo/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_maemo_syncmaemocal_la_LINK) $(am_src_backends_maemo_syncmaemocal_la_rpath) $(src_backends_maemo_syncmaemocal_la_OBJECTS) $(src_backends_maemo_syncmaemocal_la_LIBADD) $(LIBS)
 src/backends/pbap/$(am__dirstamp):
        @$(MKDIR_P) src/backends/pbap
@@ -4203,7 +4268,7 @@ src/backends/pbap/$(DEPDIR)/$(am__dirstamp):
 src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo:  \
        src/backends/pbap/$(am__dirstamp) \
        src/backends/pbap/$(DEPDIR)/$(am__dirstamp)
-src/backends/pbap/syncpbap.la: $(src_backends_pbap_syncpbap_la_OBJECTS) $(src_backends_pbap_syncpbap_la_DEPENDENCIES) src/backends/pbap/$(am__dirstamp)
+src/backends/pbap/syncpbap.la: $(src_backends_pbap_syncpbap_la_OBJECTS) $(src_backends_pbap_syncpbap_la_DEPENDENCIES) $(EXTRA_src_backends_pbap_syncpbap_la_DEPENDENCIES) src/backends/pbap/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_pbap_syncpbap_la_LINK) $(am_src_backends_pbap_syncpbap_la_rpath) $(src_backends_pbap_syncpbap_la_OBJECTS) $(src_backends_pbap_syncpbap_la_LIBADD) $(LIBS)
 src/backends/qtcontacts/$(am__dirstamp):
        @$(MKDIR_P) src/backends/qtcontacts
@@ -4214,7 +4279,7 @@ src/backends/qtcontacts/$(DEPDIR)/$(am__dirstamp):
 src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo:  \
        src/backends/qtcontacts/$(am__dirstamp) \
        src/backends/qtcontacts/$(DEPDIR)/$(am__dirstamp)
-src/backends/qtcontacts/syncqtcontacts.la: $(src_backends_qtcontacts_syncqtcontacts_la_OBJECTS) $(src_backends_qtcontacts_syncqtcontacts_la_DEPENDENCIES) src/backends/qtcontacts/$(am__dirstamp)
+src/backends/qtcontacts/syncqtcontacts.la: $(src_backends_qtcontacts_syncqtcontacts_la_OBJECTS) $(src_backends_qtcontacts_syncqtcontacts_la_DEPENDENCIES) $(EXTRA_src_backends_qtcontacts_syncqtcontacts_la_DEPENDENCIES) src/backends/qtcontacts/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_qtcontacts_syncqtcontacts_la_LINK) $(am_src_backends_qtcontacts_syncqtcontacts_la_rpath) $(src_backends_qtcontacts_syncqtcontacts_la_OBJECTS) $(src_backends_qtcontacts_syncqtcontacts_la_LIBADD) $(LIBS)
 src/backends/sqlite/$(am__dirstamp):
        @$(MKDIR_P) src/backends/sqlite
@@ -4228,7 +4293,7 @@ src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo:  \
 src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo:  \
        src/backends/sqlite/$(am__dirstamp) \
        src/backends/sqlite/$(DEPDIR)/$(am__dirstamp)
-src/backends/sqlite/syncsqlite.la: $(src_backends_sqlite_syncsqlite_la_OBJECTS) $(src_backends_sqlite_syncsqlite_la_DEPENDENCIES) src/backends/sqlite/$(am__dirstamp)
+src/backends/sqlite/syncsqlite.la: $(src_backends_sqlite_syncsqlite_la_OBJECTS) $(src_backends_sqlite_syncsqlite_la_DEPENDENCIES) $(EXTRA_src_backends_sqlite_syncsqlite_la_DEPENDENCIES) src/backends/sqlite/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_sqlite_syncsqlite_la_LINK) $(am_src_backends_sqlite_syncsqlite_la_rpath) $(src_backends_sqlite_syncsqlite_la_OBJECTS) $(src_backends_sqlite_syncsqlite_la_LIBADD) $(LIBS)
 src/backends/webdav/$(am__dirstamp):
        @$(MKDIR_P) src/backends/webdav
@@ -4251,7 +4316,7 @@ src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo:  \
 src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo:  \
        src/backends/webdav/$(am__dirstamp) \
        src/backends/webdav/$(DEPDIR)/$(am__dirstamp)
-src/backends/webdav/syncdav.la: $(src_backends_webdav_syncdav_la_OBJECTS) $(src_backends_webdav_syncdav_la_DEPENDENCIES) src/backends/webdav/$(am__dirstamp)
+src/backends/webdav/syncdav.la: $(src_backends_webdav_syncdav_la_OBJECTS) $(src_backends_webdav_syncdav_la_DEPENDENCIES) $(EXTRA_src_backends_webdav_syncdav_la_DEPENDENCIES) src/backends/webdav/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_webdav_syncdav_la_LINK) $(am_src_backends_webdav_syncdav_la_rpath) $(src_backends_webdav_syncdav_la_OBJECTS) $(src_backends_webdav_syncdav_la_LIBADD) $(LIBS)
 src/backends/xmlrpc/$(am__dirstamp):
        @$(MKDIR_P) src/backends/xmlrpc
@@ -4262,7 +4327,7 @@ src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp):
 src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo:  \
        src/backends/xmlrpc/$(am__dirstamp) \
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
-src/backends/xmlrpc/syncxmlrpc.la: $(src_backends_xmlrpc_syncxmlrpc_la_OBJECTS) $(src_backends_xmlrpc_syncxmlrpc_la_DEPENDENCIES) src/backends/xmlrpc/$(am__dirstamp)
+src/backends/xmlrpc/syncxmlrpc.la: $(src_backends_xmlrpc_syncxmlrpc_la_OBJECTS) $(src_backends_xmlrpc_syncxmlrpc_la_DEPENDENCIES) $(EXTRA_src_backends_xmlrpc_syncxmlrpc_la_DEPENDENCIES) src/backends/xmlrpc/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_backends_xmlrpc_syncxmlrpc_la_LINK) $(am_src_backends_xmlrpc_syncxmlrpc_la_rpath) $(src_backends_xmlrpc_syncxmlrpc_la_OBJECTS) $(src_backends_xmlrpc_syncxmlrpc_la_LIBADD) $(LIBS)
 src/dbus/glib/$(am__dirstamp):
        @$(MKDIR_P) src/dbus/glib
@@ -4282,7 +4347,7 @@ src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo:  \
 src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo:  \
        src/dbus/glib/$(am__dirstamp) \
        src/dbus/glib/$(DEPDIR)/$(am__dirstamp)
-src/dbus/glib/libsyncevo-dbus.la: $(src_dbus_glib_libsyncevo_dbus_la_OBJECTS) $(src_dbus_glib_libsyncevo_dbus_la_DEPENDENCIES) src/dbus/glib/$(am__dirstamp)
+src/dbus/glib/libsyncevo-dbus.la: $(src_dbus_glib_libsyncevo_dbus_la_OBJECTS) $(src_dbus_glib_libsyncevo_dbus_la_DEPENDENCIES) $(EXTRA_src_dbus_glib_libsyncevo_dbus_la_DEPENDENCIES) src/dbus/glib/$(am__dirstamp)
        $(AM_V_CCLD)$(src_dbus_glib_libsyncevo_dbus_la_LINK) $(am_src_dbus_glib_libsyncevo_dbus_la_rpath) $(src_dbus_glib_libsyncevo_dbus_la_OBJECTS) $(src_dbus_glib_libsyncevo_dbus_la_LIBADD) $(LIBS)
 src/dbus/qt/$(am__dirstamp):
        @$(MKDIR_P) src/dbus/qt
@@ -4311,7 +4376,7 @@ src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo:
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo:  \
        src/dbus/qt/$(am__dirstamp) \
        src/dbus/qt/$(DEPDIR)/$(am__dirstamp)
-src/dbus/qt/libsyncevolution-qt-dbus.la: $(src_dbus_qt_libsyncevolution_qt_dbus_la_OBJECTS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_DEPENDENCIES) src/dbus/qt/$(am__dirstamp)
+src/dbus/qt/libsyncevolution-qt-dbus.la: $(src_dbus_qt_libsyncevolution_qt_dbus_la_OBJECTS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_DEPENDENCIES) $(EXTRA_src_dbus_qt_libsyncevolution_qt_dbus_la_DEPENDENCIES) src/dbus/qt/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_dbus_qt_libsyncevolution_qt_dbus_la_LINK) $(am_src_dbus_qt_libsyncevolution_qt_dbus_la_rpath) $(src_dbus_qt_libsyncevolution_qt_dbus_la_OBJECTS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_LIBADD) $(LIBS)
 src/dbus/server/$(am__dirstamp):
        @$(MKDIR_P) src/dbus/server
@@ -4334,7 +4399,7 @@ src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo:  \
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo:  \
        src/dbus/server/$(am__dirstamp) \
        src/dbus/server/$(DEPDIR)/$(am__dirstamp)
-src/dbus/server/libsyncevodbushelper.la: $(src_dbus_server_libsyncevodbushelper_la_OBJECTS) $(src_dbus_server_libsyncevodbushelper_la_DEPENDENCIES) src/dbus/server/$(am__dirstamp)
+src/dbus/server/libsyncevodbushelper.la: $(src_dbus_server_libsyncevodbushelper_la_OBJECTS) $(src_dbus_server_libsyncevodbushelper_la_DEPENDENCIES) $(EXTRA_src_dbus_server_libsyncevodbushelper_la_DEPENDENCIES) src/dbus/server/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_dbus_server_libsyncevodbushelper_la_LINK) $(am_src_dbus_server_libsyncevodbushelper_la_rpath) $(src_dbus_server_libsyncevodbushelper_la_OBJECTS) $(src_dbus_server_libsyncevodbushelper_la_LIBADD) $(LIBS)
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo:  \
        src/dbus/server/$(am__dirstamp) \
@@ -4411,6 +4476,9 @@ src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo:  \
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo:  \
        src/dbus/server/pim/$(am__dirstamp) \
        src/dbus/server/pim/$(DEPDIR)/$(am__dirstamp)
+src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo:  \
+       src/dbus/server/pim/$(am__dirstamp) \
+       src/dbus/server/pim/$(DEPDIR)/$(am__dirstamp)
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo:  \
        src/dbus/server/pim/$(am__dirstamp) \
        src/dbus/server/pim/$(DEPDIR)/$(am__dirstamp)
@@ -4429,7 +4497,7 @@ src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo:  \
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo:  \
        src/dbus/server/pim/$(am__dirstamp) \
        src/dbus/server/pim/$(DEPDIR)/$(am__dirstamp)
-src/dbus/server/libsyncevodbusserver.la: $(src_dbus_server_libsyncevodbusserver_la_OBJECTS) $(src_dbus_server_libsyncevodbusserver_la_DEPENDENCIES) src/dbus/server/$(am__dirstamp)
+src/dbus/server/libsyncevodbusserver.la: $(src_dbus_server_libsyncevodbusserver_la_OBJECTS) $(src_dbus_server_libsyncevodbusserver_la_DEPENDENCIES) $(EXTRA_src_dbus_server_libsyncevodbusserver_la_DEPENDENCIES) src/dbus/server/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_dbus_server_libsyncevodbusserver_la_LINK) $(am_src_dbus_server_libsyncevodbusserver_la_rpath) $(src_dbus_server_libsyncevodbusserver_la_OBJECTS) $(src_dbus_server_libsyncevodbusserver_la_LIBADD) $(LIBS)
 src/gdbus/$(am__dirstamp):
        @$(MKDIR_P) src/gdbus
@@ -4447,7 +4515,7 @@ src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo:  \
        src/gdbus/$(am__dirstamp) src/gdbus/$(DEPDIR)/$(am__dirstamp)
 src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo:  \
        src/gdbus/$(am__dirstamp) src/gdbus/$(DEPDIR)/$(am__dirstamp)
-src/gdbus/libgdbussyncevo.la: $(src_gdbus_libgdbussyncevo_la_OBJECTS) $(src_gdbus_libgdbussyncevo_la_DEPENDENCIES) src/gdbus/$(am__dirstamp)
+src/gdbus/libgdbussyncevo.la: $(src_gdbus_libgdbussyncevo_la_OBJECTS) $(src_gdbus_libgdbussyncevo_la_DEPENDENCIES) $(EXTRA_src_gdbus_libgdbussyncevo_la_DEPENDENCIES) src/gdbus/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_gdbus_libgdbussyncevo_la_LINK) $(am_src_gdbus_libgdbussyncevo_la_rpath) $(src_gdbus_libgdbussyncevo_la_OBJECTS) $(src_gdbus_libgdbussyncevo_la_LIBADD) $(LIBS)
 src/gdbusxx/$(am__dirstamp):
        @$(MKDIR_P) src/gdbusxx
@@ -4458,7 +4526,7 @@ src/gdbusxx/$(DEPDIR)/$(am__dirstamp):
 src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo:  \
        src/gdbusxx/$(am__dirstamp) \
        src/gdbusxx/$(DEPDIR)/$(am__dirstamp)
-src/gdbusxx/libgdbussyncevo.la: $(src_gdbusxx_libgdbussyncevo_la_OBJECTS) $(src_gdbusxx_libgdbussyncevo_la_DEPENDENCIES) src/gdbusxx/$(am__dirstamp)
+src/gdbusxx/libgdbussyncevo.la: $(src_gdbusxx_libgdbussyncevo_la_OBJECTS) $(src_gdbusxx_libgdbussyncevo_la_DEPENDENCIES) $(EXTRA_src_gdbusxx_libgdbussyncevo_la_DEPENDENCIES) src/gdbusxx/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_gdbusxx_libgdbussyncevo_la_LINK) $(am_src_gdbusxx_libgdbussyncevo_la_rpath) $(src_gdbusxx_libgdbussyncevo_la_OBJECTS) $(src_gdbusxx_libgdbussyncevo_la_LIBADD) $(LIBS)
 src/gnome-bluetooth/$(am__dirstamp):
        @$(MKDIR_P) src/gnome-bluetooth
@@ -4469,7 +4537,7 @@ src/gnome-bluetooth/$(DEPDIR)/$(am__dirstamp):
 src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo:  \
        src/gnome-bluetooth/$(am__dirstamp) \
        src/gnome-bluetooth/$(DEPDIR)/$(am__dirstamp)
-src/gnome-bluetooth/libgbtsyncevolution.la: $(src_gnome_bluetooth_libgbtsyncevolution_la_OBJECTS) $(src_gnome_bluetooth_libgbtsyncevolution_la_DEPENDENCIES) src/gnome-bluetooth/$(am__dirstamp)
+src/gnome-bluetooth/libgbtsyncevolution.la: $(src_gnome_bluetooth_libgbtsyncevolution_la_OBJECTS) $(src_gnome_bluetooth_libgbtsyncevolution_la_DEPENDENCIES) $(EXTRA_src_gnome_bluetooth_libgbtsyncevolution_la_DEPENDENCIES) src/gnome-bluetooth/$(am__dirstamp)
        $(AM_V_CCLD)$(src_gnome_bluetooth_libgbtsyncevolution_la_LINK) $(am_src_gnome_bluetooth_libgbtsyncevolution_la_rpath) $(src_gnome_bluetooth_libgbtsyncevolution_la_OBJECTS) $(src_gnome_bluetooth_libgbtsyncevolution_la_LIBADD) $(LIBS)
 src/syncevo/$(am__dirstamp):
        @$(MKDIR_P) src/syncevo
@@ -4603,12 +4671,15 @@ src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo:  \
 src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo:  \
        src/syncevo/$(am__dirstamp) \
        src/syncevo/$(DEPDIR)/$(am__dirstamp)
-src/syncevo/libsyncevolution.la: $(src_syncevo_libsyncevolution_la_OBJECTS) $(src_syncevo_libsyncevolution_la_DEPENDENCIES) src/syncevo/$(am__dirstamp)
+src/syncevo/libsyncevolution.la: $(src_syncevo_libsyncevolution_la_OBJECTS) $(src_syncevo_libsyncevolution_la_DEPENDENCIES) $(EXTRA_src_syncevo_libsyncevolution_la_DEPENDENCIES) src/syncevo/$(am__dirstamp)
        $(AM_V_CXXLD)$(src_syncevo_libsyncevolution_la_LINK) $(am_src_syncevo_libsyncevolution_la_rpath) $(src_syncevo_libsyncevolution_la_OBJECTS) $(src_syncevo_libsyncevolution_la_LIBADD) $(LIBS)
 install-binPROGRAMS: $(bin_PROGRAMS)
        @$(NORMAL_INSTALL)
-       test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
        @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+       fi; \
        for p in $$list; do echo "$$p $$p"; done | \
        sed 's/$(EXEEXT)$$//' | \
        while read p p1; do if test -f $$p || test -f $$p1; \
@@ -4650,8 +4721,11 @@ clean-binPROGRAMS:
        rm -f $$list
 install-libexecPROGRAMS: $(libexec_PROGRAMS)
        @$(NORMAL_INSTALL)
-       test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
        @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
+       fi; \
        for p in $$list; do echo "$$p $$p"; done | \
        sed 's/$(EXEEXT)$$//' | \
        while read p p1; do if test -f $$p || test -f $$p1; \
@@ -4711,7 +4785,7 @@ test/src_abort_redirect-abort-redirect.$(OBJEXT):  \
 src/$(am__dirstamp):
        @$(MKDIR_P) src
        @: > src/$(am__dirstamp)
-src/abort-redirect$(EXEEXT): $(src_abort_redirect_OBJECTS) $(src_abort_redirect_DEPENDENCIES) src/$(am__dirstamp)
+src/abort-redirect$(EXEEXT): $(src_abort_redirect_OBJECTS) $(src_abort_redirect_DEPENDENCIES) $(EXTRA_src_abort_redirect_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/abort-redirect$(EXEEXT)
        $(AM_V_CXXLD)$(src_abort_redirect_LINK) $(src_abort_redirect_OBJECTS) $(src_abort_redirect_LDADD) $(LIBS)
 src/$(DEPDIR)/$(am__dirstamp):
@@ -4770,13 +4844,13 @@ src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.$(OBJEXT):  \
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
 test/src_client_test-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-src/client-test$(EXEEXT): $(src_client_test_OBJECTS) $(src_client_test_DEPENDENCIES) src/$(am__dirstamp)
+src/client-test$(EXEEXT): $(src_client_test_OBJECTS) $(src_client_test_DEPENDENCIES) $(EXTRA_src_client_test_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/client-test$(EXEEXT)
        $(AM_V_CXXLD)$(src_client_test_LINK) $(src_client_test_OBJECTS) $(src_client_test_LDADD) $(LIBS)
 src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.$(OBJEXT):  \
        src/dbus/glib/$(am__dirstamp) \
        src/dbus/glib/$(DEPDIR)/$(am__dirstamp)
-src/dbus/glib/test-syncevo-dbus$(EXEEXT): $(src_dbus_glib_test_syncevo_dbus_OBJECTS) $(src_dbus_glib_test_syncevo_dbus_DEPENDENCIES) src/dbus/glib/$(am__dirstamp)
+src/dbus/glib/test-syncevo-dbus$(EXEEXT): $(src_dbus_glib_test_syncevo_dbus_OBJECTS) $(src_dbus_glib_test_syncevo_dbus_DEPENDENCIES) $(EXTRA_src_dbus_glib_test_syncevo_dbus_DEPENDENCIES) src/dbus/glib/$(am__dirstamp)
        @rm -f src/dbus/glib/test-syncevo-dbus$(EXEEXT)
        $(AM_V_CCLD)$(src_dbus_glib_test_syncevo_dbus_LINK) $(src_dbus_glib_test_syncevo_dbus_OBJECTS) $(src_dbus_glib_test_syncevo_dbus_LDADD) $(LIBS)
 src/gdbus/test/$(am__dirstamp):
@@ -4788,7 +4862,7 @@ src/gdbus/test/$(DEPDIR)/$(am__dirstamp):
 src/gdbus/test/src_gdbus_example-example.$(OBJEXT):  \
        src/gdbus/test/$(am__dirstamp) \
        src/gdbus/test/$(DEPDIR)/$(am__dirstamp)
-src/gdbus/example$(EXEEXT): $(src_gdbus_example_OBJECTS) $(src_gdbus_example_DEPENDENCIES) src/gdbus/$(am__dirstamp)
+src/gdbus/example$(EXEEXT): $(src_gdbus_example_OBJECTS) $(src_gdbus_example_DEPENDENCIES) $(EXTRA_src_gdbus_example_DEPENDENCIES) src/gdbus/$(am__dirstamp)
        @rm -f src/gdbus/example$(EXEEXT)
        $(AM_V_CXXLD)$(src_gdbus_example_LINK) $(src_gdbus_example_OBJECTS) $(src_gdbus_example_LDADD) $(LIBS)
 src/gdbusxx/test/$(am__dirstamp):
@@ -4800,7 +4874,7 @@ src/gdbusxx/test/$(DEPDIR)/$(am__dirstamp):
 src/gdbusxx/test/src_gdbusxx_example-example.$(OBJEXT):  \
        src/gdbusxx/test/$(am__dirstamp) \
        src/gdbusxx/test/$(DEPDIR)/$(am__dirstamp)
-src/gdbusxx/example$(EXEEXT): $(src_gdbusxx_example_OBJECTS) $(src_gdbusxx_example_DEPENDENCIES) src/gdbusxx/$(am__dirstamp)
+src/gdbusxx/example$(EXEEXT): $(src_gdbusxx_example_OBJECTS) $(src_gdbusxx_example_DEPENDENCIES) $(EXTRA_src_gdbusxx_example_DEPENDENCIES) src/gdbusxx/$(am__dirstamp)
        @rm -f src/gdbusxx/example$(EXEEXT)
        $(AM_V_CXXLD)$(src_gdbusxx_example_LINK) $(src_gdbusxx_example_OBJECTS) $(src_gdbusxx_example_LDADD) $(LIBS)
 src/gtk-ui/$(am__dirstamp):
@@ -4827,7 +4901,7 @@ src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.$(OBJEXT):  \
 src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.$(OBJEXT):  \
        src/gtk-ui/$(am__dirstamp) \
        src/gtk-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk-ui/sync-ui$(EXEEXT): $(src_gtk_ui_sync_ui_OBJECTS) $(src_gtk_ui_sync_ui_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
+src/gtk-ui/sync-ui$(EXEEXT): $(src_gtk_ui_sync_ui_OBJECTS) $(src_gtk_ui_sync_ui_DEPENDENCIES) $(EXTRA_src_gtk_ui_sync_ui_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
        @rm -f src/gtk-ui/sync-ui$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk_ui_sync_ui_LINK) $(src_gtk_ui_sync_ui_OBJECTS) $(src_gtk_ui_sync_ui_LDADD) $(LIBS)
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.$(OBJEXT):  \
@@ -4848,7 +4922,7 @@ src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.$(OBJEXT):  \
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.$(OBJEXT):  \
        src/gtk-ui/$(am__dirstamp) \
        src/gtk-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk-ui/sync-ui-gtk$(EXEEXT): $(src_gtk_ui_sync_ui_gtk_OBJECTS) $(src_gtk_ui_sync_ui_gtk_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
+src/gtk-ui/sync-ui-gtk$(EXEEXT): $(src_gtk_ui_sync_ui_gtk_OBJECTS) $(src_gtk_ui_sync_ui_gtk_DEPENDENCIES) $(EXTRA_src_gtk_ui_sync_ui_gtk_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
        @rm -f src/gtk-ui/sync-ui-gtk$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk_ui_sync_ui_gtk_LINK) $(src_gtk_ui_sync_ui_gtk_OBJECTS) $(src_gtk_ui_sync_ui_gtk_LDADD) $(LIBS)
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.$(OBJEXT):  \
@@ -4869,7 +4943,7 @@ src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.$(OBJEXT):  \
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.$(OBJEXT):  \
        src/gtk-ui/$(am__dirstamp) \
        src/gtk-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk-ui/sync-ui-moblin$(EXEEXT): $(src_gtk_ui_sync_ui_moblin_OBJECTS) $(src_gtk_ui_sync_ui_moblin_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
+src/gtk-ui/sync-ui-moblin$(EXEEXT): $(src_gtk_ui_sync_ui_moblin_OBJECTS) $(src_gtk_ui_sync_ui_moblin_DEPENDENCIES) $(EXTRA_src_gtk_ui_sync_ui_moblin_DEPENDENCIES) src/gtk-ui/$(am__dirstamp)
        @rm -f src/gtk-ui/sync-ui-moblin$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk_ui_sync_ui_moblin_LINK) $(src_gtk_ui_sync_ui_moblin_OBJECTS) $(src_gtk_ui_sync_ui_moblin_LDADD) $(LIBS)
 src/gtk3-ui/$(am__dirstamp):
@@ -4893,7 +4967,7 @@ src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.$(OBJEXT):  \
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.$(OBJEXT):  \
        src/gtk3-ui/$(am__dirstamp) \
        src/gtk3-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk3-ui/sync-ui$(EXEEXT): $(src_gtk3_ui_sync_ui_OBJECTS) $(src_gtk3_ui_sync_ui_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
+src/gtk3-ui/sync-ui$(EXEEXT): $(src_gtk3_ui_sync_ui_OBJECTS) $(src_gtk3_ui_sync_ui_DEPENDENCIES) $(EXTRA_src_gtk3_ui_sync_ui_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
        @rm -f src/gtk3-ui/sync-ui$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk3_ui_sync_ui_LINK) $(src_gtk3_ui_sync_ui_OBJECTS) $(src_gtk3_ui_sync_ui_LDADD) $(LIBS)
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.$(OBJEXT):  \
@@ -4911,7 +4985,7 @@ src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.$(OBJEXT):  \
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.$(OBJEXT):  \
        src/gtk3-ui/$(am__dirstamp) \
        src/gtk3-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk3-ui/sync-ui-gtk$(EXEEXT): $(src_gtk3_ui_sync_ui_gtk_OBJECTS) $(src_gtk3_ui_sync_ui_gtk_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
+src/gtk3-ui/sync-ui-gtk$(EXEEXT): $(src_gtk3_ui_sync_ui_gtk_OBJECTS) $(src_gtk3_ui_sync_ui_gtk_DEPENDENCIES) $(EXTRA_src_gtk3_ui_sync_ui_gtk_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
        @rm -f src/gtk3-ui/sync-ui-gtk$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk3_ui_sync_ui_gtk_LINK) $(src_gtk3_ui_sync_ui_gtk_OBJECTS) $(src_gtk3_ui_sync_ui_gtk_LDADD) $(LIBS)
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.$(OBJEXT):  \
@@ -4929,7 +5003,7 @@ src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.$(OBJEXT):  \
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.$(OBJEXT):  \
        src/gtk3-ui/$(am__dirstamp) \
        src/gtk3-ui/$(DEPDIR)/$(am__dirstamp)
-src/gtk3-ui/sync-ui-moblin$(EXEEXT): $(src_gtk3_ui_sync_ui_moblin_OBJECTS) $(src_gtk3_ui_sync_ui_moblin_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
+src/gtk3-ui/sync-ui-moblin$(EXEEXT): $(src_gtk3_ui_sync_ui_moblin_OBJECTS) $(src_gtk3_ui_sync_ui_moblin_DEPENDENCIES) $(EXTRA_src_gtk3_ui_sync_ui_moblin_DEPENDENCIES) src/gtk3-ui/$(am__dirstamp)
        @rm -f src/gtk3-ui/sync-ui-moblin$(EXEEXT)
        $(AM_V_CCLD)$(src_gtk3_ui_sync_ui_moblin_LINK) $(src_gtk3_ui_sync_ui_moblin_OBJECTS) $(src_gtk3_ui_sync_ui_moblin_LDADD) $(LIBS)
 src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.$(OBJEXT):  \
@@ -4979,7 +5053,7 @@ src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.$(OBJEXT):
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
 test/src_syncevo_dbus_helper-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-src/syncevo-dbus-helper$(EXEEXT): $(src_syncevo_dbus_helper_OBJECTS) $(src_syncevo_dbus_helper_DEPENDENCIES) src/$(am__dirstamp)
+src/syncevo-dbus-helper$(EXEEXT): $(src_syncevo_dbus_helper_OBJECTS) $(src_syncevo_dbus_helper_DEPENDENCIES) $(EXTRA_src_syncevo_dbus_helper_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/syncevo-dbus-helper$(EXEEXT)
        $(AM_V_CXXLD)$(src_syncevo_dbus_helper_LINK) $(src_syncevo_dbus_helper_OBJECTS) $(src_syncevo_dbus_helper_LDADD) $(LIBS)
 src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.$(OBJEXT):  \
@@ -5029,7 +5103,7 @@ src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.$(OBJEXT):
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
 test/src_syncevo_dbus_server-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-src/syncevo-dbus-server$(EXEEXT): $(src_syncevo_dbus_server_OBJECTS) $(src_syncevo_dbus_server_DEPENDENCIES) src/$(am__dirstamp)
+src/syncevo-dbus-server$(EXEEXT): $(src_syncevo_dbus_server_OBJECTS) $(src_syncevo_dbus_server_DEPENDENCIES) $(EXTRA_src_syncevo_dbus_server_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/syncevo-dbus-server$(EXEEXT)
        $(AM_V_CXXLD)$(src_syncevo_dbus_server_LINK) $(src_syncevo_dbus_server_OBJECTS) $(src_syncevo_dbus_server_LDADD) $(LIBS)
 src/src_syncevo_local_sync-syncevo-local-sync.$(OBJEXT):  \
@@ -5081,7 +5155,7 @@ src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.$(OBJEXT):
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
 test/src_syncevo_local_sync-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-src/syncevo-local-sync$(EXEEXT): $(src_syncevo_local_sync_OBJECTS) $(src_syncevo_local_sync_DEPENDENCIES) src/$(am__dirstamp)
+src/syncevo-local-sync$(EXEEXT): $(src_syncevo_local_sync_OBJECTS) $(src_syncevo_local_sync_DEPENDENCIES) $(EXTRA_src_syncevo_local_sync_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/syncevo-local-sync$(EXEEXT)
        $(AM_V_CXXLD)$(src_syncevo_local_sync_LINK) $(src_syncevo_local_sync_OBJECTS) $(src_syncevo_local_sync_LDADD) $(LIBS)
 src/src_syncevolution-syncevolution.$(OBJEXT): src/$(am__dirstamp) \
@@ -5133,20 +5207,23 @@ src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.$(OBJEXT):  \
        src/backends/xmlrpc/$(DEPDIR)/$(am__dirstamp)
 test/src_syncevolution-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-src/syncevolution$(EXEEXT): $(src_syncevolution_OBJECTS) $(src_syncevolution_DEPENDENCIES) src/$(am__dirstamp)
+src/syncevolution$(EXEEXT): $(src_syncevolution_OBJECTS) $(src_syncevolution_DEPENDENCIES) $(EXTRA_src_syncevolution_DEPENDENCIES) src/$(am__dirstamp)
        @rm -f src/syncevolution$(EXEEXT)
        $(AM_V_CXXLD)$(src_syncevolution_LINK) $(src_syncevolution_OBJECTS) $(src_syncevolution_LDADD) $(LIBS)
 test/test_dbus_client_server-dbus-client-server.$(OBJEXT):  \
        test/$(am__dirstamp) test/$(DEPDIR)/$(am__dirstamp)
 test/test_dbus_client_server-test.$(OBJEXT): test/$(am__dirstamp) \
        test/$(DEPDIR)/$(am__dirstamp)
-test/dbus-client-server$(EXEEXT): $(test_dbus_client_server_OBJECTS) $(test_dbus_client_server_DEPENDENCIES) test/$(am__dirstamp)
+test/dbus-client-server$(EXEEXT): $(test_dbus_client_server_OBJECTS) $(test_dbus_client_server_DEPENDENCIES) $(EXTRA_test_dbus_client_server_DEPENDENCIES) test/$(am__dirstamp)
        @rm -f test/dbus-client-server$(EXEEXT)
        $(AM_V_CXXLD)$(test_dbus_client_server_LINK) $(test_dbus_client_server_OBJECTS) $(test_dbus_client_server_LDADD) $(LIBS)
 install-binSCRIPTS: $(bin_SCRIPTS)
        @$(NORMAL_INSTALL)
-       test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
        @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
@@ -5174,13 +5251,14 @@ uninstall-binSCRIPTS:
        @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
        files=`for p in $$list; do echo "$$p"; done | \
               sed -e 's,.*/,,;$(transform)'`; \
-       test -n "$$list" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(bindir)" && rm -f $$files
+       dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_xmlSCRIPTS: $(dist_src_syncevo_configs_xml_SCRIPTS)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_xmldir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_xmldir)"
        @list='$(dist_src_syncevo_configs_xml_SCRIPTS)'; test -n "$(src_syncevo_configs_xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_xmldir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
@@ -5208,13 +5286,14 @@ uninstall-dist_src_syncevo_configs_xmlSCRIPTS:
        @list='$(dist_src_syncevo_configs_xml_SCRIPTS)'; test -n "$(src_syncevo_configs_xmldir)" || exit 0; \
        files=`for p in $$list; do echo "$$p"; done | \
               sed -e 's,.*/,,;$(transform)'`; \
-       test -n "$$list" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_xmldir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_xmldir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_xmldir)'; $(am__uninstall_files_from_dir)
 install-libexecSCRIPTS: $(libexec_SCRIPTS)
        @$(NORMAL_INSTALL)
-       test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
        @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
@@ -5242,13 +5321,14 @@ uninstall-libexecSCRIPTS:
        @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
        files=`for p in $$list; do echo "$$p"; done | \
               sed -e 's,.*/,,;$(transform)'`; \
-       test -n "$$list" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
+       dir='$(DESTDIR)$(libexecdir)'; $(am__uninstall_files_from_dir)
 install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS)
        @$(NORMAL_INSTALL)
-       test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
        @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
@@ -5276,9 +5356,7 @@ uninstall-nodist_binSCRIPTS:
        @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
        files=`for p in $$list; do echo "$$p"; done | \
               sed -e 's,.*/,,;$(transform)'`; \
-       test -n "$$list" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(bindir)" && rm -f $$files
+       dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
@@ -5448,6 +5526,8 @@ mostlyclean-compile:
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.$(OBJEXT)
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo
+       -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.$(OBJEXT)
+       -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.$(OBJEXT)
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo
        -rm -f src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.$(OBJEXT)
@@ -5803,6 +5883,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-full-view.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-individual-traits.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-manager.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-merge-view.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-view.Plo@am__quote@
@@ -5905,3015 +5986,2646 @@ distclean-compile:
 @am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 @am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c -o $@ $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
 @am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
 @am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
 @am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 @am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
 
 src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo: src/backends/evolution/e-cal-check-timezones.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-e-cal-check-timezones.Tpo -c -o src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo `test -f 'src/backends/evolution/e-cal-check-timezones.c' || echo '$(srcdir)/'`src/backends/evolution/e-cal-check-timezones.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-e-cal-check-timezones.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-e-cal-check-timezones.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/backends/evolution/e-cal-check-timezones.c' object='src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/backends/evolution/e-cal-check-timezones.c' object='src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo `test -f 'src/backends/evolution/e-cal-check-timezones.c' || echo '$(srcdir)/'`src/backends/evolution/e-cal-check-timezones.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-e-cal-check-timezones.lo `test -f 'src/backends/evolution/e-cal-check-timezones.c' || echo '$(srcdir)/'`src/backends/evolution/e-cal-check-timezones.c
 
 src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo: src/dbus/glib/syncevo-dbus-types.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.Tpo -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo `test -f 'src/dbus/glib/syncevo-dbus-types.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-dbus-types.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/syncevo-dbus-types.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/syncevo-dbus-types.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo `test -f 'src/dbus/glib/syncevo-dbus-types.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-dbus-types.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-dbus-types.lo `test -f 'src/dbus/glib/syncevo-dbus-types.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-dbus-types.c
 
 src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo: src/dbus/glib/syncevo-server.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.Tpo -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo `test -f 'src/dbus/glib/syncevo-server.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-server.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/syncevo-server.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/syncevo-server.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo `test -f 'src/dbus/glib/syncevo-server.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-server.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-server.lo `test -f 'src/dbus/glib/syncevo-server.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-server.c
 
 src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo: src/dbus/glib/syncevo-session.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.Tpo -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo `test -f 'src/dbus/glib/syncevo-session.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-session.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/syncevo-session.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/syncevo-session.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo `test -f 'src/dbus/glib/syncevo-session.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-session.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-session.lo `test -f 'src/dbus/glib/syncevo-session.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-session.c
 
 src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo: src/dbus/glib/syncevo-marshal.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.Tpo -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo `test -f 'src/dbus/glib/syncevo-marshal.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-marshal.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/syncevo-marshal.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/syncevo-marshal.c' object='src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo `test -f 'src/dbus/glib/syncevo-marshal.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-marshal.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_libsyncevo_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_libsyncevo_dbus_la_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_libsyncevo_dbus_la-syncevo-marshal.lo `test -f 'src/dbus/glib/syncevo-marshal.c' || echo '$(srcdir)/'`src/dbus/glib/syncevo-marshal.c
 
 src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo: src/gdbus/debug.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -MT src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo -MD -MP -MF src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-debug.Tpo -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo `test -f 'src/gdbus/debug.c' || echo '$(srcdir)/'`src/gdbus/debug.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-debug.Tpo src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-debug.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gdbus/debug.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gdbus/debug.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo `test -f 'src/gdbus/debug.c' || echo '$(srcdir)/'`src/gdbus/debug.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-debug.lo `test -f 'src/gdbus/debug.c' || echo '$(srcdir)/'`src/gdbus/debug.c
 
 src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo: src/gdbus/mainloop.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -MT src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo -MD -MP -MF src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-mainloop.Tpo -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo `test -f 'src/gdbus/mainloop.c' || echo '$(srcdir)/'`src/gdbus/mainloop.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-mainloop.Tpo src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-mainloop.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gdbus/mainloop.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gdbus/mainloop.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo `test -f 'src/gdbus/mainloop.c' || echo '$(srcdir)/'`src/gdbus/mainloop.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-mainloop.lo `test -f 'src/gdbus/mainloop.c' || echo '$(srcdir)/'`src/gdbus/mainloop.c
 
 src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo: src/gdbus/object.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -MT src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo -MD -MP -MF src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-object.Tpo -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo `test -f 'src/gdbus/object.c' || echo '$(srcdir)/'`src/gdbus/object.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-object.Tpo src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-object.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gdbus/object.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gdbus/object.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo `test -f 'src/gdbus/object.c' || echo '$(srcdir)/'`src/gdbus/object.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-object.lo `test -f 'src/gdbus/object.c' || echo '$(srcdir)/'`src/gdbus/object.c
 
 src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo: src/gdbus/watch.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -MT src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo -MD -MP -MF src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-watch.Tpo -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo `test -f 'src/gdbus/watch.c' || echo '$(srcdir)/'`src/gdbus/watch.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-watch.Tpo src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-watch.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gdbus/watch.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gdbus/watch.c' object='src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo `test -f 'src/gdbus/watch.c' || echo '$(srcdir)/'`src/gdbus/watch.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CFLAGS) $(CFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-watch.lo `test -f 'src/gdbus/watch.c' || echo '$(srcdir)/'`src/gdbus/watch.c
 
 src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo: src/gnome-bluetooth/syncevolution.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gnome_bluetooth_libgbtsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_gnome_bluetooth_libgbtsyncevolution_la_CFLAGS) $(CFLAGS) -MT src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo -MD -MP -MF src/gnome-bluetooth/$(DEPDIR)/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.Tpo -c -o src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo `test -f 'src/gnome-bluetooth/syncevolution.c' || echo '$(srcdir)/'`src/gnome-bluetooth/syncevolution.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gnome-bluetooth/$(DEPDIR)/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.Tpo src/gnome-bluetooth/$(DEPDIR)/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gnome-bluetooth/syncevolution.c' object='src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gnome-bluetooth/syncevolution.c' object='src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gnome_bluetooth_libgbtsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_gnome_bluetooth_libgbtsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo `test -f 'src/gnome-bluetooth/syncevolution.c' || echo '$(srcdir)/'`src/gnome-bluetooth/syncevolution.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gnome_bluetooth_libgbtsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_gnome_bluetooth_libgbtsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/gnome-bluetooth/src_gnome_bluetooth_libgbtsyncevolution_la-syncevolution.lo `test -f 'src/gnome-bluetooth/syncevolution.c' || echo '$(srcdir)/'`src/gnome-bluetooth/syncevolution.c
 
 src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo: src/syncevo/icalstrdup.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-icalstrdup.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo `test -f 'src/syncevo/icalstrdup.c' || echo '$(srcdir)/'`src/syncevo/icalstrdup.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-icalstrdup.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-icalstrdup.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/syncevo/icalstrdup.c' object='src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/syncevo/icalstrdup.c' object='src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo `test -f 'src/syncevo/icalstrdup.c' || echo '$(srcdir)/'`src/syncevo/icalstrdup.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-icalstrdup.lo `test -f 'src/syncevo/icalstrdup.c' || echo '$(srcdir)/'`src/syncevo/icalstrdup.c
 
 src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo: src/syncevo/SyncEvolutionXML.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncEvolutionXML.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo `test -f 'src/syncevo/SyncEvolutionXML.c' || echo '$(srcdir)/'`src/syncevo/SyncEvolutionXML.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncEvolutionXML.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncEvolutionXML.Plo
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/syncevo/SyncEvolutionXML.c' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/syncevo/SyncEvolutionXML.c' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo `test -f 'src/syncevo/SyncEvolutionXML.c' || echo '$(srcdir)/'`src/syncevo/SyncEvolutionXML.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CFLAGS) $(CFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncEvolutionXML.lo `test -f 'src/syncevo/SyncEvolutionXML.c' || echo '$(srcdir)/'`src/syncevo/SyncEvolutionXML.c
 
 src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o: src/dbus/glib/test.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Tpo -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o `test -f 'src/dbus/glib/test.c' || echo '$(srcdir)/'`src/dbus/glib/test.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/test.c' object='src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/test.c' object='src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o `test -f 'src/dbus/glib/test.c' || echo '$(srcdir)/'`src/dbus/glib/test.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.o `test -f 'src/dbus/glib/test.c' || echo '$(srcdir)/'`src/dbus/glib/test.c
 
 src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj: src/dbus/glib/test.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -MT src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj -MD -MP -MF src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Tpo -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj `if test -f 'src/dbus/glib/test.c'; then $(CYGPATH_W) 'src/dbus/glib/test.c'; else $(CYGPATH_W) '$(srcdir)/src/dbus/glib/test.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Tpo src/dbus/glib/$(DEPDIR)/src_dbus_glib_test_syncevo_dbus-test.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/dbus/glib/test.c' object='src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/dbus/glib/test.c' object='src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj `if test -f 'src/dbus/glib/test.c'; then $(CYGPATH_W) 'src/dbus/glib/test.c'; else $(CYGPATH_W) '$(srcdir)/src/dbus/glib/test.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_glib_test_syncevo_dbus_CPPFLAGS) $(CPPFLAGS) $(src_dbus_glib_test_syncevo_dbus_CFLAGS) $(CFLAGS) -c -o src/dbus/glib/src_dbus_glib_test_syncevo_dbus-test.obj `if test -f 'src/dbus/glib/test.c'; then $(CYGPATH_W) 'src/dbus/glib/test.c'; else $(CYGPATH_W) '$(srcdir)/src/dbus/glib/test.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-main.o: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-main.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-main.obj: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-main.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 
 src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_gtk-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_gtk-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.o `test -f 'src/gtk-ui/main.c' || echo '$(srcdir)/'`src/gtk-ui/main.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj: src/gtk-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/main.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk-ui/main.c'; then $(CYGPATH_W) 'src/gtk-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/main.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj: src/gtk-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk-ui/sync-ui-config.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj: src/gtk-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-ui-config.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-ui-config.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk-ui/mux-frame.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj: src/gtk-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/mux-frame.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/mux-frame.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk-ui/sync-config-widget.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj: src/gtk-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/sync-config-widget.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/sync-config-widget.c'; fi`
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.o `test -f 'src/gtk-ui/gtkinfobar.c' || echo '$(srcdir)/'`src/gtk-ui/gtkinfobar.c
 
 src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj: src/gtk-ui/gtkinfobar.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj -MD -MP -MF src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Tpo -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Tpo src/gtk-ui/$(DEPDIR)/src_gtk_ui_sync_ui_moblin-gtkinfobar.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk-ui/gtkinfobar.c' object='src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk-ui/src_gtk_ui_sync_ui_moblin-gtkinfobar.obj `if test -f 'src/gtk-ui/gtkinfobar.c'; then $(CYGPATH_W) 'src/gtk-ui/gtkinfobar.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk-ui/gtkinfobar.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-main.o: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-main.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_gtk-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_gtk_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_gtk_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_gtk-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.o `test -f 'src/gtk3-ui/main.c' || echo '$(srcdir)/'`src/gtk3-ui/main.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj: src/gtk3-ui/main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-main.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/main.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-main.obj `if test -f 'src/gtk3-ui/main.c'; then $(CYGPATH_W) 'src/gtk3-ui/main.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/main.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.o `test -f 'src/gtk3-ui/sync-ui.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj: src/gtk3-ui/sync-ui.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui.obj `if test -f 'src/gtk3-ui/sync-ui.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.o `test -f 'src/gtk3-ui/sync-ui-config.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-ui-config.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj: src/gtk3-ui/sync-ui-config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-ui-config.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-ui-config.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-ui-config.obj `if test -f 'src/gtk3-ui/sync-ui-config.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-ui-config.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-ui-config.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.o `test -f 'src/gtk3-ui/mux-frame.c' || echo '$(srcdir)/'`src/gtk3-ui/mux-frame.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj: src/gtk3-ui/mux-frame.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-mux-frame.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/mux-frame.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-mux-frame.obj `if test -f 'src/gtk3-ui/mux-frame.c'; then $(CYGPATH_W) 'src/gtk3-ui/mux-frame.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/mux-frame.c'; fi`
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.o `test -f 'src/gtk3-ui/sync-config-widget.c' || echo '$(srcdir)/'`src/gtk3-ui/sync-config-widget.c
 
 src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj: src/gtk3-ui/sync-config-widget.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -MT src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj -MD -MP -MF src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Tpo -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Tpo src/gtk3-ui/$(DEPDIR)/src_gtk3_ui_sync_ui_moblin-sync-config-widget.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/gtk3-ui/sync-config-widget.c' object='src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gtk3_ui_sync_ui_moblin_CPPFLAGS) $(CPPFLAGS) $(src_gtk3_ui_sync_ui_moblin_CFLAGS) $(CFLAGS) -c -o src/gtk3-ui/src_gtk3_ui_sync_ui_moblin-sync-config-widget.obj `if test -f 'src/gtk3-ui/sync-config-widget.c'; then $(CYGPATH_W) 'src/gtk3-ui/sync-config-widget.c'; else $(CYGPATH_W) '$(srcdir)/src/gtk3-ui/sync-config-widget.c'; fi`
 
 .cpp.o:
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 @am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 @am__fastdepCXX_TRUE@  $(am__mv) $$depbase.Tpo $$depbase.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
 
 .cpp.obj:
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
 @am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
 @am__fastdepCXX_TRUE@  $(am__mv) $$depbase.Tpo $$depbase.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .cpp.lo:
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
 @am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 @am__fastdepCXX_TRUE@  $(am__mv) $$depbase.Tpo $$depbase.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
 
 src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo: src/backends/activesync/ActiveSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncSource.Tpo -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo `test -f 'src/backends/activesync/ActiveSyncSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncSource.Tpo src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSource.cpp' object='src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSource.cpp' object='src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo `test -f 'src/backends/activesync/ActiveSyncSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncSource.lo `test -f 'src/backends/activesync/ActiveSyncSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSource.cpp
 
 src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo: src/backends/activesync/ActiveSyncCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.Tpo -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo `test -f 'src/backends/activesync/ActiveSyncCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.Tpo src/backends/activesync/$(DEPDIR)/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncCalendarSource.cpp' object='src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncCalendarSource.cpp' object='src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo `test -f 'src/backends/activesync/ActiveSyncCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncCalendarSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_activesync_syncactivesync_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_activesync_syncactivesync_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_backends_activesync_syncactivesync_la-ActiveSyncCalendarSource.lo `test -f 'src/backends/activesync/ActiveSyncCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncCalendarSource.cpp
 
 src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo: src/backends/addressbook/AddressBookConstants.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.Tpo -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo `test -f 'src/backends/addressbook/AddressBookConstants.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookConstants.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.Tpo src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookConstants.cpp' object='src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookConstants.cpp' object='src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo `test -f 'src/backends/addressbook/AddressBookConstants.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookConstants.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookConstants.lo `test -f 'src/backends/addressbook/AddressBookConstants.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookConstants.cpp
 
 src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo: src/backends/addressbook/AddressBookSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookSource.Tpo -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo `test -f 'src/backends/addressbook/AddressBookSource.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookSource.Tpo src/backends/addressbook/$(DEPDIR)/src_backends_addressbook_syncaddressbook_la-AddressBookSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSource.cpp' object='src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSource.cpp' object='src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo `test -f 'src/backends/addressbook/AddressBookSource.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_addressbook_syncaddressbook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_addressbook_syncaddressbook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_backends_addressbook_syncaddressbook_la-AddressBookSource.lo `test -f 'src/backends/addressbook/AddressBookSource.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSource.cpp
 
 src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo: src/backends/akonadi/akonadisyncsource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_akonadi_syncakonadi_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_akonadi_syncakonadi_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_backends_akonadi_syncakonadi_la-akonadisyncsource.Tpo -c -o src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo `test -f 'src/backends/akonadi/akonadisyncsource.cpp' || echo '$(srcdir)/'`src/backends/akonadi/akonadisyncsource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_backends_akonadi_syncakonadi_la-akonadisyncsource.Tpo src/backends/akonadi/$(DEPDIR)/src_backends_akonadi_syncakonadi_la-akonadisyncsource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/akonadisyncsource.cpp' object='src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/akonadisyncsource.cpp' object='src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_akonadi_syncakonadi_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_akonadi_syncakonadi_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo `test -f 'src/backends/akonadi/akonadisyncsource.cpp' || echo '$(srcdir)/'`src/backends/akonadi/akonadisyncsource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_akonadi_syncakonadi_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_akonadi_syncakonadi_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_backends_akonadi_syncakonadi_la-akonadisyncsource.lo `test -f 'src/backends/akonadi/akonadisyncsource.cpp' || echo '$(srcdir)/'`src/backends/akonadi/akonadisyncsource.cpp
 
 src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo: src/backends/evolution/EvolutionSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionSyncSource.Tpo -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionSyncSource.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionSyncSource.cpp' object='src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionSyncSource.cpp' object='src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
 
 src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo: src/backends/evolution/EvolutionContactSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionContactSource.Tpo -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo `test -f 'src/backends/evolution/EvolutionContactSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionContactSource.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncebook_la-EvolutionContactSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSource.cpp' object='src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSource.cpp' object='src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo `test -f 'src/backends/evolution/EvolutionContactSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncebook_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncebook_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncebook_la-EvolutionContactSource.lo `test -f 'src/backends/evolution/EvolutionContactSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSource.cpp
 
 src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo: src/backends/evolution/EvolutionSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionSyncSource.Tpo -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionSyncSource.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionSyncSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionSyncSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionSyncSource.lo `test -f 'src/backends/evolution/EvolutionSyncSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionSyncSource.cpp
 
 src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo: src/backends/evolution/EvolutionCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionCalendarSource.Tpo -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo `test -f 'src/backends/evolution/EvolutionCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionCalendarSource.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionCalendarSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo `test -f 'src/backends/evolution/EvolutionCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionCalendarSource.lo `test -f 'src/backends/evolution/EvolutionCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSource.cpp
 
 src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo: src/backends/evolution/EvolutionMemoSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionMemoSource.Tpo -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo `test -f 'src/backends/evolution/EvolutionMemoSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionMemoSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionMemoSource.Tpo src/backends/evolution/$(DEPDIR)/src_backends_evolution_syncecal_la-EvolutionMemoSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionMemoSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionMemoSource.cpp' object='src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo `test -f 'src/backends/evolution/EvolutionMemoSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionMemoSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_evolution_syncecal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_evolution_syncecal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_backends_evolution_syncecal_la-EvolutionMemoSource.lo `test -f 'src/backends/evolution/EvolutionMemoSource.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionMemoSource.cpp
 
 src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo: src/backends/file/FileSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_file_syncfile_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_file_syncfile_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo -MD -MP -MF src/backends/file/$(DEPDIR)/src_backends_file_syncfile_la-FileSyncSource.Tpo -c -o src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo `test -f 'src/backends/file/FileSyncSource.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_backends_file_syncfile_la-FileSyncSource.Tpo src/backends/file/$(DEPDIR)/src_backends_file_syncfile_la-FileSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSource.cpp' object='src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSource.cpp' object='src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_file_syncfile_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_file_syncfile_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo `test -f 'src/backends/file/FileSyncSource.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_file_syncfile_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_file_syncfile_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_backends_file_syncfile_la-FileSyncSource.lo `test -f 'src/backends/file/FileSyncSource.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSource.cpp
 
 src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo: src/backends/gnome/GNOMEPlatform.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatform.Tpo -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo `test -f 'src/backends/gnome/GNOMEPlatform.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatform.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatform.Tpo src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatform.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatform.cpp' object='src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatform.cpp' object='src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo `test -f 'src/backends/gnome/GNOMEPlatform.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatform.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatform.lo `test -f 'src/backends/gnome/GNOMEPlatform.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatform.cpp
 
 src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_gnome_platformgnome_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_gnome_platformgnome_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_backends_gnome_platformgnome_la-GNOMEPlatformRegister.lo `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo: src/backends/kcalextended/KCalExtendedSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kcalextended_synckcalextended_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kcalextended_synckcalextended_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.Tpo -c -o src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo `test -f 'src/backends/kcalextended/KCalExtendedSource.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.Tpo src/backends/kcalextended/$(DEPDIR)/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSource.cpp' object='src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSource.cpp' object='src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kcalextended_synckcalextended_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kcalextended_synckcalextended_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo `test -f 'src/backends/kcalextended/KCalExtendedSource.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kcalextended_synckcalextended_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kcalextended_synckcalextended_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_backends_kcalextended_synckcalextended_la-KCalExtendedSource.lo `test -f 'src/backends/kcalextended/KCalExtendedSource.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSource.cpp
 
 src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo: src/backends/kde/KDEPlatform.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo -MD -MP -MF src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatform.Tpo -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo `test -f 'src/backends/kde/KDEPlatform.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatform.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatform.Tpo src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatform.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatform.cpp' object='src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatform.cpp' object='src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo `test -f 'src/backends/kde/KDEPlatform.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatform.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatform.lo `test -f 'src/backends/kde/KDEPlatform.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatform.cpp
 
 src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo -MD -MP -MF src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_backends_kde_platformkde_la-KDEPlatformRegister.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_kde_platformkde_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_kde_platformkde_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_backends_kde_platformkde_la-KDEPlatformRegister.lo `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo: src/backends/maemo/MaemoCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_maemo_syncmaemocal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_maemo_syncmaemocal_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.Tpo -c -o src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo `test -f 'src/backends/maemo/MaemoCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.Tpo src/backends/maemo/$(DEPDIR)/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSource.cpp' object='src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSource.cpp' object='src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_maemo_syncmaemocal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_maemo_syncmaemocal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo `test -f 'src/backends/maemo/MaemoCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_maemo_syncmaemocal_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_maemo_syncmaemocal_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_backends_maemo_syncmaemocal_la-MaemoCalendarSource.lo `test -f 'src/backends/maemo/MaemoCalendarSource.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSource.cpp
 
 src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo: src/backends/pbap/PbapSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_pbap_syncpbap_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_pbap_syncpbap_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_backends_pbap_syncpbap_la-PbapSyncSource.Tpo -c -o src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo `test -f 'src/backends/pbap/PbapSyncSource.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_backends_pbap_syncpbap_la-PbapSyncSource.Tpo src/backends/pbap/$(DEPDIR)/src_backends_pbap_syncpbap_la-PbapSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSource.cpp' object='src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSource.cpp' object='src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_pbap_syncpbap_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_pbap_syncpbap_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo `test -f 'src/backends/pbap/PbapSyncSource.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_pbap_syncpbap_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_pbap_syncpbap_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_backends_pbap_syncpbap_la-PbapSyncSource.lo `test -f 'src/backends/pbap/PbapSyncSource.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSource.cpp
 
 src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo: src/backends/qtcontacts/QtContactsSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_qtcontacts_syncqtcontacts_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_qtcontacts_syncqtcontacts_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.Tpo -c -o src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo `test -f 'src/backends/qtcontacts/QtContactsSource.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.Tpo src/backends/qtcontacts/$(DEPDIR)/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSource.cpp' object='src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSource.cpp' object='src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_qtcontacts_syncqtcontacts_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_qtcontacts_syncqtcontacts_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo `test -f 'src/backends/qtcontacts/QtContactsSource.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_qtcontacts_syncqtcontacts_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_qtcontacts_syncqtcontacts_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_backends_qtcontacts_syncqtcontacts_la-QtContactsSource.lo `test -f 'src/backends/qtcontacts/QtContactsSource.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSource.cpp
 
 src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo: src/backends/sqlite/SQLiteUtil.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteUtil.Tpo -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo `test -f 'src/backends/sqlite/SQLiteUtil.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteUtil.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteUtil.Tpo src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteUtil.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteUtil.cpp' object='src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteUtil.cpp' object='src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo `test -f 'src/backends/sqlite/SQLiteUtil.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteUtil.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteUtil.lo `test -f 'src/backends/sqlite/SQLiteUtil.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteUtil.cpp
 
 src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo: src/backends/sqlite/SQLiteContactSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.Tpo -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo `test -f 'src/backends/sqlite/SQLiteContactSource.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.Tpo src/backends/sqlite/$(DEPDIR)/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSource.cpp' object='src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSource.cpp' object='src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo `test -f 'src/backends/sqlite/SQLiteContactSource.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_sqlite_syncsqlite_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_sqlite_syncsqlite_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_backends_sqlite_syncsqlite_la-SQLiteContactSource.lo `test -f 'src/backends/sqlite/SQLiteContactSource.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSource.cpp
 
 src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo: src/backends/webdav/CalDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVSource.Tpo -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo `test -f 'src/backends/webdav/CalDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVSource.Tpo src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/CalDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/CalDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo `test -f 'src/backends/webdav/CalDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVSource.lo `test -f 'src/backends/webdav/CalDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVSource.cpp
 
 src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo: src/backends/webdav/CalDAVVxxSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVVxxSource.Tpo -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo `test -f 'src/backends/webdav/CalDAVVxxSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVVxxSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVVxxSource.Tpo src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CalDAVVxxSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/CalDAVVxxSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/CalDAVVxxSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo `test -f 'src/backends/webdav/CalDAVVxxSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVVxxSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CalDAVVxxSource.lo `test -f 'src/backends/webdav/CalDAVVxxSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CalDAVVxxSource.cpp
 
 src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo: src/backends/webdav/CardDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CardDAVSource.Tpo -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo `test -f 'src/backends/webdav/CardDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CardDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CardDAVSource.Tpo src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-CardDAVSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/CardDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/CardDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo `test -f 'src/backends/webdav/CardDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CardDAVSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-CardDAVSource.lo `test -f 'src/backends/webdav/CardDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/CardDAVSource.cpp
 
 src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo: src/backends/webdav/WebDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-WebDAVSource.Tpo -c -o src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo `test -f 'src/backends/webdav/WebDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-WebDAVSource.Tpo src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-WebDAVSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSource.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo `test -f 'src/backends/webdav/WebDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-WebDAVSource.lo `test -f 'src/backends/webdav/WebDAVSource.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSource.cpp
 
 src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo: src/backends/webdav/NeonCXX.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-NeonCXX.Tpo -c -o src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo `test -f 'src/backends/webdav/NeonCXX.cpp' || echo '$(srcdir)/'`src/backends/webdav/NeonCXX.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-NeonCXX.Tpo src/backends/webdav/$(DEPDIR)/src_backends_webdav_syncdav_la-NeonCXX.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/NeonCXX.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/NeonCXX.cpp' object='src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo `test -f 'src/backends/webdav/NeonCXX.cpp' || echo '$(srcdir)/'`src/backends/webdav/NeonCXX.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_webdav_syncdav_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_webdav_syncdav_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_backends_webdav_syncdav_la-NeonCXX.lo `test -f 'src/backends/webdav/NeonCXX.cpp' || echo '$(srcdir)/'`src/backends/webdav/NeonCXX.cpp
 
 src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo: src/backends/xmlrpc/XMLRPCSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_xmlrpc_syncxmlrpc_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_xmlrpc_syncxmlrpc_la_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.Tpo -c -o src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo `test -f 'src/backends/xmlrpc/XMLRPCSyncSource.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.Tpo src/backends/xmlrpc/$(DEPDIR)/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSource.cpp' object='src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSource.cpp' object='src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_xmlrpc_syncxmlrpc_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_xmlrpc_syncxmlrpc_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo `test -f 'src/backends/xmlrpc/XMLRPCSyncSource.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_backends_xmlrpc_syncxmlrpc_la_CPPFLAGS) $(CPPFLAGS) $(src_backends_xmlrpc_syncxmlrpc_la_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_backends_xmlrpc_syncxmlrpc_la-XMLRPCSyncSource.lo `test -f 'src/backends/xmlrpc/XMLRPCSyncSource.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSource.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo: src/dbus/qt/dbustypes.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo `test -f 'src/dbus/qt/dbustypes.cpp' || echo '$(srcdir)/'`src/dbus/qt/dbustypes.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/dbustypes.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/dbustypes.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo `test -f 'src/dbus/qt/dbustypes.cpp' || echo '$(srcdir)/'`src/dbus/qt/dbustypes.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-dbustypes.lo `test -f 'src/dbus/qt/dbustypes.cpp' || echo '$(srcdir)/'`src/dbus/qt/dbustypes.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo: src/dbus/qt/syncevo-server-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo `test -f 'src/dbus/qt/syncevo-server-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-server-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-server-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo `test -f 'src/dbus/qt/syncevo-server-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.lo `test -f 'src/dbus/qt/syncevo-server-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo: src/dbus/qt/syncevo-session-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo `test -f 'src/dbus/qt/syncevo-session-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-session-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-session-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo `test -f 'src/dbus/qt/syncevo-session-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.lo `test -f 'src/dbus/qt/syncevo-session-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo: src/dbus/qt/syncevo-connection-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo `test -f 'src/dbus/qt/syncevo-connection-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-connection-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-connection-full.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo `test -f 'src/dbus/qt/syncevo-connection-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.lo `test -f 'src/dbus/qt/syncevo-connection-full.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo: src/dbus/qt/syncevo-server-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo `test -f 'src/dbus/qt/syncevo-server-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-server-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-server-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo `test -f 'src/dbus/qt/syncevo-server-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.moc.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-server-full.moc.lo `test -f 'src/dbus/qt/syncevo-server-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-server-full.moc.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo: src/dbus/qt/syncevo-session-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo `test -f 'src/dbus/qt/syncevo-session-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-session-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-session-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo `test -f 'src/dbus/qt/syncevo-session-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.moc.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-session-full.moc.lo `test -f 'src/dbus/qt/syncevo-session-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-session-full.moc.cpp
 
 src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo: src/dbus/qt/syncevo-connection-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo -MD -MP -MF src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.Tpo -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo `test -f 'src/dbus/qt/syncevo-connection-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.moc.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.Tpo src/dbus/qt/$(DEPDIR)/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/qt/syncevo-connection-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/qt/syncevo-connection-full.moc.cpp' object='src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo `test -f 'src/dbus/qt/syncevo-connection-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.moc.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_qt_libsyncevolution_qt_dbus_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/qt/src_dbus_qt_libsyncevolution_qt_dbus_la-syncevo-connection-full.moc.lo `test -f 'src/dbus/qt/syncevo-connection-full.moc.cpp' || echo '$(srcdir)/'`src/dbus/qt/syncevo-connection-full.moc.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo: src/dbus/server/dbus-callbacks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/dbus-callbacks.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/dbus-callbacks.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo: src/dbus/server/dbus-sync.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-sync.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo `test -f 'src/dbus/server/dbus-sync.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-sync.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-sync.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-sync.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/dbus-sync.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/dbus-sync.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo `test -f 'src/dbus/server/dbus-sync.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-sync.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-sync.lo `test -f 'src/dbus/server/dbus-sync.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-sync.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo: src/dbus/server/dbus-transport-agent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo `test -f 'src/dbus/server/dbus-transport-agent.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-transport-agent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/dbus-transport-agent.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/dbus-transport-agent.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo `test -f 'src/dbus/server/dbus-transport-agent.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-transport-agent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-dbus-transport-agent.lo `test -f 'src/dbus/server/dbus-transport-agent.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-transport-agent.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo: src/dbus/server/session-helper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-session-helper.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo `test -f 'src/dbus/server/session-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/session-helper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-session-helper.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-session-helper.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/session-helper.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/session-helper.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo `test -f 'src/dbus/server/session-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/session-helper.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-session-helper.lo `test -f 'src/dbus/server/session-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/session-helper.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo: src/dbus/server/sync-helper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-sync-helper.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo `test -f 'src/dbus/server/sync-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/sync-helper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-sync-helper.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbushelper_la-sync-helper.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/sync-helper.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/sync-helper.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo `test -f 'src/dbus/server/sync-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/sync-helper.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbushelper_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbushelper_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbushelper_la-sync-helper.lo `test -f 'src/dbus/server/sync-helper.cpp' || echo '$(srcdir)/'`src/dbus/server/sync-helper.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo: src/dbus/server/notification-backend-noop.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo `test -f 'src/dbus/server/notification-backend-noop.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-noop.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/notification-backend-noop.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/notification-backend-noop.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo `test -f 'src/dbus/server/notification-backend-noop.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-noop.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-noop.lo `test -f 'src/dbus/server/notification-backend-noop.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-noop.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo: src/dbus/server/notification-backend-libnotify.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo `test -f 'src/dbus/server/notification-backend-libnotify.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-libnotify.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/notification-backend-libnotify.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/notification-backend-libnotify.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo `test -f 'src/dbus/server/notification-backend-libnotify.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-libnotify.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-libnotify.lo `test -f 'src/dbus/server/notification-backend-libnotify.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-libnotify.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo: src/dbus/server/notification-backend-mlite.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo `test -f 'src/dbus/server/notification-backend-mlite.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-mlite.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/notification-backend-mlite.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/notification-backend-mlite.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo `test -f 'src/dbus/server/notification-backend-mlite.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-mlite.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-backend-mlite.lo `test -f 'src/dbus/server/notification-backend-mlite.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-backend-mlite.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo: src/dbus/server/notification-manager-factory.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo `test -f 'src/dbus/server/notification-manager-factory.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-manager-factory.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/notification-manager-factory.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/notification-manager-factory.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo `test -f 'src/dbus/server/notification-manager-factory.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-manager-factory.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-notification-manager-factory.lo `test -f 'src/dbus/server/notification-manager-factory.cpp' || echo '$(srcdir)/'`src/dbus/server/notification-manager-factory.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo: src/dbus/server/auto-sync-manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo `test -f 'src/dbus/server/auto-sync-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/auto-sync-manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/auto-sync-manager.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/auto-sync-manager.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo `test -f 'src/dbus/server/auto-sync-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/auto-sync-manager.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-auto-sync-manager.lo `test -f 'src/dbus/server/auto-sync-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/auto-sync-manager.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo: src/dbus/server/bluez-manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-bluez-manager.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo `test -f 'src/dbus/server/bluez-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/bluez-manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-bluez-manager.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-bluez-manager.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/bluez-manager.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/bluez-manager.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo `test -f 'src/dbus/server/bluez-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/bluez-manager.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-bluez-manager.lo `test -f 'src/dbus/server/bluez-manager.cpp' || echo '$(srcdir)/'`src/dbus/server/bluez-manager.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo: src/dbus/server/client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-client.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo `test -f 'src/dbus/server/client.cpp' || echo '$(srcdir)/'`src/dbus/server/client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-client.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-client.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo `test -f 'src/dbus/server/client.cpp' || echo '$(srcdir)/'`src/dbus/server/client.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-client.lo `test -f 'src/dbus/server/client.cpp' || echo '$(srcdir)/'`src/dbus/server/client.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo: src/dbus/server/connection.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connection.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo `test -f 'src/dbus/server/connection.cpp' || echo '$(srcdir)/'`src/dbus/server/connection.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connection.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connection.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/connection.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/connection.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo `test -f 'src/dbus/server/connection.cpp' || echo '$(srcdir)/'`src/dbus/server/connection.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connection.lo `test -f 'src/dbus/server/connection.cpp' || echo '$(srcdir)/'`src/dbus/server/connection.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo: src/dbus/server/connman-client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connman-client.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo `test -f 'src/dbus/server/connman-client.cpp' || echo '$(srcdir)/'`src/dbus/server/connman-client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connman-client.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-connman-client.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/connman-client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/connman-client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo `test -f 'src/dbus/server/connman-client.cpp' || echo '$(srcdir)/'`src/dbus/server/connman-client.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-connman-client.lo `test -f 'src/dbus/server/connman-client.cpp' || echo '$(srcdir)/'`src/dbus/server/connman-client.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo: src/dbus/server/dbus-callbacks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/dbus-callbacks.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/dbus-callbacks.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-callbacks.lo `test -f 'src/dbus/server/dbus-callbacks.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-callbacks.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo: src/dbus/server/dbus-user-interface.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo `test -f 'src/dbus/server/dbus-user-interface.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-user-interface.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/dbus-user-interface.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/dbus-user-interface.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo `test -f 'src/dbus/server/dbus-user-interface.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-user-interface.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-dbus-user-interface.lo `test -f 'src/dbus/server/dbus-user-interface.cpp' || echo '$(srcdir)/'`src/dbus/server/dbus-user-interface.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo: src/dbus/server/exceptions.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-exceptions.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo `test -f 'src/dbus/server/exceptions.cpp' || echo '$(srcdir)/'`src/dbus/server/exceptions.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-exceptions.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-exceptions.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/exceptions.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/exceptions.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo `test -f 'src/dbus/server/exceptions.cpp' || echo '$(srcdir)/'`src/dbus/server/exceptions.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-exceptions.lo `test -f 'src/dbus/server/exceptions.cpp' || echo '$(srcdir)/'`src/dbus/server/exceptions.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo: src/dbus/server/info-req.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-info-req.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo `test -f 'src/dbus/server/info-req.cpp' || echo '$(srcdir)/'`src/dbus/server/info-req.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-info-req.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-info-req.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/info-req.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/info-req.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo `test -f 'src/dbus/server/info-req.cpp' || echo '$(srcdir)/'`src/dbus/server/info-req.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-info-req.lo `test -f 'src/dbus/server/info-req.cpp' || echo '$(srcdir)/'`src/dbus/server/info-req.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo: src/dbus/server/network-manager-client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-network-manager-client.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo `test -f 'src/dbus/server/network-manager-client.cpp' || echo '$(srcdir)/'`src/dbus/server/network-manager-client.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-network-manager-client.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-network-manager-client.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/network-manager-client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/network-manager-client.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo `test -f 'src/dbus/server/network-manager-client.cpp' || echo '$(srcdir)/'`src/dbus/server/network-manager-client.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-network-manager-client.lo `test -f 'src/dbus/server/network-manager-client.cpp' || echo '$(srcdir)/'`src/dbus/server/network-manager-client.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo: src/dbus/server/presence-status.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-presence-status.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo `test -f 'src/dbus/server/presence-status.cpp' || echo '$(srcdir)/'`src/dbus/server/presence-status.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-presence-status.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-presence-status.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/presence-status.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/presence-status.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo `test -f 'src/dbus/server/presence-status.cpp' || echo '$(srcdir)/'`src/dbus/server/presence-status.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-presence-status.lo `test -f 'src/dbus/server/presence-status.cpp' || echo '$(srcdir)/'`src/dbus/server/presence-status.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo: src/dbus/server/progress-data.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-progress-data.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo `test -f 'src/dbus/server/progress-data.cpp' || echo '$(srcdir)/'`src/dbus/server/progress-data.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-progress-data.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-progress-data.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/progress-data.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/progress-data.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo `test -f 'src/dbus/server/progress-data.cpp' || echo '$(srcdir)/'`src/dbus/server/progress-data.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-progress-data.lo `test -f 'src/dbus/server/progress-data.cpp' || echo '$(srcdir)/'`src/dbus/server/progress-data.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo: src/dbus/server/read-operations.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-read-operations.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo `test -f 'src/dbus/server/read-operations.cpp' || echo '$(srcdir)/'`src/dbus/server/read-operations.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-read-operations.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-read-operations.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/read-operations.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/read-operations.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo `test -f 'src/dbus/server/read-operations.cpp' || echo '$(srcdir)/'`src/dbus/server/read-operations.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-read-operations.lo `test -f 'src/dbus/server/read-operations.cpp' || echo '$(srcdir)/'`src/dbus/server/read-operations.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo: src/dbus/server/server.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-server.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo `test -f 'src/dbus/server/server.cpp' || echo '$(srcdir)/'`src/dbus/server/server.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-server.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-server.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/server.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/server.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo `test -f 'src/dbus/server/server.cpp' || echo '$(srcdir)/'`src/dbus/server/server.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-server.lo `test -f 'src/dbus/server/server.cpp' || echo '$(srcdir)/'`src/dbus/server/server.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo: src/dbus/server/session.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-session.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo `test -f 'src/dbus/server/session.cpp' || echo '$(srcdir)/'`src/dbus/server/session.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-session.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-session.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/session.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/session.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo `test -f 'src/dbus/server/session.cpp' || echo '$(srcdir)/'`src/dbus/server/session.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-session.lo `test -f 'src/dbus/server/session.cpp' || echo '$(srcdir)/'`src/dbus/server/session.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo: src/dbus/server/pim/view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-view.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo `test -f 'src/dbus/server/pim/view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-view.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-view.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo `test -f 'src/dbus/server/pim/view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/view.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-view.lo `test -f 'src/dbus/server/pim/view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/view.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo: src/dbus/server/pim/full-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-full-view.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo `test -f 'src/dbus/server/pim/full-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/full-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-full-view.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-full-view.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/full-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/full-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo `test -f 'src/dbus/server/pim/full-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/full-view.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-full-view.lo `test -f 'src/dbus/server/pim/full-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/full-view.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo: src/dbus/server/pim/filtered-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-filtered-view.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo `test -f 'src/dbus/server/pim/filtered-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/filtered-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-filtered-view.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-filtered-view.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/filtered-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/filtered-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo `test -f 'src/dbus/server/pim/filtered-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/filtered-view.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-filtered-view.lo `test -f 'src/dbus/server/pim/filtered-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/filtered-view.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo: src/dbus/server/pim/edsf-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-edsf-view.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo `test -f 'src/dbus/server/pim/edsf-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/edsf-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-edsf-view.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-edsf-view.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/edsf-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/edsf-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo `test -f 'src/dbus/server/pim/edsf-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/edsf-view.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-edsf-view.lo `test -f 'src/dbus/server/pim/edsf-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/edsf-view.cpp
+
+src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo: src/dbus/server/pim/locale-factory.cpp
+@am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo `test -f 'src/dbus/server/pim/locale-factory.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/locale-factory.cpp
+@am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/locale-factory.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory.lo `test -f 'src/dbus/server/pim/locale-factory.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/locale-factory.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo: src/dbus/server/pim/merge-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-merge-view.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo `test -f 'src/dbus/server/pim/merge-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/merge-view.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-merge-view.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-merge-view.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/merge-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/merge-view.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo `test -f 'src/dbus/server/pim/merge-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/merge-view.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-merge-view.lo `test -f 'src/dbus/server/pim/merge-view.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/merge-view.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo: src/dbus/server/pim/individual-traits.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-individual-traits.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo `test -f 'src/dbus/server/pim/individual-traits.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/individual-traits.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-individual-traits.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-individual-traits.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/individual-traits.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/individual-traits.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo `test -f 'src/dbus/server/pim/individual-traits.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/individual-traits.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-individual-traits.lo `test -f 'src/dbus/server/pim/individual-traits.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/individual-traits.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo: src/dbus/server/pim/folks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-folks.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo `test -f 'src/dbus/server/pim/folks.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/folks.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-folks.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-folks.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/folks.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/folks.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo `test -f 'src/dbus/server/pim/folks.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/folks.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-folks.lo `test -f 'src/dbus/server/pim/folks.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/folks.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo: src/dbus/server/pim/manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-manager.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo `test -f 'src/dbus/server/pim/manager.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/manager.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-manager.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-manager.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/manager.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/manager.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo `test -f 'src/dbus/server/pim/manager.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/manager.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-manager.lo `test -f 'src/dbus/server/pim/manager.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/manager.cpp
 
 src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo: src/dbus/server/main.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo -MD -MP -MF src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-main.Tpo -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo `test -f 'src/dbus/server/main.cpp' || echo '$(srcdir)/'`src/dbus/server/main.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-main.Tpo src/dbus/server/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-main.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/main.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/main.cpp' object='src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo `test -f 'src/dbus/server/main.cpp' || echo '$(srcdir)/'`src/dbus/server/main.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/src_dbus_server_libsyncevodbusserver_la-main.lo `test -f 'src/dbus/server/main.cpp' || echo '$(srcdir)/'`src/dbus/server/main.cpp
 
 src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo: src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -MT src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo -MD -MP -MF src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.Tpo -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo `test -f 'src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.Tpo src/dbus/server/pim/$(DEPDIR)/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp' object='src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo `test -f 'src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_dbus_server_libsyncevodbusserver_la_CPPFLAGS) $(CPPFLAGS) $(src_dbus_server_libsyncevodbusserver_la_CXXFLAGS) $(CXXFLAGS) -c -o src/dbus/server/pim/src_dbus_server_libsyncevodbusserver_la-locale-factory-@DBUS_PIM_PLUGIN@.lo `test -f 'src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp' || echo '$(srcdir)/'`src/dbus/server/pim/locale-factory-@DBUS_PIM_PLUGIN@.cpp
 
 src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo: src/gdbus/gdbus-cxx-bridge.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -MT src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo -MD -MP -MF src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.Tpo -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbus/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbus/gdbus-cxx-bridge.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.Tpo src/gdbus/$(DEPDIR)/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbus/gdbus-cxx-bridge.cpp' object='src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbus/gdbus-cxx-bridge.cpp' object='src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbus/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbus/gdbus-cxx-bridge.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/src_gdbus_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbus/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbus/gdbus-cxx-bridge.cpp
 
 src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo: src/gdbusxx/gdbus-cxx-bridge.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -MT src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo -MD -MP -MF src/gdbusxx/$(DEPDIR)/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.Tpo -c -o src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbusxx/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbusxx/gdbus-cxx-bridge.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbusxx/$(DEPDIR)/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.Tpo src/gdbusxx/$(DEPDIR)/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbusxx/gdbus-cxx-bridge.cpp' object='src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbusxx/gdbus-cxx-bridge.cpp' object='src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbusxx/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbusxx/gdbus-cxx-bridge.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_libgdbussyncevo_la_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_libgdbussyncevo_la_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/src_gdbusxx_libgdbussyncevo_la-gdbus-cxx-bridge.lo `test -f 'src/gdbusxx/gdbus-cxx-bridge.cpp' || echo '$(srcdir)/'`src/gdbusxx/gdbus-cxx-bridge.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo: src/syncevo/EDSClient.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-EDSClient.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo `test -f 'src/syncevo/EDSClient.cpp' || echo '$(srcdir)/'`src/syncevo/EDSClient.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-EDSClient.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-EDSClient.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/EDSClient.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/EDSClient.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo `test -f 'src/syncevo/EDSClient.cpp' || echo '$(srcdir)/'`src/syncevo/EDSClient.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-EDSClient.lo `test -f 'src/syncevo/EDSClient.cpp' || echo '$(srcdir)/'`src/syncevo/EDSClient.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo: src/syncevo/ConfigFilter.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigFilter.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo `test -f 'src/syncevo/ConfigFilter.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigFilter.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigFilter.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigFilter.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/ConfigFilter.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/ConfigFilter.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo `test -f 'src/syncevo/ConfigFilter.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigFilter.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigFilter.lo `test -f 'src/syncevo/ConfigFilter.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigFilter.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo: src/syncevo/ConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo `test -f 'src/syncevo/ConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/ConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/ConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo `test -f 'src/syncevo/ConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ConfigNode.lo `test -f 'src/syncevo/ConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/ConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo: src/syncevo/eds_abi_wrapper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-eds_abi_wrapper.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo `test -f 'src/syncevo/eds_abi_wrapper.cpp' || echo '$(srcdir)/'`src/syncevo/eds_abi_wrapper.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-eds_abi_wrapper.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-eds_abi_wrapper.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/eds_abi_wrapper.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/eds_abi_wrapper.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo `test -f 'src/syncevo/eds_abi_wrapper.cpp' || echo '$(srcdir)/'`src/syncevo/eds_abi_wrapper.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-eds_abi_wrapper.lo `test -f 'src/syncevo/eds_abi_wrapper.cpp' || echo '$(srcdir)/'`src/syncevo/eds_abi_wrapper.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo: src/syncevo/GLibSupport.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-GLibSupport.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo `test -f 'src/syncevo/GLibSupport.cpp' || echo '$(srcdir)/'`src/syncevo/GLibSupport.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-GLibSupport.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-GLibSupport.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/GLibSupport.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/GLibSupport.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo `test -f 'src/syncevo/GLibSupport.cpp' || echo '$(srcdir)/'`src/syncevo/GLibSupport.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-GLibSupport.lo `test -f 'src/syncevo/GLibSupport.cpp' || echo '$(srcdir)/'`src/syncevo/GLibSupport.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo: src/syncevo/SyncML.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncML.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo `test -f 'src/syncevo/SyncML.cpp' || echo '$(srcdir)/'`src/syncevo/SyncML.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncML.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncML.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SyncML.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SyncML.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo `test -f 'src/syncevo/SyncML.cpp' || echo '$(srcdir)/'`src/syncevo/SyncML.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncML.lo `test -f 'src/syncevo/SyncML.cpp' || echo '$(srcdir)/'`src/syncevo/SyncML.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo: src/syncevo/SynthesisEngine.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisEngine.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo `test -f 'src/syncevo/SynthesisEngine.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisEngine.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisEngine.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisEngine.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SynthesisEngine.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SynthesisEngine.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo `test -f 'src/syncevo/SynthesisEngine.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisEngine.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisEngine.lo `test -f 'src/syncevo/SynthesisEngine.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisEngine.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo: src/syncevo/Logging.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Logging.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo `test -f 'src/syncevo/Logging.cpp' || echo '$(srcdir)/'`src/syncevo/Logging.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Logging.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Logging.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/Logging.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/Logging.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo `test -f 'src/syncevo/Logging.cpp' || echo '$(srcdir)/'`src/syncevo/Logging.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-Logging.lo `test -f 'src/syncevo/Logging.cpp' || echo '$(srcdir)/'`src/syncevo/Logging.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo: src/syncevo/LogStdout.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogStdout.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo `test -f 'src/syncevo/LogStdout.cpp' || echo '$(srcdir)/'`src/syncevo/LogStdout.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogStdout.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogStdout.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/LogStdout.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/LogStdout.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo `test -f 'src/syncevo/LogStdout.cpp' || echo '$(srcdir)/'`src/syncevo/LogStdout.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogStdout.lo `test -f 'src/syncevo/LogStdout.cpp' || echo '$(srcdir)/'`src/syncevo/LogStdout.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo: src/syncevo/LogRedirect.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogRedirect.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo `test -f 'src/syncevo/LogRedirect.cpp' || echo '$(srcdir)/'`src/syncevo/LogRedirect.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogRedirect.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogRedirect.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/LogRedirect.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/LogRedirect.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo `test -f 'src/syncevo/LogRedirect.cpp' || echo '$(srcdir)/'`src/syncevo/LogRedirect.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogRedirect.lo `test -f 'src/syncevo/LogRedirect.cpp' || echo '$(srcdir)/'`src/syncevo/LogRedirect.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo: src/syncevo/LogSyslog.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogSyslog.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo `test -f 'src/syncevo/LogSyslog.cpp' || echo '$(srcdir)/'`src/syncevo/LogSyslog.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogSyslog.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LogSyslog.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/LogSyslog.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/LogSyslog.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo `test -f 'src/syncevo/LogSyslog.cpp' || echo '$(srcdir)/'`src/syncevo/LogSyslog.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LogSyslog.lo `test -f 'src/syncevo/LogSyslog.cpp' || echo '$(srcdir)/'`src/syncevo/LogSyslog.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo: src/syncevo/TransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TransportAgent.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo `test -f 'src/syncevo/TransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/TransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TransportAgent.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TransportAgent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/TransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/TransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo `test -f 'src/syncevo/TransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/TransportAgent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TransportAgent.lo `test -f 'src/syncevo/TransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/TransportAgent.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo: src/syncevo/CurlTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CurlTransportAgent.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo `test -f 'src/syncevo/CurlTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/CurlTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CurlTransportAgent.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CurlTransportAgent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/CurlTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/CurlTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo `test -f 'src/syncevo/CurlTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/CurlTransportAgent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-CurlTransportAgent.lo `test -f 'src/syncevo/CurlTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/CurlTransportAgent.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo: src/syncevo/SoupTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SoupTransportAgent.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo `test -f 'src/syncevo/SoupTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/SoupTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SoupTransportAgent.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SoupTransportAgent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SoupTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SoupTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo `test -f 'src/syncevo/SoupTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/SoupTransportAgent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo `test -f 'src/syncevo/SoupTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/SoupTransportAgent.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo: src/syncevo/LocalTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LocalTransportAgent.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo `test -f 'src/syncevo/LocalTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/LocalTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LocalTransportAgent.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-LocalTransportAgent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/LocalTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/LocalTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo `test -f 'src/syncevo/LocalTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/LocalTransportAgent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-LocalTransportAgent.lo `test -f 'src/syncevo/LocalTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/LocalTransportAgent.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-util.lo: src/syncevo/util.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-util.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-util.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-util.lo `test -f 'src/syncevo/util.cpp' || echo '$(srcdir)/'`src/syncevo/util.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-util.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-util.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/util.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-util.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/util.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-util.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-util.lo `test -f 'src/syncevo/util.cpp' || echo '$(srcdir)/'`src/syncevo/util.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-util.lo `test -f 'src/syncevo/util.cpp' || echo '$(srcdir)/'`src/syncevo/util.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo: src/syncevo/TmpFile.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TmpFile.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo `test -f 'src/syncevo/TmpFile.cpp' || echo '$(srcdir)/'`src/syncevo/TmpFile.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TmpFile.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TmpFile.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/TmpFile.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/TmpFile.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo `test -f 'src/syncevo/TmpFile.cpp' || echo '$(srcdir)/'`src/syncevo/TmpFile.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TmpFile.lo `test -f 'src/syncevo/TmpFile.cpp' || echo '$(srcdir)/'`src/syncevo/TmpFile.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo: src/syncevo/lcs.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-lcs.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo `test -f 'src/syncevo/lcs.cpp' || echo '$(srcdir)/'`src/syncevo/lcs.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-lcs.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-lcs.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/lcs.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/lcs.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo `test -f 'src/syncevo/lcs.cpp' || echo '$(srcdir)/'`src/syncevo/lcs.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-lcs.lo `test -f 'src/syncevo/lcs.cpp' || echo '$(srcdir)/'`src/syncevo/lcs.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo: src/syncevo/ForkExec.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ForkExec.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo `test -f 'src/syncevo/ForkExec.cpp' || echo '$(srcdir)/'`src/syncevo/ForkExec.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ForkExec.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ForkExec.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/ForkExec.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/ForkExec.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo `test -f 'src/syncevo/ForkExec.cpp' || echo '$(srcdir)/'`src/syncevo/ForkExec.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ForkExec.lo `test -f 'src/syncevo/ForkExec.cpp' || echo '$(srcdir)/'`src/syncevo/ForkExec.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo: src/syncevo/Cmdline.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Cmdline.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo `test -f 'src/syncevo/Cmdline.cpp' || echo '$(srcdir)/'`src/syncevo/Cmdline.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Cmdline.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-Cmdline.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/Cmdline.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/Cmdline.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo `test -f 'src/syncevo/Cmdline.cpp' || echo '$(srcdir)/'`src/syncevo/Cmdline.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-Cmdline.lo `test -f 'src/syncevo/Cmdline.cpp' || echo '$(srcdir)/'`src/syncevo/Cmdline.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo: src/syncevo/CmdlineSyncClient.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CmdlineSyncClient.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo `test -f 'src/syncevo/CmdlineSyncClient.cpp' || echo '$(srcdir)/'`src/syncevo/CmdlineSyncClient.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CmdlineSyncClient.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-CmdlineSyncClient.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/CmdlineSyncClient.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/CmdlineSyncClient.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo `test -f 'src/syncevo/CmdlineSyncClient.cpp' || echo '$(srcdir)/'`src/syncevo/CmdlineSyncClient.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-CmdlineSyncClient.lo `test -f 'src/syncevo/CmdlineSyncClient.cpp' || echo '$(srcdir)/'`src/syncevo/CmdlineSyncClient.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo: src/syncevo/SyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncSource.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo `test -f 'src/syncevo/SyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/SyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncSource.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo `test -f 'src/syncevo/SyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/SyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncSource.lo `test -f 'src/syncevo/SyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/SyncSource.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo: src/syncevo/SynthesisDBPlugin.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo `test -f 'src/syncevo/SynthesisDBPlugin.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisDBPlugin.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SynthesisDBPlugin.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SynthesisDBPlugin.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo `test -f 'src/syncevo/SynthesisDBPlugin.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisDBPlugin.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SynthesisDBPlugin.lo `test -f 'src/syncevo/SynthesisDBPlugin.cpp' || echo '$(srcdir)/'`src/syncevo/SynthesisDBPlugin.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo: src/syncevo/SuspendFlags.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SuspendFlags.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo `test -f 'src/syncevo/SuspendFlags.cpp' || echo '$(srcdir)/'`src/syncevo/SuspendFlags.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SuspendFlags.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SuspendFlags.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SuspendFlags.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SuspendFlags.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo `test -f 'src/syncevo/SuspendFlags.cpp' || echo '$(srcdir)/'`src/syncevo/SuspendFlags.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SuspendFlags.lo `test -f 'src/syncevo/SuspendFlags.cpp' || echo '$(srcdir)/'`src/syncevo/SuspendFlags.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo: src/syncevo/SyncContext.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncContext.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo `test -f 'src/syncevo/SyncContext.cpp' || echo '$(srcdir)/'`src/syncevo/SyncContext.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncContext.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncContext.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SyncContext.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SyncContext.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo `test -f 'src/syncevo/SyncContext.cpp' || echo '$(srcdir)/'`src/syncevo/SyncContext.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncContext.lo `test -f 'src/syncevo/SyncContext.cpp' || echo '$(srcdir)/'`src/syncevo/SyncContext.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo: src/syncevo/UserInterface.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-UserInterface.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo `test -f 'src/syncevo/UserInterface.cpp' || echo '$(srcdir)/'`src/syncevo/UserInterface.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-UserInterface.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-UserInterface.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/UserInterface.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/UserInterface.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo `test -f 'src/syncevo/UserInterface.cpp' || echo '$(srcdir)/'`src/syncevo/UserInterface.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-UserInterface.lo `test -f 'src/syncevo/UserInterface.cpp' || echo '$(srcdir)/'`src/syncevo/UserInterface.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo: src/syncevo/SyncConfig.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncConfig.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo `test -f 'src/syncevo/SyncConfig.cpp' || echo '$(srcdir)/'`src/syncevo/SyncConfig.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncConfig.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SyncConfig.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SyncConfig.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SyncConfig.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo `test -f 'src/syncevo/SyncConfig.cpp' || echo '$(srcdir)/'`src/syncevo/SyncConfig.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SyncConfig.lo `test -f 'src/syncevo/SyncConfig.cpp' || echo '$(srcdir)/'`src/syncevo/SyncConfig.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo: src/syncevo/MultiplexConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MultiplexConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo `test -f 'src/syncevo/MultiplexConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/MultiplexConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MultiplexConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MultiplexConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/MultiplexConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/MultiplexConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo `test -f 'src/syncevo/MultiplexConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/MultiplexConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-MultiplexConfigNode.lo `test -f 'src/syncevo/MultiplexConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/MultiplexConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo: src/syncevo/FilterConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FilterConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo `test -f 'src/syncevo/FilterConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/FilterConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FilterConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FilterConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/FilterConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/FilterConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo `test -f 'src/syncevo/FilterConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/FilterConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FilterConfigNode.lo `test -f 'src/syncevo/FilterConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/FilterConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo: src/syncevo/SafeConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo `test -f 'src/syncevo/SafeConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/SafeConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SafeConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SafeConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo `test -f 'src/syncevo/SafeConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/SafeConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeConfigNode.lo `test -f 'src/syncevo/SafeConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/SafeConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo: src/syncevo/PrefixConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-PrefixConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo `test -f 'src/syncevo/PrefixConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/PrefixConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-PrefixConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-PrefixConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/PrefixConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/PrefixConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo `test -f 'src/syncevo/PrefixConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/PrefixConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-PrefixConfigNode.lo `test -f 'src/syncevo/PrefixConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/PrefixConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo: src/syncevo/IniConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-IniConfigNode.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo `test -f 'src/syncevo/IniConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/IniConfigNode.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-IniConfigNode.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-IniConfigNode.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/IniConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/IniConfigNode.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo `test -f 'src/syncevo/IniConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/IniConfigNode.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-IniConfigNode.lo `test -f 'src/syncevo/IniConfigNode.cpp' || echo '$(srcdir)/'`src/syncevo/IniConfigNode.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo: src/syncevo/SingleFileConfigTree.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SingleFileConfigTree.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo `test -f 'src/syncevo/SingleFileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/SingleFileConfigTree.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SingleFileConfigTree.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SingleFileConfigTree.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SingleFileConfigTree.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SingleFileConfigTree.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo `test -f 'src/syncevo/SingleFileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/SingleFileConfigTree.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SingleFileConfigTree.lo `test -f 'src/syncevo/SingleFileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/SingleFileConfigTree.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo: src/syncevo/FileDataBlob.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileDataBlob.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo `test -f 'src/syncevo/FileDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/FileDataBlob.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileDataBlob.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileDataBlob.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/FileDataBlob.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/FileDataBlob.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo `test -f 'src/syncevo/FileDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/FileDataBlob.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileDataBlob.lo `test -f 'src/syncevo/FileDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/FileDataBlob.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo: src/syncevo/StringDataBlob.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-StringDataBlob.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo `test -f 'src/syncevo/StringDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/StringDataBlob.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-StringDataBlob.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-StringDataBlob.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/StringDataBlob.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/StringDataBlob.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo `test -f 'src/syncevo/StringDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/StringDataBlob.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-StringDataBlob.lo `test -f 'src/syncevo/StringDataBlob.cpp' || echo '$(srcdir)/'`src/syncevo/StringDataBlob.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo: src/syncevo/SafeOstream.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeOstream.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo `test -f 'src/syncevo/SafeOstream.cpp' || echo '$(srcdir)/'`src/syncevo/SafeOstream.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeOstream.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-SafeOstream.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/SafeOstream.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/SafeOstream.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo `test -f 'src/syncevo/SafeOstream.cpp' || echo '$(srcdir)/'`src/syncevo/SafeOstream.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-SafeOstream.lo `test -f 'src/syncevo/SafeOstream.cpp' || echo '$(srcdir)/'`src/syncevo/SafeOstream.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo: src/syncevo/FileConfigTree.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileConfigTree.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo `test -f 'src/syncevo/FileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/FileConfigTree.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileConfigTree.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-FileConfigTree.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/FileConfigTree.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/FileConfigTree.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo `test -f 'src/syncevo/FileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/FileConfigTree.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-FileConfigTree.lo `test -f 'src/syncevo/FileConfigTree.cpp' || echo '$(srcdir)/'`src/syncevo/FileConfigTree.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo: src/syncevo/MapSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MapSyncSource.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo `test -f 'src/syncevo/MapSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/MapSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MapSyncSource.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-MapSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/MapSyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/MapSyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo `test -f 'src/syncevo/MapSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/MapSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-MapSyncSource.lo `test -f 'src/syncevo/MapSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/MapSyncSource.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo: src/syncevo/TrackingSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TrackingSyncSource.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo `test -f 'src/syncevo/TrackingSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/TrackingSyncSource.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TrackingSyncSource.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-TrackingSyncSource.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/TrackingSyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/TrackingSyncSource.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo `test -f 'src/syncevo/TrackingSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/TrackingSyncSource.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-TrackingSyncSource.lo `test -f 'src/syncevo/TrackingSyncSource.cpp' || echo '$(srcdir)/'`src/syncevo/TrackingSyncSource.cpp
 
 src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo: src/syncevo/ObexTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -MT src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo -MD -MP -MF src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ObexTransportAgent.Tpo -c -o src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo `test -f 'src/syncevo/ObexTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/ObexTransportAgent.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ObexTransportAgent.Tpo src/syncevo/$(DEPDIR)/src_syncevo_libsyncevolution_la-ObexTransportAgent.Plo
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo/ObexTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo/ObexTransportAgent.cpp' object='src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo `test -f 'src/syncevo/ObexTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/ObexTransportAgent.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_libsyncevolution_la_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_libsyncevolution_la_CXXFLAGS) $(CXXFLAGS) -c -o src/syncevo/src_syncevo_libsyncevolution_la-ObexTransportAgent.lo `test -f 'src/syncevo/ObexTransportAgent.cpp' || echo '$(srcdir)/'`src/syncevo/ObexTransportAgent.cpp
 
 test/src_abort_redirect-abort-redirect.o: test/abort-redirect.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -MT test/src_abort_redirect-abort-redirect.o -MD -MP -MF test/$(DEPDIR)/src_abort_redirect-abort-redirect.Tpo -c -o test/src_abort_redirect-abort-redirect.o `test -f 'test/abort-redirect.cpp' || echo '$(srcdir)/'`test/abort-redirect.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_abort_redirect-abort-redirect.Tpo test/$(DEPDIR)/src_abort_redirect-abort-redirect.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/abort-redirect.cpp' object='test/src_abort_redirect-abort-redirect.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/abort-redirect.cpp' object='test/src_abort_redirect-abort-redirect.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -c -o test/src_abort_redirect-abort-redirect.o `test -f 'test/abort-redirect.cpp' || echo '$(srcdir)/'`test/abort-redirect.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -c -o test/src_abort_redirect-abort-redirect.o `test -f 'test/abort-redirect.cpp' || echo '$(srcdir)/'`test/abort-redirect.cpp
 
 test/src_abort_redirect-abort-redirect.obj: test/abort-redirect.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -MT test/src_abort_redirect-abort-redirect.obj -MD -MP -MF test/$(DEPDIR)/src_abort_redirect-abort-redirect.Tpo -c -o test/src_abort_redirect-abort-redirect.obj `if test -f 'test/abort-redirect.cpp'; then $(CYGPATH_W) 'test/abort-redirect.cpp'; else $(CYGPATH_W) '$(srcdir)/test/abort-redirect.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_abort_redirect-abort-redirect.Tpo test/$(DEPDIR)/src_abort_redirect-abort-redirect.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/abort-redirect.cpp' object='test/src_abort_redirect-abort-redirect.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/abort-redirect.cpp' object='test/src_abort_redirect-abort-redirect.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -c -o test/src_abort_redirect-abort-redirect.obj `if test -f 'test/abort-redirect.cpp'; then $(CYGPATH_W) 'test/abort-redirect.cpp'; else $(CYGPATH_W) '$(srcdir)/test/abort-redirect.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_abort_redirect_CPPFLAGS) $(CPPFLAGS) $(src_abort_redirect_CXXFLAGS) $(CXXFLAGS) -c -o test/src_abort_redirect-abort-redirect.obj `if test -f 'test/abort-redirect.cpp'; then $(CYGPATH_W) 'test/abort-redirect.cpp'; else $(CYGPATH_W) '$(srcdir)/test/abort-redirect.cpp'; fi`
 
 src/src_client_test-client-test-app.o: src/client-test-app.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/src_client_test-client-test-app.o -MD -MP -MF src/$(DEPDIR)/src_client_test-client-test-app.Tpo -c -o src/src_client_test-client-test-app.o `test -f 'src/client-test-app.cpp' || echo '$(srcdir)/'`src/client-test-app.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_client_test-client-test-app.Tpo src/$(DEPDIR)/src_client_test-client-test-app.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/client-test-app.cpp' object='src/src_client_test-client-test-app.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/client-test-app.cpp' object='src/src_client_test-client-test-app.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/src_client_test-client-test-app.o `test -f 'src/client-test-app.cpp' || echo '$(srcdir)/'`src/client-test-app.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/src_client_test-client-test-app.o `test -f 'src/client-test-app.cpp' || echo '$(srcdir)/'`src/client-test-app.cpp
 
 src/src_client_test-client-test-app.obj: src/client-test-app.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/src_client_test-client-test-app.obj -MD -MP -MF src/$(DEPDIR)/src_client_test-client-test-app.Tpo -c -o src/src_client_test-client-test-app.obj `if test -f 'src/client-test-app.cpp'; then $(CYGPATH_W) 'src/client-test-app.cpp'; else $(CYGPATH_W) '$(srcdir)/src/client-test-app.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_client_test-client-test-app.Tpo src/$(DEPDIR)/src_client_test-client-test-app.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/client-test-app.cpp' object='src/src_client_test-client-test-app.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/client-test-app.cpp' object='src/src_client_test-client-test-app.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/src_client_test-client-test-app.obj `if test -f 'src/client-test-app.cpp'; then $(CYGPATH_W) 'src/client-test-app.cpp'; else $(CYGPATH_W) '$(srcdir)/src/client-test-app.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/src_client_test-client-test-app.obj `if test -f 'src/client-test-app.cpp'; then $(CYGPATH_W) 'src/client-test-app.cpp'; else $(CYGPATH_W) '$(srcdir)/src/client-test-app.cpp'; fi`
 
 test/src_client_test-ClientTest.o: test/ClientTest.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-ClientTest.o -MD -MP -MF test/$(DEPDIR)/src_client_test-ClientTest.Tpo -c -o test/src_client_test-ClientTest.o `test -f 'test/ClientTest.cpp' || echo '$(srcdir)/'`test/ClientTest.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-ClientTest.Tpo test/$(DEPDIR)/src_client_test-ClientTest.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/ClientTest.cpp' object='test/src_client_test-ClientTest.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/ClientTest.cpp' object='test/src_client_test-ClientTest.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-ClientTest.o `test -f 'test/ClientTest.cpp' || echo '$(srcdir)/'`test/ClientTest.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-ClientTest.o `test -f 'test/ClientTest.cpp' || echo '$(srcdir)/'`test/ClientTest.cpp
 
 test/src_client_test-ClientTest.obj: test/ClientTest.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-ClientTest.obj -MD -MP -MF test/$(DEPDIR)/src_client_test-ClientTest.Tpo -c -o test/src_client_test-ClientTest.obj `if test -f 'test/ClientTest.cpp'; then $(CYGPATH_W) 'test/ClientTest.cpp'; else $(CYGPATH_W) '$(srcdir)/test/ClientTest.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-ClientTest.Tpo test/$(DEPDIR)/src_client_test-ClientTest.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/ClientTest.cpp' object='test/src_client_test-ClientTest.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/ClientTest.cpp' object='test/src_client_test-ClientTest.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-ClientTest.obj `if test -f 'test/ClientTest.cpp'; then $(CYGPATH_W) 'test/ClientTest.cpp'; else $(CYGPATH_W) '$(srcdir)/test/ClientTest.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-ClientTest.obj `if test -f 'test/ClientTest.cpp'; then $(CYGPATH_W) 'test/ClientTest.cpp'; else $(CYGPATH_W) '$(srcdir)/test/ClientTest.cpp'; fi`
 
 test/src_client_test-client-test-main.o: test/client-test-main.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-client-test-main.o -MD -MP -MF test/$(DEPDIR)/src_client_test-client-test-main.Tpo -c -o test/src_client_test-client-test-main.o `test -f 'test/client-test-main.cpp' || echo '$(srcdir)/'`test/client-test-main.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-client-test-main.Tpo test/$(DEPDIR)/src_client_test-client-test-main.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/client-test-main.cpp' object='test/src_client_test-client-test-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/client-test-main.cpp' object='test/src_client_test-client-test-main.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-client-test-main.o `test -f 'test/client-test-main.cpp' || echo '$(srcdir)/'`test/client-test-main.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-client-test-main.o `test -f 'test/client-test-main.cpp' || echo '$(srcdir)/'`test/client-test-main.cpp
 
 test/src_client_test-client-test-main.obj: test/client-test-main.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-client-test-main.obj -MD -MP -MF test/$(DEPDIR)/src_client_test-client-test-main.Tpo -c -o test/src_client_test-client-test-main.obj `if test -f 'test/client-test-main.cpp'; then $(CYGPATH_W) 'test/client-test-main.cpp'; else $(CYGPATH_W) '$(srcdir)/test/client-test-main.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-client-test-main.Tpo test/$(DEPDIR)/src_client_test-client-test-main.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/client-test-main.cpp' object='test/src_client_test-client-test-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/client-test-main.cpp' object='test/src_client_test-client-test-main.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-client-test-main.obj `if test -f 'test/client-test-main.cpp'; then $(CYGPATH_W) 'test/client-test-main.cpp'; else $(CYGPATH_W) '$(srcdir)/test/client-test-main.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-client-test-main.obj `if test -f 'test/client-test-main.cpp'; then $(CYGPATH_W) 'test/client-test-main.cpp'; else $(CYGPATH_W) '$(srcdir)/test/client-test-main.cpp'; fi`
 
 src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 
 src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_client_test-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_client_test-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 
 src/backends/addressbook/src_client_test-AddressBookSourceRegister.o: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_client_test-AddressBookSourceRegister.o -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_client_test-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_client_test-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 
 src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_client_test-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_client_test-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 
 src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 
 src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_client_test-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_client_test-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 
 src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 
 src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_client_test-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_client_test-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 
 src/backends/file/src_client_test-FileSyncSourceRegister.o: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_client_test-FileSyncSourceRegister.o -MD -MP -MF src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_client_test-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_client_test-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_client_test-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_client_test-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_client_test-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 
 src/backends/file/src_client_test-FileSyncSourceRegister.obj: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_client_test-FileSyncSourceRegister.obj -MD -MP -MF src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_client_test-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_client_test-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_client_test-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_client_test-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_client_test-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_client_test-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 
 src/backends/gnome/src_client_test-GNOMEPlatformRegister.o: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_client_test-GNOMEPlatformRegister.o -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_client_test-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_client_test-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_client_test-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_client_test-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 
 src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 
 src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_client_test-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_client_test-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 
 src/backends/kde/src_client_test-KDEPlatformRegister.o: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_client_test-KDEPlatformRegister.o -MD -MP -MF src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_client_test-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_client_test-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_client_test-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_client_test-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_client_test-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/kde/src_client_test-KDEPlatformRegister.obj: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_client_test-KDEPlatformRegister.obj -MD -MP -MF src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_client_test-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_client_test-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_client_test-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_client_test-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_client_test-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_client_test-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 
 src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 
 src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_client_test-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_client_test-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 
 src/backends/pbap/src_client_test-PbapSyncSourceRegister.o: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_client_test-PbapSyncSourceRegister.o -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_client_test-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_client_test-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 
 src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_client_test-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_client_test-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 
 src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 
 src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_client_test-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_client_test-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 
 src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 
 src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_client_test-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_client_test-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 
 src/backends/webdav/src_client_test-WebDAVSourceRegister.o: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_client_test-WebDAVSourceRegister.o -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_client_test-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_client_test-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 
 src/backends/webdav/src_client_test-WebDAVSourceRegister.obj: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_client_test-WebDAVSourceRegister.obj -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_client_test-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_client_test-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_client_test-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_client_test-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 
 src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 
 src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_client_test-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_client_test-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 
 test/src_client_test-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-test.o -MD -MP -MF test/$(DEPDIR)/src_client_test-test.Tpo -c -o test/src_client_test-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-test.Tpo test/$(DEPDIR)/src_client_test-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_client_test-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_client_test-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/src_client_test-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -MT test/src_client_test-test.obj -MD -MP -MF test/$(DEPDIR)/src_client_test-test.Tpo -c -o test/src_client_test-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_client_test-test.Tpo test/$(DEPDIR)/src_client_test-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_client_test-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_client_test-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_client_test_CPPFLAGS) $(CPPFLAGS) $(src_client_test_CXXFLAGS) $(CXXFLAGS) -c -o test/src_client_test-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 src/gdbus/test/src_gdbus_example-example.o: src/gdbus/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -MT src/gdbus/test/src_gdbus_example-example.o -MD -MP -MF src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Tpo -c -o src/gdbus/test/src_gdbus_example-example.o `test -f 'src/gdbus/test/example.cpp' || echo '$(srcdir)/'`src/gdbus/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Tpo src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbus/test/example.cpp' object='src/gdbus/test/src_gdbus_example-example.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbus/test/example.cpp' object='src/gdbus/test/src_gdbus_example-example.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/test/src_gdbus_example-example.o `test -f 'src/gdbus/test/example.cpp' || echo '$(srcdir)/'`src/gdbus/test/example.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/test/src_gdbus_example-example.o `test -f 'src/gdbus/test/example.cpp' || echo '$(srcdir)/'`src/gdbus/test/example.cpp
 
 src/gdbus/test/src_gdbus_example-example.obj: src/gdbus/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -MT src/gdbus/test/src_gdbus_example-example.obj -MD -MP -MF src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Tpo -c -o src/gdbus/test/src_gdbus_example-example.obj `if test -f 'src/gdbus/test/example.cpp'; then $(CYGPATH_W) 'src/gdbus/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbus/test/example.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Tpo src/gdbus/test/$(DEPDIR)/src_gdbus_example-example.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbus/test/example.cpp' object='src/gdbus/test/src_gdbus_example-example.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbus/test/example.cpp' object='src/gdbus/test/src_gdbus_example-example.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/test/src_gdbus_example-example.obj `if test -f 'src/gdbus/test/example.cpp'; then $(CYGPATH_W) 'src/gdbus/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbus/test/example.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbus_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbus_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbus/test/src_gdbus_example-example.obj `if test -f 'src/gdbus/test/example.cpp'; then $(CYGPATH_W) 'src/gdbus/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbus/test/example.cpp'; fi`
 
 src/gdbusxx/test/src_gdbusxx_example-example.o: src/gdbusxx/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -MT src/gdbusxx/test/src_gdbusxx_example-example.o -MD -MP -MF src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Tpo -c -o src/gdbusxx/test/src_gdbusxx_example-example.o `test -f 'src/gdbusxx/test/example.cpp' || echo '$(srcdir)/'`src/gdbusxx/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Tpo src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbusxx/test/example.cpp' object='src/gdbusxx/test/src_gdbusxx_example-example.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbusxx/test/example.cpp' object='src/gdbusxx/test/src_gdbusxx_example-example.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/test/src_gdbusxx_example-example.o `test -f 'src/gdbusxx/test/example.cpp' || echo '$(srcdir)/'`src/gdbusxx/test/example.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/test/src_gdbusxx_example-example.o `test -f 'src/gdbusxx/test/example.cpp' || echo '$(srcdir)/'`src/gdbusxx/test/example.cpp
 
 src/gdbusxx/test/src_gdbusxx_example-example.obj: src/gdbusxx/test/example.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -MT src/gdbusxx/test/src_gdbusxx_example-example.obj -MD -MP -MF src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Tpo -c -o src/gdbusxx/test/src_gdbusxx_example-example.obj `if test -f 'src/gdbusxx/test/example.cpp'; then $(CYGPATH_W) 'src/gdbusxx/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbusxx/test/example.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Tpo src/gdbusxx/test/$(DEPDIR)/src_gdbusxx_example-example.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/gdbusxx/test/example.cpp' object='src/gdbusxx/test/src_gdbusxx_example-example.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/gdbusxx/test/example.cpp' object='src/gdbusxx/test/src_gdbusxx_example-example.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/test/src_gdbusxx_example-example.obj `if test -f 'src/gdbusxx/test/example.cpp'; then $(CYGPATH_W) 'src/gdbusxx/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbusxx/test/example.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_gdbusxx_example_CPPFLAGS) $(CPPFLAGS) $(src_gdbusxx_example_CXXFLAGS) $(CXXFLAGS) -c -o src/gdbusxx/test/src_gdbusxx_example-example.obj `if test -f 'src/gdbusxx/test/example.cpp'; then $(CYGPATH_W) 'src/gdbusxx/test/example.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gdbusxx/test/example.cpp'; fi`
 
 src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 
 src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_helper-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_helper-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 
 src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 
 src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_helper-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_helper-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 
 src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 
 src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_helper-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_helper-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_helper-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 
 src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 
 src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_dbus_helper-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_helper-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 
 src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_helper-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_helper-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 
 src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 
 src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_helper-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_helper-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 
 src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_dbus_helper-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_helper-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 
 src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 
 src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_helper-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 
 src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 
 src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_helper-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_helper-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 
 src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 
 src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_helper-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_helper-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 
 src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 
 src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_helper-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_helper-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 
 src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 
 src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_helper-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_helper-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 
 src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 
 src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_helper-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 
 test/src_syncevo_dbus_helper-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_dbus_helper-test.o -MD -MP -MF test/$(DEPDIR)/src_syncevo_dbus_helper-test.Tpo -c -o test/src_syncevo_dbus_helper-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_dbus_helper-test.Tpo test/$(DEPDIR)/src_syncevo_dbus_helper-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_dbus_helper-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_dbus_helper-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_helper-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_helper-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/src_syncevo_dbus_helper-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_dbus_helper-test.obj -MD -MP -MF test/$(DEPDIR)/src_syncevo_dbus_helper-test.Tpo -c -o test/src_syncevo_dbus_helper-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_dbus_helper-test.Tpo test/$(DEPDIR)/src_syncevo_dbus_helper-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_dbus_helper-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_dbus_helper-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_helper-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_helper_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_helper_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_helper-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 
 src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_dbus_server-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_dbus_server-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 
 src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 
 src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_dbus_server-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_dbus_server-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 
 src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 
 src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_dbus_server-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_dbus_server-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_dbus_server-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_dbus_server-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 
 src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 
 src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_dbus_server-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_dbus_server-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 
 src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_dbus_server-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_dbus_server-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 
 src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 
 src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_dbus_server-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_dbus_server-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 
 src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_dbus_server-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_dbus_server-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 
 src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 
 src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_dbus_server-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_dbus_server-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 
 src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 
 src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_dbus_server-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_dbus_server-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 
 src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 
 src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_dbus_server-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_dbus_server-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 
 src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 
 src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_dbus_server-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_dbus_server-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 
 src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 
 src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_dbus_server-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_dbus_server-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 
 src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 
 src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_dbus_server-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 
 test/src_syncevo_dbus_server-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_dbus_server-test.o -MD -MP -MF test/$(DEPDIR)/src_syncevo_dbus_server-test.Tpo -c -o test/src_syncevo_dbus_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_dbus_server-test.Tpo test/$(DEPDIR)/src_syncevo_dbus_server-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_dbus_server-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_dbus_server-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/src_syncevo_dbus_server-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_dbus_server-test.obj -MD -MP -MF test/$(DEPDIR)/src_syncevo_dbus_server-test.Tpo -c -o test/src_syncevo_dbus_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_dbus_server-test.Tpo test/$(DEPDIR)/src_syncevo_dbus_server-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_dbus_server-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_dbus_server-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_dbus_server_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_dbus_server_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_dbus_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 src/src_syncevo_local_sync-syncevo-local-sync.o: src/syncevo-local-sync.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/src_syncevo_local_sync-syncevo-local-sync.o -MD -MP -MF src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Tpo -c -o src/src_syncevo_local_sync-syncevo-local-sync.o `test -f 'src/syncevo-local-sync.cpp' || echo '$(srcdir)/'`src/syncevo-local-sync.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Tpo src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo-local-sync.cpp' object='src/src_syncevo_local_sync-syncevo-local-sync.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo-local-sync.cpp' object='src/src_syncevo_local_sync-syncevo-local-sync.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevo_local_sync-syncevo-local-sync.o `test -f 'src/syncevo-local-sync.cpp' || echo '$(srcdir)/'`src/syncevo-local-sync.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevo_local_sync-syncevo-local-sync.o `test -f 'src/syncevo-local-sync.cpp' || echo '$(srcdir)/'`src/syncevo-local-sync.cpp
 
 src/src_syncevo_local_sync-syncevo-local-sync.obj: src/syncevo-local-sync.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/src_syncevo_local_sync-syncevo-local-sync.obj -MD -MP -MF src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Tpo -c -o src/src_syncevo_local_sync-syncevo-local-sync.obj `if test -f 'src/syncevo-local-sync.cpp'; then $(CYGPATH_W) 'src/syncevo-local-sync.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevo-local-sync.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Tpo src/$(DEPDIR)/src_syncevo_local_sync-syncevo-local-sync.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevo-local-sync.cpp' object='src/src_syncevo_local_sync-syncevo-local-sync.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevo-local-sync.cpp' object='src/src_syncevo_local_sync-syncevo-local-sync.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevo_local_sync-syncevo-local-sync.obj `if test -f 'src/syncevo-local-sync.cpp'; then $(CYGPATH_W) 'src/syncevo-local-sync.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevo-local-sync.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevo_local_sync-syncevo-local-sync.obj `if test -f 'src/syncevo-local-sync.cpp'; then $(CYGPATH_W) 'src/syncevo-local-sync.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevo-local-sync.cpp'; fi`
 
 src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 
 src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevo_local_sync-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevo_local_sync-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 
 src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 
 src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevo_local_sync-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevo_local_sync-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 
 src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 
 src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevo_local_sync-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevo_local_sync-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 
 src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevo_local_sync-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevo_local_sync-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 
 src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 
 src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevo_local_sync-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevo_local_sync-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 
 src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevo_local_sync-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevo_local_sync-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 
 src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 
 src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevo_local_sync-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevo_local_sync-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 
 src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevo_local_sync-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevo_local_sync-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 
 src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 
 src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevo_local_sync-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevo_local_sync-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 
 src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 
 src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevo_local_sync-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevo_local_sync-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 
 src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 
 src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevo_local_sync-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevo_local_sync-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 
 src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 
 src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevo_local_sync-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevo_local_sync-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 
 src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 
 src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevo_local_sync-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevo_local_sync-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 
 src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 
 src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevo_local_sync-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevo_local_sync-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 
 test/src_syncevo_local_sync-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_local_sync-test.o -MD -MP -MF test/$(DEPDIR)/src_syncevo_local_sync-test.Tpo -c -o test/src_syncevo_local_sync-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_local_sync-test.Tpo test/$(DEPDIR)/src_syncevo_local_sync-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_local_sync-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_local_sync-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_local_sync-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_local_sync-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/src_syncevo_local_sync-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevo_local_sync-test.obj -MD -MP -MF test/$(DEPDIR)/src_syncevo_local_sync-test.Tpo -c -o test/src_syncevo_local_sync-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevo_local_sync-test.Tpo test/$(DEPDIR)/src_syncevo_local_sync-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevo_local_sync-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevo_local_sync-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_local_sync-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevo_local_sync_CPPFLAGS) $(CPPFLAGS) $(src_syncevo_local_sync_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevo_local_sync-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 src/src_syncevolution-syncevolution.o: src/syncevolution.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/src_syncevolution-syncevolution.o -MD -MP -MF src/$(DEPDIR)/src_syncevolution-syncevolution.Tpo -c -o src/src_syncevolution-syncevolution.o `test -f 'src/syncevolution.cpp' || echo '$(srcdir)/'`src/syncevolution.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_syncevolution-syncevolution.Tpo src/$(DEPDIR)/src_syncevolution-syncevolution.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevolution.cpp' object='src/src_syncevolution-syncevolution.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevolution.cpp' object='src/src_syncevolution-syncevolution.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevolution-syncevolution.o `test -f 'src/syncevolution.cpp' || echo '$(srcdir)/'`src/syncevolution.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevolution-syncevolution.o `test -f 'src/syncevolution.cpp' || echo '$(srcdir)/'`src/syncevolution.cpp
 
 src/src_syncevolution-syncevolution.obj: src/syncevolution.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/src_syncevolution-syncevolution.obj -MD -MP -MF src/$(DEPDIR)/src_syncevolution-syncevolution.Tpo -c -o src/src_syncevolution-syncevolution.obj `if test -f 'src/syncevolution.cpp'; then $(CYGPATH_W) 'src/syncevolution.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevolution.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_syncevolution-syncevolution.Tpo src/$(DEPDIR)/src_syncevolution-syncevolution.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/syncevolution.cpp' object='src/src_syncevolution-syncevolution.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/syncevolution.cpp' object='src/src_syncevolution-syncevolution.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevolution-syncevolution.obj `if test -f 'src/syncevolution.cpp'; then $(CYGPATH_W) 'src/syncevolution.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevolution.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/src_syncevolution-syncevolution.obj `if test -f 'src/syncevolution.cpp'; then $(CYGPATH_W) 'src/syncevolution.cpp'; else $(CYGPATH_W) '$(srcdir)/src/syncevolution.cpp'; fi`
 
 src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.o `test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/activesync/ActiveSyncSourceRegister.cpp
 
 src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj: src/backends/activesync/ActiveSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj -MD -MP -MF src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Tpo -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Tpo src/backends/activesync/$(DEPDIR)/src_syncevolution-ActiveSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/activesync/ActiveSyncSourceRegister.cpp' object='src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/activesync/src_syncevolution-ActiveSyncSourceRegister.obj `if test -f 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/activesync/ActiveSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/activesync/ActiveSyncSourceRegister.cpp'; fi`
 
 src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.o `test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/addressbook/AddressBookSourceRegister.cpp
 
 src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj: src/backends/addressbook/AddressBookSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj -MD -MP -MF src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Tpo -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Tpo src/backends/addressbook/$(DEPDIR)/src_syncevolution-AddressBookSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/addressbook/AddressBookSourceRegister.cpp' object='src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/addressbook/src_syncevolution-AddressBookSourceRegister.obj `if test -f 'src/backends/addressbook/AddressBookSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/addressbook/AddressBookSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/addressbook/AddressBookSourceRegister.cpp'; fi`
 
 src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.o `test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 
 src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj: src/backends/akonadi/AkonadiSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj -MD -MP -MF src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Tpo -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Tpo src/backends/akonadi/$(DEPDIR)/src_syncevolution-AkonadiSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/akonadi/AkonadiSyncSourceRegister.cpp' object='src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/akonadi/src_syncevolution-AkonadiSyncSourceRegister.obj `if test -f 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/akonadi/AkonadiSyncSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.o `test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 
 src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj: src/backends/evolution/EvolutionCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Tpo -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionCalendarSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionCalendarSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionCalendarSourceRegister.cpp'; fi`
 
 src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.o `test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/evolution/EvolutionContactSourceRegister.cpp
 
 src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj: src/backends/evolution/EvolutionContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj -MD -MP -MF src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Tpo -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Tpo src/backends/evolution/$(DEPDIR)/src_syncevolution-EvolutionContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/evolution/EvolutionContactSourceRegister.cpp' object='src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/evolution/src_syncevolution-EvolutionContactSourceRegister.obj `if test -f 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/evolution/EvolutionContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/evolution/EvolutionContactSourceRegister.cpp'; fi`
 
 src/backends/file/src_syncevolution-FileSyncSourceRegister.o: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevolution-FileSyncSourceRegister.o -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevolution-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevolution-FileSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.o `test -f 'src/backends/file/FileSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/file/FileSyncSourceRegister.cpp
 
 src/backends/file/src_syncevolution-FileSyncSourceRegister.obj: src/backends/file/FileSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/file/src_syncevolution-FileSyncSourceRegister.obj -MD -MP -MF src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Tpo -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Tpo src/backends/file/$(DEPDIR)/src_syncevolution-FileSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevolution-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/file/FileSyncSourceRegister.cpp' object='src/backends/file/src_syncevolution-FileSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/file/src_syncevolution-FileSyncSourceRegister.obj `if test -f 'src/backends/file/FileSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/file/FileSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/file/FileSyncSourceRegister.cpp'; fi`
 
 src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.o `test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/gnome/GNOMEPlatformRegister.cpp
 
 src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj: src/backends/gnome/GNOMEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj -MD -MP -MF src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Tpo -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Tpo src/backends/gnome/$(DEPDIR)/src_syncevolution-GNOMEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/gnome/GNOMEPlatformRegister.cpp' object='src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/gnome/src_syncevolution-GNOMEPlatformRegister.obj `if test -f 'src/backends/gnome/GNOMEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/gnome/GNOMEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/gnome/GNOMEPlatformRegister.cpp'; fi`
 
 src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.o `test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 
 src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj: src/backends/kcalextended/KCalExtendedSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj -MD -MP -MF src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Tpo -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Tpo src/backends/kcalextended/$(DEPDIR)/src_syncevolution-KCalExtendedSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kcalextended/KCalExtendedSourceRegister.cpp' object='src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kcalextended/src_syncevolution-KCalExtendedSourceRegister.obj `if test -f 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kcalextended/KCalExtendedSourceRegister.cpp'; fi`
 
 src/backends/kde/src_syncevolution-KDEPlatformRegister.o: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevolution-KDEPlatformRegister.o -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevolution-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevolution-KDEPlatformRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.o `test -f 'src/backends/kde/KDEPlatformRegister.cpp' || echo '$(srcdir)/'`src/backends/kde/KDEPlatformRegister.cpp
 
 src/backends/kde/src_syncevolution-KDEPlatformRegister.obj: src/backends/kde/KDEPlatformRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/kde/src_syncevolution-KDEPlatformRegister.obj -MD -MP -MF src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Tpo -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Tpo src/backends/kde/$(DEPDIR)/src_syncevolution-KDEPlatformRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevolution-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/kde/KDEPlatformRegister.cpp' object='src/backends/kde/src_syncevolution-KDEPlatformRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/kde/src_syncevolution-KDEPlatformRegister.obj `if test -f 'src/backends/kde/KDEPlatformRegister.cpp'; then $(CYGPATH_W) 'src/backends/kde/KDEPlatformRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/kde/KDEPlatformRegister.cpp'; fi`
 
 src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.o `test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/maemo/MaemoCalendarSourceRegister.cpp
 
 src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj: src/backends/maemo/MaemoCalendarSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj -MD -MP -MF src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Tpo -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Tpo src/backends/maemo/$(DEPDIR)/src_syncevolution-MaemoCalendarSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/maemo/MaemoCalendarSourceRegister.cpp' object='src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/maemo/src_syncevolution-MaemoCalendarSourceRegister.obj `if test -f 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/maemo/MaemoCalendarSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/maemo/MaemoCalendarSourceRegister.cpp'; fi`
 
 src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.o `test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/pbap/PbapSyncSourceRegister.cpp
 
 src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj: src/backends/pbap/PbapSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj -MD -MP -MF src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Tpo -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Tpo src/backends/pbap/$(DEPDIR)/src_syncevolution-PbapSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/pbap/PbapSyncSourceRegister.cpp' object='src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/pbap/src_syncevolution-PbapSyncSourceRegister.obj `if test -f 'src/backends/pbap/PbapSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/pbap/PbapSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/pbap/PbapSyncSourceRegister.cpp'; fi`
 
 src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.o `test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/qtcontacts/QtContactsSourceRegister.cpp
 
 src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj: src/backends/qtcontacts/QtContactsSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj -MD -MP -MF src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Tpo -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Tpo src/backends/qtcontacts/$(DEPDIR)/src_syncevolution-QtContactsSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/qtcontacts/QtContactsSourceRegister.cpp' object='src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/qtcontacts/src_syncevolution-QtContactsSourceRegister.obj `if test -f 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/qtcontacts/QtContactsSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/qtcontacts/QtContactsSourceRegister.cpp'; fi`
 
 src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.o `test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/sqlite/SQLiteContactSourceRegister.cpp
 
 src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj: src/backends/sqlite/SQLiteContactSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj -MD -MP -MF src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Tpo -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Tpo src/backends/sqlite/$(DEPDIR)/src_syncevolution-SQLiteContactSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/sqlite/SQLiteContactSourceRegister.cpp' object='src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/sqlite/src_syncevolution-SQLiteContactSourceRegister.obj `if test -f 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/sqlite/SQLiteContactSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/sqlite/SQLiteContactSourceRegister.cpp'; fi`
 
 src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.o `test -f 'src/backends/webdav/WebDAVSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/webdav/WebDAVSourceRegister.cpp
 
 src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj: src/backends/webdav/WebDAVSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj -MD -MP -MF src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Tpo -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Tpo src/backends/webdav/$(DEPDIR)/src_syncevolution-WebDAVSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/webdav/WebDAVSourceRegister.cpp' object='src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/webdav/src_syncevolution-WebDAVSourceRegister.obj `if test -f 'src/backends/webdav/WebDAVSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/webdav/WebDAVSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/webdav/WebDAVSourceRegister.cpp'; fi`
 
 src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.o `test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' || echo '$(srcdir)/'`src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 
 src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj: src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj -MD -MP -MF src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Tpo -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Tpo src/backends/xmlrpc/$(DEPDIR)/src_syncevolution-XMLRPCSyncSourceRegister.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp' object='src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o src/backends/xmlrpc/src_syncevolution-XMLRPCSyncSourceRegister.obj `if test -f 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; then $(CYGPATH_W) 'src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; else $(CYGPATH_W) '$(srcdir)/src/backends/xmlrpc/XMLRPCSyncSourceRegister.cpp'; fi`
 
 test/src_syncevolution-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevolution-test.o -MD -MP -MF test/$(DEPDIR)/src_syncevolution-test.Tpo -c -o test/src_syncevolution-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevolution-test.Tpo test/$(DEPDIR)/src_syncevolution-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevolution-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevolution-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevolution-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevolution-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/src_syncevolution-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -MT test/src_syncevolution-test.obj -MD -MP -MF test/$(DEPDIR)/src_syncevolution-test.Tpo -c -o test/src_syncevolution-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/src_syncevolution-test.Tpo test/$(DEPDIR)/src_syncevolution-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/src_syncevolution-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/src_syncevolution-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevolution-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_syncevolution_CPPFLAGS) $(CPPFLAGS) $(src_syncevolution_CXXFLAGS) $(CXXFLAGS) -c -o test/src_syncevolution-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 test/test_dbus_client_server-dbus-client-server.o: test/dbus-client-server.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -MT test/test_dbus_client_server-dbus-client-server.o -MD -MP -MF test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Tpo -c -o test/test_dbus_client_server-dbus-client-server.o `test -f 'test/dbus-client-server.cpp' || echo '$(srcdir)/'`test/dbus-client-server.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Tpo test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/dbus-client-server.cpp' object='test/test_dbus_client_server-dbus-client-server.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/dbus-client-server.cpp' object='test/test_dbus_client_server-dbus-client-server.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-dbus-client-server.o `test -f 'test/dbus-client-server.cpp' || echo '$(srcdir)/'`test/dbus-client-server.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-dbus-client-server.o `test -f 'test/dbus-client-server.cpp' || echo '$(srcdir)/'`test/dbus-client-server.cpp
 
 test/test_dbus_client_server-dbus-client-server.obj: test/dbus-client-server.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -MT test/test_dbus_client_server-dbus-client-server.obj -MD -MP -MF test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Tpo -c -o test/test_dbus_client_server-dbus-client-server.obj `if test -f 'test/dbus-client-server.cpp'; then $(CYGPATH_W) 'test/dbus-client-server.cpp'; else $(CYGPATH_W) '$(srcdir)/test/dbus-client-server.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Tpo test/$(DEPDIR)/test_dbus_client_server-dbus-client-server.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/dbus-client-server.cpp' object='test/test_dbus_client_server-dbus-client-server.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/dbus-client-server.cpp' object='test/test_dbus_client_server-dbus-client-server.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-dbus-client-server.obj `if test -f 'test/dbus-client-server.cpp'; then $(CYGPATH_W) 'test/dbus-client-server.cpp'; else $(CYGPATH_W) '$(srcdir)/test/dbus-client-server.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-dbus-client-server.obj `if test -f 'test/dbus-client-server.cpp'; then $(CYGPATH_W) 'test/dbus-client-server.cpp'; else $(CYGPATH_W) '$(srcdir)/test/dbus-client-server.cpp'; fi`
 
 test/test_dbus_client_server-test.o: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -MT test/test_dbus_client_server-test.o -MD -MP -MF test/$(DEPDIR)/test_dbus_client_server-test.Tpo -c -o test/test_dbus_client_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_dbus_client_server-test.Tpo test/$(DEPDIR)/test_dbus_client_server-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/test_dbus_client_server-test.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/test_dbus_client_server-test.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-test.o `test -f 'test/test.cpp' || echo '$(srcdir)/'`test/test.cpp
 
 test/test_dbus_client_server-test.obj: test/test.cpp
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -MT test/test_dbus_client_server-test.obj -MD -MP -MF test/$(DEPDIR)/test_dbus_client_server-test.Tpo -c -o test/test_dbus_client_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 @am__fastdepCXX_TRUE@  $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_dbus_client_server-test.Tpo test/$(DEPDIR)/test_dbus_client_server-test.Po
-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='test/test.cpp' object='test/test_dbus_client_server-test.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(AM_V_CXX)source='test/test.cpp' object='test/test_dbus_client_server-test.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_dbus_client_server_CPPFLAGS) $(CPPFLAGS) $(test_dbus_client_server_CXXFLAGS) $(CXXFLAGS) -c -o test/test_dbus_client_server-test.obj `if test -f 'test/test.cpp'; then $(CYGPATH_W) 'test/test.cpp'; else $(CYGPATH_W) '$(srcdir)/test/test.cpp'; fi`
 
 mostlyclean-libtool:
        -rm -f *.lo
@@ -8951,11 +8663,18 @@ distclean-libtool:
        -rm -f libtool config.lt
 install-man1: $(man_MANS)
        @$(NORMAL_INSTALL)
-       test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
-       @list=''; test -n "$(man1dir)" || exit 0; \
-       { for i in $$list; do echo "$$i"; done; \
-       l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
-         sed -n '/\.1[a-z]*$$/p'; \
+       @list1=''; \
+       list2='$(man_MANS)'; \
+       test -n "$(man1dir)" \
+         && test -n "`echo $$list1$$list2`" \
+         || exit 0; \
+       echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+       $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+       { for i in $$list1; do echo "$$i"; done;  \
+       if test -n "$$list2"; then \
+         for i in $$list2; do echo "$$i"; done \
+           | sed -n '/\.1[a-z]*$$/p'; \
+       fi; \
        } | while read p; do \
          if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; echo "$$p"; \
@@ -8984,13 +8703,14 @@ uninstall-man1:
          sed -n '/\.1[a-z]*$$/p'; \
        } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
              -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
-       test -z "$$files" || { \
-         echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
-         cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
+       dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
 install-dist_docDATA: $(dist_doc_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
        @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9004,13 +8724,14 @@ uninstall-dist_docDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(docdir)" && rm -f $$files
+       dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
        @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9024,13 +8745,14 @@ uninstall-dist_pkgdataDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
+       dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
 install-dist_src_gtk3_ui_iconDATA: $(dist_src_gtk3_ui_icon_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk3_ui_icondir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_icondir)"
        @list='$(dist_src_gtk3_ui_icon_DATA)'; test -n "$(src_gtk3_ui_icondir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk3_ui_icondir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_icondir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9044,13 +8766,14 @@ uninstall-dist_src_gtk3_ui_iconDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_gtk3_ui_icon_DATA)'; test -n "$(src_gtk3_ui_icondir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk3_ui_icondir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk3_ui_icondir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk3_ui_icondir)'; $(am__uninstall_files_from_dir)
 install-dist_src_gtk3_ui_themercDATA: $(dist_src_gtk3_ui_themerc_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk3_ui_themercdir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_themercdir)"
        @list='$(dist_src_gtk3_ui_themerc_DATA)'; test -n "$(src_gtk3_ui_themercdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk3_ui_themercdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_themercdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9064,13 +8787,14 @@ uninstall-dist_src_gtk3_ui_themercDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_gtk3_ui_themerc_DATA)'; test -n "$(src_gtk3_ui_themercdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk3_ui_themercdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk3_ui_themercdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk3_ui_themercdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_gtk_ui_iconDATA: $(dist_src_gtk_ui_icon_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk_ui_icondir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_icondir)"
        @list='$(dist_src_gtk_ui_icon_DATA)'; test -n "$(src_gtk_ui_icondir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk_ui_icondir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_icondir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9084,13 +8808,14 @@ uninstall-dist_src_gtk_ui_iconDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_gtk_ui_icon_DATA)'; test -n "$(src_gtk_ui_icondir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk_ui_icondir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk_ui_icondir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk_ui_icondir)'; $(am__uninstall_files_from_dir)
 install-dist_src_gtk_ui_themercDATA: $(dist_src_gtk_ui_themerc_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk_ui_themercdir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_themercdir)"
        @list='$(dist_src_gtk_ui_themerc_DATA)'; test -n "$(src_gtk_ui_themercdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk_ui_themercdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_themercdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9104,13 +8829,14 @@ uninstall-dist_src_gtk_ui_themercDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_gtk_ui_themerc_DATA)'; test -n "$(src_gtk_ui_themercdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk_ui_themercdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk_ui_themercdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk_ui_themercdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configsDATA: $(dist_src_syncevo_configs_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configsdir)"
        @list='$(dist_src_syncevo_configs_DATA)'; test -n "$(src_syncevo_configsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9124,13 +8850,14 @@ uninstall-dist_src_syncevo_configsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_DATA)'; test -n "$(src_syncevo_configsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configsdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_datatypesDATA: $(dist_src_syncevo_configs_datatypes_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_datatypesdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_datatypesdir)"
        @list='$(dist_src_syncevo_configs_datatypes_DATA)'; test -n "$(src_syncevo_configs_datatypesdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_datatypesdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_datatypesdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9144,13 +8871,14 @@ uninstall-dist_src_syncevo_configs_datatypesDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_datatypes_DATA)'; test -n "$(src_syncevo_configs_datatypesdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_datatypesdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_datatypesdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_datatypesdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_datatypes_serverDATA: $(dist_src_syncevo_configs_datatypes_server_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_datatypes_serverdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)"
        @list='$(dist_src_syncevo_configs_datatypes_server_DATA)'; test -n "$(src_syncevo_configs_datatypes_serverdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9164,13 +8892,14 @@ uninstall-dist_src_syncevo_configs_datatypes_serverDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_datatypes_server_DATA)'; test -n "$(src_syncevo_configs_datatypes_serverdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_datatypes_serverdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_debugDATA: $(dist_src_syncevo_configs_debug_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_debugdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_debugdir)"
        @list='$(dist_src_syncevo_configs_debug_DATA)'; test -n "$(src_syncevo_configs_debugdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_debugdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_debugdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9184,13 +8913,14 @@ uninstall-dist_src_syncevo_configs_debugDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_debug_DATA)'; test -n "$(src_syncevo_configs_debugdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_debugdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_debugdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_debugdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_remoterulesDATA: $(dist_src_syncevo_configs_remoterules_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_remoterulesdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterulesdir)"
        @list='$(dist_src_syncevo_configs_remoterules_DATA)'; test -n "$(src_syncevo_configs_remoterulesdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_remoterulesdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterulesdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9204,13 +8934,14 @@ uninstall-dist_src_syncevo_configs_remoterulesDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_remoterules_DATA)'; test -n "$(src_syncevo_configs_remoterulesdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_remoterulesdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_remoterulesdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_remoterulesdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_remoterules_clientDATA: $(dist_src_syncevo_configs_remoterules_client_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_remoterules_clientdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)"
        @list='$(dist_src_syncevo_configs_remoterules_client_DATA)'; test -n "$(src_syncevo_configs_remoterules_clientdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9224,13 +8955,14 @@ uninstall-dist_src_syncevo_configs_remoterules_clientDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_remoterules_client_DATA)'; test -n "$(src_syncevo_configs_remoterules_clientdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_remoterules_clientdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_remoterules_serverDATA: $(dist_src_syncevo_configs_remoterules_server_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_remoterules_serverdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)"
        @list='$(dist_src_syncevo_configs_remoterules_server_DATA)'; test -n "$(src_syncevo_configs_remoterules_serverdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9244,13 +8976,14 @@ uninstall-dist_src_syncevo_configs_remoterules_serverDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_remoterules_server_DATA)'; test -n "$(src_syncevo_configs_remoterules_serverdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_remoterules_serverdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_scriptingDATA: $(dist_src_syncevo_configs_scripting_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_scriptingdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scriptingdir)"
        @list='$(dist_src_syncevo_configs_scripting_DATA)'; test -n "$(src_syncevo_configs_scriptingdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_scriptingdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scriptingdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9264,13 +8997,14 @@ uninstall-dist_src_syncevo_configs_scriptingDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_scripting_DATA)'; test -n "$(src_syncevo_configs_scriptingdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_scriptingdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_scriptingdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_scriptingdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_scripting_clientDATA: $(dist_src_syncevo_configs_scripting_client_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_scripting_clientdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)"
        @list='$(dist_src_syncevo_configs_scripting_client_DATA)'; test -n "$(src_syncevo_configs_scripting_clientdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9284,13 +9018,14 @@ uninstall-dist_src_syncevo_configs_scripting_clientDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_scripting_client_DATA)'; test -n "$(src_syncevo_configs_scripting_clientdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_scripting_clientdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_syncevo_configs_scripting_serverDATA: $(dist_src_syncevo_configs_scripting_server_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_configs_scripting_serverdir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)"
        @list='$(dist_src_syncevo_configs_scripting_server_DATA)'; test -n "$(src_syncevo_configs_scripting_serverdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9304,13 +9039,14 @@ uninstall-dist_src_syncevo_configs_scripting_serverDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_syncevo_configs_scripting_server_DATA)'; test -n "$(src_syncevo_configs_scripting_serverdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_configs_scripting_serverdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_templatesDATA: $(dist_src_templates_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_templatesdir)" || $(MKDIR_P) "$(DESTDIR)$(src_templatesdir)"
        @list='$(dist_src_templates_DATA)'; test -n "$(src_templatesdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_templatesdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_templatesdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9324,13 +9060,14 @@ uninstall-dist_src_templatesDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_templates_DATA)'; test -n "$(src_templatesdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_templatesdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_templatesdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_templatesdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_templates_clientsDATA: $(dist_src_templates_clients_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_templates_clientsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_templates_clientsdir)"
        @list='$(dist_src_templates_clients_DATA)'; test -n "$(src_templates_clientsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_templates_clientsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_templates_clientsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9344,13 +9081,14 @@ uninstall-dist_src_templates_clientsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_templates_clients_DATA)'; test -n "$(src_templates_clientsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_templates_clientsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_templates_clientsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_templates_clientsdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_templates_clients_phoneDATA: $(dist_src_templates_clients_phone_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_templates_clients_phonedir)" || $(MKDIR_P) "$(DESTDIR)$(src_templates_clients_phonedir)"
        @list='$(dist_src_templates_clients_phone_DATA)'; test -n "$(src_templates_clients_phonedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_templates_clients_phonedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_templates_clients_phonedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9364,13 +9102,14 @@ uninstall-dist_src_templates_clients_phoneDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_templates_clients_phone_DATA)'; test -n "$(src_templates_clients_phonedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_templates_clients_phonedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_templates_clients_phonedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_templates_clients_phonedir)'; $(am__uninstall_files_from_dir)
 install-dist_src_templates_contextsDATA: $(dist_src_templates_contexts_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_templates_contextsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_templates_contextsdir)"
        @list='$(dist_src_templates_contexts_DATA)'; test -n "$(src_templates_contextsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_templates_contextsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_templates_contextsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9384,13 +9123,14 @@ uninstall-dist_src_templates_contextsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_templates_contexts_DATA)'; test -n "$(src_templates_contextsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_templates_contextsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_templates_contextsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_templates_contextsdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_templates_serversDATA: $(dist_src_templates_servers_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_templates_serversdir)" || $(MKDIR_P) "$(DESTDIR)$(src_templates_serversdir)"
        @list='$(dist_src_templates_servers_DATA)'; test -n "$(src_templates_serversdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_templates_serversdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_templates_serversdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9404,13 +9144,14 @@ uninstall-dist_src_templates_serversDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_templates_servers_DATA)'; test -n "$(src_templates_serversdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_templates_serversdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_templates_serversdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_templates_serversdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_testcasesDATA: $(dist_src_testcases_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_testcasesdir)" || $(MKDIR_P) "$(DESTDIR)$(src_testcasesdir)"
        @list='$(dist_src_testcases_DATA)'; test -n "$(src_testcasesdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_testcasesdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_testcasesdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9424,13 +9165,14 @@ uninstall-dist_src_testcasesDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_testcases_DATA)'; test -n "$(src_testcasesdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_testcasesdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_testcasesdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_testcasesdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_testcases_lcsDATA: $(dist_src_testcases_lcs_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_testcases_lcsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_testcases_lcsdir)"
        @list='$(dist_src_testcases_lcs_DATA)'; test -n "$(src_testcases_lcsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_testcases_lcsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_testcases_lcsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9444,13 +9186,14 @@ uninstall-dist_src_testcases_lcsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_testcases_lcs_DATA)'; test -n "$(src_testcases_lcsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_testcases_lcsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_testcases_lcsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_testcases_lcsdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_testcases_templates_clientsDATA: $(dist_src_testcases_templates_clients_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_testcases_templates_clientsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_testcases_templates_clientsdir)"
        @list='$(dist_src_testcases_templates_clients_DATA)'; test -n "$(src_testcases_templates_clientsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_testcases_templates_clientsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_testcases_templates_clientsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9464,13 +9207,14 @@ uninstall-dist_src_testcases_templates_clientsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_testcases_templates_clients_DATA)'; test -n "$(src_testcases_templates_clientsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_testcases_templates_clientsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_testcases_templates_clientsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_testcases_templates_clientsdir)'; $(am__uninstall_files_from_dir)
 install-dist_src_testcases_templates_clients_phone_nokia_s40DATA: $(dist_src_testcases_templates_clients_phone_nokia_s40_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_testcases_templates_clients_phone_nokia_s40dir)" || $(MKDIR_P) "$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)"
        @list='$(dist_src_testcases_templates_clients_phone_nokia_s40_DATA)'; test -n "$(src_testcases_templates_clients_phone_nokia_s40dir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9484,13 +9228,14 @@ uninstall-dist_src_testcases_templates_clients_phone_nokia_s40DATA:
        @$(NORMAL_UNINSTALL)
        @list='$(dist_src_testcases_templates_clients_phone_nokia_s40_DATA)'; test -n "$(src_testcases_templates_clients_phone_nokia_s40dir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_testcases_templates_clients_phone_nokia_s40dir)'; $(am__uninstall_files_from_dir)
 install-docDATA: $(doc_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
        @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9504,13 +9249,14 @@ uninstall-docDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(docdir)" && rm -f $$files
+       dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
 install-pkgconfigDATA: $(pkgconfig_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
        @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9524,13 +9270,14 @@ uninstall-pkgconfigDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
+       dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
 install-src_dbus_server_autostartDATA: $(src_dbus_server_autostart_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_dbus_server_autostartdir)" || $(MKDIR_P) "$(DESTDIR)$(src_dbus_server_autostartdir)"
        @list='$(src_dbus_server_autostart_DATA)'; test -n "$(src_dbus_server_autostartdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_dbus_server_autostartdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_dbus_server_autostartdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9544,13 +9291,14 @@ uninstall-src_dbus_server_autostartDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_dbus_server_autostart_DATA)'; test -n "$(src_dbus_server_autostartdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_dbus_server_autostartdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_dbus_server_autostartdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_dbus_server_autostartdir)'; $(am__uninstall_files_from_dir)
 install-src_dbus_server_serviceDATA: $(src_dbus_server_service_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_dbus_server_servicedir)" || $(MKDIR_P) "$(DESTDIR)$(src_dbus_server_servicedir)"
        @list='$(src_dbus_server_service_DATA)'; test -n "$(src_dbus_server_servicedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_dbus_server_servicedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_dbus_server_servicedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9564,13 +9312,14 @@ uninstall-src_dbus_server_serviceDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_dbus_server_service_DATA)'; test -n "$(src_dbus_server_servicedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_dbus_server_servicedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_dbus_server_servicedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_dbus_server_servicedir)'; $(am__uninstall_files_from_dir)
 install-src_gtk3_ui_applicationsDATA: $(src_gtk3_ui_applications_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk3_ui_applicationsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_applicationsdir)"
        @list='$(src_gtk3_ui_applications_DATA)'; test -n "$(src_gtk3_ui_applicationsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk3_ui_applicationsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_applicationsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9584,13 +9333,14 @@ uninstall-src_gtk3_ui_applicationsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_gtk3_ui_applications_DATA)'; test -n "$(src_gtk3_ui_applicationsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk3_ui_applicationsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk3_ui_applicationsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk3_ui_applicationsdir)'; $(am__uninstall_files_from_dir)
 install-src_gtk3_ui_gladeDATA: $(src_gtk3_ui_glade_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk3_ui_gladedir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_gladedir)"
        @list='$(src_gtk3_ui_glade_DATA)'; test -n "$(src_gtk3_ui_gladedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk3_ui_gladedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk3_ui_gladedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9604,13 +9354,14 @@ uninstall-src_gtk3_ui_gladeDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_gtk3_ui_glade_DATA)'; test -n "$(src_gtk3_ui_gladedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk3_ui_gladedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk3_ui_gladedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk3_ui_gladedir)'; $(am__uninstall_files_from_dir)
 install-src_gtk_ui_applicationsDATA: $(src_gtk_ui_applications_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk_ui_applicationsdir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_applicationsdir)"
        @list='$(src_gtk_ui_applications_DATA)'; test -n "$(src_gtk_ui_applicationsdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk_ui_applicationsdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_applicationsdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9624,13 +9375,14 @@ uninstall-src_gtk_ui_applicationsDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_gtk_ui_applications_DATA)'; test -n "$(src_gtk_ui_applicationsdir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk_ui_applicationsdir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk_ui_applicationsdir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk_ui_applicationsdir)'; $(am__uninstall_files_from_dir)
 install-src_gtk_ui_gladeDATA: $(src_gtk_ui_glade_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(src_gtk_ui_gladedir)" || $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_gladedir)"
        @list='$(src_gtk_ui_glade_DATA)'; test -n "$(src_gtk_ui_gladedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_gtk_ui_gladedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_gtk_ui_gladedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9644,13 +9396,14 @@ uninstall-src_gtk_ui_gladeDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(src_gtk_ui_glade_DATA)'; test -n "$(src_gtk_ui_gladedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_gtk_ui_gladedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_gtk_ui_gladedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_gtk_ui_gladedir)'; $(am__uninstall_files_from_dir)
 install-nodist_src_dbus_qt_libsyncevolution_qt_dbus_includeHEADERS: $(nodist_src_dbus_qt_libsyncevolution_qt_dbus_include_HEADERS)
        @$(NORMAL_INSTALL)
-       test -z "$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)" || $(MKDIR_P) "$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)"
        @list='$(nodist_src_dbus_qt_libsyncevolution_qt_dbus_include_HEADERS)'; test -n "$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9664,13 +9417,14 @@ uninstall-nodist_src_dbus_qt_libsyncevolution_qt_dbus_includeHEADERS:
        @$(NORMAL_UNINSTALL)
        @list='$(nodist_src_dbus_qt_libsyncevolution_qt_dbus_include_HEADERS)'; test -n "$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_dbus_qt_libsyncevolution_qt_dbus_includedir)'; $(am__uninstall_files_from_dir)
 install-src_dbus_glib_libsyncevo_dbus_includeHEADERS: $(src_dbus_glib_libsyncevo_dbus_include_HEADERS)
        @$(NORMAL_INSTALL)
-       test -z "$(src_dbus_glib_libsyncevo_dbus_includedir)" || $(MKDIR_P) "$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)"
        @list='$(src_dbus_glib_libsyncevo_dbus_include_HEADERS)'; test -n "$(src_dbus_glib_libsyncevo_dbus_includedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9684,13 +9438,14 @@ uninstall-src_dbus_glib_libsyncevo_dbus_includeHEADERS:
        @$(NORMAL_UNINSTALL)
        @list='$(src_dbus_glib_libsyncevo_dbus_include_HEADERS)'; test -n "$(src_dbus_glib_libsyncevo_dbus_includedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_dbus_glib_libsyncevo_dbus_includedir)'; $(am__uninstall_files_from_dir)
 install-src_syncevo_libsyncevolution_includeHEADERS: $(src_syncevo_libsyncevolution_include_HEADERS)
        @$(NORMAL_INSTALL)
-       test -z "$(src_syncevo_libsyncevolution_includedir)" || $(MKDIR_P) "$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)"
        @list='$(src_syncevo_libsyncevolution_include_HEADERS)'; test -n "$(src_syncevo_libsyncevolution_includedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -9704,9 +9459,7 @@ uninstall-src_syncevo_libsyncevolution_includeHEADERS:
        @$(NORMAL_UNINSTALL)
        @list='$(src_syncevo_libsyncevolution_include_HEADERS)'; test -n "$(src_syncevo_libsyncevolution_includedir)" || list=; \
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       test -n "$$files" || exit 0; \
-       echo " ( cd '$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)' && rm -f" $$files ")"; \
-       cd "$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)" && rm -f $$files
+       dir='$(DESTDIR)$(src_syncevo_libsyncevolution_includedir)'; $(am__uninstall_files_from_dir)
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -9924,14 +9677,15 @@ check-TESTS: $(TESTS)
          fi; \
          dashes=`echo "$$dashes" | sed s/./=/g`; \
          if test "$$failed" -eq 0; then \
-           echo "$$grn$$dashes"; \
+           col="$$grn"; \
          else \
-           echo "$$red$$dashes"; \
+           col="$$red"; \
          fi; \
-         echo "$$banner"; \
-         test -z "$$skipped" || echo "$$skipped"; \
-         test -z "$$report" || echo "$$report"; \
-         echo "$$dashes$$std"; \
+         echo "$${col}$$dashes$${std}"; \
+         echo "$${col}$$banner$${std}"; \
+         test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
+         test -z "$$report" || echo "$${col}$$report$${std}"; \
+         echo "$${col}$$dashes$${std}"; \
          test "$$failed" -eq 0; \
        else :; fi
 
@@ -9982,13 +9736,10 @@ distdir: $(DISTFILES)
        done
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
          if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
+           $(am__make_dryrun) \
+             || test -d "$(distdir)/$$subdir" \
+             || $(MKDIR_P) "$(distdir)/$$subdir" \
+             || exit 1; \
            dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
            $(am__relativize); \
            new_distdir=$$reldir; \
@@ -10023,7 +9774,11 @@ dist-gzip: distdir
        $(am__remove_distdir)
 
 dist-bzip2: distdir
-       tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+       tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+       $(am__remove_distdir)
+
+dist-lzip: distdir
+       tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
        $(am__remove_distdir)
 
 dist-lzma: distdir
@@ -10031,7 +9786,7 @@ dist-lzma: distdir
        $(am__remove_distdir)
 
 dist-xz: distdir
-       tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
+       tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__remove_distdir)
 
 dist-tarZ: distdir
@@ -10062,6 +9817,8 @@ distcheck: dist
          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.lzma*) \
          lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+       *.tar.lz*) \
+         lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
        *.tar.xz*) \
          xz -dc $(distdir).tar.xz | $(am__untar) ;;\
        *.tar.Z*) \
@@ -10071,7 +9828,7 @@ distcheck: dist
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac
-       chmod -R a-w $(distdir); chmod a+w $(distdir)
+       chmod -R a-w $(distdir); chmod u+w $(distdir)
        mkdir $(distdir)/_build
        mkdir $(distdir)/_inst
        chmod a-w $(distdir)
@@ -10081,6 +9838,7 @@ distcheck: dist
          && am__cwd=`pwd` \
          && $(am__cd) $(distdir)/_build \
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+           $(AM_DISTCHECK_CONFIGURE_FLAGS) \
            $(DISTCHECK_CONFIGURE_FLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
@@ -10109,8 +9867,16 @@ distcheck: dist
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
 distuninstallcheck:
-       @$(am__cd) '$(distuninstallcheck_dir)' \
-       && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+       @test -n '$(distuninstallcheck_dir)' || { \
+         echo 'ERROR: trying to run $@ with an empty' \
+              '$$(distuninstallcheck_dir)' >&2; \
+         exit 1; \
+       }; \
+       $(am__cd) '$(distuninstallcheck_dir)' || { \
+         echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+         exit 1; \
+       }; \
+       test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
           || { echo "ERROR: files left after uninstall:" ; \
                if test -n "$(DESTDIR)"; then \
                  echo "  (check DESTDIR support)"; \
@@ -10147,10 +9913,15 @@ uninstall: uninstall-recursive
 
 installcheck: installcheck-recursive
 install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-         `test -z '$(STRIP)' || \
-           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
 mostlyclean-generic:
        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
@@ -10444,9 +10215,9 @@ uninstall-man: uninstall-man1
        clean-src_backends_webdav_backendLTLIBRARIES \
        clean-src_backends_xmlrpc_backendLTLIBRARIES \
        clean-src_gnome_bluetoothLTLIBRARIES ctags ctags-recursive \
-       dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzma \
-       dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
-       distclean-compile distclean-generic distclean-hdr \
+       dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
+       dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
+       distclean distclean-compile distclean-generic distclean-hdr \
        distclean-libtool distclean-local distclean-tags \
        distcleancheck distdir distuninstallcheck dvi dvi-am html \
        html-am info info-am install install-am install-binPROGRAMS \
diff --git a/NEWS b/NEWS
index edd3b7a..553c59a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -251,6 +251,10 @@ Details:
   GDBus.Error:org.meego.activesyncd.Error.AccountNotFound: Failed to find
   account [syncevolution@lists.intel.com]
 
+* Minor memory leak fix when using GDBus GIO: GDBusMethodInfo
+
+  Also depends on a glib fix, see https://bugzilla.gnome.org/show_bug.cgi?id=695376
+
 * build fixes
 
   Avoid -lrt in make dependencies. Add missing pcre libs to
diff --git a/README b/README
index 8a5c870..30881b5 100644 (file)
--- a/README
+++ b/README
@@ -7,8 +7,8 @@ synchronize personal information management data
 ------------------------------------------------
 
 :Manual section: 1
-:Version: 1.3.99.3
-:Date: 2013-03-07
+:Version: 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831
+:Date: 2013-05-29
 
 
 SYNOPSIS
@@ -931,10 +931,21 @@ SyncMLVersion (no default, unshared)
    Instead or in adddition to the version, several keywords can
    be set in this property (separated by spaces or commas):
    
-   - NOCTCAP = avoid sending CtCap meta information
-   - NORESTART = disable the sync mode extension that SyncEvolution
+   - NOCTCAP - avoid sending CtCap meta information
+   - NORESTART - disable the sync mode extension that SyncEvolution
      client and server use to negotiate whether both sides support
      running multiple sync iterations in the same session
+   - REQUESTMAXTIME=<time> - override the rate at which the
+     SyncML server sends preliminary replies while preparing
+     local storages in the background. This helps to avoid timeouts
+     in the SyncML client. Depends on multithreading.
+     This SyncEvolution binary is thread-safe and thus this feature
+     is enabled by default for HTTP servers, with a delay of 2 minutes
+     between messages. Other servers (Bluetooth, local sync) should not
+     need preliminary replies and the feature is disabled, although
+     it can be enabled by setting the time explicitly.
+     <time> can be specified like other durations in the config,
+     for example as REQUESTMAXTIME=2m.
    
    Setting these flags should only be necessary as workaround for
    broken peers.
index a37f766..316a534 100644 (file)
@@ -1,7 +1,8 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,8 +14,8 @@
 
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
-[m4_warning([this file was generated for autoconf 2.65.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
@@ -260,6 +261,10 @@ msgstr ""
              [CATOBJEXT=.mo
                DATADIRNAME=lib])
            ;;
+           *-*-openbsd*)
+           CATOBJEXT=.mo
+            DATADIRNAME=share
+           ;;
            *)
            CATOBJEXT=.mo
             DATADIRNAME=lib
@@ -301,7 +306,7 @@ msgstr ""
 
     dnl These rules are solely for the distribution goal.  While doing this
     dnl we only have to keep exactly one list of the available catalogs
-    dnl in configure.in.
+    dnl in configure.ac.
     for lang in $ALL_LINGUAS; do
       GMOFILES="$GMOFILES $lang.gmo"
       POFILES="$POFILES $lang.po"
@@ -430,7 +435,7 @@ AC_DEFINE_UNQUOTED($1, "$localedir",
 dnl
 dnl Now the definitions that aclocal will find
 dnl
-ifdef(glib_configure_in,[],[
+ifdef(glib_configure_ac,[],[
 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
 ])dnl
@@ -452,8 +457,9 @@ sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
 fi])
 
 
-# nls.m4 serial 3 (gettext-0.15)
-dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
+# nls.m4 serial 5 (gettext-0.18)
+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
+dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -471,20 +477,21 @@ dnl Authors:
 dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
-AC_PREREQ(2.50)
+AC_PREREQ([2.50])
 
 AC_DEFUN([AM_NLS],
 [
   AC_MSG_CHECKING([whether NLS is requested])
   dnl Default is enabled NLS
-  AC_ARG_ENABLE(nls,
+  AC_ARG_ENABLE([nls],
     [  --disable-nls           do not use Native Language Support],
     USE_NLS=$enableval, USE_NLS=yes)
-  AC_MSG_RESULT($USE_NLS)
-  AC_SUBST(USE_NLS)
+  AC_MSG_RESULT([$USE_NLS])
+  AC_SUBST([USE_NLS])
 ])
 
 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
 # 
 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
 #
@@ -511,8 +518,12 @@ AC_DEFUN([AM_NLS],
 # ----------------------------------
 AC_DEFUN([PKG_PROG_PKG_CONFIG],
 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
 fi
@@ -525,7 +536,6 @@ if test -n "$PKG_CONFIG"; then
                AC_MSG_RESULT([no])
                PKG_CONFIG=""
        fi
-               
 fi[]dnl
 ])# PKG_PROG_PKG_CONFIG
 
@@ -534,34 +544,32 @@ fi[]dnl
 # Check to see whether a particular set of modules exists.  Similar
 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
 #
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
 # --------------------------------------------------------------
 AC_DEFUN([PKG_CHECK_EXISTS],
 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 if test -n "$PKG_CONFIG" && \
     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
-  m4_ifval([$2], [$2], [:])
+  m4_default([$2], [:])
 m4_ifvaln([$3], [else
   $3])dnl
 fi])
 
-
 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
 # ---------------------------------------------
 m4_define([_PKG_CONFIG],
-[if test -n "$PKG_CONFIG"; then
-    if test -n "$$1"; then
-        pkg_cv_[]$1="$$1"
-    else
-        PKG_CHECK_EXISTS([$3],
-                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
-                        [pkg_failed=yes])
-    fi
-else
-       pkg_failed=untried
+[if test -n "$$1"; then
+    pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+    PKG_CHECK_EXISTS([$3],
+                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes ],
+                    [pkg_failed=yes])
+ else
+    pkg_failed=untried
 fi[]dnl
 ])# _PKG_CONFIG
 
@@ -603,16 +611,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.])
 
 if test $pkg_failed = yes; then
+       AC_MSG_RESULT([no])
         _PKG_SHORT_ERRORS_SUPPORTED
         if test $_pkg_short_errors_supported = yes; then
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
         else 
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
 
-       ifelse([$4], , [AC_MSG_ERROR(dnl
+       m4_default([$4], [AC_MSG_ERROR(
 [Package requirements ($2) were not met:
 
 $$1_PKG_ERRORS
@@ -620,34 +629,36 @@ $$1_PKG_ERRORS
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
-_PKG_TEXT
-])],
-               [AC_MSG_RESULT([no])
-                $4])
+_PKG_TEXT])[]dnl
+        ])
 elif test $pkg_failed = untried; then
-       ifelse([$4], , [AC_MSG_FAILURE(dnl
+       AC_MSG_RESULT([no])
+       m4_default([$4], [AC_MSG_FAILURE(
 [The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
 _PKG_TEXT
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
-               [$4])
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+        ])
 else
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
         AC_MSG_RESULT([yes])
-       ifelse([$3], , :, [$3])
+       $3
 fi[]dnl
 ])# PKG_CHECK_MODULES
 
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
+# Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_AUTOMAKE_VERSION(VERSION)
 # ----------------------------
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
@@ -657,7 +668,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
 [am__api_version='1.11'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.11.1], [],
+m4_if([$1], [1.11.6], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -673,19 +684,21 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.1])dnl
+[AM_AUTOMAKE_VERSION([1.11.6])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
@@ -767,14 +780,14 @@ AC_CONFIG_COMMANDS_PRE(
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
+# 2010, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 10
+# serial 12
 
 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 # written in clear, in which case automake, when reading aclocal.m4,
@@ -814,6 +827,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -878,7 +892,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -943,10 +957,13 @@ AC_DEFUN([AM_DEP_TRACK],
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 AC_SUBST([AMDEPBACKSLASH])dnl
 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
 ])
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
@@ -1168,12 +1185,15 @@ for _am_header in $config_headers :; do
 done
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
+# Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_INSTALL_SH
 # ------------------
 # Define $install_sh.
@@ -1213,8 +1233,8 @@ AC_SUBST([am__leading_dot])])
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 # From Jim Meyering
 
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
+# 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1234,7 +1254,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
        [disable], [m4_define([am_maintainer_other], [enable])],
        [m4_define([am_maintainer_other], [enable])
         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
   AC_ARG_ENABLE([maintainer-mode],
 [  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
@@ -1380,12 +1400,15 @@ else
 fi
 ])
 
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
+# Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_MKDIR_P
 # ---------------
 # Check for `mkdir -p'.
@@ -1408,13 +1431,14 @@ esac
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
+# Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 4
+# serial 5
 
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
@@ -1422,13 +1446,13 @@ AC_DEFUN([_AM_MANGLE_OPTION],
 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
 # _AM_SET_OPTION(NAME)
-# ------------------------------
+# --------------------
 # Set option NAME.  Presently that only means defining a flag for this option.
 AC_DEFUN([_AM_SET_OPTION],
 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
 # _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
+# ------------------------
 # OPTIONS is a space-separated list of Automake options.
 AC_DEFUN([_AM_SET_OPTIONS],
 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
@@ -1439,12 +1463,14 @@ AC_DEFUN([_AM_SET_OPTIONS],
 AC_DEFUN([_AM_IF_OPTION],
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_RUN_LOG(COMMAND)
 # -------------------
 # Run COMMAND, save the exit status in ac_status, and log it.
@@ -1521,13 +1547,13 @@ Check your system clock])
 fi
 AC_MSG_RESULT(yes)])
 
-# Copyright (C) 2009  Free Software Foundation, Inc.
+# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 1
+# serial 2
 
 # AM_SILENT_RULES([DEFAULT])
 # --------------------------
@@ -1542,18 +1568,50 @@ yes) AM_DEFAULT_VERBOSITY=0;;
 no)  AM_DEFAULT_VERBOSITY=1;;
 *)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 esac
+dnl
+dnl A few `make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+   [am_cv_make_support_nested_variables],
+   [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+       @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+  dnl Using `$V' instead of `$(V)' breaks IRIX make.
+  AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 AM_BACKSLASH='\'
 AC_SUBST([AM_BACKSLASH])dnl
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 ])
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_INSTALL_STRIP
 # ---------------------
 # One issue with vendor `install' (even GNU) is that you can't
@@ -1576,13 +1634,13 @@ fi
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
+# serial 3
 
 # _AM_SUBST_NOTMAKE(VARIABLE)
 # ---------------------------
@@ -1591,13 +1649,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
 AC_DEFUN([_AM_SUBST_NOTMAKE])
 
 # AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
+# --------------------------
 # Public sister of _AM_SUBST_NOTMAKE.
 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1619,10 +1677,11 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 # a tarball read from stdin.
 #     $(am__untar) < result.tar
 AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
+[# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
 m4_if([$1], [v7],
-     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
      [m4_case([$1], [ustar],, [pax],,
               [m4_fatal([Unknown tar format])])
 AC_MSG_CHECKING([how to create a $1 tar archive])
diff --git a/compile b/compile
index c0096a7..862a14e 100755 (executable)
--- a/compile
+++ b/compile
@@ -1,10 +1,10 @@
 #! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
+# Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2009-10-06.20; # UTC
+scriptversion=2012-03-05.13; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009  Free Software
-# Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
+# Software Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -29,21 +29,219 @@ scriptversion=2009-10-06.20; # UTC
 # bugs to <bug-automake@gnu.org> or send patches to
 # <automake-patches@gnu.org>.
 
+nl='
+'
+
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" ""       $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+  file=$1
+  case $file in
+    / | /[!/]*) # absolute file, and not a UNC file
+      if test -z "$file_conv"; then
+       # lazily determine how to convert abs files
+       case `uname -s` in
+         MINGW*)
+           file_conv=mingw
+           ;;
+         CYGWIN*)
+           file_conv=cygwin
+           ;;
+         *)
+           file_conv=wine
+           ;;
+       esac
+      fi
+      case $file_conv/,$2, in
+       *,$file_conv,*)
+         ;;
+       mingw/*)
+         file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+         ;;
+       cygwin/*)
+         file=`cygpath -m "$file" || echo "$file"`
+         ;;
+       wine/*)
+         file=`winepath -w "$file" || echo "$file"`
+         ;;
+      esac
+      ;;
+  esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+  func_file_conv "$1"
+  if test -z "$lib_path"; then
+    lib_path=$file
+  else
+    lib_path="$lib_path;$file"
+  fi
+  linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+  lib=$1
+  found=no
+  save_IFS=$IFS
+  IFS=';'
+  for dir in $lib_path $LIB
+  do
+    IFS=$save_IFS
+    if $shared && test -f "$dir/$lib.dll.lib"; then
+      found=yes
+      lib=$dir/$lib.dll.lib
+      break
+    fi
+    if test -f "$dir/$lib.lib"; then
+      found=yes
+      lib=$dir/$lib.lib
+      break
+    fi
+  done
+  IFS=$save_IFS
+
+  if test "$found" != yes; then
+    lib=$lib.lib
+  fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+  # Assume a capable shell
+  lib_path=
+  shared=:
+  linker_opts=
+  for arg
+  do
+    if test -n "$eat"; then
+      eat=
+    else
+      case $1 in
+       -o)
+         # configure might choose to run compile as 'compile cc -o foo foo.c'.
+         eat=1
+         case $2 in
+           *.o | *.[oO][bB][jJ])
+             func_file_conv "$2"
+             set x "$@" -Fo"$file"
+             shift
+             ;;
+           *)
+             func_file_conv "$2"
+             set x "$@" -Fe"$file"
+             shift
+             ;;
+         esac
+         ;;
+       -I)
+         eat=1
+         func_file_conv "$2" mingw
+         set x "$@" -I"$file"
+         shift
+         ;;
+       -I*)
+         func_file_conv "${1#-I}" mingw
+         set x "$@" -I"$file"
+         shift
+         ;;
+       -l)
+         eat=1
+         func_cl_dashl "$2"
+         set x "$@" "$lib"
+         shift
+         ;;
+       -l*)
+         func_cl_dashl "${1#-l}"
+         set x "$@" "$lib"
+         shift
+         ;;
+       -L)
+         eat=1
+         func_cl_dashL "$2"
+         ;;
+       -L*)
+         func_cl_dashL "${1#-L}"
+         ;;
+       -static)
+         shared=false
+         ;;
+       -Wl,*)
+         arg=${1#-Wl,}
+         save_ifs="$IFS"; IFS=','
+         for flag in $arg; do
+           IFS="$save_ifs"
+           linker_opts="$linker_opts $flag"
+         done
+         IFS="$save_ifs"
+         ;;
+       -Xlinker)
+         eat=1
+         linker_opts="$linker_opts $2"
+         ;;
+       -*)
+         set x "$@" "$1"
+         shift
+         ;;
+       *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+         func_file_conv "$1"
+         set x "$@" -Tp"$file"
+         shift
+         ;;
+       *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+         func_file_conv "$1" mingw
+         set x "$@" "$file"
+         shift
+         ;;
+       *)
+         set x "$@" "$1"
+         shift
+         ;;
+      esac
+    fi
+    shift
+  done
+  if test -n "$linker_opts"; then
+    linker_opts="-link$linker_opts"
+  fi
+  exec "$@" $linker_opts
+  exit 1
+}
+
+eat=
+
 case $1 in
   '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
      exit 1;
      ;;
   -h | --h*)
     cat <<\EOF
 Usage: compile [--help] [--version] PROGRAM [ARGS]
 
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
 arguments, and rename the output as expected.
 
 If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
+right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <bug-automake@gnu.org>.
 EOF
@@ -53,11 +251,13 @@ EOF
     echo "compile $scriptversion"
     exit $?
     ;;
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+    func_cl_wrapper "$@"      # Doesn't return...
+    ;;
 esac
 
 ofile=
 cfile=
-eat=
 
 for arg
 do
@@ -66,8 +266,8 @@ do
   else
     case $1 in
       -o)
-       # configure might choose to run compile as `compile cc -o foo foo.c'.
-       # So we strip `-o arg' only if arg is an object.
+       # configure might choose to run compile as 'compile cc -o foo foo.c'.
+       # So we strip '-o arg' only if arg is an object.
        eat=1
        case $2 in
          *.o | *.obj)
@@ -94,10 +294,10 @@ do
 done
 
 if test -z "$ofile" || test -z "$cfile"; then
-  # If no `-o' option was seen then we might have been invoked from a
+  # If no '-o' option was seen then we might have been invoked from a
   # pattern rule where we don't need one.  That is ok -- this is a
   # normal compilation that the losing compiler can handle.  If no
-  # `.c' file was seen then we are probably linking.  That is also
+  # '.c' file was seen then we are probably linking.  That is also
   # ok.
   exec "$@"
 fi
@@ -106,7 +306,7 @@ fi
 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
 
 # Create the lock directory.
-# Note: use `[/\\:.-]' here to ensure that we don't use the same name
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
 # that we are using for the .o file.  Also, base the name on the expected
 # object file name, since that is what matters with a parallel build.
 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
index e3a2116..d622a44 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
 
-timestamp='2009-06-10'
+timestamp='2012-02-10'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@ timestamp='2009-06-10'
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -27,16 +25,16 @@ timestamp='2009-06-10'
 # the same distribution terms that you use for the rest of that program.
 
 
-# Originally written by Per Bothner <per@bothner.com>.
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Originally written by Per Bothner.  Please send patches (context
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
+# entry.
 #
 # This script attempts to guess a canonical system name similar to
 # config.sub.  If it succeeds, it prints the system name on stdout, and
 # exits with 0.  Otherwise, it exits with 1.
 #
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
 me=`echo "$0" | sed -e 's,.*/,,'`
 
@@ -56,8 +54,9 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -144,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:NetBSD:*:*)
        # NetBSD (nbsd) targets should (where applicable) match one or
-       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+       # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
        # switched to ELF, *-*-netbsd* would select the old
        # object file format.  This provides both forward
@@ -180,7 +179,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
                fi
                ;;
            *)
-               os=netbsd
+               os=netbsd
                ;;
        esac
        # The OS release
@@ -223,7 +222,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
                ;;
        *5.*)
-               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
                ;;
        esac
        # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -269,7 +268,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
        # A Xn.n version is an unreleased experimental baselevel.
        # 1.2 uses "1.2" for uname -r.
        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-       exit ;;
+       # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+       exitcode=$?
+       trap '' 0
+       exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
        # How do we know it's Interix rather than the generic POSIX subsystem?
        # Should we change UNAME_MACHINE based on the output of uname instead
@@ -295,7 +297,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
        echo s390-ibm-zvmoe
        exit ;;
     *:OS400:*:*)
-        echo powerpc-ibm-os400
+       echo powerpc-ibm-os400
        exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
        echo arm-acorn-riscix${UNAME_RELEASE}
@@ -333,6 +335,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
        exit ;;
+    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+       echo i386-pc-auroraux${UNAME_RELEASE}
+       exit ;;
     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
        eval $set_cc_for_build
        SUN_ARCH="i386"
@@ -391,23 +396,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     # MiNT.  But MiNT is downward compatible to TOS, so this should
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+       echo m68k-atari-mint${UNAME_RELEASE}
        exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
        echo m68k-atari-mint${UNAME_RELEASE}
-        exit ;;
+       exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+       echo m68k-atari-mint${UNAME_RELEASE}
        exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit ;;
+       echo m68k-milan-mint${UNAME_RELEASE}
+       exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit ;;
+       echo m68k-hades-mint${UNAME_RELEASE}
+       exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit ;;
+       echo m68k-unknown-mint${UNAME_RELEASE}
+       exit ;;
     m68k:machten:*:*)
        echo m68k-apple-machten${UNAME_RELEASE}
        exit ;;
@@ -477,8 +482,8 @@ EOF
        echo m88k-motorola-sysv3
        exit ;;
     AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
+       # DG/UX returns AViiON for all architectures
+       UNAME_PROCESSOR=`/usr/bin/uname -p`
        if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
        then
            if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -491,7 +496,7 @@ EOF
        else
            echo i586-dg-dgux${UNAME_RELEASE}
        fi
-       exit ;;
+       exit ;;
     M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
        echo m88k-dolphin-sysv3
        exit ;;
@@ -548,7 +553,7 @@ EOF
                echo rs6000-ibm-aix3.2
        fi
        exit ;;
-    *:AIX:*:[456])
+    *:AIX:*:[4567])
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
                IBM_ARCH=rs6000
@@ -591,52 +596,52 @@ EOF
            9000/[678][0-9][0-9])
                if [ -x /usr/bin/getconf ]; then
                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
+                   sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+                   case "${sc_cpu_version}" in
+                     523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+                     528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+                     532)                      # CPU_PA_RISC2_0
+                       case "${sc_kernel_bits}" in
+                         32) HP_ARCH="hppa2.0n" ;;
+                         64) HP_ARCH="hppa2.0w" ;;
                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
+                       esac ;;
+                   esac
                fi
                if [ "${HP_ARCH}" = "" ]; then
                    eval $set_cc_for_build
-                   sed 's/^              //' << EOF >$dummy.c
+                   sed 's/^            //' << EOF >$dummy.c
 
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
+               #define _HPUX_SOURCE
+               #include <stdlib.h>
+               #include <unistd.h>
 
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
+               int main ()
+               {
+               #if defined(_SC_KERNEL_BITS)
+                   long bits = sysconf(_SC_KERNEL_BITS);
+               #endif
+                   long cpu  = sysconf (_SC_CPU_VERSION);
 
-                  switch (cpu)
-               {
-               case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-               case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-               case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-                   switch (bits)
-                       {
-                       case 64: puts ("hppa2.0w"); break;
-                       case 32: puts ("hppa2.0n"); break;
-                       default: puts ("hppa2.0"); break;
-                       } break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-                   puts ("hppa2.0"); break;
-              #endif
-               default: puts ("hppa1.0"); break;
-               }
-                  exit (0);
-              }
+                   switch (cpu)
+                       {
+                       case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+                       case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+                       case CPU_PA_RISC2_0:
+               #if defined(_SC_KERNEL_BITS)
+                           switch (bits)
+                               {
+                               case 64: puts ("hppa2.0w"); break;
+                               case 32: puts ("hppa2.0n"); break;
+                               default: puts ("hppa2.0"); break;
+                               } break;
+               #else  /* !defined(_SC_KERNEL_BITS) */
+                           puts ("hppa2.0"); break;
+               #endif
+                       default: puts ("hppa1.0"); break;
+                       }
+                   exit (0);
+               }
 EOF
                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
                    test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -727,22 +732,22 @@ EOF
        exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
        echo c1-convex-bsd
-        exit ;;
+       exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
        if getsysinfo -f scalar_acc
        then echo c32-convex-bsd
        else echo c2-convex-bsd
        fi
-        exit ;;
+       exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
        echo c34-convex-bsd
-        exit ;;
+       exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
        echo c38-convex-bsd
-        exit ;;
+       exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
        echo c4-convex-bsd
-        exit ;;
+       exit ;;
     CRAY*Y-MP:*:*:*)
        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
        exit ;;
@@ -766,14 +771,14 @@ EOF
        exit ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit ;;
+       FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+       FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+       echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+       exit ;;
     5000:UNIX_System_V:4.*:*)
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+       FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+       FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+       echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
        exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -785,13 +790,12 @@ EOF
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
        exit ;;
     *:FreeBSD:*:*)
-       case ${UNAME_MACHINE} in
-           pc98)
-               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+       UNAME_PROCESSOR=`/usr/bin/uname -p`
+       case ${UNAME_PROCESSOR} in
            amd64)
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
            *)
-               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+               echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
        esac
        exit ;;
     i*:CYGWIN*:*)
@@ -800,19 +804,22 @@ EOF
     *:MINGW*:*)
        echo ${UNAME_MACHINE}-pc-mingw32
        exit ;;
+    i*:MSYS*:*)
+       echo ${UNAME_MACHINE}-pc-msys
+       exit ;;
     i*:windows32*:*)
-       # uname -m includes "-pc" on this system.
-       echo ${UNAME_MACHINE}-mingw32
+       # uname -m includes "-pc" on this system.
+       echo ${UNAME_MACHINE}-mingw32
        exit ;;
     i*:PW*:*)
        echo ${UNAME_MACHINE}-pc-pw32
        exit ;;
-    *:Interix*:[3456]*)
-       case ${UNAME_MACHINE} in
+    *:Interix*:*)
+       case ${UNAME_MACHINE} in
            x86)
                echo i586-pc-interix${UNAME_RELEASE}
                exit ;;
-           EM64T | authenticamd | genuineintel)
+           authenticamd | genuineintel | EM64T)
                echo x86_64-unknown-interix${UNAME_RELEASE}
                exit ;;
            IA64)
@@ -854,6 +861,27 @@ EOF
     i*86:Minix:*:*)
        echo ${UNAME_MACHINE}-pc-minix
        exit ;;
+    aarch64:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    aarch64_be:Linux:*:*)
+       UNAME_MACHINE=aarch64_be
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    alpha:Linux:*:*)
+       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+         EV5)   UNAME_MACHINE=alphaev5 ;;
+         EV56)  UNAME_MACHINE=alphaev56 ;;
+         PCA56) UNAME_MACHINE=alphapca56 ;;
+         PCA57) UNAME_MACHINE=alphapca56 ;;
+         EV6)   UNAME_MACHINE=alphaev6 ;;
+         EV67)  UNAME_MACHINE=alphaev67 ;;
+         EV68*) UNAME_MACHINE=alphaev68 ;;
+       esac
+       objdump --private-headers /bin/sh | grep -q ld.so.1
+       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+       exit ;;
     arm*:Linux:*:*)
        eval $set_cc_for_build
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -861,20 +889,40 @@ EOF
        then
            echo ${UNAME_MACHINE}-unknown-linux-gnu
        else
-           echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+           if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+               | grep -q __ARM_PCS_VFP
+           then
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+           else
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+           fi
        fi
        exit ;;
     avr32*:Linux:*:*)
        echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     cris:Linux:*:*)
-       echo cris-axis-linux-gnu
+       echo ${UNAME_MACHINE}-axis-linux-gnu
        exit ;;
     crisv32:Linux:*:*)
-       echo crisv32-axis-linux-gnu
+       echo ${UNAME_MACHINE}-axis-linux-gnu
        exit ;;
     frv:Linux:*:*)
-       echo frv-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    hexagon:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    i*86:Linux:*:*)
+       LIBC=gnu
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #ifdef __dietlibc__
+       LIBC=dietlibc
+       #endif
+EOF
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
        exit ;;
     ia64:Linux:*:*)
        echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -901,39 +949,18 @@ EOF
        #endif
        #endif
 EOF
-       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
-           /^CPU/{
-               s: ::g
-               p
-           }'`"
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
        ;;
     or32:Linux:*:*)
-       echo or32-unknown-linux-gnu
-       exit ;;
-    ppc:Linux:*:*)
-       echo powerpc-unknown-linux-gnu
-       exit ;;
-    ppc64:Linux:*:*)
-       echo powerpc64-unknown-linux-gnu
-       exit ;;
-    alpha:Linux:*:*)
-       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
-         EV5)   UNAME_MACHINE=alphaev5 ;;
-         EV56)  UNAME_MACHINE=alphaev56 ;;
-         PCA56) UNAME_MACHINE=alphapca56 ;;
-         PCA57) UNAME_MACHINE=alphapca56 ;;
-         EV6)   UNAME_MACHINE=alphaev6 ;;
-         EV67)  UNAME_MACHINE=alphaev67 ;;
-         EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
-       objdump --private-headers /bin/sh | grep -q ld.so.1
-       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     padre:Linux:*:*)
        echo sparc-unknown-linux-gnu
        exit ;;
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
+       echo hppa64-unknown-linux-gnu
+       exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
        # Look for CPU level
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,14 +969,17 @@ EOF
          *)    echo hppa-unknown-linux-gnu ;;
        esac
        exit ;;
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
-       echo hppa64-unknown-linux-gnu
+    ppc64:Linux:*:*)
+       echo powerpc64-unknown-linux-gnu
+       exit ;;
+    ppc:Linux:*:*)
+       echo powerpc-unknown-linux-gnu
        exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
        echo ${UNAME_MACHINE}-ibm-linux
        exit ;;
     sh64*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     sh*:Linux:*:*)
        echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -957,67 +987,18 @@ EOF
     sparc:Linux:*:* | sparc64:Linux:*:*)
        echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
+    tile*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
     vax:Linux:*:*)
        echo ${UNAME_MACHINE}-dec-linux-gnu
        exit ;;
     x86_64:Linux:*:*)
-       echo x86_64-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     xtensa*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
-    i*86:Linux:*:*)
-       # The BFD linker knows what the default object file format is, so
-       # first see if it will tell us. cd to the root directory to prevent
-       # problems with other programs or directories called `ld' in the path.
-       # Set LC_ALL=C to ensure ld outputs messages in English.
-       ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
-                        | sed -ne '/supported targets:/!d
-                                   s/[         ][      ]*/ /g
-                                   s/.*supported targets: *//
-                                   s/ .*//
-                                   p'`
-        case "$ld_supported_targets" in
-         elf32-i386)
-               TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
-               ;;
-       esac
-       # Determine whether the default compiler is a.out or elf
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #include <features.h>
-       #ifdef __ELF__
-       # ifdef __GLIBC__
-       #  if __GLIBC__ >= 2
-       LIBC=gnu
-       #  else
-       LIBC=gnulibc1
-       #  endif
-       # else
-       LIBC=gnulibc1
-       # endif
-       #else
-       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
-       LIBC=gnu
-       #else
-       LIBC=gnuaout
-       #endif
-       #endif
-       #ifdef __dietlibc__
-       LIBC=dietlibc
-       #endif
-EOF
-       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
-           /^LIBC/{
-               s: ::g
-               p
-           }'`"
-       test x"${LIBC}" != x && {
-               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
-               exit
-       }
-       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
-       ;;
     i*86:DYNIX/ptx:4*:*)
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
        # earlier versions are messed up and put the nodename in both
@@ -1025,11 +1006,11 @@ EOF
        echo i386-sequent-sysv4
        exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
+       # Unixware is an offshoot of SVR4, but it has its own version
+       # number series starting with 2...
+       # I am not positive that other SVR4 systems won't match this,
        # I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
+       # Use sysv4.2uw... so that sysv4* matches it.
        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
        exit ;;
     i*86:OS/2:*:*)
@@ -1061,7 +1042,7 @@ EOF
        fi
        exit ;;
     i*86:*:5:[678]*)
-       # UnixWare 7.x, OpenUNIX and OpenServer 6.
+       # UnixWare 7.x, OpenUNIX and OpenServer 6.
        case `/bin/uname -X | grep "^Machine"` in
            *486*)           UNAME_MACHINE=i486 ;;
            *Pentium)        UNAME_MACHINE=i586 ;;
@@ -1089,13 +1070,13 @@ EOF
        exit ;;
     pc:*:*:*)
        # Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i586.
+       # uname -m prints for DJGPP always 'pc', but it prints nothing about
+       # the processor, so we play safe by assuming i586.
        # Note: whatever this is, it MUST be the same as what config.sub
        # prints for the "djgpp" host, or else GDB configury will decide that
        # this is a cross-build.
        echo i586-pc-msdosdjgpp
-        exit ;;
+       exit ;;
     Intel:Mach:3*:*)
        echo i386-pc-mach3
        exit ;;
@@ -1130,8 +1111,8 @@ EOF
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && { echo i486-ncr-sysv4; exit; } ;;
+       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+         && { echo i486-ncr-sysv4; exit; } ;;
     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
        OS_REL='.3'
        test -r /etc/.relid \
@@ -1174,10 +1155,10 @@ EOF
                echo ns32k-sni-sysv
        fi
        exit ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel@ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit ;;
+    PENTIUM:*:4.0*:*)  # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+                       # says <Richard.M.Bartel@ccMail.Census.GOV>
+       echo i586-unisys-sysv4
+       exit ;;
     *:UNIX_System_V:4*:FTX*)
        # From Gerald Hewes <hewes@openmarket.com>.
        # How about differentiating between stratus architectures? -djm
@@ -1203,11 +1184,11 @@ EOF
        exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
        if [ -d /usr/nec ]; then
-               echo mips-nec-sysv${UNAME_RELEASE}
+               echo mips-nec-sysv${UNAME_RELEASE}
        else
-               echo mips-unknown-sysv${UNAME_RELEASE}
+               echo mips-unknown-sysv${UNAME_RELEASE}
        fi
-        exit ;;
+       exit ;;
     BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
        echo powerpc-be-beos
        exit ;;
@@ -1247,6 +1228,16 @@ EOF
     *:Darwin:*:*)
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
        case $UNAME_PROCESSOR in
+           i386)
+               eval $set_cc_for_build
+               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+                     grep IS_64BIT_ARCH >/dev/null
+                 then
+                     UNAME_PROCESSOR="x86_64"
+                 fi
+               fi ;;
            unknown) UNAME_PROCESSOR=powerpc ;;
        esac
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
@@ -1262,6 +1253,9 @@ EOF
     *:QNX:*:4*)
        echo i386-pc-qnx
        exit ;;
+    NEO-?:NONSTOP_KERNEL:*:*)
+       echo neo-tandem-nsk${UNAME_RELEASE}
+       exit ;;
     NSE-?:NONSTOP_KERNEL:*:*)
        echo nse-tandem-nsk${UNAME_RELEASE}
        exit ;;
@@ -1307,13 +1301,13 @@ EOF
        echo pdp10-unknown-its
        exit ;;
     SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
+       echo mips-sei-seiux${UNAME_RELEASE}
        exit ;;
     *:DragonFly:*:*)
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
        exit ;;
     *:*VMS:*:*)
-       UNAME_MACHINE=`(uname -p) 2>/dev/null`
+       UNAME_MACHINE=`(uname -p) 2>/dev/null`
        case "${UNAME_MACHINE}" in
            A*) echo alpha-dec-vms ; exit ;;
            I*) echo ia64-dec-vms ; exit ;;
@@ -1331,6 +1325,9 @@ EOF
     i*86:AROS:*:*)
        echo ${UNAME_MACHINE}-pc-aros
        exit ;;
+    x86_64:VMkernel:*:*)
+       echo ${UNAME_MACHINE}-unknown-esx
+       exit ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1353,11 +1350,11 @@ main ()
 #include <sys/param.h>
   printf ("m68k-sony-newsos%s\n",
 #ifdef NEWSOS4
-          "4"
+       "4"
 #else
-         ""
+       ""
 #endif
-         ); exit (0);
+       ); exit (0);
 #endif
 #endif
 
index eb0389a..6205f84 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
 
-timestamp='2009-06-11'
+timestamp='2012-04-18'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -21,9 +21,7 @@ timestamp='2009-06-11'
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -32,13 +30,16 @@ timestamp='2009-06-11'
 
 
 # Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+# diff and a properly formatted GNU ChangeLog entry.
 #
 # Configuration subroutine to validate and canonicalize a configuration type.
 # Supply the specified configuration type as an argument.
 # If it is invalid, we print an error message on stderr and exit with code 1.
 # Otherwise, we print the canonical config type on stdout and succeed.
 
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
 # This file is supposed to be the same for all GNU packages
 # and recognize all the CPU types, system types and aliases
 # that are meaningful with *any* GNU software.
@@ -72,8 +73,9 @@ Report bugs and patches to <config-patches@gnu.org>."
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -120,13 +122,18 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+  knetbsd*-gnu* | netbsd*-gnu* | \
   kopensolaris*-gnu* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
+  android-linux)
+    os=-linux-android
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+    ;;
   *)
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
     if [ $basic_machine != $1 ]
@@ -149,12 +156,12 @@ case $os in
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-       -apple | -axis | -knuth | -cray)
+       -apple | -axis | -knuth | -cray | -microblaze)
                os=
                basic_machine=$1
                ;;
-        -bluegene*)
-               os=-cnk
+       -bluegene*)
+               os=-cnk
                ;;
        -sim | -cisco | -oki | -wec | -winbond)
                os=
@@ -170,10 +177,10 @@ case $os in
                os=-chorusos
                basic_machine=$1
                ;;
-       -chorusrdb)
-               os=-chorusrdb
+       -chorusrdb)
+               os=-chorusrdb
                basic_machine=$1
-               ;;
+               ;;
        -hiux*)
                os=-hiuxwe2
                ;;
@@ -218,6 +225,12 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
                ;;
+       -lynx*178)
+               os=-lynxos178
+               ;;
+       -lynx*5)
+               os=-lynxos5
+               ;;
        -lynx*)
                os=-lynxos
                ;;
@@ -242,17 +255,22 @@ case $basic_machine in
        # Some are omitted here because they have special meanings below.
        1750a | 580 \
        | a29k \
+       | aarch64 | aarch64_be \
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
        | am33_2.0 \
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+        | be32 | be64 \
        | bfin \
        | c4x | clipper \
        | d10v | d30v | dlx | dsp16xx \
+       | epiphany \
        | fido | fr30 | frv \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+       | hexagon \
        | i370 | i860 | i960 | ia64 \
        | ip2k | iq2000 \
+       | le32 | le64 \
        | lm32 \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
        | maxq | mb | microblaze | mcore | mep | metag \
@@ -278,27 +296,39 @@ case $basic_machine in
        | moxie \
        | mt \
        | msp430 \
+       | nds32 | nds32le | nds32be \
        | nios | nios2 \
        | ns16k | ns32k \
+       | open8 \
        | or32 \
        | pdp10 | pdp11 | pj | pjl \
-       | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+       | powerpc | powerpc64 | powerpc64le | powerpcle \
        | pyramid \
+       | rl78 | rx \
        | score \
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
        | sh64 | sh64le \
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
-       | spu | strongarm \
-       | tahoe | thumb | tic4x | tic80 | tron \
-       | v850 | v850e \
+       | spu \
+       | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+       | ubicom32 \
+       | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
        | we32k \
-       | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
+       | x86 | xc16x | xstormy16 | xtensa \
        | z8k | z80)
                basic_machine=$basic_machine-unknown
                ;;
-       m6811 | m68hc11 | m6812 | m68hc12)
-               # Motorola 68HC11/12.
+       c54x)
+               basic_machine=tic54x-unknown
+               ;;
+       c55x)
+               basic_machine=tic55x-unknown
+               ;;
+       c6x)
+               basic_machine=tic6x-unknown
+               ;;
+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
                basic_machine=$basic_machine-unknown
                os=-none
                ;;
@@ -308,6 +338,21 @@ case $basic_machine in
                basic_machine=mt-unknown
                ;;
 
+       strongarm | thumb | xscale)
+               basic_machine=arm-unknown
+               ;;
+       xgate)
+               basic_machine=$basic_machine-unknown
+               os=-none
+               ;;
+       xscaleeb)
+               basic_machine=armeb-unknown
+               ;;
+
+       xscaleel)
+               basic_machine=armel-unknown
+               ;;
+
        # We use `pc' rather than `unknown'
        # because (1) that's what they normally are, and
        # (2) the word "unknown" tends to confuse beginning users.
@@ -322,25 +367,29 @@ case $basic_machine in
        # Recognize the basic CPU types with company name.
        580-* \
        | a29k-* \
+       | aarch64-* | aarch64_be-* \
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
        | avr-* | avr32-* \
+       | be32-* | be64-* \
        | bfin-* | bs2000-* \
-       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+       | c[123]* | c30-* | [cjt]90-* | c4x-* \
        | clipper-* | craynv-* | cydra-* \
        | d10v-* | d30v-* | dlx-* \
        | elxsi-* \
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
        | h8300-* | h8500-* \
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+       | hexagon-* \
        | i*86-* | i860-* | i960-* | ia64-* \
        | ip2k-* | iq2000-* \
+       | le32-* | le64-* \
        | lm32-* \
        | m32c-* | m32r-* | m32rle-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
        | mips16-* \
        | mips64-* | mips64el-* \
@@ -362,24 +411,29 @@ case $basic_machine in
        | mmix-* \
        | mt-* \
        | msp430-* \
+       | nds32-* | nds32le-* | nds32be-* \
        | nios-* | nios2-* \
        | none-* | np1-* | ns16k-* | ns32k-* \
+       | open8-* \
        | orion-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
        | pyramid-* \
-       | romp-* | rs6000-* \
+       | rl78-* | romp-* | rs6000-* | rx-* \
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
        | sparclite-* \
-       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
-       | tahoe-* | thumb-* \
-       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
+       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+       | tahoe-* \
+       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+       | tile*-* \
        | tron-* \
-       | v850-* | v850e-* | vax-* \
+       | ubicom32-* \
+       | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+       | vax-* \
        | we32k-* \
-       | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+       | x86-* | x86_64-* | xc16x-* | xps100-* \
        | xstormy16-* | xtensa*-* \
        | ymp-* \
        | z8k-* | z80-*)
@@ -404,7 +458,7 @@ case $basic_machine in
                basic_machine=a29k-amd
                os=-udi
                ;;
-       abacus)
+       abacus)
                basic_machine=abacus-unknown
                ;;
        adobe68k)
@@ -474,11 +528,20 @@ case $basic_machine in
                basic_machine=powerpc-ibm
                os=-cnk
                ;;
+       c54x-*)
+               basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       c55x-*)
+               basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       c6x-*)
+               basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
        c90)
                basic_machine=c90-cray
                os=-unicos
                ;;
-        cegcc)
+       cegcc)
                basic_machine=arm-unknown
                os=-cegcc
                ;;
@@ -510,7 +573,7 @@ case $basic_machine in
                basic_machine=craynv-cray
                os=-unicosmp
                ;;
-       cr16)
+       cr16 | cr16-*)
                basic_machine=cr16-unknown
                os=-elf
                ;;
@@ -668,7 +731,6 @@ case $basic_machine in
        i370-ibm* | ibm*)
                basic_machine=i370-ibm
                ;;
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
        i*86v32)
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
                os=-sysv32
@@ -726,6 +788,9 @@ case $basic_machine in
                basic_machine=ns32k-utek
                os=-sysv
                ;;
+       microblaze)
+               basic_machine=microblaze-xilinx
+               ;;
        mingw32)
                basic_machine=i386-pc
                os=-mingw32
@@ -762,10 +827,18 @@ case $basic_machine in
        ms1-*)
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
                ;;
+       msys)
+               basic_machine=i386-pc
+               os=-msys
+               ;;
        mvs)
                basic_machine=i370-ibm
                os=-mvs
                ;;
+       nacl)
+               basic_machine=le32-unknown
+               os=-nacl
+               ;;
        ncr3000)
                basic_machine=i486-ncr
                os=-sysv4
@@ -830,6 +903,12 @@ case $basic_machine in
        np1)
                basic_machine=np1-gould
                ;;
+       neo-tandem)
+               basic_machine=neo-tandem
+               ;;
+       nse-tandem)
+               basic_machine=nse-tandem
+               ;;
        nsr-tandem)
                basic_machine=nsr-tandem
                ;;
@@ -912,9 +991,10 @@ case $basic_machine in
                ;;
        power)  basic_machine=power-ibm
                ;;
-       ppc)    basic_machine=powerpc-unknown
+       ppc | ppcbe)    basic_machine=powerpc-unknown
                ;;
-       ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+       ppc-* | ppcbe-*)
+               basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
                ;;
        ppcle | powerpclittle | ppc-le | powerpc-little)
                basic_machine=powerpcle-unknown
@@ -1008,6 +1088,9 @@ case $basic_machine in
                basic_machine=i860-stratus
                os=-sysv4
                ;;
+       strongarm-* | thumb-*)
+               basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
        sun2)
                basic_machine=m68000-sun
                ;;
@@ -1064,20 +1147,8 @@ case $basic_machine in
                basic_machine=t90-cray
                os=-unicos
                ;;
-       tic54x | c54x*)
-               basic_machine=tic54x-unknown
-               os=-coff
-               ;;
-       tic55x | c55x*)
-               basic_machine=tic55x-unknown
-               os=-coff
-               ;;
-       tic6x | c6x*)
-               basic_machine=tic6x-unknown
-               os=-coff
-               ;;
        tile*)
-               basic_machine=tile-unknown
+               basic_machine=$basic_machine-unknown
                os=-linux-gnu
                ;;
        tx39)
@@ -1147,6 +1218,9 @@ case $basic_machine in
        xps | xps100)
                basic_machine=xps100-honeywell
                ;;
+       xscale-* | xscalee[bl]-*)
+               basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+               ;;
        ymp)
                basic_machine=ymp-cray
                os=-unicos
@@ -1244,9 +1318,12 @@ esac
 if [ x"$os" != x"" ]
 then
 case $os in
-        # First match some system type aliases
-        # that might get confused with valid system types.
+       # First match some system type aliases
+       # that might get confused with valid system types.
        # -solaris* is a basic system type, with this one exception.
+       -auroraux)
+               os=-auroraux
+               ;;
        -solaris1 | -solaris1.*)
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
                ;;
@@ -1268,8 +1345,8 @@ case $os in
        # -sysv* is not here because it comes later, after sysvr4.
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
-             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
-             | -kopensolaris* \
+             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+             | -sym* | -kopensolaris* \
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
              | -aos* | -aros* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1281,8 +1358,9 @@ case $os in
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* | -cegcc* \
-             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+             | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+             | -mingw32* | -linux-gnu* | -linux-android* \
+             | -linux-newlib* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1290,7 +1368,7 @@ case $os in
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
        # Remember, each alternative MUST END IN *, to match a version number.
                ;;
        -qnx*)
@@ -1329,7 +1407,7 @@ case $os in
        -opened*)
                os=-openedition
                ;;
-        -os400*)
+       -os400*)
                os=-os400
                ;;
        -wince*)
@@ -1378,7 +1456,7 @@ case $os in
        -sinix*)
                os=-sysv4
                ;;
-        -tpf*)
+       -tpf*)
                os=-tpf
                ;;
        -triton*)
@@ -1423,6 +1501,8 @@ case $os in
        -dicos*)
                os=-dicos
                ;;
+       -nacl*)
+               ;;
        -none)
                ;;
        *)
@@ -1445,10 +1525,10 @@ else
 # system, and we'll never get to this point.
 
 case $basic_machine in
-        score-*)
+       score-*)
                os=-elf
                ;;
-        spu-*)
+       spu-*)
                os=-elf
                ;;
        *-acorn)
@@ -1460,8 +1540,20 @@ case $basic_machine in
        arm*-semi)
                os=-aout
                ;;
-        c4x-* | tic4x-*)
-               os=-coff
+       c4x-* | tic4x-*)
+               os=-coff
+               ;;
+       hexagon-*)
+               os=-elf
+               ;;
+       tic54x-*)
+               os=-coff
+               ;;
+       tic55x-*)
+               os=-coff
+               ;;
+       tic6x-*)
+               os=-coff
                ;;
        # This must come before the *-dec entry.
        pdp10-*)
@@ -1481,14 +1573,11 @@ case $basic_machine in
                ;;
        m68000-sun)
                os=-sunos3
-               # This also exists in the configure program, but was not the
-               # default.
-               # os=-sunos4
                ;;
        m68*-cisco)
                os=-aout
                ;;
-        mep-*)
+       mep-*)
                os=-elf
                ;;
        mips*-cisco)
@@ -1515,7 +1604,7 @@ case $basic_machine in
        *-ibm)
                os=-aix
                ;;
-       *-knuth)
+       *-knuth)
                os=-mmixware
                ;;
        *-wec)
index e844528..14dae8b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,11 +1,9 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for syncevolution 1.3.99.3.
+# Generated by GNU Autoconf 2.69 for syncevolution 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831.
 #
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
-# Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #
 #
 # This configure script is free software; the Free Software Foundation
@@ -89,6 +87,7 @@ fi
 IFS=" ""       $as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -133,6 +132,31 @@ export LANGUAGE
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
@@ -166,11 +190,20 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+    PATH=/empty FPATH=/empty; export PATH FPATH
+    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 test \$(( 1 + 1 )) = 2 || exit 1"
   if (eval "$as_required") 2>/dev/null; then :
   as_have_required=yes
@@ -211,14 +244,25 @@ IFS=$as_save_IFS
 
 
       if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-       # neutralization value for shells without unset; and this also
-       # works around shells that cannot unset nonexistent variables.
-       BASH_ENV=/dev/null
-       ENV=/dev/null
-       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-       export CONFIG_SHELL
-       exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
 fi
 
     if test x$as_have_required = xno; then :
@@ -316,10 +360,18 @@ $as_echo X"$as_dir" |
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
 # as_fn_append VAR VALUE
 # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -356,19 +408,19 @@ else
 fi # as_fn_arith
 
 
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
+# script with STATUS, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$?; test $as_status -eq 0 && as_status=1
-  if test "$3"; then
-    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi
-  $as_echo "$as_me: error: $1" >&2
+  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -441,6 +493,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -475,16 +531,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -496,28 +552,8 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -525,161 +561,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 # Sed expression to map a string onto a valid variable name.
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
-
-
-# Check that we are running under the correct shell.
 SHELL=${CONFIG_SHELL-/bin/sh}
 
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell.
-  exec $SHELL "$0" --no-reexec ${1+"$@"}
-fi
-
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-$*
-_LT_EOF
-  exit 0
-fi
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-          test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-          test "X$echo_testing_string" = "X$echo_test_string"; then
-         # Cool, printf works
-         :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
-            test "X$echo_testing_string" = 'X\t' &&
-            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-            test "X$echo_testing_string" = "X$echo_test_string"; then
-         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-         export CONFIG_SHELL
-         SHELL="$CONFIG_SHELL"
-         export SHELL
-         ECHO="$CONFIG_SHELL $0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
-            test "X$echo_testing_string" = 'X\t' &&
-            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-            test "X$echo_testing_string" = "X$echo_test_string"; then
-         ECHO="$CONFIG_SHELL $0 --fallback-echo"
-        else
-         # maybe with a smaller string...
-         prev=:
-
-         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
-           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-           then
-             break
-           fi
-           prev="$cmd"
-         done
-
-         if test "$prev" != 'sed 50q "$0"'; then
-           echo_test_string=`eval $prev`
-           export echo_test_string
-           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
-         else
-           # Oops.  We lost completely, so just stick with echo.
-           ECHO=echo
-         fi
-        fi
-      fi
-    fi
-  fi
-fi
-
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
-fi
-
-
-
 
 test -n "$DJDIR" || exec 7<&0 </dev/null
 exec 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -698,8 +587,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='syncevolution'
 PACKAGE_TARNAME='syncevolution'
-PACKAGE_VERSION='1.3.99.3'
-PACKAGE_STRING='syncevolution 1.3.99.3'
+PACKAGE_VERSION='1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831'
+PACKAGE_STRING='syncevolution 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -926,6 +815,12 @@ INTLTOOL_PROP_RULE
 INTLTOOL_KEYS_RULE
 INTLTOOL_DIRECTORY_RULE
 INTLTOOL_DESKTOP_RULE
+intltool__v_merge_options_0
+intltool__v_merge_options_
+INTLTOOL_V_MERGE_OPTIONS
+INTLTOOL__v_MERGE_0
+INTLTOOL__v_MERGE_
+INTLTOOL_V_MERGE
 INTLTOOL_EXTRACT
 INTLTOOL_MERGE
 INTLTOOL_UPDATE
@@ -943,6 +838,8 @@ PHONENUMBERS_CFLAGS
 DBUS_PIM_PLUGIN_LDFLAGS
 DBUS_PIM_PLUGIN_LIBS
 DBUS_PIM_PLUGIN_CFLAGS
+ICU_LIBS
+ICU_CFLAGS
 BOOST_LOCALE_LIB
 DBUS_PIM_PLUGIN
 FOLKS_LIBS
@@ -976,6 +873,8 @@ LIBOPENOBEX_LIBS
 LIBOPENOBEX_CFLAGS
 LIBSOUP_LIBS
 LIBSOUP_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
 PKG_CONFIG
 CORE_LDADD_DEP
 ENABLE_TESTING_FALSE
@@ -1002,9 +901,11 @@ OTOOL
 LIPO
 NMEDIT
 DSYMUTIL
-lt_ECHO
+MANIFEST_TOOL
 RANLIB
+ac_ct_AR
 AR
+DLLTOOL
 OBJDUMP
 LN_S
 NM
@@ -1030,6 +931,7 @@ MAINTAINER_MODE_TRUE
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
 CCDEPMODE
+am__nodep
 AMDEPBACKSLASH
 AMDEP_FALSE
 AMDEP_TRUE
@@ -1045,6 +947,8 @@ CFLAGS
 CC
 AM_BACKSLASH
 AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
 am__untar
 am__tar
 AMTAR
@@ -1119,6 +1023,7 @@ enable_static
 with_pic
 enable_fast_install
 with_gnu_ld
+with_sysroot
 enable_libtool_lock
 with_boost
 with_boost_libdir
@@ -1188,6 +1093,8 @@ CXXFLAGS
 CCC
 CXXCPP
 PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
 LIBSOUP_CFLAGS
 LIBSOUP_LIBS
 LIBOPENOBEX_CFLAGS
@@ -1202,6 +1109,8 @@ MLITE_CFLAGS
 MLITE_LIBS
 FOLKS_CFLAGS
 FOLKS_LIBS
+ICU_CFLAGS
+ICU_LIBS
 DBUS_GLIB_CFLAGS
 DBUS_GLIB_LIBS
 MX_GTK_0_99_1_CFLAGS
@@ -1329,8 +1238,9 @@ do
   fi
 
   case $ac_option in
-  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *)   ac_optarg=yes ;;
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1375,7 +1285,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1401,7 +1311,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1605,7 +1515,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1621,7 +1531,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1651,8 +1561,8 @@ do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) as_fn_error "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information."
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
     ;;
 
   *=*)
@@ -1660,7 +1570,7 @@ Try \`$0 --help' for more information."
     # Reject names that are not valid shell variable names.
     case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
@@ -1670,7 +1580,7 @@ Try \`$0 --help' for more information."
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1678,13 +1588,13 @@ done
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error "missing argument to $ac_option"
+  as_fn_error $? "missing argument to $ac_option"
 fi
 
 if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in
     no) ;;
-    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   esac
 fi
@@ -1707,7 +1617,7 @@ do
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1721,8 +1631,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1737,9 +1645,9 @@ test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error "working directory cannot be determined"
+  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error "pwd does not report name of working directory"
+  as_fn_error $? "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
@@ -1778,11 +1686,11 @@ else
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1808,7 +1716,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures syncevolution 1.3.99.3 to adapt to many kinds of systems.
+\`configure' configures syncevolution 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1822,7 +1730,7 @@ Configuration:
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
+  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1878,7 +1786,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of syncevolution 1.3.99.3:";;
+     short | recursive ) echo "Configuration of syncevolution 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831:";;
    esac
   cat <<\_ACEOF
 
@@ -2010,9 +1918,11 @@ Optional Features:
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-pic              try to use only PIC/non-PIC objects [default=use
+  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
+  --with-sysroot=DIR Search for dependent libraries within DIR
+                        (or the compiler's sysroot if not specified).
   --with-boost[=ARG]      use Boost library from a standard location
                           (ARG=yes), from the specified location (ARG=<path>),
                           or disable it (ARG=no) [ARG=yes]
@@ -2091,6 +2001,10 @@ Some influential environment variables:
   CXXFLAGS    C++ compiler flags
   CXXCPP      C++ preprocessor
   PKG_CONFIG  path to pkg-config utility
+  PKG_CONFIG_PATH
+              directories to add to pkg-config's search path
+  PKG_CONFIG_LIBDIR
+              path overriding pkg-config's built-in search path
   LIBSOUP_CFLAGS
               C compiler flags for LIBSOUP, overriding pkg-config
   LIBSOUP_LIBS
@@ -2114,6 +2028,8 @@ Some influential environment variables:
   FOLKS_CFLAGS
               C compiler flags for FOLKS, overriding pkg-config
   FOLKS_LIBS  linker flags for FOLKS, overriding pkg-config
+  ICU_CFLAGS  C compiler flags for ICU, overriding pkg-config
+  ICU_LIBS    linker flags for ICU, overriding pkg-config
   DBUS_GLIB_CFLAGS
               C compiler flags for DBUS_GLIB, overriding pkg-config
   DBUS_GLIB_LIBS
@@ -2290,10 +2206,10 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-syncevolution configure 1.3.99.3
-generated by GNU Autoconf 2.65
+syncevolution configure 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831
+generated by GNU Autoconf 2.69
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -2337,7 +2253,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
        ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_compile
@@ -2369,7 +2285,7 @@ $as_echo "$ac_try_echo"; } >&5
         test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
         test "$cross_compiling" = yes ||
-        $as_test_x conftest$ac_exeext
+        test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -2383,7 +2299,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_link
@@ -2397,7 +2313,7 @@ ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2415,7 +2331,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_compile
 
@@ -2440,7 +2356,7 @@ $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
+  test $ac_status = 0; } > conftest.i && {
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         test ! -s conftest.err
        }; then :
@@ -2451,7 +2367,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_cpp
@@ -2493,7 +2409,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_run
@@ -2506,7 +2422,7 @@ ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2561,7 +2477,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
 
@@ -2598,7 +2514,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
        ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_compile
@@ -2624,7 +2540,7 @@ $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
+  test $ac_status = 0; } > conftest.i && {
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         test ! -s conftest.err
        }; then :
@@ -2635,7 +2551,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_cpp
@@ -2667,7 +2583,7 @@ $as_echo "$ac_try_echo"; } >&5
         test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
         test "$cross_compiling" = yes ||
-        $as_test_x conftest$ac_exeext
+        test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -2681,7 +2597,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
@@ -2694,10 +2610,10 @@ fi
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2733,7 +2649,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -2760,7 +2676,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2769,7 +2685,7 @@ eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_mongrel
 
@@ -2781,10 +2697,10 @@ fi
 ac_fn_cxx_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2820,7 +2736,7 @@ if ac_fn_cxx_try_cpp "$LINENO"; then :
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -2847,7 +2763,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2856,7 +2772,7 @@ eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_cxx_check_header_mongrel
 
@@ -2868,7 +2784,7 @@ ac_fn_cxx_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2923,15 +2839,15 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_cxx_check_func
 cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by syncevolution $as_me 1.3.99.3, which was
-generated by GNU Autoconf 2.65.  Invocation command line was
+It was created by syncevolution $as_me 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
 
@@ -3041,11 +2957,9 @@ trap 'exit_status=$?
   {
     echo
 
-    cat <<\_ASBOX
-## ---------------- ##
+    $as_echo "## ---------------- ##
 ## Cache variables. ##
-## ---------------- ##
-_ASBOX
+## ---------------- ##"
     echo
     # The following way of writing the cache mishandles newlines in values,
 (
@@ -3079,11 +2993,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 )
     echo
 
-    cat <<\_ASBOX
-## ----------------- ##
+    $as_echo "## ----------------- ##
 ## Output variables. ##
-## ----------------- ##
-_ASBOX
+## ----------------- ##"
     echo
     for ac_var in $ac_subst_vars
     do
@@ -3096,11 +3008,9 @@ _ASBOX
     echo
 
     if test -n "$ac_subst_files"; then
-      cat <<\_ASBOX
-## ------------------- ##
+      $as_echo "## ------------------- ##
 ## File substitutions. ##
-## ------------------- ##
-_ASBOX
+## ------------------- ##"
       echo
       for ac_var in $ac_subst_files
       do
@@ -3114,11 +3024,9 @@ _ASBOX
     fi
 
     if test -s confdefs.h; then
-      cat <<\_ASBOX
-## ----------- ##
+      $as_echo "## ----------- ##
 ## confdefs.h. ##
-## ----------- ##
-_ASBOX
+## ----------- ##"
       echo
       cat confdefs.h
       echo
@@ -3173,7 +3081,12 @@ _ACEOF
 ac_site_file1=NONE
 ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then
-  ac_site_file1=$CONFIG_SITE
+  # We do not want a PATH search for config.site.
+  case $CONFIG_SITE in #((
+    -*)  ac_site_file1=./$CONFIG_SITE;;
+    */*) ac_site_file1=$CONFIG_SITE;;
+    *)   ac_site_file1=./$CONFIG_SITE;;
+  esac
 elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site
@@ -3188,7 +3101,11 @@ do
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
+    . "$ac_site_file" \
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
@@ -3264,7 +3181,7 @@ if $ac_cache_corrupted; then
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 fi
 ## -------------------- ##
 ## Main body of script. ##
@@ -3317,6 +3234,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # Minimum version of libsynthesis as defined in its
 # configure script and thus .pc files:
 
@@ -3342,16 +3263,22 @@ am__api_version='1.11'
 
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  for ac_t in install-sh install.sh shtool; do
-    if test -f "$ac_dir/$ac_t"; then
-      ac_aux_dir=$ac_dir
-      ac_install_sh="$ac_aux_dir/$ac_t -c"
-      break 2
-    fi
-  done
+  if test -f "$ac_dir/install-sh"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install-sh -c"
+    break
+  elif test -f "$ac_dir/install.sh"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install.sh -c"
+    break
+  elif test -f "$ac_dir/shtool"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/shtool install -c"
+    break
+  fi
 done
 if test -z "$ac_aux_dir"; then
-  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -3380,7 +3307,7 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
+if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3400,7 +3327,7 @@ case $as_dir/ in #((
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+       if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
@@ -3467,11 +3394,11 @@ am_lf='
 '
 case `pwd` in
   *[\\\"\#\$\&\'\`$am_lf]*)
-    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 esac
 case $srcdir in
   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
-    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 esac
 
 # Do `set' in a subshell so we don't clobber the current shell's
@@ -3493,7 +3420,7 @@ if (
       # if, for instance, CONFIG_SHELL is bash and it inherits a
       # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".
-      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 alias in your environment" "$LINENO" 5
    fi
 
@@ -3503,7 +3430,7 @@ then
    # Ok.
    :
 else
-   as_fn_error "newly created file is older than distributed files!
+   as_fn_error $? "newly created file is older than distributed files!
 Check your system clock" "$LINENO" 5
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3557,7 +3484,7 @@ if test "$cross_compiling" != no; then
 set dummy ${ac_tool_prefix}strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if ${ac_cv_prog_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$STRIP"; then
@@ -3569,7 +3496,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3597,7 +3524,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -3609,7 +3536,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3650,7 +3577,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then
-  if test "${ac_cv_path_mkdir+set}" = set; then :
+  if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3660,7 +3587,7 @@ do
   test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do
         for ac_exec_ext in '' $ac_executable_extensions; do
-          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+          as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
             'mkdir (GNU coreutils) '* | \
             'mkdir (coreutils) '* | \
@@ -3701,7 +3628,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then :
+if ${ac_cv_prog_AWK+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
@@ -3713,7 +3640,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3741,7 +3668,7 @@ done
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat >conftest.make <<\_ACEOF
@@ -3749,7 +3676,7 @@ SHELL = /bin/sh
 all:
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3787,6 +3714,33 @@ yes) AM_DEFAULT_VERBOSITY=0;;
 no)  AM_DEFAULT_VERBOSITY=1;;
 *)   AM_DEFAULT_VERBOSITY=1;;
 esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+       @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+    AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
 AM_BACKSLASH='\'
 
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
@@ -3795,7 +3749,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
   am__isrc=' -I$(srcdir)'
   # test to see if srcdir already configured
   if test -f $srcdir/config.status; then
-    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   fi
 fi
 
@@ -3811,7 +3765,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='syncevolution'
- VERSION='1.3.99.3'
+ VERSION='1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3841,9 +3795,9 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
+# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
@@ -3919,7 +3873,7 @@ do
 done
 rm -rf conftest.dir
 
-if test "${am_cv_prog_tar_ustar+set}" = set; then :
+if ${am_cv_prog_tar_ustar+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   am_cv_prog_tar_ustar=$_am_tool
@@ -3985,6 +3939,7 @@ fi
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
  if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=
@@ -4005,7 +3960,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4017,7 +3972,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4045,7 +4000,7 @@ if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -4057,7 +4012,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4098,7 +4053,7 @@ if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4110,7 +4065,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4138,7 +4093,7 @@ if test -z "$CC"; then
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4151,7 +4106,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -4197,7 +4152,7 @@ if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4209,7 +4164,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4241,7 +4196,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -4253,7 +4208,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4295,8 +4250,8 @@ fi
 
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "no acceptable C compiler found in \$PATH
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4410,9 +4365,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "C compiler cannot create executables
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
@@ -4454,8 +4408,8 @@ done
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4512,9 +4466,9 @@ $as_echo "$ac_try_echo"; } >&5
     else
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run C compiled programs.
+as_fn_error $? "cannot run C compiled programs.
 If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
     fi
   fi
 fi
@@ -4525,7 +4479,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
+if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4565,8 +4519,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
@@ -4576,7 +4530,7 @@ OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4613,7 +4567,7 @@ ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4691,7 +4645,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -4700,8 +4654,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4790,7 +4743,7 @@ depcc="$CC"   am_compiler_list=
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 $as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4799,6 +4752,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -4858,7 +4812,7 @@ else
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -4922,7 +4876,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 fi
 set dummy $CC; ac_cc=`$as_echo "$2" |
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
-if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5041,8 +4995,8 @@ fi
 
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     # Check whether --enable-maintainer-mode was given.
 if test "${enable_maintainer_mode+set}" = set; then :
   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
@@ -5080,8 +5034,8 @@ esac
 
 
 
-macro_version='2.2.6b'
-macro_revision='1.3017'
+macro_version='2.4.2'
+macro_revision='1.3337'
 
 
 
@@ -5099,27 +5053,27 @@ ltmain="$ac_aux_dir/ltmain.sh"
 
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
+if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
 test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&
-  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -5137,14 +5091,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
+if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
   ac_cv_host=$ac_cv_build
 else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi
 
 fi
@@ -5152,7 +5106,7 @@ fi
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -5168,9 +5122,78 @@ IFS=$ac_save_IFS
 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
 
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='printf %s\n'
+else
+  # Use this function as a fallback that always works.
+  func_fallback_echo ()
+  {
+    eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+  }
+  ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO ""
+}
+
+case "$ECHO" in
+  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if test "${ac_cv_path_SED+set}" = set; then :
+if ${ac_cv_path_SED+:} false; then :
   $as_echo_n "(cached) " >&6
 else
             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -5190,7 +5213,7 @@ do
     for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
+      as_fn_executable_p "$ac_path_SED" || continue
 # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in
@@ -5225,7 +5248,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_SED"; then
-    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
+    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   fi
 else
   ac_cv_path_SED=$SED
@@ -5252,7 +5275,7 @@ Xsed="$SED -e 1s/^X//"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
+if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -5266,7 +5289,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -5301,7 +5324,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_GREP"; then
-    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_GREP=$GREP
@@ -5315,7 +5338,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
+if ${ac_cv_path_EGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -5332,7 +5355,7 @@ do
     for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+      as_fn_executable_p "$ac_path_EGREP" || continue
 # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
@@ -5367,7 +5390,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_EGREP=$EGREP
@@ -5382,7 +5405,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 $as_echo_n "checking for fgrep... " >&6; }
-if test "${ac_cv_path_FGREP+set}" = set; then :
+if ${ac_cv_path_FGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -5399,7 +5422,7 @@ do
     for ac_prog in fgrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
+      as_fn_executable_p "$ac_path_FGREP" || continue
 # Check for GNU ac_path_FGREP and select it if it is found.
   # Check for GNU $ac_path_FGREP
 case `"$ac_path_FGREP" --version 2>&1` in
@@ -5434,7 +5457,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_FGREP"; then
-    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_FGREP=$FGREP
@@ -5513,7 +5536,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -5550,10 +5573,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -5580,7 +5603,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
-if test "${lt_cv_path_NM+set}" = set; then :
+if ${lt_cv_path_NM+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NM"; then
@@ -5633,14 +5656,17 @@ if test "$lt_cv_path_NM" != "no"; then
   NM="$lt_cv_path_NM"
 else
   # Didn't find any BSD compatible name lister, look for dumpbin.
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
+  if test -n "$DUMPBIN"; then :
+    # Let the user override the test.
+  else
+    if test -n "$ac_tool_prefix"; then
+  for ac_prog in dumpbin "link -dump"
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DUMPBIN"; then
@@ -5652,7 +5678,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5678,13 +5704,13 @@ fi
 fi
 if test -z "$DUMPBIN"; then
   ac_ct_DUMPBIN=$DUMPBIN
-  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
+  for ac_prog in dumpbin "link -dump"
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DUMPBIN"; then
@@ -5696,7 +5722,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5733,6 +5759,15 @@ esac
   fi
 fi
 
+    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+    *COFF*)
+      DUMPBIN="$DUMPBIN -symbols"
+      ;;
+    *)
+      DUMPBIN=:
+      ;;
+    esac
+  fi
 
   if test "$DUMPBIN" != ":"; then
     NM="$DUMPBIN"
@@ -5747,18 +5782,18 @@ test -z "$NM" && NM=nm
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if test "${lt_cv_nm_interface+set}" = set; then :
+if ${lt_cv_nm_interface+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:5755: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:5758: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:5761: output\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -5782,7 +5817,7 @@ fi
 # find the maximum length of command line arguments
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
+if ${lt_cv_sys_max_cmd_len+:} false; then :
   $as_echo_n "(cached) " >&6
 else
     i=0
@@ -5815,6 +5850,11 @@ else
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
@@ -5840,6 +5880,11 @@ else
     lt_cv_sys_max_cmd_len=196608
     ;;
 
+  os2*)
+    # The test takes a long time on OS/2.
+    lt_cv_sys_max_cmd_len=8192
+    ;;
+
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -5879,8 +5924,8 @@ else
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
-                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
+      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+                = "X$teststring$teststring"; } >/dev/null 2>&1 &&
              test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
@@ -5922,8 +5967,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
 # Try some XSI features
 xsi_shell=no
 ( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,, \
+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+      = c,a/b,b/c, \
     && eval 'test $(( 1 + 1 )) -eq 2 \
     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   && xsi_shell=yes
@@ -5972,9 +6017,83 @@ esac
 
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+        ;;
+    esac
+    ;;
+  *-*-cygwin* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_noop
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+        ;;
+    esac
+    ;;
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_host_file_cmd=func_convert_file_noop
+    ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+        ;;
+    esac
+    ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 $as_echo_n "checking for $LD option to reload object files... " >&6; }
-if test "${lt_cv_ld_reload_flag+set}" = set; then :
+if ${lt_cv_ld_reload_flag+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_reload_flag='-r'
@@ -5988,6 +6107,11 @@ case $reload_flag in
 esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in
+  cygwin* | mingw* | pw32* | cegcc*)
+    if test "$GCC" != yes; then
+      reload_cmds=false
+    fi
+    ;;
   darwin*)
     if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -6010,7 +6134,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OBJDUMP"; then
@@ -6022,7 +6146,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6050,7 +6174,7 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
 set dummy objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OBJDUMP"; then
@@ -6062,7 +6186,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OBJDUMP="objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6109,7 +6233,7 @@ test -z "$OBJDUMP" && OBJDUMP=objdump
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if test "${lt_cv_deplibs_check_method+set}" = set; then :
+if ${lt_cv_deplibs_check_method+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -6151,16 +6275,18 @@ mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   # unless we find 'file', for example because we are cross-compiling.
-  if ( file / ) >/dev/null 2>&1; then
+  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     lt_cv_file_magic_cmd='func_win32_libid'
   else
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+    # Keep this pattern in sync with the one in func_win32_libid.
+    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     lt_cv_file_magic_cmd='$OBJDUMP -f'
   fi
   ;;
 
-cegcc)
+cegcc*)
   # use the weaker test based on 'objdump'. See mingw*.
   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   lt_cv_file_magic_cmd='$OBJDUMP -f'
@@ -6186,7 +6312,7 @@ freebsd* | dragonfly*)
   fi
   ;;
 
-gnu*)
+haiku*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -6198,11 +6324,11 @@ hpux10.20* | hpux11*)
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
   hppa*64*)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     ;;
   *)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   esac
@@ -6223,8 +6349,8 @@ irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -6305,6 +6431,21 @@ esac
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 $as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+  case $host_os in
+  mingw* | pw32*)
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+      want_nocaseglob=yes
+    else
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+    fi
+    ;;
+  esac
+fi
+
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -6320,16 +6461,26 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
 
 
+
+
+
+
+
+
+
+
+
+
 if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
+  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if ${ac_cv_prog_DLLTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$AR"; then
-  ac_cv_prog_AR="$AR" # Let the user override the test.
+  if test -n "$DLLTOOL"; then
+  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -6337,8 +6488,8 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_AR="${ac_tool_prefix}ar"
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -6348,10 +6499,10 @@ IFS=$as_save_IFS
 
 fi
 fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -6359,17 +6510,17 @@ fi
 
 
 fi
-if test -z "$ac_cv_prog_AR"; then
-  ac_ct_AR=$AR
-  # Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
+if test -z "$ac_cv_prog_DLLTOOL"; then
+  ac_ct_DLLTOOL=$DLLTOOL
+  # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$ac_ct_AR"; then
-  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+  if test -n "$ac_ct_DLLTOOL"; then
+  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -6377,8 +6528,8 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_AR="ar"
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -6388,17 +6539,17 @@ IFS=$as_save_IFS
 
 fi
 fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
 
-  if test "x$ac_ct_AR" = x; then
-    AR="false"
+  if test "x$ac_ct_DLLTOOL" = x; then
+    DLLTOOL="false"
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
@@ -6406,14 +6557,13 @@ yes:)
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
-    AR=$ac_ct_AR
+    DLLTOOL=$ac_ct_DLLTOOL
   fi
 else
-  AR="$ac_cv_prog_AR"
+  DLLTOOL="$ac_cv_prog_DLLTOOL"
 fi
 
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
 
 
@@ -6424,17 +6574,57 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
 
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+  # two different shell functions defined in ltmain.sh
+  # decide which to use based on capabilities of $DLLTOOL
+  case `$DLLTOOL --help 2>&1` in
+  *--identify-strict*)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+    ;;
+  *)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+    ;;
+  esac
+  ;;
+*)
+  # fallback: assume linklib IS sharedlib
+  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+  ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
 
 if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
+  for ac_prog in ar
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if ${ac_cv_prog_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$STRIP"; then
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+  if test -n "$AR"; then
+  ac_cv_prog_AR="$AR" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -6442,8 +6632,177 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$AR" && break
+  done
+fi
+if test -z "$AR"; then
+  ac_ct_AR=$AR
+  for ac_prog in ar
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_AR"; then
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_AR="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_AR" && break
+done
+
+  if test "x$ac_ct_AR" = x; then
+    AR="false"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    AR=$ac_ct_AR
+  fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_ar_at_file=no
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  echo conftest.$ac_objext > conftest.lst
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+  (eval $lt_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+      if test "$ac_status" -eq 0; then
+       # Ensure the archiver fails upon bogus file names.
+       rm -f conftest.$ac_objext libconftest.a
+       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+  (eval $lt_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+       if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
+      fi
+      rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$STRIP"; then
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -6470,7 +6829,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -6482,7 +6841,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6529,7 +6888,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
+if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -6541,7 +6900,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6569,7 +6928,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -6581,7 +6940,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6631,15 +6990,27 @@ old_postuninstall_cmds=
 if test -n "$RANLIB"; then
   case $host_os in
   openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;
   *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;
   esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi
 
+case $host_os in
+  darwin*)
+    lock_old_archive_extraction=yes ;;
+  *)
+    lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
 
 
 
@@ -6686,7 +7057,7 @@ compiler=$CC
 # Check for command to grab the raw symbol name followed by C symbol from nm.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6747,8 +7118,8 @@ esac
 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 # Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
 # Handle CRLF in mingw tool chain
 opt_cr=
@@ -6772,6 +7143,7 @@ for ac_symprfx in "" "_"; do
     # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK '"\
 "     {last_section=section; section=\$ 3};"\
+"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -6784,6 +7156,7 @@ for ac_symprfx in "" "_"; do
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
   # Check to see that the pipe works correctly.
   pipe_works=no
@@ -6809,8 +7182,8 @@ _LT_EOF
   test $ac_status = 0; }; then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } && test -s "$nlist"; then
@@ -6825,6 +7198,18 @@ _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -6836,7 +7221,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
 
 /* The mapping between symbol names and symbols.  */
-const struct {
+LT_DLSYM_CONST struct {
   const char *name;
   void       *address;
 }
@@ -6862,8 +7247,8 @@ static const void *lt_preloaded_setup() {
 _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
-         lt_save_LIBS="$LIBS"
-         lt_save_CFLAGS="$CFLAGS"
+         lt_globsym_save_LIBS=$LIBS
+         lt_globsym_save_CFLAGS=$CFLAGS
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
@@ -6873,8 +7258,8 @@ _LT_EOF
   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
-         LIBS="$lt_save_LIBS"
-         CFLAGS="$lt_save_CFLAGS"
+         LIBS=$lt_globsym_save_LIBS
+         CFLAGS=$lt_globsym_save_CFLAGS
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
@@ -6911,6 +7296,21 @@ else
 $as_echo "ok" >&6; }
 fi
 
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+  nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
 
 
 
@@ -6929,6 +7329,39 @@ fi
 
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+# Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+  withval=$with_sysroot;
+else
+  with_sysroot=no
+fi
+
+
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+   if test "$GCC" = yes; then
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+   fi
+   ;; #(
+ /*)
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+   ;; #(
+ no|'')
+   ;; #(
+ *)
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
+$as_echo "${with_sysroot}" >&6; }
+   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+   ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
 
 
 
@@ -6964,7 +7397,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 6967 "configure"' > conftest.$ac_ext
+  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -7058,7 +7491,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   CFLAGS="$CFLAGS -belf"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if test "${lt_cv_cc_needs_belf+set}" = set; then :
+if ${lt_cv_cc_needs_belf+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_ext=c
@@ -7099,7 +7532,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
     CFLAGS="$SAVE_CFLAGS"
   fi
   ;;
-sparc*-*solaris*)
+*-*solaris*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -7110,7 +7543,20 @@ sparc*-*solaris*)
     case `/usr/bin/file conftest.o` in
     *64-bit*)
       case $lt_cv_prog_gnu_ld in
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+      yes*)
+        case $host in
+        i?86-*-solaris*)
+          LD="${LD-ld} -m elf_x86_64"
+          ;;
+        sparc*-*-solaris*)
+          LD="${LD-ld} -m elf64_sparc"
+          ;;
+        esac
+        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
+        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+          LD="${LD-ld}_sol2"
+        fi
+        ;;
       *)
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
          LD="${LD-ld} -64"
@@ -7126,6 +7572,123 @@ esac
 
 need_locks="$enable_libtool_lock"
 
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$MANIFEST_TOOL"; then
+  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+  # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_MANIFEST_TOOL"; then
+  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_MANIFEST_TOOL" = x; then
+    MANIFEST_TOOL=":"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+  fi
+else
+  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_path_mainfest_tool=no
+  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+  cat conftest.err >&5
+  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+    lt_cv_path_mainfest_tool=yes
+  fi
+  rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+  MANIFEST_TOOL=:
+fi
+
+
+
+
+
 
   case $host_os in
     rhapsody* | darwin*)
@@ -7134,7 +7697,7 @@ need_locks="$enable_libtool_lock"
 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DSYMUTIL"; then
@@ -7146,7 +7709,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7174,7 +7737,7 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
 set dummy dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DSYMUTIL"; then
@@ -7186,7 +7749,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7226,7 +7789,7 @@ fi
 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NMEDIT"; then
@@ -7238,7 +7801,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7266,7 +7829,7 @@ if test -z "$ac_cv_prog_NMEDIT"; then
 set dummy nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_NMEDIT"; then
@@ -7278,7 +7841,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_NMEDIT="nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7318,7 +7881,7 @@ fi
 set dummy ${ac_tool_prefix}lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_LIPO+set}" = set; then :
+if ${ac_cv_prog_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$LIPO"; then
@@ -7330,7 +7893,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7358,7 +7921,7 @@ if test -z "$ac_cv_prog_LIPO"; then
 set dummy lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_LIPO"; then
@@ -7370,7 +7933,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_LIPO="lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7410,7 +7973,7 @@ fi
 set dummy ${ac_tool_prefix}otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL+set}" = set; then :
+if ${ac_cv_prog_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL"; then
@@ -7422,7 +7985,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7450,7 +8013,7 @@ if test -z "$ac_cv_prog_OTOOL"; then
 set dummy otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL"; then
@@ -7462,7 +8025,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL="otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7502,7 +8065,7 @@ fi
 set dummy ${ac_tool_prefix}otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL64"; then
@@ -7514,7 +8077,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7542,7 +8105,7 @@ if test -z "$ac_cv_prog_OTOOL64"; then
 set dummy otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL64"; then
@@ -7554,7 +8117,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL64="otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7617,7 +8180,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 $as_echo_n "checking for -single_module linker flag... " >&6; }
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
+if ${lt_cv_apple_cc_single_mod+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_apple_cc_single_mod=no
@@ -7633,7 +8196,13 @@ else
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?
-       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+       # If there is a non-empty error log, and "single_module"
+       # appears in it, assume the flag caused a linker warning
+        if test -s conftest.err && $GREP single_module conftest.err; then
+         cat conftest.err >&5
+       # Otherwise, if the output was created with a 0 exit code from
+       # the compiler, it worked.
+       elif test -f libconftest.dylib && test $_lt_result -eq 0; then
          lt_cv_apple_cc_single_mod=yes
        else
          cat conftest.err >&5
@@ -7644,9 +8213,10 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_exported_symbols_list=no
@@ -7676,11 +8246,46 @@ rm -f core conftest.err conftest.$ac_objext \
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
-    case $host_os in
-    rhapsody* | darwin1.[012])
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
-    darwin1.*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_ld_force_load=no
+      cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+      echo "$AR cru libconftest.a conftest.o" >&5
+      $AR cru libconftest.a conftest.o 2>&5
+      echo "$RANLIB libconftest.a" >&5
+      $RANLIB libconftest.a 2>&5
+      cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+      _lt_result=$?
+      if test -s conftest.err && $GREP force_load conftest.err; then
+       cat conftest.err >&5
+      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+       lt_cv_ld_force_load=yes
+      else
+       cat conftest.err >&5
+      fi
+        rm -f conftest.err libconftest.a conftest conftest.c
+        rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+    case $host_os in
+    rhapsody* | darwin1.[012])
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
+    darwin1.*)
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     darwin*) # darwin 5.x on
       # if running on 10.5 or later, the deployment target defaults
       # to the OS version, if on x86, and 10.4, the deployment
@@ -7703,7 +8308,7 @@ $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     else
       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     fi
-    if test "$DSYMUTIL" != ":"; then
+    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
       _lt_dsymutil='~$DSYMUTIL $lib || :'
     else
       _lt_dsymutil=
@@ -7723,7 +8328,7 @@ if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
+  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -7753,7 +8358,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -7769,11 +8374,11 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
   break
 fi
@@ -7812,7 +8417,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -7828,18 +8433,18 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
 
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -7851,7 +8456,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
+if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7968,8 +8573,7 @@ do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 "
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -7983,7 +8587,7 @@ for ac_header in dlfcn.h
 do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1
 _ACEOF
@@ -7994,6 +8598,8 @@ done
 
 
 
+
+
 # Set options
 
 
@@ -8067,7 +8673,22 @@ fi
 
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; pic_mode="$withval"
+  withval=$with_pic; lt_p=${PACKAGE-default}
+    case $withval in
+    yes|no) pic_mode=$withval ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for lt_pkg in $withval; do
+       IFS="$lt_save_ifs"
+       if test "X$lt_pkg" = "X$lt_p"; then
+         pic_mode=yes
+       fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac
 else
   pic_mode=default
 fi
@@ -8144,6 +8765,11 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
 
 
+
+
+
+
+
 test -z "$LN_S" && LN_S="ln -s"
 
 
@@ -8165,7 +8791,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 $as_echo_n "checking for objdir... " >&6; }
-if test "${lt_cv_objdir+set}" = set; then :
+if ${lt_cv_objdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   rm -f .libs 2>/dev/null
@@ -8193,19 +8819,6 @@ _ACEOF
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
 case $host_os in
 aix3*)
   # AIX sometimes has problems with the GCC collect2 program.  For some
@@ -8218,23 +8831,6 @@ aix3*)
   ;;
 esac
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\(["`\\]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
 # Global variables:
 ofile=libtool
 can_build_shared=yes
@@ -8263,7 +8859,7 @@ for cc_temp in $compiler""; do
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
 # Only perform the check for file, if the check method requires it
@@ -8273,7 +8869,7 @@ file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -8339,7 +8935,7 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 $as_echo_n "checking for file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -8472,11 +9068,16 @@ if test -n "$compiler"; then
 lt_prog_compiler_no_builtin_flag=
 
 if test "$GCC" = yes; then
-  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
+  case $cc_basename in
+  nvcc*)
+    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+  *)
+    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+  esac
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_rtti_exceptions=no
@@ -8492,15 +9093,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8495: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8499: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_rtti_exceptions=yes
@@ -8529,8 +9130,6 @@ fi
 lt_prog_compiler_pic=
 lt_prog_compiler_static=
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
   if test "$GCC" = yes; then
     lt_prog_compiler_wl='-Wl,'
@@ -8578,6 +9177,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-fno-common'
       ;;
 
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      lt_prog_compiler_static=
+      ;;
+
     hpux*)
       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
@@ -8620,6 +9225,15 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-fPIC'
       ;;
     esac
+
+    case $cc_basename in
+    nvcc*) # Cuda Compiler Driver 2.2
+      lt_prog_compiler_wl='-Xlinker '
+      if test -n "$lt_prog_compiler_pic"; then
+        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+      fi
+      ;;
+    esac
   else
     # PORTME Check for flag to pass linker flags through the system compiler.
     case $host_os in
@@ -8661,7 +9275,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_static='-non_shared'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
+    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
       case $cc_basename in
       # old Intel for x86_64 which still supported -KPIC.
       ecc*)
@@ -8682,7 +9296,13 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
-      pgcc* | pgf77* | pgf90* | pgf95*)
+      nagfor*)
+       # NAG Fortran compiler
+       lt_prog_compiler_wl='-Wl,-Wl,,'
+       lt_prog_compiler_pic='-PIC'
+       lt_prog_compiler_static='-Bstatic'
+       ;;
+      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
        lt_prog_compiler_wl='-Wl,'
@@ -8694,25 +9314,40 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
         # All Alpha code is PIC.
         lt_prog_compiler_static='-non_shared'
         ;;
-      xl*)
-       # IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
        lt_prog_compiler_wl='-Wl,'
        lt_prog_compiler_pic='-qpic'
        lt_prog_compiler_static='-qstaticlink'
        ;;
       *)
        case `$CC -V 2>&1 | sed 5q` in
+       *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
+         lt_prog_compiler_pic='-KPIC'
+         lt_prog_compiler_static='-Bstatic'
+         lt_prog_compiler_wl=''
+         ;;
+       *Sun\ F* | *Sun*Fortran*)
+         lt_prog_compiler_pic='-KPIC'
+         lt_prog_compiler_static='-Bstatic'
+         lt_prog_compiler_wl='-Qoption ld '
+         ;;
        *Sun\ C*)
          # Sun C 5.9
          lt_prog_compiler_pic='-KPIC'
          lt_prog_compiler_static='-Bstatic'
          lt_prog_compiler_wl='-Wl,'
          ;;
-       *Sun\ F*)
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
-         lt_prog_compiler_pic='-KPIC'
+        *Intel*\ [CF]*Compiler*)
+         lt_prog_compiler_wl='-Wl,'
+         lt_prog_compiler_pic='-fPIC'
+         lt_prog_compiler_static='-static'
+         ;;
+       *Portland\ Group*)
+         lt_prog_compiler_wl='-Wl,'
+         lt_prog_compiler_pic='-fpic'
          lt_prog_compiler_static='-Bstatic'
-         lt_prog_compiler_wl=''
          ;;
        esac
        ;;
@@ -8744,7 +9379,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-KPIC'
       lt_prog_compiler_static='-Bstatic'
       case $cc_basename in
-      f77* | f90* | f95*)
+      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
        lt_prog_compiler_wl='-Qoption ld ';;
       *)
        lt_prog_compiler_wl='-Wl,';;
@@ -8801,13 +9436,17 @@ case $host_os in
     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     ;;
 esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
-$as_echo "$lt_prog_compiler_pic" >&6; }
-
-
-
-
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
 #
 # Check to make sure the PIC flag actually works.
@@ -8815,7 +9454,7 @@ $as_echo "$lt_prog_compiler_pic" >&6; }
 if test -n "$lt_prog_compiler_pic"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works=no
@@ -8831,15 +9470,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8834: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8838: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_pic_works=yes
@@ -8868,13 +9507,18 @@ fi
 
 
 
+
+
+
+
+
 #
 # Check to make sure the static flag actually works.
 #
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works=no
@@ -8887,7 +9531,7 @@ else
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&5
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          lt_cv_prog_compiler_static_works=yes
@@ -8917,7 +9561,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -8936,16 +9580,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8939: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8943: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o=yes
@@ -8972,7 +9616,7 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -8991,16 +9635,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8994: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8998: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o=yes
@@ -9066,7 +9710,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   hardcode_direct=no
   hardcode_direct_absolute=no
   hardcode_libdir_flag_spec=
-  hardcode_libdir_flag_spec_ld=
   hardcode_libdir_separator=
   hardcode_minus_L=no
   hardcode_shlibpath_var=unsupported
@@ -9110,13 +9753,39 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   openbsd*)
     with_gnu_ld=no
     ;;
-  linux* | k*bsd*-gnu)
+  linux* | k*bsd*-gnu | gnu*)
     link_all_deplibs=no
     ;;
   esac
 
   ld_shlibs=yes
+
+  # On some targets, GNU ld is compatible enough with the native linker
+  # that we're better off using the native interface for both.
+  lt_use_gnu_ld_interface=no
   if test "$with_gnu_ld" = yes; then
+    case $host_os in
+      aix*)
+       # The AIX port of GNU ld has always aspired to compatibility
+       # with the native linker.  However, as the warning in the GNU ld
+       # block says, versions before 2.19.5* couldn't really create working
+       # shared libraries, regardless of the interface used.
+       case `$LD -v 2>&1` in
+         *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+         *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+         *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+         *)
+           lt_use_gnu_ld_interface=yes
+           ;;
+       esac
+       ;;
+      *)
+       lt_use_gnu_ld_interface=yes
+       ;;
+    esac
+  fi
+
+  if test "$lt_use_gnu_ld_interface" = yes; then
     # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'
 
@@ -9150,11 +9819,12 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
        ld_shlibs=no
        cat <<_LT_EOF 1>&2
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** Warning: the GNU linker, at least up to release 2.19, is reported
 *** to be unable to reliably create shared libraries on AIX.
 *** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
 
 _LT_EOF
       fi
@@ -9190,10 +9860,12 @@ _LT_EOF
       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
       # as there is no search path for DLLs.
       hardcode_libdir_flag_spec='-L$libdir'
+      export_dynamic_flag_spec='${wl}--export-all-symbols'
       allow_undefined_flag=unsupported
       always_export_symbols=no
       enable_shared_with_static_runtimes=yes
-      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -9211,6 +9883,11 @@ _LT_EOF
       fi
       ;;
 
+    haiku*)
+      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+      link_all_deplibs=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct=no
       hardcode_shlibpath_var=no
@@ -9236,15 +9913,16 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
         && test "$tmp_diet" = no
       then
-       tmp_addflag=
+       tmp_addflag=' $pic_flag'
        tmp_sharedflag='-shared'
        case $cc_basename,$host_cpu in
         pgcc*)                         # Portland Group C compiler
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          tmp_addflag=' $pic_flag'
          ;;
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+       pgf77* | pgf90* | pgf95* | pgfortran*)
+                                       # Portland Group f77 and f90 compilers
+         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          tmp_addflag=' $pic_flag -Mnomain' ;;
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
          tmp_addflag=' -i_dynamic' ;;
@@ -9255,13 +9933,17 @@ _LT_EOF
        lf95*)                          # Lahey Fortran 8.1
          whole_archive_flag_spec=
          tmp_sharedflag='--shared' ;;
-       xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
+       xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
          tmp_sharedflag='-qmkshrobj'
          tmp_addflag= ;;
+       nvcc*)  # Cuda Compiler Driver 2.2
+         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+         compiler_needs_object=yes
+         ;;
        esac
        case `$CC -V 2>&1 | sed 5q` in
        *Sun\ C*)                       # Sun C 5.9
-         whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+         whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          compiler_needs_object=yes
          tmp_sharedflag='-G' ;;
        *Sun\ F*)                       # Sun Fortran 8.3
@@ -9277,17 +9959,16 @@ _LT_EOF
         fi
 
        case $cc_basename in
-       xlf*)
+       xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
-         hardcode_libdir_flag_spec=
-         hardcode_libdir_flag_spec_ld='-rpath $libdir'
-         archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
+         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
          if test "x$supports_anon_versioning" = xyes; then
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
              echo "local: *; };" >> $output_objdir/$libname.ver~
-             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+             $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
          fi
          ;;
        esac
@@ -9301,8 +9982,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
       else
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi
       ;;
 
@@ -9320,8 +10001,8 @@ _LT_EOF
 
 _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
        ld_shlibs=no
       fi
@@ -9367,8 +10048,8 @@ _LT_EOF
 
     *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
        ld_shlibs=no
       fi
@@ -9408,8 +10089,10 @@ _LT_EOF
       else
        # If we're using GNU nm, then we don't want the "-C" option.
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
+       # Also, AIX nm treats weak defined symbols like other global
+       # defined symbols, whereas GNU nm marks them as "W".
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        else
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        fi
@@ -9497,7 +10180,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+        if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath_+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -9510,25 +10199,32 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-       /^0/ {
-           s/^0  *\(.*\)$/\1/
-           p
-       }
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+         /^0/ {
+             s/^0  *\([^ ]*\) *$/\1/
+             p
+         }
+      }'
+  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath_
+fi
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
-        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
        if test "$host_cpu" = ia64; then
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
@@ -9537,7 +10233,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+        if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath_+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -9550,30 +10252,42 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-       /^0/ {
-           s/^0  *\(.*\)$/\1/
-           p
-       }
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+         /^0/ {
+             s/^0  *\([^ ]*\) *$/\1/
+             p
+         }
+      }'
+  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath_
+fi
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
          # -berok will link without error, but may produce a broken library.
          no_undefined_flag=' ${wl}-bernotok'
          allow_undefined_flag=' ${wl}-berok'
-         # Exported symbols can be pulled into shared objects from archives
-         whole_archive_flag_spec='$convenience'
+         if test "$with_gnu_ld" = yes; then
+           # We only use this code for GNU lds that support --whole-archive.
+           whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+         else
+           # Exported symbols can be pulled into shared objects from archives
+           whole_archive_flag_spec='$convenience'
+         fi
          archive_cmds_need_lc=yes
          # This is similar to how AIX traditionally builds its shared libraries.
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -9605,20 +10319,64 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
-      hardcode_libdir_flag_spec=' '
-      allow_undefined_flag=unsupported
-      # Tell ltmain to make .lib files, not .a files.
-      libext=lib
-      # Tell ltmain to make .dll files, not .so files.
-      shrext_cmds=".dll"
-      # FIXME: Setting linknames here is a bad hack.
-      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
-      # The linker will automatically build a .lib file if we build a DLL.
-      old_archive_from_new_cmds='true'
-      # FIXME: Should let the user specify the lib program.
-      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
-      enable_shared_with_static_runtimes=yes
+      case $cc_basename in
+      cl*)
+       # Native MSVC
+       hardcode_libdir_flag_spec=' '
+       allow_undefined_flag=unsupported
+       always_export_symbols=yes
+       file_list_spec='@'
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+       shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+           sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+         else
+           sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+         fi~
+         $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+         linknames='
+       # The linker will not automatically build a static lib if we build a DLL.
+       # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+       enable_shared_with_static_runtimes=yes
+       exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+       # Don't use ranlib
+       old_postinstall_cmds='chmod 644 $oldlib'
+       postlink_cmds='lt_outputfile="@OUTPUT@"~
+         lt_tool_outputfile="@TOOL_OUTPUT@"~
+         case $lt_outputfile in
+           *.exe|*.EXE) ;;
+           *)
+             lt_outputfile="$lt_outputfile.exe"
+             lt_tool_outputfile="$lt_tool_outputfile.exe"
+             ;;
+         esac~
+         if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+           $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+           $RM "$lt_outputfile.manifest";
+         fi'
+       ;;
+      *)
+       # Assume MSVC wrapper
+       hardcode_libdir_flag_spec=' '
+       allow_undefined_flag=unsupported
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+       shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+       # The linker will automatically build a .lib file if we build a DLL.
+       old_archive_from_new_cmds='true'
+       # FIXME: Should let the user specify the lib program.
+       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+       enable_shared_with_static_runtimes=yes
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -9628,7 +10386,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   hardcode_direct=no
   hardcode_automatic=yes
   hardcode_shlibpath_var=unsupported
-  whole_archive_flag_spec=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+  else
+    whole_archive_flag_spec=''
+  fi
   link_all_deplibs=yes
   allow_undefined_flag="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -9636,7 +10399,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -9654,10 +10417,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
-      ld_shlibs=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -9670,7 +10429,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
+    freebsd2.*)
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       hardcode_direct=yes
       hardcode_minus_L=yes
@@ -9679,7 +10438,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)
-      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
       hardcode_shlibpath_var=no
@@ -9687,7 +10446,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     hpux9*)
       if test "$GCC" = yes; then
-       archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+       archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi
@@ -9702,14 +10461,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
-       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+       archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi
       if test "$with_gnu_ld" = no; then
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
-       hardcode_libdir_flag_spec_ld='+b $libdir'
        hardcode_libdir_separator=:
        hardcode_direct=yes
        hardcode_direct_absolute=yes
@@ -9721,16 +10479,16 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        case $host_cpu in
        hppa*64*)
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
-         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        *)
-         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        esac
       else
@@ -9742,7 +10500,46 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        *)
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+
+         # Older versions of the 11.00 compiler do not understand -b yet
+         # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler__b=no
+   save_LDFLAGS="$LDFLAGS"
+   LDFLAGS="$LDFLAGS -b"
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+     # The linker can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+     if test -s conftest.err; then
+       # Append any errors to the config.log.
+       cat conftest.err 1>&5
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+       if diff conftest.exp conftest.er2 >/dev/null; then
+         lt_cv_prog_compiler__b=yes
+       fi
+     else
+       lt_cv_prog_compiler__b=yes
+     fi
+   fi
+   $RM -r conftest*
+   LDFLAGS="$save_LDFLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test x"$lt_cv_prog_compiler__b" = xyes; then
+    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
          ;;
        esac
       fi
@@ -9770,26 +10567,39 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
        # Try to use the -exported_symbol ld option, if it does not
        # work, assume that -exports_file does not work either and
        # implicitly export all symbols.
-        save_LDFLAGS="$LDFLAGS"
-        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+       # This should be the same for all languages, so no per-tag cache variable.
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  save_LDFLAGS="$LDFLAGS"
+          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-int foo(void) {}
+int foo (void) { return 0; }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-
+  lt_cv_irix_exported_symbol=yes
+else
+  lt_cv_irix_exported_symbol=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-        LDFLAGS="$save_LDFLAGS"
+           LDFLAGS="$save_LDFLAGS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+       if test "$lt_cv_irix_exported_symbol" = yes; then
+          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+       fi
       else
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
       archive_cmds_need_lc='no'
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -9851,17 +10661,17 @@ rm -f core conftest.err conftest.$ac_objext \
       hardcode_libdir_flag_spec='-L$libdir'
       hardcode_minus_L=yes
       allow_undefined_flag=unsupported
-      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       ;;
 
     osf3*)
       if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
       else
        allow_undefined_flag=' -expect_unresolved \*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       archive_cmds_need_lc='no'
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -9871,13 +10681,13 @@ rm -f core conftest.err conftest.$ac_objext \
     osf4* | osf5*)     # as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       else
        allow_undefined_flag=' -expect_unresolved \*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
        # Both c and cxx compiler support -rpath directly
        hardcode_libdir_flag_spec='-rpath $libdir'
@@ -9890,9 +10700,9 @@ rm -f core conftest.err conftest.$ac_objext \
       no_undefined_flag=' -z defs'
       if test "$GCC" = yes; then
        wlarc='${wl}'
-       archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+         $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
@@ -10080,44 +10890,50 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  $RM conftest*
+       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$lt_prog_compiler_wl
-       pic_flag=$lt_prog_compiler_pic
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$allow_undefined_flag
-        allow_undefined_flag=
-        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+         soname=conftest
+         lib=conftest
+         libobjs=conftest.$ac_objext
+         deplibs=
+         wl=$lt_prog_compiler_wl
+         pic_flag=$lt_prog_compiler_pic
+         compiler_flags=-v
+         linker_flags=-v
+         verstring=
+         output_objdir=.
+         libname=conftest
+         lt_save_allow_undefined_flag=$allow_undefined_flag
+         allow_undefined_flag=
+         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
-        then
-         archive_cmds_need_lc=no
-        else
-         archive_cmds_need_lc=yes
-        fi
-        allow_undefined_flag=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
-$as_echo "$archive_cmds_need_lc" >&6; }
+         then
+           lt_cv_archive_cmds_need_lc=no
+         else
+           lt_cv_archive_cmds_need_lc=yes
+         fi
+         allow_undefined_flag=$lt_save_allow_undefined_flag
+       else
+         cat conftest.err 1>&5
+       fi
+       $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
       ;;
     esac
   fi
@@ -10275,11 +11091,6 @@ esac
 
 
 
-
-
-
-
-
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 
@@ -10288,16 +11099,23 @@ if test "$GCC" = yes; then
     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     *) lt_awk_arg="/^libraries:/" ;;
   esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
+  case $host_os in
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
+    *) lt_sed_strip_eq="s,=/,/,g" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+  case $lt_search_path_spec in
+  *\;*)
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+    ;;
+  *)
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+    ;;
+  esac
   # Ok, now we have the path, separated by spaces, we can step through it
   # and add multilib dir if necessary.
   lt_tmp_lt_search_path_spec=
@@ -10310,7 +11128,7 @@ if test "$GCC" = yes; then
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     fi
   done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 BEGIN {RS=" "; FS="/|\n";} {
   lt_foo="";
   lt_count=0;
@@ -10330,7 +11148,13 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[lt_foo]++; }
   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 }'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
+  # AWK program above erroneously prepends '/' to C:/dos/paths
+  # for these hosts.
+  case $host_os in
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
+  esac
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 fi
@@ -10356,7 +11180,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -10365,7 +11189,7 @@ aix3*)
   ;;
 
 aix[4-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -10418,7 +11242,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -10430,7 +11254,7 @@ beos*)
   ;;
 
 bsdi[45]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -10449,8 +11273,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -10471,47 +11296,94 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+
+      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
     ;;
 
-  *)
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
-    ;;
-  esac
-  dynamic_linker='Win32 ld.exe'
-  # FIXME: first we should search . and the directory the executable is in
-  shlibpath_var=PATH
-  ;;
-
-darwin* | rhapsody*)
-  dynamic_linker="$host_os dyld"
-  version_type=darwin
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
-  soname_spec='${libname}${release}${major}$shared_ext'
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
+    ;;
+
+  *)
+    # Assume MSVC wrapper
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
+    ;;
+  esac
+  # FIXME: first we should search . and the directory the executable is in
+  shlibpath_var=PATH
+  ;;
+
+darwin* | rhapsody*)
+  dynamic_linker="$host_os dyld"
+  version_type=darwin
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+  soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
@@ -10521,7 +11393,7 @@ darwin* | rhapsody*)
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -10529,10 +11401,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -10540,7 +11408,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -10558,7 +11426,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -10577,13 +11445,16 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
+  dynamic_linker="$host_os runtime_loader"
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -10629,12 +11500,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[3-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -10650,7 +11523,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
        if test "$lt_cv_prog_gnu_ld" = yes; then
-               version_type=linux
+               version_type=linux # correct to gnu/linux during the next big refactor
        else
                version_type=irix
        fi ;;
@@ -10687,9 +11560,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10697,12 +11570,17 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
-       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -10715,13 +11593,17 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
-  shlibpath_overrides_runpath=yes
+  lt_cv_shlibpath_overrides_runpath=yes
 fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+
+fi
+
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -10730,7 +11612,7 @@ rm -f core conftest.err conftest.$ac_objext \
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -10774,7 +11656,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -10843,7 +11725,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10868,7 +11750,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -10892,7 +11774,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -10923,7 +11805,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10933,7 +11815,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
 
 
 
+
+
+
+
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 hardcode_action=
@@ -11117,7 +12004,7 @@ else
   # if libdl is installed we need to link against it
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -11151,7 +12038,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
 
 
   *)
     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = x""yes; then :
+if test "x$ac_cv_func_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
+if ${ac_cv_lib_dld_shl_load+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -11204,16 +12091,16 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 else
   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = x""yes; then :
+if test "x$ac_cv_func_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -11247,12 +12134,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
+if ${ac_cv_lib_svld_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -11286,12 +12173,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 $as_echo_n "checking for dld_link in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
+if ${ac_cv_lib_dld_dld_link+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -11325,7 +12212,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 fi
 
@@ -11366,7 +12253,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self+set}" = set; then :
+if ${lt_cv_dlopen_self+:} false; then :
   $as_echo_n "(cached) " >&6
 else
          if test "$cross_compiling" = yes; then :
@@ -11375,7 +12262,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11378 "configure"
+#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11416,7 +12303,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -11425,7 +12318,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+       }
       /* dlclose (self); */
     }
   else
@@ -11462,7 +12359,7 @@ $as_echo "$lt_cv_dlopen_self" >&6; }
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self_static+set}" = set; then :
+if ${lt_cv_dlopen_self_static+:} false; then :
   $as_echo_n "(cached) " >&6
 else
          if test "$cross_compiling" = yes; then :
@@ -11471,7 +12368,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11474 "configure"
+#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11512,7 +12409,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -11521,7 +12424,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+       }
       /* dlclose (self); */
     }
   else
@@ -11670,417 +12577,34 @@ $as_echo "$enable_static" >&6; }
 
 
 fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-CC="$lt_save_CC"
-
-
-
-
-
-
-
-
-
-
-
-
-
-        ac_config_commands="$ac_config_commands libtool"
-
-
-
-
-# Only expand once:
-
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
-  if test -n "$CCC"; then
-    CXX=$CCC
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CXX"; then
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CXX" && break
-  done
-fi
-if test -z "$CXX"; then
-  ac_ct_CXX=$CXX
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CXX"; then
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CXX="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CXX" && break
-done
-
-  if test "x$ac_ct_CXX" = x; then
-    CXX="g++"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CXX=$ac_ct_CXX
-  fi
-fi
-
-  fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GXX=yes
-else
-  GXX=
-fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
-   ac_cxx_werror_flag=yes
-   ac_cv_prog_cxx_g=no
-   CXXFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-else
-  CXXFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-
-else
-  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-        CXXFLAGS="-g"
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
-  CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
-  if test "$GXX" = yes; then
-    CXXFLAGS="-g -O2"
-  else
-    CXXFLAGS="-g"
-  fi
-else
-  if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
-  else
-    CXXFLAGS=
-  fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-depcc="$CXX"  am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named `D' -- because `-MD' means `put the output
-  # in D'.
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
-
-  am_cv_CXX_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
-  fi
-  am__universal=false
-  case " $depcc " in #(
-     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-     esac
-
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
-      # Solaris 8's {/usr,}/bin/sh.
-      touch sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle `-M -o', and we need to detect this.  Also, some Intel
-    # versions had trouble with output in subdirs
-    am__obj=sub/conftest.${OBJEXT-o}
-    am__minus_obj="-o $am__obj"
-    case $depmode in
-    gcc)
-      # This depmode causes a compiler race in universal mode.
-      test "$am__universal" = false || continue
-      ;;
-    nosideeffect)
-      # after this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested
-      if test "x$enable_dependency_tracking" = xyes; then
-       continue
-      else
-       break
-      fi
-      ;;
-    msvisualcpp | msvcmsys)
-      # This compiler won't grok `-c -o', but also, the minuso test has
-      # not run yet.  These depmodes are late enough in the game, and
-      # so weak that their functioning should not be impacted.
-      am__obj=conftest.${OBJEXT-o}
-      am__minus_obj=
-      ;;
-    none) break ;;
-    esac
-    if depmode=$depmode \
-       source=sub/conftest.c object=$am__obj \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # or remarks (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored or not supported.
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
-      #   icc: Command line warning: ignoring option '-M'; no argument required
-      # The diagnosis changed in icc 8.0:
-      #   icc: Command line remark: option '-MP' not supported
-      if (grep 'ignoring option' conftest.err ||
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
-        am_cv_CXX_dependencies_compiler_type=$depmode
-        break
-      fi
-    fi
-  done
-
-  cd ..
-  rm -rf conftest.dir
-else
-  am_cv_CXX_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
-
- if
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
-  am__fastdepCXX_TRUE=
-  am__fastdepCXX_FALSE='#'
-else
-  am__fastdepCXX_TRUE='#'
-  am__fastdepCXX_FALSE=
-fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+        ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
 
 
 
@@ -12100,7 +12624,7 @@ if test -z "$CXX"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
+if ${ac_cv_prog_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CXX"; then
@@ -12112,7 +12636,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -12144,7 +12668,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CXX"; then
@@ -12156,7 +12680,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CXX="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -12222,7 +12746,7 @@ done
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12259,7 +12783,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set}
 ac_save_CXXFLAGS=$CXXFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
+if ${ac_cv_prog_cxx_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -12345,7 +12869,7 @@ depcc="$CXX"  am_compiler_list=
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 $as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -12354,6 +12878,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -12413,7 +12938,7 @@ else
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -12468,7 +12993,17 @@ else
 fi
 
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+
+
+func_stripname_cnf ()
+{
+  case ${2} in
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+  esac
+} # func_stripname_cnf
+
+      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     (test "X$CXX" != "Xg++"))) ; then
   ac_ext=cpp
@@ -12479,7 +13014,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 if test -z "$CXXCPP"; then
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
+  if ${ac_cv_prog_CXXCPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CXXCPP needs to be expanded
@@ -12509,7 +13044,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -12525,11 +13060,11 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
   break
 fi
@@ -12568,7 +13103,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -12584,17 +13119,18 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
 
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-_lt_caught_CXX_error=yes; }
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -12607,9 +13143,6 @@ else
   _lt_caught_CXX_error=yes
 fi
 
-
-
-
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -12625,7 +13158,6 @@ export_dynamic_flag_spec_CXX=
 hardcode_direct_CXX=no
 hardcode_direct_absolute_CXX=no
 hardcode_libdir_flag_spec_CXX=
-hardcode_libdir_flag_spec_ld_CXX=
 hardcode_libdir_separator_CXX=
 hardcode_minus_L_CXX=no
 hardcode_shlibpath_var_CXX=unsupported
@@ -12635,6 +13167,8 @@ module_cmds_CXX=
 module_expsym_cmds_CXX=
 link_all_deplibs_CXX=unknown
 old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
 no_undefined_flag_CXX=
 whole_archive_flag_spec_CXX=
 enable_shared_with_static_runtimes_CXX=no
@@ -12690,6 +13224,7 @@ $RM -r conftest*
 
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
+  lt_save_CFLAGS=$CFLAGS
   lt_save_LD=$LD
   lt_save_GCC=$GCC
   GCC=$GXX
@@ -12707,6 +13242,7 @@ $RM -r conftest*
   fi
   test -z "${LDCXX+set}" || LD=$LDCXX
   CC=${CXX-"c++"}
+  CFLAGS=$CXXFLAGS
   compiler=$CC
   compiler_CXX=$CC
   for cc_temp in $compiler""; do
@@ -12717,7 +13253,7 @@ $RM -r conftest*
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
   if test -n "$compiler"; then
@@ -12780,7 +13316,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -12817,10 +13353,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -12846,8 +13382,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test "$with_gnu_ld" = yes; then
-        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -12879,7 +13415,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
     else
       GXX=no
@@ -12989,7 +13525,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
           allow_undefined_flag_CXX='-berok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
-          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+          if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath__CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -13002,26 +13544,33 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-       /^0/ {
-           s/^0  *\(.*\)$/\1/
-           p
-       }
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+         /^0/ {
+             s/^0  *\([^ ]*\) *$/\1/
+             p
+         }
+      }'
+  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath__CXX
+fi
 
           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
@@ -13030,7 +13579,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           else
            # Determine the default libpath from the value encoded in an
            # empty executable.
-           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+           if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath__CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -13043,30 +13598,42 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-       /^0/ {
-           s/^0  *\(.*\)$/\1/
-           p
-       }
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+         /^0/ {
+             s/^0  *\([^ ]*\) *$/\1/
+             p
+         }
+      }'
+  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath__CXX
+fi
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
            # -berok will link without error, but may produce a broken library.
            no_undefined_flag_CXX=' ${wl}-bernotok'
            allow_undefined_flag_CXX=' ${wl}-berok'
-           # Exported symbols can be pulled into shared objects from archives
-           whole_archive_flag_spec_CXX='$convenience'
+           if test "$with_gnu_ld" = yes; then
+             # We only use this code for GNU lds that support --whole-archive.
+             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+           else
+             # Exported symbols can be pulled into shared objects from archives
+             whole_archive_flag_spec_CXX='$convenience'
+           fi
            archive_cmds_need_lc_CXX=yes
            # This is similar to how AIX traditionally builds its shared
            # libraries.
@@ -13096,28 +13663,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         ;;
 
       cygwin* | mingw* | pw32* | cegcc*)
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
-        # as there is no search path for DLLs.
-        hardcode_libdir_flag_spec_CXX='-L$libdir'
-        allow_undefined_flag_CXX=unsupported
-        always_export_symbols_CXX=no
-        enable_shared_with_static_runtimes_CXX=yes
-
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-          # If the export-symbols file already is a .def file (1st line
-          # is EXPORTS), use it as is; otherwise, prepend...
-          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-           cp $export_symbols $output_objdir/$soname.def;
-          else
-           echo EXPORTS > $output_objdir/$soname.def;
-           cat $export_symbols >> $output_objdir/$soname.def;
-          fi~
-          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-        else
-          ld_shlibs_CXX=no
-        fi
-        ;;
+       case $GXX,$cc_basename in
+       ,cl* | no,cl*)
+         # Native MSVC
+         # hardcode_libdir_flag_spec is actually meaningless, as there is
+         # no search path for DLLs.
+         hardcode_libdir_flag_spec_CXX=' '
+         allow_undefined_flag_CXX=unsupported
+         always_export_symbols_CXX=yes
+         file_list_spec_CXX='@'
+         # Tell ltmain to make .lib files, not .a files.
+         libext=lib
+         # Tell ltmain to make .dll files, not .so files.
+         shrext_cmds=".dll"
+         # FIXME: Setting linknames here is a bad hack.
+         archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+         archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+             $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+           else
+             $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+           fi~
+           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+           linknames='
+         # The linker will not automatically build a static lib if we build a DLL.
+         # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+         enable_shared_with_static_runtimes_CXX=yes
+         # Don't use ranlib
+         old_postinstall_cmds_CXX='chmod 644 $oldlib'
+         postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+           lt_tool_outputfile="@TOOL_OUTPUT@"~
+           case $lt_outputfile in
+             *.exe|*.EXE) ;;
+             *)
+               lt_outputfile="$lt_outputfile.exe"
+               lt_tool_outputfile="$lt_tool_outputfile.exe"
+               ;;
+           esac~
+           func_to_tool_file "$lt_outputfile"~
+           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+             $RM "$lt_outputfile.manifest";
+           fi'
+         ;;
+       *)
+         # g++
+         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+         # as there is no search path for DLLs.
+         hardcode_libdir_flag_spec_CXX='-L$libdir'
+         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
+         allow_undefined_flag_CXX=unsupported
+         always_export_symbols_CXX=no
+         enable_shared_with_static_runtimes_CXX=yes
+
+         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+           # If the export-symbols file already is a .def file (1st line
+           # is EXPORTS), use it as is; otherwise, prepend...
+           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+             cp $export_symbols $output_objdir/$soname.def;
+           else
+             echo EXPORTS > $output_objdir/$soname.def;
+             cat $export_symbols >> $output_objdir/$soname.def;
+           fi~
+           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+         else
+           ld_shlibs_CXX=no
+         fi
+         ;;
+       esac
+       ;;
       darwin* | rhapsody*)
 
 
@@ -13125,7 +13739,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   hardcode_direct_CXX=no
   hardcode_automatic_CXX=yes
   hardcode_shlibpath_var_CXX=unsupported
-  whole_archive_flag_spec_CXX=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+  else
+    whole_archive_flag_spec_CXX=''
+  fi
   link_all_deplibs_CXX=yes
   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -13133,7 +13752,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -13167,7 +13786,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         esac
         ;;
 
-      freebsd[12]*)
+      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before
        # switch to ELF
         ld_shlibs_CXX=no
@@ -13183,7 +13802,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         ld_shlibs_CXX=yes
         ;;
 
-      gnu*)
+      haiku*)
+        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        link_all_deplibs_CXX=yes
         ;;
 
       hpux9*)
@@ -13210,11 +13831,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
-              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               ld_shlibs_CXX=no
@@ -13275,7 +13896,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
            ;;
           *)
            if test "$GXX" = yes; then
@@ -13285,10 +13906,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
-                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+                   archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  *)
-                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+                   archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                esac
              fi
@@ -13318,7 +13939,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         case $cc_basename in
           CC*)
            # SGI C++
-           archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+           archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
            # Archives containing C++ object files must be created using
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -13329,9 +13950,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
-               archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+               archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
              else
-               archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
+               archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
              fi
            fi
            link_all_deplibs_CXX=yes
@@ -13342,7 +13963,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         inherit_rpath_CXX=yes
         ;;
 
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in
           KCC*)
            # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -13360,7 +13981,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -13397,26 +14018,26 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           pgCC* | pgcpp*)
             # Portland Group C++ compiler
            case `$CC -V` in
-           *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
+           *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
              prelink_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
+               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
              old_archive_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                $RANLIB $oldlib'
              archive_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              archive_expsym_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
-           *) # Version 6 will use weak symbols
+           *) # Version 6 and above use weak symbols
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
@@ -13424,7 +14045,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
-           whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+           whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
             ;;
          cxx*)
            # Compaq C++
@@ -13443,9 +14064,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
            ;;
-         xl*)
+         xl* | mpixl* | bgxl*)
            # IBM XL 8.0 on PPC, with GNU ld
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -13465,13 +14086,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
              hardcode_libdir_flag_spec_CXX='-R$libdir'
-             whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+             whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
              compiler_needs_object_CXX=yes
 
              # Not sure whether something based on
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
              # would be better.
-             output_verbose_link_cmd='echo'
+             output_verbose_link_cmd='func_echo_all'
 
              # Archives containing C++ object files must be created using
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -13540,7 +14161,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            export_dynamic_flag_spec_CXX='${wl}-E'
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
          fi
-         output_verbose_link_cmd=echo
+         output_verbose_link_cmd=func_echo_all
        else
          ld_shlibs_CXX=no
        fi
@@ -13575,15 +14196,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            case $host in
              osf3*)
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
-               archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+               archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                ;;
              *)
                allow_undefined_flag_CXX=' -expect_unresolved \*'
-               archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+               archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                  echo "-hidden">> $lib.exp~
-                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
+                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                  $RM $lib.exp'
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                ;;
@@ -13599,17 +14220,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
            ;;
          *)
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
              case $host in
                osf3*)
-                 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+                 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
-                 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
              esac
 
@@ -13619,7 +14240,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              # Commands to make compiler produce verbose output that lists
              # what "hidden" libraries, object files and flags are used when
              # linking a shared library.
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
            else
              # FIXME: insert proper C++ library support
@@ -13655,7 +14276,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
       solaris*)
         case $cc_basename in
-          CC*)
+          CC* | sunCC*)
            # Sun C++ 4.2, 5.x and Centerline C++
             archive_cmds_need_lc_CXX=yes
            no_undefined_flag_CXX=' -zdefs'
@@ -13676,7 +14297,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            esac
            link_all_deplibs_CXX=yes
 
-           output_verbose_link_cmd='echo'
+           output_verbose_link_cmd='func_echo_all'
 
            # Archives containing C++ object files must be created using
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -13696,14 +14317,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-               archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+               archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+                 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
              else
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                # platform.
@@ -13714,7 +14335,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
              fi
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
@@ -13768,6 +14389,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           CC*)
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+           old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+             '"$old_archive_cmds_CXX"
+           reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+             '"$reload_cmds_CXX"
            ;;
          *)
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
@@ -13829,6 +14454,14 @@ private:
 };
 _LT_EOF
 
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -13842,7 +14475,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -13851,13 +14484,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           test $p = "-R"; then
         prev=$p
         continue
-       else
-        prev=
        fi
 
+       # Expand the sysroot to ease extracting the directories later.
+       if test -z "$prev"; then
+         case $p in
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+         esac
+       fi
+       case $p in
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+       esac
        if test "$pre_test_object_deps_done" = no; then
-        case $p in
-        -L* | -R*)
+        case ${prev} in
+        -L | -R)
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
@@ -13877,8 +14519,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
         fi
        fi
+       prev=
        ;;
 
+    *.lto.$objext) ;; # Ignore GCC LTO objects
     *.$objext)
        # This assumes that the test object file only shows up
        # once in the compiler output.
@@ -13914,6 +14558,7 @@ else
 fi
 
 $RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
 
 # PORTME: override above test on systems where it is broken
 case $host_os in
@@ -13949,7 +14594,7 @@ linux*)
 
 solaris*)
   case $cc_basename in
-  CC*)
+  CC* | sunCC*)
     # The more standards-conforming stlport4 library is
     # incompatible with the Cstd library. Avoid specifying
     # it if it's in CXXFLAGS. Ignore libCrun as
@@ -14014,8 +14659,6 @@ fi
 lt_prog_compiler_pic_CXX=
 lt_prog_compiler_static_CXX=
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
   # C++ specific cases for pic, static, wl, etc.
   if test "$GXX" = yes; then
@@ -14065,6 +14708,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       # DJGPP does not support shared libraries at all
       lt_prog_compiler_pic_CXX=
       ;;
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      lt_prog_compiler_static_CXX=
+      ;;
     interix[3-9]*)
       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       # Instead, we relocate shared libraries at runtime.
@@ -14114,6 +14762,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
          ;;
        esac
        ;;
+      mingw* | cygwin* | os2* | pw32* | cegcc*)
+       # This hack is so that the source file can tell whether it is being
+       # built for inclusion in a dll (and should export symbols for example).
+       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+       ;;
       dgux*)
        case $cc_basename in
          ec++*)
@@ -14170,7 +14823,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
            ;;
        esac
        ;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        case $cc_basename in
          KCC*)
            # KAI C++ Compiler
@@ -14203,8 +14856,8 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
            lt_prog_compiler_pic_CXX=
            lt_prog_compiler_static_CXX='-non_shared'
            ;;
-         xlc* | xlC*)
-           # IBM XL 8.0 on PPC
+         xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+           # IBM XL 8.0, 9.0 on PPC and BlueGene
            lt_prog_compiler_wl_CXX='-Wl,'
            lt_prog_compiler_pic_CXX='-qpic'
            lt_prog_compiler_static_CXX='-qstaticlink'
@@ -14266,7 +14919,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        ;;
       solaris*)
        case $cc_basename in
-         CC*)
+         CC* | sunCC*)
            # Sun C++ 4.2, 5.x and Centerline C++
            lt_prog_compiler_pic_CXX='-KPIC'
            lt_prog_compiler_static_CXX='-Bstatic'
@@ -14331,10 +14984,17 @@ case $host_os in
     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
     ;;
 esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
-
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
 
 #
 # Check to make sure the PIC flag actually works.
@@ -14342,7 +15002,7 @@ $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 if test -n "$lt_prog_compiler_pic_CXX"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works_CXX=no
@@ -14358,15 +15018,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14361: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14365: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_pic_works_CXX=yes
 
 
 
+
+
 #
 # Check to make sure the static flag actually works.
 #
 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works_CXX=no
@@ -14411,7 +15073,7 @@ else
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&5
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          lt_cv_prog_compiler_static_works_CXX=yes
@@ -14438,7 +15100,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -14457,16 +15119,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14460: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:14464: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_CXX=yes
@@ -14490,7 +15152,7 @@ $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -14509,16 +15171,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14512: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:14516: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_CXX=yes
 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   case $host_os in
   aix[4-9]*)
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm
+    # Also, AIX nm treats weak defined symbols like other global defined
+    # symbols, whereas GNU nm marks them as "W".
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
     export_symbols_cmds_CXX="$ltdll_cmds"
-  ;;
+    ;;
   cygwin* | mingw* | cegcc*)
-    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  linux* | k*bsd*-gnu)
+    case $cc_basename in
+    cl*)
+      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+      ;;
+    *)
+      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+      ;;
+    esac
+    ;;
+  linux* | k*bsd*-gnu | gnu*)
     link_all_deplibs_CXX=no
-  ;;
+    ;;
   *)
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
+    ;;
   esac
-  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 $as_echo "$ld_shlibs_CXX" >&6; }
@@ -14624,44 +15296,50 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  $RM conftest*
+       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$lt_prog_compiler_wl_CXX
-       pic_flag=$lt_prog_compiler_pic_CXX
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
-        allow_undefined_flag_CXX=
-        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+         soname=conftest
+         lib=conftest
+         libobjs=conftest.$ac_objext
+         deplibs=
+         wl=$lt_prog_compiler_wl_CXX
+         pic_flag=$lt_prog_compiler_pic_CXX
+         compiler_flags=-v
+         linker_flags=-v
+         verstring=
+         output_objdir=.
+         libname=conftest
+         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+         allow_undefined_flag_CXX=
+         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
-        then
-         archive_cmds_need_lc_CXX=no
-        else
-         archive_cmds_need_lc_CXX=yes
-        fi
-        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
-$as_echo "$archive_cmds_need_lc_CXX" >&6; }
+         then
+           lt_cv_archive_cmds_need_lc_CXX=no
+         else
+           lt_cv_archive_cmds_need_lc_CXX=yes
+         fi
+         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+       else
+         cat conftest.err 1>&5
+       fi
+       $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
       ;;
     esac
   fi
@@ -14729,8 +15407,6 @@ esac
 
 
 
-
-
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 
@@ -14756,7 +15432,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -14765,7 +15441,7 @@ aix3*)
   ;;
 
 aix[4-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -14818,7 +15494,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -14830,7 +15506,7 @@ beos*)
   ;;
 
 bsdi[45]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -14849,8 +15525,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -14871,36 +15548,82 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
+    ;;
+
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
     ;;
 
   *)
+    # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
     ;;
   esac
-  dynamic_linker='Win32 ld.exe'
   # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH
   ;;
@@ -14920,7 +15643,7 @@ darwin* | rhapsody*)
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -14928,10 +15651,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -14939,7 +15658,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -14957,7 +15676,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -14976,13 +15695,16 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
+  dynamic_linker="$host_os runtime_loader"
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -15028,12 +15750,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[3-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -15049,7 +15773,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
        if test "$lt_cv_prog_gnu_ld" = yes; then
-               version_type=linux
+               version_type=linux # correct to gnu/linux during the next big refactor
        else
                version_type=irix
        fi ;;
@@ -15086,9 +15810,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -15096,12 +15820,17 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
-       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -15114,13 +15843,17 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
-  shlibpath_overrides_runpath=yes
+  lt_cv_shlibpath_overrides_runpath=yes
 fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+
+fi
+
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -15129,7 +15862,7 @@ rm -f core conftest.err conftest.$ac_objext \
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -15173,7 +15906,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -15242,7 +15975,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -15267,7 +16000,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -15291,7 +16024,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -15322,7 +16055,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -15332,7 +16065,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -15393,6 +16126,8 @@ fi
 
 
 
+
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 hardcode_action_CXX=
@@ -15440,6 +16175,7 @@ fi
   fi # test -n "$compiler"
 
   CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
   LDCXX=$LD
   LD=$lt_save_LD
   GCC=$lt_save_GCC
@@ -15461,7 +16197,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat >conftest.make <<\_ACEOF
@@ -15469,7 +16205,7 @@ SHELL = /bin/sh
 all:
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -15521,7 +16257,7 @@ if test "${with_boost_libdir+set}" = set; then :
         then
                 ac_boost_lib_path="$withval"
         else
-                as_fn_error "--with-boost-libdir expected directory name" "$LINENO" 5
+                as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
         fi
 
 else
@@ -15850,7 +16586,7 @@ DEVICE_TYPE=workstation
 # Check whether --with-synthesis-src was given.
 if test "${with_synthesis_src+set}" = set; then :
   withval=$with_synthesis_src; SYNTHESISSRC="$withval"
-             test "$SYNTHESISSRC" != "yes" || as_fn_error "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
+             test "$SYNTHESISSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
 else
   SYNTHESISSRC="$SYNTHESISSRC_DEF"; REVISION="syncevolution-0.9"
 fi
@@ -15871,7 +16607,7 @@ $as_echo "#define ENABLE_SYNCML_CLIENT 1" >>confdefs.h
 case $SYNCML_ENGINES in both|server)
 $as_echo "#define ENABLE_SYNCML_SERVER 1" >>confdefs.h
 ;; esac
-case $SYNCML_ENGINES in both|server|client) true;; *) as_fn_error "Invalid value for --with-syncml-engines: $SYNCML_ENGINES" "$LINENO" 5;; esac
+case $SYNCML_ENGINES in both|server|client) true;; *) as_fn_error $? "Invalid value for --with-syncml-engines: $SYNCML_ENGINES" "$LINENO" 5;; esac
 
 
 # Check whether --with-synthesis-username was given.
@@ -15962,8 +16698,7 @@ for ac_header in signal.h dlfcn.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -15978,7 +16713,7 @@ done
 set dummy cppunit-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
+if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $CPPUNIT_CONFIG in
@@ -15992,7 +16727,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16016,7 +16751,7 @@ fi
 
 
 
-test "x$CPPUNIT_CONFIG" != 'xno' || as_fn_error "\"cppunit-config not found.\"" "$LINENO" 5
+test "x$CPPUNIT_CONFIG" != 'xno' || as_fn_error $? "\"cppunit-config not found.\"" "$LINENO" 5
 
 # cppunit needed?
 #if test "x$enable_unit_tests" = 'xyes' || test "x$enable_integration_tests" = 'xyes'
 
 
 
+
+
+
+
+
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
        if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $PKG_CONFIG in
@@ -16099,7 +16839,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16128,7 +16868,7 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then
 set dummy pkg-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $ac_pt_PKG_CONFIG in
@@ -16142,7 +16882,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16191,53 +16931,52 @@ $as_echo "yes" >&6; }
 $as_echo "no" >&6; }
                PKG_CONFIG=""
        fi
-
 fi
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
 $as_echo_n "checking for LIBSOUP... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_CFLAGS"; then
-        pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_CFLAGS"; then
+    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_LIBS"; then
-        pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_LIBS"; then
+    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -16245,60 +16984,58 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
         else
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBSOUP_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
 $as_echo_n "checking for LIBSOUP... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_CFLAGS"; then
-        pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_CFLAGS"; then
+    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_LIBS"; then
-        pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_LIBS"; then
+    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -16306,17 +17043,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
         else
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBSOUP_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_libsoup="no"
+       have_libsoup="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_libsoup="no"
 else
        LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
@@ -16326,51 +17063,53 @@ $as_echo "yes" >&6; }
        have_libsoup="yes"
 fi
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
 $as_echo_n "checking for LIBSOUP... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_CFLAGS"; then
-        pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_CFLAGS"; then
+    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBSOUP_LIBS"; then
-        pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBSOUP_LIBS"; then
+    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
-fi
+ else
+    pkg_failed=untried
+fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -16378,17 +17117,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
         else
-               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
+               LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBSOUP_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_libsoup="no"
+       have_libsoup="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_libsoup="no"
 else
        LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
@@ -16413,46 +17152,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENOBEX" >&5
 $as_echo_n "checking for LIBOPENOBEX... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBOPENOBEX_CFLAGS"; then
-        pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBOPENOBEX_CFLAGS"; then
+    pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
   ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBOPENOBEX_CFLAGS=`$PKG_CONFIG --cflags "openobex" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBOPENOBEX_LIBS"; then
-        pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBOPENOBEX_LIBS"; then
+    pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
   ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBOPENOBEX_LIBS=`$PKG_CONFIG --libs "openobex" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -16460,17 +17199,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openobex"`
+               LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openobex" 2>&1`
         else
-               LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openobex"`
+               LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openobex" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBOPENOBEX_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_obex="no"
+       have_obex="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_obex="no"
 else
        LIBOPENOBEX_CFLAGS=$pkg_cv_LIBOPENOBEX_CFLAGS
@@ -16486,46 +17225,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
 $as_echo_n "checking for BLUEZ... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$BLUEZ_CFLAGS"; then
-        pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$BLUEZ_CFLAGS"; then
+    pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
   ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$BLUEZ_LIBS"; then
-        pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$BLUEZ_LIBS"; then
+    pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
   ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -16533,17 +17272,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "bluez"`
+               BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez" 2>&1`
         else
-               BLUEZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "bluez"`
+               BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$BLUEZ_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_bluez="no"
+       have_bluez="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_bluez="no"
 else
        BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
@@ -16583,7 +17322,7 @@ fi
 # Check whether --enable-libcurl was given.
 if test "${enable_libcurl+set}" = set; then :
   enableval=$enable_libcurl;  if test "$enableval" = "yes"; then
-                   test "$have_libcurl" = "yes" || as_fn_error "libcurl not found" "$LINENO" 5
+                   test "$have_libcurl" = "yes" || as_fn_error $? "libcurl not found" "$LINENO" 5
                    TRANSPORT="$TRANSPORT libcurl"
                    TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
                    TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
@@ -16608,7 +17347,7 @@ fi
 # Check whether --enable-libsoup was given.
 if test "${enable_libsoup+set}" = set; then :
   enableval=$enable_libsoup;  if test "$enableval" = "yes"; then
-                   test "$have_libsoup" = "yes" || as_fn_error "libsoup not found" "$LINENO" 5
+                   test "$have_libsoup" = "yes" || as_fn_error $? "libsoup not found" "$LINENO" 5
                    TRANSPORT="$TRANSPORT libsoup"
                    TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
                    TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
@@ -16648,7 +17387,7 @@ fi
 
 if test "$enable_bluetooth" = "yes"; then
    # currently we need Bluetooth and OBEX support
-   test "$have_bluetooth" = "yes" || as_fn_error "openobex or bluez not found" "$LINENO" 5
+   test "$have_bluetooth" = "yes" || as_fn_error $? "openobex or bluez not found" "$LINENO" 5
 
    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -16741,7 +17480,7 @@ if test ! "$TRANSPORT" &&
    test "$libcurl_disabled" != "yes" &&
    test "$bluetooth_disabled" != "yes" &&
    test "$have_bluetooth" != "yes" ; then
-   as_fn_error "no transport library found, configure with --disable-libcurl --disable-libsoup --disable-bluetooth to continue anyway (only useful if users of libsyncevolution provide transport implementation)" "$LINENO" 5
+   as_fn_error $? "no transport library found, configure with --disable-libcurl --disable-libsoup --disable-bluetooth to continue anyway (only useful if users of libsyncevolution provide transport implementation)" "$LINENO" 5
 fi
 
 # for libsoup we must specify the SSL certificate file outself
@@ -16776,7 +17515,7 @@ fi
 set dummy xsltproc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XSLT+set}" = set; then :
+if ${ac_cv_path_XSLT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XSLT in
@@ -16790,7 +17529,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XSLT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16823,7 +17562,7 @@ if test "${enable_gtk+set}" = set; then :
                 elif test "$enableval" = "2" ; then
                     gtk_version=gtk+-2.0
                 else
-                    as_fn_error "Unknown gtk version: '$enableval'" "$LINENO" 5
+                    as_fn_error $? "Unknown gtk version: '$enableval'" "$LINENO" 5
                 fi
 
 else
@@ -16863,7 +17602,7 @@ if test "${enable_gui+set}" = set; then :
                 elif test "$enableval" = "all" ; then
                     enable_gui=all
                 else
-                    as_fn_error "Unknown gui type: '$enableval'" "$LINENO" 5
+                    as_fn_error $? "Unknown gui type: '$enableval'" "$LINENO" 5
                 fi
 
 else
@@ -16958,46 +17697,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
 $as_echo_n "checking for DBUS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_CFLAGS"; then
-        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_CFLAGS"; then
+    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_LIBS"; then
-        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_LIBS"; then
+    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -17005,14 +17744,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.26"`
+               DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
         else
-               DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.26"`
+               DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$DBUS_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (gio-2.0 >= 2.26) were not met:
+       as_fn_error $? "Package requirements (gio-2.0 >= 2.26) were not met:
 
 $DBUS_PKG_ERRORS
 
@@ -17021,12 +17760,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables DBUS_CFLAGS
 and DBUS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -17035,13 +17775,13 @@ and DBUS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 $as_echo "#define WITH_GIO_GDBUS /**/" >>confdefs.h
@@ -17052,46 +17792,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
 $as_echo_n "checking for DBUS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_CFLAGS"; then
-        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_CFLAGS"; then
+    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_LIBS"; then
-        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_LIBS"; then
+    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -17099,18 +17839,18 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"`
+               DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
         else
-               DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"`
+               DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$DBUS_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                as_fn_error "libdbus-1 is required" "$LINENO" 5
+       as_fn_error $? "libdbus-1 is required" "$LINENO" 5
 elif test $pkg_failed = untried; then
-       as_fn_error "libdbus-1 is required" "$LINENO" 5
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       as_fn_error $? "libdbus-1 is required" "$LINENO" 5
 else
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
@@ -17120,7 +17860,7 @@ $as_echo "yes" >&6; }
 fi
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
 $as_echo_n "checking for dbus_watch_get_unix_fd in -ldbus-1... " >&6; }
-if test "${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+set}" = set; then :
+if ${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17154,7 +17894,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
 $as_echo "$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
-if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = x""yes; then :
+if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = xyes; then :
   dummy=yes
 else
 
@@ -17166,7 +17906,7 @@ fi
 
 if test $enable_dbus_service = "yes"; then
     if test -z "$XSLT"; then
-       as_fn_error "xsltproc not found, is required for D-Bus service" "$LINENO" 5
+       as_fn_error $? "xsltproc not found, is required for D-Bus service" "$LINENO" 5
     fi
     # Recent libnotify releases work with gtk+-2.0 and gtk+-3.0.
     # Check whether --enable-notify was given.
@@ -17191,46 +17931,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
 $as_echo_n "checking for LIBNOTIFY... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBNOTIFY_CFLAGS"; then
-        pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBNOTIFY_CFLAGS"; then
+    pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify $gtk_version" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBNOTIFY_LIBS"; then
-        pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBNOTIFY_LIBS"; then
+    pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify $gtk_version" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -17238,14 +17978,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify $gtk_version"`
+               LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
         else
-               LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify $gtk_version"`
+               LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBNOTIFY_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libnotify $gtk_version) were not met:
+       as_fn_error $? "Package requirements (libnotify $gtk_version) were not met:
 
 $LIBNOTIFY_PKG_ERRORS
 
@@ -17254,12 +17994,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -17268,13 +18009,13 @@ and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
        LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 $as_echo "#define HAS_NOTIFY 1" >>confdefs.h
@@ -17303,46 +18044,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MLITE" >&5
 $as_echo_n "checking for MLITE... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MLITE_CFLAGS"; then
-        pkg_cv_MLITE_CFLAGS="$MLITE_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MLITE_CFLAGS"; then
+    pkg_cv_MLITE_CFLAGS="$MLITE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
   ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MLITE_CFLAGS=`$PKG_CONFIG --cflags "mlite QtGui" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MLITE_LIBS"; then
-        pkg_cv_MLITE_LIBS="$MLITE_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MLITE_LIBS"; then
+    pkg_cv_MLITE_LIBS="$MLITE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
   ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MLITE_LIBS=`$PKG_CONFIG --libs "mlite QtGui" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -17350,17 +18091,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               MLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mlite QtGui"`
+               MLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mlite QtGui" 2>&1`
         else
-               MLITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mlite QtGui"`
+               MLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mlite QtGui" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$MLITE_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                HAVE_MLITE=no
+       HAVE_MLITE=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        HAVE_MLITE=no
 else
        MLITE_CFLAGS=$pkg_cv_MLITE_CFLAGS
@@ -17372,7 +18113,7 @@ fi
     # Check whether --enable-mlite was given.
 if test "${enable_mlite+set}" = set; then :
   enableval=$enable_mlite;  enable_mlite="$enableval"
-                    test "$enableval" = "no" || test $HAVE_MLITE = "yes" || as_fn_error "required mlite package not found" "$LINENO" 5
+                    test "$enableval" = "no" || test $HAVE_MLITE = "yes" || as_fn_error $? "required mlite package not found" "$LINENO" 5
 else
    enable_mlite="no"
 fi
                     enable_dbus_pim=boost
                 fi
                 if ! test -r "$srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp"; then
-                    as_fn_error "invalid value '$enable_dbus_pim' for --enable-dbus-service-pim, $srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp does not exist or is not readable" "$LINENO" 5
+                    as_fn_error $? "invalid value '$enable_dbus_pim' for --enable-dbus-service-pim, $srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp does not exist or is not readable" "$LINENO" 5
                 fi
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FOLKS" >&5
 $as_echo_n "checking for FOLKS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$FOLKS_CFLAGS"; then
-        pkg_cv_FOLKS_CFLAGS="$FOLKS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$FOLKS_CFLAGS"; then
+    pkg_cv_FOLKS_CFLAGS="$FOLKS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
   ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_FOLKS_CFLAGS=`$PKG_CONFIG --cflags "folks folks-eds" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$FOLKS_LIBS"; then
-        pkg_cv_FOLKS_LIBS="$FOLKS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$FOLKS_LIBS"; then
+    pkg_cv_FOLKS_LIBS="$FOLKS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
   ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_FOLKS_LIBS=`$PKG_CONFIG --libs "folks folks-eds" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -17458,14 +18199,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               FOLKS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "folks folks-eds"`
+               FOLKS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "folks folks-eds" 2>&1`
         else
-               FOLKS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "folks folks-eds"`
+               FOLKS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "folks folks-eds" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$FOLKS_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (folks folks-eds) were not met:
+       as_fn_error $? "Package requirements (folks folks-eds) were not met:
 
 $FOLKS_PKG_ERRORS
 
@@ -17474,12 +18215,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables FOLKS_CFLAGS
 and FOLKS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -17488,13 +18230,13 @@ and FOLKS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        FOLKS_CFLAGS=$pkg_cv_FOLKS_CFLAGS
        FOLKS_LIBS=$pkg_cv_FOLKS_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 $as_echo "#define ENABLE_DBUS_PIM 1" >>confdefs.h
@@ -17538,7 +18280,7 @@ fi
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Locale library is available" >&5
 $as_echo_n "checking whether the Boost::Locale library is available... " >&6; }
-if test "${ax_cv_boost_locale+set}" = set; then :
+if ${ax_cv_boost_locale+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_ext=cpp
@@ -17593,7 +18335,7 @@ $as_echo "#define HAVE_BOOST_LOCALE /**/" >>confdefs.h
                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17628,8 +18370,7 @@ fi
 eval ac_res=\$$as_ac_Lib
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-eval as_val=\$$as_ac_Lib
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
   BOOST_LOCALE_LIB="-l$ax_lib";  link_locale="yes"; break
 else
   link_locale="no"
@@ -17642,7 +18383,7 @@ fi
                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17677,8 +18418,7 @@ fi
 eval ac_res=\$$as_ac_Lib
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-eval as_val=\$$as_ac_Lib
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
   BOOST_LOCALE_LIB="-l$ax_lib";  link_locale="yes"; break
 else
   link_locale="no"
@@ -17692,7 +18432,7 @@ fi
                                      as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17727,8 +18467,7 @@ fi
 eval ac_res=\$$as_ac_Lib
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-eval as_val=\$$as_ac_Lib
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
   BOOST_LOCALE_LIB="-l$ax_lib";  link_locale="yes"; break
 else
   link_locale="no"
 
             fi
             if test "x$ax_lib" = "x"; then
-                as_fn_error "Could not find a version of the library!" "$LINENO" 5
+                as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
             fi
                        if test "x$link_locale" = "xno"; then
-                               as_fn_error "Could not link against $ax_lib !" "$LINENO" 5
+                               as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
                        fi
                fi
 
                         # to go to the start of the link line).
                         DBUS_PIM_PLUGIN_LIBS='$(BOOST_LDFLAGS) $(BOOST_LOCALE_LIB)'
                         DBUS_PIM_PLUGIN_LDFLAGS=
+                        # We need to call ICU directly for the Han->Latin transformation.
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
+$as_echo_n "checking for ICU... " >&6; }
+
+if test -n "$ICU_CFLAGS"; then
+    pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$ICU_LIBS"; then
+    pkg_cv_ICU_LIBS="$ICU_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-uc" 2>&1`
+        else
+               ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-uc" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$ICU_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (icu-uc) were not met:
+
+$ICU_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables ICU_CFLAGS
+and ICU_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables ICU_CFLAGS
+and ICU_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+       ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
+       ICU_LIBS=$pkg_cv_ICU_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
                         ;;
                 esac
 
@@ -17777,7 +18608,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 for ac_header in phonenumbers/phonenumberutil.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "phonenumbers/phonenumberutil.h" "ac_cv_header_phonenumbers_phonenumberutil_h" "$ac_includes_default"
-if test "x$ac_cv_header_phonenumbers_phonenumberutil_h" = x""yes; then :
+if test "x$ac_cv_header_phonenumbers_phonenumberutil_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_PHONENUMBERS_PHONENUMBERUTIL_H 1
 _ACEOF
@@ -17805,7 +18636,7 @@ _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
   true
 else
-  as_fn_error "libphonebook not found, set PHONENUMBERS_CFLAGS and PHONENUMBERS_LIBS." "$LINENO" 5
+  as_fn_error $? "libphonebook not found, set PHONENUMBERS_CFLAGS and PHONENUMBERS_LIBS." "$LINENO" 5
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
@@ -17868,31 +18699,29 @@ $as_echo "$USE_NLS" >&6; }
 
 case "$am__api_version" in
     1.01234)
-       as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
+       as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
     ;;
     *)
     ;;
 esac
 
+INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
+INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 if test -n "0.37.1"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.37.1" >&5
 $as_echo_n "checking for intltool >= 0.37.1... " >&6; }
-
-    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
-    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
-    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
-
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
-       as_fn_error "Your intltool is too old.  You need intltool 0.37.1 or later." "$LINENO" 5
+       as_fn_error $? "Your intltool is too old.  You need intltool 0.37.1 or later." "$LINENO" 5
 fi
 
 # Extract the first word of "intltool-update", so it can be a program name with args.
 set dummy intltool-update; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
+if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $INTLTOOL_UPDATE in
@@ -17906,7 +18735,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -17932,7 +18761,7 @@ fi
 set dummy intltool-merge; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
+if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $INTLTOOL_MERGE in
@@ -17946,7 +18775,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -17972,7 +18801,7 @@ fi
 set dummy intltool-extract; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
+if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $INTLTOOL_EXTRACT in
@@ -17986,7 +18815,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
-    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
+    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
+fi
+
+if test -z "$AM_DEFAULT_VERBOSITY"; then
+  AM_DEFAULT_VERBOSITY=1
 fi
 
-  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
-     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
-      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
-   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+
+INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
+INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
+INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
+
+
+
+
+INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
+intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
+intltool__v_merge_options_0='-q'
+
+
+
+
+  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
+     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
+else
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
+fi
+      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
 
 
@@ -18133,7 +18985,7 @@ INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcar
 set dummy xgettext; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XGETTEXT+set}" = set; then :
+if ${ac_cv_path_XGETTEXT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XGETTEXT in
@@ -18147,7 +18999,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -18173,7 +19025,7 @@ fi
 set dummy msgmerge; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MSGMERGE+set}" = set; then :
+if ${ac_cv_path_MSGMERGE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MSGMERGE in
@@ -18187,7 +19039,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -18213,7 +19065,7 @@ fi
 set dummy msgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MSGFMT+set}" = set; then :
+if ${ac_cv_path_MSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MSGFMT in
@@ -18227,7 +19079,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -18253,7 +19105,7 @@ fi
 set dummy gmsgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GMSGFMT+set}" = set; then :
+if ${ac_cv_path_GMSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GMSGFMT in
@@ -18267,7 +19119,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
-    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
+    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 fi
 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
-    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
+    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 fi
 
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
+if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $INTLTOOL_PERL in
@@ -18318,7 +19170,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
 if test -z "$INTLTOOL_PERL"; then
-   as_fn_error "perl not found" "$LINENO" 5
+   as_fn_error $? "perl not found" "$LINENO" 5
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 if test $? -ne 0; then
-   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
+   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 else
-   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
+   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 $as_echo "$IT_PERL_VERSION" >&6; }
 fi
@@ -18360,7 +19212,7 @@ $as_echo_n "checking for XML::Parser... " >&6; }
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 $as_echo "ok" >&6; }
    else
-       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
+       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
    fi
 fi
 
@@ -18388,7 +19240,7 @@ else
   case $host in
     *-*-solaris*)
                         ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
   DATADIRNAME=share
 else
   DATADIRNAME=lib
@@ -18418,7 +19270,7 @@ _ACEOF
    for ac_header in locale.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
-if test "x$ac_cv_header_locale_h" = x""yes; then :
+if test "x$ac_cv_header_locale_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOCALE_H 1
 _ACEOF
@@ -18430,7 +19282,7 @@ done
     if test $ac_cv_header_locale_h = yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 $as_echo_n "checking for LC_MESSAGES... " >&6; }
-if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
+if ${am_cv_val_LC_MESSAGES+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18470,7 +19322,7 @@ $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
     INTLLIBS=
 
     ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
-if test "x$ac_cv_header_libintl_h" = x""yes; then :
+if test "x$ac_cv_header_libintl_h" = xyes; then :
   gt_cv_func_dgettext_libintl="no"
       libintl_extra_libs=""
 
@@ -18479,7 +19331,7 @@ if test "x$ac_cv_header_libintl_h" = x""yes; then :
       #
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 $as_echo_n "checking for ngettext in libc... " >&6; }
-if test "${gt_cv_func_ngettext_libc+set}" = set; then :
+if ${gt_cv_func_ngettext_libc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18510,7 +19362,7 @@ $as_echo "$gt_cv_func_ngettext_libc" >&6; }
       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 $as_echo_n "checking for dgettext in libc... " >&6; }
-if test "${gt_cv_func_dgettext_libc+set}" = set; then :
+if ${gt_cv_func_dgettext_libc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18543,7 +19395,7 @@ $as_echo "$gt_cv_func_dgettext_libc" >&6; }
         for ac_func in bind_textdomain_codeset
 do :
   ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
 _ACEOF
@@ -18562,7 +19414,7 @@ done
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
-if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
+if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18596,10 +19448,10 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
-if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
+if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 $as_echo_n "checking for ngettext in -lintl... " >&6; }
-if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
+if ${ac_cv_lib_intl_ngettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18633,10 +19485,10 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
-if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
+if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 $as_echo_n "checking for dgettext in -lintl... " >&6; }
-if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
+if ${ac_cv_lib_intl_dgettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18670,7 +19522,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
-if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
+if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
   gt_cv_func_dgettext_libintl=yes
 fi
 
@@ -18686,7 +19538,7 @@ $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 $as_echo "" >&6; }
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 $as_echo_n "checking for ngettext in -lintl... " >&6; }
-if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
+if ${ac_cv_lib_intl_ngettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18720,10 +19572,10 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
-if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
+if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
-if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
+if ${ac_cv_lib_intl_dcgettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18757,7 +19609,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
-if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
+if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
   gt_cv_func_dgettext_libintl=yes
                        libintl_extra_libs=-liconv
 else
@@ -18782,7 +19634,7 @@ fi
           for ac_func in bind_textdomain_codeset
 do :
   ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
 _ACEOF
@@ -18820,7 +19672,7 @@ $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 set dummy msgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MSGFMT+set}" = set; then :
+if ${ac_cv_path_MSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case "$MSGFMT" in
@@ -18857,7 +19709,7 @@ fi
          for ac_func in dcgettext
 do :
   ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
-if test "x$ac_cv_func_dcgettext" = x""yes; then :
+if test "x$ac_cv_func_dcgettext" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DCGETTEXT 1
 _ACEOF
@@ -18898,7 +19750,7 @@ fi
 set dummy gmsgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GMSGFMT+set}" = set; then :
+if ${ac_cv_path_GMSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GMSGFMT in
@@ -18912,7 +19764,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -18939,7 +19791,7 @@ fi
 set dummy xgettext; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XGETTEXT+set}" = set; then :
+if ${ac_cv_path_XGETTEXT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case "$XGETTEXT" in
@@ -18990,7 +19842,7 @@ else
   case $host in
            *-*-solaris*)
                                                                ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
   CATOBJEXT=.gmo
                DATADIRNAME=share
 else
@@ -18999,6 +19851,10 @@ else
 fi
 
            ;;
+           *-*-openbsd*)
+           CATOBJEXT=.mo
+            DATADIRNAME=share
+           ;;
            *)
            CATOBJEXT=.mo
             DATADIRNAME=lib
@@ -19134,7 +19990,7 @@ case $enable_gui in
      all) GUI_PROGRAMS=${gtk_dir}'/sync-ui-gtk${EXEEXT} '${gtk_dir}'/sync-ui-moblin${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync-gtk.desktop ${gtk_dir}/sync-moblin.desktop";;
      gtk|moblin) GUI_PROGRAMS=${gtk_dir}'/sync-ui${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync.desktop";;
      no) GUI_PROGRAMS=; GUI_DESKTOP_FILES=;;
-     *) as_fn_error "Unknown enable_gui type: '$enable_gui'" "$LINENO" 5
+     *) as_fn_error $? "Unknown enable_gui type: '$enable_gui'" "$LINENO" 5
 esac
 
 if test $enable_gui != "no"; then
@@ -19143,46 +19999,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
 $as_echo_n "checking for DBUS_GLIB... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_GLIB_CFLAGS"; then
-        pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_GLIB_CFLAGS"; then
+    pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
   ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 glib-2.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$DBUS_GLIB_LIBS"; then
-        pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$DBUS_GLIB_LIBS"; then
+    pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
   ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 glib-2.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19190,14 +20046,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
+               DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
         else
-               DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
+               DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$DBUS_GLIB_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (dbus-glib-1 glib-2.0) were not met:
+       as_fn_error $? "Package requirements (dbus-glib-1 glib-2.0) were not met:
 
 $DBUS_GLIB_PKG_ERRORS
 
@@ -19206,12 +20062,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -19220,19 +20077,19 @@ and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
        DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
     # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
 set dummy dbus-binding-tool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
+if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $DBUS_BINDING_TOOL in
@@ -19246,7 +20103,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -19272,7 +20129,7 @@ fi
 set dummy glib-genmarshal; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
+if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GLIB_GENMARSHAL in
@@ -19286,7 +20143,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -19326,46 +20183,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MX_GTK_0_99_1" >&5
 $as_echo_n "checking for MX_GTK_0_99_1... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MX_GTK_0_99_1_CFLAGS"; then
-        pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MX_GTK_0_99_1_CFLAGS"; then
+    pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MX_GTK_0_99_1_CFLAGS=`$PKG_CONFIG --cflags "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MX_GTK_0_99_1_LIBS"; then
-        pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MX_GTK_0_99_1_LIBS"; then
+    pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MX_GTK_0_99_1_LIBS=`$PKG_CONFIG --libs "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19373,17 +20230,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
+               MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
         else
-               MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
+               MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$MX_GTK_0_99_1_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_mx_gtk_0_99_1="no"
+       have_mx_gtk_0_99_1="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_mx_gtk_0_99_1="no"
 else
        MX_GTK_0_99_1_CFLAGS=$pkg_cv_MX_GTK_0_99_1_CFLAGS
@@ -19404,46 +20261,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
 $as_echo_n "checking for UNIQUE... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$UNIQUE_CFLAGS"; then
-        pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$UNIQUE_CFLAGS"; then
+    pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
   ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$UNIQUE_LIBS"; then
-        pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$UNIQUE_LIBS"; then
+    pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
   ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19451,17 +20308,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "unique-1.0"`
+               UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-1.0" 2>&1`
         else
-               UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "unique-1.0"`
+               UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-1.0" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$UNIQUE_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_unique="no"
+       have_unique="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_unique="no"
 else
        UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
@@ -19482,46 +20339,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_2_18" >&5
 $as_echo_n "checking for GTK_2_18... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GTK_2_18_CFLAGS"; then
-        pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GTK_2_18_CFLAGS"; then
+    pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTK_2_18_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GTK_2_18_LIBS"; then
-        pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GTK_2_18_LIBS"; then
+    pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTK_2_18_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19529,17 +20386,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
+               GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
         else
-               GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
+               GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GTK_2_18_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_gtk_2_18="no"
+       have_gtk_2_18="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_gtk_2_18="no"
 else
        GTK_2_18_CFLAGS=$pkg_cv_GTK_2_18_CFLAGS
@@ -19559,46 +20416,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI" >&5
 $as_echo_n "checking for GUI... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GUI_CFLAGS"; then
-        pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GUI_CFLAGS"; then
+    pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
   ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "$gui_modules" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GUI_LIBS"; then
-        pkg_cv_GUI_LIBS="$GUI_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GUI_LIBS"; then
+    pkg_cv_GUI_LIBS="$GUI_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
   ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "$gui_modules" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19606,14 +20463,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gui_modules"`
+               GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gui_modules" 2>&1`
         else
-               GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gui_modules"`
+               GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gui_modules" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GUI_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements ($gui_modules) were not met:
+       as_fn_error $? "Package requirements ($gui_modules) were not met:
 
 $GUI_PKG_ERRORS
 
@@ -19622,12 +20479,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables GUI_CFLAGS
 and GUI_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -19636,13 +20494,13 @@ and GUI_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
        GUI_LIBS=$pkg_cv_GUI_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 elif test "$enable_dbus_service" = "yes"; then
@@ -19666,46 +20524,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRECPP" >&5
 $as_echo_n "checking for PCRECPP... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$PCRECPP_CFLAGS"; then
-        pkg_cv_PCRECPP_CFLAGS="$PCRECPP_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$PCRECPP_CFLAGS"; then
+    pkg_cv_PCRECPP_CFLAGS="$PCRECPP_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_PCRECPP_CFLAGS=`$PKG_CONFIG --cflags "libpcrecpp" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$PCRECPP_LIBS"; then
-        pkg_cv_PCRECPP_LIBS="$PCRECPP_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$PCRECPP_LIBS"; then
+    pkg_cv_PCRECPP_LIBS="$PCRECPP_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_PCRECPP_LIBS=`$PKG_CONFIG --libs "libpcrecpp" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -19713,18 +20571,16 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               PCRECPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpcrecpp"`
+               PCRECPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcrecpp" 2>&1`
         else
-               PCRECPP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpcrecpp"`
+               PCRECPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcrecpp" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$PCRECPP_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
-if test "${ac_cv_lib_pcrecpp_main+set}" = set; then :
+if ${ac_cv_lib_pcrecpp_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -19752,18 +20608,20 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
-if test "x$ac_cv_lib_pcrecpp_main" = x""yes; then :
+if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
   PCRECPP_LIBS=-lpcrecpp
 
 else
-  as_fn_error "pcrecpp not found" "$LINENO" 5
+  as_fn_error $? "pcrecpp not found" "$LINENO" 5
 
 fi
 
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
-if test "${ac_cv_lib_pcrecpp_main+set}" = set; then :
+if ${ac_cv_lib_pcrecpp_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -19791,11 +20649,11 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
-if test "x$ac_cv_lib_pcrecpp_main" = x""yes; then :
+if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
   PCRECPP_LIBS=-lpcrecpp
 
 else
-  as_fn_error "pcrecpp not found" "$LINENO" 5
+  as_fn_error $? "pcrecpp not found" "$LINENO" 5
 
 fi
 
@@ -19804,7 +20662,7 @@ else
        PCRECPP_LIBS=$pkg_cv_PCRECPP_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 # need rst2man for man pages
@@ -19817,7 +20675,7 @@ if test "${with_rst2man+set}" = set; then :
 set dummy rst2man; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_RST2MAN+set}" = set; then :
+if ${ac_cv_path_RST2MAN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $RST2MAN in
@@ -19831,7 +20689,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
              fi
-             test "$RST2MAN" = "no" || test -x "$RST2MAN" || as_fn_error "--with-rst2man=$RST2MAN: tool not found" "$LINENO" 5
+             test "$RST2MAN" = "no" || test -x "$RST2MAN" || as_fn_error $? "--with-rst2man=$RST2MAN: tool not found" "$LINENO" 5
 else
   # Extract the first word of "rst2man", so it can be a program name with args.
 set dummy rst2man; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_RST2MAN+set}" = set; then :
+if ${ac_cv_path_RST2MAN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $RST2MAN in
@@ -19875,7 +20733,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -19919,7 +20777,7 @@ if test "${with_rst2html+set}" = set; then :
 set dummy rst2html; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_RST2HTML+set}" = set; then :
+if ${ac_cv_path_RST2HTML+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $RST2HTML in
@@ -19933,7 +20791,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
              fi
-             test "$RST2HTML" = "no" || test -x "$RST2HTML" || as_fn_error "--with-rst2html=$RST2HTML: tool not found" "$LINENO" 5
+             test "$RST2HTML" = "no" || test -x "$RST2HTML" || as_fn_error $? "--with-rst2html=$RST2HTML: tool not found" "$LINENO" 5
 else
   # Extract the first word of "rst2html", so it can be a program name with args.
 set dummy rst2html; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_RST2HTML+set}" = set; then :
+if ${ac_cv_path_RST2HTML+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $RST2HTML in
@@ -19977,7 +20835,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20048,23 +20906,23 @@ $as_echo "$as_me: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&
                 fi
             fi
             if test -d $SYNTHESIS_SRC ; then
-                ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || as_fn_error "updating from $SYNTHESISSRC failed" "$LINENO" 5
+                ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
             else
-                (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || as_fn_error "checking out $SYNTHESISSRC failed" "$LINENO" 5
+                (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
             fi
             ;;
         *)
             if test -d $SYNTHESIS_SRC ; then
-                ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || as_fn_error "updating from $SYNTHESISSRC failed" "$LINENO" 5
+                ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
             else
-                ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || as_fn_error "cloning $SYNTHESISSRC failed" "$LINENO" 5
+                ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || as_fn_error $? "cloning $SYNTHESISSRC failed" "$LINENO" 5
             fi
             if test "$REVISION"; then
                 # git 1.6 finds tags and branches without explicit prefix, 1.4.4.4 doesn't
                 ( set -x; cd $SYNTHESIS_SRC &&
                   (git checkout "$REVISION" ||
                    git checkout "tags/$REVISION" ||
-                   git checkout "origin/$REVISION") ) || as_fn_error "checking out $SYNTHESISSRC failed" "$LINENO" 5
+                   git checkout "origin/$REVISION") ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
             fi
             ;;
     esac
@@ -20082,46 +20940,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
 $as_echo_n "checking for SYNTHESIS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SYNTHESIS_CFLAGS"; then
-        pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$SYNTHESIS_CFLAGS"; then
+    pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SYNTHESIS_LIBS"; then
-        pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$SYNTHESIS_LIBS"; then
+    pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
   ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20129,14 +20987,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4"`
+               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
         else
-               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4"`
+               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$SYNTHESIS_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (synthesis >= 3.4) were not met:
+       as_fn_error $? "Package requirements (synthesis >= 3.4) were not met:
 
 $SYNTHESIS_PKG_ERRORS
 
@@ -20145,12 +21003,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -20159,13 +21018,13 @@ and SYNTHESIS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
        SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
     SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis -lsmltk"
 else
@@ -20179,46 +21038,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
 $as_echo_n "checking for SYNTHESIS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SYNTHESIS_CFLAGS"; then
-        pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.8\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.8") 2>&5
+if test -n "$SYNTHESIS_CFLAGS"; then
+    pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.9\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.9") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.8" 2>/dev/null`
+  pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.9" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
-fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SYNTHESIS_LIBS"; then
-        pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.8\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.8") 2>&5
+ else
+    pkg_failed=untried
+fi
+if test -n "$SYNTHESIS_LIBS"; then
+    pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.9\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.9") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.8" 2>/dev/null`
+  pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.9" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20226,14 +21085,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.8"`
+               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.16.9" 2>&1`
         else
-               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.8"`
+               SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.16.9" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$SYNTHESIS_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (synthesis >= 3.4.0.16.8) were not met:
+       as_fn_error $? "Package requirements (synthesis >= 3.4.0.16.9) were not met:
 
 $SYNTHESIS_PKG_ERRORS
 
@@ -20242,12 +21101,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -20256,19 +21116,19 @@ and SYNTHESIS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
        SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
     SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
 fi
 
 if test $SYNTHESIS_SRC != "no-synthesis-source"; then
-    ( cd $SYNTHESIS_SRC && ( test -f configure || sh autogen.sh ) ) || as_fn_error "--with-synthesis-src=$SYNTHESIS_SRC: no Synthesis configure script found in that directory" "$LINENO" 5
+    ( cd $SYNTHESIS_SRC && ( test -f configure || sh autogen.sh ) ) || as_fn_error $? "--with-synthesis-src=$SYNTHESIS_SRC: no Synthesis configure script found in that directory" "$LINENO" 5
 
     SYNTHESIS_CONFIGURE="$SYNTHESIS_SRC/configure"
     chmod u+x $SYNTHESIS_SRC/configure $SYNTHESIS_SRC/config.sub $SYNTHESIS_SRC/config.guess
@@ -20305,7 +21165,7 @@ $as_echo "#define ENABLE_SYNCML_LINKED 1" >>confdefs.h
     { $as_echo "$as_me:${as_lineno-$LINENO}: configuring the Synthesis library " >&5
 $as_echo "$as_me: configuring the Synthesis library " >&6;}
     if (set -x; mkdir -p $SYNTHESIS_SUBDIR && cd $SYNTHESIS_SUBDIR && eval "\$SHELL \"\$SYNTHESIS_CONFIGURE\" $ac_configure_args \"--srcdir=\$SYNTHESIS_SRC\" " ); then true; else
-        as_fn_error "configuring Synthesis library failed " "$LINENO" 5
+        as_fn_error $? "configuring Synthesis library failed " "$LINENO" 5
     fi
 
     # do the version check with the .pc files prepared by the configure step above
@@ -20315,46 +21175,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WITH_SYNTHESIS_SRC" >&5
 $as_echo_n "checking for WITH_SYNTHESIS_SRC... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$WITH_SYNTHESIS_SRC_CFLAGS"; then
-        pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS="$WITH_SYNTHESIS_SRC_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.8\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.8") 2>&5
+if test -n "$WITH_SYNTHESIS_SRC_CFLAGS"; then
+    pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS="$WITH_SYNTHESIS_SRC_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.9\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.9") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.8" 2>/dev/null`
+  pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.9" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$WITH_SYNTHESIS_SRC_LIBS"; then
-        pkg_cv_WITH_SYNTHESIS_SRC_LIBS="$WITH_SYNTHESIS_SRC_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.8\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.8") 2>&5
+if test -n "$WITH_SYNTHESIS_SRC_LIBS"; then
+    pkg_cv_WITH_SYNTHESIS_SRC_LIBS="$WITH_SYNTHESIS_SRC_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.9\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.9") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_WITH_SYNTHESIS_SRC_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.8" 2>/dev/null`
+  pkg_cv_WITH_SYNTHESIS_SRC_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.9" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20362,24 +21222,24 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.8"`
+               WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.16.9" 2>&1`
         else
-               WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.8"`
+               WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.16.9" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$WITH_SYNTHESIS_SRC_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                as_fn_error "need at least libsynthesis >= 3.4.0.16.8; the latest libsynthesis for SyncEvolution is the one from http://meego.gitorious.org/meego-middleware/libsynthesis" "$LINENO" 5
+       as_fn_error $? "need at least libsynthesis >= 3.4.0.16.9; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
 elif test $pkg_failed = untried; then
-       as_fn_error "need at least libsynthesis >= 3.4.0.16.8; the latest libsynthesis for SyncEvolution is the one from http://meego.gitorious.org/meego-middleware/libsynthesis" "$LINENO" 5
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       as_fn_error $? "need at least libsynthesis >= 3.4.0.16.9; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
 else
        WITH_SYNTHESIS_SRC_CFLAGS=$pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS
        WITH_SYNTHESIS_SRC_LIBS=$pkg_cv_WITH_SYNTHESIS_SRC_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 fi
@@ -20403,46 +21263,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEBLUETOOTH" >&5
 $as_echo_n "checking for GNOMEBLUETOOTH... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
-        pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
+    pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GNOMEBLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GNOMEBLUETOOTH_LIBS"; then
-        pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GNOMEBLUETOOTH_LIBS"; then
+    pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GNOMEBLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20450,17 +21310,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
+               GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
         else
-               GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
+               GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GNOMEBLUETOOTH_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                have_gbt="no"
+       have_gbt="no"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        have_gbt="no"
 else
        GNOMEBLUETOOTH_CFLAGS=$pkg_cv_GNOMEBLUETOOTH_CFLAGS
@@ -20482,7 +21342,7 @@ else
 fi
 
 if test "$enable_gnome_bluetooth_panel" = "yes"; then
-   test "$have_gbt" = "yes" || as_fn_error "--enable-gnome-bluetooth-panel requires
+   test "$have_gbt" = "yes" || as_fn_error $? "--enable-gnome-bluetooth-panel requires
            pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" "$LINENO" 5
 fi
  if test "$have_gbt" = "yes" && test "$enable_gnome_bluetooth_panel" = "yes"; then
@@ -20540,7 +21400,7 @@ fi
 # Check whether --with-activesyncd-src was given.
 if test "${with_activesyncd_src+set}" = set; then :
   withval=$with_activesyncd_src; ACTIVESYNCDSRC="$withval"
-             test "$ACTIVESYNCDSRC" != "yes" || as_fn_error "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
+             test "$ACTIVESYNCDSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
 else
   ACTIVESYNCDSRC=""
 fi
@@ -20565,7 +21425,7 @@ if test "$enable_activesync" = "yes"; then
 $as_echo "$as_me: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&6;}
                 ( set -x; cd src/backends/activesync/activesyncd/build &&
                   $ACTIVESYNCDSRC/configure --disable-eplugin --disable-camel-backend --prefix=`pwd`/../install) ||
-                as_fn_error "configuring activesyncd failed" "$LINENO" 5
+                as_fn_error $? "configuring activesyncd failed" "$LINENO" 5
 
                 # hard-coded replacement for pkg-config: necessary because
                 # .pc file not installed yet
@@ -20581,46 +21441,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EASCLIENT" >&5
 $as_echo_n "checking for EASCLIENT... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EASCLIENT_CFLAGS"; then
-        pkg_cv_EASCLIENT_CFLAGS="$EASCLIENT_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EASCLIENT_CFLAGS"; then
+    pkg_cv_EASCLIENT_CFLAGS="$EASCLIENT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EASCLIENT_CFLAGS=`$PKG_CONFIG --cflags "libeasclient" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EASCLIENT_LIBS"; then
-        pkg_cv_EASCLIENT_LIBS="$EASCLIENT_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EASCLIENT_LIBS"; then
+    pkg_cv_EASCLIENT_LIBS="$EASCLIENT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EASCLIENT_LIBS=`$PKG_CONFIG --libs "libeasclient" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20628,14 +21488,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libeasclient"`
+               EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeasclient" 2>&1`
         else
-               EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libeasclient"`
+               EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeasclient" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EASCLIENT_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libeasclient) were not met:
+       as_fn_error $? "Package requirements (libeasclient) were not met:
 
 $EASCLIENT_PKG_ERRORS
 
@@ -20644,12 +21504,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
 and EASCLIENT_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -20658,13 +21519,13 @@ and EASCLIENT_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        EASCLIENT_CFLAGS=$pkg_cv_EASCLIENT_CFLAGS
        EASCLIENT_LIBS=$pkg_cv_EASCLIENT_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
         fi
 
@@ -20724,7 +21585,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_QMAKE+set}" = set; then :
+if ${ac_cv_prog_QMAKE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$QMAKE"; then
@@ -20736,7 +21597,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_QMAKE="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20785,7 +21646,7 @@ CPPFLAGS="$CPPFLAGS $KDEPIM_CFLAGS"
 for ac_header in Akonadi/Collection
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "Akonadi/Collection" "ac_cv_header_Akonadi_Collection" "$ac_includes_default"
-if test "x$ac_cv_header_Akonadi_Collection" = x""yes; then :
+if test "x$ac_cv_header_Akonadi_Collection" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_AKONADI_COLLECTION 1
 _ACEOF
@@ -20812,7 +21673,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
           # Check whether --enable-akonadi was given.
 if test "${enable_akonadi+set}" = set; then :
   enableval=$enable_akonadi; enable_akonadi="$enableval"
-                       test $AKONADIFOUND = "yes" || test $enable_akonadi = "no" || as_fn_error "akonadi.pc not found. Install it to compile with the Akonadi backend enabled." "$LINENO" 5
+                       test $AKONADIFOUND = "yes" || test $enable_akonadi = "no" || as_fn_error $? "akonadi.pc not found. Install it to compile with the Akonadi backend enabled." "$LINENO" 5
 else
   enable_akonadi=no
 
@@ -20876,46 +21737,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPACKAGE" >&5
 $as_echo_n "checking for EPACKAGE... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EPACKAGE_CFLAGS"; then
-        pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EPACKAGE_CFLAGS"; then
+    pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EPACKAGE_LIBS"; then
-        pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EPACKAGE_LIBS"; then
+    pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20923,17 +21784,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libedataserver-1.2"`
+               EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
         else
-               EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libedataserver-1.2"`
+               EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EPACKAGE_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                EDSFOUND=no
+       EDSFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        EDSFOUND=no
 else
        EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
@@ -20947,46 +21808,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECAL" >&5
 $as_echo_n "checking for ECAL... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$ECAL_CFLAGS"; then
-        pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$ECAL_CFLAGS"; then
+    pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$ECAL_LIBS"; then
-        pkg_cv_ECAL_LIBS="$ECAL_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$ECAL_LIBS"; then
+    pkg_cv_ECAL_LIBS="$ECAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -20994,17 +21855,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
+               ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
         else
-               ECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
+               ECAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$ECAL_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                ECALFOUND=no
+       ECALFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        ECALFOUND=no
 else
        ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
@@ -21018,46 +21879,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK" >&5
 $as_echo_n "checking for EBOOK... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOK_CFLAGS"; then
-        pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOK_CFLAGS"; then
+    pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOK_LIBS"; then
-        pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOK_LIBS"; then
+    pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21065,17 +21926,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2"`
+               EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2" 2>&1`
         else
-               EBOOK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
+               EBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EBOOK_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                EBOOKFOUND=no
+       EBOOKFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        EBOOKFOUND=no
 else
        EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
@@ -21090,46 +21951,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK_VERSION" >&5
 $as_echo_n "checking for EBOOK_VERSION... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOK_VERSION_CFLAGS"; then
-        pkg_cv_EBOOK_VERSION_CFLAGS="$EBOOK_VERSION_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOK_VERSION_CFLAGS"; then
+    pkg_cv_EBOOK_VERSION_CFLAGS="$EBOOK_VERSION_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOK_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= 3.3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOK_VERSION_LIBS"; then
-        pkg_cv_EBOOK_VERSION_LIBS="$EBOOK_VERSION_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOK_VERSION_LIBS"; then
+    pkg_cv_EBOOK_VERSION_LIBS="$EBOOK_VERSION_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOK_VERSION_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= 3.3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21137,17 +21998,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2 >= 3.3"`
+               EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
         else
-               EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2 >= 3.3"`
+               EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EBOOK_VERSION_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                true
+       true
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        true
 else
        EBOOK_VERSION_CFLAGS=$pkg_cv_EBOOK_VERSION_CFLAGS
@@ -21165,7 +22026,7 @@ if test "${enable_ebook+set}" = set; then :
   enableval=$enable_ebook; enable_ebook="$enableval"
 else
   test "$EBOOKFOUND" = "yes" && enable_ebook="yes" ||
-                       as_fn_error "libebook not found. Use --disable-ebook to compile without or install the necessary development files." "$LINENO" 5
+                       as_fn_error $? "libebook not found. Use --disable-ebook to compile without or install the necessary development files." "$LINENO" 5
 
 fi
 
@@ -21183,7 +22044,7 @@ if test "${enable_ecal+set}" = set; then :
   enableval=$enable_ecal; enable_ecal="$enableval"
 else
   test "$ECALFOUND" = "yes" && enable_ecal="yes" ||
-                       as_fn_error "libecal not found. Use --disable-ecal to compile without or install the necessary development files." "$LINENO" 5
+                       as_fn_error $? "libecal not found. Use --disable-ecal to compile without or install the necessary development files." "$LINENO" 5
 
 fi
 
@@ -21198,7 +22059,7 @@ fi
 
 enable_evo="no"
 if test "$enable_ebook" = "yes"; then
-        test "x${EBOOKFOUND}" = "xyes" || as_fn_error "--enable-ebook requires pkg-config information for libebook, which was not found" "$LINENO" 5
+        test "x${EBOOKFOUND}" = "xyes" || as_fn_error $? "--enable-ebook requires pkg-config information for libebook, which was not found" "$LINENO" 5
 
 $as_echo "#define ENABLE_EBOOK 1" >>confdefs.h
 
@@ -21218,7 +22079,7 @@ fi
 
 if test "$enable_ecal" = "yes"; then
         need_ical="yes"
-        test "x${ECALFOUND}" = "xyes" || as_fn_error "--enable-ecal requires pkg-config information for libecal, which was not found\"" "$LINENO" 5
+        test "x${ECALFOUND}" = "xyes" || as_fn_error $? "--enable-ecal requires pkg-config information for libecal, which was not found\"" "$LINENO" 5
 
 $as_echo "#define ENABLE_ECAL 1" >>confdefs.h
 
@@ -21235,7 +22096,7 @@ if test "$enable_evo" = "yes"; then
 $as_echo "#define HAVE_EDS 1" >>confdefs.h
 
         else
-                as_fn_error "$evomissing" "$LINENO" 5
+                as_fn_error $? "$evomissing" "$LINENO" 5
         fi
         # Only the EClient code supports the API in EDS 3.5.x.
 
@@ -21243,46 +22104,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDS_VERSION" >&5
 $as_echo_n "checking for EDS_VERSION... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EDS_VERSION_CFLAGS"; then
-        pkg_cv_EDS_VERSION_CFLAGS="$EDS_VERSION_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EDS_VERSION_CFLAGS"; then
+    pkg_cv_EDS_VERSION_CFLAGS="$EDS_VERSION_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EDS_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2 >= 3.5" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EDS_VERSION_LIBS"; then
-        pkg_cv_EDS_VERSION_LIBS="$EDS_VERSION_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EDS_VERSION_LIBS"; then
+    pkg_cv_EDS_VERSION_LIBS="$EDS_VERSION_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EDS_VERSION_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2 >= 3.5" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21290,21 +22151,19 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libedataserver-1.2 >= 3.5"`
+               EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
         else
-               EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libedataserver-1.2 >= 3.5"`
+               EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EDS_VERSION_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                CFLAGS_old="$CFLAGS"
+       CFLAGS_old="$CFLAGS"
         CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
         for ac_header in libedataserver/eds-version.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
-if test "x$ac_cv_header_libedataserver_eds_version_h" = x""yes; then :
+if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
 _ACEOF
@@ -21315,12 +22174,14 @@ done
 
         CFLAGS="$CFLAGS_old"
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        CFLAGS_old="$CFLAGS"
         CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
         for ac_header in libedataserver/eds-version.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
-if test "x$ac_cv_header_libedataserver_eds_version_h" = x""yes; then :
+if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
 _ACEOF
@@ -21345,46 +22206,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOKCONTACTS" >&5
 $as_echo_n "checking for EBOOKCONTACTS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOKCONTACTS_CFLAGS"; then
-        pkg_cv_EBOOKCONTACTS_CFLAGS="$EBOOKCONTACTS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOKCONTACTS_CFLAGS"; then
+    pkg_cv_EBOOKCONTACTS_CFLAGS="$EBOOKCONTACTS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-contacts-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-contacts-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOKCONTACTS_CFLAGS=`$PKG_CONFIG --cflags "libebook-contacts-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$EBOOKCONTACTS_LIBS"; then
-        pkg_cv_EBOOKCONTACTS_LIBS="$EBOOKCONTACTS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$EBOOKCONTACTS_LIBS"; then
+    pkg_cv_EBOOKCONTACTS_LIBS="$EBOOKCONTACTS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-contacts-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libebook-contacts-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_EBOOKCONTACTS_LIBS=`$PKG_CONFIG --libs "libebook-contacts-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21392,14 +22253,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               EBOOKCONTACTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-contacts-1.2"`
+               EBOOKCONTACTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-contacts-1.2" 2>&1`
         else
-               EBOOKCONTACTS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-contacts-1.2"`
+               EBOOKCONTACTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-contacts-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$EBOOKCONTACTS_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libebook-contacts-1.2) were not met:
+       as_fn_error $? "Package requirements (libebook-contacts-1.2) were not met:
 
 $EBOOKCONTACTS_PKG_ERRORS
 
@@ -21408,12 +22269,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables EBOOKCONTACTS_CFLAGS
 and EBOOKCONTACTS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -21422,17 +22284,17 @@ and EBOOKCONTACTS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        EBOOKCONTACTS_CFLAGS=$pkg_cv_EBOOKCONTACTS_CFLAGS
        EBOOKCONTACTS_LIBS=$pkg_cv_EBOOKCONTACTS_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
                            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_new_direct in -lebook-1.2" >&5
 $as_echo_n "checking for e_book_client_new_direct in -lebook-1.2... " >&6; }
-if test "${ac_cv_lib_ebook_1_2_e_book_client_new_direct+set}" = set; then :
+if ${ac_cv_lib_ebook_1_2_e_book_client_new_direct+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -21466,7 +22328,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&5
 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&6; }
-if test "x$ac_cv_lib_ebook_1_2_e_book_client_new_direct" = x""yes; then :
+if test "x$ac_cv_lib_ebook_1_2_e_book_client_new_direct" = xyes; then :
 
 $as_echo "#define HAVE_E_BOOK_CLIENT_NEW_DIRECT 1" >>confdefs.h
 
@@ -21476,7 +22338,7 @@ fi
 
                            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_connect_direct_sync in -lebook-1.2" >&5
 $as_echo_n "checking for e_book_client_connect_direct_sync in -lebook-1.2... " >&6; }
-if test "${ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync+set}" = set; then :
+if ${ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -21510,7 +22372,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&5
 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&6; }
-if test "x$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" = x""yes; then :
+if test "x$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" = xyes; then :
 
 $as_echo "#define HAVE_E_BOOK_CLIENT_CONNECT_DIRECT_SYNC 1" >>confdefs.h
 
@@ -21569,46 +22431,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING" >&5
 $as_echo_n "checking for KEYRING... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KEYRING_CFLAGS"; then
-        pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KEYRING_CFLAGS"; then
+    pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KEYRING_LIBS"; then
-        pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KEYRING_LIBS"; then
+    pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21616,17 +22478,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
+               KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-keyring-1" 2>&1`
         else
-               KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
+               KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-keyring-1" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$KEYRING_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                HAVE_KEYRING=no
+       HAVE_KEYRING=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        HAVE_KEYRING=no
 else
        KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
@@ -21638,8 +22500,8 @@ fi
 # Check whether --enable-gnome-keyring was given.
 if test "${enable_gnome_keyring+set}" = set; then :
   enableval=$enable_gnome_keyring; enable_gnome_keyring="$enableval"
-               test "$enable_gnome_keyring" = "yes" || test "$enable_gnome_keyring" = "no" || as_fn_error "invalid value for --enable-gnome-keyring: $enable_gnome_keyring" "$LINENO" 5
-               test "$enable_gnome_keyring" = "no" || test "$HAVE_KEYRING" = "yes" || as_fn_error "gnome-keyring-1 pkg not found, needed for --enable-gnome-keyring" "$LINENO" 5
+               test "$enable_gnome_keyring" = "yes" || test "$enable_gnome_keyring" = "no" || as_fn_error $? "invalid value for --enable-gnome-keyring: $enable_gnome_keyring" "$LINENO" 5
+               test "$enable_gnome_keyring" = "no" || test "$HAVE_KEYRING" = "yes" || as_fn_error $? "gnome-keyring-1 pkg not found, needed for --enable-gnome-keyring" "$LINENO" 5
 else
   enable_gnome_keyring="$HAVE_KEYRING"
 fi
@@ -21653,46 +22515,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING_2_20" >&5
 $as_echo_n "checking for KEYRING_2_20... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KEYRING_2_20_CFLAGS"; then
-        pkg_cv_KEYRING_2_20_CFLAGS="$KEYRING_2_20_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KEYRING_2_20_CFLAGS"; then
+    pkg_cv_KEYRING_2_20_CFLAGS="$KEYRING_2_20_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KEYRING_2_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.20 " 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KEYRING_2_20_LIBS"; then
-        pkg_cv_KEYRING_2_20_LIBS="$KEYRING_2_20_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KEYRING_2_20_LIBS"; then
+    pkg_cv_KEYRING_2_20_LIBS="$KEYRING_2_20_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \""; } >&5
   ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KEYRING_2_20_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.20 " 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21700,17 +22562,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
+               KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-keyring-1 >= 2.20 " 2>&1`
         else
-               KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
+               KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-keyring-1 >= 2.20 " 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$KEYRING_2_20_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                true
+       true
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        true
 else
        KEYRING_2_20_CFLAGS=$pkg_cv_KEYRING_2_20_CFLAGS
@@ -21757,46 +22619,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KCALEXTENDED" >&5
 $as_echo_n "checking for KCALEXTENDED... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KCALEXTENDED_CFLAGS"; then
-        pkg_cv_KCALEXTENDED_CFLAGS="$KCALEXTENDED_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KCALEXTENDED_CFLAGS"; then
+    pkg_cv_KCALEXTENDED_CFLAGS="$KCALEXTENDED_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KCALEXTENDED_CFLAGS=`$PKG_CONFIG --cflags "libmkcal libkcalcoren" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$KCALEXTENDED_LIBS"; then
-        pkg_cv_KCALEXTENDED_LIBS="$KCALEXTENDED_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$KCALEXTENDED_LIBS"; then
+    pkg_cv_KCALEXTENDED_LIBS="$KCALEXTENDED_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_KCALEXTENDED_LIBS=`$PKG_CONFIG --libs "libmkcal libkcalcoren" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -21804,14 +22666,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmkcal libkcalcoren"`
+               KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
         else
-               KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmkcal libkcalcoren"`
+               KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$KCALEXTENDED_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libmkcal libkcalcoren) were not met:
+       as_fn_error $? "Package requirements (libmkcal libkcalcoren) were not met:
 
 $KCALEXTENDED_PKG_ERRORS
 
@@ -21820,12 +22682,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -21834,13 +22697,13 @@ and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        KCALEXTENDED_CFLAGS=$pkg_cv_KCALEXTENDED_CFLAGS
        KCALEXTENDED_LIBS=$pkg_cv_KCALEXTENDED_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 fi
 # ^^^^^^^^^^^^^^ src/backends/kcalextended/configure-sub.in ^^^^^^^^^^^^^^
@@ -21853,7 +22716,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_QMAKE+set}" = set; then :
+if ${ac_cv_prog_QMAKE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$QMAKE"; then
@@ -21865,7 +22728,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_QMAKE="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -21896,7 +22759,7 @@ then
 set dummy kde4-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
+if ${ac_cv_path_KDE4_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $KDE4_CONFIG in
@@ -21910,7 +22773,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -21954,7 +22817,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     for ac_header in kwallet.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "kwallet.h" "ac_cv_header_kwallet_h" "$ac_includes_default"
-if test "x$ac_cv_header_kwallet_h" = x""yes; then :
+if test "x$ac_cv_header_kwallet_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_KWALLET_H 1
 _ACEOF
@@ -21986,7 +22849,7 @@ fi
 # Check whether --enable-kwallet was given.
 if test "${enable_kwallet+set}" = set; then :
   enableval=$enable_kwallet; use_kde_kwallet="$enableval"
-              test $KDEKWALLETFOUND = "yes" || test "$use_kde_kwallet" = "no" || as_fn_error "kwallet.pc not found. Install it to compile with the KWallet enabled." "$LINENO" 5
+              test $KDEKWALLETFOUND = "yes" || test "$use_kde_kwallet" = "no" || as_fn_error $? "kwallet.pc not found. Install it to compile with the KWallet enabled." "$LINENO" 5
 else
   use_kde_kwallet="no"
 fi
@@ -22028,46 +22891,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MCALB" >&5
 $as_echo_n "checking for MCALB... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MCALB_CFLAGS"; then
-        pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MCALB_CFLAGS"; then
+    pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
   ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MCALB_CFLAGS=`$PKG_CONFIG --cflags "calendar-backend" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$MCALB_LIBS"; then
-        pkg_cv_MCALB_LIBS="$MCALB_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$MCALB_LIBS"; then
+    pkg_cv_MCALB_LIBS="$MCALB_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
   ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_MCALB_LIBS=`$PKG_CONFIG --libs "calendar-backend" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22075,17 +22938,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "calendar-backend"`
+               MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "calendar-backend" 2>&1`
         else
-               MCALB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "calendar-backend"`
+               MCALB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "calendar-backend" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$MCALB_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                MCALBFOUND=no
+       MCALBFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        MCALBFOUND=no
 else
        MCALB_CFLAGS=$pkg_cv_MCALB_CFLAGS
@@ -22117,7 +22980,7 @@ fi
 
 
 if test "$enable_maemocal" = "yes"; then
-        test "x${MCALBFOUND}" = "xyes" || as_fn_error "--enable-maemocal requires pkg-config information for calendar-backend, which was not found" "$LINENO" 5
+        test "x${MCALBFOUND}" = "xyes" || as_fn_error $? "--enable-maemocal requires pkg-config information for calendar-backend, which was not found" "$LINENO" 5
 
 $as_echo "#define ENABLE_MAEMO_CALENDAR 1" >>confdefs.h
 
@@ -22203,46 +23066,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
 $as_echo_n "checking for SQLITE... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SQLITE_CFLAGS"; then
-        pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$SQLITE_CFLAGS"; then
+    pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$SQLITE_LIBS"; then
-        pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$SQLITE_LIBS"; then
+    pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22250,17 +23113,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
         else
-               SQLITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$SQLITE_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                SQLITEFOUND=no
+       SQLITEFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        SQLITEFOUND=no
 else
        SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
@@ -22292,7 +23155,7 @@ fi
 
 
 if test "$enable_sqlite" = "yes"; then
-        test "x${SQLITEFOUND}" = "xyes" || as_fn_error "--enable-sqlite requires pkg-config information for sqlite3, which was not found" "$LINENO" 5
+        test "x${SQLITEFOUND}" = "xyes" || as_fn_error $? "--enable-sqlite requires pkg-config information for sqlite3, which was not found" "$LINENO" 5
 
 $as_echo "#define ENABLE_SQLITE 1" >>confdefs.h
 
@@ -22330,46 +23193,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
 $as_echo_n "checking for NEON... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_CFLAGS"; then
-        pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_CFLAGS"; then
+    pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.29" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_LIBS"; then
-        pkg_cv_NEON_LIBS="$NEON_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_LIBS"; then
+    pkg_cv_NEON_LIBS="$NEON_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.29" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22377,60 +23240,58 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.29"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.29" 2>&1`
         else
-               NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.29"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.29" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$NEON_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
 $as_echo_n "checking for NEON... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_CFLAGS"; then
-        pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_CFLAGS"; then
+    pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_LIBS"; then
-        pkg_cv_NEON_LIBS="$NEON_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_LIBS"; then
+    pkg_cv_NEON_LIBS="$NEON_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22438,14 +23299,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
         else
-               NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$NEON_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (neon >= 0.27) were not met:
+       as_fn_error $? "Package requirements (neon >= 0.27) were not met:
 
 $NEON_PKG_ERRORS
 
@@ -22454,12 +23315,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables NEON_CFLAGS
 and NEON_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -22468,60 +23330,62 @@ and NEON_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
        NEON_LIBS=$pkg_cv_NEON_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
 $as_echo_n "checking for NEON... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_CFLAGS"; then
-        pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_CFLAGS"; then
+    pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NEON_LIBS"; then
-        pkg_cv_NEON_LIBS="$NEON_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NEON_LIBS"; then
+    pkg_cv_NEON_LIBS="$NEON_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
   ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22529,14 +23393,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
         else
-               NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27"`
+               NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$NEON_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (neon >= 0.27) were not met:
+       as_fn_error $? "Package requirements (neon >= 0.27) were not met:
 
 $NEON_PKG_ERRORS
 
@@ -22545,12 +23409,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables NEON_CFLAGS
 and NEON_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -22559,13 +23424,13 @@ and NEON_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
        NEON_LIBS=$pkg_cv_NEON_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 else
        NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
@@ -22640,7 +23505,7 @@ if test "$enable_xmlrpc" = "yes"; then
 set dummy xmlrpc-c-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XMLRPC_C_CONFIG+set}" = set; then :
+if ${ac_cv_path_XMLRPC_C_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XMLRPC_C_CONFIG in
@@ -22654,7 +23519,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XMLRPC_C_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22678,7 +23543,7 @@ fi
 
 
 
-        test "x$XMLRPC_C_CONFIG" != 'xno' || as_fn_error "--enable-xmlrpc requires xmlrpc-c-config, which was not found" "$LINENO" 5
+        test "x$XMLRPC_C_CONFIG" != 'xno' || as_fn_error $? "--enable-xmlrpc requires xmlrpc-c-config, which was not found" "$LINENO" 5
 
         XMLRPC_CFLAGS=`$XMLRPC_C_CONFIG c++2 client --cflags`
         XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 client --libs`
@@ -22715,7 +23580,7 @@ $as_echo "#define ENABLE_QT_DBUS 1" >>confdefs.h
 set dummy qdbusxml2cpp; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_QDBUSXML_TO_CPP+set}" = set; then :
+if ${ac_cv_path_QDBUSXML_TO_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $QDBUSXML_TO_CPP in
@@ -22729,7 +23594,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_QDBUSXML_TO_CPP="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22752,7 +23617,7 @@ $as_echo "no" >&6; }
 fi
 
 
-        test "x$QDBUSXML_TO_CPP" != 'xno' || as_fn_error "--enable-qt-dbus requires qdbusxml2cpp, which was not found" "$LINENO" 5
+        test "x$QDBUSXML_TO_CPP" != 'xno' || as_fn_error $? "--enable-qt-dbus requires qdbusxml2cpp, which was not found" "$LINENO" 5
 fi
 
  if test "$enable_qt_dbus" = "yes"; then
@@ -22783,7 +23648,7 @@ for backend in $BACKENDS; do
 done
 
 if test "$enable_any" = "no"; then
-        as_fn_error "no backend enabled - refusing to continue: $anymissing" "$LINENO" 5
+        as_fn_error $? "no backend enabled - refusing to continue: $anymissing" "$LINENO" 5
 fi
 
 if test "$need_glib" = "yes"; then
@@ -22797,46 +23662,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
 $as_echo_n "checking for GLIB... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GLIB_CFLAGS"; then
-        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GLIB_CFLAGS"; then
+    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GLIB_LIBS"; then
-        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GLIB_LIBS"; then
+    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22844,24 +23709,24 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""glib-2.0""`
+               GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""glib-2.0"" 2>&1`
         else
-               GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""glib-2.0""`
+               GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""glib-2.0"" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GLIB_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                GLIBFOUND=no
+       GLIBFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        GLIBFOUND=no
 else
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
         # This check here is broken on Ubuntu 8.04: it calls glib-config,
         # which isn't found, but the error is not detected by configure.
@@ -22874,46 +23739,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
 $as_echo_n "checking for GTHREAD... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GTHREAD_CFLAGS"; then
-        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GTHREAD_CFLAGS"; then
+    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags ""gthread-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GTHREAD_LIBS"; then
-        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GTHREAD_LIBS"; then
+    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs ""gthread-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22921,70 +23786,70 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gthread-2.0""`
+               GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
         else
-               GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gthread-2.0""`
+               GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GTHREAD_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                GLIBFOUND=no
+       GLIBFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        GLIBFOUND=no
 else
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
 $as_echo_n "checking for GOBJECT... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GOBJECT_CFLAGS"; then
-        pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GOBJECT_CFLAGS"; then
+    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags ""gobject-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GOBJECT_LIBS"; then
-        pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GOBJECT_LIBS"; then
+    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs ""gobject-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -22992,70 +23857,70 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gobject-2.0""`
+               GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
         else
-               GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gobject-2.0""`
+               GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GOBJECT_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                GLIBFOUND=no
+       GLIBFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        GLIBFOUND=no
 else
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
 $as_echo_n "checking for GIO... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GIO_CFLAGS"; then
-        pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GIO_CFLAGS"; then
+    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags ""gio-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GIO_LIBS"; then
-        pkg_cv_GIO_LIBS="$GIO_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GIO_LIBS"; then
+    pkg_cv_GIO_LIBS="$GIO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs ""gio-2.0"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -23063,24 +23928,24 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gio-2.0""`
+               GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gio-2.0"" 2>&1`
         else
-               GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gio-2.0""`
+               GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gio-2.0"" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GIO_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                GLIBFOUND=no
+       GLIBFOUND=no
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        GLIBFOUND=no
 else
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
        GIO_LIBS=$pkg_cv_GIO_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 
         if  test "x${GLIBFOUND}" = "xyes"; then
@@ -23088,7 +23953,7 @@ fi
 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
 
         else
-            as_fn_error "not all GNOME libraries found" "$LINENO" 5
+            as_fn_error $? "not all GNOME libraries found" "$LINENO" 5
         fi
         BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS"
 fi
@@ -23099,46 +23964,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
 $as_echo_n "checking for LIBICAL... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_CFLAGS"; then
-        pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_CFLAGS"; then
+    pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libical") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_LIBS"; then
-        pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_LIBS"; then
+    pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libical") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -23146,60 +24011,58 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical" 2>&1`
         else
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBICAL_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
 $as_echo_n "checking for LIBICAL... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_CFLAGS"; then
-        pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_CFLAGS"; then
+    pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_LIBS"; then
-        pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_LIBS"; then
+    pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -23207,14 +24070,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
         else
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBICAL_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libecal-1.2) were not met:
+       as_fn_error $? "Package requirements (libecal-1.2) were not met:
 
 $LIBICAL_PKG_ERRORS
 
@@ -23223,12 +24086,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables LIBICAL_CFLAGS
 and LIBICAL_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -23237,60 +24101,62 @@ and LIBICAL_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
        LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
 $as_echo_n "checking for LIBICAL... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_CFLAGS"; then
-        pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_CFLAGS"; then
+    pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_LIBS"; then
-        pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_LIBS"; then
+    pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -23298,14 +24164,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
         else
-               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
+               LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBICAL_PKG_ERRORS" >&5
 
-       as_fn_error "Package requirements (libecal-1.2) were not met:
+       as_fn_error $? "Package requirements (libecal-1.2) were not met:
 
 $LIBICAL_PKG_ERRORS
 
@@ -23314,12 +24180,13 @@ installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables LIBICAL_CFLAGS
 and LIBICAL_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
+See the pkg-config man page for more details." "$LINENO" 5
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
@@ -23328,13 +24195,13 @@ and LIBICAL_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details." "$LINENO" 5; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
        LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
        LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       :
+
 fi
 else
        LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
@@ -23392,7 +24259,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_QMAKE+set}" = set; then :
+if ${ac_cv_path_QMAKE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $QMAKE in
@@ -23407,7 +24274,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -23434,7 +24301,7 @@ done
 test -n "$QMAKE" || QMAKE="missing"
 
   if test x"$QMAKE" = xmissing; then
-    as_fn_error "Cannot find qmake in your PATH. Try using --with-qt." "$LINENO" 5
+    as_fn_error $? "Cannot find qmake in your PATH. Try using --with-qt." "$LINENO" 5
     break
   fi
 
@@ -23446,7 +24313,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MOC+set}" = set; then :
+if ${ac_cv_path_MOC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MOC in
@@ -23461,7 +24328,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -23488,7 +24355,7 @@ done
 test -n "$MOC" || MOC="missing"
 
   if test x"$MOC" = xmissing; then
-    as_fn_error "Cannot find moc (Meta Object Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
+    as_fn_error $? "Cannot find moc (Meta Object Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
     break
   fi
 
@@ -23500,7 +24367,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_UIC+set}" = set; then :
+if ${ac_cv_path_UIC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $UIC in
@@ -23515,7 +24382,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -23542,7 +24409,7 @@ done
 test -n "$UIC" || UIC="missing"
 
   if test x"$UIC" = xmissing; then
-    as_fn_error "Cannot find uic (User Interface Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
+    as_fn_error $? "Cannot find uic (User Interface Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
     break
   fi
 
@@ -23554,7 +24421,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_RCC+set}" = set; then :
+if ${ac_cv_path_RCC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $RCC in
@@ -23569,7 +24436,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -23620,14 +24487,14 @@ $as_echo "$at_darwin" >&6; }
     QT_PATH=`dirname "$QMAKE"`
   fi
   if test x"$QT_PATH" = x; then
-    as_fn_error "Cannot find the path to your Qt install. Use --with-qt." "$LINENO" 5
+    as_fn_error $? "Cannot find the path to your Qt install. Use --with-qt." "$LINENO" 5
     break
   fi
 
 
   # Get ready to build a test-app with Qt.
   if mkdir conftest.dir && cd conftest.dir; then :; else
-    as_fn_error "Cannot mkdir conftest.dir or cd to that directory." "$LINENO" 5
+    as_fn_error $? "Cannot mkdir conftest.dir or cd to that directory." "$LINENO" 5
     break
   fi
 
@@ -23668,7 +24535,7 @@ int main()
 }
 _ASEOF
   if $QMAKE -project; then :; else
-    as_fn_error "Calling $QMAKE -project failed." "$LINENO" 5
+    as_fn_error $? "Calling $QMAKE -project failed." "$LINENO" 5
     break
   fi
 
@@ -23676,7 +24543,7 @@ _ASEOF
   pro_file='conftest.dir.pro'
   test -f $pro_file || pro_file=`echo *.pro`
   if test -f "$pro_file"; then :; else
-    as_fn_error "Can't find the .pro file generated by Qmake." "$LINENO" 5
+    as_fn_error $? "Can't find the .pro file generated by Qmake." "$LINENO" 5
     break
   fi
 
@@ -23720,7 +24587,7 @@ $at_mod"
   sed 's/^/| /' "$pro_file" >&5
 
   if $QMAKE $at_qmake_args; then :; else
-    as_fn_error "Calling $QMAKE $at_qmake_args failed." "$LINENO" 5
+    as_fn_error $? "Calling $QMAKE $at_qmake_args failed." "$LINENO" 5
     break
   fi
 
@@ -23817,7 +24684,7 @@ $as_echo "$as_me: WARNING: failed to fix the Makefiles generated by $QMAKE" >&2;
   # Try to compile a simple Qt app.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a simple Qt app" >&5
 $as_echo_n "checking whether we can build a simple Qt app... " >&6; }
-if test "${at_cv_qt_build+set}" = set; then :
+if ${at_cv_qt_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_qt_build=ko
@@ -23878,7 +24745,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_qt_build" >&5
 $as_echo "$at_cv_qt_build" >&6; }
   if test x"$at_cv_qt_build" = xko; then
-    as_fn_error "Cannot build a test Qt program" "$LINENO" 5
+    as_fn_error $? "Cannot build a test Qt program" "$LINENO" 5
     cd ..
     break
   fi
@@ -23905,7 +24772,7 @@ $as_echo "$at_cv_qt_build" >&6; }
     at_mfile='Makefile'
   fi
   if test -f $at_mfile; then :; else
-    as_fn_error "Cannot find the Makefile generated by qmake." "$LINENO" 5
+    as_fn_error $? "Cannot find the Makefile generated by qmake." "$LINENO" 5
     cd ..
     break
   fi
@@ -23913,7 +24780,7 @@ $as_echo "$at_cv_qt_build" >&6; }
   # Find the DEFINES of Qt (should have been named CPPFLAGS).
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DEFINES to use with Qt" >&5
 $as_echo_n "checking for the DEFINES to use with Qt... " >&6; }
-if test "${at_cv_env_QT_DEFINES+set}" = set; then :
+if ${at_cv_env_QT_DEFINES+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_DEFINES=`sed "/^DEFINES[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
@@ -23926,7 +24793,7 @@ $as_echo "$at_cv_env_QT_DEFINES" >&6; }
   # Find the CFLAGS of Qt (We can use Qt in C?!)
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CFLAGS to use with Qt" >&5
 $as_echo_n "checking for the CFLAGS to use with Qt... " >&6; }
-if test "${at_cv_env_QT_CFLAGS+set}" = set; then :
+if ${at_cv_env_QT_CFLAGS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_CFLAGS=`sed "/^CFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
@@ -23939,7 +24806,7 @@ $as_echo "$at_cv_env_QT_CFLAGS" >&6; }
   # Find the CXXFLAGS of Qt.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CXXFLAGS to use with Qt" >&5
 $as_echo_n "checking for the CXXFLAGS to use with Qt... " >&6; }
-if test "${at_cv_env_QT_CXXFLAGS+set}" = set; then :
+if ${at_cv_env_QT_CXXFLAGS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_CXXFLAGS=`sed "/^CXXFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
@@ -23952,7 +24819,7 @@ $as_echo "$at_cv_env_QT_CXXFLAGS" >&6; }
   # Find the INCPATH of Qt.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the INCPATH to use with Qt" >&5
 $as_echo_n "checking for the INCPATH to use with Qt... " >&6; }
-if test "${at_cv_env_QT_INCPATH+set}" = set; then :
+if ${at_cv_env_QT_INCPATH+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_INCPATH=`sed "/^INCPATH[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
@@ -23968,7 +24835,7 @@ $as_echo "$at_cv_env_QT_INCPATH" >&6; }
   # Find the LFLAGS of Qt (Should have been named LDFLAGS)
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LDFLAGS to use with Qt" >&5
 $as_echo_n "checking for the LDFLAGS to use with Qt... " >&6; }
-if test "${at_cv_env_QT_LDFLAGS+set}" = set; then :
+if ${at_cv_env_QT_LDFLAGS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_LDFLAGS=`sed "/^LFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
@@ -23983,7 +24850,7 @@ $as_echo "$at_cv_env_QT_LDFLAGS" >&6; }
   # Find the LIBS of Qt.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LIBS to use with Qt" >&5
 $as_echo_n "checking for the LIBS to use with Qt... " >&6; }
-if test "${at_cv_env_QT_LIBS+set}" = set; then :
+if ${at_cv_env_QT_LIBS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   at_cv_env_QT_LIBS=`sed "/^LIBS[^A-Z]*=/!d;$qt_sed_filter" $at_mfile`
@@ -24019,46 +24886,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB216" >&5
 $as_echo_n "checking for GLIB216... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GLIB216_CFLAGS"; then
-        pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GLIB216_CFLAGS"; then
+    pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GLIB216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$GLIB216_LIBS"; then
-        pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$GLIB216_LIBS"; then
+    pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GLIB216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -24066,17 +24933,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
+               GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
         else
-               GLIB216_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
+               GLIB216_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GLIB216_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                true
+       true
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        true
 else
        GLIB216_CFLAGS=$pkg_cv_GLIB216_CFLAGS
@@ -24097,46 +24964,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
 $as_echo_n "checking for NSS... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NSS_CFLAGS"; then
-        pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NSS_CFLAGS"; then
+    pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags ""nss"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$NSS_LIBS"; then
-        pkg_cv_NSS_LIBS="$NSS_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$NSS_LIBS"; then
+    pkg_cv_NSS_LIBS="$NSS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
   ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs ""nss"" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -24144,17 +25011,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""nss""`
+               NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""nss"" 2>&1`
         else
-               NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""nss""`
+               NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""nss"" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$NSS_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                true
+       true
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        true
 else
        NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
@@ -24215,46 +25082,46 @@ pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL_AVAILABLE" >&5
 $as_echo_n "checking for LIBICAL_AVAILABLE... " >&6; }
 
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
-        pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
+    pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_AVAILABLE_CFLAGS=`$PKG_CONFIG --cflags "libical >= 0.43" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-    if test -n "$LIBICAL_AVAILABLE_LIBS"; then
-        pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
-    else
-        if test -n "$PKG_CONFIG" && \
+if test -n "$LIBICAL_AVAILABLE_LIBS"; then
+    pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
   ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBICAL_AVAILABLE_LIBS=`$PKG_CONFIG --libs "libical >= 0.43" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
-    fi
-else
-       pkg_failed=untried
+ else
+    pkg_failed=untried
 fi
 
 
 
 if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
         _pkg_short_errors_supported=yes
@@ -24262,17 +25129,17 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical >= 0.43"`
+               LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical >= 0.43" 2>&1`
         else
-               LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical >= 0.43"`
+               LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical >= 0.43" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBICAL_AVAILABLE_PKG_ERRORS" >&5
 
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                pass
+       pass
 elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        pass
 else
        LIBICAL_AVAILABLE_CFLAGS=$pkg_cv_LIBICAL_AVAILABLE_CFLAGS
@@ -24308,8 +25175,7 @@ for ac_header in stdarg.h valgrind/valgrind.h execinfo.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -24433,10 +25299,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
+    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+       cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+         mv -f confcache "$cache_file"$$ &&
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+         mv -f confcache "$cache_file" ;;
+       esac
+      fi
+    fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -24452,6 +25329,7 @@ DEFS=-DHAVE_CONFIG_H
 
 ac_libobjs=
 ac_ltlibobjs=
+U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -24475,67 +25353,63 @@ else
 fi
 
 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
-  as_fn_error "conditional \"AMDEP\" was never defined.
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
-  as_fn_error "conditional \"am__fastdepCC\" was never defined.
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
-  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
-  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
+  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_UNIT_TESTS\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_TESTING\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_TESTING\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_OBEX_TRUE}" && test -z "${ENABLE_OBEX_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_OBEX\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_OBEX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_BLUETOOTH_TRUE}" && test -z "${ENABLE_BLUETOOTH_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_BLUETOOTH\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_BLUETOOTH\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_GTK2_TRUE}" && test -z "${COND_GTK2_FALSE}"; then
-  as_fn_error "conditional \"COND_GTK2\" was never defined.
+  as_fn_error $? "conditional \"COND_GTK2\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_GUI_TRUE}" && test -z "${COND_GUI_FALSE}"; then
-  as_fn_error "conditional \"COND_GUI\" was never defined.
+  as_fn_error $? "conditional \"COND_GUI\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_CORE_TRUE}" && test -z "${COND_CORE_FALSE}"; then
-  as_fn_error "conditional \"COND_CORE\" was never defined.
+  as_fn_error $? "conditional \"COND_CORE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_DBUS_TRUE}" && test -z "${COND_DBUS_FALSE}"; then
-  as_fn_error "conditional \"COND_DBUS\" was never defined.
+  as_fn_error $? "conditional \"COND_DBUS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_GIO_GDBUS_TRUE}" && test -z "${COND_GIO_GDBUS_FALSE}"; then
-  as_fn_error "conditional \"COND_GIO_GDBUS\" was never defined.
+  as_fn_error $? "conditional \"COND_GIO_GDBUS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${NOTIFY_COMPATIBILITY_TRUE}" && test -z "${NOTIFY_COMPATIBILITY_FALSE}"; then
-  as_fn_error "conditional \"NOTIFY_COMPATIBILITY\" was never defined.
+  as_fn_error $? "conditional \"NOTIFY_COMPATIBILITY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_DBUS_PIM_TRUE}" && test -z "${COND_DBUS_PIM_FALSE}"; then
-  as_fn_error "conditional \"COND_DBUS_PIM\" was never defined.
+  as_fn_error $? "conditional \"COND_DBUS_PIM\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
 
 
 if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
-  as_fn_error "conditional \"COND_MAN_PAGES\" was never defined.
+  as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_HTML_README_TRUE}" && test -z "${COND_HTML_README_FALSE}"; then
-  as_fn_error "conditional \"COND_HTML_README\" was never defined.
+  as_fn_error $? "conditional \"COND_HTML_README\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_TRUE}" && test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_DOC_TRUE}" && test -z "${COND_DOC_FALSE}"; then
-  as_fn_error "conditional \"COND_DOC\" was never defined.
+  as_fn_error $? "conditional \"COND_DOC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_ACTIVESYNCD_TRUE}" && test -z "${BUILD_ACTIVESYNCD_FALSE}"; then
-  as_fn_error "conditional \"BUILD_ACTIVESYNCD\" was never defined.
+  as_fn_error $? "conditional \"BUILD_ACTIVESYNCD\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_AKONADI_TRUE}" && test -z "${ENABLE_AKONADI_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_AKONADI\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_AKONADI\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_ECAL_TRUE}" && test -z "${ENABLE_ECAL_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_ECAL\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_ECAL\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USE_KDE_KWALLET_TRUE}" && test -z "${USE_KDE_KWALLET_FALSE}"; then
-  as_fn_error "conditional \"USE_KDE_KWALLET\" was never defined.
+  as_fn_error $? "conditional \"USE_KDE_KWALLET\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${NEON_COMPATIBILITY_TRUE}" && test -z "${NEON_COMPATIBILITY_FALSE}"; then
-  as_fn_error "conditional \"NEON_COMPATIBILITY\" was never defined.
+  as_fn_error $? "conditional \"NEON_COMPATIBILITY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_QT_DBUS_TRUE}" && test -z "${ENABLE_QT_DBUS_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_QT_DBUS\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_QT_DBUS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_ICAL_TRUE}" && test -z "${ENABLE_ICAL_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_ICAL\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_ICAL\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_MODULES_TRUE}" && test -z "${ENABLE_MODULES_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_MODULES\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_MODULES\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_EVOLUTION_COMPATIBILITY_TRUE}" && test -z "${ENABLE_EVOLUTION_COMPATIBILITY_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${COND_CROSS_COMPILING_TRUE}" && test -z "${COND_CROSS_COMPILING_FALSE}"; then
-  as_fn_error "conditional \"COND_CROSS_COMPILING\" was never defined.
+  as_fn_error $? "conditional \"COND_CROSS_COMPILING\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
-: ${CONFIG_STATUS=./config.status}
+: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -24700,6 +25574,7 @@ fi
 IFS=" ""       $as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -24745,19 +25620,19 @@ export LANGUAGE
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
+# script with STATUS, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$?; test $as_status -eq 0 && as_status=1
-  if test "$3"; then
-    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi
-  $as_echo "$as_me: error: $1" >&2
+  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -24895,16 +25770,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -24953,7 +25828,7 @@ $as_echo X"$as_dir" |
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
@@ -24964,28 +25839,16 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -25006,8 +25869,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by syncevolution $as_me 1.3.99.3, which was
-generated by GNU Autoconf 2.65.  Invocation command line was
+This file was extended by syncevolution $as_me 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -25072,11 +25935,11 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-syncevolution config.status 1.3.99.3
-configured by $0, generated by GNU Autoconf 2.65,
+syncevolution config.status 1.3.99.3+20130529+SE+b989f69+SYSYNC+3366831
+configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -25094,11 +25957,16 @@ ac_need_defaults=:
 while test $# != 0
 do
   case $1 in
-  --*=*)
+  --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:
     ;;
+  --*=)
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
+    ac_optarg=
+    ac_shift=:
+    ;;
   *)
     ac_option=$1
     ac_optarg=$2
@@ -25120,6 +25988,7 @@ do
     $ac_shift
     case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+    '') as_fn_error $? "missing file argument" ;;
     esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;
@@ -25132,7 +26001,7 @@ do
     ac_need_defaults=false;;
   --he | --h)
     # Conflict between --help and --header
-    as_fn_error "ambiguous option: \`$1'
+    as_fn_error $? "ambiguous option: \`$1'
 Try \`$0 --help' for more information.";;
   --help | --hel | -h )
     $as_echo "$ac_cs_usage"; exit ;;
@@ -25141,7 +26010,7 @@ Try \`$0 --help' for more information.";;
     ac_cs_silent=: ;;
 
   # This is an error.
-  -*) as_fn_error "unrecognized option: \`$1'
+  -*) as_fn_error $? "unrecognized option: \`$1'
 Try \`$0 --help' for more information." ;;
 
   *) as_fn_append ac_config_targets " $1"
@@ -25161,7 +26030,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'
@@ -25195,184 +26064,208 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 sed_quote_subst='$sed_quote_subst'
 double_quote_subst='$double_quote_subst'
 delay_variable_subst='$delay_variable_subst'
-macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
-macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
-enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
-pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
-enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
-host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
-host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
-host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
-build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
-build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
-build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
-SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
-Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
-GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
-EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
-FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
-LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
-NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
-LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
-max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
-ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
-exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
-lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
-lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
-lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
-reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
-reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
-deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
-file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
-AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
-AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
-STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
-RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
-old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
-CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
-compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
-GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
-objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
-SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
-ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
-MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
-need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
-DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
-NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
-LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
-OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
-OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
-libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
-shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
-export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
-allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
-no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
-inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
-link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
-fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
-always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
-export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
-include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
-prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
-variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
-need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
-need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
-version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
-runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
-libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
-library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
-soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
-postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
-sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
-sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
-old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
-striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
-predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
-postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
-predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
-postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
-LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
 LTCC='$LTCC'
 LTCFLAGS='$LTCFLAGS'
 compiler='$compiler_DEFAULT'
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
 # Quote evaled strings.
-for var in SED \
+for var in SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
 GREP \
 EGREP \
 FGREP \
@@ -25385,8 +26278,13 @@ reload_flag \
 OBJDUMP \
 deplibs_check_method \
 file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+DLLTOOL \
+sharedlib_from_linklib_cmd \
 AR \
 AR_FLAGS \
+archiver_list_spec \
 STRIP \
 RANLIB \
 CC \
@@ -25396,14 +26294,14 @@ lt_cv_sys_global_symbol_pipe \
 lt_cv_sys_global_symbol_to_cdecl \
 lt_cv_sys_global_symbol_to_c_name_address \
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
-SHELL \
-ECHO \
+nm_file_list_spec \
 lt_prog_compiler_no_builtin_flag \
-lt_prog_compiler_wl \
 lt_prog_compiler_pic \
+lt_prog_compiler_wl \
 lt_prog_compiler_static \
 lt_cv_prog_compiler_c_o \
 need_locks \
+MANIFEST_TOOL \
 DSYMUTIL \
 NMEDIT \
 LIPO \
@@ -25417,9 +26315,7 @@ with_gnu_ld \
 allow_undefined_flag \
 no_undefined_flag \
 hardcode_libdir_flag_spec \
-hardcode_libdir_flag_spec_ld \
 hardcode_libdir_separator \
-fix_srcfile_path \
 exclude_expsyms \
 include_expsyms \
 file_list_spec \
@@ -25427,6 +26323,7 @@ variables_saved_for_relink \
 libname_spec \
 library_names_spec \
 soname_spec \
+install_override_mode \
 finish_eval \
 old_striplib \
 striplib \
@@ -25437,10 +26334,11 @@ predeps \
 postdeps \
 compiler_lib_search_path \
 LD_CXX \
+reload_flag_CXX \
 compiler_CXX \
 lt_prog_compiler_no_builtin_flag_CXX \
-lt_prog_compiler_wl_CXX \
 lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
 lt_prog_compiler_static_CXX \
 lt_cv_prog_compiler_c_o_CXX \
 export_dynamic_flag_spec_CXX \
@@ -25450,9 +26348,7 @@ with_gnu_ld_CXX \
 allow_undefined_flag_CXX \
 no_undefined_flag_CXX \
 hardcode_libdir_flag_spec_CXX \
-hardcode_libdir_flag_spec_ld_CXX \
 hardcode_libdir_separator_CXX \
-fix_srcfile_path_CXX \
 exclude_expsyms_CXX \
 include_expsyms_CXX \
 file_list_spec_CXX \
@@ -25462,9 +26358,9 @@ postdep_objects_CXX \
 predeps_CXX \
 postdeps_CXX \
 compiler_lib_search_path_CXX; do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -25486,11 +26382,13 @@ module_cmds \
 module_expsym_cmds \
 export_symbols_cmds \
 prelink_cmds \
+postlink_cmds \
 postinstall_cmds \
 postuninstall_cmds \
 finish_cmds \
 sys_lib_search_path_spec \
 sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
 old_archive_cmds_CXX \
 old_archive_from_new_cmds_CXX \
 old_archive_from_expsyms_cmds_CXX \
@@ -25499,10 +26397,11 @@ archive_expsym_cmds_CXX \
 module_cmds_CXX \
 module_expsym_cmds_CXX \
 export_symbols_cmds_CXX \
-prelink_cmds_CXX; do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -25510,12 +26409,6 @@ prelink_cmds_CXX; do
     esac
 done
 
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
-  ;;
-esac
-
 ac_aux_dir='$ac_aux_dir'
 xsi_shell='$xsi_shell'
 lt_shell_append='$lt_shell_append'
@@ -25559,7 +26452,7 @@ do
     "src/dbus/glib/syncevo-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/glib/syncevo-dbus.pc" ;;
     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
-  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp=
+  tmp= ac_tmp=
   trap 'exit_status=$?
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+  : "${ac_tmp:=$tmp}"
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0
   trap 'as_fn_exit 1' 1 2 13 15
 }
@@ -25592,12 +26486,13 @@ $debug ||
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
+  test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
 
 # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.
@@ -25614,12 +26509,12 @@ if test "x$ac_cr" = x; then
 fi
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\r'
+  ac_cs_awk_cr='\\r'
 else
   ac_cs_awk_cr=$ac_cr
 fi
 
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF
 
 
@@ -25628,18 +26523,18 @@ _ACEOF
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   echo "_ACEOF"
 } >conf$$subs.sh ||
-  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   . ./conf$$subs.sh ||
-    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   if test $ac_delim_n = $ac_delim_num; then
     break
   elif $ac_last_try; then
-    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -25647,7 +26542,7 @@ done
 rm -f conf$$subs.sh
 
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
 sed -n '
 h
@@ -25695,7 +26590,7 @@ t delim
 rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1
   FS = "\a"
 
@@ -25727,21 +26622,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else
   cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
-  || as_fn_error "could not setup config files machinery" "$LINENO" 5
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF
 
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then
-  ac_vpsub='/^[         ]*VPATH[        ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[    ]*\):*/\1/
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
+h
+s///
+s/^/:/
+s/[     ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
 s/:*$//
+x
+s/\(=[  ]*\).*/\1/
+G
+s/\n//
 s/^[^=]*=[      ]*$//
 }'
 fi
@@ -25753,7 +26656,7 @@ fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then
-cat >"$tmp/defines.awk" <<\_ACAWK ||
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {
 _ACEOF
 
@@ -25765,11 +26668,11 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_t"; then
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
     break
   elif $ac_last_try; then
-    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -25854,7 +26757,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-  as_fn_error "could not setup config headers machinery" "$LINENO" 5
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 fi # test -n "$CONFIG_HEADERS"
 
 
@@ -25867,7 +26770,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -25886,7 +26789,7 @@ do
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$tmp/stdin";;
+      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
         # because $ac_f cannot contain `:'.
@@ -25895,7 +26798,7 @@ do
           [\\/$]*) false;;
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
           esac ||
-          as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+          as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"
@@ -25921,8 +26824,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
     esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$tmp/stdin" \
-      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -26058,23 +26961,24 @@ s&@INSTALL@&$ac_INSTALL&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack
 "
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
-  || as_fn_error "could not create $ac_file" "$LINENO" 5
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&5
+which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&2;}
+which seems to be undefined.  Please make sure it is defined" >&2;}
 
-  rm -f "$tmp/stdin"
+  rm -f "$ac_tmp/stdin"
   case $ac_file in
-  -) cat "$tmp/out" && rm -f "$tmp/out";;
-  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \
-  || as_fn_error "could not create $ac_file" "$LINENO" 5
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;
   :H)
   #
@@ -26083,21 +26987,21 @@ which seems to be undefined.  Please make sure it is defined." >&2;}
   if test x"$ac_file" != x-; then
     {
       $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
-    } >"$tmp/config.h" \
-      || as_fn_error "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+    } >"$ac_tmp/config.h" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
       rm -f "$ac_file"
-      mv "$tmp/config.h" "$ac_file" \
-       || as_fn_error "could not create $ac_file" "$LINENO" 5
+      mv "$ac_tmp/config.h" "$ac_file" \
+       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi
   else
     $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
-      || as_fn_error "could not create -" "$LINENO" 5
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+      || as_fn_error $? "could not create -" "$LINENO" 5
   fi
 # Compute "$ac_file"'s index in $config_headers.
 _am_arg="$ac_file"
@@ -26258,7 +27162,8 @@ $as_echo X"$file" |
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 #   This file is part of GNU Libtool.
@@ -26306,6 +27211,15 @@ pic_mode=$pic_mode
 # Whether or not to optimize for fast installation.
 fast_install=$enable_fast_install
 
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
 # The host system.
 host_alias=$host_alias
 host=$host
@@ -26355,9 +27269,11 @@ SP2NL=$lt_lt_SP2NL
 # turn newlines into spaces.
 NL2SP=$lt_lt_NL2SP
 
-# How to create reloadable object files.
-reload_flag=$lt_reload_flag
-reload_cmds=$lt_reload_cmds
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
 # An object symbol dumper.
 OBJDUMP=$lt_OBJDUMP
@@ -26365,13 +27281,30 @@ OBJDUMP=$lt_OBJDUMP
 # Method to check whether dependent libraries are shared objects.
 deplibs_check_method=$lt_deplibs_check_method
 
-# Command to use when deplibs_check_method == "file_magic".
+# Command to use when deplibs_check_method = "file_magic".
 file_magic_cmd=$lt_file_magic_cmd
 
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
 # The archiver.
 AR=$lt_AR
+
+# Flags to create an archive.
 AR_FLAGS=$lt_AR_FLAGS
 
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
 # A symbol stripping program.
 STRIP=$lt_STRIP
 
@@ -26380,6 +27313,9 @@ RANLIB=$lt_RANLIB
 old_postinstall_cmds=$lt_old_postinstall_cmds
 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
 # A C compiler.
 LTCC=$lt_CC
 
@@ -26398,14 +27334,14 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 # Transform the output of nm in a C name address pair when lib prefix is needed.
 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
-# The name of the directory that contains temporary libtool files.
-objdir=$objdir
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
 
-# Shell to use when invoking shell scripts.
-SHELL=$lt_SHELL
+# The root where to search for dependent libraries,and in which our libraries should be installed.
+lt_sysroot=$lt_sysroot
 
-# An echo program that does not interpret backslashes.
-ECHO=$lt_ECHO
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
 
 # Used to examine libraries when file_magic_cmd begins with "file".
 MAGIC_CMD=$MAGIC_CMD
@@ -26413,6 +27349,9 @@ MAGIC_CMD=$MAGIC_CMD
 # Must we lock files when doing compilation?
 need_locks=$lt_need_locks
 
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 DSYMUTIL=$lt_DSYMUTIL
 
@@ -26469,6 +27408,9 @@ library_names_spec=$lt_library_names_spec
 # The coded name of the library, if different from the real name.
 soname_spec=$lt_soname_spec
 
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
 # Command to use after installation of a shared archive.
 postinstall_cmds=$lt_postinstall_cmds
 
@@ -26508,6 +27450,10 @@ striplib=$lt_striplib
 # The linker used to build libraries.
 LD=$lt_LD
 
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
 # Commands used to build an old-style archive.
 old_archive_cmds=$lt_old_archive_cmds
 
@@ -26520,12 +27466,12 @@ with_gcc=$GCC
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
-# How to pass a linker flag through the compiler.
-wl=$lt_lt_prog_compiler_wl
-
 # Additional compiler flags for building library objects.
 pic_flag=$lt_lt_prog_compiler_pic
 
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
 # Compiler flag to prevent dynamic linking.
 link_static_flag=$lt_lt_prog_compiler_static
 
@@ -26575,10 +27521,6 @@ no_undefined_flag=$lt_no_undefined_flag
 # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
-# If ld is used when linking, flag to hardcode \$libdir into a binary
-# during linking.  This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
-
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
@@ -26612,9 +27554,6 @@ inherit_rpath=$inherit_rpath
 # Whether libtool must link a program against all its dependency libraries.
 link_all_deplibs=$link_all_deplibs
 
-# Fix the shell variable \$srcfile for the compiler.
-fix_srcfile_path=$lt_fix_srcfile_path
-
 # Set to "yes" if exported symbols are required.
 always_export_symbols=$always_export_symbols
 
@@ -26630,6 +27569,9 @@ include_expsyms=$lt_include_expsyms
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=$lt_prelink_cmds
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
 # Specify filename containing input files.
 file_list_spec=$lt_file_list_spec
 
@@ -26676,212 +27618,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   # text mode, it properly converts lines to CR/LF.  This bash problem
   # is reportedly fixed, but why not run on old versions too?
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  case $xsi_shell in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result="${1##*/}"
-}
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-func_stripname ()
-{
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
-  esac
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $* ))
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=${#1}
-}
-
-_LT_EOF
-    ;;
-  *) # Bourne compatible functions.
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
-
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-  case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
-  esac
-}
-
-# sed scripts:
-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
-my_sed_long_arg='1s/^-[^=]*=//'
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=`expr "$@"`
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
-}
-
-_LT_EOF
-esac
-
-case $lt_shell_append in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$1+=\$2"
-}
-_LT_EOF
-    ;;
-  *)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$1=\$$1\$2"
-}
-
-_LT_EOF
-    ;;
-  esac
-
-
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  mv -f "$cfgfile" "$ofile" ||
+  sed '$q' "$ltmain" >> "$cfgfile" \
+     || (rm -f "$cfgfile"; exit 1)
+
+  if test x"$xsi_shell" = xyes; then
+  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
+func_dirname ()\
+{\
+\    case ${1} in\
+\      */*) func_dirname_result="${1%/*}${2}" ;;\
+\      *  ) func_dirname_result="${3}" ;;\
+\    esac\
+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_basename ()$/,/^} # func_basename /c\
+func_basename ()\
+{\
+\    func_basename_result="${1##*/}"\
+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
+func_dirname_and_basename ()\
+{\
+\    case ${1} in\
+\      */*) func_dirname_result="${1%/*}${2}" ;;\
+\      *  ) func_dirname_result="${3}" ;;\
+\    esac\
+\    func_basename_result="${1##*/}"\
+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
+func_stripname ()\
+{\
+\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
+\    # positional parameters, so assign one to ordinary parameter first.\
+\    func_stripname_result=${3}\
+\    func_stripname_result=${func_stripname_result#"${1}"}\
+\    func_stripname_result=${func_stripname_result%"${2}"}\
+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
+func_split_long_opt ()\
+{\
+\    func_split_long_opt_name=${1%%=*}\
+\    func_split_long_opt_arg=${1#*=}\
+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
+func_split_short_opt ()\
+{\
+\    func_split_short_opt_arg=${1#??}\
+\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
+func_lo2o ()\
+{\
+\    case ${1} in\
+\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
+\      *)    func_lo2o_result=${1} ;;\
+\    esac\
+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_xform ()$/,/^} # func_xform /c\
+func_xform ()\
+{\
+    func_xform_result=${1%.*}.lo\
+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_arith ()$/,/^} # func_arith /c\
+func_arith ()\
+{\
+    func_arith_result=$(( $* ))\
+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_len ()$/,/^} # func_len /c\
+func_len ()\
+{\
+    func_len_result=${#1}\
+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+fi
+
+if test x"$lt_shell_append" = xyes; then
+  sed -e '/^func_append ()$/,/^} # func_append /c\
+func_append ()\
+{\
+    eval "${1}+=\\${2}"\
+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
+func_append_quoted ()\
+{\
+\    func_quote_for_eval "${2}"\
+\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  # Save a `func_append' function call where possible by direct use of '+='
+  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+else
+  # Save a `func_append' function call even when '+=' is not available
+  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+fi
+
+if test x"$_lt_function_replace_fail" = x":"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
+fi
+
+
+   mv -f "$cfgfile" "$ofile" ||
     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   chmod +x "$ofile"
 
@@ -26893,6 +27792,10 @@ _LT_EOF
 # The linker used to build libraries.
 LD=$lt_LD_CXX
 
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
 # Commands used to build an old-style archive.
 old_archive_cmds=$lt_old_archive_cmds_CXX
 
@@ -26905,12 +27808,12 @@ with_gcc=$GCC_CXX
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
-# How to pass a linker flag through the compiler.
-wl=$lt_lt_prog_compiler_wl_CXX
-
 # Additional compiler flags for building library objects.
 pic_flag=$lt_lt_prog_compiler_pic_CXX
 
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
 # Compiler flag to prevent dynamic linking.
 link_static_flag=$lt_lt_prog_compiler_static_CXX
 
@@ -26960,10 +27863,6 @@ no_undefined_flag=$lt_no_undefined_flag_CXX
 # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
-# If ld is used when linking, flag to hardcode \$libdir into a binary
-# during linking.  This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
-
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
@@ -26997,9 +27896,6 @@ inherit_rpath=$inherit_rpath_CXX
 # Whether libtool must link a program against all its dependency libraries.
 link_all_deplibs=$link_all_deplibs_CXX
 
-# Fix the shell variable \$srcfile for the compiler.
-fix_srcfile_path=$lt_fix_srcfile_path_CXX
-
 # Set to "yes" if exported symbols are required.
 always_export_symbols=$always_export_symbols_CXX
 
@@ -27015,6 +27911,9 @@ include_expsyms=$lt_include_expsyms_CXX
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=$lt_prelink_cmds_CXX
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
 # Specify filename containing input files.
 file_list_spec=$lt_file_list_spec_CXX
 
@@ -27044,7 +27943,7 @@ _LT_EOF
       esac ;;
     "po/stamp-it":C)
     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
-       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
+       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
     fi
     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
     >"po/stamp-it.tmp"
@@ -27072,7 +27971,7 @@ _ACEOF
 ac_clean_files=$ac_clean_files_save
 
 test $ac_write_fail = 0 ||
-  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
 
 # configure is writing to config.log, and then calls config.status.
@@ -27093,7 +27992,7 @@ if test "$no_create" != yes; then
   exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit $?
+  $ac_cs_success || as_fn_exit 1
 fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
index be78493..7b6c170 100644 (file)
@@ -25,7 +25,7 @@ SE_CHECK_FOR_STABLE_RELEASE
 
 # Minimum version of libsynthesis as defined in its
 # configure script and thus .pc files:
-define([SYNTHESIS_MIN_VERSION], [3.4.0.16.8])
+define([SYNTHESIS_MIN_VERSION], [3.4.0.16.9])
 
 # Line above is patched by gen-autotools.sh. Handle
 # both "yes" and "no".
@@ -555,6 +555,8 @@ if test $enable_dbus_service = "yes"; then
                         # to go to the start of the link line).
                         DBUS_PIM_PLUGIN_LIBS='$(BOOST_LDFLAGS) $(BOOST_LOCALE_LIB)'
                         DBUS_PIM_PLUGIN_LDFLAGS=
+                        # We need to call ICU directly for the Han->Latin transformation.
+                        PKG_CHECK_MODULES(ICU, [icu-uc])
                         ;;
                 esac
                 AC_SUBST(DBUS_PIM_PLUGIN_CFLAGS)
@@ -831,7 +833,7 @@ if test $SYNTHESIS_SRC != "no-synthesis-source"; then
     export PKG_CONFIG_PATH=$SYNTHESIS_SUBDIR:$PKG_CONFIG_PATH
     PKG_CHECK_MODULES([WITH_SYNTHESIS_SRC], [synthesis >= SYNTHESIS_MIN_VERSION],
                       [],
-                      [AC_MSG_ERROR([need at least libsynthesis >= SYNTHESIS_MIN_VERSION; the latest libsynthesis for SyncEvolution is the one from http://meego.gitorious.org/meego-middleware/libsynthesis])])
+                      [AC_MSG_ERROR([need at least libsynthesis >= SYNTHESIS_MIN_VERSION; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/])])
 
 fi
 
diff --git a/depcomp b/depcomp
index df8eea7..25a39e6 100755 (executable)
--- a/depcomp
+++ b/depcomp
@@ -1,10 +1,10 @@
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-03-27.16; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
-# Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
+# 2011, 2012 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@ scriptversion=2009-04-28.21; # UTC
 
 case $1 in
   '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
      exit 1;
      ;;
   -h | --h*)
@@ -40,11 +40,11 @@ as side-effects.
 
 Environment variables:
   depmode     Dependency tracking mode.
-  source      Source file read by `PROGRAMS ARGS'.
-  object      Object file output by `PROGRAMS ARGS'.
+  source      Source file read by 'PROGRAMS ARGS'.
+  object      Object file output by 'PROGRAMS ARGS'.
   DEPDIR      directory where to store dependencies.
   depfile     Dependency file to output.
-  tmpdepfile  Temporary file to use when outputing dependencies.
+  tmpdepfile  Temporary file to use when outputting dependencies.
   libtool     Whether libtool is used (yes/no).
 
 Report bugs to <bug-automake@gnu.org>.
@@ -57,6 +57,12 @@ EOF
     ;;
 esac
 
+# A tabulation character.
+tab='  '
+# A newline character.
+nl='
+'
+
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
   exit 1
@@ -90,10 +96,24 @@ if test "$depmode" = msvcmsys; then
    # This is just like msvisualcpp but w/o cygpath translation.
    # Just convert the backslash-escaped backslashes to single forward
    # slashes to satisfy depend.m4
-   cygpath_u="sed s,\\\\\\\\,/,g"
+   cygpath_u='sed s,\\\\,/,g'
    depmode=msvisualcpp
 fi
 
+if test "$depmode" = msvc7msys; then
+   # This is just like msvc7 but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,\\\\,/,g'
+   depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
+   gccflag=-qmakedep=gcc,-MF
+   depmode=gcc
+fi
+
 case "$depmode" in
 gcc3)
 ## gcc 3 implements dependency tracking that does exactly what
@@ -148,20 +168,21 @@ gcc)
 ## The second -e expression handles DOS-style file names with drive letters.
   sed -e 's/^[^:]*: / /' \
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
-## This next piece of magic avoids the `deleted header file' problem.
+## This next piece of magic avoids the "deleted header file" problem.
 ## The problem is that when a header file which appears in a .P file
 ## is deleted, the dependency causes make to die (because there is
 ## typically no way to rebuild the header).  We avoid this by adding
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
 ## this for us directly.
-  tr ' ' '
-' < "$tmpdepfile" |
-## Some versions of gcc put a space before the `:'.  On the theory
+  tr ' ' "$nl" < "$tmpdepfile" |
+## Some versions of gcc put a space before the ':'.  On the theory
 ## that the space means something, we add a space to the output as
-## well.
+## well.  hp depmode also adds that space, but also prefixes the VPATH
+## to the object.  Take care to not repeat it in the output.
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+      | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -193,18 +214,15 @@ sgi)
     # clever and replace this with sed code, as IRIX sed won't handle
     # lines with more than a fixed number of characters (4096 in
     # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
-    # the IRIX cc adds comments like `#:fec' to the end of the
+    # the IRIX cc adds comments like '#:fec' to the end of the
     # dependency line.
-    tr ' ' '
-' < "$tmpdepfile" \
+    tr ' ' "$nl" < "$tmpdepfile" \
     | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
-    tr '
-' ' ' >> "$depfile"
+    tr "$nl" ' ' >> "$depfile"
     echo >> "$depfile"
 
     # The second pass generates a dummy entry for each header file.
-    tr ' ' '
-' < "$tmpdepfile" \
+    tr ' ' "$nl" < "$tmpdepfile" \
    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
    >> "$depfile"
   else
@@ -216,10 +234,17 @@ sgi)
   rm -f "$tmpdepfile"
   ;;
 
+xlc)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
+
 aix)
   # The C for AIX Compiler uses -M and outputs the dependencies
   # in a .u file.  In older versions, this file always lives in the
-  # current directory.  Also, the AIX compiler puts `$object:' at the
+  # current directory.  Also, the AIX compiler puts '$object:' at the
   # start of each line; $object doesn't have directory information.
   # Version 6 uses the directory in both cases.
   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
@@ -249,12 +274,11 @@ aix)
     test -f "$tmpdepfile" && break
   done
   if test -f "$tmpdepfile"; then
-    # Each line is of the form `foo.o: dependent.h'.
+    # Each line is of the form 'foo.o: dependent.h'.
     # Do two passes, one to just change these to
-    # `$object: dependent.h' and one to simply `dependent.h:'.
+    # '$object: dependent.h' and one to simply 'dependent.h:'.
     sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-    # That's a tab and a space in the [].
-    sed -e 's,^.*\.[a-z]*:[     ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
   else
     # The sourcefile does not contain any dependencies, so just
     # store a dummy comment line, to avoid errors with the Makefile
@@ -265,23 +289,26 @@ aix)
   ;;
 
 icc)
-  # Intel's C compiler understands `-MD -MF file'.  However on
-  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
+  # However on
+  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
   # ICC 7.0 will fill foo.d with something like
   #    foo.o: sub/foo.c
   #    foo.o: sub/foo.h
-  # which is wrong.  We want:
+  # which is wrong.  We want
   #    sub/foo.o: sub/foo.c
   #    sub/foo.o: sub/foo.h
   #    sub/foo.c:
   #    sub/foo.h:
   # ICC 7.1 will output
   #    foo.o: sub/foo.c sub/foo.h
-  # and will wrap long lines using :
+  # and will wrap long lines using '\':
   #    foo.o: sub/foo.c ... \
   #     sub/foo.h ... \
   #     ...
-
+  # tcc 0.9.26 (FIXME still under development at the moment of writing)
+  # will emit a similar output, but also prepend the continuation lines
+  # with horizontal tabulation characters.
   "$@" -MD -MF "$tmpdepfile"
   stat=$?
   if test $stat -eq 0; then :
@@ -290,15 +317,21 @@ icc)
     exit $stat
   fi
   rm -f "$depfile"
-  # Each line is of the form `foo.o: dependent.h',
-  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+  # Each line is of the form 'foo.o: dependent.h',
+  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
   # Do two passes, one to just change these to
-  # `$object: dependent.h' and one to simply `dependent.h:'.
-  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
-  # Some versions of the HPUX 10.20 sed can't process this invocation
-  # correctly.  Breaking it into two sed invocations is a workaround.
-  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
-    sed -e 's/$/ :/' >> "$depfile"
+  # '$object: dependent.h' and one to simply 'dependent.h:'.
+  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
+    < "$tmpdepfile" > "$depfile"
+  sed '
+    s/[ '"$tab"'][ '"$tab"']*/ /g
+    s/^ *//
+    s/ *\\*$//
+    s/^[^:]*: *//
+    /^$/d
+    /:$/d
+    s/$/ :/
+  ' < "$tmpdepfile" >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -334,7 +367,7 @@ hp2)
   done
   if test -f "$tmpdepfile"; then
     sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
-    # Add `dependent.h:' lines.
+    # Add 'dependent.h:' lines.
     sed -ne '2,${
               s/^ *//
               s/ \\*$//
@@ -349,9 +382,9 @@ hp2)
 
 tru64)
    # The Tru64 compiler uses -MD to generate dependencies as a side
-   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
+   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
    # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
-   # dependencies in `foo.d' instead, so we check for that too.
+   # dependencies in 'foo.d' instead, so we check for that too.
    # Subdirectories are respected.
    dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
    test "x$dir" = "x$object" && dir=
@@ -397,14 +430,59 @@ tru64)
    done
    if test -f "$tmpdepfile"; then
       sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-      # That's a tab and a space in the [].
-      sed -e 's,^.*\.[a-z]*:[   ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
    else
       echo "#dummy" > "$depfile"
    fi
    rm -f "$tmpdepfile"
    ;;
 
+msvc7)
+  if test "$libtool" = yes; then
+    showIncludes=-Wc,-showIncludes
+  else
+    showIncludes=-showIncludes
+  fi
+  "$@" $showIncludes > "$tmpdepfile"
+  stat=$?
+  grep -v '^Note: including file: ' "$tmpdepfile"
+  if test "$stat" = 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  rm -f "$depfile"
+  echo "$object : \\" > "$depfile"
+  # The first sed program below extracts the file names and escapes
+  # backslashes for cygpath.  The second sed program outputs the file
+  # name when reading, but also accumulates all include files in the
+  # hold buffer in order to output them again at the end.  This only
+  # works with sed implementations that can handle large buffers.
+  sed < "$tmpdepfile" -n '
+/^Note: including file:  *\(.*\)/ {
+  s//\1/
+  s/\\/\\\\/g
+  p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+  s/.*/'"$tab"'/
+  G
+  p
+}' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+msvc7msys)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
+
 #nosideeffect)
   # This comment above is used by automake to tell side-effect
   # dependency tracking mechanisms from slower ones.
@@ -422,7 +500,7 @@ dashmstdout)
     shift
   fi
 
-  # Remove `-o $object'.
+  # Remove '-o $object'.
   IFS=" "
   for arg
   do
@@ -442,15 +520,14 @@ dashmstdout)
   done
 
   test -z "$dashmflag" && dashmflag=-M
-  # Require at least two characters before searching for `:'
+  # Require at least two characters before searching for ':'
   # in the target name.  This is to cope with DOS-style filenames:
-  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
+  # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
   "$@" $dashmflag |
-    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
+    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
   rm -f "$depfile"
   cat < "$tmpdepfile" > "$depfile"
-  tr ' ' '
-' < "$tmpdepfile" | \
+  tr ' ' "$nl" < "$tmpdepfile" | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
     sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -503,9 +580,10 @@ makedepend)
   touch "$tmpdepfile"
   ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
   rm -f "$depfile"
-  cat < "$tmpdepfile" > "$depfile"
-  sed '1,2d' "$tmpdepfile" | tr ' ' '
-' | \
+  # makedepend may prepend the VPATH from the source file name to the object.
+  # No need to regex-escape $object, excess matching of '.' is harmless.
+  sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
     sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -525,7 +603,7 @@ cpp)
     shift
   fi
 
-  # Remove `-o $object'.
+  # Remove '-o $object'.
   IFS=" "
   for arg
   do
@@ -594,8 +672,8 @@ msvisualcpp)
   sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
   rm -f "$depfile"
   echo "$object : \\" > "$depfile"
-  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::     \1 \\:p' >> "$depfile"
-  echo "       " >> "$depfile"
+  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+  echo "$tab" >> "$depfile"
   sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
index 6781b98..a9244eb 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2011-01-19.21; # UTC
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -156,6 +156,10 @@ while test $# -ne 0; do
     -s) stripcmd=$stripprog;;
 
     -t) dst_arg=$2
+       # Protect names problematic for `test' and other utilities.
+       case $dst_arg in
+         -* | [=\(\)!]) dst_arg=./$dst_arg;;
+       esac
        shift;;
 
     -T) no_target_directory=true;;
@@ -186,6 +190,10 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
     fi
     shift # arg
     dst_arg=$arg
+    # Protect names problematic for `test' and other utilities.
+    case $dst_arg in
+      -* | [=\(\)!]) dst_arg=./$dst_arg;;
+    esac
   done
 fi
 
@@ -200,7 +208,11 @@ if test $# -eq 0; then
 fi
 
 if test -z "$dir_arg"; then
-  trap '(exit $?); exit' 1 2 13 15
+  do_exit='(exit $ret); exit $ret'
+  trap "ret=129; $do_exit" 1
+  trap "ret=130; $do_exit" 2
+  trap "ret=141; $do_exit" 13
+  trap "ret=143; $do_exit" 15
 
   # Set umask so as not to create temps with too-generous modes.
   # However, 'strip' requires both read and write access to temps.
@@ -228,9 +240,9 @@ fi
 
 for src
 do
-  # Protect names starting with `-'.
+  # Protect names problematic for `test' and other utilities.
   case $src in
-    -*) src=./$src;;
+    -* | [=\(\)!]) src=./$src;;
   esac
 
   if test -n "$dir_arg"; then
@@ -252,12 +264,7 @@ do
       echo "$0: no destination specified." >&2
       exit 1
     fi
-
     dst=$dst_arg
-    # Protect names starting with `-'.
-    case $dst in
-      -*) dst=./$dst;;
-    esac
 
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
@@ -385,7 +392,7 @@ do
 
       case $dstdir in
        /*) prefix='/';;
-       -*) prefix='./';;
+       [-=\(\)!]*) prefix='./';;
        *)  prefix='';;
       esac
 
@@ -403,7 +410,7 @@ do
 
       for d
       do
-       test -z "$d" && continue
+       test X"$d" = X && continue
 
        prefix=$prefix$d
        if test -d "$prefix"; then
old mode 100755 (executable)
new mode 100644 (file)
index 7ed280b..33f642a
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1,9 +1,9 @@
-# Generated from ltmain.m4sh.
 
-# ltmain.sh (GNU libtool) 2.2.6b
+# libtool (GNU libtool) 2.4.2
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 #
 # Provide generalized library-building support services.
 #
-#     --config             show all configuration variables
-#     --debug              enable verbose shell tracing
-# -n, --dry-run            display commands without modifying any files
-#     --features           display basic configuration information and exit
-#     --mode=MODE          use operation mode MODE
-#     --preserve-dup-deps  don't remove duplicate dependency libraries
-#     --quiet, --silent    don't print informational messages
-#     --tag=TAG            use configuration variables from tag TAG
-# -v, --verbose            print informational messages (default)
-#     --version            print version information
-# -h, --help               print short or long help message
+#       --config             show all configuration variables
+#       --debug              enable verbose shell tracing
+#   -n, --dry-run            display commands without modifying any files
+#       --features           display basic configuration information and exit
+#       --mode=MODE          use operation mode MODE
+#       --preserve-dup-deps  don't remove duplicate dependency libraries
+#       --quiet, --silent    don't print informational messages
+#       --no-quiet, --no-silent
+#                            print informational messages (default)
+#       --no-warn            don't display warning messages
+#       --tag=TAG            use configuration variables from tag TAG
+#   -v, --verbose            print more informational messages than default
+#       --no-verbose         don't print the extra informational messages
+#       --version            print version information
+#   -h, --help, --help-all   print short, long, or detailed help message
 #
 # MODE must be one of the following:
 #
-#       clean              remove files from the build directory
-#       compile            compile a source file into a libtool object
-#       execute            automatically set library path, then run a program
-#       finish             complete the installation of libtool libraries
-#       install            install libraries or executables
-#       link               create a library or an executable
-#       uninstall          remove libraries from an installed directory
+#         clean              remove files from the build directory
+#         compile            compile a source file into a libtool object
+#         execute            automatically set library path, then run a program
+#         finish             complete the installation of libtool libraries
+#         install            install libraries or executables
+#         link               create a library or an executable
+#         uninstall          remove libraries from an installed directory
 #
-# MODE-ARGS vary depending on the MODE.
+# MODE-ARGS vary depending on the MODE.  When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
 #
 # When reporting a bug, please describe a test case to reproduce it and
 # include the following information:
 #
-#       host-triplet:  $host
-#       shell:         $SHELL
-#       compiler:              $LTCC
-#       compiler flags:                $LTCFLAGS
-#       linker:                $LD (gnu? $with_gnu_ld)
-#       $progname:             (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
-#       automake:              $automake_version
-#       autoconf:              $autoconf_version
+#         host-triplet:        $host
+#         shell:               $SHELL
+#         compiler:            $LTCC
+#         compiler flags:              $LTCFLAGS
+#         linker:              $LD (gnu? $with_gnu_ld)
+#         $progname:   (GNU libtool) 2.4.2 Debian-2.4.2-1.1
+#         automake:    $automake_version
+#         autoconf:    $autoconf_version
 #
 # Report bugs to <bug-libtool@gnu.org>.
+# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
 
-PROGRAM=ltmain.sh
+PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
+VERSION="2.4.2 Debian-2.4.2-1.1"
 TIMESTAMP=""
-package_revision=1.3017
+package_revision=1.3337
 
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -91,10 +98,15 @@ fi
 BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
 # NLS nuisances: We save the old values to restore during execute mode.
-# Only set LANG and LC_ALL to C if already set.
-# These must not be set unconditionally because not all systems understand
-# e.g. LANG=C (notably SCO).
 lt_user_locale=
 lt_safe_locale=
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
@@ -107,24 +119,28 @@ do
          lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
        fi"
 done
+LC_ALL=C
+LANGUAGE=C
+export LANGUAGE LC_ALL
 
 $lt_unset CDPATH
 
 
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath="$0"
 
 
 
 : ${CP="cp -f"}
-: ${ECHO="echo"}
-: ${EGREP="/bin/grep -E"}
-: ${FGREP="/bin/grep -F"}
-: ${GREP="/bin/grep"}
-: ${LN_S="ln -s"}
+test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
-: ${SED="/bin/sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 
@@ -144,6 +160,27 @@ IFS="      $lt_nl"
 dirname="s,/[^/]*$,,"
 basename="s,^.*/,,"
 
+# func_dirname file append nondir_replacement
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+func_dirname ()
+{
+    func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+    if test "X$func_dirname_result" = "X${1}"; then
+      func_dirname_result="${3}"
+    else
+      func_dirname_result="$func_dirname_result${2}"
+    fi
+} # func_dirname may be replaced by extended shell implementation
+
+
+# func_basename file
+func_basename ()
+{
+    func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+} # func_basename may be replaced by extended shell implementation
+
+
 # func_dirname_and_basename file append nondir_replacement
 # perform func_basename and func_dirname in a single function
 # call:
@@ -158,33 +195,183 @@ basename="s,^.*/,,"
 # those functions but instead duplicate the functionality here.
 func_dirname_and_basename ()
 {
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
+    # Extract subdirectory from the argument.
+    func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
+    if test "X$func_dirname_result" = "X${1}"; then
+      func_dirname_result="${3}"
+    else
+      func_dirname_result="$func_dirname_result${2}"
+    fi
+    func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
+} # func_dirname_and_basename may be replaced by extended shell implementation
+
+
+# func_stripname prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+# func_strip_suffix prefix name
+func_stripname ()
+{
+    case ${2} in
+      .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+      *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+    esac
+} # func_stripname may be replaced by extended shell implementation
+
+
+# These SED scripts presuppose an absolute path with a trailing slash.
+pathcar='s,^/\([^/]*\).*$,\1,'
+pathcdr='s,^/[^/]*,,'
+removedotparts=':dotsl
+               s@/\./@/@g
+               t dotsl
+               s,/\.$,/,'
+collapseslashes='s@/\{1,\}@/@g'
+finalslash='s,/*$,/,'
+
+# func_normal_abspath PATH
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+#             value returned in "$func_normal_abspath_result"
+func_normal_abspath ()
+{
+  # Start from root dir and reassemble the path.
+  func_normal_abspath_result=
+  func_normal_abspath_tpath=$1
+  func_normal_abspath_altnamespace=
+  case $func_normal_abspath_tpath in
+    "")
+      # Empty path, that just means $cwd.
+      func_stripname '' '/' "`pwd`"
+      func_normal_abspath_result=$func_stripname_result
+      return
+    ;;
+    # The next three entries are used to spot a run of precisely
+    # two leading slashes without using negated character classes;
+    # we take advantage of case's first-match behaviour.
+    ///*)
+      # Unusual form of absolute path, do nothing.
+    ;;
+    //*)
+      # Not necessarily an ordinary path; POSIX reserves leading '//'
+      # and for example Cygwin uses it to access remote file shares
+      # over CIFS/SMB, so we conserve a leading double slash if found.
+      func_normal_abspath_altnamespace=/
+    ;;
+    /*)
+      # Absolute path, do nothing.
+    ;;
+    *)
+      # Relative path, prepend $cwd.
+      func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+    ;;
+  esac
+  # Cancel out all the simple stuff to save iterations.  We also want
+  # the path to end with a slash for ease of parsing, so make sure
+  # there is one (and only one) here.
+  func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
+  while :; do
+    # Processed it all yet?
+    if test "$func_normal_abspath_tpath" = / ; then
+      # If we ascended to the root using ".." the result may be empty now.
+      if test -z "$func_normal_abspath_result" ; then
+        func_normal_abspath_result=/
+      fi
+      break
+    fi
+    func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcar"`
+    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcdr"`
+    # Figure out what to do with it
+    case $func_normal_abspath_tcomponent in
+      "")
+        # Trailing empty path component, ignore it.
+      ;;
+      ..)
+        # Parent dir; strip last assembled component from result.
+        func_dirname "$func_normal_abspath_result"
+        func_normal_abspath_result=$func_dirname_result
+      ;;
+      *)
+        # Actual path component, append it.
+        func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
+      ;;
+    esac
+  done
+  # Restore leading double-slash if one was found on entry.
+  func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
 }
 
-# Generated shell functions inserted here.
+# func_relative_path SRCDIR DSTDIR
+# generates a relative path from SRCDIR to DSTDIR, with a trailing
+# slash if non-empty, suitable for immediately appending a filename
+# without needing to append a separator.
+#             value returned in "$func_relative_path_result"
+func_relative_path ()
+{
+  func_relative_path_result=
+  func_normal_abspath "$1"
+  func_relative_path_tlibdir=$func_normal_abspath_result
+  func_normal_abspath "$2"
+  func_relative_path_tbindir=$func_normal_abspath_result
+
+  # Ascend the tree starting from libdir
+  while :; do
+    # check if we have found a prefix of bindir
+    case $func_relative_path_tbindir in
+      $func_relative_path_tlibdir)
+        # found an exact match
+        func_relative_path_tcancelled=
+        break
+        ;;
+      $func_relative_path_tlibdir*)
+        # found a matching prefix
+        func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+        func_relative_path_tcancelled=$func_stripname_result
+        if test -z "$func_relative_path_result"; then
+          func_relative_path_result=.
+        fi
+        break
+        ;;
+      *)
+        func_dirname $func_relative_path_tlibdir
+        func_relative_path_tlibdir=${func_dirname_result}
+        if test "x$func_relative_path_tlibdir" = x ; then
+          # Have to descend all the way to the root!
+          func_relative_path_result=../$func_relative_path_result
+          func_relative_path_tcancelled=$func_relative_path_tbindir
+          break
+        fi
+        func_relative_path_result=../$func_relative_path_result
+        ;;
+    esac
+  done
 
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
+  # Now calculate path; take care to avoid doubling-up slashes.
+  func_stripname '' '/' "$func_relative_path_result"
+  func_relative_path_result=$func_stripname_result
+  func_stripname '/' '/' "$func_relative_path_tcancelled"
+  if test "x$func_stripname_result" != x ; then
+    func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
+  fi
+
+  # Normalisation. If bindir is libdir, return empty string,
+  # else relative path ending with a slash; either way, target
+  # file name can be directly appended.
+  if test ! -z "$func_relative_path_result"; then
+    func_stripname './' '' "$func_relative_path_result/"
+    func_relative_path_result=$func_stripname_result
+  fi
+}
 
 # The name of this program:
-# In the unlikely event $progname began with a '-', it would play havoc with
-# func_echo (imagine progname=-n), so we prepend ./ in that case:
 func_dirname_and_basename "$progpath"
 progname=$func_basename_result
-case $progname in
-  -*) progname=./$progname ;;
-esac
 
 # Make sure we have an absolute path for reexecution:
 case $progpath in
@@ -196,7 +383,7 @@ case $progpath in
      ;;
   *)
      save_IFS="$IFS"
-     IFS=:
+     IFS=${PATH_SEPARATOR-:}
      for progdir in $PATH; do
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
@@ -215,6 +402,15 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
 # Same as above, but do not quote variable references.
 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
+
+# Sed substitution that converts a w32 file name or path
+# which contains forward slashes, into one that contains
+# (escaped) backslashes.  A very naive implementation.
+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
@@ -243,7 +439,7 @@ opt_warning=:
 # name if it has been set yet.
 func_echo ()
 {
-    $ECHO "$progname${mode+: }$mode: $*"
+    $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
 }
 
 # func_verbose arg...
@@ -258,18 +454,25 @@ func_verbose ()
     :
 }
 
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*"
+}
+
 # func_error arg...
 # Echo program name prefixed message to standard error.
 func_error ()
 {
-    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
+    $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
 }
 
 # func_warning arg...
 # Echo program name prefixed warning message to standard error.
 func_warning ()
 {
-    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
+    $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
 
     # bash bug again:
     :
@@ -326,9 +529,9 @@ func_mkdir_p ()
         case $my_directory_path in */*) ;; *) break ;; esac
 
         # ...otherwise throw away the child directory and loop
-        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
+        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
       done
-      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
+      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
 
       save_mkdir_p_IFS="$IFS"; IFS=':'
       for my_dir in $my_dir_list; do
@@ -378,7 +581,7 @@ func_mktempdir ()
         func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
     fi
 
-    $ECHO "X$my_tmpdir" | $Xsed
+    $ECHO "$my_tmpdir"
 }
 
 
@@ -392,7 +595,7 @@ func_quote_for_eval ()
 {
     case $1 in
       *[\\\`\"\$]*)
-       func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
+       func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
       *)
         func_quote_for_eval_unquoted_result="$1" ;;
     esac
@@ -419,7 +622,7 @@ func_quote_for_expand ()
 {
     case $1 in
       *[\\\`\"]*)
-       my_arg=`$ECHO "X$1" | $Xsed \
+       my_arg=`$ECHO "$1" | $SED \
            -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
       *)
         my_arg="$1" ;;
@@ -488,15 +691,39 @@ func_show_eval_locale ()
     fi
 }
 
-
-
+# func_tr_sh
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result.  All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+  case $1 in
+  [0-9]* | *[!a-zA-Z0-9_]*)
+    func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
+    ;;
+  * )
+    func_tr_sh_result=$1
+    ;;
+  esac
+}
 
 
 # func_version
 # Echo version message to standard output and exit.
 func_version ()
 {
-    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
+    $opt_debug
+
+    $SED -n '/(C)/!b go
+       :more
+       /\./!{
+         N
+         s/\n# / /
+         b more
+       }
+       :go
+       /^# '$PROGRAM' (GNU /,/# warranty; / {
         s/^# //
        s/^# *$//
         s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
@@ -509,22 +736,28 @@ func_version ()
 # Echo short help message to standard output and exit.
 func_usage ()
 {
-    $SED -n '/^# Usage:/,/# -h/ {
+    $opt_debug
+
+    $SED -n '/^# Usage:/,/^#  *.*--help/ {
         s/^# //
        s/^# *$//
        s/\$progname/'$progname'/
        p
     }' < "$progpath"
-    $ECHO
+    echo
     $ECHO "run \`$progname --help | more' for full usage"
     exit $?
 }
 
-# func_help
-# Echo long help message to standard output and exit.
+# func_help [NOEXIT]
+# Echo long help message to standard output and exit,
+# unless 'noexit' is passed as argument.
 func_help ()
 {
+    $opt_debug
+
     $SED -n '/^# Usage:/,/# Report bugs to/ {
+       :print
         s/^# //
        s/^# *$//
        s*\$progname*'$progname'*
@@ -534,11 +767,18 @@ func_help ()
        s*\$LTCFLAGS*'"$LTCFLAGS"'*
        s*\$LD*'"$LD"'*
        s/\$with_gnu_ld/'"$with_gnu_ld"'/
-       s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
-       s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
+       s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
+       s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
        p
-     }' < "$progpath"
-    exit $?
+       d
+     }
+     /^# .* home page:/b print
+     /^# General help using/b print
+     ' < "$progpath"
+    ret=$?
+    if test -z "$1"; then
+      exit $ret
+    fi
 }
 
 # func_missing_arg argname
@@ -546,63 +786,106 @@ func_help ()
 # exit_cmd.
 func_missing_arg ()
 {
-    func_error "missing argument for $1"
+    $opt_debug
+
+    func_error "missing argument for $1."
     exit_cmd=exit
 }
 
-exit_cmd=:
 
+# func_split_short_opt shortopt
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+func_split_short_opt ()
+{
+    my_sed_short_opt='1s/^\(..\).*$/\1/;q'
+    my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
 
+    func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
+    func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
+} # func_split_short_opt may be replaced by extended shell implementation
+
+
+# func_split_long_opt longopt
+# Set func_split_long_opt_name and func_split_long_opt_arg shell
+# variables after splitting LONGOPT at the `=' sign.
+func_split_long_opt ()
+{
+    my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
+    my_sed_long_arg='1s/^--[^=]*=//'
+
+    func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
+    func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
+} # func_split_long_opt may be replaced by extended shell implementation
+
+exit_cmd=:
 
 
 
-# Check that we have a working $ECHO.
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell, and then maybe $ECHO will work.
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
-fi
 
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<EOF
-$*
-EOF
-  exit $EXIT_SUCCESS
-fi
 
 magic="%%%MAGIC variable%%%"
 magic_exe="%%%MAGIC EXE variable%%%"
 
 # Global variables.
-# $mode is unset
 nonopt=
-execute_dlfiles=
 preserve_args=
 lo2o="s/\\.lo\$/.${objext}/"
 o2lo="s/\\.${objext}\$/.lo/"
 extracted_archives=
 extracted_serial=0
 
-opt_dry_run=false
-opt_duplicate_deps=false
-opt_silent=false
-opt_debug=:
-
 # If this variable is set in any of the actions, the command in it
 # will be execed at the end.  This prevents here-documents from being
 # left over by shells.
 exec_cmd=
 
+# func_append var value
+# Append VALUE to the end of shell variable VAR.
+func_append ()
+{
+    eval "${1}=\$${1}\${2}"
+} # func_append may be replaced by extended shell implementation
+
+# func_append_quoted var value
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+func_append_quoted ()
+{
+    func_quote_for_eval "${2}"
+    eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
+} # func_append_quoted may be replaced by extended shell implementation
+
+
+# func_arith arithmetic-term...
+func_arith ()
+{
+    func_arith_result=`expr "${@}"`
+} # func_arith may be replaced by extended shell implementation
+
+
+# func_len string
+# STRING may not start with a hyphen.
+func_len ()
+{
+    func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
+} # func_len may be replaced by extended shell implementation
+
+
+# func_lo2o object
+func_lo2o ()
+{
+    func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+} # func_lo2o may be replaced by extended shell implementation
+
+
+# func_xform libobj-or-source
+func_xform ()
+{
+    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+} # func_xform may be replaced by extended shell implementation
+
+
 # func_fatal_configuration arg...
 # Echo program name prefixed message to standard error, followed by
 # a configuration failure hint, and exit.
@@ -636,16 +919,16 @@ func_config ()
 # Display the features supported by this script.
 func_features ()
 {
-    $ECHO "host: $host"
+    echo "host: $host"
     if test "$build_libtool_libs" = yes; then
-      $ECHO "enable shared libraries"
+      echo "enable shared libraries"
     else
-      $ECHO "disable shared libraries"
+      echo "disable shared libraries"
     fi
     if test "$build_old_libs" = yes; then
-      $ECHO "enable static libraries"
+      echo "enable static libraries"
     else
-      $ECHO "disable static libraries"
+      echo "disable static libraries"
     fi
 
     exit $?
@@ -692,117 +975,209 @@ func_enable_tag ()
   esac
 }
 
-# Parse options once, thoroughly.  This comes as soon as possible in
-# the script to make things like `libtool --version' happen quickly.
+# func_check_version_match
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
 {
+  if test "$package_revision" != "$macro_revision"; then
+    if test "$VERSION" != "$macro_version"; then
+      if test -z "$macro_version"; then
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      else
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      fi
+    else
+      cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+    fi
+
+    exit $EXIT_MISMATCH
+  fi
+}
+
+
+# Shorthand for --mode=foo, only valid as the first argument
+case $1 in
+clean|clea|cle|cl)
+  shift; set dummy --mode clean ${1+"$@"}; shift
+  ;;
+compile|compil|compi|comp|com|co|c)
+  shift; set dummy --mode compile ${1+"$@"}; shift
+  ;;
+execute|execut|execu|exec|exe|ex|e)
+  shift; set dummy --mode execute ${1+"$@"}; shift
+  ;;
+finish|finis|fini|fin|fi|f)
+  shift; set dummy --mode finish ${1+"$@"}; shift
+  ;;
+install|instal|insta|inst|ins|in|i)
+  shift; set dummy --mode install ${1+"$@"}; shift
+  ;;
+link|lin|li|l)
+  shift; set dummy --mode link ${1+"$@"}; shift
+  ;;
+uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+  shift; set dummy --mode uninstall ${1+"$@"}; shift
+  ;;
+esac
+
+
+
+# Option defaults:
+opt_debug=:
+opt_dry_run=false
+opt_config=false
+opt_preserve_dup_deps=false
+opt_features=false
+opt_finish=false
+opt_help=false
+opt_help_all=false
+opt_silent=:
+opt_warning=:
+opt_verbose=:
+opt_silent=false
+opt_verbose=false
 
-  # Shorthand for --mode=foo, only valid as the first argument
-  case $1 in
-  clean|clea|cle|cl)
-    shift; set dummy --mode clean ${1+"$@"}; shift
-    ;;
-  compile|compil|compi|comp|com|co|c)
-    shift; set dummy --mode compile ${1+"$@"}; shift
-    ;;
-  execute|execut|execu|exec|exe|ex|e)
-    shift; set dummy --mode execute ${1+"$@"}; shift
-    ;;
-  finish|finis|fini|fin|fi|f)
-    shift; set dummy --mode finish ${1+"$@"}; shift
-    ;;
-  install|instal|insta|inst|ins|in|i)
-    shift; set dummy --mode install ${1+"$@"}; shift
-    ;;
-  link|lin|li|l)
-    shift; set dummy --mode link ${1+"$@"}; shift
-    ;;
-  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
-    shift; set dummy --mode uninstall ${1+"$@"}; shift
-    ;;
-  esac
 
-  # Parse non-mode specific arguments:
-  while test "$#" -gt 0; do
+# Parse options once, thoroughly.  This comes as soon as possible in the
+# script to make things like `--version' happen as quickly as we can.
+{
+  # this just eases exit handling
+  while test $# -gt 0; do
     opt="$1"
     shift
-
     case $opt in
-      --config)                func_config                                     ;;
-
-      --debug)         preserve_args="$preserve_args $opt"
+      --debug|-x)      opt_debug='set -x'
                        func_echo "enabling shell trace mode"
-                       opt_debug='set -x'
                        $opt_debug
                        ;;
-
-      -dlopen)         test "$#" -eq 0 && func_missing_arg "$opt" && break
-                       execute_dlfiles="$execute_dlfiles $1"
-                       shift
+      --dry-run|--dryrun|-n)
+                       opt_dry_run=:
                        ;;
-
-      --dry-run | -n)  opt_dry_run=:                                   ;;
-      --features)       func_features                                  ;;
-      --finish)                mode="finish"                                   ;;
-
-      --mode)          test "$#" -eq 0 && func_missing_arg "$opt" && break
-                       case $1 in
-                         # Valid mode arguments:
-                         clean)        ;;
-                         compile)      ;;
-                         execute)      ;;
-                         finish)       ;;
-                         install)      ;;
-                         link)         ;;
-                         relink)       ;;
-                         uninstall)    ;;
-
-                         # Catch anything else as an error
-                         *) func_error "invalid argument for $opt"
-                            exit_cmd=exit
-                            break
-                            ;;
-                       esac
-
-                       mode="$1"
+      --config)
+                       opt_config=:
+func_config
+                       ;;
+      --dlopen|-dlopen)
+                       optarg="$1"
+                       opt_dlopen="${opt_dlopen+$opt_dlopen
+}$optarg"
                        shift
                        ;;
-
       --preserve-dup-deps)
-                       opt_duplicate_deps=:                            ;;
-
-      --quiet|--silent)        preserve_args="$preserve_args $opt"
-                       opt_silent=:
+                       opt_preserve_dup_deps=:
                        ;;
-
-      --verbose| -v)   preserve_args="$preserve_args $opt"
+      --features)
+                       opt_features=:
+func_features
+                       ;;
+      --finish)
+                       opt_finish=:
+set dummy --mode finish ${1+"$@"}; shift
+                       ;;
+      --help)
+                       opt_help=:
+                       ;;
+      --help-all)
+                       opt_help_all=:
+opt_help=': help-all'
+                       ;;
+      --mode)
+                       test $# = 0 && func_missing_arg $opt && break
+                       optarg="$1"
+                       opt_mode="$optarg"
+case $optarg in
+  # Valid mode arguments:
+  clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+  # Catch anything else as an error
+  *) func_error "invalid argument for $opt"
+     exit_cmd=exit
+     break
+     ;;
+esac
+                       shift
+                       ;;
+      --no-silent|--no-quiet)
                        opt_silent=false
+func_append preserve_args " $opt"
                        ;;
-
-      --tag)           test "$#" -eq 0 && func_missing_arg "$opt" && break
-                       preserve_args="$preserve_args $opt $1"
-                       func_enable_tag "$1"    # tagname is set here
+      --no-warning|--no-warn)
+                       opt_warning=false
+func_append preserve_args " $opt"
+                       ;;
+      --no-verbose)
+                       opt_verbose=false
+func_append preserve_args " $opt"
+                       ;;
+      --silent|--quiet)
+                       opt_silent=:
+func_append preserve_args " $opt"
+        opt_verbose=false
+                       ;;
+      --verbose|-v)
+                       opt_verbose=:
+func_append preserve_args " $opt"
+opt_silent=false
+                       ;;
+      --tag)
+                       test $# = 0 && func_missing_arg $opt && break
+                       optarg="$1"
+                       opt_tag="$optarg"
+func_append preserve_args " $opt $optarg"
+func_enable_tag "$optarg"
                        shift
                        ;;
 
+      -\?|-h)          func_usage                              ;;
+      --help)          func_help                               ;;
+      --version)       func_version                            ;;
+
       # Separate optargs to long options:
-      -dlopen=*|--mode=*|--tag=*)
-                       func_opt_split "$opt"
-                       set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
+      --*=*)
+                       func_split_long_opt "$opt"
+                       set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
                        shift
                        ;;
 
-      -\?|-h)          func_usage                                      ;;
-      --help)          opt_help=:                                      ;;
-      --version)       func_version                                    ;;
-
-      -*)              func_fatal_help "unrecognized option \`$opt'"   ;;
-
-      *)               nonopt="$opt"
-                       break
+      # Separate non-argument short options:
+      -\?*|-h*|-n*|-v*)
+                       func_split_short_opt "$opt"
+                       set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
+                       shift
                        ;;
+
+      --)              break                                   ;;
+      -*)              func_fatal_help "unrecognized option \`$opt'" ;;
+      *)               set dummy "$opt" ${1+"$@"};     shift; break  ;;
     esac
   done
 
+  # Validate options:
+
+  # save first non-option argument
+  if test "$#" -gt 0; then
+    nonopt="$opt"
+    shift
+  fi
+
+  # preserve --debug
+  test "$opt_debug" = : || func_append preserve_args " --debug"
 
   case $host in
     *cygwin* | *mingw* | *pw32* | *cegcc*)
@@ -810,82 +1185,44 @@ func_enable_tag ()
       opt_duplicate_compiler_generated_deps=:
       ;;
     *)
-      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
+      opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
       ;;
   esac
 
-  # Having warned about all mis-specified options, bail out if
-  # anything was wrong.
-  $exit_cmd $EXIT_FAILURE
-}
+  $opt_help || {
+    # Sanity checks first:
+    func_check_version_match
 
-# func_check_version_match
-# Ensure that we are using m4 macros, and libtool script from the same
-# release of libtool.
-func_check_version_match ()
-{
-  if test "$package_revision" != "$macro_revision"; then
-    if test "$VERSION" != "$macro_version"; then
-      if test -z "$macro_version"; then
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from an older release.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      else
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      fi
-    else
-      cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
-$progname: but the definition of this LT_INIT comes from revision $macro_revision.
-$progname: You should recreate aclocal.m4 with macros from revision $package_revision
-$progname: of $PACKAGE $VERSION and run autoconf again.
-_LT_EOF
+    if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+      func_fatal_configuration "not configured to build any kind of library"
     fi
 
-    exit $EXIT_MISMATCH
-  fi
-}
-
-
-## ----------- ##
-##    Main.    ##
-## ----------- ##
-
-$opt_help || {
-  # Sanity checks first:
-  func_check_version_match
+    # Darwin sucks
+    eval std_shrext=\"$shrext_cmds\"
 
-  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
-    func_fatal_configuration "not configured to build any kind of library"
-  fi
+    # Only execute mode is allowed to have -dlopen flags.
+    if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
+      func_error "unrecognized option \`-dlopen'"
+      $ECHO "$help" 1>&2
+      exit $EXIT_FAILURE
+    fi
 
-  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
+    # Change the help message to a mode-specific one.
+    generic_help="$help"
+    help="Try \`$progname --help --mode=$opt_mode' for more information."
+  }
 
 
-  # Darwin sucks
-  eval std_shrext=\"$shrext_cmds\"
+  # Bail if the options were screwed
+  $exit_cmd $EXIT_FAILURE
+}
 
 
-  # Only execute mode is allowed to have -dlopen flags.
-  if test -n "$execute_dlfiles" && test "$mode" != execute; then
-    func_error "unrecognized option \`-dlopen'"
-    $ECHO "$help" 1>&2
-    exit $EXIT_FAILURE
-  fi
 
-  # Change the help message to a mode-specific one.
-  generic_help="$help"
-  help="Try \`$progname --help --mode=$mode' for more information."
-}
 
+## ----------- ##
+##    Main.    ##
+## ----------- ##
 
 # func_lalib_p file
 # True iff FILE is a libtool `.la' library or `.lo' object file.
@@ -950,12 +1287,9 @@ func_ltwrapper_executable_p ()
 # temporary ltwrapper_script.
 func_ltwrapper_scriptname ()
 {
-    func_ltwrapper_scriptname_result=""
-    if func_ltwrapper_executable_p "$1"; then
-       func_dirname_and_basename "$1" "" "."
-       func_stripname '' '.exe' "$func_basename_result"
-       func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
-    fi
+    func_dirname_and_basename "$1" "" "."
+    func_stripname '' '.exe' "$func_basename_result"
+    func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
 }
 
 # func_ltwrapper_p file
@@ -1001,6 +1335,37 @@ func_source ()
 }
 
 
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot.  Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+  func_resolve_sysroot_result=$1
+  case $func_resolve_sysroot_result in
+  =*)
+    func_stripname '=' '' "$func_resolve_sysroot_result"
+    func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+    ;;
+  esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+  case "$lt_sysroot:$1" in
+  ?*:"$lt_sysroot"*)
+    func_stripname "$lt_sysroot" '' "$1"
+    func_replace_sysroot_result="=$func_stripname_result"
+    ;;
+  *)
+    # Including no sysroot.
+    func_replace_sysroot_result=$1
+    ;;
+  esac
+}
+
 # func_infer_tag arg
 # Infer tagged configuration to use if any are available and
 # if one wasn't chosen via the "--tag" command line option.
@@ -1013,13 +1378,15 @@ func_infer_tag ()
     if test -n "$available_tags" && test -z "$tagname"; then
       CC_quoted=
       for arg in $CC; do
-        func_quote_for_eval "$arg"
-       CC_quoted="$CC_quoted $func_quote_for_eval_result"
+       func_append_quoted CC_quoted "$arg"
       done
+      CC_expanded=`func_echo_all $CC`
+      CC_quoted_expanded=`func_echo_all $CC_quoted`
       case $@ in
       # Blanks in the command may have been stripped by the calling shell,
       # but not from the CC environment variable when configure was run.
-      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
+      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
       # Blanks at the start of $base_compile will cause this to fail
       # if we don't check for them as well.
       *)
@@ -1030,11 +1397,13 @@ func_infer_tag ()
            CC_quoted=
            for arg in $CC; do
              # Double-quote args containing other shell metacharacters.
-             func_quote_for_eval "$arg"
-             CC_quoted="$CC_quoted $func_quote_for_eval_result"
+             func_append_quoted CC_quoted "$arg"
            done
+           CC_expanded=`func_echo_all $CC`
+           CC_quoted_expanded=`func_echo_all $CC_quoted`
            case "$@ " in
-             " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
+           " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+           " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
              # The compiler in the base compile command matches
              # the one in the tagged configuration.
              # Assume this is the tagged configuration we want.
@@ -1097,6 +1466,486 @@ EOF
     }
 }
 
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+  $opt_debug
+  func_convert_core_file_wine_to_w32_result="$1"
+  if test -n "$1"; then
+    # Unfortunately, winepath does not exit with a non-zero error code, so we
+    # are forced to check the contents of stdout. On the other hand, if the
+    # command is not found, the shell will set an exit code of 127 and print
+    # *an error message* to stdout. So we must check for both error code of
+    # zero AND non-empty stdout, which explains the odd construction:
+    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+    if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
+      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+        $SED -e "$lt_sed_naive_backslashify"`
+    else
+      func_convert_core_file_wine_to_w32_result=
+    fi
+  fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+  $opt_debug
+  # unfortunately, winepath doesn't convert paths, only file names
+  func_convert_core_path_wine_to_w32_result=""
+  if test -n "$1"; then
+    oldIFS=$IFS
+    IFS=:
+    for func_convert_core_path_wine_to_w32_f in $1; do
+      IFS=$oldIFS
+      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+      if test -n "$func_convert_core_file_wine_to_w32_result" ; then
+        if test -z "$func_convert_core_path_wine_to_w32_result"; then
+          func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
+        else
+          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+        fi
+      fi
+    done
+    IFS=$oldIFS
+  fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+  $opt_debug
+  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+    if test "$?" -ne 0; then
+      # on failure, ensure result is empty
+      func_cygpath_result=
+    fi
+  else
+    func_cygpath_result=
+    func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
+  fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format.  Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+  $opt_debug
+  # awkward: cmd appends spaces to result
+  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+    $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+  $opt_debug
+  if test -z "$2" && test -n "$1" ; then
+    func_error "Could not determine host file name corresponding to"
+    func_error "  \`$1'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback:
+    func_to_host_file_result="$1"
+  fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+  $opt_debug
+  if test -z "$4" && test -n "$3"; then
+    func_error "Could not determine the host path corresponding to"
+    func_error "  \`$3'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback.  This is a deliberately simplistic "conversion" and
+    # should not be "improved".  See libtool.info.
+    if test "x$1" != "x$2"; then
+      lt_replace_pathsep_chars="s|$1|$2|g"
+      func_to_host_path_result=`echo "$3" |
+        $SED -e "$lt_replace_pathsep_chars"`
+    else
+      func_to_host_path_result="$3"
+    fi
+  fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+  $opt_debug
+  case $4 in
+  $1 ) func_to_host_path_result="$3$func_to_host_path_result"
+    ;;
+  esac
+  case $4 in
+  $2 ) func_append func_to_host_path_result "$3"
+    ;;
+  esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via `$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+  $opt_debug
+  $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result.  If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+  $opt_debug
+  case ,$2, in
+    *,"$to_tool_file_cmd",*)
+      func_to_tool_file_result=$1
+      ;;
+    *)
+      $to_tool_file_cmd "$1"
+      func_to_tool_file_result=$func_to_host_file_result
+      ;;
+  esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+  func_to_host_file_result="$1"
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_msys_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+    # LT_CYGPATH in this case.
+    func_to_host_file_result=`cygpath -m "$1"`
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format.  Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_file_wine_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_msys_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format.  Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set.  Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+    func_convert_core_file_wine_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via `$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format.  If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+#   file name conversion function    : func_convert_file_X_to_Y ()
+#   path conversion function         : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same.  If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+  $opt_debug
+  if test -z "$to_host_path_cmd"; then
+    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+    to_host_path_cmd="func_convert_path_${func_stripname_result}"
+  fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+  $opt_debug
+  func_init_to_host_path_cmd
+  $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+  func_to_host_path_result="$1"
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from ARG.  MSYS
+    # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+    # and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_msys_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format.  Requires a wine environment and
+# a working winepath.  Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format.  Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set.  Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from
+    # ARG. msys behavior is inconsistent here, cygpath turns them
+    # into '.;' and ';.', and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
 # func_mode_compile arg...
 func_mode_compile ()
 {
@@ -1137,12 +1986,12 @@ func_mode_compile ()
          ;;
 
        -pie | -fpie | -fPIE)
-          pie_flag="$pie_flag $arg"
+          func_append pie_flag " $arg"
          continue
          ;;
 
        -shared | -static | -prefer-pic | -prefer-non-pic)
-         later="$later $arg"
+         func_append later " $arg"
          continue
          ;;
 
@@ -1163,15 +2012,14 @@ func_mode_compile ()
          save_ifs="$IFS"; IFS=','
          for arg in $args; do
            IFS="$save_ifs"
-           func_quote_for_eval "$arg"
-           lastarg="$lastarg $func_quote_for_eval_result"
+           func_append_quoted lastarg "$arg"
          done
          IFS="$save_ifs"
          func_stripname ' ' '' "$lastarg"
          lastarg=$func_stripname_result
 
          # Add the arguments to base_compile.
-         base_compile="$base_compile $lastarg"
+         func_append base_compile " $lastarg"
          continue
          ;;
 
@@ -1187,8 +2035,7 @@ func_mode_compile ()
       esac    #  case $arg_mode
 
       # Aesthetically quote the previous argument.
-      func_quote_for_eval "$lastarg"
-      base_compile="$base_compile $func_quote_for_eval_result"
+      func_append_quoted base_compile "$lastarg"
     done # for arg
 
     case $arg_mode in
@@ -1213,7 +2060,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
+    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       libobj=$func_xform_result
       ;;
@@ -1288,7 +2135,7 @@ func_mode_compile ()
     # Calculate the filename of the output object if compiler does
     # not support -o with -c
     if test "$compiler_c_o" = no; then
-      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
       lockfile="$output_obj.lock"
     else
       output_obj=
@@ -1319,17 +2166,16 @@ compiler."
        $opt_dry_run || $RM $removelist
        exit $EXIT_FAILURE
       fi
-      removelist="$removelist $output_obj"
+      func_append removelist " $output_obj"
       $ECHO "$srcfile" > "$lockfile"
     fi
 
     $opt_dry_run || $RM $removelist
-    removelist="$removelist $lockfile"
+    func_append removelist " $lockfile"
     trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
 
-    if test -n "$fix_srcfile_path"; then
-      eval srcfile=\"$fix_srcfile_path\"
-    fi
+    func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+    srcfile=$func_to_tool_file_result
     func_quote_for_eval "$srcfile"
     qsrcfile=$func_quote_for_eval_result
 
@@ -1349,7 +2195,7 @@ compiler."
 
       if test -z "$output_obj"; then
        # Place PIC objects in $objdir
-       command="$command -o $lobj"
+       func_append command " -o $lobj"
       fi
 
       func_show_eval_locale "$command" \
@@ -1396,11 +2242,11 @@ compiler."
        command="$base_compile $qsrcfile $pic_flag"
       fi
       if test "$compiler_c_o" = yes; then
-       command="$command -o $obj"
+       func_append command " -o $obj"
       fi
 
       # Suppress compiler output if we already did a PIC compilation.
-      command="$command$suppress_output"
+      func_append command "$suppress_output"
       func_show_eval_locale "$command" \
         '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
 
@@ -1445,13 +2291,13 @@ compiler."
 }
 
 $opt_help || {
-test "$mode" = compile && func_mode_compile ${1+"$@"}
+  test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
 }
 
 func_mode_help ()
 {
     # We need to display help for each of the modes.
-    case $mode in
+    case $opt_mode in
       "")
         # Generic help is extracted from the usage comments
         # at the start of this file.
@@ -1482,10 +2328,11 @@ This mode accepts the following additional options:
 
   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
   -no-suppress      do not suppress compiler output for multiple passes
-  -prefer-pic       try to building PIC objects only
-  -prefer-non-pic   try to building non-PIC objects only
+  -prefer-pic       try to build PIC objects only
+  -prefer-non-pic   try to build non-PIC objects only
   -shared           do not build a \`.o' file suitable for static linking
   -static           only build a \`.o' file suitable for static linking
+  -Wc,FLAG          pass FLAG directly to the compiler
 
 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
 from the given SOURCEFILE.
@@ -1538,7 +2385,7 @@ either the \`install' or \`cp' program.
 
 The following components of INSTALL-COMMAND are treated specially:
 
-  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
+  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
 
 The rest of the components are interpreted as arguments to that command (only
 BSD-compatible install options are recognized)."
@@ -1558,6 +2405,8 @@ The following components of LINK-COMMAND are treated specially:
 
   -all-static       do not do any dynamic linking at all
   -avoid-version    do not add a version suffix if possible
+  -bindir BINDIR    specify path to binaries directory (for systems where
+                    libraries must be found in the PATH setting at runtime)
   -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
   -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
   -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
@@ -1586,6 +2435,11 @@ The following components of LINK-COMMAND are treated specially:
   -version-info CURRENT[:REVISION[:AGE]]
                     specify library version info [each variable defaults to 0]
   -weak LIBNAME     declare that the target provides the LIBNAME interface
+  -Wc,FLAG
+  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler
+  -Wl,FLAG
+  -Xlinker FLAG     pass linker-specific FLAG directly to the linker
+  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
 
 All other options (arguments beginning with \`-') are ignored.
 
@@ -1619,18 +2473,44 @@ Otherwise, only FILE itself is deleted using RM."
         ;;
 
       *)
-        func_fatal_help "invalid operation mode \`$mode'"
+        func_fatal_help "invalid operation mode \`$opt_mode'"
         ;;
     esac
 
-    $ECHO
+    echo
     $ECHO "Try \`$progname --help' for more information about other modes."
-
-    exit $?
 }
 
-  # Now that we've collected a possible --mode arg, show help if necessary
-  $opt_help && func_mode_help
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+  if test "$opt_help" = :; then
+    func_mode_help
+  else
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+       func_mode_help
+      done
+    } | sed -n '1p; 2,$s/^Usage:/  or: /p'
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+       echo
+       func_mode_help
+      done
+    } |
+    sed '1d
+      /^When reporting/,/^Report/{
+       H
+       d
+      }
+      $x
+      /information about other modes/d
+      /more detailed .*MODE/d
+      s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+  fi
+  exit $?
+fi
 
 
 # func_mode_execute arg...
@@ -1643,13 +2523,16 @@ func_mode_execute ()
       func_fatal_help "you must specify a COMMAND"
 
     # Handle -dlopen flags immediately.
-    for file in $execute_dlfiles; do
+    for file in $opt_dlopen; do
       test -f "$file" \
        || func_fatal_help "\`$file' is not a file"
 
       dir=
       case $file in
       *.la)
+       func_resolve_sysroot "$file"
+       file=$func_resolve_sysroot_result
+
        # Check to see that this really is a libtool archive.
        func_lalib_unsafe_p "$file" \
          || func_fatal_help "\`$lib' is not a valid libtool archive"
@@ -1671,7 +2554,7 @@ func_mode_execute ()
        dir="$func_dirname_result"
 
        if test -f "$dir/$objdir/$dlname"; then
-         dir="$dir/$objdir"
+         func_append dir "/$objdir"
        else
          if test ! -f "$dir/$dlname"; then
            func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
@@ -1712,7 +2595,7 @@ func_mode_execute ()
     for file
     do
       case $file in
-      -*) ;;
+      -* | *.la | *.lo ) ;;
       *)
        # Do a test to see if this is really a libtool program.
        if func_ltwrapper_script_p "$file"; then
@@ -1728,8 +2611,7 @@ func_mode_execute ()
        ;;
       esac
       # Quote arguments (to preserve shell metacharacters).
-      func_quote_for_eval "$file"
-      args="$args $func_quote_for_eval_result"
+      func_append_quoted args "$file"
     done
 
     if test "X$opt_dry_run" = Xfalse; then
@@ -1754,29 +2636,66 @@ func_mode_execute ()
       # Display what would be done.
       if test -n "$shlibpath_var"; then
        eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
-       $ECHO "export $shlibpath_var"
+       echo "export $shlibpath_var"
       fi
       $ECHO "$cmd$args"
       exit $EXIT_SUCCESS
     fi
 }
 
-test "$mode" = execute && func_mode_execute ${1+"$@"}
+test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
 
 
 # func_mode_finish arg...
 func_mode_finish ()
 {
     $opt_debug
-    libdirs="$nonopt"
+    libs=
+    libdirs=
     admincmds=
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for dir
-      do
-       libdirs="$libdirs $dir"
-      done
+    for opt in "$nonopt" ${1+"$@"}
+    do
+      if test -d "$opt"; then
+       func_append libdirs " $opt"
+
+      elif test -f "$opt"; then
+       if func_lalib_unsafe_p "$opt"; then
+         func_append libs " $opt"
+       else
+         func_warning "\`$opt' is not a valid libtool archive"
+       fi
+
+      else
+       func_fatal_error "invalid argument \`$opt'"
+      fi
+    done
+
+    if test -n "$libs"; then
+      if test -n "$lt_sysroot"; then
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+      else
+        sysroot_cmd=
+      fi
+
+      # Remove sysroot references
+      if $opt_dry_run; then
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      else
+        tmpdir=`func_mktempdir`
+        for lib in $libs; do
+         sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+           > $tmpdir/tmp-la
+         mv -f $tmpdir/tmp-la $lib
+       done
+        ${RM}r "$tmpdir"
+      fi
+    fi
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for libdir in $libdirs; do
        if test -n "$finish_cmds"; then
          # Do each command in the finish commands.
@@ -1786,7 +2705,7 @@ func_mode_finish ()
        if test -n "$finish_eval"; then
          # Do the single finish_eval.
          eval cmds=\"$finish_eval\"
-         $opt_dry_run || eval "$cmds" || admincmds="$admincmds
+         $opt_dry_run || eval "$cmds" || func_append admincmds "
        $cmds"
        fi
       done
@@ -1795,53 +2714,55 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
-    $ECHO "Libraries have been installed in:"
-    for libdir in $libdirs; do
-      $ECHO "   $libdir"
-    done
-    $ECHO
-    $ECHO "If you ever happen to want to link against installed libraries"
-    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
-    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
-    $ECHO "flag during linking and do at least one of the following:"
-    if test -n "$shlibpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-      $ECHO "     during execution"
-    fi
-    if test -n "$runpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
-      $ECHO "     during linking"
-    fi
-    if test -n "$hardcode_libdir_flag_spec"; then
-      libdir=LIBDIR
-      eval flag=\"$hardcode_libdir_flag_spec\"
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+      echo "----------------------------------------------------------------------"
+      echo "Libraries have been installed in:"
+      for libdir in $libdirs; do
+       $ECHO "   $libdir"
+      done
+      echo
+      echo "If you ever happen to want to link against installed libraries"
+      echo "in a given directory, LIBDIR, you must either use libtool, and"
+      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+      echo "flag during linking and do at least one of the following:"
+      if test -n "$shlibpath_var"; then
+       echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+       echo "     during execution"
+      fi
+      if test -n "$runpath_var"; then
+       echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+       echo "     during linking"
+      fi
+      if test -n "$hardcode_libdir_flag_spec"; then
+       libdir=LIBDIR
+       eval flag=\"$hardcode_libdir_flag_spec\"
 
-      $ECHO "   - use the \`$flag' linker flag"
-    fi
-    if test -n "$admincmds"; then
-      $ECHO "   - have your system administrator run these commands:$admincmds"
-    fi
-    if test -f /etc/ld.so.conf; then
-      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
-    fi
-    $ECHO
+       $ECHO "   - use the \`$flag' linker flag"
+      fi
+      if test -n "$admincmds"; then
+       $ECHO "   - have your system administrator run these commands:$admincmds"
+      fi
+      if test -f /etc/ld.so.conf; then
+       echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      fi
+      echo
 
-    $ECHO "See any operating system documentation about shared libraries for"
-    case $host in
-      solaris2.[6789]|solaris2.1[0-9])
-        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-       $ECHO "pages."
-       ;;
-      *)
-        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
-        ;;
-    esac
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
+      echo "See any operating system documentation about shared libraries for"
+      case $host in
+       solaris2.[6789]|solaris2.1[0-9])
+         echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+         echo "pages."
+         ;;
+       *)
+         echo "more information, such as the ld(1) and ld.so(8) manual pages."
+         ;;
+      esac
+      echo "----------------------------------------------------------------------"
+    fi
     exit $EXIT_SUCCESS
 }
 
-test "$mode" = finish && func_mode_finish ${1+"$@"}
+test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
 
 
 # func_mode_install arg...
@@ -1852,7 +2773,7 @@ func_mode_install ()
     # install_prog (especially on Windows NT).
     if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
        # Allow the use of GNU shtool's install command.
-       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
+       case $nonopt in *shtool*) :;; *) false;; esac; then
       # Aesthetically quote it.
       func_quote_for_eval "$nonopt"
       install_prog="$func_quote_for_eval_result "
@@ -1866,7 +2787,12 @@ func_mode_install ()
     # The real first argument should be the name of the installation program.
     # Aesthetically quote it.
     func_quote_for_eval "$arg"
-    install_prog="$install_prog$func_quote_for_eval_result"
+    func_append install_prog "$func_quote_for_eval_result"
+    install_shared_prog=$install_prog
+    case " $install_prog " in
+      *[\\\ /]cp\ *) install_cp=: ;;
+      *) install_cp=false ;;
+    esac
 
     # We need to accept at least all the BSD install flags.
     dest=
@@ -1876,10 +2802,12 @@ func_mode_install ()
     install_type=
     isdir=no
     stripme=
+    no_mode=:
     for arg
     do
+      arg2=
       if test -n "$dest"; then
-       files="$files $dest"
+       func_append files " $dest"
        dest=$arg
        continue
       fi
@@ -1887,10 +2815,9 @@ func_mode_install ()
       case $arg in
       -d) isdir=yes ;;
       -f)
-       case " $install_prog " in
-       *[\\\ /]cp\ *) ;;
-       *) prev=$arg ;;
-       esac
+       if $install_cp; then :; else
+         prev=$arg
+       fi
        ;;
       -g | -m | -o)
        prev=$arg
@@ -1904,6 +2831,10 @@ func_mode_install ()
       *)
        # If the previous option needed an argument, then skip it.
        if test -n "$prev"; then
+         if test "x$prev" = x-m && test -n "$install_override_mode"; then
+           arg2=$install_override_mode
+           no_mode=false
+         fi
          prev=
        else
          dest=$arg
@@ -1914,7 +2845,11 @@ func_mode_install ()
 
       # Aesthetically quote the argument.
       func_quote_for_eval "$arg"
-      install_prog="$install_prog $func_quote_for_eval_result"
+      func_append install_prog " $func_quote_for_eval_result"
+      if test -n "$arg2"; then
+       func_quote_for_eval "$arg2"
+      fi
+      func_append install_shared_prog " $func_quote_for_eval_result"
     done
 
     test -z "$install_prog" && \
@@ -1923,6 +2858,13 @@ func_mode_install ()
     test -n "$prev" && \
       func_fatal_help "the \`$prev' option requires an argument"
 
+    if test -n "$install_override_mode" && $no_mode; then
+      if $install_cp; then :; else
+       func_quote_for_eval "$install_override_mode"
+       func_append install_shared_prog " -m $func_quote_for_eval_result"
+      fi
+    fi
+
     if test -z "$files"; then
       if test -z "$dest"; then
        func_fatal_help "no file or destination specified"
@@ -1977,10 +2919,13 @@ func_mode_install ()
       case $file in
       *.$libext)
        # Do the static libraries later.
-       staticlibs="$staticlibs $file"
+       func_append staticlibs " $file"
        ;;
 
       *.la)
+       func_resolve_sysroot "$file"
+       file=$func_resolve_sysroot_result
+
        # Check to see that this really is a libtool archive.
        func_lalib_unsafe_p "$file" \
          || func_fatal_help "\`$file' is not a valid libtool archive"
@@ -1994,23 +2939,23 @@ func_mode_install ()
        if test "X$destdir" = "X$libdir"; then
          case "$current_libdirs " in
          *" $libdir "*) ;;
-         *) current_libdirs="$current_libdirs $libdir" ;;
+         *) func_append current_libdirs " $libdir" ;;
          esac
        else
          # Note the libdir as a future libdir.
          case "$future_libdirs " in
          *" $libdir "*) ;;
-         *) future_libdirs="$future_libdirs $libdir" ;;
+         *) func_append future_libdirs " $libdir" ;;
          esac
        fi
 
        func_dirname "$file" "/" ""
        dir="$func_dirname_result"
-       dir="$dir$objdir"
+       func_append dir "$objdir"
 
        if test -n "$relink_command"; then
          # Determine the prefix the user has applied to our future dir.
-         inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
+         inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
 
          # Don't allow the user to place us outside of our expected
          # location b/c this prevents finding dependent libraries that
@@ -2023,9 +2968,9 @@ func_mode_install ()
 
          if test -n "$inst_prefix_dir"; then
            # Stick the inst_prefix_dir data into the link command.
-           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+           relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
          else
-           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
+           relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
          fi
 
          func_warning "relinking \`$file'"
@@ -2043,7 +2988,7 @@ func_mode_install ()
          test -n "$relink_command" && srcname="$realname"T
 
          # Install the shared library and build the symlinks.
-         func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
+         func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
              'exit $?'
          tstripme="$stripme"
          case $host_os in
@@ -2083,7 +3028,7 @@ func_mode_install ()
        func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
 
        # Maybe install the static library, too.
-       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+       test -n "$old_library" && func_append staticlibs " $dir/$old_library"
        ;;
 
       *.lo)
@@ -2183,7 +3128,7 @@ func_mode_install ()
            if test -f "$lib"; then
              func_source "$lib"
            fi
-           libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+           libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
            if test -n "$libdir" && test ! -f "$libfile"; then
              func_warning "\`$lib' has not been installed in \`$libdir'"
              finalize=no
@@ -2202,7 +3147,7 @@ func_mode_install ()
                file="$func_basename_result"
                outputname="$tmpdir/$file"
                # Replace the output file specification.
-               relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+               relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
 
                $opt_silent || {
                  func_quote_for_expand "$relink_command"
@@ -2221,7 +3166,7 @@ func_mode_install ()
            }
          else
            # Install the binary that we compiled earlier.
-           file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+           file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
          fi
        fi
 
@@ -2257,11 +3202,13 @@ func_mode_install ()
 
       # Set up the ranlib parameters.
       oldlib="$destdir/$name"
+      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+      tool_oldlib=$func_to_tool_file_result
 
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
 
       if test -n "$stripme" && test -n "$old_striplib"; then
-       func_show_eval "$old_striplib $oldlib" 'exit $?'
+       func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
       fi
 
       # Do each command in the postinstall commands.
@@ -2280,7 +3227,7 @@ func_mode_install ()
     fi
 }
 
-test "$mode" = install && func_mode_install ${1+"$@"}
+test "$opt_mode" = install && func_mode_install ${1+"$@"}
 
 
 # func_generate_dlsyms outputname originator pic_p
@@ -2323,6 +3270,22 @@ func_generate_dlsyms ()
 extern \"C\" {
 #endif
 
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* External symbol declarations for the compiler. */\
 "
 
@@ -2332,10 +3295,11 @@ extern \"C\" {
          $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
 
          # Add our own program objects to the symbol list.
-         progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+         progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
          for progfile in $progfiles; do
-           func_verbose "extracting global C symbols from \`$progfile'"
-           $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
+           func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+           func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
+           $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
          done
 
          if test -n "$exclude_expsyms"; then
@@ -2371,7 +3335,7 @@ extern \"C\" {
              eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
              eval '$MV "$nlist"T "$nlist"'
              case $host in
-               *cygwin | *mingw* | *cegcc* )
+               *cygwin* | *mingw* | *cegcc* )
                  eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
                  eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
                  ;;
@@ -2384,10 +3348,52 @@ extern \"C\" {
          func_verbose "extracting global C symbols from \`$dlprefile'"
          func_basename "$dlprefile"
          name="$func_basename_result"
-         $opt_dry_run || {
-           eval '$ECHO ": $name " >> "$nlist"'
-           eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
-         }
+          case $host in
+           *cygwin* | *mingw* | *cegcc* )
+             # if an import library, we need to obtain dlname
+             if func_win32_import_lib_p "$dlprefile"; then
+               func_tr_sh "$dlprefile"
+               eval "curr_lafile=\$libfile_$func_tr_sh_result"
+               dlprefile_dlbasename=""
+               if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+                 # Use subshell, to avoid clobbering current variable values
+                 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+                 if test -n "$dlprefile_dlname" ; then
+                   func_basename "$dlprefile_dlname"
+                   dlprefile_dlbasename="$func_basename_result"
+                 else
+                   # no lafile. user explicitly requested -dlpreopen <import library>.
+                   $sharedlib_from_linklib_cmd "$dlprefile"
+                   dlprefile_dlbasename=$sharedlib_from_linklib_result
+                 fi
+               fi
+               $opt_dry_run || {
+                 if test -n "$dlprefile_dlbasename" ; then
+                   eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+                 else
+                   func_warning "Could not compute DLL name from $name"
+                   eval '$ECHO ": $name " >> "$nlist"'
+                 fi
+                 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+                 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+                   $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+               }
+             else # not an import lib
+               $opt_dry_run || {
+                 eval '$ECHO ": $name " >> "$nlist"'
+                 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+                 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+               }
+             fi
+           ;;
+           *)
+             $opt_dry_run || {
+               eval '$ECHO ": $name " >> "$nlist"'
+               func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+               eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+             }
+           ;;
+          esac
        done
 
        $opt_dry_run || {
@@ -2415,36 +3421,19 @@ extern \"C\" {
          if test -f "$nlist"S; then
            eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
          else
-           $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
+           echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
          fi
 
-         $ECHO >> "$output_objdir/$my_dlsyms" "\
+         echo >> "$output_objdir/$my_dlsyms" "\
 
 /* The mapping between symbol names and symbols.  */
 typedef struct {
   const char *name;
   void *address;
 } lt_dlsymlist;
-"
-         case $host in
-         *cygwin* | *mingw* | *cegcc* )
-           $ECHO >> "$output_objdir/$my_dlsyms" "\
-/* DATA imports from DLLs on WIN32 con't be const, because
-   runtime relocations are performed -- see ld's documentation
-   on pseudo-relocs.  */"
-           lt_dlsym_const= ;;
-         *osf5*)
-           echo >> "$output_objdir/$my_dlsyms" "\
-/* This system does not cope well with relocations in const data */"
-           lt_dlsym_const= ;;
-         *)
-           lt_dlsym_const=const ;;
-         esac
-
-         $ECHO >> "$output_objdir/$my_dlsyms" "\
-extern $lt_dlsym_const lt_dlsymlist
+extern LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[];
-$lt_dlsym_const lt_dlsymlist
+LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[] =
 {\
   { \"$my_originator\", (void *) 0 },"
@@ -2457,7 +3446,7 @@ lt_${my_prefix}_LTX_preloaded_symbols[] =
            eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
            ;;
          esac
-         $ECHO >> "$output_objdir/$my_dlsyms" "\
+         echo >> "$output_objdir/$my_dlsyms" "\
   {0, (void *) 0}
 };
 
@@ -2484,7 +3473,7 @@ static const void *lt_preloaded_setup() {
          # linked before any other PIC object.  But we must not use
          # pic_flag when linking with -static.  The problem exists in
          # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-         *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+         *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
            pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
          *-*-hpux*)
            pic_flag_for_symtable=" $pic_flag"  ;;
@@ -2500,7 +3489,7 @@ static const void *lt_preloaded_setup() {
        for arg in $LTCFLAGS; do
          case $arg in
          -pie | -fpie | -fPIE) ;;
-         *) symtab_cflags="$symtab_cflags $arg" ;;
+         *) func_append symtab_cflags " $arg" ;;
          esac
        done
 
@@ -2515,16 +3504,16 @@ static const void *lt_preloaded_setup() {
        case $host in
        *cygwin* | *mingw* | *cegcc* )
          if test -f "$output_objdir/$my_outputname.def"; then
-           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+           compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+           finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
          else
-           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+           compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+           finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
          fi
          ;;
        *)
-         compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-         finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+         compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+         finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
          ;;
        esac
        ;;
@@ -2538,8 +3527,8 @@ static const void *lt_preloaded_setup() {
       # really was required.
 
       # Nullify the symbol file.
-      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
-      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
     fi
 }
 
@@ -2549,6 +3538,7 @@ static const void *lt_preloaded_setup() {
 # Need a lot of goo to handle *both* DLLs and import libs
 # Has to be a shell function in order to 'eat' the argument
 # that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
 func_win32_libid ()
 {
   $opt_debug
@@ -2559,9 +3549,11 @@ func_win32_libid ()
     win32_libid_type="x86 archive import"
     ;;
   *ar\ archive*) # could be an import, or static
+    # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
-      win32_nmres=`eval $NM -f posix -A $1 |
+       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+      func_to_tool_file "$1" func_convert_file_msys_to_w32
+      win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
        $SED -n -e '
            1,100{
                / I /{
@@ -2590,6 +3582,131 @@ func_win32_libid ()
   $ECHO "$win32_libid_type"
 }
 
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+  $opt_debug
+  sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+  $opt_debug
+  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+  $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+    $SED '/^Contents of section '"$match_literal"':/{
+      # Place marker at beginning of archive member dllname section
+      s/.*/====MARK====/
+      p
+      d
+    }
+    # These lines can sometimes be longer than 43 characters, but
+    # are always uninteresting
+    /:[         ]*file format pe[i]\{,1\}-/d
+    /^In archive [^:]*:/d
+    # Ensure marker is printed
+    /^====MARK====/p
+    # Remove all lines with less than 43 characters
+    /^.\{43\}/!d
+    # From remaining lines, remove first 43 characters
+    s/^.\{43\}//' |
+    $SED -n '
+      # Join marker and all lines until next marker into a single line
+      /^====MARK====/ b para
+      H
+      $ b para
+      b
+      :para
+      x
+      s/\n//g
+      # Remove the marker
+      s/^====MARK====//
+      # Remove trailing dots and whitespace
+      s/[\. \t]*$//
+      # Print
+      /./p' |
+    # we now have a list, one entry per line, of the stringified
+    # contents of the appropriate section of all members of the
+    # archive which possess that section. Heuristic: eliminate
+    # all those which have a first or second character that is
+    # a '.' (that is, objdump's representation of an unprintable
+    # character.) This should work for all archives with less than
+    # 0x302f exports -- but will fail for DLLs whose name actually
+    # begins with a literal '.' or a single character followed by
+    # a '.'.
+    #
+    # Of those that remain, print the first one.
+    $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+  test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+  test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+  $opt_debug
+  if func_cygming_gnu_implib_p "$1" ; then
+    # binutils import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+  elif func_cygming_ms_implib_p "$1" ; then
+    # ms-generated import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+  else
+    # unknown
+    sharedlib_from_linklib_result=""
+  fi
+}
 
 
 # func_extract_an_archive dir oldlib
@@ -2598,7 +3715,18 @@ func_extract_an_archive ()
     $opt_debug
     f_ex_an_ar_dir="$1"; shift
     f_ex_an_ar_oldlib="$1"
-    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
+    if test "$lock_old_archive_extraction" = yes; then
+      lockfile=$f_ex_an_ar_oldlib.lock
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+       func_echo "Waiting for $lockfile to be removed"
+       sleep 2
+      done
+    fi
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+                  'stat=$?; rm -f "$lockfile"; exit $stat'
+    if test "$lock_old_archive_extraction" = yes; then
+      $opt_dry_run || rm -f "$lockfile"
+    fi
     if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
      :
     else
@@ -2669,7 +3797,7 @@ func_extract_archives ()
            darwin_file=
            darwin_files=
            for darwin_file in $darwin_filelist; do
-             darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
+             darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
              $LIPO -create -output "$darwin_file" $darwin_files
            done # $darwin_filelist
            $RM -rf unfat-$$
@@ -2684,25 +3812,30 @@ func_extract_archives ()
         func_extract_an_archive "$my_xdir" "$my_xabs"
        ;;
       esac
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
     done
 
     func_extract_archives_result="$my_oldobjs"
 }
 
 
-
-# func_emit_wrapper_part1 [arg=no]
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable.  Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
 #
-# Emit the first part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part1 ()
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take.  If 'yes', then the emitted script
+# will assume that the directory in which it is stored is
+# the $objdir directory.  This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
 {
-       func_emit_wrapper_part1_arg1=no
-       if test -n "$1" ; then
-         func_emit_wrapper_part1_arg1=$1
-       fi
+       func_emit_wrapper_arg1=${1-no}
 
        $ECHO "\
 #! $SHELL
@@ -2718,7 +3851,6 @@ func_emit_wrapper_part1 ()
 
 # Sed substitution that helps us do robust quoting.  It backslashifies
 # metacharacters that are still active within double-quoted strings.
-Xsed='${SED} -e 1s/^X//'
 sed_quote_subst='$sed_quote_subst'
 
 # Be Bourne compatible
@@ -2749,31 +3881,135 @@ if test \"\$libtool_install_magic\" = \"$magic\"; then
 else
   # When we are sourced in execute mode, \$file and \$ECHO are already set.
   if test \"\$libtool_execute_magic\" != \"$magic\"; then
-    ECHO=\"$qecho\"
-    file=\"\$0\"
-    # Make sure echo works.
-    if test \"X\$1\" = X--no-reexec; then
-      # Discard the --no-reexec flag, and continue.
-      shift
-    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
-      # Yippee, \$ECHO works!
-      :
-    else
-      # Restart under the correct shell, and then maybe \$ECHO will work.
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
-    fi
-  fi\
+    file=\"\$0\""
+
+    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+    $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+    ECHO=\"$qECHO\"
+  fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ which is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options which match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+  lt_script_arg0=\$0
+  shift
+  for lt_opt
+  do
+    case \"\$lt_opt\" in
+    --lt-debug) lt_option_debug=1 ;;
+    --lt-dump-script)
+        lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+        test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+        lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+        cat \"\$lt_dump_D/\$lt_dump_F\"
+        exit 0
+      ;;
+    --lt-*)
+        \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+        exit 1
+      ;;
+    esac
+  done
+
+  # Print the debug banner immediately:
+  if test -n \"\$lt_option_debug\"; then
+    echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
+  fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+  lt_dump_args_N=1;
+  for lt_arg
+  do
+    \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
+    lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+  done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
 "
-       $ECHO "\
+  case $host in
+  # Backslashes separate directories on plain windows
+  *-*-mingw | *-*-os2* | *-cegcc*)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+    ;;
+
+  *)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+    ;;
+  esac
+  $ECHO "\
+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+      exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+  case \" \$* \" in
+  *\\ --lt-*)
+    for lt_wr_arg
+    do
+      case \$lt_wr_arg in
+      --lt-*) ;;
+      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+      esac
+      shift
+    done ;;
+  esac
+  func_exec_program_core \${1+\"\$@\"}
+}
+
+  # Parse options
+  func_parse_lt_options \"\$0\" \${1+\"\$@\"}
 
   # Find the directory that this script lives in.
-  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
   test \"x\$thisdir\" = \"x\$file\" && thisdir=.
 
   # Follow symbolic links until we get to the real thisdir.
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
   while test -n \"\$file\"; do
-    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
 
     # If there was a directory component, then change thisdir.
     if test \"x\$destdir\" != \"x\$file\"; then
@@ -2783,30 +4019,13 @@ else
       esac
     fi
 
-    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
   done
-"
-}
-# end: func_emit_wrapper_part1
-
-# func_emit_wrapper_part2 [arg=no]
-#
-# Emit the second part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part2 ()
-{
-       func_emit_wrapper_part2_arg1=no
-       if test -n "$1" ; then
-         func_emit_wrapper_part2_arg1=$1
-       fi
-
-       $ECHO "\
 
   # Usually 'no', except on cygwin/mingw when embedded into
   # the cwrapper.
-  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
   if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
     # special case for '.'
     if test \"\$thisdir\" = \".\"; then
@@ -2814,7 +4033,7 @@ func_emit_wrapper_part2 ()
     fi
     # remove .libs from thisdir
     case \"\$thisdir\" in
-    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
     $objdir )   thisdir=. ;;
     esac
   fi
@@ -2869,6 +4088,18 @@ func_emit_wrapper_part2 ()
 
   if test -f \"\$progdir/\$program\"; then"
 
+       # fixup the dll searchpath if we need to.
+       #
+       # Fix the DLL searchpath if we need to.  Do this before prepending
+       # to shlibpath, because on Windows, both are PATH and uninstalled
+       # libraries must come first.
+       if test -n "$dllsearchpath"; then
+         $ECHO "\
+    # Add the dll search path components to the executable PATH
+    PATH=$dllsearchpath:\$PATH
+"
+       fi
+
        # Export our shlibpath_var if we have one.
        if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
          $ECHO "\
@@ -2877,253 +4108,28 @@ func_emit_wrapper_part2 ()
 
     # Some systems cannot cope with colon-terminated $shlibpath_var
     # The second colon is a workaround for a bug in BeOS R4 sed
-    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
 
     export $shlibpath_var
 "
        fi
 
-       # fixup the dll searchpath if we need to.
-       if test -n "$dllsearchpath"; then
-         $ECHO "\
-    # Add the dll search path components to the executable PATH
-    PATH=$dllsearchpath:\$PATH
-"
-       fi
-
        $ECHO "\
     if test \"\$libtool_execute_magic\" != \"$magic\"; then
       # Run the actual program with our arguments.
-"
-       case $host in
-       # Backslashes separate directories on plain windows
-       *-*-mingw | *-*-os2* | *-cegcc*)
-         $ECHO "\
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
-"
-         ;;
-
-       *)
-         $ECHO "\
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
-"
-         ;;
-       esac
-       $ECHO "\
-      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
-      exit 1
+      func_exec_program \${1+\"\$@\"}
     fi
   else
     # The program doesn't exist.
     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
-    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     exit 1
   fi
 fi\
 "
 }
-# end: func_emit_wrapper_part2
-
-
-# func_emit_wrapper [arg=no]
-#
-# Emit a libtool wrapper script on stdout.
-# Don't directly open a file because we may want to
-# incorporate the script contents within a cygwin/mingw
-# wrapper executable.  Must ONLY be called from within
-# func_mode_link because it depends on a number of variables
-# set therein.
-#
-# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
-# variable will take.  If 'yes', then the emitted script
-# will assume that the directory in which it is stored is
-# the $objdir directory.  This is a cygwin/mingw-specific
-# behavior.
-func_emit_wrapper ()
-{
-       func_emit_wrapper_arg1=no
-       if test -n "$1" ; then
-         func_emit_wrapper_arg1=$1
-       fi
-
-       # split this up so that func_emit_cwrapperexe_src
-       # can call each part independently.
-       func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
-       func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
-}
-
-
-# func_to_host_path arg
-#
-# Convert paths to host format when used with build tools.
-# Intended for use with "native" mingw (where libtool itself
-# is running under the msys shell), or in the following cross-
-# build environments:
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-# where wine is equipped with the `winepath' executable.
-# In the native mingw case, the (msys) shell automatically
-# converts paths for any non-msys applications it launches,
-# but that facility isn't available from inside the cwrapper.
-# Similar accommodations are necessary for $host mingw and
-# $build cygwin.  Calling this function does no harm for other
-# $host/$build combinations not listed above.
-#
-# ARG is the path (on $build) that should be converted to
-# the proper representation for $host. The result is stored
-# in $func_to_host_path_result.
-func_to_host_path ()
-{
-  func_to_host_path_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        case $build in
-          *mingw* ) # actually, msys
-            # awkward: cmd appends spaces to result
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_path_tmp1=`cygpath -w "$1"`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # Unfortunately, winepath does not exit with a non-zero
-            # error code, so we are forced to check the contents of
-            # stdout. On the other hand, if the command is not
-            # found, the shell will set an exit code of 127 and print
-            # *an error message* to stdout. So we must check for both
-            # error code of zero AND non-empty stdout, which explains
-            # the odd construction:
-            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
-            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
-              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-                $SED -e "$lt_sed_naive_backslashify"`
-            else
-              # Allow warning below.
-              func_to_host_path_result=""
-            fi
-            ;;
-        esac
-        if test -z "$func_to_host_path_result" ; then
-          func_error "Could not determine host path corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback:
-          func_to_host_path_result="$1"
-        fi
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_path
 
-# func_to_host_pathlist arg
-#
-# Convert pathlists to host format when used with build tools.
-# See func_to_host_path(), above. This function supports the
-# following $build/$host combinations (but does no harm for
-# combinations not listed here):
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-#
-# Path separators are also converted from $build format to
-# $host format. If ARG begins or ends with a path separator
-# character, it is preserved (but converted to $host format)
-# on output.
-#
-# ARG is a pathlist (on $build) that should be converted to
-# the proper representation on $host. The result is stored
-# in $func_to_host_pathlist_result.
-func_to_host_pathlist ()
-{
-  func_to_host_pathlist_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        # Remove leading and trailing path separator characters from
-        # ARG. msys behavior is inconsistent here, cygpath turns them
-        # into '.;' and ';.', and winepath ignores them completely.
-        func_to_host_pathlist_tmp2="$1"
-        # Once set for this call, this variable should not be
-        # reassigned. It is used in tha fallback case.
-        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
-          $SED -e 's|^:*||' -e 's|:*$||'`
-        case $build in
-          *mingw* ) # Actually, msys.
-            # Awkward: cmd appends spaces to result.
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # unfortunately, winepath doesn't convert pathlists
-            func_to_host_pathlist_result=""
-            func_to_host_pathlist_oldIFS=$IFS
-            IFS=:
-            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
-              IFS=$func_to_host_pathlist_oldIFS
-              if test -n "$func_to_host_pathlist_f" ; then
-                func_to_host_path "$func_to_host_pathlist_f"
-                if test -n "$func_to_host_path_result" ; then
-                  if test -z "$func_to_host_pathlist_result" ; then
-                    func_to_host_pathlist_result="$func_to_host_path_result"
-                  else
-                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
-                  fi
-                fi
-              fi
-              IFS=:
-            done
-            IFS=$func_to_host_pathlist_oldIFS
-            ;;
-        esac
-        if test -z "$func_to_host_pathlist_result" ; then
-          func_error "Could not determine the host path(s) corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback. This may break if $1 contains DOS-style drive
-          # specifications. The fix is not to complicate the expression
-          # below, but for the user to provide a working wine installation
-          # with winepath so that path translation in the cross-to-mingw
-          # case works properly.
-          lt_replace_pathsep_nix_to_dos="s|:|;|g"
-          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
-            $SED -e "$lt_replace_pathsep_nix_to_dos"`
-        fi
-        # Now, add the leading and trailing path separators back
-        case "$1" in
-          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
-            ;;
-        esac
-        case "$1" in
-          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
-            ;;
-        esac
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_pathlist
 
 # func_emit_cwrapperexe_src
 # emit the source code for a wrapper executable on stdout
@@ -3141,31 +4147,23 @@ func_emit_cwrapperexe_src ()
 
    This wrapper executable should never be moved out of the build directory.
    If it is, it will not operate correctly.
-
-   Currently, it simply execs the wrapper *script* "$SHELL $output",
-   but could eventually absorb all of the scripts functionality and
-   exec $objdir/$outputname directly.
 */
 EOF
            cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef _MSC_VER
 # include <direct.h>
 # include <process.h>
 # include <io.h>
-# define setmode _setmode
 #else
 # include <unistd.h>
 # include <stdint.h>
 # ifdef __CYGWIN__
 #  include <io.h>
-#  define HAVE_SETENV
-#  ifdef __STRICT_ANSI__
-char *realpath (const char *, char *);
-int putenv (char *);
-int setenv (const char *, const char *, int);
-#  endif
 # endif
 #endif
 #include <malloc.h>
@@ -3177,6 +4175,44 @@ int setenv (const char *, const char *, int);
 #include <fcntl.h>
 #include <sys/stat.h>
 
+/* declarations of non-ANSI functions */
+#if defined(__MINGW32__)
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined(__CYGWIN__)
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined (other platforms) ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined(_MSC_VER)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+# define S_IXUSR _S_IEXEC
+# ifndef _INTPTR_T_DEFINED
+#  define _INTPTR_T_DEFINED
+#  define intptr_t int
+# endif
+#elif defined(__MINGW32__)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+#elif defined(__CYGWIN__)
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined (other platforms) ... */
+#endif
+
 #if defined(PATH_MAX)
 # define LT_PATHMAX PATH_MAX
 #elif defined(MAXPATHLEN)
@@ -3192,14 +4228,7 @@ int setenv (const char *, const char *, int);
 # define S_IXGRP 0
 #endif
 
-#ifdef _MSC_VER
-# define S_IXUSR _S_IEXEC
-# define stat _stat
-# ifndef _INTPTR_T_DEFINED
-#  define intptr_t int
-# endif
-#endif
-
+/* path handling portability macros */
 #ifndef DIR_SEPARATOR
 # define DIR_SEPARATOR '/'
 # define PATH_SEPARATOR ':'
@@ -3230,10 +4259,6 @@ int setenv (const char *, const char *, int);
 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
 #endif /* PATH_SEPARATOR_2 */
 
-#ifdef __CYGWIN__
-# define FOPEN_WB "wb"
-#endif
-
 #ifndef FOPEN_WB
 # define FOPEN_WB "w"
 #endif
@@ -3246,22 +4271,13 @@ int setenv (const char *, const char *, int);
   if (stale) { free ((void *) stale); stale = 0; } \
 } while (0)
 
-#undef LTWRAPPER_DEBUGPRINTF
-#if defined DEBUGWRAPPER
-# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
-static void
-ltwrapper_debugprintf (const char *fmt, ...)
-{
-    va_list args;
-    va_start (args, fmt);
-    (void) vfprintf (stderr, fmt, args);
-    va_end (args);
-}
+#if defined(LT_DEBUGWRAPPER)
+static int lt_debug = 1;
 #else
-# define LTWRAPPER_DEBUGPRINTF(args)
+static int lt_debug = 0;
 #endif
 
-const char *program_name = NULL;
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
 
 void *xmalloc (size_t num);
 char *xstrdup (const char *string);
@@ -3271,41 +4287,27 @@ char *chase_symlinks (const char *pathspec);
 int make_executable (const char *path);
 int check_executable (const char *path);
 char *strendzap (char *str, const char *pat);
-void lt_fatal (const char *message, ...);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
 void lt_setenv (const char *name, const char *value);
 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
-void lt_opt_process_env_set (const char *arg);
-void lt_opt_process_env_prepend (const char *arg);
-void lt_opt_process_env_append (const char *arg);
-int lt_split_name_value (const char *arg, char** name, char** value);
 void lt_update_exe_path (const char *name, const char *value);
 void lt_update_lib_path (const char *name, const char *value);
-
-static const char *script_text_part1 =
-EOF
-
-           func_emit_wrapper_part1 yes |
-               $SED -e 's/\([\\"]\)/\\\1/g' \
-                    -e 's/^/  "/' -e 's/$/\\n"/'
-           echo ";"
-           cat <<EOF
-
-static const char *script_text_part2 =
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
 EOF
-           func_emit_wrapper_part2 yes |
-               $SED -e 's/\([\\"]\)/\\\1/g' \
-                    -e 's/^/  "/' -e 's/$/\\n"/'
-           echo ";"
 
            cat <<EOF
-const char * MAGIC_EXE = "$magic_exe";
+volatile const char * MAGIC_EXE = "$magic_exe";
 const char * LIB_PATH_VARNAME = "$shlibpath_var";
 EOF
 
            if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-              func_to_host_pathlist "$temp_rpath"
+              func_to_host_path "$temp_rpath"
              cat <<EOF
-const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * LIB_PATH_VALUE   = "$func_to_host_path_result";
 EOF
            else
              cat <<"EOF"
@@ -3314,10 +4316,10 @@ EOF
            fi
 
            if test -n "$dllsearchpath"; then
-              func_to_host_pathlist "$dllsearchpath:"
+              func_to_host_path "$dllsearchpath:"
              cat <<EOF
 const char * EXE_PATH_VARNAME = "PATH";
-const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * EXE_PATH_VALUE   = "$func_to_host_path_result";
 EOF
            else
              cat <<"EOF"
@@ -3340,24 +4342,10 @@ EOF
            cat <<"EOF"
 
 #define LTWRAPPER_OPTION_PREFIX         "--lt-"
-#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
 
-static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
-
 static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
-
-static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
-static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
-  /* argument is putenv-style "foo=bar", value of foo is set to bar */
-
-static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
-static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
-  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
-
-static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
-static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
-  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
+static const char *debug_opt            = LTWRAPPER_OPTION_PREFIX "debug";
 
 int
 main (int argc, char *argv[])
@@ -3374,10 +4362,13 @@ main (int argc, char *argv[])
   int i;
 
   program_name = (char *) xstrdup (base_name (argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
+  newargz = XMALLOC (char *, argc + 1);
 
-  /* very simple arg parsing; don't want to rely on getopt */
+  /* very simple arg parsing; don't want to rely on getopt
+   * also, copy all non cwrapper options to newargz, except
+   * argz[0], which is handled differently
+   */
+  newargc=0;
   for (i = 1; i < argc; i++)
     {
       if (strcmp (argv[i], dumpscript_opt) == 0)
@@ -3391,25 +4382,57 @@ EOF
              esac
 
            cat <<"EOF"
-         printf ("%s", script_text_part1);
-         printf ("%s", script_text_part2);
+         lt_dump_script (stdout);
          return 0;
        }
+      if (strcmp (argv[i], debug_opt) == 0)
+       {
+          lt_debug = 1;
+          continue;
+       }
+      if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
+        {
+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+             namespace, but it is not one of the ones we know about and
+             have already dealt with, above (inluding dump-script), then
+             report an error. Otherwise, targets might begin to believe
+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+             namespace. The first time any user complains about this, we'll
+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+             or a configure.ac-settable value.
+           */
+          lt_fatal (__FILE__, __LINE__,
+                   "unrecognized %s option: '%s'",
+                    ltwrapper_option_prefix, argv[i]);
+        }
+      /* otherwise ... */
+      newargz[++newargc] = xstrdup (argv[i]);
     }
+  newargz[++newargc] = NULL;
+
+EOF
+           cat <<EOF
+  /* The GNU banner must be the first non-error debug message */
+  lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
+EOF
+           cat <<"EOF"
+  lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
 
-  newargz = XMALLOC (char *, argc + 1);
   tmp_pathspec = find_executable (argv[0]);
   if (tmp_pathspec == NULL)
-    lt_fatal ("Couldn't find %s", argv[0]);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
-                         tmp_pathspec));
+    lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (before symlink chase) at: %s\n",
+                 tmp_pathspec);
 
   actual_cwrapper_path = chase_symlinks (tmp_pathspec);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
-                         actual_cwrapper_path));
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (after symlink chase) at: %s\n",
+                 actual_cwrapper_path);
   XFREE (tmp_pathspec);
 
-  actual_cwrapper_name = xstrdupbase_name (actual_cwrapper_path));
+  actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
   strendzap (actual_cwrapper_path, actual_cwrapper_name);
 
   /* wrapper name transforms */
@@ -3427,8 +4450,9 @@ EOF
   target_name = tmp_pathspec;
   tmp_pathspec = 0;
 
-  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
-                         target_name));
+  lt_debugprintf (__FILE__, __LINE__,
+                 "(main) libtool target name: %s\n",
+                 target_name);
 EOF
 
            cat <<EOF
@@ -3478,80 +4502,19 @@ EOF
 
   lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
   lt_setenv ("DUALCASE", "1");  /* for MSK sh */
-  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+  /* Update the DLL searchpath.  EXE_PATH_VALUE ($dllsearchpath) must
+     be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+     because on Windows, both *_VARNAMEs are PATH but uninstalled
+     libraries must come first. */
   lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
 
-  newargc=0;
-  for (i = 1; i < argc; i++)
-    {
-      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
-        {
-          if (argv[i][env_set_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_set_opt_len + 1;
-              lt_opt_process_env_set (p);
-            }
-          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_set (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_set_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
-        {
-          if (argv[i][env_prepend_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_prepend_opt_len + 1;
-              lt_opt_process_env_prepend (p);
-            }
-          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_prepend_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
-        {
-          if (argv[i][env_append_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_append_opt_len + 1;
-              lt_opt_process_env_append (p);
-            }
-          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_append (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_append_opt);
-          continue;
-        }
-      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
-        {
-          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
-             namespace, but it is not one of the ones we know about and
-             have already dealt with, above (inluding dump-script), then
-             report an error. Otherwise, targets might begin to believe
-             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
-             namespace. The first time any user complains about this, we'll
-             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
-             or a configure.ac-settable value.
-           */
-          lt_fatal ("Unrecognized option in %s namespace: '%s'",
-                    ltwrapper_option_prefix, argv[i]);
-        }
-      /* otherwise ... */
-      newargz[++newargc] = xstrdup (argv[i]);
-    }
-  newargz[++newargc] = NULL;
-
-  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+                 nonnull (lt_argv_zero));
   for (i = 0; i < newargc; i++)
     {
-      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
+      lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+                     i, nonnull (newargz[i]));
     }
 
 EOF
@@ -3560,11 +4523,14 @@ EOF
              mingw*)
                cat <<"EOF"
   /* execv doesn't actually work on mingw as expected on unix */
+  newargz = prepare_spawn (newargz);
   rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
   if (rval == -1)
     {
       /* failed to start process */
-      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
+      lt_debugprintf (__FILE__, __LINE__,
+                     "(main) failed to launch target \"%s\": %s\n",
+                     lt_argv_zero, nonnull (strerror (errno)));
       return 127;
     }
   return rval;
@@ -3586,7 +4552,7 @@ xmalloc (size_t num)
 {
   void *p = (void *) malloc (num);
   if (!p)
-    lt_fatal ("Memory exhausted");
+    lt_fatal (__FILE__, __LINE__, "memory exhausted");
 
   return p;
 }
@@ -3620,8 +4586,8 @@ check_executable (const char *path)
 {
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
-                         path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -3638,8 +4604,8 @@ make_executable (const char *path)
   int rval = 0;
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
-                         path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -3665,8 +4631,8 @@ find_executable (const char *wrapper)
   int tmp_len;
   char *concat_name;
 
-  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
-                         wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+                  nonempty (wrapper));
 
   if ((wrapper == NULL) || (*wrapper == '\0'))
     return NULL;
@@ -3719,7 +4685,8 @@ find_executable (const char *wrapper)
                {
                  /* empty path: current directory */
                  if (getcwd (tmp, LT_PATHMAX) == NULL)
-                   lt_fatal ("getcwd failed");
+                   lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+                              nonnull (strerror (errno)));
                  tmp_len = strlen (tmp);
                  concat_name =
                    XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
@@ -3744,7 +4711,8 @@ find_executable (const char *wrapper)
     }
   /* Relative path | not found in path: prepend cwd */
   if (getcwd (tmp, LT_PATHMAX) == NULL)
-    lt_fatal ("getcwd failed");
+    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+              nonnull (strerror (errno)));
   tmp_len = strlen (tmp);
   concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
   memcpy (concat_name, tmp, tmp_len);
@@ -3770,8 +4738,9 @@ chase_symlinks (const char *pathspec)
   int has_symlinks = 0;
   while (strlen (tmp_pathspec) && !has_symlinks)
     {
-      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
-                             tmp_pathspec));
+      lt_debugprintf (__FILE__, __LINE__,
+                     "checking path component for symlinks: %s\n",
+                     tmp_pathspec);
       if (lstat (tmp_pathspec, &s) == 0)
        {
          if (S_ISLNK (s.st_mode) != 0)
@@ -3793,8 +4762,9 @@ chase_symlinks (const char *pathspec)
        }
       else
        {
-         char *errstr = strerror (errno);
-         lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
+         lt_fatal (__FILE__, __LINE__,
+                   "error accessing file \"%s\": %s",
+                   tmp_pathspec, nonnull (strerror (errno)));
        }
     }
   XFREE (tmp_pathspec);
@@ -3807,7 +4777,8 @@ chase_symlinks (const char *pathspec)
   tmp_pathspec = realpath (pathspec, buf);
   if (tmp_pathspec == 0)
     {
-      lt_fatal ("Could not follow symlinks for %s", pathspec);
+      lt_fatal (__FILE__, __LINE__,
+               "could not follow symlinks for %s", pathspec);
     }
   return xstrdup (tmp_pathspec);
 #endif
@@ -3833,11 +4804,25 @@ strendzap (char *str, const char *pat)
   return str;
 }
 
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+  va_list args;
+  if (lt_debug)
+    {
+      (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+      va_start (args, fmt);
+      (void) vfprintf (stderr, fmt, args);
+      va_end (args);
+    }
+}
+
 static void
-lt_error_core (int exit_status, const char *mode,
+lt_error_core (int exit_status, const char *file,
+              int line, const char *mode,
               const char *message, va_list ap)
 {
-  fprintf (stderr, "%s: %s: ", program_name, mode);
+  fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
   vfprintf (stderr, message, ap);
   fprintf (stderr, ".\n");
 
@@ -3846,20 +4831,32 @@ lt_error_core (int exit_status, const char *mode,
 }
 
 void
-lt_fatal (const char *message, ...)
+lt_fatal (const char *file, int line, const char *message, ...)
 {
   va_list ap;
   va_start (ap, message);
-  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
+  lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
   va_end (ap);
 }
 
+static const char *
+nonnull (const char *s)
+{
+  return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+  return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
 void
 lt_setenv (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+                 "(lt_setenv) setting '%s' to '%s'\n",
+                  nonnull (name), nonnull (value));
   {
 #ifdef HAVE_SETENV
     /* always make a copy, for consistency with !HAVE_SETENV */
@@ -3904,95 +4901,12 @@ lt_extend_str (const char *orig_value, const char *add, int to_end)
   return new_value;
 }
 
-int
-lt_split_name_value (const char *arg, char** name, char** value)
-{
-  const char *p;
-  int len;
-  if (!arg || !*arg)
-    return 1;
-
-  p = strchr (arg, (int)'=');
-
-  if (!p)
-    return 1;
-
-  *value = xstrdup (++p);
-
-  len = strlen (arg) - strlen (*value);
-  *name = XMALLOC (char, len);
-  strncpy (*name, arg, len-1);
-  (*name)[len - 1] = '\0';
-
-  return 0;
-}
-
-void
-lt_opt_process_env_set (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
-    }
-
-  lt_setenv (name, value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_prepend (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 0);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_append (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 1);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
 void
 lt_update_exe_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+                 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4011,9 +4925,9 @@ lt_update_exe_path (const char *name, const char *value)
 void
 lt_update_lib_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+                 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4023,11 +4937,158 @@ lt_update_lib_path (const char *name, const char *value)
     }
 }
 
+EOF
+           case $host_os in
+             mingw*)
+               cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+   Note that spawn() does not by itself call the command interpreter
+     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+         GetVersionEx(&v);
+         v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+      }) ? "cmd.exe" : "command.com").
+   Instead it simply concatenates the arguments, separated by ' ', and calls
+   CreateProcess().  We must quote the arguments since Win32 CreateProcess()
+   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+   special way:
+   - Space and tab are interpreted as delimiters. They are not treated as
+     delimiters if they are surrounded by double quotes: "...".
+   - Unescaped double quotes are removed from the input. Their only effect is
+     that within double quotes, space and tab are treated like normal
+     characters.
+   - Backslashes not followed by double quotes are not special.
+   - But 2*n+1 backslashes followed by a double quote become
+     n backslashes followed by a double quote (n >= 0):
+       \" -> "
+       \\\" -> \"
+       \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+  size_t argc;
+  char **new_argv;
+  size_t i;
+
+  /* Count number of arguments.  */
+  for (argc = 0; argv[argc] != NULL; argc++)
+    ;
+
+  /* Allocate new argument vector.  */
+  new_argv = XMALLOC (char *, argc + 1);
+
+  /* Put quoted arguments into the new argument vector.  */
+  for (i = 0; i < argc; i++)
+    {
+      const char *string = argv[i];
+
+      if (string[0] == '\0')
+       new_argv[i] = xstrdup ("\"\"");
+      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+       {
+         int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+         size_t length;
+         unsigned int backslashes;
+         const char *s;
+         char *quoted_string;
+         char *p;
+
+         length = 0;
+         backslashes = 0;
+         if (quote_around)
+           length++;
+         for (s = string; *s != '\0'; s++)
+           {
+             char c = *s;
+             if (c == '"')
+               length += backslashes + 1;
+             length++;
+             if (c == '\\')
+               backslashes++;
+             else
+               backslashes = 0;
+           }
+         if (quote_around)
+           length += backslashes + 1;
+
+         quoted_string = XMALLOC (char, length + 1);
+
+         p = quoted_string;
+         backslashes = 0;
+         if (quote_around)
+           *p++ = '"';
+         for (s = string; *s != '\0'; s++)
+           {
+             char c = *s;
+             if (c == '"')
+               {
+                 unsigned int j;
+                 for (j = backslashes + 1; j > 0; j--)
+                   *p++ = '\\';
+               }
+             *p++ = c;
+             if (c == '\\')
+               backslashes++;
+             else
+               backslashes = 0;
+           }
+         if (quote_around)
+           {
+             unsigned int j;
+             for (j = backslashes; j > 0; j--)
+               *p++ = '\\';
+             *p++ = '"';
+           }
+         *p = '\0';
+
+         new_argv[i] = quoted_string;
+       }
+      else
+       new_argv[i] = (char *) string;
+    }
+  new_argv[argc] = NULL;
+
+  return new_argv;
+}
+EOF
+               ;;
+           esac
 
+            cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+           func_emit_wrapper yes |
+             $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/  fputs ("\1", f);/p
+g
+D'
+            cat <<"EOF"
+}
 EOF
 }
 # end: func_emit_cwrapperexe_src
 
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+    $opt_debug
+    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+    *import*) : ;;
+    *) false ;;
+    esac
+}
+
 # func_mode_link arg...
 func_mode_link ()
 {
@@ -4072,6 +5133,7 @@ func_mode_link ()
     new_inherited_linker_flags=
 
     avoid_version=no
+    bindir=
     dlfiles=
     dlprefiles=
     dlself=no
@@ -4164,6 +5226,11 @@ func_mode_link ()
        esac
 
        case $prev in
+       bindir)
+         bindir="$arg"
+         prev=
+         continue
+         ;;
        dlfiles|dlprefiles)
          if test "$preload" = no; then
            # Add the symbol object into the linking commands.
@@ -4195,9 +5262,9 @@ func_mode_link ()
            ;;
          *)
            if test "$prev" = dlfiles; then
-             dlfiles="$dlfiles $arg"
+             func_append dlfiles " $arg"
            else
-             dlprefiles="$dlprefiles $arg"
+             func_append dlprefiles " $arg"
            fi
            prev=
            continue
@@ -4221,7 +5288,7 @@ func_mode_link ()
            *-*-darwin*)
              case "$deplibs " in
                *" $qarg.ltframework "*) ;;
-               *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
+               *) func_append deplibs " $qarg.ltframework" # this is fixed later
                   ;;
              esac
              ;;
@@ -4240,7 +5307,7 @@ func_mode_link ()
            moreargs=
            for fil in `cat "$save_arg"`
            do
-#            moreargs="$moreargs $fil"
+#            func_append moreargs " $fil"
              arg=$fil
              # A libtool-controlled object.
 
@@ -4269,7 +5336,7 @@ func_mode_link ()
 
                  if test "$prev" = dlfiles; then
                    if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-                     dlfiles="$dlfiles $pic_object"
+                     func_append dlfiles " $pic_object"
                      prev=
                      continue
                    else
@@ -4281,7 +5348,7 @@ func_mode_link ()
                  # CHECK ME:  I think I busted this.  -Ossama
                  if test "$prev" = dlprefiles; then
                    # Preload the old-style object.
-                   dlprefiles="$dlprefiles $pic_object"
+                   func_append dlprefiles " $pic_object"
                    prev=
                  fi
 
@@ -4351,12 +5418,12 @@ func_mode_link ()
          if test "$prev" = rpath; then
            case "$rpath " in
            *" $arg "*) ;;
-           *) rpath="$rpath $arg" ;;
+           *) func_append rpath " $arg" ;;
            esac
          else
            case "$xrpath " in
            *" $arg "*) ;;
-           *) xrpath="$xrpath $arg" ;;
+           *) func_append xrpath " $arg" ;;
            esac
          fi
          prev=
@@ -4368,28 +5435,28 @@ func_mode_link ()
          continue
          ;;
        weak)
-         weak_libs="$weak_libs $arg"
+         func_append weak_libs " $arg"
          prev=
          continue
          ;;
        xcclinker)
-         linker_flags="$linker_flags $qarg"
-         compiler_flags="$compiler_flags $qarg"
+         func_append linker_flags " $qarg"
+         func_append compiler_flags " $qarg"
          prev=
          func_append compile_command " $qarg"
          func_append finalize_command " $qarg"
          continue
          ;;
        xcompiler)
-         compiler_flags="$compiler_flags $qarg"
+         func_append compiler_flags " $qarg"
          prev=
          func_append compile_command " $qarg"
          func_append finalize_command " $qarg"
          continue
          ;;
        xlinker)
-         linker_flags="$linker_flags $qarg"
-         compiler_flags="$compiler_flags $wl$qarg"
+         func_append linker_flags " $qarg"
+         func_append compiler_flags " $wl$qarg"
          prev=
          func_append compile_command " $wl$qarg"
          func_append finalize_command " $wl$qarg"
@@ -4425,6 +5492,11 @@ func_mode_link ()
        continue
        ;;
 
+      -bindir)
+       prev=bindir
+       continue
+       ;;
+
       -dlopen)
        prev=dlfiles
        continue
@@ -4475,15 +5547,16 @@ func_mode_link ()
        ;;
 
       -L*)
-       func_stripname '-L' '' "$arg"
-       dir=$func_stripname_result
-       if test -z "$dir"; then
+       func_stripname "-L" '' "$arg"
+       if test -z "$func_stripname_result"; then
          if test "$#" -gt 0; then
            func_fatal_error "require no space between \`-L' and \`$1'"
          else
            func_fatal_error "need path for \`-L' option"
          fi
        fi
+       func_resolve_sysroot "$func_stripname_result"
+       dir=$func_resolve_sysroot_result
        # We need an absolute path.
        case $dir in
        [\\/]* | [A-Za-z]:[\\/]*) ;;
@@ -4495,24 +5568,30 @@ func_mode_link ()
          ;;
        esac
        case "$deplibs " in
-       *" -L$dir "*) ;;
+       *" -L$dir "* | *" $arg "*)
+         # Will only happen for absolute or sysroot arguments
+         ;;
        *)
-         deplibs="$deplibs -L$dir"
-         lib_search_path="$lib_search_path $dir"
+         # Preserve sysroot, but never include relative directories
+         case $dir in
+           [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+           *) func_append deplibs " -L$dir" ;;
+         esac
+         func_append lib_search_path " $dir"
          ;;
        esac
        case $host in
        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-         testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
+         testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$dir:"*) ;;
          ::) dllsearchpath=$dir;;
-         *) dllsearchpath="$dllsearchpath:$dir";;
+         *) func_append dllsearchpath ":$dir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
          ::) dllsearchpath=$testbindir;;
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
+         *) func_append dllsearchpath ":$testbindir";;
          esac
          ;;
        esac
@@ -4522,7 +5601,7 @@ func_mode_link ()
       -l*)
        if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
          case $host in
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
            # These systems don't actually have a C or math library (as such)
            continue
            ;;
@@ -4536,7 +5615,7 @@ func_mode_link ()
            ;;
          *-*-rhapsody* | *-*-darwin1.[012])
            # Rhapsody C and math libraries are in the System framework
-           deplibs="$deplibs System.ltframework"
+           func_append deplibs " System.ltframework"
            continue
            ;;
          *-*-sco3.2v5* | *-*-sco5v6*)
@@ -4556,7 +5635,7 @@ func_mode_link ()
           ;;
         esac
        fi
-       deplibs="$deplibs $arg"
+       func_append deplibs " $arg"
        continue
        ;;
 
@@ -4568,21 +5647,22 @@ func_mode_link ()
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot)
-       compiler_flags="$compiler_flags $arg"
+      -model|-arch|-isysroot|--sysroot)
+       func_append compiler_flags " $arg"
        func_append compile_command " $arg"
        func_append finalize_command " $arg"
        prev=xcompiler
        continue
        ;;
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
-       compiler_flags="$compiler_flags $arg"
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+       func_append compiler_flags " $arg"
        func_append compile_command " $arg"
        func_append finalize_command " $arg"
        case "$new_inherited_linker_flags " in
            *" $arg "*) ;;
-           * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
+           * ) func_append new_inherited_linker_flags " $arg" ;;
        esac
        continue
        ;;
@@ -4649,13 +5729,17 @@ func_mode_link ()
        # We need an absolute path.
        case $dir in
        [\\/]* | [A-Za-z]:[\\/]*) ;;
+       =*)
+         func_stripname '=' '' "$dir"
+         dir=$lt_sysroot$func_stripname_result
+         ;;
        *)
          func_fatal_error "only absolute run-paths are allowed"
          ;;
        esac
        case "$xrpath " in
        *" $dir "*) ;;
-       *) xrpath="$xrpath $dir" ;;
+       *) func_append xrpath " $dir" ;;
        esac
        continue
        ;;
@@ -4708,8 +5792,8 @@ func_mode_link ()
        for flag in $args; do
          IFS="$save_ifs"
           func_quote_for_eval "$flag"
-         arg="$arg $wl$func_quote_for_eval_result"
-         compiler_flags="$compiler_flags $func_quote_for_eval_result"
+         func_append arg " $func_quote_for_eval_result"
+         func_append compiler_flags " $func_quote_for_eval_result"
        done
        IFS="$save_ifs"
        func_stripname ' ' '' "$arg"
@@ -4724,9 +5808,9 @@ func_mode_link ()
        for flag in $args; do
          IFS="$save_ifs"
           func_quote_for_eval "$flag"
-         arg="$arg $wl$func_quote_for_eval_result"
-         compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
-         linker_flags="$linker_flags $func_quote_for_eval_result"
+         func_append arg " $wl$func_quote_for_eval_result"
+         func_append compiler_flags " $wl$func_quote_for_eval_result"
+         func_append linker_flags " $func_quote_for_eval_result"
        done
        IFS="$save_ifs"
        func_stripname ' ' '' "$arg"
@@ -4754,23 +5838,27 @@ func_mode_link ()
        arg="$func_quote_for_eval_result"
        ;;
 
-      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
-      # -r[0-9][0-9]* specifies the processor on the SGI compiler
-      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
-      # +DA*, +DD* enable 64-bit mode on the HP compiler
-      # -q* pass through compiler args for the IBM compiler
-      # -m*, -t[45]*, -txscale* pass through architecture-specific
-      # compiler args for GCC
-      # -F/path gives path to uninstalled frameworks, gcc on darwin
-      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
-      # @file GCC response files
+      # Flags to be passed through unchanged, with rationale:
+      # -64, -mips[0-9]      enable 64-bit mode for the SGI compiler
+      # -r[0-9][0-9]*        specify processor for the SGI compiler
+      # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+      # +DA*, +DD*           enable 64-bit mode for the HP compiler
+      # -q*                  compiler args for the IBM compiler
+      # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+      # -F/path              path to uninstalled frameworks, gcc on darwin
+      # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
+      # @file                GCC response files
+      # -tp=*                Portland pgcc target processor selection
+      # --sysroot=*          for sysroot support
+      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
         func_quote_for_eval "$arg"
        arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
         func_append finalize_command " $arg"
-        compiler_flags="$compiler_flags $arg"
+        func_append compiler_flags " $arg"
         continue
         ;;
 
@@ -4782,7 +5870,7 @@ func_mode_link ()
 
       *.$objext)
        # A standard object.
-       objs="$objs $arg"
+       func_append objs " $arg"
        ;;
 
       *.lo)
@@ -4813,7 +5901,7 @@ func_mode_link ()
 
            if test "$prev" = dlfiles; then
              if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-               dlfiles="$dlfiles $pic_object"
+               func_append dlfiles " $pic_object"
                prev=
                continue
              else
@@ -4825,7 +5913,7 @@ func_mode_link ()
            # CHECK ME:  I think I busted this.  -Ossama
            if test "$prev" = dlprefiles; then
              # Preload the old-style object.
-             dlprefiles="$dlprefiles $pic_object"
+             func_append dlprefiles " $pic_object"
              prev=
            fi
 
@@ -4870,24 +5958,25 @@ func_mode_link ()
 
       *.$libext)
        # An archive.
-       deplibs="$deplibs $arg"
-       old_deplibs="$old_deplibs $arg"
+       func_append deplibs " $arg"
+       func_append old_deplibs " $arg"
        continue
        ;;
 
       *.la)
        # A libtool-controlled library.
 
+       func_resolve_sysroot "$arg"
        if test "$prev" = dlfiles; then
          # This library was specified with -dlopen.
-         dlfiles="$dlfiles $arg"
+         func_append dlfiles " $func_resolve_sysroot_result"
          prev=
        elif test "$prev" = dlprefiles; then
          # The library was specified with -dlpreopen.
-         dlprefiles="$dlprefiles $arg"
+         func_append dlprefiles " $func_resolve_sysroot_result"
          prev=
        else
-         deplibs="$deplibs $arg"
+         func_append deplibs " $func_resolve_sysroot_result"
        fi
        continue
        ;;
@@ -4925,7 +6014,7 @@ func_mode_link ()
 
     if test -n "$shlibpath_var"; then
       # get the directories listed in $shlibpath_var
-      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
     else
       shlib_search_path=
     fi
@@ -4934,6 +6023,8 @@ func_mode_link ()
 
     func_dirname "$output" "/" ""
     output_objdir="$func_dirname_result$objdir"
+    func_to_tool_file "$output_objdir/"
+    tool_output_objdir=$func_to_tool_file_result
     # Create the object directory.
     func_mkdir_p "$output_objdir"
 
@@ -4954,12 +6045,12 @@ func_mode_link ()
     # Find all interdependent deplibs by searching for libraries
     # that are linked more than once (e.g. -la -lb -la)
     for deplib in $deplibs; do
-      if $opt_duplicate_deps ; then
+      if $opt_preserve_dup_deps ; then
        case "$libs " in
-       *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+       *" $deplib "*) func_append specialdeplibs " $deplib" ;;
        esac
       fi
-      libs="$libs $deplib"
+      func_append libs " $deplib"
     done
 
     if test "$linkmode" = lib; then
@@ -4972,9 +6063,9 @@ func_mode_link ()
       if $opt_duplicate_compiler_generated_deps; then
        for pre_post_dep in $predeps $postdeps; do
          case "$pre_post_deps " in
-         *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
+         *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
          esac
-         pre_post_deps="$pre_post_deps $pre_post_dep"
+         func_append pre_post_deps " $pre_post_dep"
        done
       fi
       pre_post_deps=
@@ -5044,17 +6135,19 @@ func_mode_link ()
        for lib in $dlprefiles; do
          # Ignore non-libtool-libs
          dependency_libs=
+         func_resolve_sysroot "$lib"
          case $lib in
-         *.la) func_source "$lib" ;;
+         *.la) func_source "$func_resolve_sysroot_result" ;;
          esac
 
          # Collect preopened libtool deplibs, except any this library
          # has declared as weak libs
          for deplib in $dependency_libs; do
-            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
+           func_basename "$deplib"
+            deplib_base=$func_basename_result
            case " $weak_libs " in
            *" $deplib_base "*) ;;
-           *) deplibs="$deplibs $deplib" ;;
+           *) func_append deplibs " $deplib" ;;
            esac
          done
        done
@@ -5070,16 +6163,17 @@ func_mode_link ()
        lib=
        found=no
        case $deplib in
-       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
          if test "$linkmode,$pass" = "prog,link"; then
            compile_deplibs="$deplib $compile_deplibs"
            finalize_deplibs="$deplib $finalize_deplibs"
          else
-           compiler_flags="$compiler_flags $deplib"
+           func_append compiler_flags " $deplib"
            if test "$linkmode" = lib ; then
                case "$new_inherited_linker_flags " in
                    *" $deplib "*) ;;
-                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+                   * ) func_append new_inherited_linker_flags " $deplib" ;;
                esac
            fi
          fi
@@ -5164,7 +6258,7 @@ func_mode_link ()
            if test "$linkmode" = lib ; then
                case "$new_inherited_linker_flags " in
                    *" $deplib "*) ;;
-                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+                   * ) func_append new_inherited_linker_flags " $deplib" ;;
                esac
            fi
          fi
@@ -5177,7 +6271,8 @@ func_mode_link ()
            test "$pass" = conv && continue
            newdependency_libs="$deplib $newdependency_libs"
            func_stripname '-L' '' "$deplib"
-           newlib_search_path="$newlib_search_path $func_stripname_result"
+           func_resolve_sysroot "$func_stripname_result"
+           func_append newlib_search_path " $func_resolve_sysroot_result"
            ;;
          prog)
            if test "$pass" = conv; then
@@ -5191,7 +6286,8 @@ func_mode_link ()
              finalize_deplibs="$deplib $finalize_deplibs"
            fi
            func_stripname '-L' '' "$deplib"
-           newlib_search_path="$newlib_search_path $func_stripname_result"
+           func_resolve_sysroot "$func_stripname_result"
+           func_append newlib_search_path " $func_resolve_sysroot_result"
            ;;
          *)
            func_warning "\`-L' is ignored for archives/objects"
@@ -5202,17 +6298,21 @@ func_mode_link ()
        -R*)
          if test "$pass" = link; then
            func_stripname '-R' '' "$deplib"
-           dir=$func_stripname_result
+           func_resolve_sysroot "$func_stripname_result"
+           dir=$func_resolve_sysroot_result
            # Make sure the xrpath contains only unique directories.
            case "$xrpath " in
            *" $dir "*) ;;
-           *) xrpath="$xrpath $dir" ;;
+           *) func_append xrpath " $dir" ;;
            esac
          fi
          deplibs="$deplib $deplibs"
          continue
          ;;
-       *.la) lib="$deplib" ;;
+       *.la)
+         func_resolve_sysroot "$deplib"
+         lib=$func_resolve_sysroot_result
+         ;;
        *.$libext)
          if test "$pass" = conv; then
            deplibs="$deplib $deplibs"
@@ -5230,7 +6330,7 @@ func_mode_link ()
                match_pattern*)
                  set dummy $deplibs_check_method; shift
                  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-                 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
+                 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
                    | $EGREP "$match_pattern_regex" > /dev/null; then
                    valid_a_lib=yes
                  fi
@@ -5240,15 +6340,15 @@ func_mode_link ()
                ;;
              esac
              if test "$valid_a_lib" != yes; then
-               $ECHO
+               echo
                $ECHO "*** Warning: Trying to link with static lib archive $deplib."
-               $ECHO "*** I have the capability to make that library automatically link in when"
-               $ECHO "*** you link to this library.  But I can only do this if you have a"
-               $ECHO "*** shared version of the library, which you do not appear to have"
-               $ECHO "*** because the file extensions .$libext of this argument makes me believe"
-               $ECHO "*** that it is just a static archive that I should not use here."
+               echo "*** I have the capability to make that library automatically link in when"
+               echo "*** you link to this library.  But I can only do this if you have a"
+               echo "*** shared version of the library, which you do not appear to have"
+               echo "*** because the file extensions .$libext of this argument makes me believe"
+               echo "*** that it is just a static archive that I should not use here."
              else
-               $ECHO
+               echo
                $ECHO "*** Warning: Linking the shared library $output against the"
                $ECHO "*** static library $deplib is not portable!"
                deplibs="$deplib $deplibs"
@@ -5275,11 +6375,11 @@ func_mode_link ()
            if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
              # If there is no dlopen support or we're linking statically,
              # we need to preload.
-             newdlprefiles="$newdlprefiles $deplib"
+             func_append newdlprefiles " $deplib"
              compile_deplibs="$deplib $compile_deplibs"
              finalize_deplibs="$deplib $finalize_deplibs"
            else
-             newdlfiles="$newdlfiles $deplib"
+             func_append newdlfiles " $deplib"
            fi
          fi
          continue
@@ -5321,20 +6421,20 @@ func_mode_link ()
 
        # Convert "-framework foo" to "foo.ltframework"
        if test -n "$inherited_linker_flags"; then
-         tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
+         tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
          for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
            case " $new_inherited_linker_flags " in
              *" $tmp_inherited_linker_flag "*) ;;
-             *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
+             *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
            esac
          done
        fi
-       dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+       dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
        if test "$linkmode,$pass" = "lib,link" ||
           test "$linkmode,$pass" = "prog,scan" ||
           { test "$linkmode" != prog && test "$linkmode" != lib; }; then
-         test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
-         test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+         test -n "$dlopen" && func_append dlfiles " $dlopen"
+         test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
        fi
 
        if test "$pass" = conv; then
@@ -5345,17 +6445,17 @@ func_mode_link ()
              func_fatal_error "cannot find name of link library for \`$lib'"
            fi
            # It is a libtool convenience library, so add in its objects.
-           convenience="$convenience $ladir/$objdir/$old_library"
-           old_convenience="$old_convenience $ladir/$objdir/$old_library"
+           func_append convenience " $ladir/$objdir/$old_library"
+           func_append old_convenience " $ladir/$objdir/$old_library"
            tmp_libs=
            for deplib in $dependency_libs; do
              deplibs="$deplib $deplibs"
-             if $opt_duplicate_deps ; then
+             if $opt_preserve_dup_deps ; then
                case "$tmp_libs " in
-               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+               *" $deplib "*) func_append specialdeplibs " $deplib" ;;
                esac
              fi
-             tmp_libs="$tmp_libs $deplib"
+             func_append tmp_libs " $deplib"
            done
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
            func_fatal_error "\`$lib' is not a convenience library"
@@ -5366,9 +6466,15 @@ func_mode_link ()
 
        # Get the name of the library we link against.
        linklib=
-       for l in $old_library $library_names; do
-         linklib="$l"
-       done
+       if test -n "$old_library" &&
+          { test "$prefer_static_libs" = yes ||
+            test "$prefer_static_libs,$installed" = "built,no"; }; then
+         linklib=$old_library
+       else
+         for l in $old_library $library_names; do
+           linklib="$l"
+         done
+       fi
        if test -z "$linklib"; then
          func_fatal_error "cannot find name of link library for \`$lib'"
        fi
@@ -5385,9 +6491,9 @@ func_mode_link ()
            # statically, we need to preload.  We also need to preload any
            # dependent libraries so libltdl's deplib preloader doesn't
            # bomb out in the load deplibs phase.
-           dlprefiles="$dlprefiles $lib $dependency_libs"
+           func_append dlprefiles " $lib $dependency_libs"
          else
-           newdlfiles="$newdlfiles $lib"
+           func_append newdlfiles " $lib"
          fi
          continue
        fi # $pass = dlopen
@@ -5409,14 +6515,14 @@ func_mode_link ()
 
        # Find the relevant object directory and library name.
        if test "X$installed" = Xyes; then
-         if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+         if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
            func_warning "library \`$lib' was moved."
            dir="$ladir"
            absdir="$abs_ladir"
            libdir="$abs_ladir"
          else
-           dir="$libdir"
-           absdir="$libdir"
+           dir="$lt_sysroot$libdir"
+           absdir="$lt_sysroot$libdir"
          fi
          test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
        else
@@ -5424,12 +6530,12 @@ func_mode_link ()
            dir="$ladir"
            absdir="$abs_ladir"
            # Remove this search path later
-           notinst_path="$notinst_path $abs_ladir"
+           func_append notinst_path " $abs_ladir"
          else
            dir="$ladir/$objdir"
            absdir="$abs_ladir/$objdir"
            # Remove this search path later
-           notinst_path="$notinst_path $abs_ladir"
+           func_append notinst_path " $abs_ladir"
          fi
        fi # $installed = yes
        func_stripname 'lib' '.la' "$laname"
@@ -5440,20 +6546,46 @@ func_mode_link ()
          if test -z "$libdir" && test "$linkmode" = prog; then
            func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
          fi
-         # Prefer using a static library (so that no silly _DYNAMIC symbols
-         # are required to link).
-         if test -n "$old_library"; then
-           newdlprefiles="$newdlprefiles $dir/$old_library"
-           # Keep a list of preopened convenience libraries to check
-           # that they are being used correctly in the link pass.
-           test -z "$libdir" && \
-               dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
-         # Otherwise, use the dlname, so that lt_dlopen finds it.
-         elif test -n "$dlname"; then
-           newdlprefiles="$newdlprefiles $dir/$dlname"
-         else
-           newdlprefiles="$newdlprefiles $dir/$linklib"
-         fi
+         case "$host" in
+           # special handling for platforms with PE-DLLs.
+           *cygwin* | *mingw* | *cegcc* )
+             # Linker will automatically link against shared library if both
+             # static and shared are present.  Therefore, ensure we extract
+             # symbols from the import library if a shared library is present
+             # (otherwise, the dlopen module name will be incorrect).  We do
+             # this by putting the import library name into $newdlprefiles.
+             # We recover the dlopen module name by 'saving' the la file
+             # name in a special purpose variable, and (later) extracting the
+             # dlname from the la file.
+             if test -n "$dlname"; then
+               func_tr_sh "$dir/$linklib"
+               eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+               func_append newdlprefiles " $dir/$linklib"
+             else
+               func_append newdlprefiles " $dir/$old_library"
+               # Keep a list of preopened convenience libraries to check
+               # that they are being used correctly in the link pass.
+               test -z "$libdir" && \
+                 func_append dlpreconveniencelibs " $dir/$old_library"
+             fi
+           ;;
+           * )
+             # Prefer using a static library (so that no silly _DYNAMIC symbols
+             # are required to link).
+             if test -n "$old_library"; then
+               func_append newdlprefiles " $dir/$old_library"
+               # Keep a list of preopened convenience libraries to check
+               # that they are being used correctly in the link pass.
+               test -z "$libdir" && \
+                 func_append dlpreconveniencelibs " $dir/$old_library"
+             # Otherwise, use the dlname, so that lt_dlopen finds it.
+             elif test -n "$dlname"; then
+               func_append newdlprefiles " $dir/$dlname"
+             else
+               func_append newdlprefiles " $dir/$linklib"
+             fi
+           ;;
+         esac
        fi # $pass = dlpreopen
 
        if test -z "$libdir"; then
@@ -5471,7 +6603,7 @@ func_mode_link ()
 
 
        if test "$linkmode" = prog && test "$pass" != link; then
-         newlib_search_path="$newlib_search_path $ladir"
+         func_append newlib_search_path " $ladir"
          deplibs="$lib $deplibs"
 
          linkalldeplibs=no
@@ -5484,7 +6616,8 @@ func_mode_link ()
          for deplib in $dependency_libs; do
            case $deplib in
            -L*) func_stripname '-L' '' "$deplib"
-                newlib_search_path="$newlib_search_path $func_stripname_result"
+                func_resolve_sysroot "$func_stripname_result"
+                func_append newlib_search_path " $func_resolve_sysroot_result"
                 ;;
            esac
            # Need to link against all dependency_libs?
@@ -5495,12 +6628,12 @@ func_mode_link ()
              # or/and link against static libraries
              newdependency_libs="$deplib $newdependency_libs"
            fi
-           if $opt_duplicate_deps ; then
+           if $opt_preserve_dup_deps ; then
              case "$tmp_libs " in
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+             *" $deplib "*) func_append specialdeplibs " $deplib" ;;
              esac
            fi
-           tmp_libs="$tmp_libs $deplib"
+           func_append tmp_libs " $deplib"
          done # for deplib
          continue
        fi # $linkmode = prog...
@@ -5515,7 +6648,7 @@ func_mode_link ()
              # Make sure the rpath contains only unique directories.
              case "$temp_rpath:" in
              *"$absdir:"*) ;;
-             *) temp_rpath="$temp_rpath$absdir:" ;;
+             *) func_append temp_rpath "$absdir:" ;;
              esac
            fi
 
@@ -5527,7 +6660,7 @@ func_mode_link ()
            *)
              case "$compile_rpath " in
              *" $absdir "*) ;;
-             *) compile_rpath="$compile_rpath $absdir"
+             *) func_append compile_rpath " $absdir" ;;
              esac
              ;;
            esac
@@ -5536,7 +6669,7 @@ func_mode_link ()
            *)
              case "$finalize_rpath " in
              *" $libdir "*) ;;
-             *) finalize_rpath="$finalize_rpath $libdir"
+             *) func_append finalize_rpath " $libdir" ;;
              esac
              ;;
            esac
@@ -5561,12 +6694,12 @@ func_mode_link ()
          case $host in
          *cygwin* | *mingw* | *cegcc*)
              # No point in relinking DLLs because paths are not encoded
-             notinst_deplibs="$notinst_deplibs $lib"
+             func_append notinst_deplibs " $lib"
              need_relink=no
            ;;
          *)
            if test "$installed" = no; then
-             notinst_deplibs="$notinst_deplibs $lib"
+             func_append notinst_deplibs " $lib"
              need_relink=yes
            fi
            ;;
@@ -5583,7 +6716,7 @@ func_mode_link ()
            fi
          done
          if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
-           $ECHO
+           echo
            if test "$linkmode" = prog; then
              $ECHO "*** Warning: Linking the executable $output against the loadable module"
            else
@@ -5601,7 +6734,7 @@ func_mode_link ()
            *)
              case "$compile_rpath " in
              *" $absdir "*) ;;
-             *) compile_rpath="$compile_rpath $absdir"
+             *) func_append compile_rpath " $absdir" ;;
              esac
              ;;
            esac
@@ -5610,7 +6743,7 @@ func_mode_link ()
            *)
              case "$finalize_rpath " in
              *" $libdir "*) ;;
-             *) finalize_rpath="$finalize_rpath $libdir"
+             *) func_append finalize_rpath " $libdir" ;;
              esac
              ;;
            esac
@@ -5664,7 +6797,7 @@ func_mode_link ()
            linklib=$newlib
          fi # test -n "$old_archive_from_expsyms_cmds"
 
-         if test "$linkmode" = prog || test "$mode" != relink; then
+         if test "$linkmode" = prog || test "$opt_mode" != relink; then
            add_shlibpath=
            add_dir=
            add=
@@ -5686,9 +6819,9 @@ func_mode_link ()
                      if test "X$dlopenmodule" != "X$lib"; then
                        $ECHO "*** Warning: lib $linklib is a module, not a shared library"
                        if test -z "$old_library" ; then
-                         $ECHO
-                         $ECHO "*** And there doesn't seem to be a static archive available"
-                         $ECHO "*** The link will probably fail, sorry"
+                         echo
+                         echo "*** And there doesn't seem to be a static archive available"
+                         echo "*** The link will probably fail, sorry"
                        else
                          add="$dir/$old_library"
                        fi
@@ -5715,12 +6848,12 @@ func_mode_link ()
                 test "$hardcode_direct_absolute" = no; then
                add="$dir/$linklib"
              elif test "$hardcode_minus_L" = yes; then
-               add_dir="-L$dir"
+               add_dir="-L$absdir"
                # Try looking first in the location we're being installed to.
                if test -n "$inst_prefix_dir"; then
                  case $libdir in
                    [\\/]*)
-                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
+                     func_append add_dir " -L$inst_prefix_dir$libdir"
                      ;;
                  esac
                fi
@@ -5742,7 +6875,7 @@ func_mode_link ()
            if test -n "$add_shlibpath"; then
              case :$compile_shlibpath: in
              *":$add_shlibpath:"*) ;;
-             *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+             *) func_append compile_shlibpath "$add_shlibpath:" ;;
              esac
            fi
            if test "$linkmode" = prog; then
@@ -5756,13 +6889,13 @@ func_mode_link ()
                 test "$hardcode_shlibpath_var" = yes; then
                case :$finalize_shlibpath: in
                *":$libdir:"*) ;;
-               *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+               *) func_append finalize_shlibpath "$libdir:" ;;
                esac
              fi
            fi
          fi
 
-         if test "$linkmode" = prog || test "$mode" = relink; then
+         if test "$linkmode" = prog || test "$opt_mode" = relink; then
            add_shlibpath=
            add_dir=
            add=
@@ -5776,7 +6909,7 @@ func_mode_link ()
            elif test "$hardcode_shlibpath_var" = yes; then
              case :$finalize_shlibpath: in
              *":$libdir:"*) ;;
-             *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+             *) func_append finalize_shlibpath "$libdir:" ;;
              esac
              add="-l$name"
            elif test "$hardcode_automatic" = yes; then
@@ -5793,7 +6926,7 @@ func_mode_link ()
              if test -n "$inst_prefix_dir"; then
                case $libdir in
                  [\\/]*)
-                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
+                   func_append add_dir " -L$inst_prefix_dir$libdir"
                    ;;
                esac
              fi
@@ -5828,21 +6961,21 @@ func_mode_link ()
 
            # Just print a warning and add the library to dependency_libs so
            # that the program can be linked against the static library.
-           $ECHO
+           echo
            $ECHO "*** Warning: This system can not link to static lib archive $lib."
-           $ECHO "*** I have the capability to make that library automatically link in when"
-           $ECHO "*** you link to this library.  But I can only do this if you have a"
-           $ECHO "*** shared version of the library, which you do not appear to have."
+           echo "*** I have the capability to make that library automatically link in when"
+           echo "*** you link to this library.  But I can only do this if you have a"
+           echo "*** shared version of the library, which you do not appear to have."
            if test "$module" = yes; then
-             $ECHO "*** But as you try to build a module library, libtool will still create "
-             $ECHO "*** a static module, that should work as long as the dlopening application"
-             $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
+             echo "*** But as you try to build a module library, libtool will still create "
+             echo "*** a static module, that should work as long as the dlopening application"
+             echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
              if test -z "$global_symbol_pipe"; then
-               $ECHO
-               $ECHO "*** However, this would only work if libtool was able to extract symbol"
-               $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-               $ECHO "*** not find such a program.  So, this module is probably useless."
-               $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+               echo
+               echo "*** However, this would only work if libtool was able to extract symbol"
+               echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+               echo "*** not find such a program.  So, this module is probably useless."
+               echo "*** \`nm' from GNU binutils and a full rebuild may help."
              fi
              if test "$build_old_libs" = no; then
                build_libtool_libs=module
@@ -5870,27 +7003,33 @@ func_mode_link ()
                   temp_xrpath=$func_stripname_result
                   case " $xrpath " in
                   *" $temp_xrpath "*) ;;
-                  *) xrpath="$xrpath $temp_xrpath";;
+                  *) func_append xrpath " $temp_xrpath";;
                   esac;;
-             *) temp_deplibs="$temp_deplibs $libdir";;
+             *) func_append temp_deplibs " $libdir";;
              esac
            done
            dependency_libs="$temp_deplibs"
          fi
 
-         newlib_search_path="$newlib_search_path $absdir"
+         func_append newlib_search_path " $absdir"
          # Link against this library
          test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
          # ... and its dependency_libs
          tmp_libs=
          for deplib in $dependency_libs; do
            newdependency_libs="$deplib $newdependency_libs"
-           if $opt_duplicate_deps ; then
+           case $deplib in
+              -L*) func_stripname '-L' '' "$deplib"
+                   func_resolve_sysroot "$func_stripname_result";;
+              *) func_resolve_sysroot "$deplib" ;;
+            esac
+           if $opt_preserve_dup_deps ; then
              case "$tmp_libs " in
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+             *" $func_resolve_sysroot_result "*)
+                func_append specialdeplibs " $func_resolve_sysroot_result" ;;
              esac
            fi
-           tmp_libs="$tmp_libs $deplib"
+           func_append tmp_libs " $func_resolve_sysroot_result"
          done
 
          if test "$link_all_deplibs" != no; then
@@ -5900,8 +7039,10 @@ func_mode_link ()
              case $deplib in
              -L*) path="$deplib" ;;
              *.la)
+               func_resolve_sysroot "$deplib"
+               deplib=$func_resolve_sysroot_result
                func_dirname "$deplib" "" "."
-               dir="$func_dirname_result"
+               dir=$func_dirname_result
                # We need an absolute path.
                case $dir in
                [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
@@ -5928,8 +7069,8 @@ func_mode_link ()
                       if test -z "$darwin_install_name"; then
                           darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
                       fi
-                     compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
-                     linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
+                     func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
+                     func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
                      path=
                    fi
                  fi
@@ -5962,7 +7103,7 @@ func_mode_link ()
          compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
          finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
        else
-         compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+         compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
        fi
       fi
       dependency_libs="$newdependency_libs"
@@ -5979,7 +7120,7 @@ func_mode_link ()
          for dir in $newlib_search_path; do
            case "$lib_search_path " in
            *" $dir "*) ;;
-           *) lib_search_path="$lib_search_path $dir" ;;
+           *) func_append lib_search_path " $dir" ;;
            esac
          done
          newlib_search_path=
@@ -6037,10 +7178,10 @@ func_mode_link ()
            -L*)
              case " $tmp_libs " in
              *" $deplib "*) ;;
-             *) tmp_libs="$tmp_libs $deplib" ;;
+             *) func_append tmp_libs " $deplib" ;;
              esac
              ;;
-           *) tmp_libs="$tmp_libs $deplib" ;;
+           *) func_append tmp_libs " $deplib" ;;
            esac
          done
          eval $var=\"$tmp_libs\"
@@ -6056,7 +7197,7 @@ func_mode_link ()
          ;;
        esac
        if test -n "$i" ; then
-         tmp_libs="$tmp_libs $i"
+         func_append tmp_libs " $i"
        fi
       done
       dependency_libs=$tmp_libs
@@ -6097,7 +7238,7 @@ func_mode_link ()
       # Now set the variables for building old libraries.
       build_libtool_libs=no
       oldlibs="$output"
-      objs="$objs$old_deplibs"
+      func_append objs "$old_deplibs"
       ;;
 
     lib)
@@ -6130,10 +7271,10 @@ func_mode_link ()
        if test "$deplibs_check_method" != pass_all; then
          func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
        else
-         $ECHO
+         echo
          $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
          $ECHO "*** objects $objs is not portable!"
-         libobjs="$libobjs $objs"
+         func_append libobjs " $objs"
        fi
       fi
 
@@ -6192,13 +7333,14 @@ func_mode_link ()
          # which has an extra 1 added just for fun
          #
          case $version_type in
+         # correct linux to gnu/linux during the next big refactor
          darwin|linux|osf|windows|none)
            func_arith $number_major + $number_minor
            current=$func_arith_result
            age="$number_minor"
            revision="$number_revision"
            ;;
-         freebsd-aout|freebsd-elf|sunos)
+         freebsd-aout|freebsd-elf|qnx|sunos)
            current="$number_major"
            revision="$number_minor"
            age="0"
@@ -6311,7 +7453,7 @@ func_mode_link ()
          versuffix="$major.$revision"
          ;;
 
-       linux)
+       linux) # correct to gnu/linux during the next big refactor
          func_arith $current - $age
          major=.$func_arith_result
          versuffix="$major.$age.$revision"
@@ -6334,7 +7476,7 @@ func_mode_link ()
          done
 
          # Make executables depend on our current version.
-         verstring="$verstring:${current}.0"
+         func_append verstring ":${current}.0"
          ;;
 
        qnx)
@@ -6402,10 +7544,10 @@ func_mode_link ()
       fi
 
       func_generate_dlsyms "$libname" "$libname" "yes"
-      libobjs="$libobjs $symfileobj"
+      func_append libobjs " $symfileobj"
       test "X$libobjs" = "X " && libobjs=
 
-      if test "$mode" != relink; then
+      if test "$opt_mode" != relink; then
        # Remove our outputs, but don't remove object files since they
        # may have been created when compiling PIC objects.
        removelist=
@@ -6421,7 +7563,7 @@ func_mode_link ()
                   continue
                 fi
               fi
-              removelist="$removelist $p"
+              func_append removelist " $p"
               ;;
            *) ;;
          esac
@@ -6432,27 +7574,28 @@ func_mode_link ()
 
       # Now set the variables for building old libraries.
       if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
-       oldlibs="$oldlibs $output_objdir/$libname.$libext"
+       func_append oldlibs " $output_objdir/$libname.$libext"
 
        # Transform .lo files to .o files.
-       oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+       oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
       fi
 
       # Eliminate all temporary directories.
       #for path in $notinst_path; do
-      #        lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
-      #        deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
-      #        dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
+      #        lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+      #        deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+      #        dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
       #done
 
       if test -n "$xrpath"; then
        # If the user specified any rpath flags, then add them.
        temp_xrpath=
        for libdir in $xrpath; do
-         temp_xrpath="$temp_xrpath -R$libdir"
+         func_replace_sysroot "$libdir"
+         func_append temp_xrpath " -R$func_replace_sysroot_result"
          case "$finalize_rpath " in
          *" $libdir "*) ;;
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
+         *) func_append finalize_rpath " $libdir" ;;
          esac
        done
        if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
@@ -6466,7 +7609,7 @@ func_mode_link ()
       for lib in $old_dlfiles; do
        case " $dlprefiles $dlfiles " in
        *" $lib "*) ;;
-       *) dlfiles="$dlfiles $lib" ;;
+       *) func_append dlfiles " $lib" ;;
        esac
       done
 
@@ -6476,19 +7619,19 @@ func_mode_link ()
       for lib in $old_dlprefiles; do
        case "$dlprefiles " in
        *" $lib "*) ;;
-       *) dlprefiles="$dlprefiles $lib" ;;
+       *) func_append dlprefiles " $lib" ;;
        esac
       done
 
       if test "$build_libtool_libs" = yes; then
        if test -n "$rpath"; then
          case $host in
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
            # these systems don't actually have a c library (as such)!
            ;;
          *-*-rhapsody* | *-*-darwin1.[012])
            # Rhapsody C library is in the System framework
-           deplibs="$deplibs System.ltframework"
+           func_append deplibs " System.ltframework"
            ;;
          *-*-netbsd*)
            # Don't link with libc until the a.out ld.so is fixed.
@@ -6505,7 +7648,7 @@ func_mode_link ()
          *)
            # Add libc to deplibs on all other systems if necessary.
            if test "$build_libtool_need_lc" = "yes"; then
-             deplibs="$deplibs -lc"
+             func_append deplibs " -lc"
            fi
            ;;
          esac
@@ -6554,7 +7697,7 @@ EOF
                if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
                  case " $predeps $postdeps " in
                  *" $i "*)
-                   newdeplibs="$newdeplibs $i"
+                   func_append newdeplibs " $i"
                    i=""
                    ;;
                  esac
@@ -6565,21 +7708,21 @@ EOF
                  set dummy $deplib_matches; shift
                  deplib_match=$1
                  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                   newdeplibs="$newdeplibs $i"
+                   func_append newdeplibs " $i"
                  else
                    droppeddeps=yes
-                   $ECHO
+                   echo
                    $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-                   $ECHO "*** I have the capability to make that library automatically link in when"
-                   $ECHO "*** you link to this library.  But I can only do this if you have a"
-                   $ECHO "*** shared version of the library, which I believe you do not have"
-                   $ECHO "*** because a test_compile did reveal that the linker did not use it for"
-                   $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
+                   echo "*** I have the capability to make that library automatically link in when"
+                   echo "*** you link to this library.  But I can only do this if you have a"
+                   echo "*** shared version of the library, which I believe you do not have"
+                   echo "*** because a test_compile did reveal that the linker did not use it for"
+                   echo "*** its dynamic dependency list that programs get resolved with at runtime."
                  fi
                fi
                ;;
              *)
-               newdeplibs="$newdeplibs $i"
+               func_append newdeplibs " $i"
                ;;
              esac
            done
@@ -6597,7 +7740,7 @@ EOF
                  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
                    case " $predeps $postdeps " in
                    *" $i "*)
-                     newdeplibs="$newdeplibs $i"
+                     func_append newdeplibs " $i"
                      i=""
                      ;;
                    esac
@@ -6608,29 +7751,29 @@ EOF
                    set dummy $deplib_matches; shift
                    deplib_match=$1
                    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                     newdeplibs="$newdeplibs $i"
+                     func_append newdeplibs " $i"
                    else
                      droppeddeps=yes
-                     $ECHO
+                     echo
                      $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-                     $ECHO "*** I have the capability to make that library automatically link in when"
-                     $ECHO "*** you link to this library.  But I can only do this if you have a"
-                     $ECHO "*** shared version of the library, which you do not appear to have"
-                     $ECHO "*** because a test_compile did reveal that the linker did not use this one"
-                     $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
+                     echo "*** I have the capability to make that library automatically link in when"
+                     echo "*** you link to this library.  But I can only do this if you have a"
+                     echo "*** shared version of the library, which you do not appear to have"
+                     echo "*** because a test_compile did reveal that the linker did not use this one"
+                     echo "*** as a dynamic dependency that programs can get resolved with at runtime."
                    fi
                  fi
                else
                  droppeddeps=yes
-                 $ECHO
+                 echo
                  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
-                 $ECHO "*** make it link in!  You will probably need to install it or some"
-                 $ECHO "*** library that it depends on before this library will be fully"
-                 $ECHO "*** functional.  Installing it before continuing would be even better."
+                 echo "*** make it link in!  You will probably need to install it or some"
+                 echo "*** library that it depends on before this library will be fully"
+                 echo "*** functional.  Installing it before continuing would be even better."
                fi
                ;;
              *)
-               newdeplibs="$newdeplibs $i"
+               func_append newdeplibs " $i"
                ;;
              esac
            done
@@ -6647,15 +7790,27 @@ EOF
              if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
                case " $predeps $postdeps " in
                *" $a_deplib "*)
-                 newdeplibs="$newdeplibs $a_deplib"
+                 func_append newdeplibs " $a_deplib"
                  a_deplib=""
                  ;;
                esac
              fi
              if test -n "$a_deplib" ; then
                libname=`eval "\\$ECHO \"$libname_spec\""`
+               if test -n "$file_magic_glob"; then
+                 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+               else
+                 libnameglob=$libname
+               fi
+               test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+                 if test "$want_nocaseglob" = yes; then
+                   shopt -s nocaseglob
+                   potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+                   $nocaseglob
+                 else
+                   potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+                 fi
                  for potent_lib in $potential_libs; do
                      # Follow soft links.
                      if ls -lLd "$potent_lib" 2>/dev/null |
@@ -6672,13 +7827,13 @@ EOF
                        potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
                        case $potliblink in
                        [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
-                       *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+                       *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
                        esac
                      done
                      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
                         $SED -e 10q |
                         $EGREP "$file_magic_regex" > /dev/null; then
-                       newdeplibs="$newdeplibs $a_deplib"
+                       func_append newdeplibs " $a_deplib"
                        a_deplib=""
                        break 2
                      fi
@@ -6687,12 +7842,12 @@ EOF
              fi
              if test -n "$a_deplib" ; then
                droppeddeps=yes
-               $ECHO
+               echo
                $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-               $ECHO "*** I have the capability to make that library automatically link in when"
-               $ECHO "*** you link to this library.  But I can only do this if you have a"
-               $ECHO "*** shared version of the library, which you do not appear to have"
-               $ECHO "*** because I did check the linker path looking for a file starting"
+               echo "*** I have the capability to make that library automatically link in when"
+               echo "*** you link to this library.  But I can only do this if you have a"
+               echo "*** shared version of the library, which you do not appear to have"
+               echo "*** because I did check the linker path looking for a file starting"
                if test -z "$potlib" ; then
                  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
                else
@@ -6703,7 +7858,7 @@ EOF
              ;;
            *)
              # Add a -L argument.
-             newdeplibs="$newdeplibs $a_deplib"
+             func_append newdeplibs " $a_deplib"
              ;;
            esac
          done # Gone through all deplibs.
@@ -6719,7 +7874,7 @@ EOF
              if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
                case " $predeps $postdeps " in
                *" $a_deplib "*)
-                 newdeplibs="$newdeplibs $a_deplib"
+                 func_append newdeplibs " $a_deplib"
                  a_deplib=""
                  ;;
                esac
@@ -6730,9 +7885,9 @@ EOF
                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
                  for potent_lib in $potential_libs; do
                    potlib="$potent_lib" # see symlink-check above in file_magic test
-                   if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
+                   if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
                       $EGREP "$match_pattern_regex" > /dev/null; then
-                     newdeplibs="$newdeplibs $a_deplib"
+                     func_append newdeplibs " $a_deplib"
                      a_deplib=""
                      break 2
                    fi
@@ -6741,12 +7896,12 @@ EOF
              fi
              if test -n "$a_deplib" ; then
                droppeddeps=yes
-               $ECHO
+               echo
                $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-               $ECHO "*** I have the capability to make that library automatically link in when"
-               $ECHO "*** you link to this library.  But I can only do this if you have a"
-               $ECHO "*** shared version of the library, which you do not appear to have"
-               $ECHO "*** because I did check the linker path looking for a file starting"
+               echo "*** I have the capability to make that library automatically link in when"
+               echo "*** you link to this library.  But I can only do this if you have a"
+               echo "*** shared version of the library, which you do not appear to have"
+               echo "*** because I did check the linker path looking for a file starting"
                if test -z "$potlib" ; then
                  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
                else
@@ -6757,32 +7912,32 @@ EOF
              ;;
            *)
              # Add a -L argument.
-             newdeplibs="$newdeplibs $a_deplib"
+             func_append newdeplibs " $a_deplib"
              ;;
            esac
          done # Gone through all deplibs.
          ;;
        none | unknown | *)
          newdeplibs=""
-         tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
-             -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
+         tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
          if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
            for i in $predeps $postdeps ; do
              # can't use Xsed below, because $i might contain '/'
-             tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
+             tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
            done
          fi
-         if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[      ]//g' |
-            $GREP . >/dev/null; then
-           $ECHO
+         case $tmp_deplibs in
+         *[!\  \ ]*)
+           echo
            if test "X$deplibs_check_method" = "Xnone"; then
-             $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
+             echo "*** Warning: inter-library dependencies are not supported in this platform."
            else
-             $ECHO "*** Warning: inter-library dependencies are not known to be supported."
+             echo "*** Warning: inter-library dependencies are not known to be supported."
            fi
-           $ECHO "*** All declared inter-library dependencies are being dropped."
+           echo "*** All declared inter-library dependencies are being dropped."
            droppeddeps=yes
-         fi
+           ;;
+         esac
          ;;
        esac
        versuffix=$versuffix_save
@@ -6794,23 +7949,23 @@ EOF
        case $host in
        *-*-rhapsody* | *-*-darwin1.[012])
          # On Rhapsody replace the C library with the System framework
-         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+         newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
          ;;
        esac
 
        if test "$droppeddeps" = yes; then
          if test "$module" = yes; then
-           $ECHO
-           $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
+           echo
+           echo "*** Warning: libtool could not satisfy all declared inter-library"
            $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
-           $ECHO "*** a static module, that should work as long as the dlopening"
-           $ECHO "*** application is linked with the -dlopen flag."
+           echo "*** a static module, that should work as long as the dlopening"
+           echo "*** application is linked with the -dlopen flag."
            if test -z "$global_symbol_pipe"; then
-             $ECHO
-             $ECHO "*** However, this would only work if libtool was able to extract symbol"
-             $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-             $ECHO "*** not find such a program.  So, this module is probably useless."
-             $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+             echo
+             echo "*** However, this would only work if libtool was able to extract symbol"
+             echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+             echo "*** not find such a program.  So, this module is probably useless."
+             echo "*** \`nm' from GNU binutils and a full rebuild may help."
            fi
            if test "$build_old_libs" = no; then
              oldlibs="$output_objdir/$libname.$libext"
@@ -6820,16 +7975,16 @@ EOF
              build_libtool_libs=no
            fi
          else
-           $ECHO "*** The inter-library dependencies that have been dropped here will be"
-           $ECHO "*** automatically added whenever a program is linked with this library"
-           $ECHO "*** or is declared to -dlopen it."
+           echo "*** The inter-library dependencies that have been dropped here will be"
+           echo "*** automatically added whenever a program is linked with this library"
+           echo "*** or is declared to -dlopen it."
 
            if test "$allow_undefined" = no; then
-             $ECHO
-             $ECHO "*** Since this library must not contain undefined symbols,"
-             $ECHO "*** because either the platform does not support them or"
-             $ECHO "*** it was explicitly requested with -no-undefined,"
-             $ECHO "*** libtool will only create a static version of it."
+             echo
+             echo "*** Since this library must not contain undefined symbols,"
+             echo "*** because either the platform does not support them or"
+             echo "*** it was explicitly requested with -no-undefined,"
+             echo "*** libtool will only create a static version of it."
              if test "$build_old_libs" = no; then
                oldlibs="$output_objdir/$libname.$libext"
                build_libtool_libs=module
@@ -6846,9 +8001,9 @@ EOF
       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
       case $host in
        *-*-darwin*)
-         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-         new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-         deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+         newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+         new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+         deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
          ;;
       esac
 
@@ -6861,7 +8016,7 @@ EOF
        *)
          case " $deplibs " in
          *" -L$path/$objdir "*)
-           new_libs="$new_libs -L$path/$objdir" ;;
+           func_append new_libs " -L$path/$objdir" ;;
          esac
          ;;
        esac
@@ -6871,10 +8026,10 @@ EOF
        -L*)
          case " $new_libs " in
          *" $deplib "*) ;;
-         *) new_libs="$new_libs $deplib" ;;
+         *) func_append new_libs " $deplib" ;;
          esac
          ;;
-       *) new_libs="$new_libs $deplib" ;;
+       *) func_append new_libs " $deplib" ;;
        esac
       done
       deplibs="$new_libs"
@@ -6886,15 +8041,22 @@ EOF
 
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
+       # Remove ${wl} instances when linking with ld.
+       # FIXME: should test the right _cmds variable.
+       case $archive_cmds in
+         *\$LD\ *) wl= ;;
+        esac
        if test "$hardcode_into_libs" = yes; then
          # Hardcode the library paths
          hardcode_libdirs=
          dep_rpath=
          rpath="$finalize_rpath"
-         test "$mode" != relink && rpath="$compile_rpath$rpath"
+         test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
          for libdir in $rpath; do
            if test -n "$hardcode_libdir_flag_spec"; then
              if test -n "$hardcode_libdir_separator"; then
+               func_replace_sysroot "$libdir"
+               libdir=$func_replace_sysroot_result
                if test -z "$hardcode_libdirs"; then
                  hardcode_libdirs="$libdir"
                else
@@ -6903,18 +8065,18 @@ EOF
                  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
                    ;;
                  *)
-                   hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+                   func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
                    ;;
                  esac
                fi
              else
                eval flag=\"$hardcode_libdir_flag_spec\"
-               dep_rpath="$dep_rpath $flag"
+               func_append dep_rpath " $flag"
              fi
            elif test -n "$runpath_var"; then
              case "$perm_rpath " in
              *" $libdir "*) ;;
-             *) perm_rpath="$perm_rpath $libdir" ;;
+             *) func_append perm_rpath " $libdir" ;;
              esac
            fi
          done
@@ -6922,17 +8084,13 @@ EOF
          if test -n "$hardcode_libdir_separator" &&
             test -n "$hardcode_libdirs"; then
            libdir="$hardcode_libdirs"
-           if test -n "$hardcode_libdir_flag_spec_ld"; then
-             eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
-           else
-             eval dep_rpath=\"$hardcode_libdir_flag_spec\"
-           fi
+           eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
          fi
          if test -n "$runpath_var" && test -n "$perm_rpath"; then
            # We should set the runpath_var.
            rpath=
            for dir in $perm_rpath; do
-             rpath="$rpath$dir:"
+             func_append rpath "$dir:"
            done
            eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
          fi
@@ -6940,7 +8098,7 @@ EOF
        fi
 
        shlibpath="$finalize_shlibpath"
-       test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+       test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
        if test -n "$shlibpath"; then
          eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
        fi
@@ -6966,18 +8124,18 @@ EOF
        linknames=
        for link
        do
-         linknames="$linknames $link"
+         func_append linknames " $link"
        done
 
        # Use standard objects if they are pic
-       test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+       test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
        test "X$libobjs" = "X " && libobjs=
 
        delfiles=
        if test -n "$export_symbols" && test -n "$include_expsyms"; then
          $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
          export_symbols="$output_objdir/$libname.uexp"
-         delfiles="$delfiles $export_symbols"
+         func_append delfiles " $export_symbols"
        fi
 
        orig_export_symbols=
@@ -7008,13 +8166,45 @@ EOF
            $opt_dry_run || $RM $export_symbols
            cmds=$export_symbols_cmds
            save_ifs="$IFS"; IFS='~'
-           for cmd in $cmds; do
+           for cmd1 in $cmds; do
              IFS="$save_ifs"
-             eval cmd=\"$cmd\"
-             func_len " $cmd"
-             len=$func_len_result
-             if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+             # Take the normal branch if the nm_file_list_spec branch
+             # doesn't work or if tool conversion is not needed.
+             case $nm_file_list_spec~$to_tool_file_cmd in
+               *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+                 try_normal_branch=yes
+                 eval cmd=\"$cmd1\"
+                 func_len " $cmd"
+                 len=$func_len_result
+                 ;;
+               *)
+                 try_normal_branch=no
+                 ;;
+             esac
+             if test "$try_normal_branch" = yes \
+                && { test "$len" -lt "$max_cmd_len" \
+                     || test "$max_cmd_len" -le -1; }
+             then
+               func_show_eval "$cmd" 'exit $?'
+               skipped_export=false
+             elif test -n "$nm_file_list_spec"; then
+               func_basename "$output"
+               output_la=$func_basename_result
+               save_libobjs=$libobjs
+               save_output=$output
+               output=${output_objdir}/${output_la}.nm
+               func_to_tool_file "$output"
+               libobjs=$nm_file_list_spec$func_to_tool_file_result
+               func_append delfiles " $output"
+               func_verbose "creating $NM input file list: $output"
+               for obj in $save_libobjs; do
+                 func_to_tool_file "$obj"
+                 $ECHO "$func_to_tool_file_result"
+               done > "$output"
+               eval cmd=\"$cmd1\"
                func_show_eval "$cmd" 'exit $?'
+               output=$save_output
+               libobjs=$save_libobjs
                skipped_export=false
              else
                # The command line is too long to execute in one step.
@@ -7036,7 +8226,7 @@ EOF
        if test -n "$export_symbols" && test -n "$include_expsyms"; then
          tmp_export_symbols="$export_symbols"
          test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-         $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+         $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
        fi
 
        if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
@@ -7048,7 +8238,7 @@ EOF
          # global variables. join(1) would be nice here, but unfortunately
          # isn't a blessed tool.
          $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-         delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+         func_append delfiles " $export_symbols $output_objdir/$libname.filter"
          export_symbols=$output_objdir/$libname.def
          $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
        fi
@@ -7058,7 +8248,7 @@ EOF
          case " $convenience " in
          *" $test_deplib "*) ;;
          *)
-           tmp_deplibs="$tmp_deplibs $test_deplib"
+           func_append tmp_deplibs " $test_deplib"
            ;;
          esac
        done
@@ -7078,21 +8268,21 @@ EOF
            test "X$libobjs" = "X " && libobjs=
          else
            gentop="$output_objdir/${outputname}x"
-           generated="$generated $gentop"
+           func_append generated " $gentop"
 
            func_extract_archives $gentop $convenience
-           libobjs="$libobjs $func_extract_archives_result"
+           func_append libobjs " $func_extract_archives_result"
            test "X$libobjs" = "X " && libobjs=
          fi
        fi
 
        if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
          eval flag=\"$thread_safe_flag_spec\"
-         linker_flags="$linker_flags $flag"
+         func_append linker_flags " $flag"
        fi
 
        # Make a backup of the uninstalled library when relinking
-       if test "$mode" = relink; then
+       if test "$opt_mode" = relink; then
          $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
        fi
 
@@ -7137,7 +8327,8 @@ EOF
            save_libobjs=$libobjs
          fi
          save_output=$output
-         output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+         func_basename "$output"
+         output_la=$func_basename_result
 
          # Clear the reloadable object creation command queue and
          # initialize k to one.
@@ -7150,13 +8341,16 @@ EOF
          if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
            output=${output_objdir}/${output_la}.lnkscript
            func_verbose "creating GNU ld script: $output"
-           $ECHO 'INPUT (' > $output
+           echo 'INPUT (' > $output
            for obj in $save_libobjs
            do
-             $ECHO "$obj" >> $output
+             func_to_tool_file "$obj"
+             $ECHO "$func_to_tool_file_result" >> $output
            done
-           $ECHO ')' >> $output
-           delfiles="$delfiles $output"
+           echo ')' >> $output
+           func_append delfiles " $output"
+           func_to_tool_file "$output"
+           output=$func_to_tool_file_result
          elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
            output=${output_objdir}/${output_la}.lnk
            func_verbose "creating linker input file list: $output"
@@ -7170,10 +8364,12 @@ EOF
            fi
            for obj
            do
-             $ECHO "$obj" >> $output
+             func_to_tool_file "$obj"
+             $ECHO "$func_to_tool_file_result" >> $output
            done
-           delfiles="$delfiles $output"
-           output=$firstobj\"$file_list_spec$output\"
+           func_append delfiles " $output"
+           func_to_tool_file "$output"
+           output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
          else
            if test -n "$save_libobjs"; then
              func_verbose "creating reloadable object files..."
@@ -7197,17 +8393,19 @@ EOF
                  # command to the queue.
                  if test "$k" -eq 1 ; then
                    # The first file doesn't have a previous command to add.
-                   eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
+                   reload_objs=$objlist
+                   eval concat_cmds=\"$reload_cmds\"
                  else
                    # All subsequent reloadable object files will link in
                    # the last one created.
-                   eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
+                   reload_objs="$objlist $last_robj"
+                   eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
                  fi
                  last_robj=$output_objdir/$output_la-${k}.$objext
                  func_arith $k + 1
                  k=$func_arith_result
                  output=$output_objdir/$output_la-${k}.$objext
-                 objlist=$obj
+                 objlist=" $obj"
                  func_len " $last_robj"
                  func_arith $len0 + $func_len_result
                  len=$func_arith_result
@@ -7217,11 +8415,12 @@ EOF
              # reloadable object file.  All subsequent reloadable object
              # files will link in the last one created.
              test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-             eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
+             reload_objs="$objlist $last_robj"
+             eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
              if test -n "$last_robj"; then
                eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
              fi
-             delfiles="$delfiles $output"
+             func_append delfiles " $output"
 
            else
              output=
@@ -7255,7 +8454,7 @@ EOF
                lt_exit=$?
 
                # Restore the uninstalled library and exit
-               if test "$mode" = relink; then
+               if test "$opt_mode" = relink; then
                  ( cd "$output_objdir" && \
                    $RM "${realname}T" && \
                    $MV "${realname}U" "$realname" )
@@ -7276,7 +8475,7 @@ EOF
            if test -n "$export_symbols" && test -n "$include_expsyms"; then
              tmp_export_symbols="$export_symbols"
              test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-             $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+             $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
            fi
 
            if test -n "$orig_export_symbols"; then
@@ -7288,7 +8487,7 @@ EOF
              # global variables. join(1) would be nice here, but unfortunately
              # isn't a blessed tool.
              $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-             delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+             func_append delfiles " $export_symbols $output_objdir/$libname.filter"
              export_symbols=$output_objdir/$libname.def
              $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
            fi
@@ -7329,10 +8528,10 @@ EOF
        # Add any objects from preloaded convenience libraries
        if test -n "$dlprefiles"; then
          gentop="$output_objdir/${outputname}x"
-         generated="$generated $gentop"
+         func_append generated " $gentop"
 
          func_extract_archives $gentop $dlprefiles
-         libobjs="$libobjs $func_extract_archives_result"
+         func_append libobjs " $func_extract_archives_result"
          test "X$libobjs" = "X " && libobjs=
        fi
 
@@ -7348,7 +8547,7 @@ EOF
            lt_exit=$?
 
            # Restore the uninstalled library and exit
-           if test "$mode" = relink; then
+           if test "$opt_mode" = relink; then
              ( cd "$output_objdir" && \
                $RM "${realname}T" && \
                $MV "${realname}U" "$realname" )
@@ -7360,7 +8559,7 @@ EOF
        IFS="$save_ifs"
 
        # Restore the uninstalled library and exit
-       if test "$mode" = relink; then
+       if test "$opt_mode" = relink; then
          $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
 
          if test -n "$convenience"; then
@@ -7441,18 +8640,21 @@ EOF
       if test -n "$convenience"; then
        if test -n "$whole_archive_flag_spec"; then
          eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
-         reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
+         reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
        else
          gentop="$output_objdir/${obj}x"
-         generated="$generated $gentop"
+         func_append generated " $gentop"
 
          func_extract_archives $gentop $convenience
          reload_conv_objs="$reload_objs $func_extract_archives_result"
        fi
       fi
 
+      # If we're not building shared, we need to use non_pic_objs
+      test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
+
       # Create the old-style object.
-      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+      reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
 
       output="$obj"
       func_execute_cmds "$reload_cmds" 'exit $?'
@@ -7512,8 +8714,8 @@ EOF
       case $host in
       *-*-rhapsody* | *-*-darwin1.[012])
        # On Rhapsody replace the C library is the System framework
-       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
-       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+       compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+       finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
        ;;
       esac
 
@@ -7524,14 +8726,14 @@ EOF
        if test "$tagname" = CXX ; then
          case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
            10.[0123])
-             compile_command="$compile_command ${wl}-bind_at_load"
-             finalize_command="$finalize_command ${wl}-bind_at_load"
+             func_append compile_command " ${wl}-bind_at_load"
+             func_append finalize_command " ${wl}-bind_at_load"
            ;;
          esac
        fi
        # Time to change all our "foo.ltframework" stuff back to "-framework foo"
-       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+       compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+       finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
        ;;
       esac
 
@@ -7545,7 +8747,7 @@ EOF
        *)
          case " $compile_deplibs " in
          *" -L$path/$objdir "*)
-           new_libs="$new_libs -L$path/$objdir" ;;
+           func_append new_libs " -L$path/$objdir" ;;
          esac
          ;;
        esac
@@ -7555,17 +8757,17 @@ EOF
        -L*)
          case " $new_libs " in
          *" $deplib "*) ;;
-         *) new_libs="$new_libs $deplib" ;;
+         *) func_append new_libs " $deplib" ;;
          esac
          ;;
-       *) new_libs="$new_libs $deplib" ;;
+       *) func_append new_libs " $deplib" ;;
        esac
       done
       compile_deplibs="$new_libs"
 
 
-      compile_command="$compile_command $compile_deplibs"
-      finalize_command="$finalize_command $finalize_deplibs"
+      func_append compile_command " $compile_deplibs"
+      func_append finalize_command " $finalize_deplibs"
 
       if test -n "$rpath$xrpath"; then
        # If the user specified any rpath flags, then add them.
@@ -7573,7 +8775,7 @@ EOF
          # This is the magic to use -rpath.
          case "$finalize_rpath " in
          *" $libdir "*) ;;
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
+         *) func_append finalize_rpath " $libdir" ;;
          esac
        done
       fi
@@ -7592,18 +8794,18 @@ EOF
              *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
                ;;
              *)
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+               func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
                ;;
              esac
            fi
          else
            eval flag=\"$hardcode_libdir_flag_spec\"
-           rpath="$rpath $flag"
+           func_append rpath " $flag"
          fi
        elif test -n "$runpath_var"; then
          case "$perm_rpath " in
          *" $libdir "*) ;;
-         *) perm_rpath="$perm_rpath $libdir" ;;
+         *) func_append perm_rpath " $libdir" ;;
          esac
        fi
        case $host in
@@ -7612,12 +8814,12 @@ EOF
          case :$dllsearchpath: in
          *":$libdir:"*) ;;
          ::) dllsearchpath=$libdir;;
-         *) dllsearchpath="$dllsearchpath:$libdir";;
+         *) func_append dllsearchpath ":$libdir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
          ::) dllsearchpath=$testbindir;;
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
+         *) func_append dllsearchpath ":$testbindir";;
          esac
          ;;
        esac
@@ -7643,18 +8845,18 @@ EOF
              *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
                ;;
              *)
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+               func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
                ;;
              esac
            fi
          else
            eval flag=\"$hardcode_libdir_flag_spec\"
-           rpath="$rpath $flag"
+           func_append rpath " $flag"
          fi
        elif test -n "$runpath_var"; then
          case "$finalize_perm_rpath " in
          *" $libdir "*) ;;
-         *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
+         *) func_append finalize_perm_rpath " $libdir" ;;
          esac
        fi
       done
@@ -7668,8 +8870,8 @@ EOF
 
       if test -n "$libobjs" && test "$build_old_libs" = yes; then
        # Transform all the library objects into standard objects.
-       compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-       finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+       compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+       finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
       fi
 
       func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
@@ -7681,15 +8883,15 @@ EOF
 
       wrappers_required=yes
       case $host in
+      *cegcc* | *mingw32ce*)
+        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+        wrappers_required=no
+        ;;
       *cygwin* | *mingw* )
         if test "$build_libtool_libs" != yes; then
           wrappers_required=no
         fi
         ;;
-      *cegcc)
-        # Disable wrappers for cegcc, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
       *)
         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
           wrappers_required=no
@@ -7698,13 +8900,19 @@ EOF
       esac
       if test "$wrappers_required" = no; then
        # Replace the output file specification.
-       compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+       compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
        link_command="$compile_command$compile_rpath"
 
        # We have no uninstalled library dependencies, so finalize right now.
        exit_status=0
        func_show_eval "$link_command" 'exit_status=$?'
 
+       if test -n "$postlink_cmds"; then
+         func_to_tool_file "$output"
+         postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+         func_execute_cmds "$postlink_cmds" 'exit $?'
+       fi
+
        # Delete the generated files.
        if test -f "$output_objdir/${outputname}S.${objext}"; then
          func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
@@ -7727,7 +8935,7 @@ EOF
          # We should set the runpath_var.
          rpath=
          for dir in $perm_rpath; do
-           rpath="$rpath$dir:"
+           func_append rpath "$dir:"
          done
          compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
        fi
@@ -7735,7 +8943,7 @@ EOF
          # We should set the runpath_var.
          rpath=
          for dir in $finalize_perm_rpath; do
-           rpath="$rpath$dir:"
+           func_append rpath "$dir:"
          done
          finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
        fi
@@ -7745,11 +8953,18 @@ EOF
        # We don't need to create a wrapper script.
        link_command="$compile_var$compile_command$compile_rpath"
        # Replace the output file specification.
-       link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+       link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
        # Delete the old output file.
        $opt_dry_run || $RM $output
        # Link the executable and exit
        func_show_eval "$link_command" 'exit $?'
+
+       if test -n "$postlink_cmds"; then
+         func_to_tool_file "$output"
+         postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+         func_execute_cmds "$postlink_cmds" 'exit $?'
+       fi
+
        exit $EXIT_SUCCESS
       fi
 
@@ -7764,7 +8979,7 @@ EOF
        if test "$fast_install" != no; then
          link_command="$finalize_var$compile_command$finalize_rpath"
          if test "$fast_install" = yes; then
-           relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+           relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
          else
            # fast_install is set to needless
            relink_command=
@@ -7776,13 +8991,19 @@ EOF
       fi
 
       # Replace the output file specification.
-      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+      link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
 
       # Delete the old output files.
       $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
 
       func_show_eval "$link_command" 'exit $?'
 
+      if test -n "$postlink_cmds"; then
+       func_to_tool_file "$output_objdir/$outputname"
+       postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+       func_execute_cmds "$postlink_cmds" 'exit $?'
+      fi
+
       # Now create the wrapper script.
       func_verbose "creating $output"
 
@@ -7800,18 +9021,7 @@ EOF
          fi
        done
        relink_command="(cd `pwd`; $relink_command)"
-       relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-      fi
-
-      # Quote $ECHO for shipping.
-      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
-       case $progpath in
-       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
-       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
-       esac
-       qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
-      else
-       qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
+       relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       fi
 
       # Only actually do things if not in dry run mode.
@@ -7891,7 +9101,7 @@ EOF
        else
          oldobjs="$old_deplibs $non_pic_objects"
          if test "$preload" = yes && test -f "$symfileobj"; then
-           oldobjs="$oldobjs $symfileobj"
+           func_append oldobjs " $symfileobj"
          fi
        fi
        addlibs="$old_convenience"
@@ -7899,10 +9109,10 @@ EOF
 
       if test -n "$addlibs"; then
        gentop="$output_objdir/${outputname}x"
-       generated="$generated $gentop"
+       func_append generated " $gentop"
 
        func_extract_archives $gentop $addlibs
-       oldobjs="$oldobjs $func_extract_archives_result"
+       func_append oldobjs " $func_extract_archives_result"
       fi
 
       # Do each command in the archive commands.
@@ -7913,10 +9123,10 @@ EOF
        # Add any objects from preloaded convenience libraries
        if test -n "$dlprefiles"; then
          gentop="$output_objdir/${outputname}x"
-         generated="$generated $gentop"
+         func_append generated " $gentop"
 
          func_extract_archives $gentop $dlprefiles
-         oldobjs="$oldobjs $func_extract_archives_result"
+         func_append oldobjs " $func_extract_archives_result"
        fi
 
        # POSIX demands no paths to be encoded in archives.  We have
@@ -7932,9 +9142,9 @@ EOF
            done | sort | sort -uc >/dev/null 2>&1); then
          :
        else
-         $ECHO "copying selected object files to avoid basename conflicts..."
+         echo "copying selected object files to avoid basename conflicts..."
          gentop="$output_objdir/${outputname}x"
-         generated="$generated $gentop"
+         func_append generated " $gentop"
          func_mkdir_p "$gentop"
          save_oldobjs=$oldobjs
          oldobjs=
@@ -7958,18 +9168,30 @@ EOF
                esac
              done
              func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
-             oldobjs="$oldobjs $gentop/$newobj"
+             func_append oldobjs " $gentop/$newobj"
              ;;
-           *) oldobjs="$oldobjs $obj" ;;
+           *) func_append oldobjs " $obj" ;;
            esac
          done
        fi
+       func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+       tool_oldlib=$func_to_tool_file_result
        eval cmds=\"$old_archive_cmds\"
 
        func_len " $cmds"
        len=$func_len_result
        if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
          cmds=$old_archive_cmds
+       elif test -n "$archiver_list_spec"; then
+         func_verbose "using command file archive linking..."
+         for obj in $oldobjs
+         do
+           func_to_tool_file "$obj"
+           $ECHO "$func_to_tool_file_result"
+         done > $output_objdir/$libname.libcmd
+         func_to_tool_file "$output_objdir/$libname.libcmd"
+         oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+         cmds=$old_archive_cmds
        else
          # the command line is too long to link in one step, link in parts
          func_verbose "using piecewise archive linking..."
@@ -8043,7 +9265,7 @@ EOF
       done
       # Quote the link command for shipping.
       relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
-      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       if test "$hardcode_automatic" = yes ; then
        relink_command=
       fi
@@ -8063,12 +9285,23 @@ EOF
              *.la)
                func_basename "$deplib"
                name="$func_basename_result"
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+               func_resolve_sysroot "$deplib"
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
                test -z "$libdir" && \
                  func_fatal_error "\`$deplib' is not a valid libtool archive"
-               newdependency_libs="$newdependency_libs $libdir/$name"
+               func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+               ;;
+             -L*)
+               func_stripname -L '' "$deplib"
+               func_replace_sysroot "$func_stripname_result"
+               func_append newdependency_libs " -L$func_replace_sysroot_result"
                ;;
-             *) newdependency_libs="$newdependency_libs $deplib" ;;
+             -R*)
+               func_stripname -R '' "$deplib"
+               func_replace_sysroot "$func_stripname_result"
+               func_append newdependency_libs " -R$func_replace_sysroot_result"
+               ;;
+             *) func_append newdependency_libs " $deplib" ;;
              esac
            done
            dependency_libs="$newdependency_libs"
@@ -8082,9 +9315,9 @@ EOF
                eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
                test -z "$libdir" && \
                  func_fatal_error "\`$lib' is not a valid libtool archive"
-               newdlfiles="$newdlfiles $libdir/$name"
+               func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
                ;;
-             *) newdlfiles="$newdlfiles $lib" ;;
+             *) func_append newdlfiles " $lib" ;;
              esac
            done
            dlfiles="$newdlfiles"
@@ -8101,7 +9334,7 @@ EOF
                eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
                test -z "$libdir" && \
                  func_fatal_error "\`$lib' is not a valid libtool archive"
-               newdlprefiles="$newdlprefiles $libdir/$name"
+               func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
                ;;
              esac
            done
@@ -8113,7 +9346,7 @@ EOF
                [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
                *) abs=`pwd`"/$lib" ;;
              esac
-             newdlfiles="$newdlfiles $abs"
+             func_append newdlfiles " $abs"
            done
            dlfiles="$newdlfiles"
            newdlprefiles=
@@ -8122,15 +9355,33 @@ EOF
                [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
                *) abs=`pwd`"/$lib" ;;
              esac
-             newdlprefiles="$newdlprefiles $abs"
+             func_append newdlprefiles " $abs"
            done
            dlprefiles="$newdlprefiles"
          fi
          $RM $output
          # place dlname in correct position for cygwin
+         # In fact, it would be nice if we could use this code for all target
+         # systems that can't hard-code library paths into their executables
+         # and that have no shared library path variable independent of PATH,
+         # but it turns out we can't easily determine that from inspecting
+         # libtool variables, so we have to hard-code the OSs to which it
+         # applies here; at the moment, that means platforms that use the PE
+         # object format with DLL files.  See the long comment at the top of
+         # tests/bindir.at for full details.
          tdlname=$dlname
          case $host,$output,$installed,$module,$dlname in
-           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+             # If a -bindir argument was supplied, place the dll there.
+             if test "x$bindir" != x ;
+             then
+               func_relative_path "$install_libdir" "$bindir"
+               tdlname=$func_relative_path_result$dlname
+             else
+               # Otherwise fall back on heuristic.
+               tdlname=../bin/$dlname
+             fi
+             ;;
          esac
          $ECHO > $output "\
 # $outputname - a libtool library file
@@ -8189,7 +9440,7 @@ relink_command=\"$relink_command\""
     exit $EXIT_SUCCESS
 }
 
-{ test "$mode" = link || test "$mode" = relink; } &&
+{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
     func_mode_link ${1+"$@"}
 
 
@@ -8209,9 +9460,9 @@ func_mode_uninstall ()
     for arg
     do
       case $arg in
-      -f) RM="$RM $arg"; rmforce=yes ;;
-      -*) RM="$RM $arg" ;;
-      *) files="$files $arg" ;;
+      -f) func_append RM " $arg"; rmforce=yes ;;
+      -*) func_append RM " $arg" ;;
+      *) func_append files " $arg" ;;
       esac
     done
 
@@ -8220,24 +9471,23 @@ func_mode_uninstall ()
 
     rmdirs=
 
-    origobjdir="$objdir"
     for file in $files; do
       func_dirname "$file" "" "."
       dir="$func_dirname_result"
       if test "X$dir" = X.; then
-       objdir="$origobjdir"
+       odir="$objdir"
       else
-       objdir="$dir/$origobjdir"
+       odir="$dir/$objdir"
       fi
       func_basename "$file"
       name="$func_basename_result"
-      test "$mode" = uninstall && objdir="$dir"
+      test "$opt_mode" = uninstall && odir="$dir"
 
-      # Remember objdir for removal later, being careful to avoid duplicates
-      if test "$mode" = clean; then
+      # Remember odir for removal later, being careful to avoid duplicates
+      if test "$opt_mode" = clean; then
        case " $rmdirs " in
-         *" $objdir "*) ;;
-         *) rmdirs="$rmdirs $objdir" ;;
+         *" $odir "*) ;;
+         *) func_append rmdirs " $odir" ;;
        esac
       fi
 
@@ -8263,18 +9513,17 @@ func_mode_uninstall ()
 
          # Delete the libtool libraries and symlinks.
          for n in $library_names; do
-           rmfiles="$rmfiles $objdir/$n"
+           func_append rmfiles " $odir/$n"
          done
-         test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+         test -n "$old_library" && func_append rmfiles " $odir/$old_library"
 
-         case "$mode" in
+         case "$opt_mode" in
          clean)
-           case "  $library_names " in
-           # "  " in the beginning catches empty $dlname
+           case " $library_names " in
            *" $dlname "*) ;;
-           *) rmfiles="$rmfiles $objdir/$dlname" ;;
+           *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
            esac
-           test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+           test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
            ;;
          uninstall)
            if test -n "$library_names"; then
@@ -8302,19 +9551,19 @@ func_mode_uninstall ()
          # Add PIC object to the list of files to remove.
          if test -n "$pic_object" &&
             test "$pic_object" != none; then
-           rmfiles="$rmfiles $dir/$pic_object"
+           func_append rmfiles " $dir/$pic_object"
          fi
 
          # Add non-PIC object to the list of files to remove.
          if test -n "$non_pic_object" &&
             test "$non_pic_object" != none; then
-           rmfiles="$rmfiles $dir/$non_pic_object"
+           func_append rmfiles " $dir/$non_pic_object"
          fi
        fi
        ;;
 
       *)
-       if test "$mode" = clean ; then
+       if test "$opt_mode" = clean ; then
          noexename=$name
          case $file in
          *.exe)
@@ -8324,7 +9573,7 @@ func_mode_uninstall ()
            noexename=$func_stripname_result
            # $file with .exe has already been added to rmfiles,
            # add $file without .exe
-           rmfiles="$rmfiles $file"
+           func_append rmfiles " $file"
            ;;
          esac
          # Do a test to see if this is a libtool program.
@@ -8333,7 +9582,7 @@ func_mode_uninstall ()
              func_ltwrapper_scriptname "$file"
              relink_command=
              func_source $func_ltwrapper_scriptname_result
-             rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
+             func_append rmfiles " $func_ltwrapper_scriptname_result"
            else
              relink_command=
              func_source $dir/$noexename
@@ -8341,12 +9590,12 @@ func_mode_uninstall ()
 
            # note $name still contains .exe if it was in $file originally
            # as does the version of $file that was added into $rmfiles
-           rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+           func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
            if test "$fast_install" = yes && test -n "$relink_command"; then
-             rmfiles="$rmfiles $objdir/lt-$name"
+             func_append rmfiles " $odir/lt-$name"
            fi
            if test "X$noexename" != "X$name" ; then
-             rmfiles="$rmfiles $objdir/lt-${noexename}.c"
+             func_append rmfiles " $odir/lt-${noexename}.c"
            fi
          fi
        fi
@@ -8354,7 +9603,6 @@ func_mode_uninstall ()
       esac
       func_show_eval "$RM $rmfiles" 'exit_status=1'
     done
-    objdir="$origobjdir"
 
     # Try to remove the ${objdir}s in the directories where we deleted files
     for dir in $rmdirs; do
@@ -8366,16 +9614,16 @@ func_mode_uninstall ()
     exit $exit_status
 }
 
-{ test "$mode" = uninstall || test "$mode" = clean; } &&
+{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
     func_mode_uninstall ${1+"$@"}
 
-test -z "$mode" && {
+test -z "$opt_mode" && {
   help="$generic_help"
   func_fatal_help "you must specify a MODE"
 }
 
 test -z "$exec_cmd" && \
-  func_fatal_help "invalid operation mode \`$mode'"
+  func_fatal_help "invalid operation mode \`$opt_mode'"
 
 if test -n "$exec_cmd"; then
   eval exec "$exec_cmd"
index 122d773..33353ed 100644 (file)
@@ -23,7 +23,7 @@
 ## the same distribution terms that you use for the rest of that program.
 
 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
-# serial 40 IT_PROG_INTLTOOL
+# serial 42 IT_PROG_INTLTOOL
 AC_DEFUN([IT_PROG_INTLTOOL], [
 AC_PREREQ([2.50])dnl
 AC_REQUIRE([AM_NLS])dnl
@@ -36,13 +36,11 @@ case "$am__api_version" in
     ;;
 esac
 
+INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
+INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 if test -n "$1"; then
     AC_MSG_CHECKING([for intltool >= $1])
-
-    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
-    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
-    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
-    ]
     AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
        AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
@@ -55,25 +53,48 @@ if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT";
     AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
 fi
 
-  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
-     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
-      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
-   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+if test -z "$AM_DEFAULT_VERBOSITY"; then
+  AM_DEFAULT_VERBOSITY=1
+fi
+AC_SUBST([AM_DEFAULT_VERBOSITY])
+
+INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
+INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
+INTLTOOL__v_MERGE_0='@echo "  ITMRG " [$]@;'
+AC_SUBST(INTLTOOL_V_MERGE)
+AC_SUBST(INTLTOOL__v_MERGE_)
+AC_SUBST(INTLTOOL__v_MERGE_0)
+
+INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
+intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
+intltool__v_merge_options_0='-q'
+AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
+AC_SUBST(intltool__v_merge_options_)
+AC_SUBST(intltool__v_merge_options_0)
+
+  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
+     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
+else
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
+fi
+      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
 
 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
@@ -119,7 +140,7 @@ $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 if test $? -ne 0; then
    AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 else
-   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
+   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
    AC_MSG_RESULT([$IT_PERL_VERSION])
 fi
 if test "x$2" != "xno-xml"; then
@@ -172,7 +193,7 @@ IT_PO_SUBDIR([po])
 AC_DEFUN([IT_PO_SUBDIR],
 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
 dnl
-dnl The following CONFIG_COMMANDS should be exetuted at the very end
+dnl The following CONFIG_COMMANDS should be executed at the very end
 dnl of config.status.
 AC_CONFIG_COMMANDS_PRE([
   AC_CONFIG_COMMANDS([$1/stamp-it], [
index a3fee53..534d1cc 100644 (file)
@@ -1,7 +1,8 @@
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 # This file is free software; the Free Software Foundation gives
@@ -10,7 +11,8 @@
 
 m4_define([_LT_COPYING], [dnl
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 #   This file is part of GNU Libtool.
@@ -37,7 +39,7 @@ m4_define([_LT_COPYING], [dnl
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
-# serial 56 LT_INIT
+# serial 57 LT_INIT
 
 
 # LT_PREREQ(VERSION)
@@ -66,6 +68,7 @@ esac
 # ------------------
 AC_DEFUN([LT_INIT],
 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 AC_BEFORE([$0], [LT_LANG])dnl
 AC_BEFORE([$0], [LT_OUTPUT])dnl
 AC_BEFORE([$0], [LTDL_INIT])dnl
@@ -82,6 +85,8 @@ AC_REQUIRE([LTVERSION_VERSION])dnl
 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 m4_require([_LT_PROG_LTMAIN])dnl
 
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
 dnl Parse OPTIONS
 _LT_SET_OPTIONS([$0], [$1])
 
@@ -118,7 +123,7 @@ m4_defun([_LT_CC_BASENAME],
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 ])
 
 
@@ -138,6 +143,11 @@ m4_defun([_LT_FILEUTILS_DEFAULTS],
 m4_defun([_LT_SETUP],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
+dnl
 _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl
 _LT_DECL([], [host_os], [0])dnl
@@ -160,10 +170,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
 m4_require([_LT_CMD_RELOAD])dnl
 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
 
 _LT_CONFIG_LIBTOOL_INIT([
 # See if we are running on zsh, and set the options which allow our
@@ -179,7 +192,6 @@ fi
 _LT_CHECK_OBJDIR
 
 m4_require([_LT_TAG_COMPILER])dnl
-_LT_PROG_ECHO_BACKSLASH
 
 case $host_os in
 aix3*)
@@ -193,23 +205,6 @@ aix3*)
   ;;
 esac
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
 # Global variables:
 ofile=libtool
 can_build_shared=yes
@@ -250,6 +245,28 @@ _LT_CONFIG_COMMANDS
 ])# _LT_SETUP
 
 
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
 # _LT_PROG_LTMAIN
 # ---------------
 # Note that this code is called both from `configure', and `config.status'
@@ -408,7 +425,7 @@ m4_define([_lt_decl_all_varnames],
 # declaration there will have the same value as in `configure'.  VARNAME
 # must have a single quote delimited value for this to work.
 m4_define([_LT_CONFIG_STATUS_DECLARE],
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
 
 
 # _LT_CONFIG_STATUS_DECLARATIONS
@@ -418,7 +435,7 @@ m4_define([_LT_CONFIG_STATUS_DECLARE],
 # embedded single quotes properly.  In configure, this macro expands
 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 #
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
+#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
     [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
@@ -517,12 +534,20 @@ LTCC='$LTCC'
 LTCFLAGS='$LTCFLAGS'
 compiler='$compiler_DEFAULT'
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
 # Quote evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -533,9 +558,9 @@ done
 # Double-quote double-evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -543,16 +568,38 @@ for var in lt_decl_all_varnames([[ \
     esac
 done
 
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\[$]0 --fallback-echo"')dnl "
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
-  ;;
-esac
-
 _LT_OUTPUT_LIBTOOL_INIT
 ])
 
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable.  If COMMENT is supplied, it is inserted after the
+# `#!' sequence but before initialization text begins.  After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script.  The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test $lt_write_fail = 0 && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
 
 # LT_OUTPUT
 # ---------
@@ -562,20 +609,11 @@ _LT_OUTPUT_LIBTOOL_INIT
 AC_DEFUN([LT_OUTPUT],
 [: ${CONFIG_LT=./config.lt}
 AC_MSG_NOTICE([creating $CONFIG_LT])
-cat >"$CONFIG_LT" <<_LTEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate a libtool stub with the current configuration.
-
-lt_cl_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_LTEOF
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
 
 cat >>"$CONFIG_LT" <<\_LTEOF
-AS_SHELL_SANITIZE
-_AS_PREPARE
-
-exec AS_MESSAGE_FD>&1
+lt_cl_silent=false
 exec AS_MESSAGE_LOG_FD>>config.log
 {
   echo
@@ -601,7 +639,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by $[0], generated by m4_PACKAGE_STRING.
 
-Copyright (C) 2008 Free Software Foundation, Inc.
+Copyright (C) 2011 Free Software Foundation, Inc.
 This config.lt script is free software; the Free Software Foundation
 gives unlimited permision to copy, distribute and modify it."
 
@@ -646,15 +684,13 @@ chmod +x "$CONFIG_LT"
 # appending to config.log, which fails on DOS, as config.log is still kept
 # open by configure.  Here we exec the FD to /dev/null, effectively closing
 # config.log, so it can be properly (re)opened and appended to by config.lt.
-if test "$no_create" != yes; then
-  lt_cl_success=:
-  test "$silent" = yes &&
-    lt_config_lt_args="$lt_config_lt_args --quiet"
-  exec AS_MESSAGE_LOG_FD>/dev/null
-  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
-  exec AS_MESSAGE_LOG_FD>>config.log
-  $lt_cl_success || AS_EXIT(1)
-fi
+lt_cl_success=:
+test "$silent" = yes &&
+  lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
 ])# LT_OUTPUT
 
 
@@ -717,15 +753,12 @@ _LT_EOF
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   # text mode, it properly converts lines to CR/LF.  This bash problem
   # is reportedly fixed, but why not run on old versions too?
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  _LT_PROG_XSI_SHELLFNS
+  sed '$q' "$ltmain" >> "$cfgfile" \
+     || (rm -f "$cfgfile"; exit 1)
 
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
+  _LT_PROG_REPLACE_SHELLFNS
 
-  mv -f "$cfgfile" "$ofile" ||
+   mv -f "$cfgfile" "$ofile" ||
     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   chmod +x "$ofile"
 ],
@@ -770,6 +803,7 @@ AC_DEFUN([LT_LANG],
 m4_case([$1],
   [C],                 [_LT_LANG(C)],
   [C++],               [_LT_LANG(CXX)],
+  [Go],                        [_LT_LANG(GO)],
   [Java],              [_LT_LANG(GCJ)],
   [Fortran 77],                [_LT_LANG(F77)],
   [Fortran],           [_LT_LANG(FC)],
@@ -791,6 +825,31 @@ m4_defun([_LT_LANG],
 ])# _LT_LANG
 
 
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into   #
+#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
+#  a released version of Autoconf we should remove this    #
+#  macro and use it instead.                               #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC],     [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+  if test -n "$ac_tool_prefix"; then
+    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+  fi
+fi
+if test -z "$GOC"; then
+  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
 # _LT_LANG_DEFAULT_CONFIG
 # -----------------------
 m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -821,6 +880,10 @@ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
        m4_ifdef([LT_PROG_GCJ],
        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+  [LT_LANG(GO)],
+  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
 AC_PROVIDE_IFELSE([LT_PROG_RC],
   [LT_LANG(RC)],
   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -831,11 +894,13 @@ AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
 dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
 
 
 # _LT_TAG_COMPILER
@@ -921,7 +986,13 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?
-       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+       # If there is a non-empty error log, and "single_module"
+       # appears in it, assume the flag caused a linker warning
+        if test -s conftest.err && $GREP single_module conftest.err; then
+         cat conftest.err >&AS_MESSAGE_LOG_FD
+       # Otherwise, if the output was created with a 0 exit code from
+       # the compiler, it worked.
+       elif test -f libconftest.dylib && test $_lt_result -eq 0; then
          lt_cv_apple_cc_single_mod=yes
        else
          cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -929,6 +1000,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
        rm -rf libconftest.dylib*
        rm -f conftest.*
       fi])
+
     AC_CACHE_CHECK([for -exported_symbols_list linker flag],
       [lt_cv_ld_exported_symbols_list],
       [lt_cv_ld_exported_symbols_list=no
@@ -940,6 +1012,34 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
        [lt_cv_ld_exported_symbols_list=no])
        LDFLAGS="$save_LDFLAGS"
     ])
+
+    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+      [lt_cv_ld_force_load=no
+      cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+      cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+      _lt_result=$?
+      if test -s conftest.err && $GREP force_load conftest.err; then
+       cat conftest.err >&AS_MESSAGE_LOG_FD
+      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+       lt_cv_ld_force_load=yes
+      else
+       cat conftest.err >&AS_MESSAGE_LOG_FD
+      fi
+        rm -f conftest.err libconftest.a conftest conftest.c
+        rm -rf conftest.dSYM
+    ])
     case $host_os in
     rhapsody* | darwin1.[[012]])
       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
@@ -967,7 +1067,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
     else
       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     fi
-    if test "$DSYMUTIL" != ":"; then
+    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
       _lt_dsymutil='~$DSYMUTIL $lib || :'
     else
       _lt_dsymutil=
@@ -977,8 +1077,8 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 ])
 
 
-# _LT_DARWIN_LINKER_FEATURES
-# --------------------------
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
 # Checks for linker and compiler features on darwin
 m4_defun([_LT_DARWIN_LINKER_FEATURES],
 [
@@ -987,7 +1087,13 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   _LT_TAGVAR(hardcode_direct, $1)=no
   _LT_TAGVAR(hardcode_automatic, $1)=yes
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
+  else
+    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+  fi
   _LT_TAGVAR(link_all_deplibs, $1)=yes
   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -995,7 +1101,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -1011,203 +1117,142 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   fi
 ])
 
-# _LT_SYS_MODULE_PATH_AIX
-# -----------------------
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
 # Links a minimal program and checks the executable
 # for the system default hardcoded library path. In most cases,
 # this is /usr/lib:/lib, but when the MPI compilers are used
 # the location of the communication and MPI libs are included too.
 # If we don't find anything, use the default library path according
 # to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-       /^0/ {
-           s/^0  *\(.*\)$/\1/
-           p
-       }
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+  lt_aix_libpath_sed='[
+      /Import File Strings/,/^$/ {
+         /^0/ {
+             s/^0  *\([^ ]*\) *$/\1/
+             p
+         }
+      }]'
+  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi],[])
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
+  fi
+  ])
+  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
 ])# _LT_SYS_MODULE_PATH_AIX
 
 
 # _LT_SHELL_INIT(ARG)
 # -------------------
 m4_define([_LT_SHELL_INIT],
-[ifdef([AC_DIVERSION_NOTICE],
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
-        [AC_DIVERT_PUSH(NOTICE)])
-$1
-AC_DIVERT_POP
-])# _LT_SHELL_INIT
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
 
 
 # _LT_PROG_ECHO_BACKSLASH
 # -----------------------
-# Add some code to the start of the generated configure script which
-# will find an echo command which doesn't interpret backslashes.
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script which will find a shell with a builtin
+# printf (which we can use as an echo command).
 m4_defun([_LT_PROG_ECHO_BACKSLASH],
-[_LT_SHELL_INIT([
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X[$]1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X[$]1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='printf %s\n'
 else
-  # Restart under the correct shell.
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
-fi
-
-if test "X[$]1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-[$]*
-_LT_EOF
-  exit 0
+  # Use this function as a fallback that always works.
+  func_fallback_echo ()
+  {
+    eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+  }
+  ECHO='func_fallback_echo'
 fi
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-          test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-          test "X$echo_testing_string" = "X$echo_test_string"; then
-         # Cool, printf works
-         :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-            test "X$echo_testing_string" = 'X\t' &&
-            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-            test "X$echo_testing_string" = "X$echo_test_string"; then
-         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-         export CONFIG_SHELL
-         SHELL="$CONFIG_SHELL"
-         export SHELL
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-            test "X$echo_testing_string" = 'X\t' &&
-            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-            test "X$echo_testing_string" = "X$echo_test_string"; then
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        else
-         # maybe with a smaller string...
-         prev=:
-
-         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
-           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-           then
-             break
-           fi
-           prev="$cmd"
-         done
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*" 
+}
 
-         if test "$prev" != 'sed 50q "[$]0"'; then
-           echo_test_string=`eval $prev`
-           export echo_test_string
-           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
-         else
-           # Oops.  We lost completely, so just stick with echo.
-           ECHO=echo
-         fi
-        fi
-      fi
-    fi
-  fi
-fi
+case "$ECHO" in
+  printf*) AC_MSG_RESULT([printf]) ;;
+  print*) AC_MSG_RESULT([print -r]) ;;
+  *) AC_MSG_RESULT([cat]) ;;
+esac
 
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
-fi
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+    PATH=/empty FPATH=/empty; export PATH FPATH
+    test "X`printf %s $ECHO`" = "X$ECHO" \
+      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 
-AC_SUBST(lt_ECHO)
-])
 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
-_LT_DECL([], [ECHO], [1],
-    [An echo program that does not interpret backslashes])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 ])# _LT_PROG_ECHO_BACKSLASH
 
 
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[  --with-sysroot[=DIR] Search for dependent libraries within DIR
+                        (or the compiler's sysroot if not specified).],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted.  We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+   if test "$GCC" = yes; then
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+   fi
+   ;; #(
+ /*)
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+   ;; #(
+ no|'')
+   ;; #(
+ *)
+   AC_MSG_RESULT([${with_sysroot}])
+   AC_MSG_ERROR([The sysroot must be an absolute path.])
+   ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and in which our libraries should be installed.])])
+
 # _LT_ENABLE_LOCK
 # ---------------
 m4_defun([_LT_ENABLE_LOCK],
@@ -1236,7 +1281,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then
     if test "$lt_cv_prog_gnu_ld" = yes; then
       case `/usr/bin/file conftest.$ac_objext` in
@@ -1329,14 +1374,27 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     CFLAGS="$SAVE_CFLAGS"
   fi
   ;;
-sparc*-*solaris*)
+*-*solaris*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then
     case `/usr/bin/file conftest.o` in
     *64-bit*)
       case $lt_cv_prog_gnu_ld in
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+      yes*)
+        case $host in
+        i?86-*-solaris*)
+          LD="${LD-ld} -m elf_x86_64"
+          ;;
+        sparc*-*-solaris*)
+          LD="${LD-ld} -m elf64_sparc"
+          ;;
+        esac
+        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
+        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+          LD="${LD-ld}_sol2"
+        fi
+        ;;
       *)
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
          LD="${LD-ld} -64"
@@ -1354,14 +1412,47 @@ need_locks="$enable_libtool_lock"
 ])# _LT_ENABLE_LOCK
 
 
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+  [lt_cv_ar_at_file=no
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+     [echo conftest.$ac_objext > conftest.lst
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+      AC_TRY_EVAL([lt_ar_try])
+      if test "$ac_status" -eq 0; then
+       # Ensure the archiver fails upon bogus file names.
+       rm -f conftest.$ac_objext libconftest.a
+       AC_TRY_EVAL([lt_ar_try])
+       if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
+      fi
+      rm -f conftest.* libconftest.a
+     ])
+  ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+  [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
 # _LT_CMD_OLD_ARCHIVE
 # -------------------
 m4_defun([_LT_CMD_OLD_ARCHIVE],
-[AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
+[_LT_PROG_AR
 
 AC_CHECK_TOOL(STRIP, strip, :)
 test -z "$STRIP" && STRIP=:
@@ -1380,18 +1471,27 @@ old_postuninstall_cmds=
 if test -n "$RANLIB"; then
   case $host_os in
   openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;
   *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;
   esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi
+
+case $host_os in
+  darwin*)
+    lock_old_archive_extraction=yes ;;
+  *)
+    lock_old_archive_extraction=no ;;
+esac
 _LT_DECL([], [old_postinstall_cmds], [2])
 _LT_DECL([], [old_postuninstall_cmds], [2])
 _LT_TAGDECL([], [old_archive_cmds], [2],
     [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+    [Whether to use a lock for old archive extraction])
 ])# _LT_CMD_OLD_ARCHIVE
 
 
@@ -1416,15 +1516,15 @@ AC_CACHE_CHECK([$1], [$2],
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        $2=yes
@@ -1464,7 +1564,7 @@ AC_CACHE_CHECK([$1], [$2],
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&AS_MESSAGE_LOG_FD
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          $2=yes
@@ -1527,6 +1627,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
@@ -1552,6 +1657,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=196608
     ;;
 
+  os2*)
+    # The test takes a long time on OS/2.
+    lt_cv_sys_max_cmd_len=8192
+    ;;
+
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -1591,8 +1701,8 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
-                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
+      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+                = "X$teststring$teststring"; } >/dev/null 2>&1 &&
              test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
@@ -1643,7 +1753,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-[#line __oline__ "configure"
+[#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -1684,7 +1794,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -1693,7 +1809,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+       }
       /* dlclose (self); */
     }
   else
@@ -1869,16 +1989,16 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
@@ -2037,6 +2157,7 @@ m4_require([_LT_DECL_EGREP])dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_OBJDUMP])dnl
 m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 AC_MSG_CHECKING([dynamic linker characteristics])
 m4_if([$1],
        [], [
@@ -2045,16 +2166,23 @@ if test "$GCC" = yes; then
     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     *) lt_awk_arg="/^libraries:/" ;;
   esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
+  case $host_os in
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
+    *) lt_sed_strip_eq="s,=/,/,g" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+  case $lt_search_path_spec in
+  *\;*)
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+    ;;
+  *)
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+    ;;
+  esac
   # Ok, now we have the path, separated by spaces, we can step through it
   # and add multilib dir if necessary.
   lt_tmp_lt_search_path_spec=
@@ -2067,7 +2195,7 @@ if test "$GCC" = yes; then
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     fi
   done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 BEGIN {RS=" "; FS="/|\n";} {
   lt_foo="";
   lt_count=0;
@@ -2087,7 +2215,13 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[[lt_foo]]++; }
   if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 }'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
+  # AWK program above erroneously prepends '/' to C:/dos/paths
+  # for these hosts.
+  case $host_os in
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+  esac
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 fi])
@@ -2113,7 +2247,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -2122,7 +2256,7 @@ aix3*)
   ;;
 
 aix[[4-9]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -2175,7 +2309,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -2187,7 +2321,7 @@ beos*)
   ;;
 
 bsdi[[45]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -2206,8 +2340,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -2228,36 +2363,83 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+m4_if([$1], [],[
+      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
+    ;;
+
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
     ;;
 
   *)
+    # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
     ;;
   esac
-  dynamic_linker='Win32 ld.exe'
   # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH
   ;;
@@ -2278,7 +2460,7 @@ m4_if([$1], [],[
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -2286,10 +2468,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -2297,7 +2475,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[[123]]*) objformat=aout ;;
+    freebsd[[23]].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -2315,7 +2493,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -2334,13 +2512,16 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
+  dynamic_linker="$host_os runtime_loader"
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -2386,12 +2567,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[[3-9]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -2407,7 +2590,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
        if test "$lt_cv_prog_gnu_ld" = yes; then
-               version_type=linux
+               version_type=linux # correct to gnu/linux during the next big refactor
        else
                version_type=irix
        fi ;;
@@ -2444,9 +2627,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2454,16 +2637,21 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
-       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
-  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
-       [shlibpath_overrides_runpath=yes])])
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+    [lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+        LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+        [lt_cv_shlibpath_overrides_runpath=yes])])
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+    ])
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -2472,7 +2660,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -2516,7 +2704,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -2585,7 +2773,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2610,7 +2798,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -2634,7 +2822,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -2665,7 +2853,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2675,7 +2863,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -2717,6 +2905,8 @@ _LT_DECL([], [library_names_spec], [1],
     The last name is the one that the linker finds with -lNAME]])
 _LT_DECL([], [soname_spec], [1],
     [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+    [Permission mode override for installation of shared libraries])
 _LT_DECL([], [postinstall_cmds], [2],
     [Command to use after installation of a shared archive])
 _LT_DECL([], [postuninstall_cmds], [2],
@@ -2829,6 +3019,7 @@ AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 m4_require([_LT_DECL_SED])dnl
 m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 
 AC_ARG_WITH([gnu-ld],
     [AS_HELP_STRING([--with-gnu-ld],
@@ -2950,6 +3141,11 @@ case $reload_flag in
 esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in
+  cygwin* | mingw* | pw32* | cegcc*)
+    if test "$GCC" != yes; then
+      reload_cmds=false
+    fi
+    ;;
   darwin*)
     if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -2958,8 +3154,8 @@ case $host_os in
     fi
     ;;
 esac
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
-_LT_DECL([], [reload_cmds], [2])dnl
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
 ])# _LT_CMD_RELOAD
 
 
@@ -3011,16 +3207,18 @@ mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   # unless we find 'file', for example because we are cross-compiling.
-  if ( file / ) >/dev/null 2>&1; then
+  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     lt_cv_file_magic_cmd='func_win32_libid'
   else
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+    # Keep this pattern in sync with the one in func_win32_libid.
+    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     lt_cv_file_magic_cmd='$OBJDUMP -f'
   fi
   ;;
 
-cegcc)
+cegcc*)
   # use the weaker test based on 'objdump'. See mingw*.
   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   lt_cv_file_magic_cmd='$OBJDUMP -f'
@@ -3046,7 +3244,7 @@ freebsd* | dragonfly*)
   fi
   ;;
 
-gnu*)
+haiku*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -3058,11 +3256,11 @@ hpux10.20* | hpux11*)
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
   hppa*64*)
-    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     ;;
   *)
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   esac
@@ -3083,8 +3281,8 @@ irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -3162,6 +3360,21 @@ tpf*)
   ;;
 esac
 ])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+  case $host_os in
+  mingw* | pw32*)
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+      want_nocaseglob=yes
+    else
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+    fi
+    ;;
+  esac
+fi
+
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -3169,7 +3382,11 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
 _LT_DECL([], [deplibs_check_method], [1],
     [Method to check whether dependent libraries are shared objects])
 _LT_DECL([], [file_magic_cmd], [1],
-    [Command to use when deplibs_check_method == "file_magic"])
+    [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+    [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
 ])# _LT_CHECK_MAGIC_METHOD
 
 
@@ -3226,7 +3443,19 @@ if test "$lt_cv_path_NM" != "no"; then
   NM="$lt_cv_path_NM"
 else
   # Didn't find any BSD compatible name lister, look for dumpbin.
-  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
+  if test -n "$DUMPBIN"; then :
+    # Let the user override the test.
+  else
+    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+    *COFF*)
+      DUMPBIN="$DUMPBIN -symbols"
+      ;;
+    *)
+      DUMPBIN=:
+      ;;
+    esac
+  fi
   AC_SUBST([DUMPBIN])
   if test "$DUMPBIN" != ":"; then
     NM="$DUMPBIN"
@@ -3239,13 +3468,13 @@ _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
   [lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
   cat conftest.out >&AS_MESSAGE_LOG_FD
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -3260,15 +3489,76 @@ dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AM_PROG_NM], [])
 dnl AC_DEFUN([AC_PROG_NM], [])
 
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+#  -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
 
-# LT_LIB_M
-# --------
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+  # two different shell functions defined in ltmain.sh
+  # decide which to use based on capabilities of $DLLTOOL
+  case `$DLLTOOL --help 2>&1` in
+  *--identify-strict*)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+    ;;
+  *)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+    ;;
+  esac
+  ;;
+*)
+  # fallback: assume linklib IS sharedlib
+  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+  ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+    [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+  [lt_cv_path_mainfest_tool=no
+  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+  cat conftest.err >&AS_MESSAGE_LOG_FD
+  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+    lt_cv_path_mainfest_tool=yes
+  fi
+  rm -f conftest*])
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+  MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
+
+# LT_LIB_M
+# --------
 # check for math library
 AC_DEFUN([LT_LIB_M],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   # These system don't have libm, or don't need it
   ;;
 *-ncr-sysv4.3*)
@@ -3296,7 +3586,12 @@ m4_defun([_LT_COMPILER_NO_RTTI],
 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
 if test "$GCC" = yes; then
-  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+  case $cc_basename in
+  nvcc*)
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+  *)
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+  esac
 
   _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
     lt_cv_prog_compiler_rtti_exceptions,
@@ -3313,6 +3608,7 @@ _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
 AC_REQUIRE([LT_PATH_NM])dnl
 AC_REQUIRE([LT_PATH_LD])dnl
 m4_require([_LT_DECL_SED])dnl
@@ -3380,8 +3676,8 @@ esac
 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 # Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
 # Handle CRLF in mingw tool chain
 opt_cr=
@@ -3405,6 +3701,7 @@ for ac_symprfx in "" "_"; do
     # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK ['"\
 "     {last_section=section; section=\$ 3};"\
+"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -3417,6 +3714,7 @@ for ac_symprfx in "" "_"; do
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
   # Check to see that the pipe works correctly.
   pipe_works=no
@@ -3438,7 +3736,7 @@ _LT_EOF
   if AC_TRY_EVAL(ac_compile); then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
       # Try sorting and uniquifying the output.
       if sort "$nlist" | uniq > "$nlist"T; then
        mv -f "$nlist"T "$nlist"
@@ -3450,6 +3748,18 @@ _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT@&t@_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT@&t@_DLSYM_CONST
+#else
+# define LT@&t@_DLSYM_CONST const
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -3461,7 +3771,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
 
 /* The mapping between symbol names and symbols.  */
-const struct {
+LT@&t@_DLSYM_CONST struct {
   const char *name;
   void       *address;
 }
@@ -3487,15 +3797,15 @@ static const void *lt_preloaded_setup() {
 _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
-         lt_save_LIBS="$LIBS"
-         lt_save_CFLAGS="$CFLAGS"
+         lt_globsym_save_LIBS=$LIBS
+         lt_globsym_save_CFLAGS=$CFLAGS
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
          if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
-         LIBS="$lt_save_LIBS"
-         CFLAGS="$lt_save_CFLAGS"
+         LIBS=$lt_globsym_save_LIBS
+         CFLAGS=$lt_globsym_save_CFLAGS
        else
          echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
        fi
@@ -3528,6 +3838,13 @@ else
   AC_MSG_RESULT(ok)
 fi
 
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+  nm_file_list_spec='@'
+fi
+
 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
     [Take the output of nm and produce a listing of raw symbols and C names])
 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
@@ -3538,6 +3855,8 @@ _LT_DECL([global_symbol_to_c_name_address],
 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
     [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
     [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([], [nm_file_list_spec], [1],
+    [Specify filename containing input files for $NM])
 ]) # _LT_CMD_GLOBAL_SYMBOLS
 
 
@@ -3549,7 +3868,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
-AC_MSG_CHECKING([for $compiler option to produce PIC])
 m4_if([$1], [CXX], [
   # C++ specific cases for pic, static, wl, etc.
   if test "$GXX" = yes; then
@@ -3600,6 +3918,11 @@ m4_if([$1], [CXX], [
       # DJGPP does not support shared libraries at all
       _LT_TAGVAR(lt_prog_compiler_pic, $1)=
       ;;
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=
+      ;;
     interix[[3-9]]*)
       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       # Instead, we relocate shared libraries at runtime.
@@ -3649,6 +3972,12 @@ m4_if([$1], [CXX], [
          ;;
        esac
        ;;
+      mingw* | cygwin* | os2* | pw32* | cegcc*)
+       # This hack is so that the source file can tell whether it is being
+       # built for inclusion in a dll (and should export symbols for example).
+       m4_if([$1], [GCJ], [],
+         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+       ;;
       dgux*)
        case $cc_basename in
          ec++*)
@@ -3705,7 +4034,7 @@ m4_if([$1], [CXX], [
            ;;
        esac
        ;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        case $cc_basename in
          KCC*)
            # KAI C++ Compiler
@@ -3738,8 +4067,8 @@ m4_if([$1], [CXX], [
            _LT_TAGVAR(lt_prog_compiler_pic, $1)=
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
            ;;
-         xlc* | xlC*)
-           # IBM XL 8.0 on PPC
+         xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+           # IBM XL 8.0, 9.0 on PPC and BlueGene
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -3801,7 +4130,7 @@ m4_if([$1], [CXX], [
        ;;
       solaris*)
        case $cc_basename in
-         CC*)
+         CC* | sunCC*)
            # Sun C++ 4.2, 5.x and Centerline C++
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -3905,6 +4234,12 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
       ;;
 
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=
+      ;;
+
     hpux*)
       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
@@ -3947,6 +4282,15 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
       ;;
     esac
+
+    case $cc_basename in
+    nvcc*) # Cuda Compiler Driver 2.2
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+      fi
+      ;;
+    esac
   else
     # PORTME Check for flag to pass linker flags through the system compiler.
     case $host_os in
@@ -3989,7 +4333,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
+    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
       case $cc_basename in
       # old Intel for x86_64 which still supported -KPIC.
       ecc*)
@@ -4010,7 +4354,13 @@ m4_if([$1], [CXX], [
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
        ;;
-      pgcc* | pgf77* | pgf90* | pgf95*)
+      nagfor*)
+       # NAG Fortran compiler
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+       ;;
+      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -4022,25 +4372,40 @@ m4_if([$1], [CXX], [
         # All Alpha code is PIC.
         _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
         ;;
-      xl*)
-       # IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
        ;;
       *)
        case `$CC -V 2>&1 | sed 5q` in
+       *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+         ;;
+       *Sun\ F* | *Sun*Fortran*)
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+         ;;
        *Sun\ C*)
          # Sun C 5.9
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
          ;;
-       *Sun\ F*)
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+        *Intel*\ [[CF]]*Compiler*)
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+         ;;
+       *Portland\ Group*)
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
          ;;
        esac
        ;;
@@ -4072,7 +4437,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
       case $cc_basename in
-      f77* | f90* | f95*)
+      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
       *)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
@@ -4129,9 +4494,11 @@ case $host_os in
     _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
     ;;
 esac
-AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
-       [How to pass a linker flag through the compiler])
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
 
 #
 # Check to make sure the PIC flag actually works.
@@ -4150,6 +4517,8 @@ fi
 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
        [Additional compiler flags for building library objects])
 
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+       [How to pass a linker flag through the compiler])
 #
 # Check to make sure the static flag actually works.
 #
@@ -4170,6 +4539,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
 m4_defun([_LT_LINKER_SHLIBS],
 [AC_REQUIRE([LT_PATH_LD])dnl
 AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_EGREP])dnl
 m4_require([_LT_DECL_SED])dnl
@@ -4178,30 +4548,40 @@ m4_require([_LT_TAG_COMPILER])dnl
 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 m4_if([$1], [CXX], [
   _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
   case $host_os in
   aix[[4-9]]*)
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm
+    # Also, AIX nm treats weak defined symbols like other global defined
+    # symbols, whereas GNU nm marks them as "W".
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
-  ;;
+    ;;
   cygwin* | mingw* | cegcc*)
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  linux* | k*bsd*-gnu)
+    case $cc_basename in
+    cl*)
+      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+      ;;
+    *)
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+      ;;
+    esac
+    ;;
+  linux* | k*bsd*-gnu | gnu*)
     _LT_TAGVAR(link_all_deplibs, $1)=no
-  ;;
+    ;;
   *)
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
+    ;;
   esac
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 ], [
   runpath_var=
   _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -4216,7 +4596,6 @@ m4_if([$1], [CXX], [
   _LT_TAGVAR(hardcode_direct, $1)=no
   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
   _LT_TAGVAR(hardcode_libdir_separator, $1)=
   _LT_TAGVAR(hardcode_minus_L, $1)=no
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -4261,13 +4640,39 @@ dnl Note also adjust exclude_expsyms for C++ above.
   openbsd*)
     with_gnu_ld=no
     ;;
-  linux* | k*bsd*-gnu)
+  linux* | k*bsd*-gnu | gnu*)
     _LT_TAGVAR(link_all_deplibs, $1)=no
     ;;
   esac
 
   _LT_TAGVAR(ld_shlibs, $1)=yes
+
+  # On some targets, GNU ld is compatible enough with the native linker
+  # that we're better off using the native interface for both.
+  lt_use_gnu_ld_interface=no
   if test "$with_gnu_ld" = yes; then
+    case $host_os in
+      aix*)
+       # The AIX port of GNU ld has always aspired to compatibility
+       # with the native linker.  However, as the warning in the GNU ld
+       # block says, versions before 2.19.5* couldn't really create working
+       # shared libraries, regardless of the interface used.
+       case `$LD -v 2>&1` in
+         *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+         *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+         *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+         *)
+           lt_use_gnu_ld_interface=yes
+           ;;
+       esac
+       ;;
+      *)
+       lt_use_gnu_ld_interface=yes
+       ;;
+    esac
+  fi
+
+  if test "$lt_use_gnu_ld_interface" = yes; then
     # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'
 
@@ -4301,11 +4706,12 @@ dnl Note also adjust exclude_expsyms for C++ above.
        _LT_TAGVAR(ld_shlibs, $1)=no
        cat <<_LT_EOF 1>&2
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** Warning: the GNU linker, at least up to release 2.19, is reported
 *** to be unable to reliably create shared libraries on AIX.
 *** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
 
 _LT_EOF
       fi
@@ -4341,10 +4747,12 @@ _LT_EOF
       # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
       # as there is no search path for DLLs.
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
       _LT_TAGVAR(always_export_symbols, $1)=no
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
 
       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -4362,6 +4770,11 @@ _LT_EOF
       fi
       ;;
 
+    haiku*)
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
+      ;;
+
     interix[[3-9]]*)
       _LT_TAGVAR(hardcode_direct, $1)=no
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4387,15 +4800,16 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
         && test "$tmp_diet" = no
       then
-       tmp_addflag=
+       tmp_addflag=' $pic_flag'
        tmp_sharedflag='-shared'
        case $cc_basename,$host_cpu in
         pgcc*)                         # Portland Group C compiler
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          tmp_addflag=' $pic_flag'
          ;;
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+       pgf77* | pgf90* | pgf95* | pgfortran*)
+                                       # Portland Group f77 and f90 compilers
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          tmp_addflag=' $pic_flag -Mnomain' ;;
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
          tmp_addflag=' -i_dynamic' ;;
@@ -4406,13 +4820,17 @@ _LT_EOF
        lf95*)                          # Lahey Fortran 8.1
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
          tmp_sharedflag='--shared' ;;
-       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
+       xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
          tmp_sharedflag='-qmkshrobj'
          tmp_addflag= ;;
+       nvcc*)  # Cuda Compiler Driver 2.2
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+         _LT_TAGVAR(compiler_needs_object, $1)=yes
+         ;;
        esac
        case `$CC -V 2>&1 | sed 5q` in
        *Sun\ C*)                       # Sun C 5.9
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
          _LT_TAGVAR(compiler_needs_object, $1)=yes
          tmp_sharedflag='-G' ;;
        *Sun\ F*)                       # Sun Fortran 8.3
@@ -4428,17 +4846,16 @@ _LT_EOF
         fi
 
        case $cc_basename in
-       xlf*)
+       xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
-         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
          if test "x$supports_anon_versioning" = xyes; then
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
              echo "local: *; };" >> $output_objdir/$libname.ver~
-             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+             $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
          fi
          ;;
        esac
@@ -4452,8 +4869,8 @@ _LT_EOF
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
       else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi
       ;;
 
@@ -4471,8 +4888,8 @@ _LT_EOF
 
 _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
        _LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -4518,8 +4935,8 @@ _LT_EOF
 
     *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
        _LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -4559,8 +4976,10 @@ _LT_EOF
       else
        # If we're using GNU nm, then we don't want the "-C" option.
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
+       # Also, AIX nm treats weak defined symbols like other global
+       # defined symbols, whereas GNU nm marks them as "W".
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        else
          _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        fi
@@ -4648,9 +5067,9 @@ _LT_EOF
        _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        _LT_SYS_MODULE_PATH_AIX
+        _LT_SYS_MODULE_PATH_AIX([$1])
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
        if test "$host_cpu" = ia64; then
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -4659,14 +5078,19 @@ _LT_EOF
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        _LT_SYS_MODULE_PATH_AIX
+        _LT_SYS_MODULE_PATH_AIX([$1])
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
          # -berok will link without error, but may produce a broken library.
          _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
          _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-         # Exported symbols can be pulled into shared objects from archives
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+         if test "$with_gnu_ld" = yes; then
+           # We only use this code for GNU lds that support --whole-archive.
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+         else
+           # Exported symbols can be pulled into shared objects from archives
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+         fi
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
          # This is similar to how AIX traditionally builds its shared libraries.
          _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -4698,20 +5122,64 @@ _LT_EOF
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      # Tell ltmain to make .lib files, not .a files.
-      libext=lib
-      # Tell ltmain to make .dll files, not .so files.
-      shrext_cmds=".dll"
-      # FIXME: Setting linknames here is a bad hack.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
-      # The linker will automatically build a .lib file if we build a DLL.
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-      # FIXME: Should let the user specify the lib program.
-      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
-      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+      case $cc_basename in
+      cl*)
+       # Native MSVC
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+       _LT_TAGVAR(always_export_symbols, $1)=yes
+       _LT_TAGVAR(file_list_spec, $1)='@'
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+       shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+           sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+         else
+           sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+         fi~
+         $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+         linknames='
+       # The linker will not automatically build a static lib if we build a DLL.
+       # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+       _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+       _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+       # Don't use ranlib
+       _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+       _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+         lt_tool_outputfile="@TOOL_OUTPUT@"~
+         case $lt_outputfile in
+           *.exe|*.EXE) ;;
+           *)
+             lt_outputfile="$lt_outputfile.exe"
+             lt_tool_outputfile="$lt_tool_outputfile.exe"
+             ;;
+         esac~
+         if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+           $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+           $RM "$lt_outputfile.manifest";
+         fi'
+       ;;
+      *)
+       # Assume MSVC wrapper
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+       shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+       # The linker will automatically build a .lib file if we build a DLL.
+       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+       # FIXME: Should let the user specify the lib program.
+       _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -4724,10 +5192,6 @@ _LT_EOF
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
       ;;
 
-    freebsd1*)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -4740,7 +5204,7 @@ _LT_EOF
       ;;
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
+    freebsd2.*)
       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
@@ -4749,7 +5213,7 @@ _LT_EOF
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4757,7 +5221,7 @@ _LT_EOF
 
     hpux9*)
       if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else
        _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi
@@ -4772,14 +5236,13 @@ _LT_EOF
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi
       if test "$with_gnu_ld" = no; then
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
        _LT_TAGVAR(hardcode_direct, $1)=yes
        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -4791,16 +5254,16 @@ _LT_EOF
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        case $host_cpu in
        hppa*64*)
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        *)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        esac
       else
@@ -4812,7 +5275,14 @@ _LT_EOF
          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        *)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+       m4_if($1, [], [
+         # Older versions of the 11.00 compiler do not understand -b yet
+         # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+         _LT_LINKER_OPTION([if $CC understands -b],
+           _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+           [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+           [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+         [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
          ;;
        esac
       fi
@@ -4840,19 +5310,34 @@ _LT_EOF
 
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
        # Try to use the -exported_symbol ld option, if it does not
        # work, assume that -exports_file does not work either and
        # implicitly export all symbols.
-        save_LDFLAGS="$LDFLAGS"
-        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-        AC_LINK_IFELSE(int foo(void) {},
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-        )
-        LDFLAGS="$save_LDFLAGS"
+       # This should be the same for all languages, so no per-tag cache variable.
+       AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+         [lt_cv_irix_exported_symbol],
+         [save_LDFLAGS="$LDFLAGS"
+          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+          AC_LINK_IFELSE(
+            [AC_LANG_SOURCE(
+               [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+                             [C++], [[int foo (void) { return 0; }]],
+                             [Fortran 77], [[
+      subroutine foo
+      end]],
+                             [Fortran], [[
+      subroutine foo
+      end]])])],
+             [lt_cv_irix_exported_symbol=yes],
+             [lt_cv_irix_exported_symbol=no])
+           LDFLAGS="$save_LDFLAGS"])
+       if test "$lt_cv_irix_exported_symbol" = yes; then
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+       fi
       else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4914,17 +5399,17 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       ;;
 
     osf3*)
       if test "$GCC" = yes; then
        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
       else
        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4934,13 +5419,13 @@ _LT_EOF
     osf4* | osf5*)     # as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then
        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       else
        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
        # Both c and cxx compiler support -rpath directly
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
@@ -4953,9 +5438,9 @@ _LT_EOF
       _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
       if test "$GCC" = yes; then
        wlarc='${wl}'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+         $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
@@ -5131,36 +5616,38 @@ x|xyes)
       # Test whether the compiler implicitly links with -lc since on some
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       # to ld, don't add -lc before -lgcc.
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
-       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
-        _LT_TAGVAR(allow_undefined_flag, $1)=
-        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
-        then
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-        else
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-        fi
-        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
+      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+       [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+       [$RM conftest*
+       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+       if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+         soname=conftest
+         lib=conftest
+         libobjs=conftest.$ac_objext
+         deplibs=
+         wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+         pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+         compiler_flags=-v
+         linker_flags=-v
+         verstring=
+         output_objdir=.
+         libname=conftest
+         lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+         _LT_TAGVAR(allow_undefined_flag, $1)=
+         if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+         then
+           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+         else
+           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+         fi
+         _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+       else
+         cat conftest.err 1>&5
+       fi
+       $RM conftest*
+       ])
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
       ;;
     esac
   fi
@@ -5197,9 +5684,6 @@ _LT_TAGDECL([], [no_undefined_flag], [1],
 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
     [Flag to hardcode $libdir into a binary during linking.
     This must work even if $libdir does not exist])
-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
-    [[If ld is used when linking, flag to hardcode $libdir into a binary
-    during linking.  This must work even if $libdir does not exist]])
 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
     [Whether we need a single "-rpath" flag with a separated argument])
 _LT_TAGDECL([], [hardcode_direct], [0],
@@ -5225,8 +5709,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
     to runtime path list])
 _LT_TAGDECL([], [link_all_deplibs], [0],
     [Whether libtool must link a program against all its dependency libraries])
-_LT_TAGDECL([], [fix_srcfile_path], [1],
-    [Fix the shell variable $srcfile for the compiler])
 _LT_TAGDECL([], [always_export_symbols], [0],
     [Set to "yes" if exported symbols are required])
 _LT_TAGDECL([], [export_symbols_cmds], [2],
@@ -5237,6 +5719,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
     [Symbols that must always be exported])
 _LT_TAGDECL([], [prelink_cmds], [2],
     [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+    [Commands necessary for finishing linking programs])
 _LT_TAGDECL([], [file_list_spec], [1],
     [Specify filename containing input files])
 dnl FIXME: Not yet implemented
@@ -5330,37 +5814,22 @@ CC="$lt_save_CC"
 ])# _LT_LANG_C_CONFIG
 
 
-# _LT_PROG_CXX
-# ------------
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
-# compiler, we have our own version here.
-m4_defun([_LT_PROG_CXX],
-[
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
-AC_PROG_CXX
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
-    (test "X$CXX" != "Xg++"))) ; then
-  AC_PROG_CXXCPP
-else
-  _lt_caught_CXX_error=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_CXX
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_CXX], [])
-
-
 # _LT_LANG_CXX_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a C++ compiler are suitably
 # defined.  These variables are subsequently used by _LT_CONFIG to write
 # the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_CXX_CONFIG],
-[AC_REQUIRE([_LT_PROG_CXX])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
+    (test "X$CXX" != "Xg++"))) ; then
+  AC_PROG_CXXCPP
+else
+  _lt_caught_CXX_error=yes
+fi
 
 AC_LANG_PUSH(C++)
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -5372,7 +5841,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -5382,6 +5850,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -5413,6 +5883,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
+  lt_save_CFLAGS=$CFLAGS
   lt_save_LD=$LD
   lt_save_GCC=$GCC
   GCC=$GXX
@@ -5430,6 +5901,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi
   test -z "${LDCXX+set}" || LD=$LDCXX
   CC=${CXX-"c++"}
+  CFLAGS=$CXXFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -5451,8 +5923,8 @@ if test "$_lt_caught_CXX_error" != yes; then
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test "$with_gnu_ld" = yes; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5484,7 +5956,7 @@ if test "$_lt_caught_CXX_error" != yes; then
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
     else
       GXX=no
@@ -5593,10 +6065,10 @@ if test "$_lt_caught_CXX_error" != yes; then
           _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
-          _LT_SYS_MODULE_PATH_AIX
+          _LT_SYS_MODULE_PATH_AIX([$1])
           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -5605,14 +6077,19 @@ if test "$_lt_caught_CXX_error" != yes; then
           else
            # Determine the default libpath from the value encoded in an
            # empty executable.
-           _LT_SYS_MODULE_PATH_AIX
+           _LT_SYS_MODULE_PATH_AIX([$1])
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
            # -berok will link without error, but may produce a broken library.
            _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
            _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-           # Exported symbols can be pulled into shared objects from archives
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+           if test "$with_gnu_ld" = yes; then
+             # We only use this code for GNU lds that support --whole-archive.
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+           else
+             # Exported symbols can be pulled into shared objects from archives
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+           fi
            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
            # This is similar to how AIX traditionally builds its shared
            # libraries.
@@ -5642,28 +6119,75 @@ if test "$_lt_caught_CXX_error" != yes; then
         ;;
 
       cygwin* | mingw* | pw32* | cegcc*)
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-        # as there is no search path for DLLs.
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-        _LT_TAGVAR(always_export_symbols, $1)=no
-        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-          # If the export-symbols file already is a .def file (1st line
-          # is EXPORTS), use it as is; otherwise, prepend...
-          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-           cp $export_symbols $output_objdir/$soname.def;
-          else
-           echo EXPORTS > $output_objdir/$soname.def;
-           cat $export_symbols >> $output_objdir/$soname.def;
-          fi~
-          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-        else
-          _LT_TAGVAR(ld_shlibs, $1)=no
-        fi
-        ;;
+       case $GXX,$cc_basename in
+       ,cl* | no,cl*)
+         # Native MSVC
+         # hardcode_libdir_flag_spec is actually meaningless, as there is
+         # no search path for DLLs.
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+         _LT_TAGVAR(always_export_symbols, $1)=yes
+         _LT_TAGVAR(file_list_spec, $1)='@'
+         # Tell ltmain to make .lib files, not .a files.
+         libext=lib
+         # Tell ltmain to make .dll files, not .so files.
+         shrext_cmds=".dll"
+         # FIXME: Setting linknames here is a bad hack.
+         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+             $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+           else
+             $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+           fi~
+           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+           linknames='
+         # The linker will not automatically build a static lib if we build a DLL.
+         # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+         # Don't use ranlib
+         _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+         _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+           lt_tool_outputfile="@TOOL_OUTPUT@"~
+           case $lt_outputfile in
+             *.exe|*.EXE) ;;
+             *)
+               lt_outputfile="$lt_outputfile.exe"
+               lt_tool_outputfile="$lt_tool_outputfile.exe"
+               ;;
+           esac~
+           func_to_tool_file "$lt_outputfile"~
+           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+             $RM "$lt_outputfile.manifest";
+           fi'
+         ;;
+       *)
+         # g++
+         # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+         # as there is no search path for DLLs.
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+         _LT_TAGVAR(always_export_symbols, $1)=no
+         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+           # If the export-symbols file already is a .def file (1st line
+           # is EXPORTS), use it as is; otherwise, prepend...
+           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+             cp $export_symbols $output_objdir/$soname.def;
+           else
+             echo EXPORTS > $output_objdir/$soname.def;
+             cat $export_symbols >> $output_objdir/$soname.def;
+           fi~
+           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+         else
+           _LT_TAGVAR(ld_shlibs, $1)=no
+         fi
+         ;;
+       esac
+       ;;
       darwin* | rhapsody*)
         _LT_DARWIN_LINKER_FEATURES($1)
        ;;
@@ -5686,7 +6210,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         esac
         ;;
 
-      freebsd[[12]]*)
+      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before
        # switch to ELF
         _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5702,7 +6226,9 @@ if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(ld_shlibs, $1)=yes
         ;;
 
-      gnu*)
+      haiku*)
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
         ;;
 
       hpux9*)
@@ -5729,11 +6255,11 @@ if test "$_lt_caught_CXX_error" != yes; then
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
-              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5794,7 +6320,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
            ;;
           *)
            if test "$GXX" = yes; then
@@ -5804,10 +6330,10 @@ if test "$_lt_caught_CXX_error" != yes; then
                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  *)
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                esac
              fi
@@ -5837,7 +6363,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         case $cc_basename in
           CC*)
            # SGI C++
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
            # Archives containing C++ object files must be created using
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -5848,9 +6374,9 @@ if test "$_lt_caught_CXX_error" != yes; then
           *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
              else
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
              fi
            fi
            _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -5861,7 +6387,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(inherit_rpath, $1)=yes
         ;;
 
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in
           KCC*)
            # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -5879,7 +6405,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5916,26 +6442,26 @@ if test "$_lt_caught_CXX_error" != yes; then
           pgCC* | pgcpp*)
             # Portland Group C++ compiler
            case `$CC -V` in
-           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
+           *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
+               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                $RANLIB $oldlib'
              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
-           *) # Version 6 will use weak symbols
+           *) # Version 6 and above use weak symbols
              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
@@ -5943,7 +6469,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
             ;;
          cxx*)
            # Compaq C++
@@ -5962,9 +6488,9 @@ if test "$_lt_caught_CXX_error" != yes; then
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
            ;;
-         xl*)
+         xl* | mpixl* | bgxl*)
            # IBM XL 8.0 on PPC, with GNU ld
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5984,13 +6510,13 @@ if test "$_lt_caught_CXX_error" != yes; then
              _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
              _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
              _LT_TAGVAR(compiler_needs_object, $1)=yes
 
              # Not sure whether something based on
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
              # would be better.
-             output_verbose_link_cmd='echo'
+             output_verbose_link_cmd='func_echo_all'
 
              # Archives containing C++ object files must be created using
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -6059,7 +6585,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
            _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
          fi
-         output_verbose_link_cmd=echo
+         output_verbose_link_cmd=func_echo_all
        else
          _LT_TAGVAR(ld_shlibs, $1)=no
        fi
@@ -6094,15 +6620,15 @@ if test "$_lt_caught_CXX_error" != yes; then
            case $host in
              osf3*)
                _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
                ;;
              *)
                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                  echo "-hidden">> $lib.exp~
-                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
+                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                  $RM $lib.exp'
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
                ;;
@@ -6118,17 +6644,17 @@ if test "$_lt_caught_CXX_error" != yes; then
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
            ;;
          *)
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
              case $host in
                osf3*)
-                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
-                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
              esac
 
@@ -6138,7 +6664,7 @@ if test "$_lt_caught_CXX_error" != yes; then
              # Commands to make compiler produce verbose output that lists
              # what "hidden" libraries, object files and flags are used when
              # linking a shared library.
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
            else
              # FIXME: insert proper C++ library support
@@ -6174,7 +6700,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
       solaris*)
         case $cc_basename in
-          CC*)
+          CC* | sunCC*)
            # Sun C++ 4.2, 5.x and Centerline C++
             _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
@@ -6195,7 +6721,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            esac
            _LT_TAGVAR(link_all_deplibs, $1)=yes
 
-           output_verbose_link_cmd='echo'
+           output_verbose_link_cmd='func_echo_all'
 
            # Archives containing C++ object files must be created using
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -6215,14 +6741,14 @@ if test "$_lt_caught_CXX_error" != yes; then
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+                 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
              else
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                # platform.
@@ -6233,7 +6759,7 @@ if test "$_lt_caught_CXX_error" != yes; then
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
              fi
 
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
@@ -6287,6 +6813,10 @@ if test "$_lt_caught_CXX_error" != yes; then
           CC*)
            _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+             '"$_LT_TAGVAR(old_archive_cmds, $1)"
+           _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+             '"$_LT_TAGVAR(reload_cmds, $1)"
            ;;
          *)
            _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
@@ -6342,6 +6872,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi # test -n "$compiler"
 
   CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
   LDCXX=$LD
   LD=$lt_save_LD
   GCC=$lt_save_GCC
@@ -6356,6 +6887,29 @@ AC_LANG_POP
 ])# _LT_LANG_CXX_CONFIG
 
 
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+  case ${2} in
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+  esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 # ---------------------------------
 # Figure out "hidden" library dependencies from verbose
@@ -6364,6 +6918,7 @@ AC_LANG_POP
 # objects, libraries and library flags.
 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
 # Dependencies to place before and after the object being linked:
 _LT_TAGVAR(predep_objects, $1)=
 _LT_TAGVAR(postdep_objects, $1)=
@@ -6413,7 +6968,20 @@ public class foo {
   }
 };
 _LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
 ])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
 dnl Parse the compiler output and extract the necessary
 dnl objects, libraries and library flags.
 if AC_TRY_EVAL(ac_compile); then
@@ -6425,7 +6993,7 @@ if AC_TRY_EVAL(ac_compile); then
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -6434,13 +7002,22 @@ if AC_TRY_EVAL(ac_compile); then
           test $p = "-R"; then
         prev=$p
         continue
-       else
-        prev=
        fi
 
+       # Expand the sysroot to ease extracting the directories later.
+       if test -z "$prev"; then
+         case $p in
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+         esac
+       fi
+       case $p in
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+       esac
        if test "$pre_test_object_deps_done" = no; then
-        case $p in
-        -L* | -R*)
+        case ${prev} in
+        -L | -R)
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
@@ -6460,8 +7037,10 @@ if AC_TRY_EVAL(ac_compile); then
           _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
         fi
        fi
+       prev=
        ;;
 
+    *.lto.$objext) ;; # Ignore GCC LTO objects
     *.$objext)
        # This assumes that the test object file only shows up
        # once in the compiler output.
@@ -6497,6 +7076,7 @@ else
 fi
 
 $RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
 
 # PORTME: override above test on systems where it is broken
 m4_if([$1], [CXX],
@@ -6533,7 +7113,7 @@ linux*)
 
 solaris*)
   case $cc_basename in
-  CC*)
+  CC* | sunCC*)
     # The more standards-conforming stlport4 library is
     # incompatible with the Cstd library. Avoid specifying
     # it if it's in CXXFLAGS. Ignore libCrun as
@@ -6577,32 +7157,16 @@ _LT_TAGDECL([], [compiler_lib_search_path], [1],
 ])# _LT_SYS_HIDDEN_LIBDEPS
 
 
-# _LT_PROG_F77
-# ------------
-# Since AC_PROG_F77 is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_F77],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
-AC_PROG_F77
-if test -z "$F77" || test "X$F77" = "Xno"; then
-  _lt_disable_F77=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_F77
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_F77], [])
-
-
 # _LT_LANG_F77_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a Fortran 77 compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_F77_CONFIG],
-[AC_REQUIRE([_LT_PROG_F77])dnl
-AC_LANG_PUSH(Fortran 77)
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test "X$F77" = "Xno"; then
+  _lt_disable_F77=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6612,7 +7176,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6621,6 +7184,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -6660,7 +7225,9 @@ if test "$_lt_disable_F77" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${F77-"f77"}
+  CFLAGS=$FFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -6714,38 +7281,24 @@ if test "$_lt_disable_F77" != yes; then
 
   GCC=$lt_save_GCC
   CC="$lt_save_CC"
+  CFLAGS="$lt_save_CFLAGS"
 fi # test "$_lt_disable_F77" != yes
 
 AC_LANG_POP
 ])# _LT_LANG_F77_CONFIG
 
 
-# _LT_PROG_FC
-# -----------
-# Since AC_PROG_FC is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_FC],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
-AC_PROG_FC
-if test -z "$FC" || test "X$FC" = "Xno"; then
-  _lt_disable_FC=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_FC
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_FC], [])
-
-
 # _LT_LANG_FC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for a Fortran compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_FC_CONFIG],
-[AC_REQUIRE([_LT_PROG_FC])dnl
-AC_LANG_PUSH(Fortran)
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test "X$FC" = "Xno"; then
+  _lt_disable_FC=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6755,7 +7308,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6764,6 +7316,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -6803,7 +7357,9 @@ if test "$_lt_disable_FC" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${FC-"f95"}
+  CFLAGS=$FCFLAGS
   compiler=$CC
   GCC=$ac_cv_fc_compiler_gnu
 
@@ -6859,7 +7415,8 @@ if test "$_lt_disable_FC" != yes; then
   fi # test -n "$compiler"
 
   GCC=$lt_save_GCC
-  CC="$lt_save_CC"
+  CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
 fi # test "$_lt_disable_FC" != yes
 
 AC_LANG_POP
@@ -6896,10 +7453,12 @@ _LT_COMPILER_BOILERPLATE
 _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=yes
 CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_TAGVAR(LD, $1)="$LD"
@@ -6909,6 +7468,8 @@ _LT_CC_BASENAME([$compiler])
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 
 ## CAVEAT EMPTOR:
 ## There is no encapsulation within the following macros, do not change
@@ -6928,10 +7489,82 @@ fi
 AC_LANG_RESTORE
 
 GCC=$lt_save_GCC
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GCJ_CONFIG
 
 
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+  _LT_COMPILER_NO_RTTI($1)
+  _LT_COMPILER_PIC($1)
+  _LT_COMPILER_C_O($1)
+  _LT_COMPILER_FILE_LOCKS($1)
+  _LT_LINKER_SHLIBS($1)
+  _LT_LINKER_HARDCODE_LIBPATH($1)
+
+  _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
 # _LT_LANG_RC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for the Windows resource compiler
@@ -6963,9 +7596,11 @@ _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=
 CC=${RC-"windres"}
+CFLAGS=
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_CC_BASENAME([$compiler])
@@ -6978,7 +7613,8 @@ fi
 
 GCC=$lt_save_GCC
 AC_LANG_RESTORE
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_RC_CONFIG
 
 
@@ -6998,6 +7634,13 @@ dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
 
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
 # LT_PROG_RC
 # ----------
 AC_DEFUN([LT_PROG_RC],
@@ -7037,6 +7680,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 AC_SUBST([OBJDUMP])
 ])
 
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
 
 # _LT_DECL_SED
 # ------------
@@ -7130,8 +7782,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
 # Try some XSI features
 xsi_shell=no
 ( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,, \
+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+      = c,a/b,b/c, \
     && eval 'test $(( 1 + 1 )) -eq 2 \
     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   && xsi_shell=yes
@@ -7170,208 +7822,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 ])# _LT_CHECK_SHELL_FEATURES
 
 
-# _LT_PROG_XSI_SHELLFNS
-# ---------------------
-# Bourne and XSI compatible variants of some useful shell functions.
-m4_defun([_LT_PROG_XSI_SHELLFNS],
-[case $xsi_shell in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result="${1##*/}"
-}
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-func_stripname ()
-{
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
-  esac
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $[*] ))
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=${#1}
-}
+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
+# ------------------------------------------------------
+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
+m4_defun([_LT_PROG_FUNCTION_REPLACE],
+[dnl {
+sed -e '/^$1 ()$/,/^} # $1 /c\
+$1 ()\
+{\
+m4_bpatsubsts([$2], [$], [\\], [^\([    ]\)], [\\\1])
+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+])
 
-_LT_EOF
-    ;;
-  *) # Bourne compatible functions.
-    cat << \_LT_EOF >> "$cfgfile"
 
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-}
+# _LT_PROG_REPLACE_SHELLFNS
+# -------------------------
+# Replace existing portable implementations of several shell functions with
+# equivalent extended shell implementations where those features are available..
+m4_defun([_LT_PROG_REPLACE_SHELLFNS],
+[if test x"$xsi_shell" = xyes; then
+  _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac])
+
+  _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
+    func_basename_result="${1##*/}"])
+
+  _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac
+    func_basename_result="${1##*/}"])
 
-# func_basename file
-func_basename ()
-{
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
+    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+    # positional parameters, so assign one to ordinary parameter first.
+    func_stripname_result=${3}
+    func_stripname_result=${func_stripname_result#"${1}"}
+    func_stripname_result=${func_stripname_result%"${2}"}])
 
-dnl func_dirname_and_basename
-dnl A portable version of this function is already defined in general.m4sh
-dnl so there is no need for it here.
+  _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
+    func_split_long_opt_name=${1%%=*}
+    func_split_long_opt_arg=${1#*=}])
 
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-  case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
-  esac
-}
+  _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
+    func_split_short_opt_arg=${1#??}
+    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
 
-# sed scripts:
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
-my_sed_long_arg='1s/^-[[^=]]*=//'
+  _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
+    case ${1} in
+      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+      *)    func_lo2o_result=${1} ;;
+    esac])
 
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])
 
-# func_lo2o object
-func_lo2o ()
-{
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])
 
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])
+fi
 
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=`expr "$[@]"`
-}
+if test x"$lt_shell_append" = xyes; then
+  _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])
 
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
+    func_quote_for_eval "${2}"
+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
+    eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
 
-_LT_EOF
-esac
+  # Save a `func_append' function call where possible by direct use of '+='
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+else
+  # Save a `func_append' function call even when '+=' is not available
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+fi
 
-case $lt_shell_append in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
+if test x"$_lt_function_replace_fail" = x":"; then
+  AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
+fi
+])
 
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]+=\$[2]"
-}
-_LT_EOF
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine which file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+        ;;
+    esac
     ;;
-  *)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]=\$$[1]\$[2]"
-}
-
-_LT_EOF
+  *-*-cygwin* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_noop
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+        ;;
+    esac
     ;;
-  esac
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_host_file_cmd=func_convert_file_noop
+    ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+         [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+        ;;
+    esac
+    ;;
+esac
 ])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+         [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
index 34151a3..5d9acd8 100644 (file)
@@ -1,13 +1,14 @@
 # Helper functions for option handling.                    -*- Autoconf -*-
 #
-#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+#   Inc.
 #   Written by Gary V. Vaughan, 2004
 #
 # This file is free software; the Free Software Foundation gives
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 6 ltoptions.m4
+# serial 7 ltoptions.m4
 
 # This is to help aclocal find these macros, as it can't see m4_define.
 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
@@ -125,7 +126,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 [enable_win32_dll=yes
 
 case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   AC_CHECK_TOOL(AS, as, false)
   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   AC_CHECK_TOOL(OBJDUMP, objdump, false)
@@ -133,13 +134,13 @@ case $host in
 esac
 
 test -z "$AS" && AS=as
-_LT_DECL([], [AS],      [0], [Assembler program])dnl
+_LT_DECL([], [AS],      [1], [Assembler program])dnl
 
 test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
 
 test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
 ])# win32-dll
 
 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
@@ -325,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 m4_define([_LT_WITH_PIC],
 [AC_ARG_WITH([pic],
-    [AS_HELP_STRING([--with-pic],
+    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
-    [pic_mode="$withval"],
+    [lt_p=${PACKAGE-default}
+    case $withval in
+    yes|no) pic_mode=$withval ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for lt_pkg in $withval; do
+       IFS="$lt_save_ifs"
+       if test "X$lt_pkg" = "X$lt_p"; then
+         pic_mode=yes
+       fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac],
     [pic_mode=default])
 
 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
index f3c5309..07a8602 100644 (file)
@@ -7,17 +7,17 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# Generated from ltversion.in.
+# @configure_input@
 
-# serial 3017 ltversion.m4
+# serial 3337 ltversion.m4
 # This file is part of GNU Libtool
 
-m4_define([LT_PACKAGE_VERSION], [2.2.6b])
-m4_define([LT_PACKAGE_REVISION], [1.3017])
+m4_define([LT_PACKAGE_VERSION], [2.4.2])
+m4_define([LT_PACKAGE_REVISION], [1.3337])
 
 AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.2.6b'
-macro_revision='1.3017'
+[macro_version='2.4.2'
+macro_revision='1.3337'
 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 _LT_DECL(, macro_revision, 0)
 ])
index 637bb20..c573da9 100644 (file)
@@ -1,13 +1,13 @@
 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 #
-#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
 #   Written by Scott James Remnant, 2004.
 #
 # This file is free software; the Free Software Foundation gives
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 4 lt~obsolete.m4
+# serial 5 lt~obsolete.m4
 
 # These exist entirely to fool aclocal when bootstrapping libtool.
 #
@@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL],  [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
 m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
 m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
-m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
@@ -90,3 +89,10 @@ m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],       [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
 m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],        [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP],                [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],        [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH],   [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77],              [AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC],               [AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX],              [AC_DEFUN([_LT_PROG_CXX])])
diff --git a/missing b/missing
index 28055d2..86a8fc3 100755 (executable)
--- a/missing
+++ b/missing
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@ Supported PROGRAM values:
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@ case $1 in
     # Not GNU programs, they don't have --version.
     ;;
 
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
@@ -226,7 +216,7 @@ WARNING: \`$1' $msg.  You should only need it if
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@ WARNING: \`$1' is $msg.  You should only need it if
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     touch $file
     ;;
 
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-       case $firstarg in
-       *o*)
-           firstarg=`echo "$firstarg" | sed s/o//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-       case $firstarg in
-       *h*)
-           firstarg=`echo "$firstarg" | sed s/h//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.
index cc8a222..06a8cfe 100644 (file)
@@ -49,8 +49,8 @@ MSGFMT = @MSGFMT@
 XGETTEXT = @XGETTEXT@
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
-MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
-GENPOT   = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
+MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
+GENPOT   = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
 
 ALL_LINGUAS = @ALL_LINGUAS@
 
@@ -73,15 +73,20 @@ CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$l
 .SUFFIXES:
 .SUFFIXES: .po .pox .gmo .mo .msg .cat
 
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V))
+INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
+INTLTOOL__v_MSGFMT_0 = @echo "  MSGFMT" $@;
+
 .po.pox:
        $(MAKE) $(GETTEXT_PACKAGE).pot
        $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
 
 .po.mo:
-       $(MSGFMT) -o $@ $<
+       $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
 
 .po.gmo:
-       file=`echo $* | sed 's,.*/,,'`.gmo \
+       $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) -o $$file $<
 
 .po.cat:
index c6f665f..c07c903 100644 (file)
@@ -50,10 +50,10 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
     setStartSyncKey(lastToken);
     if (lastToken.empty()) {
         // slow sync: wipe out cached list of IDs, will be filled anew below
-        SE_LOG_DEBUG(this, NULL, "sync key empty, starting slow sync");
+        SE_LOG_DEBUG(getDisplayName(), "sync key empty, starting slow sync");
         m_trackingNode->clear();
     } else {
-        SE_LOG_DEBUG(this, NULL, "sync key %s, starting incremental sync", lastToken.c_str());
+        SE_LOG_DEBUG(getDisplayName(), "sync key %s, starting incremental sync", lastToken.c_str());
 
         // re-populate cache from storage, without any item data
         ConfigProps props;
@@ -87,7 +87,7 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
                 }
             }
             if (!okay) {
-                SE_LOG_DEBUG(this, NULL, "unsupported or corrupt revision entry: %s = %s",
+                SE_LOG_DEBUG(getDisplayName(), "unsupported or corrupt revision entry: %s = %s",
                              easid.c_str(),
                              value.c_str());
             }
@@ -150,13 +150,13 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
             if (easid.empty()) {
                 throwError("empty server ID for new eas item");
             }
-            SE_LOG_DEBUG(this, NULL, "new eas item %s", easid.c_str());
+            SE_LOG_DEBUG(getDisplayName(), "new eas item %s", easid.c_str());
             if (!item->data) {
                 throwError(StringPrintf("no body returned for new eas item %s", easid.c_str()));
             }
             Event &event = setItemData(easid, item->data);
             BOOST_FOREACH(const std::string &subid, event.m_subids) {
-                SE_LOG_DEBUG(this, NULL, "new eas item %s = uid %s + rid %s",
+                SE_LOG_DEBUG(getDisplayName(), "new eas item %s = uid %s + rid %s",
                              easid.c_str(), event.m_uid.c_str(), subid.c_str());
                 addItem(createLUID(easid, subid), NEW);
             }
@@ -169,13 +169,13 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
             if (easid.empty()) {
                 throwError("empty server ID for updated eas item");
             }
-            SE_LOG_DEBUG(this, NULL, "updated eas item %s", easid.c_str());
+            SE_LOG_DEBUG(getDisplayName(), "updated eas item %s", easid.c_str());
             if (!item->data) {
                 throwError(StringPrintf("no body returned for updated eas item %s", easid.c_str()));
             }
             Event &event = setItemData(easid, item->data);
             BOOST_FOREACH(const std::string &subid, event.m_subids) {
-                SE_LOG_DEBUG(this, NULL, "deleted eas item %s = uid %s + rid %s",
+                SE_LOG_DEBUG(getDisplayName(), "deleted eas item %s = uid %s + rid %s",
                              easid.c_str(), event.m_uid.c_str(), subid.c_str());
                 addItem(createLUID(easid, subid), UPDATED);
             }
@@ -190,10 +190,10 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
             }
             Event &event = findItem(easid);
             if (event.m_subids.empty()) {
-                SE_LOG_DEBUG(this, NULL, "deleted eas item %s empty?!", easid.c_str());
+                SE_LOG_DEBUG(getDisplayName(), "deleted eas item %s empty?!", easid.c_str());
             } else {
                 BOOST_FOREACH(const std::string &subid, event.m_subids) {
-                    SE_LOG_DEBUG(this, NULL, "deleted eas item %s = uid %s + rid %s",
+                    SE_LOG_DEBUG(getDisplayName(), "deleted eas item %s = uid %s + rid %s",
                                  easid.c_str(), event.m_uid.c_str(), subid.c_str());
                     addItem(createLUID(easid, subid), DELETED);
                 }
@@ -222,7 +222,7 @@ void ActiveSyncCalendarSource::beginSync(const std::string &lastToken, const std
         const std::string &easid = entry.first;
         const boost::shared_ptr<Event> &eventptr = entry.second;
         BOOST_FOREACH(const std::string &subid, eventptr->m_subids) {
-            SE_LOG_DEBUG(this, NULL, "existing eas item %s = uid %s + rid %s",
+            SE_LOG_DEBUG(getDisplayName(), "existing eas item %s = uid %s + rid %s",
                          easid.c_str(), eventptr->m_uid.c_str(), subid.c_str());
             addItem(createLUID(easid, subid), ANY);
         }
@@ -253,7 +253,7 @@ std::string ActiveSyncCalendarSource::endSync(bool success)
     m_trackingNode->flush();
 
     std::string newSyncKey = getCurrentSyncKey();
-    SE_LOG_DEBUG(this, NULL, "next sync key %s", newSyncKey.empty() ? "empty" : newSyncKey.c_str());
+    SE_LOG_DEBUG(getDisplayName(), "next sync key %s", newSyncKey.empty() ? "empty" : newSyncKey.c_str());
     return newSyncKey;
 }
 
index d48e119..73966e3 100644 (file)
@@ -193,7 +193,7 @@ void ActiveSyncSource::open()
     // extract account ID and throw error if missing
     std::string username = m_context->getSyncUsername();
     std::string folder = getDatabaseID();
-    SE_LOG_DEBUG(NULL, NULL,
+    SE_LOG_DEBUG(NULL,
                  "using eas sync account %s from config %s with folder %s",
                  username.c_str(),
                  m_context->getConfigName().c_str(),
@@ -241,10 +241,10 @@ void ActiveSyncSource::beginSync(const std::string &lastToken, const std::string
     m_startSyncKey = lastToken;
     if (lastToken.empty()) {
         // slow sync: wipe out cached list of IDs, will be filled anew below
-        SE_LOG_DEBUG(this, NULL, "sync key empty, starting slow sync");
+        SE_LOG_DEBUG(getDisplayName(), "sync key empty, starting slow sync");
         m_ids->clear();
     } else {
-        SE_LOG_DEBUG(this, NULL, "sync key %s for account '%s' folder '%s', starting incremental sync",
+        SE_LOG_DEBUG(getDisplayName(), "sync key %s for account '%s' folder '%s', starting incremental sync",
                      lastToken.c_str(),
                      m_account.c_str(),
                      m_folder.c_str());
@@ -305,7 +305,7 @@ void ActiveSyncSource::beginSync(const std::string &lastToken, const std::string
             if (luid.empty()) {
                 throwError("empty server ID for new eas item");
             }
-            SE_LOG_DEBUG(this, NULL, "new item %s", luid.c_str());
+            SE_LOG_DEBUG(getDisplayName(), "new item %s", luid.c_str());
             addItem(luid, NEW);
             m_ids->setProperty(luid, "1");
             if (!item->data) {
@@ -321,7 +321,7 @@ void ActiveSyncSource::beginSync(const std::string &lastToken, const std::string
             if (luid.empty()) {
                 throwError("empty server ID for updated eas item");
             }
-            SE_LOG_DEBUG(this, NULL, "updated item %s", luid.c_str());
+            SE_LOG_DEBUG(getDisplayName(), "updated item %s", luid.c_str());
             addItem(luid, UPDATED);
             // m_ids.setProperty(luid, "1"); not necessary, should already exist (TODO: check?!)
             if (!item->data) {
@@ -337,7 +337,7 @@ void ActiveSyncSource::beginSync(const std::string &lastToken, const std::string
             if (luid.empty()) {
                 throwError("empty server ID for deleted eas item");
             }
-            SE_LOG_DEBUG(this, NULL, "deleted item %s", luid.c_str());
+            SE_LOG_DEBUG(getDisplayName(), "deleted item %s", luid.c_str());
             addItem(luid, DELETED);
             m_ids->removeProperty(luid);
         }
@@ -363,7 +363,7 @@ void ActiveSyncSource::beginSync(const std::string &lastToken, const std::string
     m_ids->readProperties(props);
     BOOST_FOREACH(const StringPair &entry, props) {
         const std::string &luid = entry.first;
-        SE_LOG_DEBUG(this, NULL, "existing item %s", luid.c_str());
+        SE_LOG_DEBUG(getDisplayName(), "existing item %s", luid.c_str());
         addItem(luid, ANY);
     }
 
@@ -386,7 +386,7 @@ std::string ActiveSyncSource::endSync(bool success)
     // let engine do incremental sync next time or start from scratch
     // in case of failure
     std::string newSyncKey = success ? m_currentSyncKey : "";
-    SE_LOG_DEBUG(this, NULL, "next sync key %s", newSyncKey.empty() ? "empty" : newSyncKey.c_str());
+    SE_LOG_DEBUG(getDisplayName(), "next sync key %s", newSyncKey.empty() ? "empty" : newSyncKey.c_str());
     return newSyncKey;
 }
 
index 13e2b2a..4036fed 100644 (file)
@@ -204,7 +204,7 @@ static TestingSyncSource *createEASSource(const ClientTestConfig::createsource_t
         return res.release();
     } else {
         // sorry, no database
-        SE_LOG_ERROR(NULL, NULL, "cannot create EAS source for database %s, check config",
+        SE_LOG_ERROR(NULL, "cannot create EAS source for database %s, check config",
                      res->getDatabaseID().c_str());
         return NULL;
     }
index d43bc97..2ec7295 100644 (file)
@@ -1230,7 +1230,7 @@ void AddressBookSource::listAllItems(RevisionMap_t &revisions)
 void AddressBookSource::close()
 {
     if (m_addressbook && !hasFailed()) {
-        SE_LOG_DEBUG(this, NULL, "flushing address book");
+        SE_LOG_DEBUG(getDisplayName(), "flushing address book");
         // store changes persistently
         if (!ABSave(m_addressbook)) {
             throwError("saving address book");
@@ -1241,7 +1241,7 @@ void AddressBookSource::close()
         // sleep a bit before returning control
         sleep(2);
 
-        SE_LOG_DEBUG(this, NULL, "done with address book");
+        SE_LOG_DEBUG(getDisplayName(), "done with address book");
     }
     
     m_addressbook = NULL;
@@ -1272,7 +1272,7 @@ SyncItem *AddressBookSource::createItem(const string &uid, bool asVCard30)
 
 #ifdef USE_ADDRESS_BOOK_VCARD
     ref<CFDataRef> vcard(ABPersonCopyVCardRepresentation(person), "vcard");
-    SE_LOG_DEBUG(this, NULL, "%*s", (int)CFDataGetLength(vcard), (const char *)CFDataGetBytePtr(vcard));
+    SE_LOG_DEBUG(getDisplayName(), "%*s", (int)CFDataGetLength(vcard), (const char *)CFDataGetBytePtr(vcard));
     item->setData(CFDataGetBytePtr(vcard), CFDataGetLength(vcard));
 #else
     string vcard;
@@ -1319,7 +1319,7 @@ AddressBookSource::InsertItemResult AddressBookSource::insertItem(const string &
         person.set(PersonCreateWrapper(m_addressbook), "contact");
     }
     try {
-        SE_LOG_DEBUG(this, NULL, "storing vCard for %s:\n%s",
+        SE_LOG_DEBUG(getDisplayName(), "storing vCard for %s:\n%s",
                   update ? luid.c_str() : "new contact",
                   data.c_str());
         vCard2ABPerson converter(data, person);
@@ -1367,7 +1367,7 @@ void AddressBookSource::deleteItem(const string &uid)
             throwError(string("deleting contact ") + uid);
         }
     } else {
-        SE_LOG_DEBUG(this, NULL, "%s: %s: request to delete non-existant contact ignored",
+        SE_LOG_DEBUG(getDisplayName(), "%s: %s: request to delete non-existant contact ignored",
                   getName(), uid.c_str());
     }
 }
@@ -1405,7 +1405,7 @@ void AddressBookSource::logItem(const string &uid, const string &info, bool debu
         line += "): ";
         line += info;
         
-        SE_LOG(debug ? Logger::DEBUG : Logger::INFO, this, NULL, "%s", line.c_str() );
+        SE_LOG(getDisplayName(), debug ? Logger::DEBUG : Logger::INFO, "%s", line.c_str() );
     }
 }
 
@@ -1465,7 +1465,7 @@ void AddressBookSource::logItem(const SyncItem &item, const string &info, bool d
         line += ": ";
         line += info;
         
-        SE_LOG(debug ? Logger::DEBUG : Logger::INFO, this, NULL, "%s", line.c_str() );
+        SE_LOG(getDisplayName(), debug ? Logger::DEBUG : Logger::INFO, "%s", line.c_str() );
     }
 }
 
index 2cd06f3..6a676a3 100644 (file)
 SE_BEGIN_CXX
 using namespace Akonadi;
 
+/**
+ * We take over ownership of jobs by storing them in smart pointers
+ * (RAII).  This is how SyncEvolution does things and more predictable
+ * than assuming that a future exec() call will auto-delete them as
+ * part of its event processing.
+ *
+ * To avoid double frees, we need to disable auto-deletion.
+ * This method does that. Use like this:
+ * std::auto_ptr<CollectionStatisticsJob> statisticsJob(DisableAutoDelete(new CollectionStatisticsJob(m_collection)));
+ */
+template<class J> J *DisableAutoDelete(J *job) { job->setAutoDelete(false); return job; }
+
 AkonadiSyncSource::AkonadiSyncSource(const char *submime,
                                      const SyncSourceParams &params)
     : TrackingSyncSource(params)
@@ -56,7 +68,7 @@ AkonadiSyncSource::~AkonadiSyncSource()
 bool AkonadiSyncSource::isEmpty()
 {
     //To Check if the respective collection is Empty, without actually loading the collections
-    CollectionStatisticsJob *statisticsJob = new CollectionStatisticsJob(m_collection);
+    std::auto_ptr<CollectionStatisticsJob> statisticsJob(DisableAutoDelete(new CollectionStatisticsJob(m_collection)));
     if (!statisticsJob->exec()) {
         throwError("Error fetching the collection stats");
     }
@@ -74,7 +86,7 @@ void AkonadiSyncSource::start()
         // Starting it here also produces output that we don't want mixed
         // into normal SyncEvolution command line output.
 #if 0
-        SE_LOG_DEBUG(NULL, NULL, "Akonadi Server isn't running, and hence starting it.");
+        SE_LOG_DEBUG(NULL, "Akonadi Server isn't running, and hence starting it.");
         if (!Akonadi::Control::start()) {
             SE_THROW("Couldn't Start Akonadi Server: hence the akonadi backend of syncevolution wont work ..");
         }
@@ -96,8 +108,8 @@ SyncSource::Databases AkonadiSyncSource::getDatabases()
     // as the default one used by the source.
     // res.push_back("Contacts", "some-KDE-specific-ID", isDefault);
 
-    CollectionFetchJob *fetchJob = new CollectionFetchJob(Collection::root(),
-                                                          CollectionFetchJob::Recursive);
+    std::auto_ptr<CollectionFetchJob> fetchJob(DisableAutoDelete(new CollectionFetchJob(Collection::root(),
+                                                                                        CollectionFetchJob::Recursive)));
 
     fetchJob->fetchScope().setContentMimeTypes(mimeTypes);
 
@@ -141,7 +153,7 @@ void AkonadiSyncSource::open()
                 SE_THROW("need two Akonadi resources for testing");
             }
             id = databases[index].m_uri;
-            SE_LOG_DEBUG(NULL, NULL, "testing Akonadi with %s", id.c_str());
+            SE_LOG_DEBUG(NULL, "testing Akonadi with %s", id.c_str());
         }
     }
 
@@ -156,7 +168,7 @@ void AkonadiSyncSource::open()
 void AkonadiSyncSource::listAllItems(SyncSourceRevisions::RevisionMap_t &revisions)
 {
     // copy all local IDs and the corresponding revision
-    ItemFetchJob *fetchJob = new ItemFetchJob(m_collection);
+    std::auto_ptr<ItemFetchJob> fetchJob(DisableAutoDelete(new ItemFetchJob(m_collection)));
 
     if (!fetchJob->exec()) {
         throwError("listing items");
@@ -183,7 +195,7 @@ TrackingSyncSource::InsertItemResult AkonadiSyncSource::insertItem(const std::st
     if (luid.empty()) {
         item.setMimeType(m_subMime.c_str());
         item.setPayloadFromData(QByteArray(data.c_str()));
-        ItemCreateJob *createJob = new ItemCreateJob(item, m_collection);
+        std::auto_ptr<ItemCreateJob> createJob(DisableAutoDelete(new ItemCreateJob(item, m_collection)));
         if (!createJob->exec()) {
             throwError(string("storing new item ") + luid);
             return InsertItemResult("", "", ITEM_OKAY);
@@ -191,13 +203,13 @@ TrackingSyncSource::InsertItemResult AkonadiSyncSource::insertItem(const std::st
         item = createJob->item();
     } else {
         Entity::Id syncItemId = QByteArray(luid.c_str()).toLongLong();
-        ItemFetchJob *fetchJob = new ItemFetchJob(Item(syncItemId));
+        std::auto_ptr<ItemFetchJob> fetchJob(DisableAutoDelete(new ItemFetchJob(Item(syncItemId))));
         if (!fetchJob->exec()) {
             throwError(string("checking item ") + luid);
         }
         item = fetchJob->items().first();
         item.setPayloadFromData(QByteArray(data.c_str()));
-        ItemModifyJob *modifyJob = new ItemModifyJob(item);
+        std::auto_ptr<ItemModifyJob> modifyJob(DisableAutoDelete(new ItemModifyJob(item)));
         // TODO: SyncEvolution must pass the known revision that
         // we are updating.
         // TODO: check that the item has not been updated in the meantime
@@ -222,7 +234,7 @@ void AkonadiSyncSource::removeItem(const string &luid)
 
     // Delete the item from our collection
     // TODO: check that the revision is right (need revision from SyncEvolution)
-    ItemDeleteJob *deleteJob = new ItemDeleteJob(Item(syncItemId));
+    std::auto_ptr<ItemDeleteJob> deleteJob(DisableAutoDelete(new ItemDeleteJob(Item(syncItemId))));
     if (!deleteJob->exec()) {
         throwError(string("deleting item " ) + luid);
     }
@@ -232,7 +244,7 @@ void AkonadiSyncSource::readItem(const std::string &luid, std::string &data, boo
 {
     Entity::Id syncItemId = QByteArray(luid.c_str()).toLongLong();
 
-    ItemFetchJob *fetchJob = new ItemFetchJob(Item(syncItemId));
+    std::auto_ptr<ItemFetchJob> fetchJob(DisableAutoDelete(new ItemFetchJob(Item(syncItemId))));
     fetchJob->fetchScope().fetchFullPayload();
     if (fetchJob->exec()) {
         if (fetchJob->items().empty()) {
index 5c11ff9..6e88188 100644 (file)
@@ -128,7 +128,7 @@ class AkonadiTaskSource : public AkonadiSyncSource
 {
 public:
     AkonadiTaskSource(const SyncSourceParams &params)
-        : AkonadiSyncSource("text/calendar", params)
+        : AkonadiSyncSource("application/x-vnd.akonadi.calendar.todo", params)
     {
     }
 
index b10e8c1..cb01eb4 100644 (file)
@@ -156,7 +156,7 @@ SyncSource::Databases EvolutionCalendarSource::getDatabases()
             throwError("unable to access backend databases", gerror);
         }
     }
-    ESourceListCXX sources(tmp, false);
+    ESourceListCXX sources(tmp, TRANSFER_REF);
     bool first = true;
     for (GSList *g = sources ? e_source_list_peek_groups (sources) : NULL;
          g;
@@ -197,7 +197,7 @@ char *EvolutionCalendarSource::authenticate(const char *prompt,
 {
     std::string passwd = getPassword();
 
-    SE_LOG_DEBUG(this, NULL, "authentication requested, prompt \"%s\", key \"%s\" => %s",
+    SE_LOG_DEBUG(getDisplayName(), "authentication requested, prompt \"%s\", key \"%s\" => %s",
                  prompt, key,
                  !passwd.empty() ? "returning configured password" : "no password configured");
     return !passwd.empty() ? strdup(passwd.c_str()) : NULL;
@@ -240,7 +240,7 @@ void EvolutionCalendarSource::open()
     if (!e_cal_get_sources(&tmp, sourceType(), gerror)) {
         throwError("unable to access backend databases", gerror);
     }
-    ESourceListCXX sources(tmp, false);
+    ESourceListCXX sources(tmp, TRANSFER_REF);
 
     string id = getDatabaseID();    
     ESource *source = findSource(sources, id);
@@ -430,7 +430,7 @@ void EvolutionCalendarSource::listAllItems(RevisionMap_t &revisions)
 
 void EvolutionCalendarSource::close()
 {
-    m_calendar = NULL;
+    m_calendar.reset();
 }
 
 void EvolutionCalendarSource::readItem(const string &luid, std::string &item, bool raw)
@@ -501,7 +501,7 @@ EvolutionCalendarSource::InsertItemResult EvolutionCalendarSource::insertItem(co
         propstart = data.find("\nCATEGORIES", propstart + 1);
     }
     if (modified) {
-        SE_LOG_DEBUG(this, NULL, "after replacing , with \\, in CATEGORIES:\n%s", data.c_str());
+        SE_LOG_DEBUG(getDisplayName(), "after replacing , with \\, in CATEGORIES:\n%s", data.c_str());
     }
 
     eptr<icalcomponent> icomp(icalcomponent_new_from_string((char *)data.c_str()));
@@ -545,7 +545,7 @@ EvolutionCalendarSource::InsertItemResult EvolutionCalendarSource::insertItem(co
         const char *tzid = icaltimezone_get_tzid(zone);
         if (!tzid || !tzid[0]) {
             // cannot add a VTIMEZONE without TZID
-            SE_LOG_DEBUG(this, NULL, "skipping VTIMEZONE without TZID");
+            SE_LOG_DEBUG(getDisplayName(), "skipping VTIMEZONE without TZID");
         } else {
             gboolean success =
 #ifdef USE_EDS_CLIENT
@@ -819,7 +819,7 @@ EvolutionCalendarSource::ICalComps_t EvolutionCalendarSource::removeEvents(const
 
     // removes all events with that UID, including children
     GErrorCXX gerror;
-    if (
+    if (!uid.empty() && // e_cal_client_remove_object_sync() in EDS 3.8 aborts the process for empty UID, other versions cannot succeed, so skip the call.
 #ifdef USE_EDS_CLIENT
         !e_cal_client_remove_object_sync(m_calendar,
                                          uid.c_str(), NULL, CALOBJ_MOD_ALL,
@@ -832,7 +832,7 @@ EvolutionCalendarSource::ICalComps_t EvolutionCalendarSource::removeEvents(const
 #endif
         ) {
         if (IsCalObjNotFound(gerror)) {
-            SE_LOG_DEBUG(this, NULL, "%s: request to delete non-existant item ignored",
+            SE_LOG_DEBUG(getDisplayName(), "%s: request to delete non-existant item ignored",
                          uid.c_str());
             if (!ignoreNotFound) {
                 throwError(STATUS_NOT_FOUND, string("delete item: ") + uid);
@@ -858,7 +858,7 @@ void EvolutionCalendarSource::removeItem(const string &luid)
          * remove all items with the given uid and if we only wanted to
          * delete the parent, then recreate the children.
          */
-        ICalComps_t children = removeEvents(id.m_uid, true, false);
+        ICalComps_t children = removeEvents(id.m_uid, true, TRANSFER_REF);
 
         // recreate children
         bool first = true;
@@ -920,7 +920,7 @@ void EvolutionCalendarSource::removeItem(const string &luid)
             ;
         if (!item ||
             (!success && IsCalObjNotFound(gerror))) {
-            SE_LOG_DEBUG(this, NULL, "%s: request to delete non-existant item",
+            SE_LOG_DEBUG(getDisplayName(), "%s: request to delete non-existant item",
                          luid.c_str());
             throwError(STATUS_NOT_FOUND, string("delete item: ") + id.getLUID());
         } else if (!success) {
@@ -1034,7 +1034,7 @@ string EvolutionCalendarSource::retrieveItemAsString(const ItemID &id)
         if (!icalstr) {
             throwError(string("could not encode item as iCalendar: ") + id.getLUID());
         } else {
-            SE_LOG_DEBUG(this, NULL, "had to remove TZIDs because e_cal_get_component_as_string() failed for:\n%s", icalstr.get());
+            SE_LOG_DEBUG(getDisplayName(), "had to remove TZIDs because e_cal_get_component_as_string() failed for:\n%s", icalstr.get());
        }
     }
 
@@ -1066,7 +1066,7 @@ string EvolutionCalendarSource::retrieveItemAsString(const ItemID &id)
         propstart = data.find("\nCATEGORIES", propstart + 1);
     }
     if (modified) {
-        SE_LOG_DEBUG(this, NULL, "after replacing \\, with , in CATEGORIES:\n%s", data.c_str());
+        SE_LOG_DEBUG(getDisplayName(), "after replacing \\, with , in CATEGORIES:\n%s", data.c_str());
     }
     
     return data;
index 8107b00..6fcfdf5 100644 (file)
@@ -177,6 +177,14 @@ class EvolutionCalendarSource : public EvolutionSyncSource,
             m_type == EVOLUTION_CAL_SOURCE_TYPE_MEMOS ? E_SOURCE_EXTENSION_MEMO_LIST :
             "";
     }
+    virtual ESourceCXX refSystemDB() const {
+        ESource *(*ref)(ESourceRegistry *) =
+            m_type == EVOLUTION_CAL_SOURCE_TYPE_EVENTS ? e_source_registry_ref_builtin_calendar :
+            m_type == EVOLUTION_CAL_SOURCE_TYPE_TASKS ? e_source_registry_ref_builtin_task_list :
+            m_type == EVOLUTION_CAL_SOURCE_TYPE_MEMOS ? e_source_registry_ref_builtin_memo_list :
+            NULL;
+        return ESourceCXX(ref ? ref(EDSRegistryLoader::getESourceRegistry()) : NULL, TRANSFER_REF);
+    }
 #else
     ECalSourceType sourceType() const {
         return (ECalSourceType)m_type;
index cac9a22..ea23d61 100644 (file)
@@ -177,7 +177,7 @@ void EvolutionContactSource::open()
     if (!e_book_get_addressbooks(&tmp, gerror)) {
         throwError("unable to access address books", gerror);
     }
-    ESourceListCXX sources(tmp, false);
+    ESourceListCXX sources(tmp, TRANSFER_REF);
 
     string id = getDatabaseID();
     ESource *source = findSource(sources, id);
@@ -222,7 +222,7 @@ void EvolutionContactSource::open()
         }
         while (authmethod) {
             const char *method = (const char *)authmethod->data;
-            SE_LOG_DEBUG(this, NULL, "trying authentication method \"%s\", user %s, password %s",
+            SE_LOG_DEBUG(getDisplayName(), "trying authentication method \"%s\", user %s, password %s",
                          method,
                          !user.empty() ? "configured" : "not configured",
                          !passwd.empty() ? "configured" : "not configured");
@@ -231,10 +231,10 @@ void EvolutionContactSource::open()
                                          passwd.c_str(),
                                          method,
                                          gerror)) {
-                SE_LOG_DEBUG(this, NULL, "authentication succeeded");
+                SE_LOG_DEBUG(getDisplayName(), "authentication succeeded");
                 break;
             } else {
-                SE_LOG_ERROR(this, NULL, "authentication failed: %s", gerror->message);
+                SE_LOG_ERROR(getDisplayName(), "authentication failed: %s", gerror->message);
             }
             authmethod = authmethod->next;
         }
@@ -347,7 +347,7 @@ void EvolutionContactSource::listAllItems(RevisionMap_t &revisions)
     GErrorCXX gerror;
     EBookClientView *view;
 
-    EBookQueryCXX allItemsQuery(e_book_query_any_field_contains(""), false);
+    EBookQueryCXX allItemsQuery(e_book_query_any_field_contains(""), TRANSFER_REF);
     PlainGStr sexp(e_book_query_to_string (allItemsQuery.get()));
     
     if (!e_book_client_get_view_sync(m_addressbook, sexp, &view, NULL, gerror)) {
@@ -361,7 +361,7 @@ void EvolutionContactSource::listAllItems(RevisionMap_t &revisions)
     interesting_field_list.push_back(e_contact_field_name (E_CONTACT_REV));
     e_book_client_view_set_fields_of_interest (viewPtr, interesting_field_list, gerror);
     if (gerror) {
-        SE_LOG_ERROR(this, NULL, "e_book_client_view_set_fields_of_interest: %s", (const char*)gerror);
+        SE_LOG_ERROR(getDisplayName(), "e_book_client_view_set_fields_of_interest: %s", (const char*)gerror);
         gerror.clear();
     }
 
@@ -403,7 +403,7 @@ void EvolutionContactSource::listAllItems(RevisionMap_t &revisions)
 
 void EvolutionContactSource::close()
 {
-    m_addressbook = NULL;
+    m_addressbook.reset();
 }
 
 string EvolutionContactSource::getRevision(const string &luid)
index 9ba700a..d23809e 100644 (file)
@@ -88,6 +88,7 @@ class EvolutionContactSource : public EvolutionSyncSource,
 
 #ifdef USE_EDS_CLIENT
     virtual const char *sourceExtension() const { return E_SOURCE_EXTENSION_ADDRESS_BOOK; }
+    virtual ESourceCXX refSystemDB() const { return ESourceCXX(e_source_registry_ref_builtin_address_book(EDSRegistryLoader::getESourceRegistry()), TRANSFER_REF); }
 #endif
 
   private:
index c22d3e9..b8c74e4 100644 (file)
 #include "EvolutionSyncSource.h"
 #include <syncevo/SmartPtr.h>
 #include <syncevo/SyncContext.h>
+#include <syncevo/GLibSupport.h>
+
+#ifdef USE_EDS_CLIENT
+#include <syncevo/GValueSupport.h>
+SE_GLIB_TYPE(GKeyFile, g_key_file)
+#endif
 
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
@@ -36,7 +42,7 @@ void EvolutionSyncSource::getDatabasesFromRegistry(SyncSource::Databases &result
     ESourceRegistryCXX registry = EDSRegistryLoader::getESourceRegistry();
     ESourceListCXX sources(e_source_registry_list_sources(registry, extension));
     ESourceCXX def(refDef ? refDef(registry) : NULL,
-                   false);
+                   TRANSFER_REF);
     BOOST_FOREACH (ESource *source, sources) {
         result.push_back(Database(e_source_get_display_name(source),
                                   e_source_get_uid(source),
@@ -47,7 +53,7 @@ void EvolutionSyncSource::getDatabasesFromRegistry(SyncSource::Databases &result
 static void handleErrorCB(EClient */*client*/, const gchar *error_msg, gpointer user_data)
 {
     EvolutionSyncSource *that = static_cast<EvolutionSyncSource *>(user_data);
-    SE_LOG_ERROR(that, NULL, "%s", error_msg);
+    SE_LOG_ERROR(that->getDisplayName(), "%s", error_msg);
 }
 
 EClientCXX EvolutionSyncSource::openESource(const char *extension,
@@ -64,7 +70,7 @@ EClientCXX EvolutionSyncSource::openESource(const char *extension,
 
     if (!source) {
         if (refBuiltin && (id.empty() || id == "<<system>>")) {
-            ESourceCXX builtin(refBuiltin(registry), false);
+            ESourceCXX builtin(refBuiltin(registry), TRANSFER_REF);
             client = EClientCXX::steal(newClient(builtin, gerror));
             // } else if (!id.compare(0, 7, "file://")) {
                 // TODO: create source
@@ -89,19 +95,25 @@ EClientCXX EvolutionSyncSource::openESource(const char *extension,
                            (void *)"Evolution Data Server has died unexpectedly.");
 
 
-    // Always allow EDS to create the database. "only-if-exists =
-    // true" does not make sense.
-    if (!e_client_open_sync(client, false, NULL, gerror)) {
-        if (created) {
-            // Opening newly created address books often failed in old
-            // EDS releases - try again.
-            gerror.clear();
-            sleep(5);
-            if (!e_client_open_sync(client, false, NULL, gerror)) {
+    while (true) {
+        // Always allow EDS to create the database. "only-if-exists =
+        // true" does not make sense.
+        if (!e_client_open_sync(client, false, NULL, gerror)) {
+            if (gerror && g_error_matches(gerror, E_CLIENT_ERROR, E_CLIENT_ERROR_BUSY)) {
+                gerror.clear();
+                sleep(1);
+            } else if (created) {
+                // Opening newly created address books often failed in
+                // old EDS releases - try again. Probably covered by
+                // more recently added E_CLIENT_ERROR_BUSY check above.
+                gerror.clear();
+                sleep(5);
+            } else {
                 throwError("opening database", gerror);
             }
         } else {
-            throwError("opening database", gerror);
+            // Success!
+            break;
         }
     }
 
@@ -118,62 +130,113 @@ EClientCXX EvolutionSyncSource::openESource(const char *extension,
 
 SyncSource::Database EvolutionSyncSource::createDatabase(const Database &database)
 {
+    // We'll need this later. Create it before doing any real work.
+    ESourceRegistryCXX registry = EDSRegistryLoader::getESourceRegistry();
+
+    // Clone the system DB. This allows the distro to change the
+    // configuration (backend, extensions (= in particular
+    // the contacts DB summary fields)) without having to
+    // modify SyncEvolution.
+    ESourceCXX systemSource = refSystemDB();
+    gsize len;
+    PlainGStr ini(e_source_to_string(systemSource, &len));
+
+    // Modify the entries in the key file directly. We can't
+    // instantiate an ESource (no API for it), copying the values from
+    // the key file into a fresh ESource is difficult (would have to
+    // reimplement EDS internal encoding/decoding), and copying from
+    // systemSource is hard (don't know which extensions it has,
+    // cannot instantiate extensions of unknown types, because
+    // e_source_get_extension() only works for types that were
+    // created).
+    static const char *mainSection = "Data Source";
+    GKeyFileCXX keyfile(g_key_file_new(), TRANSFER_REF);
     GErrorCXX gerror;
-    ESourceCXX source(database.m_uri.empty() ?
-                      e_source_new(NULL, NULL, gerror) :
-                      e_source_new_with_uid(database.m_uri.c_str(),
-                                            NULL, gerror),
-                      false);
-    if (!source) {
-        gerror.throwError("e_source_new()");
+    if (!g_key_file_load_from_data(keyfile, ini, len, G_KEY_FILE_NONE, gerror)) {
+        gerror.throwError("parsing ESource .ini data");
     }
-    e_source_set_enabled(source, true);
-    e_source_set_display_name(source, database.m_name.c_str());
-    e_source_set_parent(source, "local-stub");
+    g_key_file_remove_key(keyfile, mainSection, "DisplayName", NULL); // Removes localized names.
+    g_key_file_set_string(keyfile, mainSection, "DisplayName", database.m_name.c_str());
+    g_key_file_set_boolean(keyfile, mainSection, "Enabled", true);
+    ini = g_key_file_to_data(keyfile, &len, NULL);
+    const char *configDir = g_get_user_config_dir();
+    int fd;
+    std::string filename;
+    std::string uid;
 
+    // Create sources dir. It might have been removed (for example, while
+    // testing) without having been recreated by evolution-source-registry.
+    std::string sourceDir = StringPrintf("%s/evolution/sources",
+                                         configDir);
+    mkdir_p(sourceDir);
 
-    // create extension of the right type and set "local" as backend
-    ESourceBackend *backend = static_cast<ESourceBackend *>(e_source_get_extension(source, sourceExtension()));
-    e_source_backend_set_backend_name(backend, "local");
+    // Create unique ID if necessary.
+    while (true) {
+        uid = database.m_uri.empty() ?
+            UUID() :
+            database.m_uri;
+        filename = StringPrintf("%s/%s.source", sourceDir.c_str(), uid.c_str());
+        fd = ::open(filename.c_str(),
+                    O_WRONLY|O_CREAT|O_EXCL,
+                    S_IRUSR|S_IWUSR);
+        if (fd >= 0) {
+            break;
+        }
+        if (errno == EEXIST) {
+            if (!database.m_uri.empty()) {
+                SE_THROW(StringPrintf("ESource UUID %s already in use", database.m_uri.c_str()));
+            } else {
+                // try again with new random UUID
+            }
+        } else {
+            SE_THROW(StringPrintf("creating %s failed: %s", filename.c_str(), strerror(errno)));
+        }
+    }
+    ssize_t written = write(fd, ini.get(), len);
+    int res = ::close(fd);
+    if (written != (ssize_t)len || res) {
+        SE_THROW(StringPrintf("writing to %s failed: %s", filename.c_str(), strerror(errno)));
+    }
 
-    // hack: detect databases requested by the PIM Manager and create
-    // them with a special summary. Long-term we need a better way of
-    // selecting extensions, for example with a new
-    // e_source_new_from_string().
-    if (boost::starts_with(database.m_uri, "pim-manager-")) {
-        g_type_ensure (E_TYPE_SOURCE_BACKEND_SUMMARY_SETUP);
-       ESourceBackendSummarySetup *setup =
-            static_cast<ESourceBackendSummarySetup *>(e_source_get_extension(source, E_SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP));
-       e_source_backend_summary_setup_set_summary_fields(setup,
-                                                          E_CONTACT_TEL,
-                                                          0);
-       e_source_backend_summary_setup_set_indexed_fields(setup,
-                                                          E_CONTACT_TEL, E_BOOK_INDEX_PHONE,
-                                                          0);
+    // We need to wait until ESourceRegistry notices the new file.
+    SE_LOG_DEBUG(getDisplayName(), "waiting for ESourceRegistry to notice new ESource %s", uid.c_str());
+    while (!ESourceCXX(e_source_registry_ref_source(registry, uid.c_str()), TRANSFER_REF)) {
+        // This will block forever if called from the non-main-thread.
+        // Don't do that...
+        g_main_context_iteration(NULL, true);
     }
+    SE_LOG_DEBUG(getDisplayName(), "ESourceRegistry has new ESource %s", uid.c_str());
 
-    ESourceRegistryCXX registry = EDSRegistryLoader::getESourceRegistry();
-    ESourceListCXX sources;
-    sources.push_back(source.ref()); // ESourceListCXX unrefs sources it points to
-    if (!e_source_registry_create_sources_sync(registry,
-                                               sources,
-                                               NULL,
-                                               gerror)) {
-        gerror.throwError(StringPrintf("creating EDS database of type %s with name '%s'%s%s",
-                                       sourceExtension(),
-                                       database.m_name.c_str(),
-                                       database.m_uri.empty() ? "" : " and URI ",
-                                       database.m_uri.c_str()));
-    }
-    const gchar *name = e_source_get_display_name(source);
-    const gchar *uid = e_source_get_uid(source);
-    return Database(name, uid);
+    // Try triggering that by attempting to create an ESource with the same
+    // UUID. Does not work! evolution-source-registry simply overwrites the
+    // file that we created earlier.
+    // ESourceCXX source(e_source_new_with_uid(uid.c_str(),
+    //                                         NULL, gerror),
+    //                   TRANSFER_REF);
+    // e_source_set_display_name(source, "syncevolution-fake");
+    // e_source_set_parent(source, "local-stub");
+    // ESourceListCXX sources;
+    // sources.push_back(source.ref()); // ESourceListCXX unrefs sources it points to
+    // if (!e_source_registry_create_sources_sync(registry,
+    //                                            sources,
+    //                                            NULL,
+    //                                            gerror)) {
+    //     gerror.throwError(StringPrintf("creating EDS database of type %s with name '%s'%s%s",
+    //                                    sourceExtension(),
+    //                                    database.m_name.c_str(),
+    //                                    database.m_uri.empty() ? "" : " and URI ",
+    //                                    database.m_uri.c_str()));
+    // } else {
+    //     SE_THROW("creating syncevolution-fake ESource succeeded although it should have failed");
+    // }
+
+    return Database(database.m_name, uid);
 }
 
-void EvolutionSyncSource::deleteDatabase(const std::string &uri)
+void EvolutionSyncSource::deleteDatabase(const std::string &uri, RemoveData removeData)
 {
     ESourceRegistryCXX registry = EDSRegistryLoader::getESourceRegistry();
-    ESourceCXX source(e_source_registry_ref_source(registry, uri.c_str()), false);
+    ESourceCXX source(e_source_registry_ref_source(registry, uri.c_str()), TRANSFER_REF);
     if (!source) {
         throwError(StringPrintf("EDS database with URI '%s' cannot be deleted, does not exist",
                                 uri.c_str()));
@@ -183,6 +246,34 @@ void EvolutionSyncSource::deleteDatabase(const std::string &uri)
         throwError(StringPrintf("deleting EDS database with URI '%s'", uri.c_str()),
                    gerror);
     }
+    if (removeData == REMOVE_DATA_FORCE) {
+        // Don't wait for evolution-source-registry cache-reaper to
+        // run, instead remove files ourselves. The reaper runs only
+        // once per day and also only moves the data into a trash
+        // folder, were it would linger until finally removed after 30
+        // days.
+        //
+        // This is equivalent to "rm -rf $XDG_DATA_HOME/evolution/*/<uuid>".
+        std::string basedir = StringPrintf("%s/evolution", g_get_user_data_dir());
+        if (isDir(basedir)) {
+            BOOST_FOREACH (const std::string &kind, ReadDir(basedir)) {
+                std::string subdir = basedir + "/" + kind;
+                if (isDir(subdir)) {
+                    BOOST_FOREACH (const std::string &source, ReadDir(subdir)) {
+                        // We assume that the UUID of the database
+                        // consists only of characters which can be
+                        // used in the directory name, i.e., no
+                        // special encoding of the directory name.
+                        if (source == uri) {
+                            rm_r(subdir + "/" + source);
+                            // Keep searching, just in case, although
+                            // there should only be one.
+                        }
+                    }
+                }
+            }
+        }
+    }
 }
 
 
index ccdcf2e..ebcc1f2 100644 (file)
@@ -76,10 +76,13 @@ class EvolutionSyncSource : public TrackingSyncSource
     // Implementation of SyncSource calls which only works when using EDS Client API
     // and EDS > 3.4. Older EDS has no way of creating sources easily (or at all).
     virtual Database createDatabase(const Database &database);
-    virtual void deleteDatabase(const std::string &uri);
+    virtual void deleteDatabase(const std::string &uri, RemoveData removeData);
 
     /** E_SOURCE_EXTENSION_ADDRESS_BOOK, etc. */
     virtual const char *sourceExtension() const = 0;
+
+    /** reference the system address book, calendar, etc. */
+    virtual ESourceCXX refSystemDB() const = 0;
 #endif
 
     /**
@@ -120,12 +123,19 @@ class EvolutionAsync {
     public:
     EvolutionAsync()
     {
-        m_loop = GMainLoopCXX(g_main_loop_new(NULL, FALSE), false);
+        m_loop = GMainLoopStealCXX(g_main_loop_new(NULL, TRUE));
     }
      
     /** start processing events */
     void run() {
-        g_main_loop_run(m_loop.get());
+        if (g_main_context_is_owner(g_main_context_default())) {
+            g_main_loop_run(m_loop.get());
+        } else {
+            // Let master thread handle events.
+            while (g_main_loop_is_running(m_loop.get())) {
+                Sleep(0.1);
+            }
+        }
     }
  
     /** stop processing events, to be called inside run() by callback */
index 88fc0cb..d47291b 100644 (file)
@@ -87,6 +87,15 @@ void FileSyncSource::open()
     string basedir;
     bool createDir = false;
 
+    std::string varname = StringPrintf("SYNCEVOLUTION_FILE_SOURCE_DELAY_OPEN_%s", getDisplayName().c_str());
+    const char *delay = getenv(varname.c_str());
+    if (delay) {
+        int seconds = atoi(delay);
+        SE_LOG_DEBUG(getDisplayName(), "sleeping %ds while opening file source", seconds);
+        Sleep(seconds);
+        SE_LOG_DEBUG(getDisplayName(), "continue opening file source");
+    }
+
     // file:// is optional. It indicates that the
     // directory is to be created.
     if (boost::starts_with(database, prefix)) {
@@ -161,6 +170,15 @@ void FileSyncSource::listAllItems(RevisionMap_t &revisions)
 {
     ReadDir dirContent(m_basedir);
 
+    std::string varname = StringPrintf("SYNCEVOLUTION_FILE_SOURCE_DELAY_LISTALL_%s", getDisplayName().c_str());
+    const char *delay = getenv(varname.c_str());
+    if (delay) {
+        int seconds = atoi(delay);
+        SE_LOG_DEBUG(getDisplayName(), "sleeping %ds while listing items in file source", seconds);
+        Sleep(seconds);
+        SE_LOG_DEBUG(getDisplayName(), "continue listing items in file source");
+    }
+
     BOOST_FOREACH(const string &entry, dirContent) {
         string filename = createFilename(entry);
         string revision = getATimeString(filename);
index 0e3cbeb..bffe120 100644 (file)
@@ -98,7 +98,7 @@ public:
     {
         foreach (KCalCore::Incidence::Ptr incidence, incidences) {
             if (incidence->type() == m_type) {
-                SE_LOG_DEBUG(NULL, NULL, "item %s %s",
+                SE_LOG_DEBUG(NULL, "item %s %s",
                              getItemID(incidence).getLUID().c_str(),
                              state == SyncSourceChanges::ANY ? "exists" :
                              state == SyncSourceChanges::NEW ? "is new" :
@@ -421,7 +421,7 @@ void KCalExtendedSource::beginSync(const std::string &lastToken, const std::stri
     // }
     m_data->extractIncidences(incidences, SyncSourceChanges::ANY, *this);
     if (*anchor) {
-        SE_LOG_DEBUG(NULL, NULL, "checking for changes since %s UTC", anchor);
+        SE_LOG_DEBUG(NULL, "checking for changes since %s UTC", anchor);
         KDateTime endSyncTime(QDateTime::fromString(QString(anchor), Qt::ISODate), KDateTime::Spec::UTC());
         KCalCore::Incidence::List added, modified, deleted;
         if (!m_data->m_storage->insertedIncidences(&added, endSyncTime, m_data->m_notebookUID)) {
index 1b98ccd..c10eb68 100644 (file)
@@ -52,8 +52,14 @@ void KDEInitMainSlot(const char *appname)
 {
     // Very simple check. API doesn't say whether asking
     // for the bus connection will connect immediately.
-    QDBusConnection dbus = QDBusConnection::sessionBus();
-    HaveDBus = dbus.isConnected();
+    // We use a private connection here instead of the shared
+    // QDBusConnection::sessionBus() because we don't have
+    // a QCoreApplication yet. Otherwise we get a warning:
+    // "QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave."
+    {
+        QDBusConnection dbus = QDBusConnection::connectToBus(QDBusConnection::SessionBus, "org.syncevolution.kde-platform-test-connection");
+        HaveDBus = dbus.isConnected();
+    }
 
     if (!HaveDBus) {
         // KApplication has been seen to crash without D-Bus (BMC #25596).
index 2fd4aea..1e8485c 100644 (file)
@@ -53,9 +53,9 @@
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
 
-#define OBC_SERVICE "org.openobex.client"
-#define OBC_SERVICE_NEW "org.bluez.obex.client"
-#define OBC_SERVICE_NEW5 "org.bluez.obex"
+#define OBC_SERVICE "org.openobex.client" // obexd < 0.47
+#define OBC_SERVICE_NEW "org.bluez.obex.client" // obexd >= 0.47
+#define OBC_SERVICE_NEW5 "org.bluez.obex" // obexd in Bluez 5.0
 #define OBC_CLIENT_INTERFACE "org.openobex.Client"
 #define OBC_CLIENT_INTERFACE_NEW "org.bluez.obex.Client"
 #define OBC_CLIENT_INTERFACE_NEW5 "org.bluez.obex.Client1"
@@ -85,9 +85,9 @@ private:
     boost::weak_ptr<PbapSession> m_self;
     std::auto_ptr<GDBusCXX::DBusRemoteObject> m_client;
     enum {
-        OBEXD_OLD,
-        OBEXD_NEW,
-        BLUEZ5
+        OBEXD_OLD, // obexd < 0.47
+        OBEXD_NEW, // obexd >= 0.47
+        BLUEZ5     // obexd in Bluez >= 5.0
     } m_obexAPI;
 
     /** filter parameters for BLUEZ5 PullAll */
@@ -154,10 +154,10 @@ void PbapSession::propChangedCb(const GDBusCXX::Path_t &path,
     Params::const_iterator it = changed.find("Status");
     if (it != changed.end()) {
         std::string status = boost::get<std::string>(it->second);
-        SE_LOG_DEBUG(NULL, NULL, "OBEXD transfer %s: %s",
+        SE_LOG_DEBUG(NULL, "OBEXD transfer %s: %s",
                      path.c_str(), status.c_str());
         if (status == "complete") {
-            SE_LOG_DEBUG(NULL, NULL, "obexd transfer completed");
+            SE_LOG_DEBUG(NULL, "obexd transfer completed");
             m_transferComplete = true;
         } else if (status == "error") {
             m_transferComplete = true;
@@ -171,7 +171,7 @@ void PbapSession::propChangedCb(const GDBusCXX::Path_t &path,
 
 void PbapSession::completeCb(const GDBusCXX::Path_t &path)
 {
-    SE_LOG_DEBUG(NULL, NULL, "obexd transfer %s completed", path.c_str());
+    SE_LOG_DEBUG(NULL, "obexd transfer %s completed", path.c_str());
     m_transferComplete = true;
 }
 
@@ -179,7 +179,7 @@ void PbapSession::errorCb(const GDBusCXX::Path_t &path,
                           const std::string &error,
                           const std::string &msg)
 {
-    SE_LOG_DEBUG(NULL, NULL, "obexd transfer %s failed: %s %s",
+    SE_LOG_DEBUG(NULL, "obexd transfer %s failed: %s %s",
                  path.c_str(), error.c_str(), msg.c_str());
     m_transferComplete = true;
     m_transferErrorCode = error;
@@ -233,7 +233,7 @@ void PbapSession::initSession(const std::string &address, const std::string &for
                                                   OBC_CLIENT_INTERFACE_NEW5,
                                                   OBC_SERVICE_NEW5, true));
     try {
-        SE_LOG_DEBUG(NULL, NULL, "trying to use bluez 5 obexd service %s", OBC_SERVICE_NEW5);
+        SE_LOG_DEBUG(NULL, "trying to use bluez 5 obexd service %s", OBC_SERVICE_NEW5);
         session =
             GDBusCXX::DBusClientCall1<GDBusCXX::DBusObject_t>(*m_client, "CreateSession")(address, params);
     } catch (const std::exception &error) {
@@ -241,7 +241,7 @@ void PbapSession::initSession(const std::string &address, const std::string &for
             throw;
         }
         // Fall back to old interface.
-        SE_LOG_DEBUG(NULL, NULL, "bluez obex service not available (%s), falling back to previous obexd one %s",
+        SE_LOG_DEBUG(NULL, "bluez obex service not available (%s), falling back to previous obexd one %s",
                      error.what(),
                      OBC_SERVICE_NEW);
         m_obexAPI = OBEXD_NEW;
@@ -251,7 +251,7 @@ void PbapSession::initSession(const std::string &address, const std::string &for
         m_client.reset(new GDBusCXX::DBusRemoteObject(conn, "/", OBC_CLIENT_INTERFACE_NEW,
                                                       OBC_SERVICE_NEW, true));
         try {
-            SE_LOG_DEBUG(NULL, NULL, "trying to use new obexd service %s", OBC_SERVICE_NEW);
+            SE_LOG_DEBUG(NULL, "trying to use new obexd service %s", OBC_SERVICE_NEW);
             session =
                 GDBusCXX::DBusClientCall1<GDBusCXX::DBusObject_t>(*m_client, "CreateSession")(address, params);
         } catch (const std::exception &error) {
@@ -259,7 +259,7 @@ void PbapSession::initSession(const std::string &address, const std::string &for
                 throw;
             }
             // Fall back to old interface.
-            SE_LOG_DEBUG(NULL, NULL, "new obexd service(s) not available (%s), falling back to old one %s",
+            SE_LOG_DEBUG(NULL, "new obexd service(s) not available (%s), falling back to old one %s",
                          error.what(),
                          OBC_SERVICE);
             m_obexAPI = OBEXD_OLD;
@@ -330,12 +330,12 @@ void PbapSession::initSession(const std::string &address, const std::string &for
                                                    true));
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "PBAP session created: %s", m_session->getPath());
+    SE_LOG_DEBUG(NULL, "PBAP session created: %s", m_session->getPath());
 
     // get filter list so that we can continue validating our format specifier
     std::vector<std::string> filterFields =
         GDBusCXX::DBusClientCall1< std::vector<std::string> >(*m_session, "ListFilterFields")();
-    SE_LOG_DEBUG(NULL, NULL, "supported PBAP filter fields:\n    %s",
+    SE_LOG_DEBUG(NULL, "supported PBAP filter fields:\n    %s",
                  boost::join(filterFields, "\n    ").c_str());
 
     std::list<std::string> filter;
@@ -369,15 +369,15 @@ void PbapSession::initSession(const std::string &address, const std::string &for
 
     GDBusCXX::DBusClientCall0(*m_session, "Select")(std::string("int"), std::string("PB"));
 
-    if (m_obexAPI == BLUEZ5) {
-        m_filter5["Format"] = version == "2.1" ? "vcard21" : "vcard30";
-        m_filter5["Fields"] = filter;
-    } else {
+    if (m_obexAPI == OBEXD_OLD) {
         GDBusCXX::DBusClientCall0(*m_session, "SetFilter")(std::vector<std::string>(filter.begin(), filter.end()));
         GDBusCXX::DBusClientCall0(*m_session, "SetFormat")(std::string(version == "2.1" ? "vcard21" : "vcard30"));
+    } else {
+        m_filter5["Format"] = version == "2.1" ? "vcard21" : "vcard30";
+        m_filter5["Fields"] = filter;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "PBAP session initialized");
+    SE_LOG_DEBUG(NULL, "PBAP session initialized");
 }
 
 void PbapSession::pullAll(Content &dst, std::string &buffer, TmpFile &tmpFile)
@@ -385,16 +385,16 @@ void PbapSession::pullAll(Content &dst, std::string &buffer, TmpFile &tmpFile)
     pcrecpp::StringPiece content;
     if (m_obexAPI != OBEXD_OLD) {
         tmpFile.create();
-        SE_LOG_DEBUG(NULL, NULL, "Created temporary file for PullAll %s", tmpFile.filename().c_str());
+        SE_LOG_DEBUG(NULL, "Created temporary file for PullAll %s", tmpFile.filename().c_str());
         GDBusCXX::DBusClientCall1<std::pair<GDBusCXX::DBusObject_t, Params> > pullall(*m_session, "PullAll");
         std::pair<GDBusCXX::DBusObject_t, Params> tuple =
-            m_obexAPI == BLUEZ5 ?
-            GDBusCXX::DBusClientCall2<GDBusCXX::DBusObject_t, Params>(*m_session, "PullAll")(tmpFile.filename(), m_filter5) :
-            GDBusCXX::DBusClientCall1<std::pair<GDBusCXX::DBusObject_t, Params> >(*m_session, "PullAll")(tmpFile.filename());
+            m_obexAPI == OBEXD_NEW ?
+            GDBusCXX::DBusClientCall1<std::pair<GDBusCXX::DBusObject_t, Params> >(*m_session, "PullAll")(tmpFile.filename(), m_filter5) :
+            GDBusCXX::DBusClientCall2<GDBusCXX::DBusObject_t, Params>(*m_session, "PullAll")(tmpFile.filename(), m_filter5);
         const GDBusCXX::DBusObject_t &transfer = tuple.first;
         const Params &properties = tuple.second;
 
-        SE_LOG_DEBUG(NULL, NULL, "pullall transfer path %s, %ld properties", transfer.c_str(), (long)properties.size());
+        SE_LOG_DEBUG(NULL, "pullall transfer path %s, %ld properties", transfer.c_str(), (long)properties.size());
 
         while (!m_transferComplete) {
             g_main_context_iteration(NULL, true);
@@ -405,7 +405,7 @@ void PbapSession::pullAll(Content &dst, std::string &buffer, TmpFile &tmpFile)
                                              m_transferErrorMsg.c_str()));
         }
 
-        SE_LOG_DEBUG(NULL, NULL, "Temporary file size is %u", static_cast<unsigned> (tmpFile.size()));
+        SE_LOG_DEBUG(NULL, "Temporary file size is %u", static_cast<unsigned> (tmpFile.size()));
 
         content = tmpFile.stringPiece();
         // closing tmp file leaves the mapping
@@ -426,7 +426,7 @@ void PbapSession::pullAll(Content &dst, std::string &buffer, TmpFile &tmpFile)
         ++count;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "PBAP content pulled: %d entries", (int) dst.size());
+    SE_LOG_DEBUG(NULL, "PBAP content pulled: %d entries", (int) dst.size());
 }
 
 void PbapSession::shutdown(void)
@@ -436,11 +436,11 @@ void PbapSession::shutdown(void)
     // always clear pointer, even if method call fails
     GDBusCXX::DBusObject_t path(m_session->getPath());
     //m_session.reset();
-    SE_LOG_DEBUG(NULL, NULL, "removed session: %s", path.c_str());
+    SE_LOG_DEBUG(NULL, "removed session: %s", path.c_str());
 
     removeSession(path);
 
-    SE_LOG_DEBUG(NULL, NULL, "PBAP session closed");
+    SE_LOG_DEBUG(NULL, "PBAP session closed");
 }
 
 PbapSyncSource::PbapSyncSource(const SyncSourceParams &params) :
index 2b94cfd..84e80ad 100644 (file)
@@ -391,7 +391,7 @@ void QtContactsSource::open()
 {
     QString buffer;
     QDebug(&buffer) << "available managers (default one first): " << QContactManager::availableManagers();
-    SE_LOG_DEBUG(NULL, NULL, buffer.toUtf8().data());
+    SE_LOG_DEBUG(NULL, buffer.toUtf8().data());
 
     string id = getDatabaseID();
     m_data = new QtContactsData(this, id.c_str());
@@ -405,7 +405,7 @@ void QtContactsSource::open()
     buffer = "";
     QDebug(&buffer) << manager->managerUri() << " manager supports contact types: " << manager->supportedContactTypes() <<
         " and data types: " << manager->supportedDataTypes();
-    SE_LOG_DEBUG(NULL, NULL, buffer.toUtf8().data());
+    SE_LOG_DEBUG(NULL, buffer.toUtf8().data());
 
     m_data->m_manager = manager;
 }
index dcee3de..c20f02b 100644 (file)
@@ -251,7 +251,7 @@ sysync::TSyError SQLiteContactSource::readItemAsKey(sysync::cItemID aID, sysync:
             string value = m_sqlite.getTextColumn(contact, map.colindex);
             sysync::TSyError res = getSynthesisAPI()->setValue(aItemKey, field, value.c_str(), value.size());
             if (res != sysync::LOCERR_OK) {
-                SE_LOG_WARNING (NULL, NULL, "SQLite backend: set field %s value %s failed", field.c_str(), value.c_str());
+                SE_LOG_WARNING(getDisplayName(), "SQLite backend: set field %s value %s failed", field.c_str(), value.c_str());
             }
         }
     }
index decd170..851224f 100644 (file)
@@ -188,7 +188,7 @@ void CalDAVSource::updateAllSubItems(SubRevisionMap_t &revisions)
         if (it == revisions.end() ||
             it->second.m_revision != item.second) {
             // read current information below
-            SE_LOG_DEBUG(NULL, NULL, "updateAllSubItems(): read new or modified item %s", item.first.c_str());
+            SE_LOG_DEBUG(NULL, "updateAllSubItems(): read new or modified item %s", item.first.c_str());
             mustRead.push_back(item.first);
             // The server told us that the item exists. We still need
             // to deal with the situation that the server might fail
@@ -210,7 +210,7 @@ void CalDAVSource::updateAllSubItems(SubRevisionMap_t &revisions)
             m_cache.erase(item.first);
         } else {
             // copy still relevant information
-            SE_LOG_DEBUG(NULL, NULL, "updateAllSubItems(): unmodified item %s", it->first.c_str());
+            SE_LOG_DEBUG(NULL, "updateAllSubItems(): unmodified item %s", it->first.c_str());
             addSubItem(it->first, it->second);
         }
     }
@@ -343,7 +343,7 @@ int CalDAVSource::appendItem(SubRevisionMap_t &revisions,
     // after using it for a while. Deleting them via DELETE doesn't seem
     // to have an effect either, so all we really can do is ignore them.
     if (entry.m_subids.empty()) {
-        SE_LOG_DEBUG(NULL, NULL, "ignoring broken item %s (is empty)", davLUID.c_str());
+        SE_LOG_DEBUG(NULL, "ignoring broken item %s (is empty)", davLUID.c_str());
         revisions.erase(davLUID);
         m_cache.erase(davLUID);
         data.clear();
@@ -513,7 +513,7 @@ SubSyncSource::SubItemResult CalDAVSource::insertSubItem(const std::string &luid
             Event::escapeRecurrenceID(buffer);
             data = &buffer;
         }
-        SE_LOG_DEBUG(this, NULL, "inserting new VEVENT");
+        SE_LOG_DEBUG(getDisplayName(), "inserting new VEVENT");
         res = insertItem(name, *data, true);
         subres.m_mainid = res.m_luid;
         subres.m_uid = newEvent->m_UID;
@@ -578,7 +578,7 @@ SubSyncSource::SubItemResult CalDAVSource::insertSubItem(const std::string &luid
                 if (mangleRecurrenceID) {
                     Event::escapeRecurrenceID(buffer);
                 }
-                SE_LOG_DEBUG(NULL, NULL, "resending VEVENT to get rid of VALARM");
+                SE_LOG_DEBUG(NULL, "resending VEVENT to get rid of VALARM");
                 res = insertItem(name, *data, true);
                 newEvent->m_etag =
                     subres.m_revision = res.m_revision;
@@ -720,7 +720,7 @@ SubSyncSource::SubItemResult CalDAVSource::insertSubItem(const std::string &luid
 
         // TODO: avoid updating item on server immediately?
         try {
-            SE_LOG_DEBUG(this, NULL, "updating VEVENT");
+            SE_LOG_DEBUG(getDisplayName(), "updating VEVENT");
             InsertItemResult res = insertItem(event.m_DAVluid, data, true);
             if (res.m_state != ITEM_OKAY ||
                 res.m_luid != event.m_DAVluid) {
@@ -749,14 +749,14 @@ SubSyncSource::SubItemResult CalDAVSource::insertSubItem(const std::string &luid
                 // a detached recurrence had to be added to an existing meeting
                 // series. Ignoring the problem means would keep the detached
                 // recurrence out of the server permanently.
-                SE_LOG_INFO(this, NULL, "%s: not updated because CalDAV server refused write access for it",
+                SE_LOG_INFO(getDisplayName(), "%s: not updated because CalDAV server refused write access for it",
                             getSubDescription(event, subid).c_str());
                 subres.m_merged = true;
                 subres.m_revision = event.m_etag;
 #endif
             } else if (ex.syncMLStatus() == 409 &&
                        strstr(ex.what(), "Can only store an event with a newer DTSTAMP")) {
-                SE_LOG_DEBUG(NULL, NULL, "resending VEVENT with updated SEQUENCE/LAST-MODIFIED/DTSTAMP to work around 409");
+                SE_LOG_DEBUG(NULL, "resending VEVENT with updated SEQUENCE/LAST-MODIFIED/DTSTAMP to work around 409");
 
                 // Sometimes a PUT of two linked events updates one of them on the server
                 // (visible in modified SEQUENCE and LAST-MODIFIED values) and then
@@ -913,7 +913,7 @@ std::string CalDAVSource::removeSubItem(const string &davLUID, const std::string
     if (event.m_subids.size() == 1) {
         // remove entire merged item, nothing will be left after removal
         if (*event.m_subids.begin() != subid) {
-            SE_LOG_DEBUG(this, NULL, "%s: request to remove the %s recurrence: only the %s recurrence exists",
+            SE_LOG_DEBUG(getDisplayName(), "%s: request to remove the %s recurrence: only the %s recurrence exists",
                          davLUID.c_str(),
                          SubIDName(subid).c_str(),
                          SubIDName(*event.m_subids.begin()).c_str());
@@ -945,7 +945,7 @@ std::string CalDAVSource::removeSubItem(const string &davLUID, const std::string
                         }
                     }
                     if (updated) {
-                        SE_LOG_DEBUG(this, NULL, "Google recurring event delete hack: remove RRULE before deleting");
+                        SE_LOG_DEBUG(getDisplayName(), "Google recurring event delete hack: remove RRULE before deleting");
                         eptr<char> icalstr(ical_strdup(icalcomponent_as_ical_string(event.m_calendar)));
                         insertSubItem(davLUID, subid, icalstr.get());
                         // It has been observed that trying the DELETE immediately
@@ -956,13 +956,13 @@ std::string CalDAVSource::removeSubItem(const string &davLUID, const std::string
                         // try a few times before giving up.
                         for (int retry = 0; retry < 5; retry++) {
                             try {
-                                SE_LOG_DEBUG(this, NULL, "Google recurring event delete hack: remove event, attempt #%d", retry);
+                                SE_LOG_DEBUG(getDisplayName(), "Google recurring event delete hack: remove event, attempt #%d", retry);
                                 removeSubItem(davLUID, subid);
                                 break;
                             } catch (const TransportStatusException &ex2) {
                                 if (ex2.syncMLStatus() == 409 &&
                                     strstr(ex2.what(), "Can't delete a recurring event")) {
-                                    SE_LOG_DEBUG(this, NULL, "Google recurring event delete hack: try again in a second");
+                                    SE_LOG_DEBUG(getDisplayName(), "Google recurring event delete hack: try again in a second");
                                     Sleep(1);
                                 } else {
                                     throw;
@@ -970,7 +970,7 @@ std::string CalDAVSource::removeSubItem(const string &davLUID, const std::string
                             }
                         }
                     } else {
-                        SE_LOG_DEBUG(this, NULL, "Google recurring event delete hack not applicable, giving up");
+                        SE_LOG_DEBUG(getDisplayName(), "Google recurring event delete hack not applicable, giving up");
                         throw;
                     }
                 } else {
@@ -1031,7 +1031,7 @@ void CalDAVSource::removeMergedItem(const std::string &davLUID)
     EventCache::iterator it = m_cache.find(davLUID);
     if (it == m_cache.end()) {
         // gone already, no need to do anything
-        SE_LOG_DEBUG(this, NULL, "%s: ignoring request to delete non-existent item",
+        SE_LOG_DEBUG(getDisplayName(), "%s: ignoring request to delete non-existent item",
                      davLUID.c_str());
         return;
     }
@@ -1144,7 +1144,7 @@ int CalDAVSource::storeItem(const std::string &wantedLuid,
 {
     std::string luid = path2luid(Neon::URI::parse(href).m_path);
     if (luid == wantedLuid) {
-        SE_LOG_DEBUG(NULL, NULL, "got item %s via REPORT fallback", luid.c_str());
+        SE_LOG_DEBUG(NULL, "got item %s via REPORT fallback", luid.c_str());
         item = data;
     }
     data.clear();
@@ -1473,7 +1473,7 @@ int CalDAVSource::backupItem(ItemCache &cache,
         std::string rev = ETag2Rev(etag);
         cache.backupItem(data, luid, rev);
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "ignoring broken item %s during backup (is empty)", href.c_str());
+        SE_LOG_DEBUG(NULL, "ignoring broken item %s during backup (is empty)", href.c_str());
     }
 
     // reset data for next item
index 5092af2..574de23 100644 (file)
@@ -225,11 +225,11 @@ Session::Session(const boost::shared_ptr<Settings> &settings) :
 
         // hack for Yahoo: need a client certificate
         ne_ssl_client_cert *cert = ne_ssl_clicert_read("client.p12");
-        SE_LOG_DEBUG(NULL, NULL, "client cert is %s", !cert ? "missing" : ne_ssl_clicert_encrypted(cert) ? "encrypted" : "unencrypted");
+        SE_LOG_DEBUG(NULL, "client cert is %s", !cert ? "missing" : ne_ssl_clicert_encrypted(cert) ? "encrypted" : "unencrypted");
         if (cert) {
             if (ne_ssl_clicert_encrypted(cert)) {
                 if (ne_ssl_clicert_decrypt(cert, "meego")) {
-                    SE_LOG_DEBUG(NULL, NULL, "decryption failed");
+                    SE_LOG_DEBUG(NULL, "decryption failed");
                 }
             }
             ne_ssl_set_clicert(m_session, cert);
@@ -301,7 +301,7 @@ int Session::getCredentials(void *userdata, const char *realm, int attempt, char
             SyncEvo::Strncpy(username, user.c_str(), NE_ABUFSIZ);
             SyncEvo::Strncpy(password, pw.c_str(), NE_ABUFSIZ);
             session->m_credentialsSent = true;
-            SE_LOG_DEBUG(NULL, NULL, "retry request with credentials");
+            SE_LOG_DEBUG(NULL, "retry request with credentials");
             return 0;
         } else {
             // give up
@@ -309,7 +309,7 @@ int Session::getCredentials(void *userdata, const char *realm, int attempt, char
         }
     } catch (...) {
         Exception::handle();
-        SE_LOG_ERROR(NULL, NULL, "no credentials for %s", realm);
+        SE_LOG_ERROR(NULL, "no credentials for %s", realm);
         return 1;
     }
 }
@@ -352,9 +352,9 @@ void Session::preSend(ne_request *req, ne_buffer *header)
 
             // check for acceptance of credentials later
             m_credentialsSent = true;
-            SE_LOG_DEBUG(NULL, NULL, "forced sending credentials");
+            SE_LOG_DEBUG(NULL, "forced sending credentials");
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "skipping forced sending credentials because not using https");
+            SE_LOG_DEBUG(NULL, "skipping forced sending credentials because not using https");
         }
     }
 }
@@ -373,17 +373,17 @@ int Session::sslVerify(void *userdata, int failures, const ne_ssl_certificate *c
             { 0, NULL }
         };
 
-        SE_LOG_DEBUG(NULL, NULL,
+        SE_LOG_DEBUG(NULL,
                      "%s: SSL verification problem: %s",
                      session->getURL().c_str(),
                      Flags2String(failures, descr).c_str());
         if (!session->m_settings->verifySSLCertificate()) {
-            SE_LOG_DEBUG(NULL, NULL, "ignoring bad certificate");
+            SE_LOG_DEBUG(NULL, "ignoring bad certificate");
             return 0;
         }
         if (failures == NE_SSL_IDMISMATCH &&
             !session->m_settings->verifySSLHost()) {
-            SE_LOG_DEBUG(NULL, NULL, "ignoring hostname mismatch");
+            SE_LOG_DEBUG(NULL, "ignoring hostname mismatch");
             return 0;
         }
         return 1;
@@ -487,7 +487,7 @@ int Session::propIterator(void *userdata,
 
 void Session::startOperation(const string &operation, const Timespec &deadline)
 {
-    SE_LOG_DEBUG(NULL, NULL, "starting %s, credentials %s, %s",
+    SE_LOG_DEBUG(NULL, "starting %s, credentials %s, %s",
                  operation.c_str(),
                  m_settings->getCredentialsOkay() ? "okay" : "unverified",
                  deadline ? StringPrintf("deadline in %.1lfs",
@@ -597,7 +597,7 @@ bool Session::checkError(int error, int code, const ne_status *status, const str
 
             // assume that credentials were valid, if sent
             if (m_credentialsSent) {
-                SE_LOG_DEBUG(NULL, NULL, "credentials accepted");
+                SE_LOG_DEBUG(NULL, "credentials accepted");
                 m_settings->setCredentialsOkay(true);
             }
 
@@ -638,23 +638,23 @@ bool Session::checkError(int error, int code, const ne_status *status, const str
 
     if (code == 401) {
         if (m_settings->getCredentialsOkay()) {
-            SE_LOG_DEBUG(NULL, NULL, "credential error due to throttling (?), retry");
+            SE_LOG_DEBUG(NULL, "credential error due to throttling (?), retry");
             retry = true;
         } else {
             // give up without retrying
-            SE_LOG_DEBUG(NULL, NULL, "credential error, no success with them before => report it");
+            SE_LOG_DEBUG(NULL, "credential error, no success with them before => report it");
         }
     }
 
 
-    SE_LOG_DEBUG(NULL, NULL, "%s, %s",
+    SE_LOG_DEBUG(NULL, "%s, %s",
                  descr.c_str(),
                  retry ? "might retry" : "must not retry");
     if (retry) {
         m_attempt++;
 
         if (!m_deadline) {
-            SE_LOG_DEBUG(NULL, NULL, "retrying not allowed for %s (no deadline)",
+            SE_LOG_DEBUG(NULL, "retrying not allowed for %s (no deadline)",
                          operation.c_str());
         } else {
             Timespec now = Timespec::monotonic();
@@ -675,25 +675,25 @@ bool Session::checkError(int error, int code, const ne_status *status, const str
                     }
                     if (next > now) {
                         double duration = (next - now).duration();
-                        SE_LOG_DEBUG(NULL, NULL, "retry %s in %.1lfs, attempt #%d",
+                        SE_LOG_DEBUG(NULL, "retry %s in %.1lfs, attempt #%d",
                                      operation.c_str(),
                                      duration,
                                      m_attempt);
                         // Inform the user, because this will take a
                         // while and we don't want to give the
                         // impression of being stuck.
-                        SE_LOG_INFO(NULL, NULL, "operation temporarily (?) failed, going to retry in %.1lfs before giving up in %.1lfs: %s",
+                        SE_LOG_INFO(NULL, "operation temporarily (?) failed, going to retry in %.1lfs before giving up in %.1lfs: %s",
                                     duration,
                                     (m_deadline - now).duration(),
                                     descr.c_str());
                         Sleep(duration);
                     } else {
-                        SE_LOG_DEBUG(NULL, NULL, "retry %s immediately (due already), attempt #%d",
+                        SE_LOG_DEBUG(NULL, "retry %s immediately (due already), attempt #%d",
                                      operation.c_str(),
                                      m_attempt);
                     }
                 } else {
-                    SE_LOG_DEBUG(NULL, NULL, "retry %s immediately (retry interval <= 0), attempt #%d",
+                    SE_LOG_DEBUG(NULL, "retry %s immediately (retry interval <= 0), attempt #%d",
                                  operation.c_str(),
                                  m_attempt);
                 }
@@ -704,7 +704,7 @@ bool Session::checkError(int error, int code, const ne_status *status, const str
                     return false;
                 }
             } else {
-                SE_LOG_DEBUG(NULL, NULL, "retry %s would exceed deadline, bailing out",
+                SE_LOG_DEBUG(NULL, "retry %s would exceed deadline, bailing out",
                              m_operation.c_str());
             }
         }
@@ -712,7 +712,7 @@ bool Session::checkError(int error, int code, const ne_status *status, const str
 
     if (code == 401) {
         // fatal credential error, remember that
-        SE_LOG_DEBUG(NULL, NULL, "credentials rejected");
+        SE_LOG_DEBUG(NULL, "credentials rejected");
         m_settings->setCredentialsOkay(false);
     }
 
@@ -758,7 +758,7 @@ int XMLParser::startCB(void *userdata, int parent,
         return cb->m_start(parent, nspace, name, atts);
     } catch (...) {
         Exception::handle();
-        SE_LOG_ERROR(NULL, NULL, "startCB %s %s failed", nspace, name);
+        SE_LOG_ERROR(NULL, "startCB %s %s failed", nspace, name);
         return -1;
     }
 }
@@ -773,7 +773,7 @@ int XMLParser::dataCB(void *userdata, int state,
             0;
     } catch (...) {
         Exception::handle();
-        SE_LOG_ERROR(NULL, NULL, "dataCB failed");
+        SE_LOG_ERROR(NULL, "dataCB failed");
         return -1;
     }
 }
@@ -788,7 +788,7 @@ int XMLParser::endCB(void *userdata, int state,
             0;
     } catch (...) {
         Exception::handle();
-        SE_LOG_ERROR(NULL, NULL, "endCB %s %s failed", nspace, name);
+        SE_LOG_ERROR(NULL, "endCB %s %s failed", nspace, name);
         return -1;
     }
 }
index 1c93fc3..5d20d54 100644 (file)
@@ -161,7 +161,7 @@ public:
     {
         return m_context ?
             m_context->getLogLevel().get() :
-            LoggerBase::instance().getLevel();
+            Logger::instance().getLevel();
     }
 
 private:
@@ -494,7 +494,7 @@ void WebDAVSource::contactServer()
         // we have done this work before, no need to repeat it
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "using libneon %s with %s",
+    SE_LOG_DEBUG(NULL, "using libneon %s with %s",
                  ne_version_string(), Neon::features().c_str());
 
     // Can we skip auto-detection because a full resource URL is set?
@@ -521,15 +521,15 @@ void WebDAVSource::contactServer()
     if (m_calendar.empty()) {
         throwError("no database found");
     }
-    SE_LOG_DEBUG(NULL, NULL, "picked final path %s", m_calendar.m_path.c_str());
+    SE_LOG_DEBUG(NULL, "picked final path %s", m_calendar.m_path.c_str());
 
     // Check some server capabilities. Purely informational at this
     // point, doesn't have to succeed either (Google 401 throttling
     // workaround not active here, so it may really fail!).
 #ifdef HAVE_LIBNEON_OPTIONS
-    if (LoggerBase::instance().getLevel() >= Logger::DEV) {
+    if (Logger::instance().getLevel() >= Logger::DEV) {
         try {
-            SE_LOG_DEBUG(NULL, NULL, "read capabilities of %s", m_calendar.toURL().c_str());
+            SE_LOG_DEBUG(NULL, "read capabilities of %s", m_calendar.toURL().c_str());
             m_session->startOperation("OPTIONS", Timespec());
             int caps = m_session->options(m_calendar.m_path);
             static const Flag descr[] = {
@@ -551,7 +551,7 @@ void WebDAVSource::contactServer()
                 { NE_CAP_VC_COLLECTION, "DeltaV version-controlled-collection" },
                 { 0, NULL }
             };
-            SE_LOG_DEBUG(NULL, NULL, "%s WebDAV capabilities: %s",
+            SE_LOG_DEBUG(NULL, "%s WebDAV capabilities: %s",
                          m_session->getURL().c_str(),
                          Flags2String(caps, descr).c_str());
         } catch (...) {
@@ -567,7 +567,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
     bool res = true; // completed
     int timeoutSeconds = m_settings->timeoutSeconds();
     int retrySeconds = m_settings->retrySeconds();
-    SE_LOG_DEBUG(this, NULL, "timout %ds, retry %ds => %s",
+    SE_LOG_DEBUG(getDisplayName(), "timout %ds, retry %ds => %s",
                  timeoutSeconds, retrySeconds,
                  (timeoutSeconds <= 0 ||
                   retrySeconds <= 0) ? "resending disabled" : "resending allowed");
@@ -612,7 +612,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
             }
             buffer[read] = 0;
             m_contextSettings->setURL(buffer);
-            SE_LOG_DEBUG(this, NULL, "found syncURL '%s' via DNS SRV", buffer);
+            SE_LOG_DEBUG(getDisplayName(), "found syncURL '%s' via DNS SRV", buffer);
             int res = pclose(in);
             in = NULL;
             switch (res) {
@@ -629,12 +629,12 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 if (retrySeconds > 0 &&
                     timeoutSeconds > 0) {
                     if (now < startTime + timeoutSeconds) {
-                        SE_LOG_DEBUG(this, NULL, "DNS SRV search failed due to network issues, retry in %d seconds",
+                        SE_LOG_DEBUG(getDisplayName(), "DNS SRV search failed due to network issues, retry in %d seconds",
                                      retrySeconds);
                         Sleep(retrySeconds);
                         goto retry;
                     } else {
-                        SE_LOG_INFO(this, NULL, "DNS SRV search timed out after %d seconds", timeoutSeconds);
+                        SE_LOG_INFO(getDisplayName(), "DNS SRV search timed out after %d seconds", timeoutSeconds);
                     }
                 }
 
@@ -767,7 +767,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
 
         // must normalize so that we can compare against results from server
         path = tried.insert(path);
-        SE_LOG_DEBUG(NULL, NULL, "testing %s", path.c_str());
+        SE_LOG_DEBUG(NULL, "testing %s", path.c_str());
 
         // Accessing the well-known URIs should lead to a redirect, but
         // with Yahoo! Calendar all I got was a 502 "connection refused".
@@ -798,12 +798,12 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 deadline = Timespec();
             }
 
-            if (LoggerBase::instance().getLevel() >= Logger::DEV) {
+            if (Logger::instance().getLevel() >= Logger::DEV) {
                 // First dump WebDAV "allprops" properties (does not contain
                 // properties which must be asked for explicitly!). Only
                 // relevant for debugging.
                 try {
-                    SE_LOG_DEBUG(NULL, NULL, "debugging: read all WebDAV properties of %s", path.c_str());
+                    SE_LOG_DEBUG(NULL, "debugging: read all WebDAV properties of %s", path.c_str());
                     Neon::Session::PropfindPropCallback_t callback =
                         boost::bind(&WebDAVSource::openPropCallback,
                                     this, _1, _2, _3, _4);
@@ -886,7 +886,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 { "urn:ietf:params:xml:ns:carddav", "max-resource-size" },
                 { NULL, NULL }
             };
-            SE_LOG_DEBUG(NULL, NULL, "read relevant properties of %s", path.c_str());
+            SE_LOG_DEBUG(NULL, "read relevant properties of %s", path.c_str());
             m_session->propfindProp(path, 0,
                                     getContent() == "VCARD" ? carddav : caldav,
                                     callback, deadline);
@@ -908,23 +908,23 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
             if (next.m_scheme != old.m_scheme ||
                 next.m_host != old.m_host ||
                 next.m_port != old.m_port) {
-                SE_LOG_DEBUG(NULL, NULL, "ignore redirection to different server (not implemented): %s",
+                SE_LOG_DEBUG(NULL, "ignore redirection to different server (not implemented): %s",
                              ex.getLocation().c_str());
                 if (tried.errorIsFatal()) {
                     throw;
                 }
             } else if (tried.isNew(next.m_path)) {
-                SE_LOG_DEBUG(NULL, NULL, "new candidate from %s -> %s redirect",
+                SE_LOG_DEBUG(NULL, "new candidate from %s -> %s redirect",
                              old.m_path.c_str(),
                              next.m_path.c_str());
                 tried.addCandidate(next.m_path, Tried::FRONT);
             } else {
-                SE_LOG_DEBUG(NULL, NULL, "already known candidate from %s -> %s redirect",
+                SE_LOG_DEBUG(NULL, "already known candidate from %s -> %s redirect",
                              old.m_path.c_str(),
                              next.m_path.c_str());
             }
         } catch (const TransportStatusException &ex) {
-            SE_LOG_DEBUG(NULL, NULL, "TransportStatusException: %s", ex.what());
+            SE_LOG_DEBUG(NULL, "TransportStatusException: %s", ex.what());
             if (ex.syncMLStatus() == 404 && boost::find_first(path, username) && usernameInserted) {
                 // We're actually looking at an authentication error: the path to the calendar has
                 // not been found, so the username was wrong. Let's hijack the error message and
@@ -941,7 +941,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                     // candidate; needed to handle 502 "Connection
                     // refused" for /.well-known/caldav/ from Yahoo!
                     // Calendar
-                    SE_LOG_DEBUG(NULL, NULL, "ignore error for URI candidate: %s", ex.what());
+                    SE_LOG_DEBUG(NULL, "ignore error for URI candidate: %s", ex.what());
                 }
             }
         } catch (const Exception &ex) {
@@ -952,7 +952,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 // candidate; needed to handle 502 "Connection
                 // refused" for /.well-known/caldav/ from Yahoo!
                 // Calendar
-                SE_LOG_DEBUG(NULL, NULL, "ignore error for URI candidate: %s", ex.what());
+                SE_LOG_DEBUG(NULL, "ignore error for URI candidate: %s", ex.what());
             }
         }
 
@@ -965,14 +965,14 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 if (!m_davProps.empty()) {
                     pathProps = m_davProps.begin();
                     string newpath = pathProps->first;
-                    SE_LOG_DEBUG(NULL, NULL, "use properties for '%s' instead of '%s'",
+                    SE_LOG_DEBUG(NULL, "use properties for '%s' instead of '%s'",
                                  newpath.c_str(), path.c_str());
                     path = newpath;
                 }
             }
-            StringMap &props = pathProps->second;
+            StringMap *props = pathProps == m_davProps.end() ? NULL : &pathProps->second;
             bool isResult = false;
-            if (typeMatches(props)) {
+            if (props && typeMatches(*props)) {
                 isResult = true;
                 StringMap::const_iterator it;
 
@@ -982,14 +982,14 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
 
                 // found something
                 tried.foundResult();
-                it = props.find("DAV::displayname");
+                it = props->find("DAV::displayname");
                 Neon::URI uri = m_session->getURI();
                 uri.m_path = path;
                 std::string name;
-                if (it != props.end()) {
+                if (it != props->end()) {
                     name = it->second;
                 }
-                SE_LOG_DEBUG(NULL, NULL, "found %s = %s",
+                SE_LOG_DEBUG(NULL, "found %s = %s",
                              name.c_str(),
                              uri.toURL().c_str());
                 res = storeResult(name,
@@ -1002,22 +1002,28 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
 
             // find next path:
             // prefer CardDAV:calendar-home-set or CalDAV:addressbook-home-set
-            std::list<std::string> homes = extractHREFs(props[homeSetProp()]);
+            std::list<std::string> homes;
+            if (props) {
+                homes = extractHREFs((*props)[homeSetProp()]);
+            }
             BOOST_FOREACH(const std::string &home, homes) {
                 if (!home.empty() &&
                     tried.isNew(home)) {
                     if (next.empty()) {
-                        SE_LOG_DEBUG(NULL, NULL, "follow home-set property to %s", home.c_str());
+                        SE_LOG_DEBUG(NULL, "follow home-set property to %s", home.c_str());
                         next = home;
                     } else {
-                        SE_LOG_DEBUG(NULL, NULL, "new candidate from home-set property %s", home.c_str());
+                        SE_LOG_DEBUG(NULL, "new candidate from home-set property %s", home.c_str());
                         tried.addCandidate(home, Tried::FRONT);
                     }
                 }
             }
             // alternatively, follow principal URL
             if (next.empty()) {
-                std::string principal = extractHREF(props["DAV::current-user-principal"]);
+                std::string principal;
+                if (props) {
+                    principal = extractHREF((*props)["DAV::current-user-principal"]);
+                }
 
                 // TODO:
                 // xmlns:d="DAV:"
@@ -1025,19 +1031,22 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 if (!principal.empty() &&
                     tried.isNew(principal)) {
                     next = principal;
-                    SE_LOG_DEBUG(NULL, NULL, "follow current-user-prinicipal to %s", next.c_str());
+                    SE_LOG_DEBUG(NULL, "follow current-user-prinicipal to %s", next.c_str());
                 }
             }
             // finally, recursively descend into collections,
             // unless we identified it as a result (because those
             // cannot be recursive)
             if (next.empty() && !isResult) {
-                const std::string &type = props["DAV::resourcetype"];
+                std::string type;
+                if (props) {
+                    type = (*props)["DAV::resourcetype"];
+                }
                 if (type.find("<DAV:collection></DAV:collection>") != type.npos) {
                     // List members and find new candidates.
                     // Yahoo! Calendar does not return resources contained in /dav/<user>/Calendar/
                     // if <allprops> is used. Properties must be requested explicitly.
-                    SE_LOG_DEBUG(NULL, NULL, "list items in %s", path.c_str());
+                    SE_LOG_DEBUG(NULL, "list items in %s", path.c_str());
                     // See findCollections() for the reason why we are not mixing CalDAV and CardDAV
                     // properties.
                     static const ne_propname caldav[] = {
@@ -1083,9 +1092,9 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                             subType.find("<http://calendarserver.org/ns/shared") == subType.npos &&
                             (typeMatches(entry.second) || !ignoreCollection(entry.second))) {
                             subs.insert(sub);
-                            SE_LOG_DEBUG(NULL, NULL, "new candidate: %s", sub.c_str());
+                            SE_LOG_DEBUG(NULL, "new candidate: %s", sub.c_str());
                         } else {
-                            SE_LOG_DEBUG(NULL, NULL, "skipping: %s", sub.c_str());
+                            SE_LOG_DEBUG(NULL, "skipping: %s", sub.c_str());
                         }
                     }
 
@@ -1105,7 +1114,7 @@ bool WebDAVSource::findCollections(const boost::function<bool (const std::string
                 // done searching
                 break;
             }
-            SE_LOG_DEBUG(NULL, NULL, "follow candidate %s", next.c_str());
+            SE_LOG_DEBUG(NULL, "follow candidate %s", next.c_str());
         }
 
         counter++;
@@ -1293,7 +1302,7 @@ void WebDAVSource::getSynthesisInfo(SynthesisInfo &info,
                 "          <include rule=\"ALL\"/>\n"
                 "      </remoterule>";
         }
-        SE_LOG_DEBUG(this, NULL, "using data conversion rules for '%s'", info.m_backendRule.c_str());
+        SE_LOG_DEBUG(getDisplayName(), "using data conversion rules for '%s'", info.m_backendRule.c_str());
     }
 }
 
@@ -1514,12 +1523,12 @@ void WebDAVSource::listAllItemsCallback(const Neon::URI &uri,
     const char *etag = ne_propset_value(results, &prop);
     if (etag) {
         std::string rev = ETag2Rev(etag);
-        SE_LOG_DEBUG(NULL, NULL, "item %s = rev %s",
+        SE_LOG_DEBUG(NULL, "item %s = rev %s",
                      uid.c_str(), rev.c_str());
         revisions[uid] = rev;
     } else {
         failed = true;
-        SE_LOG_ERROR(NULL, NULL,
+        SE_LOG_ERROR(NULL,
                      "%s: %s",
                      uri.toURL().c_str(),
                      Neon::Status2String(ne_propset_status(results, &prop)).c_str());
@@ -1652,7 +1661,7 @@ TrackingSyncSource::InsertItemResult WebDAVSource::insertItem(const string &uid,
         if (!req.run(&expected)) {
             goto retry;
         }
-        SE_LOG_DEBUG(NULL, NULL, "add item status: %s",
+        SE_LOG_DEBUG(NULL, "add item status: %s",
                      Neon::Status2String(req.getStatus()).c_str());
         switch (req.getStatusCode()) {
         case 204:
@@ -1686,7 +1695,7 @@ TrackingSyncSource::InsertItemResult WebDAVSource::insertItem(const string &uid,
             // <UID>.ics. Interestingly enough, our 1234567890!@#$%^&*()<>@dummy UID
             // test case leads to a resource path which Google then cannot find
             // via CalDAV. client-test must run with CLIENT_TEST_SIMPLE_UID=1...
-            SE_LOG_DEBUG(NULL, NULL, "new item mapped to %s", real_luid.c_str());
+            SE_LOG_DEBUG(NULL, "new item mapped to %s", real_luid.c_str());
             new_uid = real_luid;
             // TODO: find a better way of detecting unexpected updates.
             // state = ...
@@ -1712,7 +1721,7 @@ TrackingSyncSource::InsertItemResult WebDAVSource::insertItem(const string &uid,
             // to return the "real" uid to our caller.
             if (revisions.size() == 1 &&
                 revisions.begin()->first != new_uid) {
-                SE_LOG_DEBUG(NULL, NULL, "%s mapped to %s by peer",
+                SE_LOG_DEBUG(NULL, "%s mapped to %s by peer",
                              new_uid.c_str(),
                              revisions.begin()->first.c_str());
                 new_uid = revisions.begin()->first;
@@ -1740,7 +1749,7 @@ TrackingSyncSource::InsertItemResult WebDAVSource::insertItem(const string &uid,
         if (!req.run()) {
             goto retry;
         }
-        SE_LOG_DEBUG(NULL, NULL, "update item status: %s",
+        SE_LOG_DEBUG(NULL, "update item status: %s",
                      Neon::Status2String(req.getStatus()).c_str());
         switch (req.getStatusCode()) {
         case 204:
@@ -1860,7 +1869,7 @@ void WebDAVSource::removeItem(const string &uid)
             break;
         }
     }
-    SE_LOG_DEBUG(NULL, NULL, "remove item status: %s",
+    SE_LOG_DEBUG(NULL, "remove item status: %s",
                  Neon::Status2String(req->getStatus()).c_str());
     switch (req->getStatusCode()) {
     case 204:
index fdf8931..a7b481d 100644 (file)
@@ -284,7 +284,7 @@ public:
             string("_") + clientID +
             string("_") + (isSourceA ? "A" : "B");
 
-        SE_LOG_DEBUG(NULL, NULL, "instantiating testing source %s in config %s, with tracking name %s",
+        SE_LOG_DEBUG(NULL, "instantiating testing source %s in config %s, with tracking name %s",
                      name.c_str(),
                      config.c_str(),
                      tracking.c_str());
@@ -298,7 +298,7 @@ public:
         std::string peerName = std::string(server ? server : "no-such-server")  + "_" + clientID;
         boost::shared_ptr<SyncConfig> peer(new SyncConfig(peerName));
         SyncSourceNodes peerNodes = peer->getSyncSourceNodes(name);
-        SE_LOG_DEBUG(NULL, NULL, "overriding testing source %s properties with the ones from config %s = %s",
+        SE_LOG_DEBUG(NULL, "overriding testing source %s properties with the ones from config %s = %s",
                      name.c_str(),
                      peerName.c_str(),
                      peer->getRootPath().c_str());
@@ -308,7 +308,7 @@ public:
             }
             boost::shared_ptr<FilterConfigNode> node = peerNodes.getNode(*prop);
             InitStateString value = prop->getProperty(*node);
-            SE_LOG_DEBUG(NULL, NULL, "   %s = %s (%s)",
+            SE_LOG_DEBUG(NULL, "   %s = %s (%s)",
                          prop->getMainName().c_str(),
                          value.c_str(),
                          value.wasSet() ? "set" : "default");
@@ -322,12 +322,12 @@ public:
 
         // Always set properties taken from the environment.
         nodes.getProperties()->setProperty("backend", InitStateString(m_type, true));
-        SE_LOG_DEBUG(NULL, NULL, "   additional property backend = %s (from CLIENT_TEST_WEBDAV)",
+        SE_LOG_DEBUG(NULL, "   additional property backend = %s (from CLIENT_TEST_WEBDAV)",
                      m_type.c_str());
         BOOST_FOREACH(const StringPair &propval, m_props) {
             boost::shared_ptr<FilterConfigNode> node = context->getNode(propval.first);
             if (node) {
-                SE_LOG_DEBUG(NULL, NULL, "   additional property %s = %s (from CLIENT_TEST_WEBDAV)",
+                SE_LOG_DEBUG(NULL, "   additional property %s = %s (from CLIENT_TEST_WEBDAV)",
                              propval.first.c_str(), propval.second.c_str());
                 node->setProperty(propval.first, InitStateString(propval.second, true));
             } else if (!boost::ends_with(propval.first, "testconfig") &&
index 87b2798..c0a13f1 100644 (file)
@@ -116,8 +116,8 @@ public:
      * can be instantiated as client A with id == "1" and client B with id == "2"
      */
     TestEvolution(const string &id) :
-        ClientTest(getenv("CLIENT_TEST_DELAY") ? atoi(getenv("CLIENT_TEST_DELAY")) : 0,
-                   getenv("CLIENT_TEST_LOG") ? getenv("CLIENT_TEST_LOG") : ""),
+        ClientTest(atoi(getEnv("CLIENT_TEST_DELAY", "0")),
+                   getEnv("CLIENT_TEST_LOG", "")),
         m_initialized(false),
         m_clientID(id),
         m_configs(SyncSource::getTestRegistry())
@@ -208,7 +208,7 @@ public:
             }
         }
         // get configuration and set obligatory fields
-        LoggerBase::instance().setLevel(Logger::DEBUG);
+        Logger::instance().setLevel(Logger::DEBUG);
         std::string root = std::string("evolution/") + server + "_" + m_clientID;
         boost::shared_ptr<SyncConfig> config(new SyncConfig(string(server) + "_" + m_clientID));
         boost::shared_ptr<SyncConfig> from = boost::shared_ptr<SyncConfig> ();
@@ -382,7 +382,7 @@ public:
                 SyncContext::prepare();
                 if (m_options.m_prepareCallback &&
                     m_options.m_prepareCallback(*this, m_options)) {
-                    m_options.m_isAborted = true;
+                    m_options.m_isAborted = SuspendFlags::getSuspendFlags().abort();
                 }
             }
 
@@ -392,14 +392,11 @@ public:
                 if (!m_started) {
                     m_started = true;
                     if (m_options.m_startCallback(*this, m_options)) {
-                        m_options.m_isAborted = true;
+                        m_options.m_isAborted = SuspendFlags::getSuspendFlags().abort();
                     }
                 }
             }
 
-            virtual bool checkForAbort() { return m_options.m_isAborted; }
-            virtual bool checkForSuspend() {return m_options.m_isSuspended;}
-
             virtual boost::shared_ptr<TransportAgent> createTransportAgent()
             {
                 boost::shared_ptr<TransportAgent>wrapper = m_options.m_transport;
@@ -486,7 +483,7 @@ private:
         std::string tracking =
             string("_") + m_clientID +
             "_" + (isSourceA ? "A" : "B");
-        SE_LOG_DEBUG(NULL, NULL, "instantiating testing source %s in config %s, with tracking name %s",
+        SE_LOG_DEBUG(NULL, "instantiating testing source %s in config %s, with tracking name %s",
                      name.c_str(),
                      config.c_str(),
                      tracking.c_str());
@@ -500,7 +497,7 @@ private:
         std::string peerName = server ? (std::string(server) + "_" + m_clientID) : "@default";
         boost::shared_ptr<SyncConfig> peer(new SyncConfig(peerName));
         SyncSourceNodes peerNodes = peer->getSyncSourceNodes(name);
-        SE_LOG_DEBUG(NULL, NULL, "overriding testing source %s properties with the ones from config %s = %s",
+        SE_LOG_DEBUG(NULL, "overriding testing source %s properties with the ones from config %s = %s",
                      name.c_str(),
                      peerName.c_str(),
                      peer->getRootPath().c_str());
@@ -510,7 +507,7 @@ private:
             }
             boost::shared_ptr<FilterConfigNode> node = peerNodes.getNode(*prop);
             InitStateString value = prop->getProperty(*node);
-            SE_LOG_DEBUG(NULL, NULL, "   %s = %s (%s)",
+            SE_LOG_DEBUG(NULL, "   %s = %s (%s)",
                          prop->getMainName().c_str(),
                          value.c_str(),
                          value.wasSet() ? "set" : "default");
index c358e04..76a45ce 100644 (file)
@@ -90,7 +90,7 @@ void AutoSyncManager::init()
 
 void AutoSyncManager::initConfig(const std::string &configName)
 {
-    SE_LOG_DEBUG(NULL, NULL, "auto sync: updating info about config %s", configName.c_str());
+    SE_LOG_DEBUG(NULL, "auto sync: updating info about config %s", configName.c_str());
 
     if (configName.empty()) {
         // Anything might have changed. Check all configs we know
@@ -177,7 +177,7 @@ void AutoSyncManager::initConfig(const std::string &configName)
         // the past problem -> allow auto syncing again.
         task->m_permanentFailure = false;
 
-        SE_LOG_DEBUG(NULL, NULL,
+        SE_LOG_DEBUG(NULL,
                      "auto sync: %s: auto sync '%s', %s, %s, %d seconds repeat interval, %d seconds online delay",
                      configName.c_str(),
                      autoSync.c_str(),
@@ -201,7 +201,7 @@ void AutoSyncManager::initConfig(const std::string &configName)
                (transport == AutoSyncTask::NEEDS_BT && bt) ||
                (transport == AutoSyncTask::NEEDS_OTHER && any)) {
                 task->m_urls.push_back(std::make_pair(transport, url));
-                SE_LOG_DEBUG(NULL, NULL,
+                SE_LOG_DEBUG(NULL,
                              "auto sync: adding config %s url %s",
                              configName.c_str(),
                              url.c_str());
@@ -214,11 +214,11 @@ void AutoSyncManager::initConfig(const std::string &configName)
 
     bool lock = preventTerm();
     if (m_autoTermLocked && !lock) {
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: allow auto shutdown");
+        SE_LOG_DEBUG(NULL, "auto sync: allow auto shutdown");
         m_server.autoTermUnref();
         m_autoTermLocked = false;
     } else if (!m_autoTermLocked && lock) {
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: prevent auto shutdown");
+        SE_LOG_DEBUG(NULL, "auto sync: prevent auto shutdown");
         m_server.autoTermRef();
         m_autoTermLocked = true;
     }
@@ -229,20 +229,20 @@ void AutoSyncManager::initConfig(const std::string &configName)
 
 void AutoSyncManager::schedule(const std::string &reason)
 {
-    SE_LOG_DEBUG(NULL, NULL, "auto sync: reschedule, %s", reason.c_str());
+    SE_LOG_DEBUG(NULL, "auto sync: reschedule, %s", reason.c_str());
 
     // idle callback will be (re)set if needed
     m_idleConnection.disconnect();
 
     if (!preventTerm()) {
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: nothing to do");
+        SE_LOG_DEBUG(NULL, "auto sync: nothing to do");
         return;
     }
 
     if (!m_server.isIdle()) {
         // Only schedule automatic syncs when nothing else is
         // going on or pending.
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: server not idle");
+        SE_LOG_DEBUG(NULL, "auto sync: server not idle");
         connectIdle();
         return;
     }
@@ -266,7 +266,7 @@ void AutoSyncManager::schedule(const std::string &reason)
             // Adds two seconds just to be on the safe side and not
             // wake up again too soon.
             int seconds = (task->m_lastSyncTime + task->m_interval - now).seconds() + 2;
-            SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: interval expires in %ds",
+            SE_LOG_DEBUG(NULL, "auto sync: %s: interval expires in %ds",
                          configName.c_str(),
                          seconds);
             task->m_intervalTimeout.runOnce(seconds,
@@ -284,7 +284,7 @@ void AutoSyncManager::schedule(const std::string &reason)
             Timeout *timeout = NULL;
             switch (urlinfo.first) {
             case AutoSyncTask::NEEDS_HTTP:
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: %s uses HTTP",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: %s uses HTTP",
                              configName.c_str(),
                              urlinfo.second.c_str());
                 starttime = &m_httpStartTime;
@@ -292,7 +292,7 @@ void AutoSyncManager::schedule(const std::string &reason)
                 timeout = &task->m_httpTimeout;
                 break;
             case AutoSyncTask::NEEDS_BT:
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: %s uses Bluetooth",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: %s uses Bluetooth",
                              configName.c_str(),
                              urlinfo.second.c_str());
                 starttime = &m_btStartTime;
@@ -300,7 +300,7 @@ void AutoSyncManager::schedule(const std::string &reason)
                 timeout = &task->m_btTimeout;
                 break;
             case AutoSyncTask::NEEDS_OTHER:
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: %s uses some unknown transport",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: %s uses some unknown transport",
                              configName.c_str(),
                              urlinfo.second.c_str());
                 break;
@@ -308,10 +308,10 @@ void AutoSyncManager::schedule(const std::string &reason)
             if (!starttime || // some other transport, assumed to be online, use it
                 (*starttime && // present
                  (task->m_delay <= 0 || *starttime + task->m_delay <= now))) { // present long enough
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: ready to run via %s (transport present for %lds > %ds auto sync delay)",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: ready to run via %s (transport present for %lds > %ds auto sync delay)",
                              configName.c_str(),
                              urlinfo.second.c_str(),
-                             (long)(*starttime - now).seconds(),
+                             starttime ? (long)(*starttime - now).seconds() : -1,
                              task->m_delay);
                 readyURL = urlinfo.second;
                 break;
@@ -321,13 +321,13 @@ void AutoSyncManager::schedule(const std::string &reason)
                 signal->connect(PresenceStatus::PresenceSignal_t::slot_type(&AutoSyncManager::schedule,
                                                                             this,
                                                                             "presence change").track(m_me));
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: transport for %s not present",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: transport for %s not present",
                              configName.c_str(),
                              urlinfo.second.c_str());
             } else {
                 // check again after waiting the requested amount of time
                 int seconds = (*starttime + task->m_delay - now).seconds() + 2;
-                SE_LOG_DEBUG(NULL, NULL, "auto sync: %s: presence delay of transport for %s expires in %ds",
+                SE_LOG_DEBUG(NULL, "auto sync: %s: presence delay of transport for %s expires in %ds",
                              configName.c_str(),
                              urlinfo.second.c_str(),
                              seconds);
@@ -379,7 +379,7 @@ void AutoSyncManager::schedule(const std::string &reason)
 
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "auto sync: nothing to do now");
+    SE_LOG_DEBUG(NULL, "auto sync: nothing to do now");
 }
 
 void AutoSyncManager::connectIdle()
@@ -396,14 +396,14 @@ void AutoSyncManager::sessionStarted(const boost::shared_ptr<Session> &session)
     std::string configName = session->getConfigName();
     PeerMap::iterator it = m_peerMap.find(configName);
     if (it == m_peerMap.end()) {
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: ignore running sync %s without config",
+        SE_LOG_DEBUG(NULL, "auto sync: ignore running sync %s without config",
                      configName.c_str());
         return;
     }
 
     boost::shared_ptr<AutoSyncManager> me = m_me.lock();
     if (!me) {
-        SE_LOG_DEBUG(NULL, NULL, "auto sync: already destructing, ignore new sync %s",
+        SE_LOG_DEBUG(NULL, "auto sync: already destructing, ignore new sync %s",
                      configName.c_str());
         return;
     }
@@ -445,7 +445,7 @@ bool AutoSyncManager::preventTerm()
 void AutoSyncManager::autoSyncSuccessStart(AutoSyncTask *task)
 {
     task->m_syncSuccessStart = true;
-    SE_LOG_INFO(NULL, NULL,"Automatic sync for '%s' has been successfully started.\n",
+    SE_LOG_INFO(NULL,"Automatic sync for '%s' has been successfully started.\n",
                 task->m_peerName.c_str());
     if (m_server.notificationsEnabled() &&
         task->m_notifyLevel >= SyncConfig::NOTIFY_ALL) {
@@ -475,7 +475,7 @@ static bool ErrorIsTemporary(SyncMLStatus status)
 
 void AutoSyncManager::autoSyncDone(AutoSyncTask *task, SyncMLStatus status)
 {
-    SE_LOG_INFO(NULL, NULL,"Automatic sync for '%s' has been done.\n", task->m_peerName.c_str());
+    SE_LOG_INFO(NULL,"Automatic sync for '%s' has been done.\n", task->m_peerName.c_str());
     if (m_server.notificationsEnabled()) {
         // send a notification to notification server
         std::string summary, body;
@@ -509,7 +509,7 @@ void AutoSyncManager::anySyncDone(AutoSyncTask *task, SyncMLStatus status)
 {
     // set "permanently failed" flag according to most recent result
     task->m_permanentFailure = status != STATUS_OK && !ErrorIsTemporary(status);
-    SE_LOG_DEBUG(NULL, NULL, "auto sync: sync session %s done, result %d %s",
+    SE_LOG_DEBUG(NULL, "auto sync: sync session %s done, result %d %s",
                  task->m_configName.c_str(),
                  status,
                  task->m_permanentFailure ?
index 15cf126..357d9bc 100644 (file)
@@ -53,12 +53,12 @@ class AutoTerm {
             time_t now = time(NULL);
             if (at->m_lastUsed + at->m_interval <= now) {
                 // yes, shut down event loop and daemon
-                SE_LOG_DEBUG(NULL, NULL, "terminating because not in use and idle for more than %ld seconds", (long)at->m_interval);
+                SE_LOG_DEBUG(NULL, "terminating because not in use and idle for more than %ld seconds", (long)at->m_interval);
                 at->m_shutdownRequested = true;
                 g_main_loop_quit(at->getLoop());
             } else {
                 // check again later
-                SE_LOG_DEBUG(NULL, NULL, "not terminating because last used %ld seconds ago, check again in %ld seconds",
+                SE_LOG_DEBUG(NULL, "not terminating because last used %ld seconds ago, check again in %ld seconds",
                              (long)(now - at->m_lastUsed),
                              (long)(at->m_lastUsed + at->m_interval - now));
                 at->m_checkSource = g_timeout_add_seconds(at->m_lastUsed + at->m_interval - now,
@@ -66,7 +66,7 @@ class AutoTerm {
                                                           data);
             }
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "not terminating, not renewing timeout because busy");
+            SE_LOG_DEBUG(NULL, "not terminating, not renewing timeout because busy");
         }
         // always remove the current timeout, its job is done
         return FALSE;
@@ -130,7 +130,7 @@ public:
         if (m_refs > 0) {
             // in use, don't need timeout
             if (m_checkSource) {
-                SE_LOG_DEBUG(NULL, NULL, "deactivating idle termination because in use");
+                SE_LOG_DEBUG(NULL, "deactivating idle termination because in use");
                 g_source_remove(m_checkSource);
                 m_checkSource = 0;
             }
@@ -140,7 +140,7 @@ public:
             // reset the timer. Therefore we don't have to remove it.
             m_lastUsed = time(NULL);
             if (!m_checkSource) {
-                SE_LOG_DEBUG(NULL, NULL, "activating idle termination in %ld seconds because idle", m_interval);
+                SE_LOG_DEBUG(NULL, "activating idle termination in %ld seconds because idle", m_interval);
                 m_checkSource = g_timeout_add_seconds(m_interval,
                                                       checkCallback,
                                                       static_cast<gpointer>(this));
index acde685..661ce98 100644 (file)
@@ -71,7 +71,7 @@ void BluezManager::defaultAdapterChanged(const DBusObject_t &adapter)
 void BluezManager::defaultAdapterCb(const DBusObject_t &adapter, const string &error)
 {
     if(!error.empty()) {
-        SE_LOG_DEBUG (NULL, NULL, "Error in calling DefaultAdapter of Interface org.bluez.Manager: %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "Error in calling DefaultAdapter of Interface org.bluez.Manager: %s", error.c_str());
         m_done = true;
         return;
     }
@@ -93,7 +93,7 @@ BluezManager::BluezAdapter::BluezAdapter(BluezManager &manager, const string &pa
 void BluezManager::BluezAdapter::listDevicesCb(const std::vector<DBusObject_t> &devices, const string &error)
 {
     if(!error.empty()) {
-        SE_LOG_DEBUG (NULL, NULL, "Error in calling ListDevices of Interface org.bluez.Adapter: %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "Error in calling ListDevices of Interface org.bluez.Adapter: %s", error.c_str());
         checkDone(true);
         return;
     }
@@ -216,7 +216,7 @@ void BluezManager::loadBluetoothDeviceLookupTable()
     string filePath(SyncEvolutionDataDir() + "/bluetooth_products.ini");
     if(!g_key_file_load_from_file(m_lookupTable.bt_key_file, filePath.c_str(),
                                   G_KEY_FILE_NONE, &err)) {
-        SE_LOG_DEBUG(NULL, NULL, "%s[%d]: %s - filePath = %s, error = %s",
+        SE_LOG_DEBUG(NULL, "%s[%d]: %s - filePath = %s, error = %s",
                      __FILE__, __LINE__, "Bluetooth products file not loaded",
                      filePath.c_str(), err->message);
         m_lookupTable.isLoaded = false;
@@ -324,7 +324,7 @@ void BluezManager::BluezDevice::getPropertiesCb(const PropDict &props, const str
     m_adapter.m_devReplies++;
     m_reply = true;
     if(!error.empty()) {
-        SE_LOG_DEBUG (NULL, NULL, "Error in calling GetProperties of Interface org.bluez.Device: %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "Error in calling GetProperties of Interface org.bluez.Device: %s", error.c_str());
     } else {
         PropDict::const_iterator it = props.find("Name");
         if(it != props.end()) {
index 55858dc..37d1599 100644 (file)
@@ -26,7 +26,7 @@ SE_BEGIN_CXX
 
 Client::~Client()
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus client %s is destructing", m_ID.c_str());
+    SE_LOG_DEBUG(NULL, "D-Bus client %s is destructing", m_ID.c_str());
 
     // explicitly detach all resources instead of just freeing the
     // list, so that the special behavior for sessions in detach() is
@@ -50,7 +50,7 @@ void Client::detach(Resource *resource)
                     // give clients a chance to query the session
                     m_server.delaySessionDestruction(session);
                     // allow other sessions to start
-                    session->done();
+                    session->done(false);
                 }
             }
             // this will trigger removal of the resource if
index 8b2971e..79b5ef8 100644 (file)
@@ -31,7 +31,7 @@ SE_BEGIN_CXX
 
 void Connection::failed(const std::string &reason)
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: failed: %s (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: failed: %s (old state %s)",
                  m_sessionID.c_str(),
                  reason.c_str(),
                  SessionCommon::ConnectionStateToString(m_state).c_str());
@@ -100,7 +100,7 @@ void Connection::process(const Caller_t &caller,
                          const GDBusCXX::DBusArray<uint8_t> &message,
                          const std::string &message_type)
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: D-Bus client %s sends %lu bytes, %s (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: D-Bus client %s sends %lu bytes, %s (old state %s)",
                  m_sessionID.c_str(),
                  caller.c_str(),
                  (unsigned long)message.first,
@@ -142,7 +142,7 @@ void Connection::process(const Caller_t &caller,
                     // whether it is a SAN package or a normal sync pacakge
                     if (message_type == TransportAgent::m_contentTypeServerAlertedNotificationDS) {
                         config = "default";
-                        SE_LOG_DEBUG(NULL, NULL, "SAN parsing failed, falling back to 'default' config");
+                        SE_LOG_DEBUG(NULL, "SAN parsing failed, falling back to 'default' config");
                     }
                 } else { //Server alerted notification case
                     // Extract server ID and match it against a server
@@ -178,7 +178,7 @@ void Connection::process(const Caller_t &caller,
                                 vector<string> urls = conf.getSyncURL();
                                 BOOST_FOREACH (string &url, urls){
                                     url = url.substr (0, url.find("+"));
-                                    SE_LOG_DEBUG (NULL, NULL, "matching against %s",url.c_str());
+                                    SE_LOG_DEBUG(NULL, "matching against %s",url.c_str());
                                     if (url.find ("obex-bt://") ==0 && url.substr(strlen("obex-bt://"), url.npos) == m_peerBtAddr) {
                                         config = server.first;
                                         break;
@@ -204,14 +204,12 @@ void Connection::process(const Caller_t &caller,
                     // create a default configuration name if none matched
                     if (config.empty()) {
                         config = serverID+"_"+getCurrentTime();
-                        SE_LOG_DEBUG(NULL,
-                                     NULL,
-                                     "SAN Server ID '%s' unknown, falling back to automatically created '%s' config",
+                        SE_LOG_DEBUG(NULL, "SAN Server ID '%s' unknown, falling back to automatically created '%s' config",
                                      serverID.c_str(), config.c_str());
                     }
 
 
-                    SE_LOG_DEBUG(NULL, NULL, "SAN sync with config %s", config.c_str());
+                    SE_LOG_DEBUG(NULL, "SAN sync with config %s", config.c_str());
 
                     m_SANContent.reset (new SANContent ());
                     // extract number of sources
@@ -220,22 +218,22 @@ void Connection::process(const Caller_t &caller,
                     uint32_t contentType;
                     std::string serverURI;
                     if (!numSources) {
-                        SE_LOG_DEBUG(NULL, NULL, "SAN message with no sources, using selected modes");
+                        SE_LOG_DEBUG(NULL, "SAN message with no sources, using selected modes");
                         // Synchronize all known sources with the default mode.
                         if (san.GetNthSync(0, syncType, contentType, serverURI)) {
-                            SE_LOG_DEBUG(NULL, NULL, "SAN invalid header, using default modes");
+                            SE_LOG_DEBUG(NULL, "SAN invalid header, using default modes");
                         } else if (syncType < SYNC_FIRST || syncType > SYNC_LAST) {
-                            SE_LOG_DEBUG(NULL, NULL, "SAN invalid sync type %d, using default modes", syncType);
+                            SE_LOG_DEBUG(NULL, "SAN invalid sync type %d, using default modes", syncType);
                         } else {
                             m_syncMode = PrettyPrintSyncMode(SyncMode(syncType), true);
-                            SE_LOG_DEBUG(NULL, NULL, "SAN sync mode for all configured sources: %s", m_syncMode.c_str());
+                            SE_LOG_DEBUG(NULL, "SAN sync mode for all configured sources: %s", m_syncMode.c_str());
                         }
                     } else {
                         for (int sync = 1; sync <= numSources; sync++) {
                             if (san.GetNthSync(sync, syncType, contentType, serverURI)) {
-                                SE_LOG_DEBUG(NULL, NULL, "SAN invalid sync entry #%d", sync);
+                                SE_LOG_DEBUG(NULL, "SAN invalid sync entry #%d", sync);
                             } else if (syncType < SYNC_FIRST || syncType > SYNC_LAST) {
-                                SE_LOG_DEBUG(NULL, NULL, "SAN invalid sync type %d for entry #%d, ignoring entry", syncType, sync);
+                                SE_LOG_DEBUG(NULL, "SAN invalid sync type %d for entry #%d, ignoring entry", syncType, sync);
                             } else {
                                 std::string syncMode = PrettyPrintSyncMode(SyncMode(syncType), true);
                                 m_SANContent->m_syncType.push_back (syncMode);
@@ -253,7 +251,7 @@ void Connection::process(const Caller_t &caller,
                 serverMode = true;
                 if (m_peer.find("config") == m_peer.end() &&
                     !m_peer["config"].empty()) {
-                    SE_LOG_DEBUG(NULL, NULL, "ignoring pre-chosen config '%s'",
+                    SE_LOG_DEBUG(NULL, "ignoring pre-chosen config '%s'",
                                  m_peer["config"].c_str());
                 }
 
@@ -272,7 +270,7 @@ void Connection::process(const Caller_t &caller,
                     SyncConfig peer(entry.first);
                     if (info.m_deviceID == peer.getRemoteDevID()) {
                         config = entry.first;
-                        SE_LOG_INFO(NULL, NULL, "matched %s against config %s (%s)",
+                        SE_LOG_INFO(NULL, "matched %s against config %s (%s)",
                                     info.toString().c_str(),
                                     entry.first.c_str(),
                                     entry.second.c_str());
@@ -300,6 +298,7 @@ void Connection::process(const Caller_t &caller,
                                                peerDeviceID,
                                                config,
                                                m_sessionID);
+            m_session->activate();
             if (serverMode) {
                 m_session->initServer(SharedBuffer(reinterpret_cast<const char *>(message.second),
                                                    message.first),
@@ -372,7 +371,7 @@ void Connection::send(const DBusArray<uint8_t> buffer,
                       const std::string &type,
                       const std::string &url)
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: send %lu bytes, %s, %s (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: send %lu bytes, %s, %s (old state %s)",
                  m_sessionID.c_str(),
                  (unsigned long)buffer.first,
                  type.c_str(),
@@ -398,7 +397,7 @@ void Connection::send(const DBusArray<uint8_t> buffer,
 
 void Connection::sendFinalMsg()
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: shut down (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: shut down (old state %s)",
                  m_sessionID.c_str(),
                  SessionCommon::ConnectionStateToString(m_state).c_str());
     if (m_state == SessionCommon::PROCESSING) {
@@ -414,7 +413,7 @@ void Connection::close(const Caller_t &caller,
                        bool normal,
                        const std::string &error)
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: client %s closes connection %s %s%s%s (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: client %s closes connection %s %s%s%s (old state %s)",
                  m_sessionID.c_str(),
                  caller.c_str(),
                  getPath(),
@@ -464,13 +463,13 @@ void Connection::close(const Caller_t &caller,
 void Connection::abort()
 {
     if (!m_abortSent) {
-        SE_LOG_DEBUG(NULL, NULL, "Connection %s: send abort to client (state %s)",
+        SE_LOG_DEBUG(NULL, "Connection %s: send abort to client (state %s)",
                      m_sessionID.c_str(),
                      SessionCommon::ConnectionStateToString(m_state).c_str());
         sendAbort();
         m_abortSent = true;
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "Connection %s: not sending abort to client, already done (state %s)",
+        SE_LOG_DEBUG(NULL, "Connection %s: not sending abort to client, already done (state %s)",
                      m_sessionID.c_str(),
                      SessionCommon::ConnectionStateToString(m_state).c_str());
     }
@@ -479,7 +478,7 @@ void Connection::abort()
 
 void Connection::shutdown()
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: self-destructing (state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: self-destructing (state %s)",
                  m_sessionID.c_str(),
                  SessionCommon::ConnectionStateToString(m_state).c_str());
     // trigger removal of this connection by removing all
@@ -513,7 +512,7 @@ Connection::Connection(Server &server,
     add(reply);
     m_server.autoTermRef();
 
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: created",
+    SE_LOG_DEBUG(NULL, "Connection %s: created",
                  m_sessionID.c_str());
 }
 
@@ -530,7 +529,7 @@ boost::shared_ptr<Connection> Connection::createConnection(Server &server,
 
 Connection::~Connection()
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: done with '%s'%s%s%s (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: done with '%s'%s%s%s (old state %s)",
                  m_sessionID.c_str(),
                  m_description.c_str(),
                  m_state == SessionCommon::DONE ? ", normal shutdown" : " unexpectedly",
@@ -555,7 +554,7 @@ Connection::~Connection()
 
 void Connection::ready()
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: ready to run (old state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: ready to run (old state %s)",
                  m_sessionID.c_str(),
                  SessionCommon::ConnectionStateToString(m_state).c_str());
 
@@ -563,7 +562,7 @@ void Connection::ready()
     std::string configName = m_session->getConfigName();
     SyncConfig config (configName);
     if (!config.exists() && m_SANContent) {
-        SE_LOG_DEBUG (NULL, NULL, "Configuration %s not exists for a runnable session in a SAN context, create it automatically", configName.c_str());
+        SE_LOG_DEBUG(NULL, "Configuration %s not exists for a runnable session in a SAN context, create it automatically", configName.c_str());
         ReadOperations::Config_t from;
         const std::string templateName = "SyncEvolution";
         // TODO: support SAN from other well known servers
@@ -599,7 +598,7 @@ void Connection::ready()
                 // additional parameters (like date
                 // range selection for events)
                 if (boost::starts_with(sourceConfig->getURINonEmpty(), serverURI)) {
-                    SE_LOG_DEBUG(NULL, NULL,
+                    SE_LOG_DEBUG(NULL,
                                  "SAN entry #%d = source %s with mode %s",
                                  (int)sync, source.c_str(), syncMode.c_str());
                     m_sourceModes[source] = syncMode;
@@ -608,13 +607,13 @@ void Connection::ready()
                 }
             }
             if (!found) {
-                SE_LOG_DEBUG(NULL, NULL,
+                SE_LOG_DEBUG(NULL,
                              "SAN entry #%d with mode %s ignored because Server URI %s is unknown",
                              (int)sync, syncMode.c_str(), serverURI.c_str());
             }
         }
         if (m_sourceModes.empty()) {
-            SE_LOG_DEBUG(NULL, NULL,
+            SE_LOG_DEBUG(NULL,
                     "SAN message with no known entries, falling back to default");
             m_syncMode = "";
         }
@@ -640,7 +639,7 @@ void Connection::activateTimeout()
 
 void Connection::timeoutCb()
 {
-    SE_LOG_DEBUG(NULL, NULL, "Connection %s: timed out after %ds (state %s)",
+    SE_LOG_DEBUG(NULL, "Connection %s: timed out after %ds (state %s)",
                  m_sessionID.c_str(), m_timeoutSeconds,
                  SessionCommon::ConnectionStateToString(m_state).c_str());
     failed(StringPrintf("timed out after %ds", m_timeoutSeconds));
index 674feae..c8acf6f 100644 (file)
@@ -41,7 +41,7 @@ ConnmanClient::ConnmanClient(Server &server):
         getProp.start(boost::bind(&ConnmanClient::getPropCb, this, _1, _2));
         m_propertyChanged.activate(boost::bind(&ConnmanClient::propertyChanged, this, _1, _2));
     }else{
-        SE_LOG_DEBUG (NULL, NULL, "DBus connection setup for connman failed");
+        SE_LOG_DEBUG(NULL, "DBus connection setup for connman failed");
     }
 }
 
@@ -53,10 +53,10 @@ void ConnmanClient::getPropCb (const std::map <std::string,
             // ensure there is still first set of singal set in case of no
             // connman available
             m_server.getPresenceStatus().updatePresenceStatus (true, PresenceStatus::HTTP_TRANSPORT);
-            SE_LOG_DEBUG (NULL, NULL, "No connman service available %s", error.c_str());
+            SE_LOG_DEBUG(NULL, "No connman service available %s", error.c_str());
             return;
         }
-        SE_LOG_DEBUG (NULL, NULL, "error in connmanCallback %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "error in connmanCallback %s", error.c_str());
         return;
     }
 
index 40486f5..5303234 100644 (file)
@@ -90,6 +90,9 @@ DBusSync::DBusSync(const SessionCommon::SyncParams &params,
                                     SYNC_NONE,
                                     0, 0, 0);
     }
+
+    // Forward the SourceSyncedSignal via D-Bus.
+    m_sourceSyncedSignal.connect(boost::bind(m_helper.emitSourceSynced, _1, _2));
 }
 
 DBusSync::~DBusSync()
@@ -220,19 +223,19 @@ void DBusSync::askPasswordAsync(const std::string &passwordName,
     }
 
     try {
-        SE_LOG_DEBUG(NULL, NULL, "asking parent for password");
+        SE_LOG_DEBUG(NULL, "asking parent for password");
         m_passwordSuccess = success;
         m_passwordFailure = failureException;
         m_helper.emitPasswordRequest(descr, key);
         if (!m_helper.connected()) {
-            SE_LOG_DEBUG(NULL, NULL, "password request failed, lost connection");
+            SE_LOG_DEBUG(NULL, "password request failed, lost connection");
             SE_THROW_EXCEPTION_STATUS(StatusException,
                                       StringPrintf("Could not get the '%s' password from user, no connection to UI.",
                                                    descr.c_str()),
                                       STATUS_PASSWORD_TIMEOUT);
         }
         if (SuspendFlags::getSuspendFlags().getState() != SuspendFlags::NORMAL) {
-            SE_LOG_DEBUG(NULL, NULL, "password request failed, was asked to terminate");
+            SE_LOG_DEBUG(NULL, "password request failed, was asked to terminate");
             SE_THROW_EXCEPTION_STATUS(StatusException,
                                       StringPrintf("Could not get the '%s' password from user, was asked to shut down.",
                                                    descr.c_str()),
@@ -254,7 +257,7 @@ void DBusSync::passwordResponse(bool timedOut, bool aborted, const std::string &
     std::swap(failureException, m_passwordFailure);
 
     if (success && failureException) {
-        SE_LOG_DEBUG(NULL, NULL, "password result: %s",
+        SE_LOG_DEBUG(NULL, "password result: %s",
                      timedOut ? "timeout or parent gone" :
                      aborted ? "user abort" :
                      password.empty() ? "empty password" :
index c7a4741..8d3c414 100644 (file)
@@ -30,7 +30,7 @@ DBusTransportAgent::DBusTransportAgent(SessionHelper &helper) :
 
 void DBusTransportAgent::serverAlerted()
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: server alerted (old state: %s, %s)",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: server alerted (old state: %s, %s)",
                  SessionCommon::ConnectionStateToString(m_state).c_str(),
                  m_error.c_str());
     if (m_state == SessionCommon::SETUP) {
@@ -44,7 +44,7 @@ void DBusTransportAgent::serverAlerted()
 void DBusTransportAgent::storeMessage(const GDBusCXX::DBusArray<uint8_t> &buffer,
                                       const std::string &type)
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: store incoming message, %ld bytes, %s (old state: %s, %s)",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: store incoming message, %ld bytes, %s (old state: %s, %s)",
                  (long)buffer.first,
                  type.c_str(),
                  SessionCommon::ConnectionStateToString(m_state).c_str(),
@@ -68,7 +68,7 @@ void DBusTransportAgent::storeMessage(const GDBusCXX::DBusArray<uint8_t> &buffer
 
 void DBusTransportAgent::storeState(const std::string &error)
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: got error '%s', current error is '%s', state %s",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: got error '%s', current error is '%s', state %s",
                  error.c_str(), m_error.c_str(), SessionCommon::ConnectionStateToString(m_state).c_str());
 
     if (!error.empty()) {
@@ -88,7 +88,7 @@ void DBusTransportAgent::storeState(const std::string &error)
 
 void DBusTransportAgent::send(const char *data, size_t len)
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: outgoing message %ld bytes, %s, %s",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: outgoing message %ld bytes, %s, %s",
                  (long)len, m_type.c_str(), m_url.c_str());
     if (m_state != SessionCommon::PROCESSING) {
         SE_THROW_EXCEPTION(TransportException,
@@ -103,7 +103,7 @@ void DBusTransportAgent::send(const char *data, size_t len)
 
 void DBusTransportAgent::shutdown()
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: shut down (old state: %s, %s)",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: shut down (old state: %s, %s)",
                  SessionCommon::ConnectionStateToString(m_state).c_str(),
                  m_error.c_str());
     if (m_state == SessionCommon::PROCESSING) {
@@ -114,7 +114,7 @@ void DBusTransportAgent::shutdown()
 
 void DBusTransportAgent::doWait()
 {
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: wait - old state: %s, %s",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: wait - old state: %s, %s",
                  SessionCommon::ConnectionStateToString(m_state).c_str(),
                  m_error.c_str());
     if (SuspendFlags::getSuspendFlags().getState() == SuspendFlags::NORMAL) {
@@ -123,7 +123,7 @@ void DBusTransportAgent::doWait()
         // wake us up.
         g_main_context_iteration(NULL, true);
     }
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus transport: wait - new state: %s, %s",
+    SE_LOG_DEBUG(NULL, "D-Bus transport: wait - new state: %s, %s",
                  SessionCommon::ConnectionStateToString(m_state).c_str(),
                  m_error.c_str());
 }
index 3cdf6df..a8d8c6d 100644 (file)
@@ -152,9 +152,9 @@ int main(int argc, char **argv, char **envp)
         setvbuf(stdout, NULL, _IONBF, 0);
 
         // Redirect output and optionally log to syslog.
-        LogRedirect redirect(true);
-        redirect.setLevel(stdoutEnabled ? level : Logger::NONE);
-        std::auto_ptr<LoggerBase> syslogger;
+        PushLogger<LogRedirect> redirect(new LogRedirect(LogRedirect::STDERR_AND_STDOUT));
+        redirect->setLevel(stdoutEnabled ? level : Logger::NONE);
+        PushLogger<LoggerSyslog> syslogger;
         if (syslogEnabled && level > Logger::NONE) {
             syslogger.reset(new LoggerSyslog(execName));
             syslogger->setLevel(level);
@@ -166,7 +166,7 @@ int main(int argc, char **argv, char **envp)
         // syncevo-dbus-helper.
         Logger::setProcessName("syncevo-dbus-server");
 
-        SE_LOG_DEBUG(NULL, NULL, "syncevo-dbus-server: catch SIGINT/SIGTERM in our own shutdown function");
+        SE_LOG_DEBUG(NULL, "syncevo-dbus-server: catch SIGINT/SIGTERM in our own shutdown function");
         signal(SIGTERM, niam);
         signal(SIGINT, niam);
         boost::shared_ptr<SuspendFlags::Guard> guard = SuspendFlags::getSuspendFlags().activate();
@@ -196,22 +196,25 @@ int main(int argc, char **argv, char **envp)
 
         dbus_bus_connection_undelay(conn);
         server->run();
-        SE_LOG_DEBUG(NULL, NULL, "cleaning up");
+        SE_LOG_DEBUG(NULL, "cleaning up");
 #ifdef ENABLE_DBUS_PIM
         manager.reset();
 #endif
         server.reset();
         obj.reset();
         guard.reset();
-        SE_LOG_DEBUG(NULL, NULL, "flushing D-Bus connection");
+        SE_LOG_DEBUG(NULL, "flushing D-Bus connection");
         conn.flush();
         conn.reset();
-        SE_LOG_INFO(NULL, NULL, "terminating");
+        SE_LOG_INFO(NULL, "terminating, closing logging");
+        syslogger.reset();
+        redirect.reset();
+        SE_LOG_INFO(NULL, "terminating");
         return 0;
     } catch ( const std::exception &ex ) {
-        SE_LOG_ERROR(NULL, NULL, "%s", ex.what());
+        SE_LOG_ERROR(NULL, "%s", ex.what());
     } catch (...) {
-        SE_LOG_ERROR(NULL, NULL, "unknown error");
+        SE_LOG_ERROR(NULL, "unknown error");
     }
 
     return 1;
index 6c462d5..1a36119 100644 (file)
@@ -46,7 +46,7 @@ NetworkManagerClient::NetworkManagerClient(Server &server) :
                                     &NetworkManagerClient::stateChanged,
                                     this, _1));
     } else {
-        SE_LOG_DEBUG(NULL, NULL,
+        SE_LOG_DEBUG(NULL,
                      "DBus connection setup for NetworkManager failed");
     }
 }
@@ -61,13 +61,13 @@ void NetworkManagerClient::stateChanged(uint32_t uiState)
     case NM_STATE_ASLEEP_DEPRECATED:
     case NM_STATE_CONNECTING_DEPRECATED:
     case NM_STATE_DISCONNECTED_DEPRECATED:
-        SE_LOG_DEBUG(NULL, NULL, "NetworkManager disconnected");
+        SE_LOG_DEBUG(NULL, "NetworkManager disconnected");
         m_server.getPresenceStatus().updatePresenceStatus(
             false, PresenceStatus::HTTP_TRANSPORT);
         break;
 
     default:
-        SE_LOG_DEBUG(NULL, NULL, "NetworkManager connected");
+        SE_LOG_DEBUG(NULL, "NetworkManager connected");
         m_server.getPresenceStatus().updatePresenceStatus(
             true, PresenceStatus::HTTP_TRANSPORT);
     }
@@ -95,10 +95,7 @@ void NetworkManagerClient::NetworkManagerProperties::getCallback(
     const std::string &error)
 {
     if(!error.empty()) {
-        SE_LOG_DEBUG (
-            NULL, NULL,
-            "Error in calling Get of Interface "
-            "org.freedesktop.DBus.Properties : %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "Error in calling Get of Interface org.freedesktop.DBus.Properties : %s", error.c_str());
     } else {
         // Now, and only now, do we know that NetworkManager is running.
         m_manager.m_available = true;
index e11dc59..caba91f 100644 (file)
@@ -62,7 +62,7 @@ gboolean (*notify_notification_show)(NotifyNotification *notification,
 
 static bool NotFound(const char *func)
 {
-    SE_LOG_DEBUG(NULL, NULL, "%s: not found", func);
+    SE_LOG_DEBUG(NULL, "%s: not found", func);
     return false;
 }
 #endif
@@ -102,7 +102,7 @@ bool NotificationBackendLibnotify::init()
     for (i = 1; i <= 4; i++) {
         dlhandle = dlopen(StringPrintf("libnotify.so.%d", i).c_str(), RTLD_LAZY|RTLD_GLOBAL);
         if (!dlhandle) {
-            SE_LOG_DEBUG(NULL, NULL, "failed to load libnotify.so.%d: %s", i, dlerror());
+            SE_LOG_DEBUG(NULL, "failed to load libnotify.so.%d: %s", i, dlerror());
         } else {
             break;
         }
@@ -123,7 +123,7 @@ bool NotificationBackendLibnotify::init()
         !LOOKUP(notify_notification_show)) {
         return false;
     }
-    SE_LOG_DEBUG(NULL, NULL, "using libnotify.so.%d", i);
+    SE_LOG_DEBUG(NULL, "using libnotify.so.%d", i);
 #endif
 
     m_initialized = notify_init("SyncEvolution");
index 97d53a3..9620594 100644 (file)
@@ -89,7 +89,7 @@ libphonenumber and is described below.
 Sorting
 =======
 
-The sort order can be "first/last", "last/first", "full name".
+The sort order can be "first/last", "last/first", "fullname".
 
     "first/last" sorts based on the first name stored in the "name"
     property, with the last name used to break ties between equal
@@ -97,7 +97,7 @@ The sort order can be "first/last", "last/first", "full name".
 
     "last/first" reverts that comparison.
 
-    "full name" sorts based on the full name chosen for the contact if
+    "fullname" sorts based on the full name chosen for the contact if
     there is such a string, otherwise it uses the concatenation of the
     individual name componts without prefix (= "[<first name>]
     [<middle name>] [<last name>] [<suffix>])" as fallback. In other
@@ -108,6 +108,9 @@ The sort order can be "first/last", "last/first", "full name".
 Sorting is case-insensitive. The default is "last/first" if not set
 earlier.
 
+In addition, an empty string as sort order picks a simple, ASCII-based
+"last/first" sorting. This is used for testing.
+
 
 Searching
 =========
@@ -116,7 +119,31 @@ Supported searches:
 
     [ ] - An empty list matches all contacts.
 
-    [ ['phone', '<number>'] ] - Look up a valid phone number (= "caller ID").
+    [ [ <search> ], [ 'limit', <number> ] ] - a 'limit' search
+    term with a number as parameter (formatted as string) can be added
+    at the top level term to truncate the search results
+    after a certain number of contacts. Example: Search([['any-contains',
+    'Joe'], ['limit', '10']]) => return the first 10 Joes.
+
+    As with any other search, the resulting view will be updated if
+    contact data changes.
+
+    The limit must not be changed in a RefineSearch(). A 'limit' term
+    may (but doesn't have to) be given. If it is given, its value must
+    match the value set when creating the search. This limitation
+    simplifies the implementation and its testing. The limitation
+    could be removed if there is sufficient demand.
+
+    [ [ <search> ] ] - the same as [ <search> ]
+
+    [ 'or', <search1>, <search2>, ... ] - combines 0 to n other
+    searches and results in a match if any of the sub-searches
+    matches. ['or'] without any sub-search does not match.
+
+    [ 'and', <search1>, <search2>, ... ] - like 'or', but matches if
+    and only if all of the sub-searches match.
+
+    [ 'phone', '<number>' ] - Look up a valid phone number (= "caller ID").
     The country code for the current locale is added if no country
     code was given in the number. Phone numbers in the unified address
     book must start with the resulting full number, after being normalized
@@ -132,24 +159,76 @@ Supported searches:
     - Phone numbers in the address book which cannot be normalized
       cannot be matched.
 
-    [ ['any-contains', '<text>', <flags>] ] - Sub-string search for <text>
-    in the following contact values: first, middle or last name,
-    formatted name, nick name, phone number (sub-string search which ignores
-    formatting and treats alpha characters as aliases, in contrast
-    to prefix match in 'phone') or email address. Optional flags include:
-    'case-insensitive' (the default), 'case-sensitive'.
-
-    Using a list will allow extending the search capabilities later,
-    for example by allowing multiple terms which all must match
-    and/or adding recursive queries like this:
-      ['and',
-       ['or', ['any-contains', 'joe'], ['any-contains', 'joan']],
-       ['phone', '1234']
-      ]
-
-
-Lookup and search are different: the former is based on a valid
-number, the later on user input.
+    [ 'is|contains|begins-with|ends-with', '<field>', '<text>',
+    '<flags>' ] - compares a specified field against the search
+    text. For the 'is' operation, the entire field must match, for
+    'contains' anywhere inside the value, for 'begins_with' at the
+    beginning and for 'ends_with' at the end.
+
+    Fields are referenced as in the contact dictionary (see below), using
+    multiple path components if necessary. Supported for matching are:
+    'full-name' - string
+    'nickname' - string
+    'structured-name/family' - string
+    'structured-name/given' - string
+    'structured-name/additional' - string
+    'phones/value' - telephone number
+    'emails/value' - string
+    'addresses/po-box' - string
+    'addresses/extension' - string
+    'addresses/street' - string
+    'addresses/locality' - string
+    'addresses/region' - string
+    'addresses/postal-code' - string
+    'addresses/country' - string
+
+    The fields referencing value lists ('phones', 'email', 'address')
+    check against any of the entries in these lists.
+
+    Except for 'phones/value', all values are treated as text values.
+    For text values, the default search without explicit flags is
+    case-insensitive and accent-sensitive. Spaces between words
+    matter. This behavior can be modified by giving additional,
+    optional flags after the search value:
+    'case-insensitive' - force case-insensitive search (available for the sake
+    of consistency and just in case, should the default ever change)
+    'case-sensitive' - force case-sensitive search
+
+    For telephone numbers, only digits are compared. Latin alphabetic
+    characters are treated as aliases for digits as they typically
+    occur on a keypad or old rotary dial phones ('A', 'b', 'c' map to
+    '1', etc.).
+
+    If the full name was not set explicitly for a contact, the
+    concatenation of the given, middle and family with a space as
+    separator is used instead when matching against the 'full-name'
+    field.
+
+    Using the current syntax it is not possible to define searches
+    where the *same* value in a value list must meet different
+    criteria ("cell phone number containing the digits
+    1234"). Something like that could be added as a future extensions,
+    for example by allowing search values to have more complex types
+    than the simple '<text>'.
+
+    [ 'any-contains', '<text>', <flags> ] - Sub-string search for
+    <text> in the following contact values: first, middle or last
+    name, formatted name, nick name, phone number, or email
+    address. Optional flags include: 'case-insensitive' (the default),
+    'case-sensitive'.
+
+    This search is equivalent to:
+    [ 'or',
+      [ 'contains', 'structured-name/given', '<text>', <flags> ],
+      [ 'contains', 'structured-name/additional', '<text>', <flags> ],
+      [ 'contains', 'structured-name/family', '<text>', <flags> ],
+      [ 'contains', 'full-name', '<text>', <flags> ],
+      [ 'contains', 'emails/value', '<text>', <flags> ],
+      [ 'contains', 'phones/value', '<text>']
+    ]
+
+Note that lookup and search are different: the former is based on a
+valid number, the later on user input.
 
 A 'phone' lookup can compare normalized numbers including the country
 code, to ensure that the lookup is exact and does not mismatch numbers
@@ -160,26 +239,9 @@ An 'any-contains' search is based on user input, which might contain
 just some digits in the middle of the phone number. The search ignores
 formatting in both input and address book.
 
-In both cases, alpha characters are treated as aliases for their
-corresponding digit on a keypad when matching phone numbers.
-
-In addition, an empty string as sort order picks a simple, ASCII-based
-"last/first" sorting. This is used for testing.
-
-A 'limit' search term with a number as parameter (formatted as string)
-can be added to a 'phone' or 'any-contains' search term to truncate the
-search results after a certain number of contacts. Example:
-  Search([['any-contains', 'Joe'], ['limit', '10']])
-  => return the first 10 Joes.
-
-As with any other search, the resulting view will be updated if
-contact data changes.
-
-The limit must not be changed in a RefineSearch(). A 'limit' term may
-(but doesn't have to) be given. If it is given, its value must match
-the value set when creating the search. This limitation simplifies the
-implementation and its testing. The limitation could be removed if
-there is sufficient demand.
+Compound searches with 'and' and 'or' are evaluated lazily, from the
+first to the last sub-search. Therefore it makes sense to list
+sub-searches that are more likely to match first.
 
 
 Phone number lookup
@@ -247,6 +309,29 @@ Not supported via the API at the moment:
 - selecting a specific phone address book
 - selecting which vCard properties get cached
 
+Syncing
+=======
+
+SetSync() in SyncEvolution will return a dict with all of the
+following entries set:
+    "modified": boolean - data was modified
+    "added" : integer - number of new contacts
+    "updated" : integer - number of updated contacts
+    "removed" : integer - number of deleted contacts
+
+In other words, the caller can reliably detect when nothing changed,
+but when contacts were modified or added, it needs to read them to
+determine which kind of properties were modified or added.
+
+The SyncProgress is triggered by SyncEvolution with three different
+keys (in this order, with "modified" occuring zero or more times):
+  "started" "modified"* "done"
+
+"started" and "done" send an empty data dictionary. "modified" sends
+the same dictionary as the one returned by SyncPeer(), if contact data
+was modified. So by definition, "modified" will be True in the
+dictionary, but is included anyway for the sake of consistency.
+
 
 Contact Data
 ============
index eb869a7..8bc2a41 100644 (file)
@@ -49,30 +49,45 @@ boost::shared_ptr<EDSFView> EDSFView::create(const ESourceRegistryCXX &registry,
 
 void EDSFView::doStart()
 {
-    ESourceCXX source(e_source_registry_ref_source(m_registry, m_uuid.c_str()), false);
+    // This function may get entered again, see retry code in opened() below.
+
+    ESourceCXX source(e_source_registry_ref_source(m_registry, m_uuid.c_str()), TRANSFER_REF);
     if (!source) {
-        SE_LOG_DEBUG(NULL, NULL, "edsf %s: address book not found", m_uuid.c_str());
+        SE_LOG_DEBUG(NULL, "edsf %s: address book not found", m_uuid.c_str());
         return;
     }
     m_store = EdsfPersonaStoreCXX::steal(edsf_persona_store_new_with_source_registry(m_registry, source));
     GErrorCXX gerror;
-    m_ebook = EBookClientCXX::steal(
-#ifdef HAVE_E_BOOK_CLIENT_NEW_DIRECT
-                                    getenv("SYNCEVOLUTION_NO_PIM_EDS_DIRECT") ?
-                                    e_book_client_new(source, gerror) :
-                                    e_book_client_new_direct(m_registry, source, gerror)
-#elif defined(HAVE_E_BOOK_CLIENT_CONNECT_DIRECT_SYNC)
-                                    getenv("SYNCEVOLUTION_NO_PIM_EDS_DIRECT") ?
-                                    e_book_client_new(source, gerror) :
-                                    E_BOOK_CLIENT(e_book_client_connect_direct_sync(m_registry, source, NULL, gerror))
-#else
-                                    e_book_client_new(source, gerror)
+#ifdef HAVE_E_BOOK_CLIENT_CONNECT_DIRECT_SYNC
+    // TODO: use asynchronous version, once there is one in EDS
+    if (!getenv("SYNCEVOLUTION_NO_PIM_EDS_DIRECT")) {
+        while (!m_ebook) {
+            SE_LOG_DEBUG(NULL, "edsf %s: synchronously connecting direct", m_uuid.c_str());
+            m_ebook = EBookClientCXX::steal(E_BOOK_CLIENT(e_book_client_connect_direct_sync(m_registry, source, NULL, gerror)));
+            if (!m_ebook) {
+                SE_LOG_DEBUG(NULL, "edsf %s: no DRA client for address book: %s", m_uuid.c_str(), gerror ? gerror->message : "???");
+                if (gerror && g_error_matches(gerror, E_CLIENT_ERROR, E_CLIENT_ERROR_BUSY)) {
+                    SE_LOG_DEBUG(NULL, "edsf %s: try again", m_uuid.c_str());
+                    gerror.clear();
+                } else {
+                    return;
+                }
+            }
+        }
+        // Already opened by call above, proceed immediately.
+        opened(true, NULL);
+        return;
+    }
 #endif
-                                    );
+
+    SE_LOG_DEBUG(NULL, "edsf %s: new client", m_uuid.c_str());
+    m_ebook = EBookClientCXX::steal(e_book_client_new(source, gerror));
     if (!m_ebook) {
-        SE_LOG_DEBUG(NULL, NULL, "edfs %s: no client for address book: %s", m_uuid.c_str(), gerror->message);
+        SE_LOG_DEBUG(NULL, "edsf %s: no normal client for address book: %s", m_uuid.c_str(), gerror ? gerror->message : "???");
         return;
     }
+
+    SE_LOG_DEBUG(NULL, "edsf %s: asynchronous open", m_uuid.c_str());
     SYNCEVO_GLIB_CALL_ASYNC(e_client_open,
                             boost::bind(&EDSFView::opened,
                                         m_self,
@@ -87,9 +102,14 @@ void EDSFView::opened(gboolean success, const GError *gerror) throw()
 {
     try {
         if (!success) {
-            SE_LOG_DEBUG(NULL, NULL, "edfs %s: opening failed: %s", m_uuid.c_str(), gerror->message);
-            return;
+            SE_LOG_DEBUG(NULL, "edsf %s: opening failed: %s", m_uuid.c_str(), gerror ? gerror->message : "???");
+            if (gerror && g_error_matches(gerror, E_CLIENT_ERROR, E_CLIENT_ERROR_BUSY)) {
+                SE_LOG_DEBUG(NULL, "edsf %s: try again", m_uuid.c_str());
+                doStart();
+                return;
+            }
         }
+        SE_LOG_DEBUG(NULL, "edsf %s: opened successfully, reading contacts asynchronously: %s", m_uuid.c_str(), m_query.c_str());
         SYNCEVO_GLIB_CALL_ASYNC(e_book_client_get_contacts,
                                 boost::bind(&EDSFView::read,
                                             m_self,
@@ -107,17 +127,22 @@ void EDSFView::opened(gboolean success, const GError *gerror) throw()
 void EDSFView::read(gboolean success, GSList *contactslist, const GError *gerror) throw()
 {
     try {
+        SE_LOG_DEBUG(NULL, "edsf %s: reading contacts completed: %s",
+                     m_uuid.c_str(),
+                     success ? "success" :
+                     gerror ? gerror->message :
+                     "failed without error");
         GListCXX<EContact, GSList, GObjectDestructor> contacts(contactslist);
         if (!success) {
-            SE_LOG_DEBUG(NULL, NULL, "edfs %s: reading failed: %s", m_uuid.c_str(), gerror->message);
+            SE_LOG_DEBUG(NULL, "edsf %s: reading failed: %s", m_uuid.c_str(), gerror->message);
             return;
         }
 
         BOOST_FOREACH (EContact *contact, contacts) {
-            EdsfPersonaCXX persona(edsf_persona_new(m_store, contact), false);
-            GeeHashSetCXX personas(gee_hash_set_new(G_TYPE_OBJECT, g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL), false);
+            EdsfPersonaCXX persona(edsf_persona_new(m_store, contact), TRANSFER_REF);
+            GeeHashSetCXX personas(gee_hash_set_new(G_TYPE_OBJECT, g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL), TRANSFER_REF);
             gee_collection_add(GEE_COLLECTION(personas.get()), persona.get());
-            FolksIndividualCXX individual(folks_individual_new(GEE_SET(personas.get())), false);
+            FolksIndividualCXX individual(folks_individual_new(GEE_SET(personas.get())), TRANSFER_REF);
             m_addedSignal(individual);
         }
         m_isQuiescent = true;
index cd354dc..f4ea2dd 100644 (file)
@@ -89,7 +89,7 @@ void FilteredView::fillViewCb()
 {
     // Can we add back contacts which were excluded because of the
     // maximum number of results?
-    SE_LOG_DEBUG(NULL, NULL, "filtered view %s: fill view on idle", getName());
+    SE_LOG_DEBUG(NULL, "filtered view %s: fill view on idle", getName());
     int candidate = m_local2parent.empty() ? 0 : m_local2parent.back() + 1;
     while (!isFull() &&
            candidate < m_parent->size()) {
@@ -303,7 +303,7 @@ void FilteredView::addIndividual(int parentIndex, const IndividualData &data)
             if (newEndIndex > index &&
                 !m_filter->isIncluded(newEndIndex)) {
                 const IndividualData *data = m_parent->getContact(m_local2parent.back());
-                SE_LOG_DEBUG(NULL, NULL, "%s: removed at #%ld/%ld to make room for new entry", getName(), (long)(newEndIndex - 1), (long)m_local2parent.size());
+                SE_LOG_DEBUG(NULL, "%s: removed at #%ld/%ld to make room for new entry", getName(), (long)(newEndIndex - 1), (long)m_local2parent.size());
                 m_local2parent.pop_back();
                 m_removedSignal(newEndIndex - 1, *data);
                 // Iterator might have pointed to removed entry, which may have
@@ -312,10 +312,10 @@ void FilteredView::addIndividual(int parentIndex, const IndividualData &data)
             }
 
             m_local2parent.insert(it, parentIndex);
-            SE_LOG_DEBUG(NULL, NULL, "%s: added at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
+            SE_LOG_DEBUG(NULL, "%s: added at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
             m_addedSignal(index, data);
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "%s: not added at #%ld/%ld because outside of result range", getName(), (long)index, (long)m_local2parent.size());
+            SE_LOG_DEBUG(NULL, "%s: not added at #%ld/%ld because outside of result range", getName(), (long)index, (long)m_local2parent.size());
         }
     }
 }
@@ -341,7 +341,7 @@ void FilteredView::removeIndividual(int parentIndex, const IndividualData &data)
 
     if (found) {
         size_t index = it - m_local2parent.begin();
-        SE_LOG_DEBUG(NULL, NULL, "%s: removed at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
+        SE_LOG_DEBUG(NULL, "%s: removed at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
         m_local2parent.erase(it);
         m_removedSignal(index, data);
         // Try adding more contacts from the parent once the parent
@@ -363,11 +363,11 @@ void FilteredView::modifyIndividual(int parentIndex, const IndividualData &data)
         size_t index = it - m_local2parent.begin();
         if (matches) {
             // Still matched, merely pass on modification signal.
-            SE_LOG_DEBUG(NULL, NULL, "%s: modified at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
+            SE_LOG_DEBUG(NULL, "%s: modified at #%ld/%ld", getName(), (long)index, (long)m_local2parent.size());
             m_modifiedSignal(index, data);
         } else {
             // Removed.
-            SE_LOG_DEBUG(NULL, NULL, "%s: removed at #%ld/%ld due to modification", getName(), (long)index, (long)m_local2parent.size());
+            SE_LOG_DEBUG(NULL, "%s: removed at #%ld/%ld due to modification", getName(), (long)index, (long)m_local2parent.size());
             m_local2parent.erase(it);
             m_removedSignal(index, data);
             fillView();
@@ -377,7 +377,7 @@ void FilteredView::modifyIndividual(int parentIndex, const IndividualData &data)
         size_t index = it - m_local2parent.begin();
         if (m_filter->isIncluded(index)) {
             m_local2parent.insert(it, parentIndex);
-            SE_LOG_DEBUG(NULL, NULL, "%s: added at #%ld/%ld due to modification", getName(), (long)index, (long)m_local2parent.size());
+            SE_LOG_DEBUG(NULL, "%s: added at #%ld/%ld due to modification", getName(), (long)index, (long)m_local2parent.size());
             m_addedSignal(index, data);
         }
     } else {
index 7c5ac7e..6fd4dba 100644 (file)
@@ -40,9 +40,9 @@ SE_BEGIN_CXX
 static void logResult(const GError *gerror, const char *operation)
 {
     if (gerror) {
-        SE_LOG_ERROR(NULL, NULL, "%s: %s", operation, gerror->message);
+        SE_LOG_ERROR(NULL, "%s: %s", operation, gerror->message);
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "%s: done", operation);
+        SE_LOG_DEBUG(NULL, "%s: done", operation);
     }
 }
 
@@ -63,7 +63,7 @@ public:
         if (fn) {
             const char *family = folks_structured_name_get_family_name(fn);
             const char *given = folks_structured_name_get_given_name(fn);
-            SE_LOG_DEBUG(NULL, NULL, "criteria: formatted name: %s, %s",
+            SE_LOG_DEBUG(NULL, "criteria: formatted name: %s, %s",
                          family, given);
             if (m_firstLast) {
                 criteria.push_back(given ? given : "");
@@ -73,7 +73,7 @@ public:
                 criteria.push_back(given ? given : "");
             }
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "criteria: no formatted");
+            SE_LOG_DEBUG(NULL, "criteria: no formatted");
         }
     }
 
@@ -94,7 +94,7 @@ void IndividualData::init(const IndividualCompare *compare,
                           const LocaleFactory *locale,
                           FolksIndividual *individual)
 {
-    m_individual = individual;
+    m_individual = FolksIndividualCXX(individual, ADD_REF);
     if (compare) {
         m_criteria.clear();
         compare->createCriteria(individual, m_criteria);
@@ -135,7 +135,7 @@ bool IndividualCompare::compare(const Criteria_t &a, const Criteria_t &b) const
 
 IndividualAggregator::IndividualAggregator(const boost::shared_ptr<LocaleFactory> &locale) :
     m_locale(locale),
-    m_databases(gee_hash_set_new(G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL), false)
+    m_databases(gee_hash_set_new(G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL), TRANSFER_REF)
 {
 }
 
@@ -169,7 +169,7 @@ std::string IndividualAggregator::dumpDatabases()
 {
     std::string res;
 
-    BOOST_FOREACH (const gchar *tmp, GeeStringCollection(GEE_COLLECTION(m_databases.get()))) {
+    BOOST_FOREACH (const gchar *tmp, GeeStringCollection(GEE_COLLECTION(m_databases.get()), ADD_REF)) {
         if (!res.empty()) {
             res += ", ";
         }
@@ -180,7 +180,7 @@ std::string IndividualAggregator::dumpDatabases()
 
 void IndividualAggregator::storePrepared()
 {
-    SE_LOG_DEBUG(NULL, NULL, "backend store is prepared");
+    SE_LOG_DEBUG(NULL, "backend store is prepared");
 
     // Have to hard-code the list of known backends that we don't want.
     SYNCEVO_GLIB_CALL_ASYNC(folks_backend_store_disable_backend,
@@ -214,10 +214,10 @@ void IndividualAggregator::storePrepared()
 
 void IndividualAggregator::backendsLoaded()
 {
-    SE_LOG_DEBUG(NULL, NULL, "backend store has loaded backends");
-    GeeCollectionCXX coll(folks_backend_store_list_backends(m_backendStore));
-    BOOST_FOREACH (FolksBackend *backend, GeeCollCXX<FolksBackend *>(coll.get())) {
-        SE_LOG_DEBUG(NULL, NULL, "folks backend: %s", folks_backend_get_name(backend));
+    SE_LOG_DEBUG(NULL, "backend store has loaded backends");
+    GeeCollectionCXX coll(folks_backend_store_list_backends(m_backendStore), TRANSFER_REF);
+    BOOST_FOREACH (FolksBackend *backend, GeeCollCXX<FolksBackend *>(coll)) {
+        SE_LOG_DEBUG(NULL, "folks backend: %s", folks_backend_get_name(backend));
     }
     m_eds =
         FolksBackendCXX::steal(folks_backend_store_dup_backend_by_name(m_backendStore, "eds"));
@@ -225,10 +225,10 @@ void IndividualAggregator::backendsLoaded()
         // Remember system store, for writing contacts.
         GeeMap *stores = folks_backend_get_persona_stores(m_eds);
         FolksPersonaStore *systemStore = static_cast<FolksPersonaStore *>(gee_map_get(stores, "system-address-book"));
-        m_systemStore = systemStore;
+        m_systemStore = FolksPersonaStoreCXX(systemStore, TRANSFER_REF);
 
         // Tell the backend which databases we want.
-        SE_LOG_DEBUG(NULL, NULL, "backends loaded: setting EDS persona stores: [%s]",
+        SE_LOG_DEBUG(NULL, "backends loaded: setting EDS persona stores: [%s]",
                      dumpDatabases().c_str());
         folks_backend_set_persona_stores(m_eds, GEE_SET(m_databases.get()));
 
@@ -243,7 +243,7 @@ void IndividualAggregator::backendsLoaded()
         // Execute delayed work.
         m_backendsLoadedSignal();
     } else {
-        SE_LOG_ERROR(NULL, NULL, "EDS backend not active?!");
+        SE_LOG_ERROR(NULL, "EDS backend not active?!");
     }
 }
 
@@ -256,11 +256,11 @@ void IndividualAggregator::setDatabases(std::set<std::string> &databases)
 
     if (m_eds) {
         // Backend is loaded, tell it about the change.
-        SE_LOG_DEBUG(NULL, NULL, "backends already loaded: setting EDS persona stores directly: [%s]",
+        SE_LOG_DEBUG(NULL, "backends already loaded: setting EDS persona stores directly: [%s]",
                      dumpDatabases().c_str());
         folks_backend_set_persona_stores(m_eds, GEE_SET(m_databases.get()));
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "backends not loaded yet: setting EDS persona stores delayed: [%s]",
+        SE_LOG_DEBUG(NULL, "backends not loaded yet: setting EDS persona stores delayed: [%s]",
                      dumpDatabases().c_str());
     }
 }
@@ -505,9 +505,9 @@ void IndividualAggregator::doRunWithPersona(const boost::function<void (FolksPer
                                             const ErrorCb_t &onError) throw()
 {
     try {
-        GeeMap *personas = folks_persona_store_get_personas(m_systemStore);
         typedef GeeCollCXX< GeeMapEntryWrapper<const gchar *, FolksPersona *> > Coll;
-        BOOST_FOREACH (const Coll::value_type &entry, Coll(personas)) {
+        Coll personas(folks_persona_store_get_personas(m_systemStore), ADD_REF);
+        BOOST_FOREACH (const Coll::value_type &entry, personas) {
             // key seems to be <store id>:<persona ID>
             const gchar *key = entry.key();
             const gchar *colon = strchr(key, ':');
@@ -536,12 +536,12 @@ private:
         done = true;
         if (gerror) {
             failed = true;
-            SE_LOG_ERROR(NULL, NULL, "%s: %s", func, gerror->message);
+            SE_LOG_ERROR(NULL, "%s: %s", func, gerror->message);
         }
     }
 
     void open() {
-        FolksIndividualAggregatorCXX aggregator(folks_individual_aggregator_new(), false);
+        FolksIndividualAggregatorCXX aggregator(folks_individual_aggregator_new(), TRANSFER_REF);
         bool done = false, failed = false;
         SYNCEVO_GLIB_CALL_ASYNC(folks_individual_aggregator_prepare,
                                 boost::bind(asyncCB, _1,
@@ -559,36 +559,36 @@ private:
         }
 
         GeeMap *individuals = folks_individual_aggregator_get_individuals(aggregator);
-        SE_LOG_DEBUG(NULL, NULL, "%d individuals", gee_map_get_size(individuals));
+        typedef GeeCollCXX< GeeMapEntryWrapper<const gchar *, FolksIndividual *> > Coll;
+        Coll coll(individuals, ADD_REF);
+        SE_LOG_DEBUG(NULL, "%d individuals", gee_map_get_size(individuals));
 
-        GeeMapIteratorCXX it(gee_map_map_iterator(individuals), false);
+        GeeMapIteratorCXX it(gee_map_map_iterator(individuals), TRANSFER_REF);
         while (gee_map_iterator_next(it)) {
             PlainGStr id(reinterpret_cast<gchar *>(gee_map_iterator_get_key(it)));
             FolksIndividualCXX individual(reinterpret_cast<FolksIndividual *>(gee_map_iterator_get_value(it)),
-                                          false);
+                                          TRANSFER_REF);
             GValueStringCXX fullname;
             g_object_get_property(G_OBJECT(individual.get()), "full-name", &fullname);
-            SE_LOG_DEBUG(NULL, NULL, "map: id %s name %s = %s",
+            SE_LOG_DEBUG(NULL, "map: id %s name %s = %s",
                          id.get(),
                          fullname.toString().c_str(),
                          fullname.get());
         }
 
-        GeeIteratorCXX it2(gee_iterable_iterator(GEE_ITERABLE(individuals)), false);
+        GeeIteratorCXX it2(gee_iterable_iterator(GEE_ITERABLE(individuals)), TRANSFER_REF);
         while (gee_iterator_next(it2)) {
-            GeeMapEntryCXX entry(reinterpret_cast<GeeMapEntry *>(gee_iterator_get(it2)), false);
+            GeeMapEntryCXX entry(reinterpret_cast<GeeMapEntry *>(gee_iterator_get(it2)), TRANSFER_REF);
             gchar *id(reinterpret_cast<gchar *>(const_cast<gpointer>(gee_map_entry_get_key(entry))));
             FolksIndividual *individual(reinterpret_cast<FolksIndividual *>(const_cast<gpointer>(gee_map_entry_get_value(entry))));
             GValueStringCXX fullname;
             g_object_get_property(G_OBJECT(individual), "full-name", &fullname);
-            SE_LOG_DEBUG(NULL, NULL, "iterable: id %s name %s = %s",
+            SE_LOG_DEBUG(NULL, "iterable: id %s name %s = %s",
                          id,
                          fullname.toString().c_str(),
                          fullname.get());
         }
 
-        typedef GeeCollCXX< GeeMapEntryWrapper<const gchar *, FolksIndividual *> > Coll;
-        Coll coll(individuals);
         Coll::const_iterator curr = coll.begin();
         Coll::const_iterator end = coll.end();
         if (curr != end) {
@@ -597,30 +597,30 @@ private:
             GValueStringCXX fullname;
             g_object_get_property(G_OBJECT(individual), "full-name", &fullname);
 
-            SE_LOG_DEBUG(NULL, NULL, "first: id %s name %s = %s",
+            SE_LOG_DEBUG(NULL, "first: id %s name %s = %s",
                          id,
                          fullname.toString().c_str(),
                          fullname.get());
             ++curr;
         }
 
-        BOOST_FOREACH (Coll::value_type &entry, Coll(individuals)) {
+        BOOST_FOREACH (Coll::value_type &entry, coll) {
             const gchar *id = entry.key();
             FolksIndividual *individual(entry.value());
             // GValueStringCXX fullname;
             // g_object_get_property(G_OBJECT(individual), "full-name", &fullname);
             const gchar *fullname = folks_name_details_get_full_name(FOLKS_NAME_DETAILS(individual));
 
-            SE_LOG_DEBUG(NULL, NULL, "boost: id %s %s name %s",
+            SE_LOG_DEBUG(NULL, "boost: id %s %s name %s",
                          id,
                          fullname ? "has" : "has no",
                          fullname);
 
-            GeeSet *emails = folks_email_details_get_email_addresses(FOLKS_EMAIL_DETAILS(individual));
-            SE_LOG_DEBUG(NULL, NULL, "     %d emails", gee_collection_get_size(GEE_COLLECTION(emails)));
             typedef GeeCollCXX<FolksEmailFieldDetails *> EmailColl;
-            BOOST_FOREACH (FolksEmailFieldDetails *email, EmailColl(emails)) {
-                SE_LOG_DEBUG(NULL, NULL, "     %s",
+            EmailColl emails(folks_email_details_get_email_addresses(FOLKS_EMAIL_DETAILS(individual)), ADD_REF);
+            SE_LOG_DEBUG(NULL, "     %d emails", gee_collection_get_size(GEE_COLLECTION(emails.get())));
+            BOOST_FOREACH (FolksEmailFieldDetails *email, emails) {
+                SE_LOG_DEBUG(NULL, "     %s",
                              reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(email))));
             }
         }
@@ -630,7 +630,7 @@ private:
 
     void gvalue() {
         GValueBooleanCXX b(true);
-        SE_LOG_DEBUG(NULL, NULL, "GValueBooleanCXX(true) = %s", b.toString().c_str());
+        SE_LOG_DEBUG(NULL, "GValueBooleanCXX(true) = %s", b.toString().c_str());
         GValueBooleanCXX b2(b);
         CPPUNIT_ASSERT_EQUAL(b.get(), b2.get());
         b2.set(false);
@@ -639,7 +639,7 @@ private:
         CPPUNIT_ASSERT_EQUAL(b.get(), b2.get());
 
         GValueStringCXX str("foo bar");
-        SE_LOG_DEBUG(NULL, NULL, "GValueStringCXX(\"foo bar\") = %s", str.toString().c_str());
+        SE_LOG_DEBUG(NULL, "GValueStringCXX(\"foo bar\") = %s", str.toString().c_str());
         CPPUNIT_ASSERT(!strcmp(str.get(), "foo bar"));
         GValueStringCXX str2(str);
         CPPUNIT_ASSERT(!strcmp(str.get(), str2.get()));
index 5ebb6e8..853240b 100644 (file)
@@ -56,7 +56,6 @@ SE_GOBJECT_TYPE(FolksNoteFieldDetails)
 SE_GOBJECT_TYPE(FolksPostalAddressFieldDetails)
 SE_GOBJECT_TYPE(FolksPersona)
 SE_GOBJECT_TYPE(FolksLocation)
-SE_GOBJECT_TYPE(GeeCollection)
 SE_GOBJECT_TYPE(GeeHashSet)
 SE_GLIB_TYPE(GHashTable, g_hash_table)
 
@@ -190,6 +189,15 @@ class MatchAll : public IndividualFilter
     virtual bool matches(const IndividualData &data) const { return true; }
 };
 
+/**
+ * A fake filter which just carries the maximum result parameter.
+ * Separate type because the dynamic_cast<> can be used to detect
+ * this special case.
+ */
+class ParamFilter : public MatchAll
+{
+};
+
 class FullView;
 
 /**
index 8ec65ef..b0d5d7a 100644 (file)
@@ -54,10 +54,10 @@ void FullView::doStart()
     IndividualData data;
     typedef GeeCollCXX< GeeMapEntryWrapper<const gchar *, FolksIndividual *> > Coll;
     GeeMap *map = folks_individual_aggregator_get_individuals(m_folks);
-    Coll coll(map);
+    Coll coll(map, ADD_REF);
     guint size = gee_map_get_size(map);
     individuals.reserve(size);
-    SE_LOG_DEBUG(NULL, NULL, "starting with %u individuals", size);
+    SE_LOG_DEBUG(NULL, "starting with %u individuals", size);
     BOOST_FOREACH (const Coll::value_type &entry, coll) {
         FolksIndividual *individual = entry.value();
         data.init(m_compare.get(), m_locale.get(), individual);
@@ -110,7 +110,7 @@ void FullView::individualsChanged(GeeSet *added,
                                   FolksPersona *actor,
                                   FolksGroupDetailsChangeReason reason)
 {
-    SE_LOG_DEBUG(NULL, NULL, "individuals changed, %s, %d added, %d removed, message: %s",
+    SE_LOG_DEBUG(NULL, "individuals changed, %s, %d added, %d removed, message: %s",
                  actor ? folks_persona_get_display_id(actor) : "<<no actor>>",
                  added ? gee_collection_get_size(GEE_COLLECTION(added)) : 0,
                  removed ? gee_collection_get_size(GEE_COLLECTION(removed)) : 0,
@@ -119,14 +119,14 @@ void FullView::individualsChanged(GeeSet *added,
     // Remove first, to match the "remove + added = modified" change optimization
     // in Manager::handleChange().
     if (removed) {
-        BOOST_FOREACH (FolksIndividual *individual, Coll(removed)) {
+        BOOST_FOREACH (FolksIndividual *individual, Coll(removed, ADD_REF)) {
             removeIndividual(individual);
         }
     }
     if (added) {
         // TODO (?): Optimize adding many new individuals by pre-sorting them,
         // then using that information to avoid comparisons in addIndividual().
-        BOOST_FOREACH (FolksIndividual *individual, Coll(added)) {
+        BOOST_FOREACH (FolksIndividual *individual, Coll(added, ADD_REF)) {
             addIndividual(individual);
         }
     }
@@ -135,7 +135,7 @@ void FullView::individualsChanged(GeeSet *added,
 void FullView::individualModified(gpointer gobject,
                                   GParamSpec *pspec)
 {
-    SE_LOG_DEBUG(NULL, NULL, "individual %p modified",
+    SE_LOG_DEBUG(NULL, "individual %p modified",
                  gobject);
     FolksIndividual *individual = FOLKS_INDIVIDUAL(gobject);
     // Delay the expensive modification check until the process is
@@ -144,14 +144,14 @@ void FullView::individualModified(gpointer gobject,
     //
     // See https://bugzilla.gnome.org/show_bug.cgi?id=684764
     // "too many FolksIndividual modification signals"
-    m_pendingModifications.insert(individual);
+    m_pendingModifications.insert(FolksIndividualCXX(individual, ADD_REF));
     waitForIdle();
 }
 
 void FullView::quiescenceChanged()
 {
     bool quiescent = folks_individual_aggregator_get_is_quiescent(m_folks);
-    SE_LOG_DEBUG(NULL, NULL, "aggregator is %s", quiescent ? "quiescent" : "busy");
+    SE_LOG_DEBUG(NULL, "aggregator is %s", quiescent ? "quiescent" : "busy");
     // In practice, libfolks only switches from "busy" to "quiescent"
     // once. See https://bugzilla.gnome.org/show_bug.cgi?id=684766
     // "enter and leave quiescence state".
@@ -159,7 +159,7 @@ void FullView::quiescenceChanged()
         int seconds = atoi(getEnv("SYNCEVOLUTION_PIM_DELAY_FOLKS", "0"));
         if (seconds > 0) {
             // Delay the quiescent state change as requested.
-            SE_LOG_DEBUG(NULL, NULL, "delay aggregrator quiescence by %d seconds", seconds);
+            SE_LOG_DEBUG(NULL, "delay aggregrator quiescence by %d seconds", seconds);
             m_quiescenceDelay.runOnce(seconds,
                                       boost::bind(&FullView::quiescenceChanged,
                                                   this));
@@ -182,7 +182,7 @@ void FullView::doAddIndividual(Entries_t::auto_type &data)
                          IndividualDataCompare(m_compare));
     size_t index = it - m_entries.begin();
     it = m_entries.insert(it, data.release());
-    SE_LOG_DEBUG(NULL, NULL, "full view: added at #%ld/%ld", (long)index, (long)m_entries.size());
+    SE_LOG_DEBUG(NULL, "full view: added at #%ld/%ld", (long)index, (long)m_entries.size());
     m_addedSignal(index, *it);
     waitForIdle();
 
@@ -221,12 +221,12 @@ void FullView::modifyIndividual(FolksIndividual *individual)
                 // sorting became invalid => move the entry. Do it
                 // as simple as possible, because this is not expected
                 // to happen often.
-                SE_LOG_DEBUG(NULL, NULL, "full view: temporarily removed at #%ld/%ld", (long)index, (long)m_entries.size());
+                SE_LOG_DEBUG(NULL, "full view: temporarily removed at #%ld/%ld", (long)index, (long)m_entries.size());
                 Entries_t::auto_type old = m_entries.release(it);
                 m_removedSignal(index, *old);
                 doAddIndividual(data);
             } else {
-                SE_LOG_DEBUG(NULL, NULL, "full view: modified at #%ld/%ld", (long)index, (long)m_entries.size());
+                SE_LOG_DEBUG(NULL, "full view: modified at #%ld/%ld", (long)index, (long)m_entries.size());
                 // Use potentially modified pre-computed data.
                 m_entries.replace(it, data.release());
                 m_modifiedSignal(index, *it);
@@ -237,7 +237,7 @@ void FullView::modifyIndividual(FolksIndividual *individual)
     }
     // Not a bug: individual might have been removed before we got
     // around to processing the modification notification.
-    SE_LOG_DEBUG(NULL, NULL, "full view: modified individual not found");
+    SE_LOG_DEBUG(NULL, "full view: modified individual not found");
 }
 
 void FullView::removeIndividual(FolksIndividual *individual)
@@ -247,7 +247,7 @@ void FullView::removeIndividual(FolksIndividual *individual)
          ++it) {
         if (it->m_individual.get() == individual) {
             size_t index = it - m_entries.begin();
-            SE_LOG_DEBUG(NULL, NULL, "full view: removed at #%ld/%ld", (long)index, (long)m_entries.size());
+            SE_LOG_DEBUG(NULL, "full view: removed at #%ld/%ld", (long)index, (long)m_entries.size());
             Entries_t::auto_type data = m_entries.release(it);
             m_removedSignal(index, *data);
             waitForIdle();
@@ -255,12 +255,12 @@ void FullView::removeIndividual(FolksIndividual *individual)
         }
     }
     // A bug?!
-    SE_LOG_DEBUG(NULL, NULL, "full view: individual to be removed not found");
+    SE_LOG_DEBUG(NULL, "full view: individual to be removed not found");
 }
 
 void FullView::onIdle()
 {
-    SE_LOG_DEBUG(NULL, NULL, "full view: process is idle");
+    SE_LOG_DEBUG(NULL, "full view: process is idle");
 
     // Process delayed contact modifications.
     BOOST_FOREACH (const FolksIndividualCXX &individual,
index 157d032..3802bce 100644 (file)
@@ -105,7 +105,7 @@ template <> struct IsNonDefault< GeeCollCXX<FolksRoleFieldDetails *> >
     {
         // Don't send empty set and set which contains only empty roles.
         if (value) {
-            BOOST_FOREACH (FolksRoleFieldDetails *value, GeeCollCXX<FolksRoleFieldDetails *>(value)) {
+            BOOST_FOREACH (FolksRoleFieldDetails *value, GeeCollCXX<FolksRoleFieldDetails *>(value, ADD_REF)) {
                 FolksRole *role = static_cast<FolksRole *>(const_cast<gpointer>((folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(value)))));
                 if (IsNonDefault<const gchar *>::check(folks_role_get_organisation_name(role)) ||
                     IsNonDefault<const gchar *>::check(folks_role_get_title(role)) ||
@@ -152,12 +152,13 @@ template <class O, class V, class B> void SerializeFolks(GDBusCXX::builder_type
         SE_THROW("casting to base class failed");
     }
     V value = get(obj);
+    B coll(value, ADD_REF);
 
     if (IsNonDefault<B>::check(value)) {
         g_variant_builder_open(&builder, G_VARIANT_TYPE(INDIVIDUAL_DICT_ENTRY)); // dict entry
         GDBusCXX::dbus_traits<std::string>::append(builder, key);
         g_variant_builder_open(&builder, G_VARIANT_TYPE("v")); // variant
-        GDBusCXX::dbus_traits<B>::append(builder, value);
+        GDBusCXX::dbus_traits<B>::append(builder, coll);
         g_variant_builder_close(&builder); // variant
         g_variant_builder_close(&builder); // dict entry
     }
@@ -273,7 +274,8 @@ template <> struct dbus_traits<FolksAbstractFieldDetails *> {
         g_variant_builder_open(&builder, G_VARIANT_TYPE("as"));
         GeeMultiMap *map = folks_abstract_field_details_get_parameters(value);
         if (map) {
-            BOOST_FOREACH (const char *type, GeeCollCXX<const char *>(gee_multi_map_get(map, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE))) {
+            GeeCollCXX<const char *> coll(gee_multi_map_get(map, FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE), TRANSFER_REF);
+            BOOST_FOREACH (const char *type, coll) {
                 dbus_traits<const char *>::append(builder, type);
             }
         }
@@ -286,12 +288,13 @@ template <> struct dbus_traits<FolksPostalAddressFieldDetails *> {
     static void append(builder_type &builder, FolksPostalAddressFieldDetails *value) {
         g_variant_builder_open(&builder, G_VARIANT_TYPE(StringPrintf("(%sas)", INDIVIDUAL_DICT).c_str())); // pair of dict and string list
         FolksAbstractFieldDetails *fieldDetails = FOLKS_ABSTRACT_FIELD_DETAILS(value);
-        gconstpointer v = folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(fieldDetails));
+        gconstpointer v = folks_abstract_field_details_get_value(fieldDetails);
         dbus_traits<FolksPostalAddress *>::append(builder, static_cast<FolksPostalAddress *>(const_cast<gpointer>(v)));
         g_variant_builder_open(&builder, G_VARIANT_TYPE("as"));
         GeeMultiMap *map = folks_abstract_field_details_get_parameters(fieldDetails);
         if (map) {
-            BOOST_FOREACH (const char *type, GeeCollCXX<const char *>(gee_multi_map_get(map, "type"))) {
+            GeeCollCXX<const char *> coll(gee_multi_map_get(map, "type"), TRANSFER_REF);
+            BOOST_FOREACH (const char *type, coll) {
                 dbus_traits<const char *>::append(builder, type);
             }
         }
@@ -303,7 +306,7 @@ template <> struct dbus_traits<FolksPostalAddressFieldDetails *> {
 template <> struct dbus_traits<FolksNoteFieldDetails *> {
     static void append(builder_type &builder, FolksNoteFieldDetails *value) {
         FolksAbstractFieldDetails *fieldDetails = FOLKS_ABSTRACT_FIELD_DETAILS(value);
-        gconstpointer v = folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(fieldDetails));
+        gconstpointer v = folks_abstract_field_details_get_value(fieldDetails);
         dbus_traits<const char *>::append(builder, static_cast<const char *>(v)); // plain string
         // Ignore parameters. LANGUAGE is hardly ever set.
     }
@@ -312,7 +315,7 @@ template <> struct dbus_traits<FolksNoteFieldDetails *> {
 template <> struct dbus_traits<FolksRoleFieldDetails *> {
     static void append(builder_type &builder, FolksRoleFieldDetails *value) {
         FolksAbstractFieldDetails *fieldDetails = FOLKS_ABSTRACT_FIELD_DETAILS(value);
-        gconstpointer v = folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(fieldDetails));
+        gconstpointer v = folks_abstract_field_details_get_value(fieldDetails);
         dbus_traits<FolksRole *>::append(builder, static_cast<FolksRole *>(const_cast<gpointer>((v))));
         // Ignore parameters. LANGUAGE is hardly ever set.
     }
@@ -344,7 +347,7 @@ template <> struct dbus_traits<GDateTime *> {
         // GTimeZone local = g_time_zone_new_local()
         // and use that throughout the runtime of the process, like
         // folks-eds does.
-        GDateTimeCXX local(g_date_time_to_local(value), false);
+        GDateTimeCXX local(g_date_time_to_local(value), TRANSFER_REF);
         gint year, month, day;
         g_date_time_get_ymd(local.get(), &year, &month, &day);
         g_variant_builder_open(&builder, G_VARIANT_TYPE("(iii)")); // tuple with year, month, day
@@ -399,11 +402,11 @@ static void DBus2AbstractField(GDBusCXX::ExtractArgs &context,
                                        g_object_unref,
                                        FolksAbstractFieldDetailsHash, NULL, NULL,
                                        FolksAbstractFieldDetailsEqual, NULL, NULL),
-                      false);
+                      TRANSFER_REF);
     BOOST_FOREACH (const Details_t::value_type &entry, value) {
         const Details_t::value_type::first_type &val = entry.first;
         const Details_t::value_type::second_type &flags = entry.second;
-        FolksAbstractFieldDetailsCXX field(fieldNew(val.c_str(), NULL), false);
+        FolksAbstractFieldDetailsCXX field(fieldNew(val.c_str(), NULL), TRANSFER_REF);
         BOOST_FOREACH (const std::string &type, flags) {
             folks_abstract_field_details_add_parameter(field.get(),
                                                        FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE,
@@ -438,9 +441,9 @@ static void DBus2SimpleAbstractField(GDBusCXX::ExtractArgs &context,
                                        g_object_unref,
                                        FolksAbstractFieldDetailsHash, NULL, NULL,
                                        FolksAbstractFieldDetailsEqual, NULL, NULL),
-                      false);
+                      TRANSFER_REF);
     BOOST_FOREACH (const std::string &val, value) {
-        FolksAbstractFieldDetailsCXX field(fieldNew(val.c_str(), NULL), false);
+        FolksAbstractFieldDetailsCXX field(fieldNew(val.c_str(), NULL), TRANSFER_REF);
         gee_collection_add(GEE_COLLECTION(set.get()),
                            field.get());
     }
@@ -466,10 +469,10 @@ static void DBus2Role(GDBusCXX::ExtractArgs &context,
                                        g_object_unref,
                                        FolksAbstractFieldDetailsHash, NULL, NULL,
                                        FolksAbstractFieldDetailsEqual, NULL, NULL),
-                      false);
+                      TRANSFER_REF);
     BOOST_FOREACH (const StringMap &entry, value) {
         FolksRoleCXX role(folks_role_new(NULL, NULL, NULL),
-                          false);
+                          TRANSFER_REF);
         BOOST_FOREACH (const StringPair &aspect, entry) {
             const std::string &k = aspect.first;
             const std::string &v = aspect.second;
@@ -482,7 +485,7 @@ static void DBus2Role(GDBusCXX::ExtractArgs &context,
             }
         }
         FolksRoleFieldDetailsCXX field(folks_role_field_details_new(role.get(), NULL),
-                                       false);
+                                       TRANSFER_REF);
         gee_collection_add(GEE_COLLECTION(set.get()),
                            field.get());
     }
@@ -500,7 +503,7 @@ static void DBus2Groups(GDBusCXX::ExtractArgs &context,
 {
     std::list<std::string> value;
     GDBusCXX::dbus_traits<typeof(value)>::get(context, valueIter, value);
-    GeeHashSetCXX set(gee_hash_set_new(G_TYPE_STRING, (GBoxedCopyFunc)g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL), false);
+    GeeHashSetCXX set(gee_hash_set_new(G_TYPE_STRING, (GBoxedCopyFunc)g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL), TRANSFER_REF);
     BOOST_FOREACH(const std::string &entry, value) {
         gee_collection_add(GEE_COLLECTION(set.get()),
                            entry.c_str());
@@ -527,7 +530,7 @@ static void DBus2Addr(GDBusCXX::ExtractArgs &context,
                                        g_object_unref,
                                        FolksAbstractFieldDetailsHash, NULL, NULL,
                                        FolksAbstractFieldDetailsEqual, NULL, NULL),
-                      false);
+                      TRANSFER_REF);
     BOOST_FOREACH (const Details_t::value_type &entry, value) {
         const StringMap &fields = entry.first;
         const std::vector<std::string> &flags = entry.second;
@@ -540,9 +543,9 @@ static void DBus2Addr(GDBusCXX::ExtractArgs &context,
                                                                GetWithDef(fields, CONTACT_HASH_ADDRESSES_COUNTRY).c_str(),
                                                                NULL /* address format */,
                                                                NULL /* uid */),
-                                      false);
+                                      TRANSFER_REF);
         FolksAbstractFieldDetailsCXX field(FOLKS_ABSTRACT_FIELD_DETAILS(folks_postal_address_field_details_new(address.get(), NULL)),
-                                           false);
+                                           TRANSFER_REF);
         BOOST_FOREACH (const std::string &type, flags) {
             folks_abstract_field_details_add_parameter(field.get(),
                                                        FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE,
@@ -596,15 +599,15 @@ void DBus2PersonaDetails(GDBusCXX::ExtractArgs &context,
                                                                               GetWithDef(value, CONTACT_HASH_STRUCTURED_NAME_ADDITIONAL).c_str(),
                                                                               GetWithDef(value, CONTACT_HASH_STRUCTURED_NAME_PREFIXES).c_str(),
                                                                               GetWithDef(value, CONTACT_HASH_STRUCTURED_NAME_SUFFIXES).c_str()),
-                                                    false));
+                                                    TRANSFER_REF));
         } else if (key == CONTACT_HASH_PHOTO) {
             std::string value;
             GDBusCXX::dbus_traits<std::string>::get(context, valueIter, value);
             GFileCXX file(g_file_new_for_uri(value.c_str()),
-                          false);
+                          TRANSFER_REF);
             g_hash_table_insert(details.get(),
                                 const_cast<gchar *>(folks_persona_store_detail_key(FOLKS_PERSONA_DETAIL_AVATAR)),
-                                new GValueObjectCXX(g_file_icon_new(file.get()), false));
+                                new GValueObjectCXX(g_file_icon_new(file.get()), TRANSFER_REF));
         } else if (key == CONTACT_HASH_BIRTHDAY) {
             boost::tuple<int, int, int> value;
             GDBusCXX::dbus_traits<typeof(value)>::get(context, valueIter, value);
@@ -612,16 +615,16 @@ void DBus2PersonaDetails(GDBusCXX::ExtractArgs &context,
                                                      value.get<1>(),
                                                      value.get<2>(),
                                                      0, 0, 0),
-                               false);
+                               TRANSFER_REF);
             g_hash_table_insert(details.get(),
                                 const_cast<gchar *>(folks_persona_store_detail_key(FOLKS_PERSONA_DETAIL_BIRTHDAY)),
-                                new GValueDateTimeCXX(g_date_time_to_utc(local.get()), false));
+                                new GValueDateTimeCXX(g_date_time_to_utc(local.get()), TRANSFER_REF));
         } else if (key == CONTACT_HASH_LOCATION) {
             boost::tuple<double, double> value;
             GDBusCXX::dbus_traits<typeof(value)>::get(context, valueIter, value);
             FolksLocationCXX location(folks_location_new(value.get<0>(),
                                                          value.get<1>()),
-                                      false);
+                                      TRANSFER_REF);
             g_hash_table_insert(details.get(),
                                 const_cast<gchar *>(folks_persona_store_detail_key(FOLKS_PERSONA_DETAIL_LOCATION)),
                                 new GValueObjectCXX(location.get()));
@@ -660,7 +663,7 @@ struct Pending
     Pending(const Result<void ()> &result,
             FolksPersona *persona) :
         m_result(result),
-        m_persona(persona),
+        m_persona(persona, ADD_REF),
         m_current(0)
     {}
 
@@ -695,7 +698,7 @@ static void Details2PersonaStep(const GError *gerror, const boost::shared_ptr<Pe
         if (current < pending->m_changes.size()) {
             // send next change, as determined earlier
             Pending::Change &change = pending->m_changes[current];
-            SE_LOG_DEBUG(NULL, NULL, "modification step %d/%d: %s",
+            SE_LOG_DEBUG(NULL, "modification step %d/%d: %s",
                          (int)current,
                          (int)pending->m_changes.size(),
                          boost::get<1>(change));
@@ -714,7 +717,7 @@ void Details2Persona(const Result<void ()> &result, const PersonaDetails &detail
     boost::shared_ptr<Pending> pending(new Pending(result, persona));
 
 #define PUSH_CHANGE(_prepare) \
-        SE_LOG_DEBUG(NULL, NULL, "queueing new change: %s", #_prepare); \
+        SE_LOG_DEBUG(NULL, "queueing new change: %s", #_prepare); \
         pending->m_changes.push_back(Pending::Change(boost::bind(_prepare, \
                                                                  details, \
                                                                  value, \
index 61615fc..4cf2951 100644 (file)
 #include <phonenumbers/phonenumberutil.h>
 #include <phonenumbers/logger.h>
 #include <boost/locale.hpp>
-#include <boost/lexical_cast.hpp>
+
+#include <unicode/unistr.h>
+#include <unicode/translit.h>
+#include <unicode/bytestream.h>
 
 SE_GLIB_TYPE(EBookQuery, e_book_query)
 
@@ -44,20 +47,87 @@ SE_BEGIN_CXX
  *
  * The drawback of higher levels is that they are computationally more
  * expensive (transformation is slower and leads to longer transformed
- * strings, thus a longer string comparisons during compare) and may
- * end up comparing aspects that are irrelevant (like case).
+ * strings, thus a longer string comparisons during compare).
  *
- * The default here pays attention to accents, but ignores the case.
+ * The default here pays attention to accents, case, and
+ * punctuation. According to
+ * http://userguide.icu-project.org/collation/concepts, it is required
+ * for Japanese.
  */
-static const boost::locale::collator_base::level_type DEFAULT_COLLATION_LEVEL = boost::locale::collator_base::secondary;
+static const boost::locale::collator_base::level_type DEFAULT_COLLATION_LEVEL =
+    boost::locale::collator_base::quaternary;
 
-class CompareFirstLastBoost : public IndividualCompare {
+class CompareBoost : public IndividualCompare, private boost::noncopyable {
     std::locale m_locale;
     const boost::locale::collator<char> &m_collator;
+    std::auto_ptr<icu::Transliterator> m_trans;
+
+public:
+    CompareBoost(const std::locale &locale);
+
+    std::string transform(const char *string) const;
+    std::string transform(const std::string &string) const;
+};
+
+CompareBoost::CompareBoost(const std::locale &locale) :
+    m_locale(locale),
+    m_collator(std::use_facet< boost::locale::collator<char> >(m_locale))
+{
+    std::string language = std::use_facet<boost::locale::info>(m_locale).language();
+    if (language == "zh") {
+        // Hard-code Pinyin sorting for all Chinese countries.
+        //
+        // There are three different ways of sorting Chinese and Western names:
+        // 1. Sort Chinese characters in pinyin order, but separate from Latin
+        // 2. Sort them interleaved with Latin, by the first character.
+        // 3. Sort them fully interleaved with Latin.
+        // Source: Mark Davis, ICU, http://sourceforge.net/mailarchive/forum.php?thread_name=CAJ2xs_GEnN-u3%3D%2B7P5puaF1%2BU__fX-4tuA-kEybThN9xsw577Q%40mail.gmail.com&forum_name=icu-support
+        //
+        // Either 2 or 3 is what apparently more people expect. Implementing 2 is
+        // harder, whereas 3 fits into the "generate keys, compare keys" concept
+        // of IndividualCompare, so we kind of arbitrarily implement that.
+        SE_LOG_DEBUG(NULL, "enabling Pinyin");
+
+        UErrorCode status = U_ZERO_ERROR;
+        icu::Transliterator *trans = icu::Transliterator::createInstance("Han-Latin", UTRANS_FORWARD, status);
+        m_trans.reset(trans);
+        if (U_FAILURE(status)) {
+            SE_LOG_WARNING(NULL, "creating ICU Han-Latin Transliterator for Pinyin failed, error code %s; falling back to normal collation", u_errorName(status));
+            m_trans.reset();
+        } else if (!trans) {
+            SE_LOG_WARNING(NULL, "creating ICU Han-Latin Transliterator for Pinyin failed, no error code; falling back to normal collation");
+        }
+    }
+}
+
+std::string CompareBoost::transform(const char *string) const
+{
+    if (!string) {
+        return "";
+    }
+    return transform(std::string(string));
+}
+
+std::string CompareBoost::transform(const std::string &string) const
+{
+    if (m_trans.get()) {
+        // std::string result;
+        // m_trans->transliterate(icu::StringPiece(string), icu::StringByteSink<std::string>(&result));
+        icu::UnicodeString buffer(string.c_str());
+        m_trans->transliterate(buffer);
+        std::string result;
+        buffer.toUTF8String(result);
+        result = m_collator.transform(DEFAULT_COLLATION_LEVEL, result);
+        return result;
+    } else {
+        return m_collator.transform(DEFAULT_COLLATION_LEVEL, string);
+    }
+}
+
+class CompareFirstLastBoost : public CompareBoost {
 public:
     CompareFirstLastBoost(const std::locale &locale) :
-        m_locale(locale),
-        m_collator(std::use_facet< boost::locale::collator<char> >(m_locale))
+        CompareBoost(locale)
     {}
 
     virtual void createCriteria(FolksIndividual *individual, Criteria_t &criteria) const {
@@ -66,19 +136,16 @@ public:
         if (fn) {
             const char *family = folks_structured_name_get_family_name(fn);
             const char *given = folks_structured_name_get_given_name(fn);
-            criteria.push_back(given ? m_collator.transform(DEFAULT_COLLATION_LEVEL, given) : "");
-            criteria.push_back(family ? m_collator.transform(DEFAULT_COLLATION_LEVEL, family) : "");
+            criteria.push_back(transform(given));
+            criteria.push_back(transform(family));
         }
     }
 };
 
-class CompareLastFirstBoost : public IndividualCompare {
-    std::locale m_locale;
-    const boost::locale::collator<char> &m_collator;
+class CompareLastFirstBoost : public CompareBoost {
 public:
     CompareLastFirstBoost(const std::locale &locale) :
-        m_locale(locale),
-        m_collator(std::use_facet< boost::locale::collator<char> >(m_locale))
+        CompareBoost(locale)
     {}
 
     virtual void createCriteria(FolksIndividual *individual, Criteria_t &criteria) const {
@@ -87,25 +154,22 @@ public:
         if (fn) {
             const char *family = folks_structured_name_get_family_name(fn);
             const char *given = folks_structured_name_get_given_name(fn);
-            criteria.push_back(family ? m_collator.transform(DEFAULT_COLLATION_LEVEL, family) : "");
-            criteria.push_back(given ? m_collator.transform(DEFAULT_COLLATION_LEVEL, given) : "");
+            criteria.push_back(transform(family));
+            criteria.push_back(transform(given));
         }
     }
 };
 
-class CompareFullnameBoost : public IndividualCompare {
-    std::locale m_locale;
-    const boost::locale::collator<char> &m_collator;
+class CompareFullnameBoost : public CompareBoost {
 public:
     CompareFullnameBoost(const std::locale &locale) :
-        m_locale(locale),
-        m_collator(std::use_facet< boost::locale::collator<char> >(m_locale))
+        CompareBoost(locale)
     {}
 
     virtual void createCriteria(FolksIndividual *individual, Criteria_t &criteria) const {
         const char *fullname = folks_name_details_get_full_name(FOLKS_NAME_DETAILS(individual));
         if (fullname) {
-            criteria.push_back(m_collator.transform(DEFAULT_COLLATION_LEVEL, fullname));
+            criteria.push_back(transform(fullname));
         } else {
             FolksStructuredName *fn =
                 folks_name_details_get_structured_name(FOLKS_NAME_DETAILS(individual));
@@ -127,12 +191,16 @@ public:
                 APPEND(family);
                 APPEND(suffix);
 #undef APPEND
-                criteria.push_back(m_collator.transform(DEFAULT_COLLATION_LEVEL, buffer));
+                criteria.push_back(transform(buffer));
             }
         }
     }
 };
 
+/**
+ * Implements 'any-contains' and acts as utility base class
+ * for the other text comparison operators.
+ */
 class AnyContainsBoost : public IndividualFilter
 {
 public:
@@ -222,6 +290,81 @@ public:
         return boost::contains(tel, m_searchValueTel);
     }
 
+    bool isSearchText(const char *text) const
+    {
+        if (!text) {
+            return false;
+        }
+        switch (m_mode) {
+        case CASE_SENSITIVE:
+            return boost::equals(text, m_searchValue);
+            break;
+        case CASE_INSENSITIVE: {
+            std::string lower(boost::locale::fold_case(text, m_locale));
+            return boost::equals(lower, m_searchValueTransformed);
+            break;
+        }
+        }
+        // not reached
+        return false;
+    }
+
+    bool isSearchTel(const char *text) const
+    {
+        std::string tel = normalizePhoneText(text);
+        return boost::equals(tel, m_searchValueTel);
+    }
+
+    bool beginsWithSearchText(const char *text) const
+    {
+        if (!text) {
+            return false;
+        }
+        switch (m_mode) {
+        case CASE_SENSITIVE:
+            return boost::starts_with(text, m_searchValue);
+            break;
+        case CASE_INSENSITIVE: {
+            std::string lower(boost::locale::fold_case(text, m_locale));
+            return boost::starts_with(lower, m_searchValueTransformed);
+            break;
+        }
+        }
+        // not reached
+        return false;
+    }
+
+    bool beginsWithSearchTel(const char *text) const
+    {
+        std::string tel = normalizePhoneText(text);
+        return boost::starts_with(tel, m_searchValueTel);
+    }
+
+    bool endsWithSearchText(const char *text) const
+    {
+        if (!text) {
+            return false;
+        }
+        switch (m_mode) {
+        case CASE_SENSITIVE:
+            return boost::ends_with(text, m_searchValue);
+            break;
+        case CASE_INSENSITIVE: {
+            std::string lower(boost::locale::fold_case(text, m_locale));
+            return boost::ends_with(lower, m_searchValueTransformed);
+            break;
+        }
+        }
+        // not reached
+        return false;
+    }
+
+    bool endsWithSearchTel(const char *text) const
+    {
+        std::string tel = normalizePhoneText(text);
+        return boost::ends_with(tel, m_searchValueTel);
+    }
+
     virtual bool matches(const IndividualData &data) const
     {
         FolksIndividual *individual = data.m_individual.get();
@@ -252,16 +395,16 @@ public:
         }
         FolksEmailDetails *emailDetails = FOLKS_EMAIL_DETAILS(individual);
         GeeSet *emails = folks_email_details_get_email_addresses(emailDetails);
-        BOOST_FOREACH (FolksEmailFieldDetails *email, GeeCollCXX<FolksEmailFieldDetails *>(emails)) {
+        BOOST_FOREACH (FolksAbstractFieldDetails *email, GeeCollCXX<FolksAbstractFieldDetails *>(emails, ADD_REF)) {
             const gchar *value =
-                reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(email)));
+                reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(email));
             if (containsSearchText(value)) {
                 return true;
             }
         }
         FolksPhoneDetails *phoneDetails = FOLKS_PHONE_DETAILS(individual);
         GeeSet *phones = folks_phone_details_get_phone_numbers(phoneDetails);
-        BOOST_FOREACH (FolksAbstractFieldDetails *phone, GeeCollCXX<FolksAbstractFieldDetails *>(phones)) {
+        BOOST_FOREACH (FolksAbstractFieldDetails *phone, GeeCollCXX<FolksAbstractFieldDetails *>(phones, ADD_REF)) {
             const gchar *value =
                 reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(phone));
             if (containsSearchTel(value)) {
@@ -280,6 +423,357 @@ private:
     // const bool (*m_contains)(const std::string &, const std::string &, const std::locale &);
 };
 
+class FilterFullName : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterFullName(const std::locale &locale,
+                   const std::string &searchValue,
+                   Mode mode,
+                   bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksNameDetails *name = FOLKS_NAME_DETAILS(individual);
+        const char *fullname = folks_name_details_get_full_name(name);
+        return (this->*m_operation)(fullname);
+    }
+};
+
+class FilterNickname : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterNickname(const std::locale &locale,
+                   const std::string &searchValue,
+                   Mode mode,
+                   bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksNameDetails *name = FOLKS_NAME_DETAILS(individual);
+        const char *fullname = folks_name_details_get_nickname(name);
+        return (this->*m_operation)(fullname);
+    }
+};
+
+class FilterFamilyName : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterFamilyName(const std::locale &locale,
+                     const std::string &searchValue,
+                     Mode mode,
+                     bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksStructuredName *fn =
+            folks_name_details_get_structured_name(FOLKS_NAME_DETAILS(individual));
+        if (fn) {
+            const char *name = folks_structured_name_get_family_name(fn);
+            return (this->*m_operation)(name);
+        } else {
+            return false;
+        }
+    }
+};
+
+class FilterGivenName : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterGivenName(const std::locale &locale,
+                    const std::string &searchValue,
+                    Mode mode,
+                    bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksStructuredName *fn =
+            folks_name_details_get_structured_name(FOLKS_NAME_DETAILS(individual));
+        if (fn) {
+            const char *name = folks_structured_name_get_given_name(fn);
+            return (this->*m_operation)(name);
+        } else {
+            return false;
+        }
+    }
+};
+
+class FilterAdditionalName : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterAdditionalName(const std::locale &locale,
+                         const std::string &searchValue,
+                         Mode mode,
+                         bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksStructuredName *fn =
+            folks_name_details_get_structured_name(FOLKS_NAME_DETAILS(individual));
+        if (fn) {
+            const char *name = folks_structured_name_get_additional_names(fn);
+            return (this->*m_operation)(name);
+        } else {
+            return false;
+        }
+    }
+};
+
+class FilterEmails : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterEmails(const std::locale &locale,
+                 const std::string &searchValue,
+                 Mode mode,
+                 bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksEmailDetails *emailDetails = FOLKS_EMAIL_DETAILS(individual);
+        GeeSet *emails = folks_email_details_get_email_addresses(emailDetails);
+        BOOST_FOREACH (FolksAbstractFieldDetails *email, GeeCollCXX<FolksAbstractFieldDetails *>(emails, ADD_REF)) {
+            const gchar *value =
+                reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(email));
+            if ((this->*m_operation)(value)) {
+                return true;
+            }
+        }
+        return false;
+    }
+};
+
+class FilterTel : public AnyContainsBoost
+{
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterTel(const std::locale &locale,
+              const std::string &searchValue,
+              bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, CASE_SENSITIVE /* doesn't matter */),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksPhoneDetails *phoneDetails = FOLKS_PHONE_DETAILS(individual);
+        GeeSet *phones = folks_phone_details_get_phone_numbers(phoneDetails);
+        BOOST_FOREACH (FolksAbstractFieldDetails *phone, GeeCollCXX<FolksAbstractFieldDetails *>(phones, ADD_REF)) {
+            const gchar *value =
+                reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(phone));
+            if ((this->*m_operation)(value)) {
+                return true;
+            }
+        }
+        return false;
+    }
+};
+
+class FilterAddr : public AnyContainsBoost
+{
+protected:
+    bool (AnyContainsBoost::*m_operation)(const char *text) const;
+
+public:
+    FilterAddr(const std::locale &locale,
+               const std::string &searchValue,
+               Mode mode,
+               bool (AnyContainsBoost::*operation)(const char *text) const) :
+        AnyContainsBoost(locale, searchValue, mode),
+        m_operation(operation)
+    {
+    }
+
+    virtual bool matches(const IndividualData &data) const
+    {
+        FolksIndividual *individual = data.m_individual.get();
+        FolksPostalAddressDetails *addressDetails = FOLKS_POSTAL_ADDRESS_DETAILS(individual);
+        GeeSet *addresses = folks_postal_address_details_get_postal_addresses(addressDetails);
+        BOOST_FOREACH (FolksPostalAddressFieldDetails *address, GeeCollCXX<FolksPostalAddressFieldDetails *>(addresses, ADD_REF)) {
+            const FolksPostalAddress *value =
+                reinterpret_cast<const FolksPostalAddress *>(folks_abstract_field_details_get_value(FOLKS_ABSTRACT_FIELD_DETAILS(address)));
+            if (matchesAddr(value)) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const = 0;
+};
+
+class FilterAddrPOBox : public FilterAddr
+{
+public:
+    FilterAddrPOBox(const std::locale &locale,
+                    const std::string &searchValue,
+                    Mode mode,
+                    bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_po_box(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrExtension : public FilterAddr
+{
+public:
+    FilterAddrExtension(const std::locale &locale,
+                        const std::string &searchValue,
+                        Mode mode,
+                        bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_extension(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrStreet : public FilterAddr
+{
+public:
+    FilterAddrStreet(const std::locale &locale,
+                     const std::string &searchValue,
+                     Mode mode,
+                     bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_street(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrLocality : public FilterAddr
+{
+public:
+    FilterAddrLocality(const std::locale &locale,
+                       const std::string &searchValue,
+                       Mode mode,
+                       bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_locality(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrRegion : public FilterAddr
+{
+public:
+    FilterAddrRegion(const std::locale &locale,
+                     const std::string &searchValue,
+                     Mode mode,
+                     bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_region(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrPostalCode : public FilterAddr
+{
+public:
+    FilterAddrPostalCode(const std::locale &locale,
+                         const std::string &searchValue,
+                         Mode mode,
+                         bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_postal_code(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+class FilterAddrCountry : public FilterAddr
+{
+public:
+    FilterAddrCountry(const std::locale &locale,
+                      const std::string &searchValue,
+                      Mode mode,
+                      bool (AnyContainsBoost::*operation)(const char *text) const) :
+        FilterAddr(locale, searchValue, mode, operation)
+    {
+    }
+
+    virtual bool matchesAddr(const FolksPostalAddress *addr) const
+    {
+        const char *attr = folks_postal_address_get_country(const_cast<FolksPostalAddress *>(addr));
+        return (this->*m_operation)(attr);
+    }
+};
+
+
+
+
 /**
  * Search value must be a valid caller ID. The telephone numbers
  * in the contacts may or may not be valid; only valid ones
@@ -370,7 +864,7 @@ public:
                             // to the search term.
                             e_book_query_field_test(E_CONTACT_TEL, E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER,
                                                     m_tel.c_str()),
-                            false);
+                            TRANSFER_REF);
         PlainGStr filter(e_book_query_to_string(query.get()));
         return filter.get();
     }
@@ -411,11 +905,29 @@ class PhoneNumberLogger : public i18n::phonenumbers::Logger
 public:
     virtual void WriteMessage(const std::string &msg)
     {
-        SE_LOG(level() == i18n::phonenumbers::LOG_FATAL ? SyncEvo::Logger::ERROR : SyncEvo::Logger::DEBUG,
-               NULL, getPrefix(), "%s", msg.c_str());
+        SE_LOG(getPrefix(),
+               level() == i18n::phonenumbers::LOG_FATAL ? SyncEvo::Logger::ERROR : SyncEvo::Logger::DEBUG,
+               "%s", msg.c_str());
     }
 };
 
+static AnyContainsBoost::Mode getFilterMode(const std::vector<LocaleFactory::Filter_t> &terms,
+                                            size_t start)
+{
+    AnyContainsBoost::Mode mode = AnyContainsBoost::CASE_INSENSITIVE;
+    for (size_t i = start; i < terms.size(); i++) {
+        const std::string flag = LocaleFactory::getFilterString(terms[i], "any-contains flag");
+        if (flag == "case-sensitive") {
+            mode = AnyContainsBoost::CASE_SENSITIVE;
+        } else if (flag == "case-insensitive") {
+            mode = AnyContainsBoost::CASE_INSENSITIVE;
+        } else {
+            SE_THROW("unsupported filter flag: " + flag);
+        }
+    }
+    return mode;
+}
+
 class LocaleFactoryBoost : public LocaleFactory
 {
     const i18n::phonenumbers::PhoneNumberUtil &m_phoneNumberUtil;
@@ -449,9 +961,26 @@ public:
         gen.categories(boost::locale::collation_facet |
                        boost::locale::convert_facet |
                        boost::locale::information_facet);
-        // TODO: Check env vars, then append @collation=phonebook
-        // to get phonebook specific sorting.
-        return gen("");
+        // Hard-code "phonebook" collation for certain languages
+        // where we know that it is desirable. We could use it
+        // in all cases, except that ICU has a bug where it does not
+        // fall back properly to the base collation. See
+        // http://sourceforge.net/mailarchive/message.php?msg_id=30802924
+        // and http://bugs.icu-project.org/trac/ticket/10149
+        std::locale locale = gen("");
+        std::string name = std::use_facet<boost::locale::info>(locale).name();
+        std::string language = std::use_facet<boost::locale::info>(locale).language();
+        std::string country = std::use_facet<boost::locale::info>(locale).country();
+        SE_LOG_DEV(NULL, "PIM Manager running with locale %s = language %s in country %s",
+                   name.c_str(),
+                   language.c_str(),
+                   country.c_str());
+        if (language == "de" ||
+            language == "fi") {
+            SE_LOG_DEV(NULL, "enabling phonebook collation for language %s", language.c_str());
+            locale = gen(name + "@collation=phonebook");
+        }
+        return locale;
     }
 
     virtual boost::shared_ptr<IndividualCompare> createCompare(const std::string &order)
@@ -469,65 +998,110 @@ public:
         return res;
     }
 
-    virtual boost::shared_ptr<IndividualFilter> createFilter(const Filter_t &filter)
+    virtual boost::shared_ptr<IndividualFilter> createFilter(const Filter_t &filter, int level)
     {
-        int maxResults = -1;
         boost::shared_ptr<IndividualFilter> res;
-        BOOST_FOREACH (const Filter_t::value_type &term, filter) {
-            if (term.empty()) {
-                SE_THROW("boost locale factory: empty search term not supported");
-            }
-            // Check for flags.
-            if (term[0] == "limit") {
-                if (term.size() != 2) {
-                    SE_THROW("boost locale factory: 'limit' needs exactly one parameter");
-                }
-                maxResults = boost::lexical_cast<int>(term[1]);
-            } else if (term[0] == "any-contains") {
-                if (res) {
-                    SE_THROW("boost locale factory: already have a search filter, 'any-contains' not valid");
-                }
 
-                AnyContainsBoost::Mode mode = AnyContainsBoost::CASE_INSENSITIVE;
-                if (term.size() < 2) {
-                    SE_THROW("boost locale factory: any-contains search needs one parameter");
+        try {
+            const std::vector<Filter_t> &terms = getFilterArray(filter, "array of terms");
+
+            // Only handle arrays where the first entry is a string
+            // that we recognize. All other cases are handled by the generic
+            // LocaleFactory.
+            if (!terms.empty() &&
+                boost::get<std::string>(&terms[0])) {
+                const std::string &operation = getFilterString(terms[0], "operation name");
+
+                // Pick default operation. Will be replaced with
+                // telephone-specific operation once we know that the
+                // field is 'phones/value'.
+                bool (AnyContainsBoost::*func)(const char *text) const = NULL;
+                if (operation == "contains") {
+                    func = &AnyContainsBoost::containsSearchText;
+                } else if (operation == "is") {
+                    func = &AnyContainsBoost::isSearchText;
+                } else if (operation == "begins-with") {
+                    func = &AnyContainsBoost::beginsWithSearchText;
+                } else if (operation == "ends-with") {
+                    func = &AnyContainsBoost::endsWithSearchText;
                 }
-                for (size_t i = 2; i < term.size(); i++) {
-                    const std::string &flag = term[i];
-                    if (flag == "case-sensitive") {
-                        mode = AnyContainsBoost::CASE_SENSITIVE;
-                    } else if (flag == "case-insensitive") {
-                        mode = AnyContainsBoost::CASE_INSENSITIVE;
+                if (func) {
+                    switch (terms.size()) {
+                    case 1:
+                        SE_THROW("missing field name and search value");
+                        break;
+                    case 2:
+                        SE_THROW("missing search value");
+                        break;
+                    }
+                    const std::string &field = getFilterString(terms[1], "search field");
+                    const std::string &value = getFilterString(terms[2], "search string");
+                    if (field == "phones/value") {
+                        if (terms.size() > 3) {
+                            SE_THROW("Additional entries after 'phones/value' field filter not allowed.");
+                        }
+                        // Use the telephone specific functions.
+                        res.reset(new FilterTel(m_locale, value,
+                                                func == &AnyContainsBoost::containsSearchText ? &AnyContainsBoost::containsSearchTel :
+                                                func == &AnyContainsBoost::isSearchText ? &AnyContainsBoost::isSearchTel :
+                                                func == &AnyContainsBoost::beginsWithSearchText ? &AnyContainsBoost::beginsWithSearchTel :
+                                                func == &AnyContainsBoost::endsWithSearchText ? &AnyContainsBoost::endsWithSearchTel :
+                                                func));
                     } else {
-                        SE_THROW("boost locale factory: unknown flag for any-contains: " + flag);
+                        AnyContainsBoost::Mode mode = getFilterMode(terms, 3);
+                        if (field == "full-name") {
+                            res.reset(new FilterFullName(m_locale, value, mode, func));
+                        } else if (field == "nickname") {
+                            res.reset(new FilterNickname(m_locale, value, mode, func));
+                        } else if (field == "structured-name/family") {
+                            res.reset(new FilterFamilyName(m_locale, value, mode, func));
+                        } else if (field == "structured-name/given") {
+                            res.reset(new FilterGivenName(m_locale, value, mode, func));
+                        } else if (field == "structured-name/additional") {
+                            res.reset(new FilterAdditionalName(m_locale, value, mode, func));
+                        } else if (field == "emails/value") {
+                            res.reset(new FilterEmails(m_locale, value, mode, func));
+                        } else if (field == "addresses/po-box") {
+                            res.reset(new FilterAddrPOBox(m_locale, value, mode, func));
+                        } else if (field == "addresses/extension") {
+                            res.reset(new FilterAddrExtension(m_locale, value, mode, func));
+                        } else if (field == "addresses/street") {
+                            res.reset(new FilterAddrStreet(m_locale, value, mode, func));
+                        } else if (field == "addresses/locality") {
+                            res.reset(new FilterAddrLocality(m_locale, value, mode, func));
+                        } else if (field == "addresses/region") {
+                            res.reset(new FilterAddrRegion(m_locale, value, mode, func));
+                        } else if (field == "addresses/postal-code") {
+                            res.reset(new FilterAddrPostalCode(m_locale, value, mode, func));
+                        } else if (field == "addresses/country") {
+                            res.reset(new FilterAddrCountry(m_locale, value, mode, func));
+                        } else {
+                            SE_THROW("Unknown field name: " + field);
+                        }
                     }
+                } else if (operation == "any-contains") {
+                    if (terms.size() < 2) {
+                        SE_THROW("missing search value");
+                    }
+                    const std::string &value = getFilterString(terms[1], "search string");
+                    AnyContainsBoost::Mode mode = getFilterMode(terms, 2);
+                    res.reset(new AnyContainsBoost(m_locale, value, mode));
+                } else if (operation == "phone") {
+                    if (terms.size() != 2) {
+                        SE_THROW("'phone' filter needs exactly one parameter.");
+                    }
+                    const std::string &value = getFilterString(terms[1], "search string");
+                    res.reset(new PhoneStartsWith(m_locale, value));
                 }
-                res.reset(new AnyContainsBoost(m_locale, term[1], mode));
-            } else if (term[0] == "phone") {
-                if (res) {
-                    SE_THROW("boost locale factory: already have a search filter, 'phone' not valid");
-                }
-
-                if (filter.size() != 1) {
-                    SE_THROW(StringPrintf("boost locale factory: only filter with one term are supported (was given %ld)",
-                                          (long)filter.size()));
-                }
-                res.reset(new PhoneStartsWith(m_locale,
-                                              term[1]));
-            } else {
-                SE_THROW("boost locale factory: unknown search term: " + term[0]);
             }
+        } catch (const Exception &ex) {
+            handleFilterException(filter, level, &ex.m_file, ex.m_line);
+        } catch (...) {
+            handleFilterException(filter, level, NULL, 0);
         }
 
-        // May be empty (unfiltered). Create a filter which matches
-        // everything, because otherwise we end up using the FullView,
-        // which cannot apply a limit or later switch to a different
-        // search.
-        if (!res) {
-            res.reset(new MatchAll());
-        }
-        res->setMaxResults(maxResults);
-        return res;
+        // Let base class handle it if we didn't recognize the operation.
+        return res ? res : LocaleFactory::createFilter(filter, level);
     }
 
     virtual void precompute(FolksIndividual *individual, Precomputed &precomputed) const
@@ -537,7 +1111,7 @@ public:
         FolksPhoneDetails *phoneDetails = FOLKS_PHONE_DETAILS(individual);
         GeeSet *phones = folks_phone_details_get_phone_numbers(phoneDetails);
         precomputed.m_phoneNumbers.reserve(gee_collection_get_size(GEE_COLLECTION(phones)));
-        BOOST_FOREACH (FolksAbstractFieldDetails *phone, GeeCollCXX<FolksAbstractFieldDetails *>(phones)) {
+        BOOST_FOREACH (FolksAbstractFieldDetails *phone, GeeCollCXX<FolksAbstractFieldDetails *>(phones, ADD_REF)) {
             const gchar *value =
                 reinterpret_cast<const gchar *>(folks_abstract_field_details_get_value(phone));
             if (value) {
@@ -553,7 +1127,7 @@ public:
                     //
                     // We restore the right order by sorting, which puts the
                     // country code first, and then joining.
-                    GeeCollection *coll = folks_abstract_field_details_get_parameter_values(phone, "x-evolution-e164");
+                    GeeCollectionCXX coll(folks_abstract_field_details_get_parameter_values(phone, "x-evolution-e164"), TRANSFER_REF);
                     if (coll) {
                         std::vector<std::string> components;
                         components.reserve(2);
diff --git a/src/dbus/server/pim/locale-factory.cpp b/src/dbus/server/pim/locale-factory.cpp
new file mode 100644 (file)
index 0000000..f30cf41
--- /dev/null
@@ -0,0 +1,217 @@
+/*
+ * Copyright (C) 2012 Intel Corporation
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) version 3.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301  USA
+ */
+
+/**
+ * Common code for sorting and searching.
+ */
+
+#include "locale-factory.h"
+#include "folks.h"
+
+#include <boost/lexical_cast.hpp>
+#include <sstream>
+
+SE_BEGIN_CXX
+
+class Filter2StringVisitor : public boost::static_visitor<void>
+{
+    std::ostringstream m_out;
+
+public:
+    void operator () (const std::string &str)
+    {
+        m_out << "'" << str << "'";
+    }
+
+    void operator () (const std::vector<LocaleFactory::Filter_t> &filter)
+    {
+        m_out << "[";
+        for (size_t i = 0; i < filter.size(); i++) {
+            if (i == 0) {
+                m_out << " ";
+            } else {
+                m_out << ", ";
+            }
+            boost::apply_visitor(*this, filter[i]);
+        }
+        m_out << " ]";
+    }
+
+    std::string toString() { return m_out.str(); }
+};
+
+std::string LocaleFactory::Filter2String(const Filter_t &filter)
+{
+    Filter2StringVisitor visitor;
+    boost::apply_visitor(visitor, filter);
+    return visitor.toString();
+}
+
+template <class V> const V &getFilter(const LocaleFactory::Filter_t &filter, const char *expected)
+{
+    const V *value = boost::get<V>(&filter);
+    if (!value) {
+        throw std::runtime_error(StringPrintf("expected %s, got instead: %s",
+                                              expected, LocaleFactory::Filter2String(filter).c_str()));
+    }
+    return *value;
+}
+
+const std::string &LocaleFactory::getFilterString(const Filter_t &filter, const char *expected)
+{
+    return getFilter<std::string>(filter, expected);
+}
+const std::vector<LocaleFactory::Filter_t> &LocaleFactory::getFilterArray(const Filter_t &filter, const char *expected)
+{
+    return getFilter< std::vector<Filter_t> >(filter, expected);
+}
+
+void LocaleFactory::handleFilterException(const Filter_t &filter, int level, const std::string *file, int line)
+{
+    std::string what;
+    Exception::handle(what, HANDLE_EXCEPTION_NO_ERROR);
+    what = StringPrintf("%s   nesting level %d: %s\n%s",
+                        level == 0 ? "Error while parsing a search filter.\nMost specific term comes last, then the error message:\n" : "",
+                        level,
+                        Filter2String(filter).c_str(),
+                        what.c_str());
+    if (file) {
+        throw Exception(*file, line, what);
+    } else {
+        throw std::runtime_error(what);
+    }
+}
+
+class LogicFilter : public IndividualFilter
+{
+protected:
+    std::vector< boost::shared_ptr<IndividualFilter> > m_subFilter;
+public:
+    void addFilter(const boost::shared_ptr<IndividualFilter> &filter) { m_subFilter.push_back(filter); }
+};
+
+class OrFilter : public LogicFilter
+{
+public:
+    virtual bool matches(const IndividualData &data) const
+    {
+        BOOST_FOREACH (const boost::shared_ptr<IndividualFilter> &filter, m_subFilter) {
+            if (filter->matches(data)) {
+                return true;
+            }
+        }
+        return false;
+    }
+};
+
+class AndFilter : public LogicFilter
+{
+public:
+    virtual bool matches(const IndividualData &data) const
+    {
+        BOOST_FOREACH (const boost::shared_ptr<IndividualFilter> &filter, m_subFilter) {
+            if (!filter->matches(data)) {
+                return false;
+            }
+        }
+
+        // Does not match if empty, just like 'or'.
+        return !m_subFilter.empty();
+    }
+};
+
+boost::shared_ptr<IndividualFilter> LocaleFactory::createFilter(const Filter_t &filter, int level)
+{
+    boost::shared_ptr<IndividualFilter> res;
+
+    try {
+        const std::vector<Filter_t> &terms = getFilterArray(filter, "array of terms");
+
+        if (terms.empty()) {
+            res.reset(new MatchAll());
+            return res;
+        }
+
+        // Array of arrays?
+        // May contain search parameters ('limit') and one
+        // filter expression.
+        if (boost::get< std::vector<Filter_t> >(&terms[0])) {
+            boost::shared_ptr<IndividualFilter> params;
+            BOOST_FOREACH (const Filter_t &subfilter, terms) {
+                boost::shared_ptr<IndividualFilter> tmp = createFilter(subfilter, level + 1);
+                if (dynamic_cast<ParamFilter *>(tmp.get())) {
+                    // New parameter overwrites old one. If we ever
+                    // want to support more than one parameter, we
+                    // need to be more selective here.
+                    params = tmp;
+                } else if (!res) {
+                    res = tmp;
+                } else {
+                    SE_THROW("Filter can only be combined with other filters inside a logical operation.");
+                }
+            }
+            if (params) {
+                if (res) {
+                    // Copy parameter(s) to real filter.
+                    res->setMaxResults(params->getMaxResults());
+                } else {
+                    // Or just use it as-is because no filter was
+                    // given. It'll work like MatchAll.
+                    res = params;
+                }
+            }
+        } else {
+            // Not an array, so must be string.
+            const std::string &operation = getFilterString(terms[0], "operation name");
+
+            if (operation == "limit") {
+                // Level 0 is the [] containing the ['limit', ...].
+                // We thus expect it at level 1.
+                if (level != 1) {
+                    SE_THROW("'limit' parameter only allowed at top level.");
+                }
+                if (terms.size() != 2) {
+                    SE_THROW("'limit' needs exactly one parameter.");
+                }
+                const std::string &limit = getFilterString(terms[1], "'filter' value as string");
+                int maxResults = boost::lexical_cast<int>(limit);
+                res.reset(new ParamFilter());
+                res->setMaxResults(maxResults);
+            } else if (operation == "or" || operation == "and") {
+                boost::shared_ptr<LogicFilter> logicFilter(operation == "or" ?
+                                                           static_cast<LogicFilter *>(new OrFilter()) :
+                                                           static_cast<LogicFilter *>(new AndFilter()));
+                for (size_t i = 1; i < terms.size(); i++ ) {
+                    logicFilter->addFilter(createFilter(terms[i], level + 1));
+                }
+                res = logicFilter;
+            } else {
+                SE_THROW(StringPrintf("Unknown operation '%s'", operation.c_str()));
+            }
+        }
+    } catch (const Exception &ex) {
+        handleFilterException(filter, level, &ex.m_file, ex.m_line);
+    } catch (...) {
+        handleFilterException(filter, level, NULL, 0);
+    }
+
+    return res;
+}
+
+SE_END_CXX
index 1f89ff9..48aee19 100644 (file)
@@ -27,6 +27,7 @@
 #define INCL_SYNCEVO_DBUS_SERVER_PIM_LOCALE_FACTORY
 
 #include <boost/shared_ptr.hpp>
+#include <boost/variant.hpp>
 
 #include <folks/folks.h>
 
@@ -62,22 +63,46 @@ class LocaleFactory
     virtual boost::shared_ptr<IndividualCompare> createCompare(const std::string &order) = 0;
 
     /**
-     * An array of search terms which all must match. Each search term
-     * itself is again an array of strings, with the first one choosing
-     * the search criteria and the rest providing parameters for that
-     * search term.
+     * A recursive definition of a search expression.
+     * All operand names, field names and values are strings.
      */
-    typedef std::vector< std::vector<std::string> > Filter_t;
+    typedef boost::make_recursive_variant<
+        std::string,
+        std::vector< boost::recursive_variant_ >
+        >::type Filter_t;
+
+    /**
+     * Simplified JSON representation (= no escaping of special characters),
+     * for debugging and error reporting.
+     */
+    static std::string Filter2String(const Filter_t &filter);
+
+    /**
+     * Throws "expected <item>, got instead: <filter as string>" when
+     * conversion to V fails.
+     */
+    static const std::string &getFilterString(const Filter_t &filter, const char *expected);
+    static const std::vector<Filter_t> &getFilterArray(const Filter_t &filter, const char *expected);
 
     /**
      * Creates a filter instance or throws an error when that is not
      * possible.
      *
-     * @param order     factory-specific string which chooses one of
-     *                  the search criteria supported by the factory
+     * @param  represents a (sub-)filter
+     * @level  0 at the root of the filter, incremented by one for each
+     *         non-trivial indirection; i.e., [ [ <filter> ] ] still
+     *         treats <filter> as if it was the root search
+     *
      * @return a valid instance, must not be NULL
      */
-    virtual boost::shared_ptr<IndividualFilter> createFilter(const Filter_t &filter) = 0;
+    virtual boost::shared_ptr<IndividualFilter> createFilter(const Filter_t &filter, int level) = 0;
+
+    /**
+     * To be called when parsing a Filter_t caused an exception.
+     * Will add information about the filter and a preamble, if
+     * called at the top level.
+     */
+    static void handleFilterException(const Filter_t &filter, int level, const std::string *file, int line);
 
     /**
      * Pre-computed data for a single FolksIndividual which will be needed
index 8399ac5..febe61d 100644 (file)
@@ -80,7 +80,8 @@ Manager::Manager(const boost::shared_ptr<Server> &server) :
                      MANAGER_IFACE),
     m_mainThread(g_thread_self()),
     m_server(server),
-    m_locale(LocaleFactory::createFactory())
+    m_locale(LocaleFactory::createFactory()),
+    emitSyncProgress(*this, "SyncProgress")
 {
 }
 
@@ -143,6 +144,7 @@ void Manager::init()
     add(this, &Manager::addContact, "AddContact");
     add(this, &Manager::modifyContact, "ModifyContact");
     add(this, &Manager::removeContact, "RemoveContact");
+    add(emitSyncProgress);
 
     // Ready, make it visible via D-Bus.
     activate();
@@ -300,7 +302,7 @@ void Manager::stop()
     // idle server has only two references to the main view:
     // one inside m_folks, one given back to us here.
     if (m_folks->getMainView().use_count() <= 2) {
-        SE_LOG_DEBUG(NULL, NULL, "restarting due to Manager.Stop()");
+        SE_LOG_DEBUG(NULL, "restarting due to Manager.Stop()");
         initFolks();
         initDatabases();
         initSorting(m_sortOrder);
@@ -435,7 +437,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
     {
         FolksIndividual *individual = data.m_individual.get();
         const char *id = folks_individual_get_id(individual);
-        SE_LOG_DEBUG(NULL, NULL, "handle change %s: %s, #%d, %s = %s",
+        SE_LOG_DEBUG(NULL, "handle change %s: %s, #%d, %s = %s",
                      getPath(),
                      &call == &m_contactsModified ? "modified" :
                      &call == &m_contactsAdded ? "added" :
@@ -454,7 +456,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                 &call == &m_contactsModified &&
                 start >= m_lastChange.m_start &&
                 start < m_lastChange.m_start + (int)m_lastChange.m_ids.size()) {
-                SE_LOG_DEBUG(NULL, NULL, "handle change %s: redundant 'modified' signal, ignore",
+                SE_LOG_DEBUG(NULL, "handle change %s: redundant 'modified' signal, ignore",
                              getPath());
 
                 return;
@@ -464,7 +466,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
             m_pendingChange.m_call = &call;
             m_pendingChange.m_start = start;
             m_pendingChange.m_ids.push_back(id);
-            SE_LOG_DEBUG(NULL, NULL, "handle change %s: stored as pending change",
+            SE_LOG_DEBUG(NULL, "handle change %s: stored as pending change",
                          getPath());
             return;
         }
@@ -475,7 +477,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                 // Modification, indices are unchanged.
                 if (start + 1 == m_pendingChange.m_start) {
                     // New modified element at the front.
-                    SE_LOG_DEBUG(NULL, NULL, "handle change %s: insert modification, #%d + %d and #%d => #%d + %d",
+                    SE_LOG_DEBUG(NULL, "handle change %s: insert modification, #%d + %d and #%d => #%d + %d",
                                  getPath(),
                                  m_pendingChange.m_start, pendingCount,
                                  start,
@@ -485,7 +487,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                     return;
                 } else if (start == m_pendingChange.m_start + pendingCount) {
                     // New modified element at the end.
-                    SE_LOG_DEBUG(NULL, NULL, "handle change %s: append modification, #%d + %d and #%d => #%d + %d",
+                    SE_LOG_DEBUG(NULL, "handle change %s: append modification, #%d + %d and #%d => #%d + %d",
                                  getPath(),
                                  m_pendingChange.m_start, pendingCount,
                                  start,
@@ -495,7 +497,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                 } else if (start >= m_pendingChange.m_start &&
                            start < m_pendingChange.m_start + pendingCount) {
                     // Element modified again => no change, except perhaps for the ID.
-                    SE_LOG_DEBUG(NULL, NULL, "handle change %s: modification of already modified contact, #%d + %d and #%d => #%d + %d",
+                    SE_LOG_DEBUG(NULL, "handle change %s: modification of already modified contact, #%d + %d and #%d => #%d + %d",
                                  getPath(),
                                  m_pendingChange.m_start, pendingCount,
                                  start,
@@ -511,7 +513,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                     // Adding in the middle or at the end?
                     int end = m_pendingChange.m_start + pendingCount;
                     if (start == end) {
-                        SE_LOG_DEBUG(NULL, NULL, "handle change %s: increase count of 'added' individuals at end, #%d + %d and #%d new => #%d + %d",
+                        SE_LOG_DEBUG(NULL, "handle change %s: increase count of 'added' individuals at end, #%d + %d and #%d new => #%d + %d",
                                      getPath(),
                                      m_pendingChange.m_start, pendingCount,
                                      start,
@@ -519,7 +521,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                         m_pendingChange.m_ids.push_back(id);
                         return;
                     } else if (start < end) {
-                        SE_LOG_DEBUG(NULL, NULL, "handle change %s: increase count of 'added' individuals in the middle, #%d + %d and #%d new => #%d + %d",
+                        SE_LOG_DEBUG(NULL, "handle change %s: increase count of 'added' individuals in the middle, #%d + %d and #%d new => #%d + %d",
                                      getPath(),
                                      m_pendingChange.m_start, pendingCount,
                                      start,
@@ -531,7 +533,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                 } else {
                     // Adding directly before the previous start?
                     if (start + 1 == m_pendingChange.m_start) {
-                        SE_LOG_DEBUG(NULL, NULL, "handle change %s: reduce start and increase count of 'added' individuals, #%d + %d and #%d => #%d + %d",
+                        SE_LOG_DEBUG(NULL, "handle change %s: reduce start and increase count of 'added' individuals, #%d + %d and #%d => #%d + %d",
                                      getPath(),
                                      m_pendingChange.m_start, pendingCount,
                                      start,
@@ -547,7 +549,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                 int newCount = m_pendingChange.m_ids.size() + 1;
                 if (start == m_pendingChange.m_start) {
                     // Removing directly at end.
-                    SE_LOG_DEBUG(NULL, NULL, "handle change %s: increase count of 'removed' individuals, #%d + %d and #%d => #%d + %d",
+                    SE_LOG_DEBUG(NULL, "handle change %s: increase count of 'removed' individuals, #%d + %d and #%d => #%d + %d",
                                  getPath(),
                                  m_pendingChange.m_start, pendingCount,
                                  start,
@@ -556,7 +558,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
                     return;
                 } else if (start + 1 == m_pendingChange.m_start) {
                     // Removing directly before the previous start.
-                    SE_LOG_DEBUG(NULL, NULL, "handle change %s: reduce start and increase count of 'removed' individuals, #%d + %d and #%d => #%d + %d",
+                    SE_LOG_DEBUG(NULL, "handle change %s: reduce start and increase count of 'removed' individuals, #%d + %d and #%d => #%d + %d",
                                  getPath(),
                                  m_pendingChange.m_start, pendingCount,
                                  start,
@@ -578,7 +580,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
             start == m_pendingChange.m_start &&
             1 == m_pendingChange.m_ids.size() &&
             m_pendingChange.m_ids.front() == id) {
-            SE_LOG_DEBUG(NULL, NULL, "handle change %s: removed individual was re-added => #%d modified",
+            SE_LOG_DEBUG(NULL, "handle change %s: removed individual was re-added => #%d modified",
                          getPath(),
                          start);
             m_pendingChange.m_call = &m_contactsModified;
@@ -600,7 +602,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
     {
         int count = m_pendingChange.m_ids.size();
         if (count) {
-            SE_LOG_DEBUG(NULL, NULL, "send change %s: %s, #%d + %d",
+            SE_LOG_DEBUG(NULL, "send change %s: %s, #%d + %d",
                          getPath(),
                          m_pendingChange.m_call == &m_contactsModified ? "modified" :
                          m_pendingChange.m_call == &m_contactsAdded ? "added" :
@@ -638,7 +640,7 @@ class ViewResource : public Resource, public GDBusCXX::DBusObjectHelper
     {
         if (required && !error.empty()) {
             // remove view because it is no longer needed
-            SE_LOG_DEBUG(NULL, NULL, "ViewAgent %s method call failed, deleting view: %s", method, error.c_str());
+            SE_LOG_DEBUG(NULL, "ViewAgent %s method call failed, deleting view: %s", method, error.c_str());
             boost::shared_ptr<ViewResource> r = self.lock();
             if (r) {
                 r->close();
@@ -760,14 +762,16 @@ public:
     }
 
     /** ViewControl.RefineSearch() */
-    void refineSearch(const LocaleFactory::Filter_t &filter)
+    void refineSearch(const std::vector<LocaleFactory::Filter_t> &filterArray)
     {
-        replaceSearch(filter, true);
+        replaceSearch(filterArray, true);
     }
 
-    void replaceSearch(const LocaleFactory::Filter_t &filter, bool refine)
+    void replaceSearch(const std::vector<LocaleFactory::Filter_t> &filterArray, bool refine)
     {
-        boost::shared_ptr<IndividualFilter> individualFilter = m_locale->createFilter(filter);
+        // Same as in Search().
+        LocaleFactory::Filter_t filter = filterArray;
+        boost::shared_ptr<IndividualFilter> individualFilter = m_locale->createFilter(filter, 0);
         m_view->replaceFilter(individualFilter, refine);
     }
 };
@@ -776,7 +780,7 @@ unsigned int ViewResource::m_counter;
 void Manager::search(const boost::shared_ptr< GDBusCXX::Result1<GDBusCXX::DBusObject_t> > &result,
                      const GDBusCXX::Caller_t &ID,
                      const boost::shared_ptr<GDBusCXX::Watch> &watch,
-                     const LocaleFactory::Filter_t &filter,
+                     const std::vector<LocaleFactory::Filter_t> &filterVector,
                      const GDBusCXX::DBusObject_t &agentPath)
 {
     // TODO: figure out a native, thread-safe API for this.
@@ -784,6 +788,18 @@ void Manager::search(const boost::shared_ptr< GDBusCXX::Result1<GDBusCXX::DBusOb
     // Start folks in parallel with asking for an ESourceRegistry.
     start();
 
+    // We use a std::vector as outer type to help Python decide how to
+    // send the empty list []. When we declare our parameter as
+    // variant instead of array of variants, as we do now, then the
+    // Python programmer has to use dbus.Array([], signature='s'),
+    // which breaks backwards compatibility (wasn't necessary earlier)
+    // and is not easy to use.
+    //
+    // But before we can pass the filter on, we need to turn it into
+    // a variant containing the vector.
+    LocaleFactory::Filter_t filter;
+    filter = filterVector;
+
     // We don't know for sure whether we'll need the ESourceRegistry.
     // Ask for it, just to be sure. If we need to hurry because we are
     // doing a caller ID lookup during startup, then we'll need it.
@@ -838,7 +854,7 @@ void Manager::doSearch(const ESourceRegistryCXX &registry,
     std::string ebookFilter;
     // Always use a filtered view. That way we can implement ReplaceView or RefineView
     // without having to switch from a FullView to a FilteredView.
-    boost::shared_ptr<IndividualFilter> individualFilter = m_locale->createFilter(filter);
+    boost::shared_ptr<IndividualFilter> individualFilter = m_locale->createFilter(filter, 0);
     ebookFilter = individualFilter->getEBookFilter();
     if (quiescent) {
         // Don't search via EDS directly because the unified
@@ -848,7 +864,7 @@ void Manager::doSearch(const ESourceRegistryCXX &registry,
     view = FilteredView::create(view, individualFilter);
     view->setName(StringPrintf("filtered view%u", ViewResource::getNextViewNumber()));
 
-    SE_LOG_DEBUG(NULL, NULL, "preparing %s: EDS search term is '%s', active address books %s",
+    SE_LOG_DEBUG(NULL, "preparing %s: EDS search term is '%s', active address books %s",
                  view->getName(),
                  ebookFilter.c_str(),
                  boost::join(m_enabledEBooks, " ").c_str());
@@ -1063,7 +1079,7 @@ void Manager::doSetPeer(const boost::shared_ptr<Session> &session,
     std::string context = StringPrintf("@%s%s", MANAGER_PREFIX, uid.c_str());
 
 
-    SE_LOG_DEBUG(NULL, NULL, "%s: creating config for protocol %s",
+    SE_LOG_DEBUG(NULL, "%s: creating config for protocol %s",
                  uid.c_str(),
                  protocol.c_str());
 
@@ -1175,7 +1191,7 @@ void Manager::doSetPeer(const boost::shared_ptr<Session> &session,
     }
 
     // Report success.
-    SE_LOG_DEBUG(NULL, NULL, "%s: created config for protocol %s",
+    SE_LOG_DEBUG(NULL, "%s: created config for protocol %s",
                  uid.c_str(),
                  protocol.c_str());
     result->done();
@@ -1280,7 +1296,7 @@ void Manager::doRemovePeer(const boost::shared_ptr<Session> &session,
                 }
             }
             if (found) {
-                syncSource->deleteDatabase(localDatabaseName);
+                syncSource->deleteDatabase(localDatabaseName, SyncSource::REMOVE_DATA_FORCE);
             }
         }
     }
@@ -1298,7 +1314,7 @@ void Manager::doRemovePeer(const boost::shared_ptr<Session> &session,
     result->done();
 }
 
-void Manager::syncPeer(const boost::shared_ptr<GDBusCXX::Result0> &result,
+void Manager::syncPeer(const boost::shared_ptr<GDBusCXX::Result1<SyncResult> > &result,
                        const std::string &uid)
 {
     checkPeerUID(uid);
@@ -1311,12 +1327,30 @@ void Manager::syncPeer(const boost::shared_ptr<GDBusCXX::Result0> &result,
                  boost::bind(&Manager::doSyncPeer, this, _1, result, uid));
 }
 
-static void doneSyncPeer(const boost::shared_ptr<GDBusCXX::Result0> &result,
-                         SyncMLStatus status)
+static Manager::SyncResult SyncReport2Result(const SyncReport &report)
+{
+    Manager::SyncResult result;
+    int added = 0, updated = 0, removed = 0;
+    if (!report.empty()) {
+        const SyncSourceReport &source = report.begin()->second;
+        added = source.getItemStat(SyncSourceReport::ITEM_LOCAL, SyncSourceReport::ITEM_ADDED, SyncSourceReport::ITEM_TOTAL);
+        updated = source.getItemStat(SyncSourceReport::ITEM_LOCAL, SyncSourceReport::ITEM_UPDATED, SyncSourceReport::ITEM_TOTAL);
+        removed = source.getItemStat(SyncSourceReport::ITEM_LOCAL, SyncSourceReport::ITEM_REMOVED, SyncSourceReport::ITEM_TOTAL);
+    }
+    result["modified"] = added || updated || removed;
+    result["added"] = added;
+    result["updated"] = updated;
+    result["removed"] = removed;
+    return result;
+}
+
+static void doneSyncPeer(const boost::shared_ptr<GDBusCXX::Result1<Manager::SyncResult> > &result,
+                         SyncMLStatus status,
+                         const SyncReport &report)
 {
     if (status == STATUS_OK ||
         status == STATUS_HTTP_OK) {
-        result->done();
+        result->done(SyncReport2Result(report));
     } else if (status == (SyncMLStatus)sysync::LOCERR_USERABORT) {
         result->failed(GDBusCXX::dbus_error(MANAGER_ERROR_ABORTED, "running sync aborted, probably by StopSync()"));
     } else {
@@ -1325,15 +1359,28 @@ static void doneSyncPeer(const boost::shared_ptr<GDBusCXX::Result0> &result,
 }
 
 void Manager::doSyncPeer(const boost::shared_ptr<Session> &session,
-                         const boost::shared_ptr<GDBusCXX::Result0> &result,
+                         const boost::shared_ptr<GDBusCXX::Result1<SyncResult> > &result,
                          const std::string &uid)
 {
+    // Keep client informed about progress.
+    emitSyncProgress(uid, "started", SyncResult());
+    session->m_doneSignal.connect(boost::bind(boost::ref(emitSyncProgress), uid, "done", SyncResult()));
+    session->m_sourceSynced.connect(boost::bind(&Manager::report2SyncProgress, m_self, uid, _1, _2));
     // After sync(), the session is tracked as the active sync session
     // by the server. It was removed from our own m_pending list by
     // doSession().
     session->sync("ephemeral", SessionCommon::SourceModes_t());
     // Relay result to caller when done.
-    session->m_doneSignal.connect(boost::bind(doneSyncPeer, result, _1));
+    session->m_doneSignal.connect(boost::bind(doneSyncPeer, result, _1, _2));
+}
+
+void Manager::report2SyncProgress(const std::string &uid,
+                                  const std::string &sourceName,
+                                  const SyncSourceReport &source)
+{
+    SyncReport report;
+    report.addSyncSourceReport("foo", source);
+    emitSyncProgress(uid, "modified", SyncReport2Result(report));
 }
 
 void Manager::stopSync(const boost::shared_ptr<GDBusCXX::Result0> &result,
index 884407e..d43a523 100644 (file)
@@ -28,6 +28,7 @@
 #include "folks.h"
 #include "locale-factory.h"
 #include "../server.h"
+#include "../session.h"
 #include <syncevo/EDSClient.h>
 
 #include <syncevo/declarations.h>
@@ -79,7 +80,7 @@ class Manager : public GDBusCXX::DBusObjectHelper
     void search(const boost::shared_ptr< GDBusCXX::Result1<GDBusCXX::DBusObject_t> > &result,
                 const GDBusCXX::Caller_t &ID,
                 const boost::shared_ptr<GDBusCXX::Watch> &watch,
-                const LocaleFactory::Filter_t &filter,
+                const std::vector<LocaleFactory::Filter_t> &filter,
                 const GDBusCXX::DBusObject_t &agentPath);
  private:
     void searchWithRegistry(const ESourceRegistryCXX &registry,
@@ -135,14 +136,26 @@ class Manager : public GDBusCXX::DBusObjectHelper
                       const std::string &uid);
 
  public:
+    typedef std::map<std::string, boost::variant<bool, int> > SyncResult;
     /** Manager.SyncPeer() */
-    void syncPeer(const boost::shared_ptr<GDBusCXX::Result0> &result,
+    void syncPeer(const boost::shared_ptr<GDBusCXX::Result1<SyncResult> > &result,
                   const std::string &uid);
+
+    /** Manager.SyncProgress */
+    GDBusCXX::EmitSignal3<const std::string &,
+                          const std::string &,
+                          const SyncResult &> emitSyncProgress;
+
+
  private:
     void doSyncPeer(const boost::shared_ptr<Session> &session,
-                    const boost::shared_ptr<GDBusCXX::Result0> &result,
+                    const boost::shared_ptr<GDBusCXX::Result1<SyncResult> > &result,
                     const std::string &uid);
 
+    void report2SyncProgress(const std::string &uid,
+                             const std::string &sourceName,
+                             const SyncSourceReport &source);
+
  public:
     /** Manager.StopSync() */
     void stopSync(const boost::shared_ptr<GDBusCXX::Result0> &result,
index eecf0e4..827e649 100644 (file)
@@ -82,7 +82,7 @@ void MergeView::addEDSIndividual(const FolksIndividualCXX &individual) throw ()
                              IndividualDataCompare(m_compare));
         size_t index = it - m_entries.begin();
         it = m_entries.insert(it, data.release());
-        SE_LOG_DEBUG(NULL, NULL, "%s: added at #%ld/%ld", getName(), (long)index, (long)m_entries.size());
+        SE_LOG_DEBUG(NULL, "%s: added at #%ld/%ld", getName(), (long)index, (long)m_entries.size());
         m_addedSignal(index, *it);
     } catch (...) {
         Exception::handle(HANDLE_EXCEPTION_NO_ERROR);
@@ -92,14 +92,14 @@ void MergeView::addEDSIndividual(const FolksIndividualCXX &individual) throw ()
 void MergeView::edsDone(const std::string &uuid) throw ()
 {
     try {
-        SE_LOG_DEBUG(NULL, NULL, "%s: %s is done", getName(), uuid.c_str());
+        SE_LOG_DEBUG(NULL, "%s: %s is done", getName(), uuid.c_str());
         BOOST_FOREACH (const Searches::value_type &search, m_searches) {
             if (!search->isQuiescent()) {
-                SE_LOG_DEBUG(NULL, NULL, "%s: still waiting for %s", getName(), search->getName());
+                SE_LOG_DEBUG(NULL, "%s: still waiting for %s", getName(), search->getName());
                 return;
             }
         }
-        SE_LOG_DEBUG(NULL, NULL, "%s: all EDS searches done, %s", getName(), m_viewReady ? "folks also done" : "still waiting for folks, send quiescent now");
+        SE_LOG_DEBUG(NULL, "%s: all EDS searches done, %s", getName(), m_viewReady ? "folks also done" : "still waiting for folks, send quiescent now");
         if (!m_viewReady) {
             // folks is still busy, this may take a while. Therefore
             // flush current status.
@@ -119,8 +119,8 @@ void MergeView::edsDone(const std::string &uuid) throw ()
 
 static void GetPersonaUIDs(FolksIndividual *individual, std::set<std::string> &uids)
 {
-    GeeSet *personas = folks_individual_get_personas(individual);
-    BOOST_FOREACH (FolksPersona *persona, GeeCollCXX<FolksPersona *>(personas)) {
+    GeeCollCXX<FolksPersona *> personas(folks_individual_get_personas(individual), ADD_REF);
+    BOOST_FOREACH (FolksPersona *persona, personas) {
         // Includes backend, address book, and UID inside address book.
         uids.insert(folks_persona_get_uid(persona));
     }
@@ -148,7 +148,7 @@ void MergeView::viewReady() throw ()
         if (!m_viewReady) {
             m_viewReady = true;
 
-            SE_LOG_DEBUG(NULL, NULL, "%s: folks is ready: %d entries from EDS, %d from folks",
+            SE_LOG_DEBUG(NULL, "%s: folks is ready: %d entries from EDS, %d from folks",
                          getName(),
                          (int)m_entries.size(),
                          (int)m_view->size());
@@ -163,7 +163,7 @@ void MergeView::viewReady() throw ()
                 // that if the underlying contacts are identical, then
                 // so must be the data.
                 if (!SamePersonas(oldData.m_individual, newData->m_individual)) {
-                    SE_LOG_DEBUG(NULL, NULL, "%s: entry #%d modified",
+                    SE_LOG_DEBUG(NULL, "%s: entry #%d modified",
                                  getName(),
                                  index);
                     m_modifiedSignal(index, *newData);
@@ -171,7 +171,7 @@ void MergeView::viewReady() throw ()
             }
             for (; index < m_view->size(); index++) {
                 const IndividualData *newData = m_view->getContact(index);
-                SE_LOG_DEBUG(NULL, NULL, "%s: entry #%d added",
+                SE_LOG_DEBUG(NULL, "%s: entry #%d added",
                              getName(),
                              index);
                 m_addedSignal(index, *newData);
@@ -181,7 +181,7 @@ void MergeView::viewReady() throw ()
             int removeAt = index;
             for (; index < (int)m_entries.size(); index++) {
                 const IndividualData &oldData = m_entries[index];
-                SE_LOG_DEBUG(NULL, NULL, "%s: entry #%d removed",
+                SE_LOG_DEBUG(NULL, "%s: entry #%d removed",
                              getName(),
                              index);
                 m_removedSignal(removeAt, oldData);
@@ -196,7 +196,7 @@ void MergeView::viewReady() throw ()
             } catch (...) {
                 Exception::handle(HANDLE_EXCEPTION_NO_ERROR);
             }
-            SE_LOG_DEBUG(NULL, NULL, "%s: switched to folks, quiescent", getName());
+            SE_LOG_DEBUG(NULL, "%s: switched to folks, quiescent", getName());
             m_quiescenceSignal();
         }
     } catch (...) {
diff --git a/src/dbus/server/pim/pim-manager-api.txt b/src/dbus/server/pim/pim-manager-api.txt
new file mode 100644 (file)
index 0000000..3283c7c
--- /dev/null
@@ -0,0 +1,444 @@
+Preamble
+========
+
+This text describes a D-Bus API. The API implements in-vehicle infotainment (IVI)
+use cases around contacts:
+- cache address books from peers (primarily phones connected via Bluetooth)
+  in local address books
+- provide a unified address book that combines a configurable (and changing)
+  subset of the local address books
+- fast phone number lookup
+- browsing and searching in the unified address book
+
+Tasks that are expected to be done by the user of this API:
+- identify peers and their capabilities
+- decide how and when peer data should be cached
+- define which data goes into the unified address book
+
+In other words, the API provides the mechanisms and the user the
+policy.
+
+Several aspects of this API may differ depending on the
+implementation. For example, searching for contacts and syncing with
+peers are not described in the API. Consult the documentation of the
+API implementation to learn what it supports. For SyncEvolution, that
+documentation is the src/dbus/server/pim/README file.
+
+
+Datatypes
+=========
+
+Peers
+-----
+
+A peer is an entity which has exactly one address book that is meant
+to be cached locally. Typically a peer is a phone connected via
+Bluetooth and accessed via PBAP, but it could also be a web service
+that supports CardDAV or a phone with SyncML support.
+
+Peers are identified by a unique string ID. That ID needs to be
+assigned by the user of this API. The string must not be empty and may
+only contain characters a-z, 0-9 and hyphen. No other assumptions
+about its content are made. For example, the phone's Bluetooth MAC
+address could be used after removing or replacing the colon and using
+lower case hex characters.
+
+For an entity that has more than one address book, multiple peers must
+be configured.
+
+For each peer, enough information must be provided to access its
+address book. That information is passed via D-Bus as a
+string-to-string dict, with keys and their values being defined by the
+implementation.
+
+Address books
+-------------
+
+Address books which mirror data from a specific peer use the string
+"peer-<uid>" as ID, where <uid> is the unique ID of that peer.
+
+In addition, there is a system address book which is independent of
+any particular phone. Its ID is the empty string.
+
+This naming scheme can be extended later on, to support other kinds
+of address books.
+
+Contact
+-------
+
+A single contact is transferred via D-Bus as a string->variant dict
+where the keys are predefined property names and the values represent
+simple values (a string for "full-name") or more complex structures
+(list of phone numbers for "phone-numbers", with each list entry
+itself being a combination of type flags and the actual value).
+
+[comment: this mirrors the properties of a libfolks Individual:
+http://telepathy.freedesktop.org/doc/folks/c/FolksIndividual.html]
+
+Some properties of a FolksIndividual only make sense locally and are
+not transmitted, for example the personas it is derived from.
+
+Some other properties provide information not found that way in
+FolksIndividual:
+- "source" = list of string pairs, where each pair is a combination
+  of address book ID and local contact ID inside that address book
+  (not necessarily the same as the vCard UID of a contact!)
+- "id" = an opaque string which identifies the contact while it
+  exists inside any PIM Manager view. See ContactsAdded and ReadContacts.
+
+Property values which are large (like photos) are not sent via
+D-Bus. Instead a link to a local file is sent.
+
+For a full definition of contact properties see the implementation
+documentation.
+
+Search results
+--------------
+
+The goal is to support a UI which:
+- displays an ordered list of the search result,
+- can show the initial results with minimal delay,
+- can load actual content for the display as needed (only
+  load the parts which are visible or will be visible soon).
+
+The content of the unified address book can change at any time. The
+API design takes that into account by using a model/view/controller
+model.
+
+The model is the complete list of contacts, sorted according to the
+currently configured sort order. Sorting is part of the model to
+simplify generating views.
+
+The view is the subset of the data that a user of the API has
+requested. In the most extreme case, all contacts are part of the
+view. Therefore contact data has to be requested explicitly. Contacts
+are numbered 0 to n-1 in each view, where n is the number of contacts
+in the view. Sort order is the same as in the underlying model. Change
+notifications with these index numbers are sent as contacts are added,
+modified or removed.
+
+The controller is the part of the API which allows changing contacts
+in the system address book, changing the sort order, enabling or disabling
+address books, etc.
+
+Note that removing or adding a contact changes the numbers assigned to
+other contacts. Example:
+
+- A view containing 10 contacts is created.
+- A notification about "contacts #0 to #9 added" is sent
+  (given as pair of first index and count, not list of numbers).
+- The five contacts starting with #5 to are read via their ID.
+- Contact #4 gets removed. The user needs to remember that
+  the data that it has now corresponds to contacts #4 to #8.
+- Contact #5 gets added, before the contact which had that
+  number before. The user now has contacts #4 and #6 to #9.
+  It should request contact #5 if (or once) it is needed to
+  provide a complete list to the user.
+
+[comment: using a view could be simplified by including contact data
+in the change notifications. This is not planned at the moment because
+it would not work well for large views. When adding it, there should
+be an API to restrict which properties of a contact get sent.]
+
+
+Error handling
+==============
+
+D-Bus error messages are not localized. They are meant for debugging,
+not for displaying to the user. In cases where the caller may be able
+to do something about an error, specific error codes are defined as
+part of the API. However, typically errors are generic and the caller
+simply has to assume that the PIM storage is currently unusable.
+
+Unless noted otherwise, calls return when the requested operation is
+complete.
+
+The following errors are defined. In addition to the D-Bus name of the
+error they provide a textual error description.
+
+org._01.pim.contacts.Manager.Aborted
+   Some operation was intentionally aborted instead of letting it
+   complete. Typically not an error.
+
+org._01.pim.contacts.Manager.BadStatus
+   A generic error report. The error description is a string
+   which gives further information for debugging.
+
+
+API
+===
+
+PIM Manager
+-----------
+
+The PIM manager is used to hold the unified address book in memory,
+create views on it, change configuration and control data transfers
+from phones.
+
+Service: org._01.pim.contacts
+Interface: org._01.pim.contacts.Manager
+Object path: /org/01/pim/contacts
+
+Methods:
+
+    void Start()
+
+         The PIM manager does not start loading contact data right
+         away. That allows setting the options like sort order first
+         and/or delaying the loading until it is needed. After
+         Start(), changing options that affect the unified address
+         book will take effect immediately.
+
+         Calling Start() is optional, any method asking for data will
+         automatically do that.
+
+    void Stop()
+
+         Explicitly tells the PIM manager to discard the unified address
+         book and free up the memory if possible (= not currently in use).
+         Primarily useful for testing.
+
+    void SetSortOrder(string mode)
+
+         "mode" must be one of the values supported by the implementation.
+
+    string GetSortOrder()
+
+         Returns the current sort order.
+
+    list of strings GetActiveAddressBooks()
+
+         Returns the IDs of the address books which currently
+         contribute to the unified address book.
+
+    void SetActiveAddressBooks(list of strings)
+
+         Sets the address books which contribute to the unified
+         address book.
+
+    void CreatePeer(string uid, dict properties)
+
+         Creates a peer. Will fail with a
+         org._01.pim.contacts.Manager.AlreadyExists error if the uid
+         is already in use. To change the configuration of a peer,
+         remove and recreate it. This ensures that its data gets
+         removed, too.
+
+         [A ModifyPeer() might get added if there is demand for it
+         and the desired behavior (remove cached data or keep it?)
+         is better understood.]
+
+         As a backwards compatibility measure this method is
+         also available as SetPeer() with the semantic that the
+         config is created or modified automatically as needed.
+
+    void RemovePeer(string uid)
+
+         Removes a peer and all its cached data. If that data was
+         part of the active address books, it will be removed
+         automatically.
+
+    dict SyncPeer(string uid)
+
+         Retrieve contacts from the peer and ensure that the local
+         cache is identical to the address book of the peer. The call
+         returns once the operation is complete.
+
+         Only if there was no error can the caller assume that the cache
+         is up-to-date. In this case, a string to variant dictionary
+         is returned which provided additional information about the sync.
+         The content of the dictionary is implementation dependent.
+
+         If the call fails, no dictionary is returned and the local
+         cache may or may not be up-to-date. It may or may not have been
+         updated. The caller needs to check the local cache to find out
+         what it contains.
+
+    void StopSync(string uid)
+
+         Stop any running sync for the given peer. The SyncPeer() method
+         which started such a sync will return with an "aborted" error
+         once the sync was stopped.
+
+    dict of UID to string key/value dict GetAllPeers()
+
+         Returns information about all currently configured peers.
+
+    object Search(list filter, object agent)
+
+         Creates a new view which contains all contacts matching the
+         filter. The call returns the object path of a view object
+         after validating parameters and starting the result
+         gathering, and before completing the search. The view object
+         can be used to control the view via the
+         org._01.pim.contacts.ViewControl interface.
+
+         The content of the filter is defined by the implementation.
+
+         Notifications for the view are sent back to the caller by
+         invoking methods from the org._01.pim.contacts.ViewAgent
+         interface on the object whose path is given in the "view"
+         parameter. If any of these method calls fail, the view will
+         automatically be destroyed.
+
+         In other words, the caller first needs to get ready to process
+         results by registering an object on the bus before calling
+         Search().
+
+         [comment: this allows sending results to just one recipient,
+         something that cannot be done easily with the use of signals as in,
+         for example, obexd. In obexd, the initiator of a transfer
+         has to subscribe to org.bluez.obex.Transfer on the object path
+         returned to it when starting the transfer, then check the current
+         status before waiting for signals, because the "Completed" signal
+         might have been sent before it could register for it.]
+
+    string AddContact(string addressbook, dict contact)
+
+         Adds a new contact to the given address book. Typically
+         only the system address book is writable. Contact properties
+         which are unknown or cannot be stored are silently ignored.
+         Returns the local ID of the new contact in the address book.
+
+         Photo data that is sent inline in the dict will be split out
+         into a file that gets associated with the contact. A photo
+         file that gets linked will continue to be owned by the
+         caller; the contact storage may or may not make a copy of it,
+         depending on which storage is used.
+
+    void ModifyContact(string addressbook, string localid, dict contact)
+
+         Updates an existing contact.
+
+    void RemoveContact(string addressbook, string localid)
+
+         Remove the contact and all of its associated data (like the
+         photo, if the photo file is owned by the contact storage).
+
+Signals:
+
+    SyncProgress(string uid, string event, dict data)
+
+         Provides information about a running sync for the peer with
+         the given "uid". The "event" string describes what happened
+         and the "data" dictionary provides further information about
+         it with a mapping from event specific string keys to variants
+         as value.
+
+
+Service: org._01.pim.contacts
+Interface: org._01.pim.contacts.ViewControl
+Object path: [variable prefix]/{view0,view1,....}
+Methods:
+
+        list of (int index, contact dicts) pairs ReadContacts(array ids)
+
+             Requests the data of the contacts idenfified via their IDs.
+             Only the data of contacts that are still part of the view
+             can be returned.
+
+             The returned list contains the current index of the
+             requested contact plus its data. -1 and an empty
+             dictionary are returned for contacts which can no longer
+             be read, for example because they were removed from the
+             view in the meantime or because the ID was simply
+             invalid.
+
+             Note that the caller must process the call response after
+             all events via the ViewAgent interface. Otherwise the
+             index numbers are potentially out of sync and thus
+             unreliable. Doing this call asynchronously and dealing
+             with the response as part of the main event loop will do
+             the right thing automatically, because D-Bus guarantees
+             ordering of messages.
+
+             Making this explicit by returning data via another
+             org._01.pim.contacts.ViewAgent method was considered and
+             rejected a) for the sake of keeping this API simple and
+             b) to allow simple synchronous calls where it makes sense
+             (testing, for example).
+
+        void Close()
+
+             Closes the view and all resources associated with it.
+             Pending ReadContacts() calls will return without any
+             data and no error.
+
+        void RefineSearch(list filter)
+
+             Replaces the current filter of the view with a new one.
+             The new filter must be stricter than the old one. Contacts
+             which were already filtered out will not be added back
+             to the view when setting a less restrictive filter (simplifies
+             the implementation and improves performance).
+
+        void ReplaceSearch(list filter, bool refine)
+
+             Same as RefineSearch() if refine is true. If refine is false,
+             the new filter can be less restrictive and contacts which
+             did not match the old filter will be added back to the list
+             of matching contacts.
+
+
+Service: [user of the PIM Manager]
+Interface: org._01.pim.contacts.ViewAgent
+Object path: [as chosen by user of PIM Manager]
+
+Methods:
+
+        void ContactsModified(object view, int start, array ids)
+
+             Contacts #start till #start + count (inclusive) have
+             changed. Data that the recipient of the call might have
+             cached became invalid and should be reloaded.
+
+             It is possible that a contact gets replaced by another
+             with a single "contact modified" signal. In other words,
+             the ID at each position may change and thus the IDs
+             are sent as part of the signal.
+
+             In cases where a contact changes its position in the
+             view, both a combination of "contact removed" + "contact
+             added" (single contact changes) as well as several
+             "contact modified" signals are possible (contacts swap
+             position, for example when reordering).
+
+             In the later case, a contact will temporarily appear
+             at two different positions.
+
+        void ContactsAdded(object view, int start, array ids)
+
+             New contacts were added to the view. The number
+             of new contacts is given via the size of the ids array.
+             The ID of each new contact is guaranteed to be the same
+             in all views. IDs may get reused after their contact got
+             removed from the last view it was contained in. In
+             particular there is no guarantee that it is persistent
+             across restarts of the PIM manager.
+
+             The contact which previously had index #start now
+             has index #start + count, etc.
+
+        void ContactsRemoved(object view, int start, array ids)
+
+             Some contacts were removed from the view.
+             The contact which previous had index #start + count
+             (if there was one) now has index #start, etc.
+
+        void Quiescent(object view)
+
+             The current content of the view is complete. No further
+             updates are expected until something changes again
+             (underlying data, ordering, active address books,
+             filter).
+
+             Changing data (directly or via syncing) can trigger
+             multiple "Quiescent" signals, depending on when these
+             changes are reported by the underlying storage.
+
+             Changing multiple settings will trigger one "Quiescent"
+             per change.
+
+             Implementing the Quiescent() method in a ViewAgent
+             is optional.
+
index 03712a2..4e74e94 100644 (file)
@@ -1,2 +1,2 @@
 sort =
-active = system-address-book   pim-manager-test-dbus-a,        pim-manager-test-dbus-c
+active = system-address-book   pim-manager-testactive-testcontacts-a,        pim-manager-testactive-testcontacts-c
index 3201269..d30f430 100755 (executable)
@@ -30,6 +30,7 @@
 # same directory.
 
 import os
+import errno
 import sys
 import inspect
 import unittest
@@ -42,6 +43,7 @@ import re
 import itertools
 import codecs
 import glib
+import pprint
 
 # Update path so that testdbus.py can be found.
 pimFolder = os.path.realpath(os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0]))
@@ -227,6 +229,8 @@ class Watchdog():
           self.timeout = glib.Timeout(int(self.interval * 1000))
           self.timeout.set_callback(self._ping)
           self.timeout.attach(loop.get_context())
+          if self.threshold < 0:
+               print '\nPinging server at intervals of %fs.' % self.interval
 
      def stop(self):
           if self.timeout:
@@ -235,10 +239,11 @@ class Watchdog():
 
      def check(self):
           '''Assert that all queries were served quickly enough.'''
-          tooslow = [x for x in self.results if x[1] > self.threshold]
-          self.test.assertEqual([], tooslow)
-          if self.started:
-               self.test.assertLess(time.time() - self.started, self.threshold)
+          if self.threshold > 0:
+               tooslow = [x for x in self.results if x[1] > self.threshold]
+               self.test.assertEqual([], tooslow)
+               if self.started:
+                    self.test.assertLess(time.time() - self.started, self.threshold)
 
      def reset(self):
           self.results = []
@@ -247,23 +252,27 @@ class Watchdog():
      def checkpoint(self, name):
           self.check()
           logging.printf('ping results for %s: %s', name, self.results)
+          if self.threshold < 0:
+               for result in self.results:
+                    print '%s: ping duration: %f' % (name, result[1])
           self.reset()
 
      def _ping(self):
           if not self.started:
                # Run with a long timeout. We want to know how long it
                # takes to reply, even if it is too long.
-               self.started = time.time()
+               started = time.time()
+               self.started = started
                self.manager.GetAllPeers(timeout=1000,
-                                        reply_handler=lambda peers: self._done(self.started, self.results, None),
-                                        error_handler=lambda error: self._done(self.started, self.results, error))
+                                        reply_handler=lambda peers: self._done(started, self.results, None),
+                                        error_handler=lambda error: self._done(started, self.results, error))
           return True
 
      def _done(self, started, results, error):
           '''Record result. Intentionally uses the results array from the time when the call started,
           to handle intermittent checkpoints.'''
           duration = time.time() - started
-          if duration > self.threshold or error:
+          if self.threshold > 0 and duration > self.threshold or error:
                logging.printf('ping failure: duration %fs, error %s', duration, error)
           if error:
                results.append((started, duration, error))
@@ -302,8 +311,11 @@ XDG root.
         # 'infinite' doesn't seem to be documented for Python.
         self.timeout = 100000
 
-        # Common prefix for peer UIDs.
-        self.uidPrefix = 'test-dbus-'
+        # Common prefix for peer UIDs. Use different prefixes in each test,
+        # because evolution-addressbook-factory keeps the old instance
+        # open when syncevo-dbus-server stops or crashes and then fails
+        # to work with that database when we remove it.
+        self.uidPrefix = self.testname.replace('_', '-').lower() + '-'
 
         # Prefix used by PIM Manager in EDS.
         self.managerPrefix = 'pim-manager-'
@@ -398,6 +410,7 @@ XDG root.
               c = [ '--daemon=no' ] + command
               logging.printf('running syncevolution command line: %s' % c)
               return cmdline.runCmdline(c,
+                                        testInstance=self,
                                         env=self.storedenv,
                                         sessionFlags=None,
                                         **args)
@@ -493,16 +506,83 @@ END:VCARD(\r|\n)*''',
         self.runTestDBusCheck = lambda test, log: test.assertNotIn('ERROR', log.replace('ERROR SUMMARY:', 'error summary:'))
         self.runTestOutputCheck = self.runTestDBusCheck
 
+        # We have to clean the xdg_root ourselves. We have to be nice
+        # to EDS and can't just wipe out the entire directory.
+        items = list(os.walk(xdg_root))
+        items.reverse()
+        for dirname, dirs, files in items:
+            reldir = os.path.relpath(dirname, xdg_root)
+            for dir in dirs:
+                # evolution-source-registry gets confused when we remove
+                # the "sources" directory itself.
+                if reldir == 'config/evolution' and dir == 'sources':
+                    continue
+                dest = os.path.join(dirname, dir)
+                try:
+                    os.rmdir(dest)
+                except OSError, ex:
+                    if ex.errno != errno.ENOTEMPTY:
+                        raise
+            for file in files:
+                dest = os.path.join(dirname, file)
+                # Don't delete a DB that may still be in use by
+                # evolution-addressbook-factory and that we may still need.
+                # Other DBs can be removed because we are not going to depend on
+                # them anymore thanks to the per-test uid prefix.
+                if reldir == 'data/evolution/addressbook/system':
+                    continue
+                os.unlink(dest)
+
+        # We have to wait until evolution-source-registry catches up
+        # and recognized that the sources are gone, otherwise
+        # evolution-addressbook-factory will keep the .db files open
+        # although we already removed them.
+        while True:
+            out, err = subprocess.Popen(['syncevolution', '--print-databases', '--daemon=no', 'backend=evolution-contacts'],
+                                        stdout=subprocess.PIPE,
+                                        stderr=subprocess.PIPE).communicate()
+            self.assertEqual('', err)
+            # Count the number of database entries. An exact
+            # comparison against the output does not work, because the
+            # name of the system address book due to localization and
+            # (to a lesser degree) its UID may change.
+            if len([x for x in out.split('\n') if x.startswith('   ')]) == 1:
+                break
+            else:
+                time.sleep(0.5)
+
+        # Does not work, Reload()ing a running registry confuses evolution-addressbook-factory.
+        #
+        # for i in range(0, 100):
+        #     try:
+        #         registry = dbus.Interface(bus.get_object('org.gnome.evolution.dataserver.Sources%d' % i,
+        #                                                  '/org/gnome/evolution/dataserver/SourceManager'),
+        #                                   'org.gnome.evolution.dataserver.SourceManager')
+        #     except dbus.exceptions.DBusException, ex:
+        #         if ex.get_dbus_name() != 'org.freedesktop.DBus.Error.ServiceUnknown':
+        #             raise
+        # registry.Reload()
+        # # Give it some time...
+        # time.sleep(2)
+
         # Runtime varies a lot when using valgrind, because
         # of the need to check an additional process. Allow
         # a lot more time when running under valgrind.
-        self.runTest(result, own_xdg=True, own_home=True,
+        self.runTest(result, own_xdg=False, own_home=False,
                      defTimeout=usingValgrind() and 600 or 20)
 
     def currentSources(self):
         '''returns current set of EDS sources as set of UIDs, without the .source suffix'''
         return set([os.path.splitext(x)[0] for x in (os.path.exists(self.sourcedir) and os.listdir(self.sourcedir) or [])])
 
+    def testUIDError(self):
+        '''TestContacts.testUIDError - check that invalid UID is properly detected and reported'''
+        with self.assertRaisesRegexp(dbus.DBusException,
+                                     'invalid peer uid: CAPITAL-LETTERS-NOT-ALLOWED'):
+            self.manager.SetPeer('CAPITAL-LETTERS-NOT-ALLOWED',
+                                 {},
+                                 timeout=self.timeout)
+
     @property("snapshot", "simple-sort")
     def testConfig(self):
         '''TestContacts.testConfig - set and remove peers'''
@@ -641,6 +721,24 @@ END:VCARD(\r|\n)*''',
         expected = sources.copy()
         peers = {}
 
+        syncProgress = []
+        signal = bus.add_signal_receiver(lambda uid, event, data: (logging.printf('received SyncProgress: %s, %s, %s', uid, event, data), syncProgress.append((uid, event, data)), logging.printf('progress %s' % syncProgress)),
+                                         'SyncProgress',
+                                         'org._01.pim.contacts.Manager',
+                                         None, #'org._01.pim.contacts',
+                                         '/org/01/pim/contacts',
+                                         byte_arrays=True,
+                                         utf8_strings=True)
+        def checkSync(expected, result):
+             self.assertEqual(expected, result)
+             while not (uid, 'done', {}) in syncProgress:
+                  self.loopIteration('added signal')
+             self.assertEqual([(uid, 'started', {}),
+                               (uid, 'modified', expected),
+                               (uid, 'done', {})],
+                              syncProgress)
+
+
         # Must be the Bluetooth MAC address (like A0:4E:04:1E:AD:30)
         # of a phone which is paired, currently connected, and
         # supports both PBAP and SyncML. SyncML is needed for putting
@@ -699,7 +797,9 @@ END:VCARD(\r|\n)*''',
         # Remember current list of files and modification time stamp.
         files = listsyncevo()
 
-        # Remove all data locally.
+        # Remove all data locally. There may or may not have been data
+        # locally, because the database of the peer might have existed
+        # from previous tests.
         self.manager.SyncPeer(uid,
                               timeout=self.timeout)
         # TODO: check that syncPhone() really used PBAP - but how?
@@ -809,8 +909,14 @@ END:VCARD
         output.write(john)
         output.close()
         self.syncPhone(phone, uid)
-        self.manager.SyncPeer(uid,
-                              timeout=self.timeout)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': True,
+                    'added': 1,
+                    'updated': 0,
+                    'removed': 0},
+                  result)
 
         # Also exclude modified database files.
         self.assertEqual(files, listsyncevo(exclude=exclude))
@@ -826,16 +932,28 @@ END:VCARD
                              peers[uid],
                              timeout=self.timeout)
         files = listsyncevo(exclude=exclude)
-        self.manager.SyncPeer(uid,
-                              timeout=self.timeout)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': False,
+                   'added': 0,
+                   'updated': 0,
+                   'removed': 0},
+                  result)
         exclude.append(logdir + '(/$)')
         self.assertEqual(files, listsyncevo(exclude=exclude))
 
         self.assertEqual(2, len(os.listdir(logdir)))
 
         # At most one!
-        self.manager.SyncPeer(uid,
-                              timeout=self.timeout)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': False,
+                   'added': 0,
+                   'updated': 0,
+                   'removed': 0},
+                  result)
         exclude.append(logdir + '(/$)')
         self.assertEqual(files, listsyncevo(exclude=exclude))
         self.assertEqual(2, len(os.listdir(logdir)))
@@ -846,12 +964,49 @@ END:VCARD
                              peers[uid],
                              timeout=self.timeout)
         files = listsyncevo(exclude=exclude)
-        self.manager.SyncPeer(uid,
-                              timeout=self.timeout)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': False,
+                   'added': 0,
+                   'updated': 0,
+                   'removed': 0},
+                  result)
         exclude.append(logdir + '(/$)')
         self.assertEqual(files, listsyncevo(exclude=exclude))
         self.assertEqual(4, len(os.listdir(logdir)))
 
+        # Update contact.
+        john = '''BEGIN:VCARD
+VERSION:3.0
+FN:John Doe
+N:Doe;John
+END:VCARD'''
+        output = open(item, "w")
+        output.write(john)
+        output.close()
+        self.syncPhone(phone, uid)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': True,
+                   'added': 0,
+                   'updated': 1,
+                   'removed': 0},
+                  result)
+
+        # Remove contact.
+        os.unlink(item)
+        self.syncPhone(phone, uid)
+        syncProgress = []
+        result = self.manager.SyncPeer(uid,
+                                       timeout=self.timeout)
+        checkSync({'modified': True,
+                   'added': 0,
+                   'updated': 0,
+                   'removed': 1},
+                  result)
+
         # Test invalid maxsession values.
         with self.assertRaisesRegexp(dbus.DBusException,
                                      "negative 'maxsessions' not allowed: -1"):
@@ -1454,7 +1609,7 @@ END:VCARD
                         },
                        ],
                           'source': [
-                       ('test-dbus-foo', luids[0])
+                       (self.uidPrefix + 'foo', luids[0])
                        ],
                           'id': '<stripped>',
                           'notes': [
@@ -1511,6 +1666,83 @@ END:VCARD
                          contact,
                          sortLists=True)
 
+    def addressbooks(self):
+        entries = os.listdir(os.path.join(os.environ["XDG_DATA_HOME"], "evolution", "addressbook"))
+        entries.sort();
+        # Ignore trash folder and system DB, because they may or may not be present.
+        for db in ('trash', 'system'):
+            try:
+                entries.remove(db)
+            except ValueError:
+                pass
+        return entries
+
+    @timeout(60)
+    @property("snapshot", "simple-sort")
+    def testRemove(self):
+        '''TestContacts.testRemove - check that EDS database is created and removed'''
+        self.setUpView(search=None)
+
+        # Force sqlite DB files to exist by inserting a contact.
+        testcases = [r'''BEGIN:VCARD
+VERSION:3.0
+FN:John Doe
+N:Doe;John
+TEL:1234-5678
+EMAIL:john.doe@example.com
+URL:http://john.doe.com
+X-JABBER:jd@example.com
+END:VCARD
+''']
+        for i, contact in enumerate(testcases):
+             item = os.path.join(self.contacts, 'contact%d.vcf' % i)
+             output = open(item, "w")
+             output.write(contact)
+             output.close()
+        logging.log('inserting contacts')
+        out, err, returncode = self.runCmdline(['--import', self.contacts, '@' + self.managerPrefix + self.uid, 'local'])
+
+        self.assertEqual([self.managerPrefix + self.uid], self.addressbooks())
+        self.manager.RemovePeer(self.uid)
+        self.assertEqual([], self.addressbooks())
+
+    @timeout(60)
+    @property("snapshot", "simple-sort")
+    def testRemoveLive(self):
+        '''TestContacts.testRemove - check that EDS database is created and removed while it is open in a view'''
+        self.setUpView()
+
+        # Force sqlite DB files to exist by inserting a contact.
+        testcases = [r'''BEGIN:VCARD
+VERSION:3.0
+FN:John Doe
+N:Doe;John
+TEL:1234-5678
+EMAIL:john.doe@example.com
+URL:http://john.doe.com
+X-JABBER:jd@example.com
+END:VCARD
+''']
+        for i, contact in enumerate(testcases):
+             item = os.path.join(self.contacts, 'contact%d.vcf' % i)
+             output = open(item, "w")
+             output.write(contact)
+             output.close()
+        logging.log('inserting contacts')
+        out, err, returncode = self.runCmdline(['--import', self.contacts, '@' + self.managerPrefix + self.uid, 'local'])
+
+        # Run until the view has adapted.
+        self.runUntil('view with one contact',
+                      check=lambda: self.assertEqual([], self.view.errors),
+                      until=lambda: len(self.view.contacts) > 0)
+        # Don't wait for more contacts here. They shouldn't come, and if
+        # they do, we'll notice it below.
+        self.assertEqual(1, len(self.view.contacts))
+
+        self.assertEqual([self.managerPrefix + self.uid], self.addressbooks())
+        self.manager.RemovePeer(self.uid)
+        self.assertEqual([], self.addressbooks())
+
     @timeout(60)
     @property("snapshot", "simple-sort")
     def testStop(self):
@@ -1597,8 +1829,8 @@ END:VCARD'''
                           'urls': [('http://john.doe.com', ['x-home-page'])],
                           'id': contact.get('id', '<???>'),
                           'source': [
-                       ('test-dbus-bar', luids[self.uidPrefix + 'bar'][0]),
-                       ('test-dbus-foo', luids[self.uidPrefix + 'foo'][0])
+                       (self.uidPrefix + 'bar', luids[self.uidPrefix + 'bar'][0]),
+                       (self.uidPrefix + 'foo', luids[self.uidPrefix + 'foo'][0])
 
                        ],
                           },
@@ -1614,7 +1846,7 @@ END:VCARD'''
 
         contactsPerPeer = int(os.environ.get('TESTPIM_TEST_ACTIVE_NUM', 10))
 
-        self.assertEqual(['', 'peer-test-dbus-a', 'peer-test-dbus-c'],
+        self.assertEqual(['', 'peer-' + self.uidPrefix + 'a', 'peer-' + self.uidPrefix + 'c'],
                          self.manager.GetActiveAddressBooks(timeout=self.timeout),
                          sortLists=True)
 
@@ -1652,13 +1884,13 @@ END:VCARD'''
         active = [''] + peers
 
         # Check that active databases were adapted and stored permanently.
-        self.assertEqual(['', 'peer-test-dbus-a', 'peer-test-dbus-b', 'peer-test-dbus-c'],
+        self.assertEqual(['', 'peer-' + self.uidPrefix + 'a', 'peer-' + self.uidPrefix + 'b', 'peer-' + self.uidPrefix + 'c'],
                          self.manager.GetActiveAddressBooks(timeout=self.timeout),
                          sortLists=True)
         # Order mirrors the one of SetActiveAddressBooks() in setUpView(),
         # assuming that the PIM Manager preserves that order (not really guaranteed
         # by the API, but is how it is implemented).
-        self.assertIn("active = pim-manager-test-dbus-a pim-manager-test-dbus-b pim-manager-test-dbus-c system-address-book\n",
+        self.assertIn('active = pim-manager-' + self.uidPrefix + 'a pim-manager-' + self.uidPrefix + 'b pim-manager-' + self.uidPrefix + 'c system-address-book\n',
                       open(os.path.join(xdg_root, "config", "syncevolution", "pim-manager.ini"),
                            "r").readlines())
 
@@ -1668,8 +1900,8 @@ END:VCARD'''
                   output = open(item, "w")
                   output.write('''BEGIN:VCARD
 VERSION:3.0
-FN:John_%(peer)s%(index)03d Doe
-N:Doe;John_%(peer)s%(index)03d
+FN:John_%(peer)s%(index)04d Doe
+N:Doe;John_%(peer)s%(index)04d
 END:VCARD''' % {'peer': peer, 'index': index})
                   output.close()
 
@@ -1704,7 +1936,7 @@ END:VCARD''' % {'peer': peer, 'index': index})
                   del contact['source']
              expected = [{'full-name': first + ' Doe',
                                 'structured-name': {'given': first, 'family': 'Doe'}} for \
-                                    first in ['John_%(peer)s%(index)03d' % {'peer': peer,
+                                    first in ['John_%(peer)s%(index)04d' % {'peer': peer,
                                                                             'index': index} \
                                                    for peer in active \
                                                    for index in range(0, contactsPerPeer)] ]
@@ -2112,6 +2344,255 @@ END:VCARD''']):
                       until=lambda: view.quiescentCount > 0)
         self.assertEqual(0, len(view.contacts))
 
+    def doFilter(self, testdata, searches):
+        self.setUpView()
+
+        msg = None
+        try:
+             # Insert new contacts and calculate their family names.
+             names = []
+             numtestcases = len(testdata)
+             for i, contact in enumerate(testdata):
+                  item = os.path.join(self.contacts, 'contact%d.vcf' % i)
+                  output = codecs.open(item, "w", "utf-8")
+                  if isinstance(contact, tuple):
+                       # name + vcard
+                       output.write(contact[1])
+                       names.append(contact[0])
+                  else:
+                       # just the name
+                       output.write(u'''BEGIN:VCARD
+VERSION:3.0
+FN:%(name)s
+N:%(name)s;;;;
+END:VCARD
+''' % { 'name': contact })
+                       names.append(contact)
+                  output.close()
+
+             logging.log('inserting contacts')
+             out, err, returncode = self.runCmdline(['--import', self.contacts, '@' + self.managerPrefix + self.uid, 'local'])
+             # Relies on importing contacts sorted ascending by file name.
+             luids = self.extractLUIDs(out)
+             logging.printf('created contacts with luids: %s' % luids)
+
+             # Run until the view has adapted.
+             self.runUntil('view with three contacts',
+                           check=lambda: self.assertEqual([], self.view.errors),
+                           until=lambda: len(self.view.contacts) == numtestcases)
+
+             # Check for the one expected event.
+             # TODO: self.assertEqual([('added', 0, 3)], view.events)
+             self.view.events = []
+
+             # Read contacts.
+             logging.log('reading contacts')
+             self.view.read(0, numtestcases)
+             self.runUntil('contacts',
+                           check=lambda: self.assertEqual([], self.view.errors),
+                           until=lambda: self.view.haveData(0, numtestcases))
+             for i, name in enumerate(names):
+                  msg = u'contact #%d with name %s in\n%s' % (i, name, pprint.pformat(self.stripDBus(self.view.contacts, sortLists=False)))
+                  self.assertEqual(name, self.view.contacts[i]['full-name'])
+
+             # Run searches and compare results.
+             for i, (query, names) in enumerate(searches):
+                  msg = u'query %s, names %s' % (query, names)
+                  view = ContactsView(self.manager)
+                  view.search(query)
+                  self.runUntil('search %d: %s' % (i, query),
+                                check=lambda: self.assertEqual([], view.errors),
+                                until=lambda: view.quiescentCount > 0)
+                  msg = u'query %s, names %s in\n%s' % (query, names, pprint.pformat(self.stripDBus(view.contacts, sortLists=False)))
+                  self.assertEqual(len(names), len(view.contacts))
+                  view.read(0, len(names))
+                  self.runUntil('data %d: %s' % (i, query),
+                                check=lambda: self.assertEqual([], view.errors),
+                                until=lambda: view.haveData(0, len(names)))
+                  for e, name in enumerate(names):
+                       msg = u'query %s, names %s, name #%d %s in\n%s' % (query, names, e, name, pprint.pformat(self.stripDBus(view.contacts, sortLists=False)))
+                       self.assertEqual(name, view.contacts[e]['full-name'])
+        except Exception, ex:
+             if msg:
+                  info = sys.exc_info()
+                  raise Exception('%s:\n%s' % (msg, repr(ex))), None, info[2]
+             else:
+                  raise
+
+    @timeout(60)
+    @property("ENV", "LC_TYPE=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8")
+    def testFilterJapanese(self):
+         self.doFilter(# Names of all contacts, sorted as expected.
+                       ('111', u'1月', 'Bad'),
+                       # Query + expected results.
+                       (([], ('111', u'1月', 'Bad')),
+                        ([['any-contains', '1']], ('111', u'1月')),
+                        ([['any-contains', u'1月']], (u'1月',)))
+                       )
+
+    @timeout(60)
+    @property("ENV", "LC_TYPE=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8")
+    def testFilterChinesePinyin(self):
+         self.doFilter(# Names of all contacts, sorted as expected.
+                       # 江 = jiāng = Jiang when using Pinyin and thus after Jeffries and before Meadows.
+                       ('Adams', 'Jeffries', u'江', 'Meadows'),
+                       # 'J' not expected to find Jiang; searching
+                       # is meant to use Chinese letters.
+                       (([['any-contains', 'J']], ('Jeffries',)),
+                        ([['any-contains', u'江']], (u'江',)),
+                        ([['any-contains', u'jiāng']], ()),
+                        ([['any-contains', u'Jiang']], ()),
+                        ),
+                       )
+
+    @timeout(60)
+    @property("ENV", "LC_TYPE=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 LANG=de_DE.UTF-8")
+    def testFilterGermany(self):
+         self.doFilter(# Names of all contacts, sorted as expected.
+                       # DIN 5007 Variant 2 defines phone book sorting in
+                       # Germany. It does not apply to Austria.
+                       # Example from http://de.wikipedia.org/wiki/Alphabetische_Sortierung
+                       (u'Göbel', u'Goethe', u'Göthe', u'Götz', u'Goldmann'),
+                       (),
+                       )
+
+    # Not supported correctly by ICU?
+    # See icu-support "Subject: Austrian phone book sorting"
+    # @timeout(60)
+    # @property("ENV", "LC_TYPE=de_AT.UTF-8 LC_ALL=de_AT.UTF-8 LANG=de_AT.UTF-8")
+    # def testFilterAustria(self):
+    #      self.doFilter(# Names of all contacts, sorted as expected.
+    #                    # Austrian phone book sorting.
+    #                    # Example from http://de.wikipedia.org/wiki/Alphabetische_Sortierung
+    #                    (u'Goethe', u'Goldmann', u'Göbel', u'Göthe', u'Götz'),
+    #                    (),
+    #                    )
+
+    @timeout(60)
+    def testFilterLogic(self):
+         '''TestContacts.testFilterLogic - check logic operators'''
+         self.doFilter(('Xing', 'Yeah', 'Zooh'),
+                       ((['or', ['any-contains', 'X'], ['any-contains', 'Z']], ('Xing', 'Zooh')),
+                        (['or', ['any-contains', 'X']], ('Xing',)),
+                        (['or', ['any-contains', 'Z']], ('Zooh',)),
+                        (['or'], ()),
+                        (['and', ['any-contains', 'h'], ['any-contains', 'Z']], ('Zooh',)),
+                        (['and', ['any-contains', 'h']], ('Yeah', 'Zooh')),
+                        (['and', ['any-contains', 'Z']], ('Zooh',)),
+                        (['and', ['any-contains', 'h'], ['any-contains', 'Z'], ['any-contains', 'A']], ()),
+                        (['and'], ()),
+                        # Python D-Bus does not like mixing elements of different types in a list.
+                        # In a tuple that's fine, and also works with the PIM Manager.
+                        (('or', ('and', ('any-contains', 'h'), ('any-contains', 'Z')), ('any-contains', 'X')), ('Xing', 'Zooh')),
+                        (('and', ('or', ('any-contains', 'X'), ('any-contains', 'Z')), ('any-contains', 'h')), ('Zooh',))))
+
+    @timeout(60)
+    def testFilterFields(self):
+         '''TestContacts.testFilterFields - check filter operations on fields'''
+         self.doFilter([('John Doe', r'''BEGIN:VCARD
+VERSION:3.0
+URL:http://john.doe.com
+TITLE:Senior Tester
+ORG:Test Inc.;Testing;test#1
+ROLE:professional test case
+X-EVOLUTION-MANAGER:John Doe Senior
+X-EVOLUTION-ASSISTANT:John Doe Junior
+NICKNAME:user1
+BDAY:2006-01-08
+X-EVOLUTION-ANNIVERSARY:2006-01-09
+X-EVOLUTION-SPOUSE:Joan Doe
+NOTE:This is a test case which uses almost all Evolution fields.
+FN:John Doe
+N:Doe;John;Johnny;;
+X-EVOLUTION-FILE-AS:Doe\, John
+CATEGORIES:TEST
+X-EVOLUTION-BLOG-URL:web log
+GEO:30.12;-130.34
+CALURI:calender
+FBURL:free/busy
+X-EVOLUTION-VIDEO-URL:chat
+X-MOZILLA-HTML:TRUE
+ADR;TYPE=WORK:Test Box #2;;Test Drive 2;Test Town;Upper Test County;12346;O
+ ld Testovia
+LABEL;TYPE=WORK:Test Drive 2\nTest Town\, Upper Test County\n12346\nTest Bo
+ x #2\nOld Testovia
+ADR;TYPE=HOME:Test Box #1;;Test Drive 1;Test Village;Lower Test County;1234
+ 5;Testovia
+LABEL;TYPE=HOME:Test Drive 1\nTest Village\, Lower Test County\n12345\nTest
+  Box #1\nTestovia
+ADR:Test Box #3;Test Extension;Test Drive 3;Test Megacity;Test County;12347;New Testonia
+LABEL;TYPE=OTHER:Test Drive 3\nTest Megacity\, Test County\n12347\nTest Box
+  #3\nNew Testonia
+UID:pas-id-43C0ED3900000001
+EMAIL;TYPE=WORK;X-EVOLUTION-UI-SLOT=1:john.doe@work.com
+EMAIL;TYPE=HOME;X-EVOLUTION-UI-SLOT=2:john.doe@home.priv
+EMAIL;TYPE=OTHER;X-EVOLUTION-UI-SLOT=3:john.doe@other.world
+EMAIL;TYPE=OTHER;X-EVOLUTION-UI-SLOT=4:john.doe@yet.another.world
+TEL;TYPE=work;TYPE=Voice;X-EVOLUTION-UI-SLOT=1:business 1
+TEL;TYPE=homE;TYPE=VOICE;X-EVOLUTION-UI-SLOT=2:home 2
+TEL;TYPE=CELL;X-EVOLUTION-UI-SLOT=3:mobile 3
+TEL;TYPE=WORK;TYPE=FAX;X-EVOLUTION-UI-SLOT=4:businessfax 4
+TEL;TYPE=HOME;TYPE=FAX;X-EVOLUTION-UI-SLOT=5:homefax 5
+TEL;TYPE=PAGER;X-EVOLUTION-UI-SLOT=6:pager 6
+TEL;TYPE=CAR;X-EVOLUTION-UI-SLOT=7:car 7
+TEL;TYPE=PREF;X-EVOLUTION-UI-SLOT=8:primary 8
+TEL:12 34-5
+END:VCARD
+''')],
+                       ((['is', 'full-name', 'john doe'], ('John Doe',)),
+                        (['is', 'full-name', 'John Doe', 'case-sensitive'], ('John Doe',)),
+                        (['is', 'full-name', 'john doe', 'case-sensitive'], ()),
+                        (['is', 'full-name', 'John Doe', 'case-insensitive'], ('John Doe',)),
+                        (['is', 'full-name', 'john'], ()),
+
+                        (['contains', 'full-name', 'ohn d'], ('John Doe',)),
+                        (['contains', 'full-name', 'ohn D', 'case-sensitive'], ('John Doe',)),
+                        (['contains', 'full-name', 'ohn d', 'case-sensitive'], ()),
+                        (['contains', 'full-name', 'ohn d', 'case-insensitive'], ('John Doe',)),
+                        (['contains', 'full-name', 'foobar'], ()),
+
+                        (['begins-with', 'full-name', 'john'], ('John Doe',)),
+                        (['begins-with', 'full-name', 'John', 'case-sensitive'], ('John Doe',)),
+                        (['begins-with', 'full-name', 'john', 'case-sensitive'], ()),
+                        (['begins-with', 'full-name', 'John', 'case-insensitive'], ('John Doe',)),
+                        (['begins-with', 'full-name', 'doe'], ()),
+
+                        (['ends-with', 'full-name', 'doe'], ('John Doe',)),
+                        (['ends-with', 'full-name', 'Doe', 'case-sensitive'], ('John Doe',)),
+                        (['ends-with', 'full-name', 'doe', 'case-sensitive'], ()),
+                        (['ends-with', 'full-name', 'Doe', 'case-insensitive'], ('John Doe',)),
+                        (['ends-with', 'full-name', 'john'], ()),
+
+                        (['is', 'nickname', 'user1'], ('John Doe',)),
+                        (['is', 'nickname', 'Johnny'], ()),
+                        (['is', 'structured-name/family', 'Doe'], ('John Doe',)),
+                        (['is', 'structured-name/family', 'John'], ()),
+                        (['is', 'structured-name/given', 'John'], ('John Doe',)),
+                        (['is', 'structured-name/given', 'Doe'], ()),
+                        (['is', 'structured-name/additional', 'Johnny'], ('John Doe',)),
+                        (['is', 'structured-name/additional', 'John'], ()),
+                        (['is', 'emails/value', 'john.doe@work.com'], ('John Doe',)),
+                        (['is', 'emails/value', 'foo@abc.com'], ()),
+                        (['is', 'addresses/po-box', 'Test Box #3'], ('John Doe',)),
+                        (['is', 'addresses/po-box', 'Foo Box'], ()),
+                        (['is', 'addresses/extension', 'Test Extension'], ('John Doe',)),
+                        (['is', 'addresses/extension', 'Foo Extension'], ()),
+                        (['is', 'addresses/street', 'Test Drive 3'], ('John Doe',)),
+                        (['is', 'addresses/street', 'Rodeo Drive'], ()),
+                        (['is', 'addresses/locality', 'Test Megacity'], ('John Doe',)),
+                        (['is', 'addresses/locality', 'New York'], ()),
+                        (['is', 'addresses/region', 'Test County'], ('John Doe',)),
+                        (['is', 'addresses/region', 'Testovia'], ()),
+                        (['is', 'addresses/postal-code', '54321'], ()),
+                        (['is', 'addresses/country', 'New Testonia'], ('John Doe',)),
+                        (['is', 'addresses/country', 'America'], ()),
+
+                        (['is', 'phones/value', 'business 1'], ('John Doe',)),
+                        (['is', 'phones/value', 'business 123'], ()),
+                        (['is', 'phones/value', '12345'], ('John Doe',)),
+                        (['is', 'phones/value', '123456'], ()),
+                        ))
+
     @timeout(60)
     @property("ENV", "LC_TYPE=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 LANG=de_DE.UTF-8")
     def testFilterQuiescence(self):
@@ -3461,9 +3942,6 @@ END:VCARD''']):
         self.setUpView(search=None, peers=[], withSystemAddressBook=True)
 
         # Insert new contact.
-        #
-        # The names are chosen so that sorting by first name and sorting by last name needs to
-        # reverse the list.
         for i, contact in enumerate([u'''BEGIN:VCARD
 VERSION:3.0
 FN:John Doe
@@ -3478,19 +3956,31 @@ END:VCARD''',
 
         out, err, returncode = self.runCmdline(['--import', self.contacts, 'backend=evolution-contacts'])
 
-        # Plug into "ContactsAdded" method so that it throws an error.
+        # Plug into processEvent() method so that it throws an error
+        # when receiving the ContactsAdded method call. The same cannot be
+        # done for Quiescent, because that call is optional and thus allowed
+        # to fail.
         original = self.view.processEvent
         def intercept(message, event):
+             if event[0] == 'quiescent':
+                  # Sometimes the aggregator was seen as idle before
+                  # it loaded the item above, leading to one
+                  # additional 'quiescent' before 'added'. Not sure
+                  # why. Anyway, that belongs into a different test,
+                  # so ignore 'quiescent' here.
+                  return
+             # Record it.
              original(message, event)
+             # Raise error?
              if event[0] == 'added':
+                  logging.printf('raising "fake error" for event %s' % event)
                   raise Exception('fake error')
         self.view.processEvent = intercept
         self.view.search([])
         self.runUntil('phone results',
                       check=lambda: self.assertEqual([], self.view.errors),
-                      until=lambda: self.view.quiescentCount > 0)
-        self.assertEqual([('added', 0, 1),
-                          ('quiescent',)],
+                      until=lambda: self.view.events)
+        self.assertEqual([('added', 0, 1)],
                          self.view.events)
 
         # Expect an error, view should have been closed already.
@@ -3521,11 +4011,19 @@ END:VCARD''',
 
 if __name__ == '__main__':
     xdg = (os.path.join(os.path.abspath('.'), 'temp-testpim', 'config'),
-           os.path.join(os.path.abspath('.'), 'temp-testpim', 'local', 'cache'))
+           os.path.join(os.path.abspath('.'), 'temp-testpim', 'data'),
+           os.path.join(os.path.abspath('.'), 'temp-testpim', 'cache'))
+
+    # Tell test-dbus.py about the temporary directory that we expect
+    # to use. It'll wipe it clean for us because we run with own_xdg=true.
+    # However, we have EDS daemons continuing to run while we do that.
+    # evolution-source-registry copes by watching for file changes.
+    xdg_root = os.path.join(os.path.abspath('.'), 'temp-testpim')
+    testdbus.xdg_root = xdg_root
     error = ''
-    if (os.environ.get('XDG_CONFIG_HOME', None), os.environ.get('XDG_DATA_HOME', None)) != xdg:
+    if (os.environ.get('XDG_CONFIG_HOME', None), os.environ.get('XDG_DATA_HOME', None), os.environ.get('XDG_CACHE_HOME', None)) != xdg:
          # Don't allow user of the script to erase his normal EDS data.
-         error = error + 'testpim.py must be started in a D-Bus session with XDG_CONFIG_HOME=%s XDG_DATA_HOME=%s because it will modify system EDS databases there.\n' % xdg
+         error = error + 'testpim.py must be started in a D-Bus session with XDG_CONFIG_HOME=%s XDG_DATA_HOME=%s XDG_CACHE_HOME=%s because it will modify system EDS databases there.\n' % xdg
     if os.environ.get('LANG', '') != 'de_DE.utf-8':
          error = error + 'EDS daemon must use the same LANG=de_DE.utf-8 as tests to get phone number normalization right.\n'
     if error:
index 82553a2..11fc4e3 100644 (file)
@@ -24,7 +24,7 @@ SE_BEGIN_CXX
 
 void View::start()
 {
-    SE_LOG_DEBUG(NULL, NULL, "%s: start() %s",
+    SE_LOG_DEBUG(NULL, "%s: start() %s",
                  getName(),
                  m_started ? "already done" : "doing it now");
     if (!m_started) {
index fc2b6f8..5c9b3e5 100644 (file)
@@ -134,20 +134,20 @@ void PresenceStatus::updatePresenceStatus (bool httpPresence, bool btPresence) {
             if (boost::starts_with (url, "http") && (httpChanged || !initiated)) {
                 entry.second = m_httpPresence ? MIGHTWORK: NOTRANSPORT;
                 m_server.emitPresence (peer.first, status2string (entry.second), entry.first);
-                SE_LOG_DEBUG(NULL, NULL,
+                SE_LOG_DEBUG(NULL,
                         "http presence signal %s,%s,%s",
                         peer.first.c_str(),
                         status2string (entry.second).c_str(), entry.first.c_str());
             } else if (boost::starts_with (url, "obex-bt") && (btChanged || !initiated)) {
                 entry.second = m_btPresence ? MIGHTWORK: NOTRANSPORT;
                 m_server.emitPresence (peer.first, status2string (entry.second), entry.first);
-                SE_LOG_DEBUG(NULL, NULL,
+                SE_LOG_DEBUG(NULL,
                         "bluetooth presence signal %s,%s,%s",
                         peer.first.c_str(),
                         status2string (entry.second).c_str(), entry.first.c_str());
             } else if (boost::starts_with (url, "local") && !initiated) {
                 m_server.emitPresence (peer.first, status2string (MIGHTWORK), entry.first);
-                SE_LOG_DEBUG(NULL, NULL,
+                SE_LOG_DEBUG(NULL,
                         "local presence signal %s,%s,%s",
                         peer.first.c_str(),
                         status2string (MIGHTWORK).c_str(), entry.first.c_str());
index d9c64e1..00a8633 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <errno.h>
 
+#include <boost/scoped_array.hpp>
+
 #include <syncevo/LogRedirect.h>
 
 #include <syncevo/declarations.h>
@@ -67,10 +69,10 @@ public:
 
     void restart()
     {
-        const char **argv = createArray(m_argv);
-        const char **env = createArray(m_env);
+        boost::scoped_array<const char *> argv(createArray(m_argv));
+        boost::scoped_array<const char *> env(createArray(m_env));
         LogRedirect::reset();
-        if (execve(argv[0], (char *const *)argv, (char *const *)env)) {
+        if (execve(argv[0], (char *const *)argv.get(), (char *const *)env.get())) {
             SE_THROW(StringPrintf("restarting syncevo-dbus-server failed: %s", strerror(errno)));
         }
     }
index 0391a92..ab01679 100644 (file)
@@ -1,5 +1,6 @@
 EXTRA_DIST += \
   src/dbus/server/pim/README \
+  src/dbus/server/pim/pim-manager-api.txt \
   src/dbus/server/pim/examples/search.py \
   src/dbus/server/pim/examples/sync.py \
   src/dbus/server/pim/testpim.py \
@@ -57,9 +58,9 @@ nodist_src_dbus_server_libsyncevodbusserver_la_SOURCES =
 dist_pkgdata_DATA += src/dbus/server/bluetooth_products.ini
 
 src_dbus_server_libsyncevodbusserver_la_LDFLAGS =
-src_dbus_server_libsyncevodbusserver_la_LIBADD = $(LIBNOTIFY_LIBS) $(MLITE_LIBS) $(DBUS_LIBS) $(PCRECPP_LIBS)
+src_dbus_server_libsyncevodbusserver_la_LIBADD = $(LIBNOTIFY_LIBS) $(MLITE_LIBS) $(DBUS_LIBS) $(PCRECPP_LIBS) $(ICU_LIBS)
 src_dbus_server_libsyncevodbusserver_la_CPPFLAGS = -DHAVE_CONFIG_H -DSYNCEVOLUTION_LOCALEDIR=\"${SYNCEVOLUTION_LOCALEDIR}\" -I$(top_srcdir)/src -I$(top_srcdir)/test -I$(top_srcdir) -I$(gdbus_dir) $(BACKEND_CPPFLAGS)
-src_dbus_server_libsyncevodbusserver_la_CXXFLAGS = $(SYNCEVOLUTION_CXXFLAGS) $(CORE_CXXFLAGS) $(SYNTHESIS_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) $(LIBNOTIFY_CFLAGS) $(MLITE_CFLAGS) $(SYNCEVO_WFLAGS)
+src_dbus_server_libsyncevodbusserver_la_CXXFLAGS = $(SYNCEVOLUTION_CXXFLAGS) $(CORE_CXXFLAGS) $(SYNTHESIS_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) $(LIBNOTIFY_CFLAGS) $(MLITE_CFLAGS) $(SYNCEVO_WFLAGS) $(ICU_CFLAGS)
 
 if COND_DBUS_PIM
 src_dbus_server_server_cpp_files += \
@@ -67,13 +68,13 @@ src_dbus_server_server_cpp_files += \
   src/dbus/server/pim/full-view.cpp \
   src/dbus/server/pim/filtered-view.cpp \
   src/dbus/server/pim/edsf-view.cpp \
+  src/dbus/server/pim/locale-factory.cpp \
   src/dbus/server/pim/merge-view.cpp \
   src/dbus/server/pim/individual-traits.cpp \
   src/dbus/server/pim/folks.cpp \
   src/dbus/server/pim/manager.cpp
 
 src_dbus_server_server_h_files += \
-  src/dbus/server/pim/locale-factory.h \
   src/dbus/server/pim/persona-details.h
 
 nodist_src_dbus_server_libsyncevodbusserver_la_SOURCES += \
index 3974e86..da96c86 100644 (file)
@@ -45,8 +45,89 @@ SE_BEGIN_CXX
 
 static void logIdle(bool idle)
 {
-    SE_LOG_DEBUG(NULL, NULL, "server is %s", idle ? "idle" : "not idle");
-}
+    SE_LOG_DEBUG(NULL, "server is %s", idle ? "idle" : "not idle");
+}
+
+class ServerLogger : public Logger
+{
+    Logger::Handle m_parentLogger;
+    // Currently a strong reference. Would be a weak reference
+    // if we had proper reference counting for Server.
+    boost::shared_ptr<Server> m_server;
+
+public:
+    ServerLogger(const boost::shared_ptr<Server> &server) :
+        m_parentLogger(Logger::instance()),
+        m_server(server)
+    {
+    }
+
+    virtual void remove() throw ()
+    {
+        // Hold the Logger mutex while cutting our connection to the
+        // server. The code using m_server below does the same and
+        // holds the mutex while logging. That way we prevent threads
+        // from holding onto the server while it tries to shut down.
+        //
+        // This is important because the server's live time is not
+        // really controlled via the boost::shared_ptr, it may
+        // destruct while there are still references. See
+        // Server::m_logger instantiation below.
+        RecMutex::Guard guard = lock();
+        m_server.reset();
+    }
+
+    virtual void messagev(const MessageOptions &options,
+                          const char *format,
+                          va_list args)
+    {
+        // Ensure that remove() cannot proceed while we have the
+        // server in use.
+        RecMutex::Guard guard = lock();
+        Server *server = m_server.get();
+        message2DBus(server,
+                     options,
+                     format,
+                     args,
+                     server ? server->getPath() : "",
+                     getProcessName());
+    }
+
+    /**
+     * @param server    may be NULL, in which case logging only goes to parent
+     */
+    void message2DBus(Server *server,
+                      const MessageOptions &options,
+                      const char *format,
+                      va_list args,
+                      const std::string &dbusPath,
+                      const std::string &procname)
+    {
+        // Keeps logging consistent: otherwise thread A might log to
+        // parent, thread B to parent and D-Bus, then thread A
+        // finishes its logging via D-Bus.  The order of log messages
+        // would then not be the same in the parent and D-Bus.
+        RecMutex::Guard guard = lock();
+
+        // iterating over args in messagev() is destructive, must make a copy first
+        va_list argsCopy;
+        va_copy(argsCopy, args);
+        m_parentLogger.messagev(options, format, args);
+
+        if (server) {
+            try {
+                if (options.m_level <= server->getDBusLogLevel()) {
+                    string log = StringPrintfV(format, argsCopy);
+                    server->logOutput(dbusPath, options.m_level, log, procname);
+                }
+            } catch (...) {
+                remove();
+                // Give up on server logging silently.
+            }
+        }
+        va_end(argsCopy);
+    }
+};
 
 void Server::clientGone(Client *c)
 {
@@ -54,14 +135,14 @@ void Server::clientGone(Client *c)
         it != m_clients.end();
         ++it) {
         if (it->second.get() == c) {
-            SE_LOG_DEBUG(NULL, NULL, "D-Bus client %s has disconnected",
+            SE_LOG_DEBUG(NULL, "D-Bus client %s has disconnected",
                          c->m_ID.c_str());
             autoTermUnref(it->second->getAttachCount());
             m_clients.erase(it);
             return;
         }
     }
-    SE_LOG_DEBUG(NULL, NULL, "unknown client has disconnected?!");
+    SE_LOG_DEBUG(NULL, "unknown client has disconnected?!");
 }
 
 std::string Server::getNextSession()
@@ -168,7 +249,7 @@ void Server::connect(const Caller_t &caller,
                                                                  new_session,
                                                                  peer,
                                                                  must_authenticate));
-    SE_LOG_DEBUG(NULL, NULL, "connecting D-Bus client %s with connection %s '%s'",
+    SE_LOG_DEBUG(NULL, "connecting D-Bus client %s with connection %s '%s'",
                  caller.c_str(),
                  c->getPath(),
                  c->m_description.c_str());
@@ -282,7 +363,11 @@ Server::Server(GMainLoop *loop,
     m_logOutputSignal(*this, "LogOutput"),
     m_autoTerm(m_loop, m_shutdownRequested, duration),
     m_dbusLogLevel(Logger::INFO),
-    m_parentLogger(LoggerBase::instance())
+    // TODO (?): turn Server into a proper reference counted instance.
+    // This would help with dangling references to it when other threads
+    // use it for logging, see ServerLogger. However, with mutex locking
+    // in ServerLogger that shouldn't be a problem.
+    m_logger(new ServerLogger(boost::shared_ptr<Server>(this, NopDestructor())))
 {
     struct timeval tv;
     gettimeofday(&tv, NULL);
@@ -327,8 +412,9 @@ void Server::activate()
     // out object isn't visible to it yet.
     GDBusCXX::DBusObjectHelper::activate();
 
-    LoggerBase::pushLogger(this);
-    setLevel(LoggerBase::DEBUG);
+    // Push ourselves as logger for the time being.
+    m_logger->setLevel(Logger::DEBUG);
+    m_pushLogger.reset(m_logger);
 
     m_presence.reset(new PresenceStatus(*this));
 
@@ -363,24 +449,26 @@ Server::~Server()
     m_connman.reset();
     m_networkManager.reset();
     m_presence.reset();
-    LoggerBase::popLogger();
+
+    m_pushLogger.reset();
+    m_logger.reset();
 }
 
 bool Server::shutdown()
 {
     Timespec now = Timespec::monotonic();
     bool autosync = m_autoSync && m_autoSync->preventTerm();
-    SE_LOG_DEBUG(NULL, NULL, "shut down or restart server at %lu.%09lu because of file modifications, auto sync %s",
+    SE_LOG_DEBUG(NULL, "shut down or restart server at %lu.%09lu because of file modifications, auto sync %s",
                  now.tv_sec, now.tv_nsec, autosync ? "on" : "off");
     if (autosync) {
         // suitable exec() call which restarts the server using the same environment it was in
         // when it was started
-        SE_LOG_INFO(NULL, NULL, "server restarting because files loaded into memory were modified on disk");
+        SE_LOG_INFO(NULL, "server restarting because files loaded into memory were modified on disk");
         m_restart->restart();
     } else {
         // leave server now
         g_main_loop_quit(m_loop);
-        SE_LOG_INFO(NULL, NULL, "server shutting down because files loaded into memory were modified on disk");
+        SE_LOG_INFO(NULL, "server shutting down because files loaded into memory were modified on disk");
     }
 
     return false;
@@ -388,7 +476,7 @@ bool Server::shutdown()
 
 void Server::fileModified()
 {
-    SE_LOG_DEBUG(NULL, NULL, "file modified, %s shutdown: %s, %s",
+    SE_LOG_DEBUG(NULL, "file modified, %s shutdown: %s, %s",
                  m_shutdownRequested ? "continuing" : "initiating",
                  m_shutdownTimer ? "timer already active" : "timer not yet active",
                  m_activeSession ? "waiting for active session to finish" : "setting timer");
@@ -406,9 +494,9 @@ void Server::run()
     // memory which might be dynamically loadable, like backend
     // plugins.
     StringMap map = getVersions();
-    SE_LOG_DEBUG(NULL, NULL, "D-Bus server ready to run, versions:");
+    SE_LOG_DEBUG(NULL, "D-Bus server ready to run, versions:");
     BOOST_FOREACH(const StringPair &entry, map) {
-        SE_LOG_DEBUG(NULL, NULL, "%s: %s", entry.first.c_str(), entry.second.c_str());
+        SE_LOG_DEBUG(NULL, "%s: %s", entry.first.c_str(), entry.second.c_str());
     }
 
     // Now that everything is loaded, check memory map for files which we have to monitor.
@@ -426,7 +514,7 @@ void Server::run()
     in.close();
     BOOST_FOREACH(const string &file, files) {
         try {
-            SE_LOG_DEBUG(NULL, NULL, "watching: %s", file.c_str());
+            SE_LOG_DEBUG(NULL, "watching: %s", file.c_str());
             boost::shared_ptr<SyncEvo::GLibNotify> notify(new GLibNotify(file.c_str(), boost::bind(&Server::fileModified, this)));
             m_files.push_back(notify);
         } catch (...) {
@@ -435,12 +523,12 @@ void Server::run()
         }
     }
 
-    SE_LOG_INFO(NULL, NULL, "ready to run");
+    SE_LOG_INFO(NULL, "ready to run");
     if (!m_shutdownRequested) {
         g_main_loop_run(m_loop);
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "%s", "Exiting Server::run");
+    SE_LOG_DEBUG(NULL, "%s", "Exiting Server::run");
 }
 
 
@@ -512,7 +600,7 @@ void Server::killSessionsAsync(const std::string &peerDeviceID,
     while (it != m_workQueue.end()) {
         boost::shared_ptr<Session> session = it->lock();
         if (session && session->getPeerDeviceID() == peerDeviceID) {
-            SE_LOG_DEBUG(NULL, NULL, "removing pending session %s because it matches deviceID %s",
+            SE_LOG_DEBUG(NULL, "removing pending session %s because it matches deviceID %s",
                          session->getSessionID().c_str(),
                          peerDeviceID.c_str());
             // remove session and its corresponding connection
@@ -530,7 +618,7 @@ void Server::killSessionsAsync(const std::string &peerDeviceID,
     boost::shared_ptr<Session> active = m_activeSessionRef.lock();
     if (active &&
         active->getPeerDeviceID() == peerDeviceID) {
-        SE_LOG_DEBUG(NULL, NULL, "aborting active session %s because it matches deviceID %s",
+        SE_LOG_DEBUG(NULL, "aborting active session %s because it matches deviceID %s",
                      active->getSessionID().c_str(),
                      peerDeviceID.c_str());
         // hand over work to session
@@ -606,14 +694,14 @@ void Server::removeSyncSession(Session *session)
         delaySessionDestruction(m_syncSession);
         m_syncSession.reset();
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "ignoring removeSyncSession() for session %s, it is not the sync session",
+        SE_LOG_DEBUG(NULL, "ignoring removeSyncSession() for session %s, it is not the sync session",
                      session->getSessionID().c_str());
     }
 }
 
 static void quitLoop(GMainLoop *loop)
 {
-    SE_LOG_DEBUG(NULL, NULL, "stopping server's event loop");
+    SE_LOG_DEBUG(NULL, "stopping server's event loop");
     g_main_loop_quit(loop);
 }
 
@@ -629,7 +717,7 @@ void Server::checkQueue()
         // But don't do it immediately: when done inside the Session.Detach()
         // call, the D-Bus response was not delivered reliably to the client
         // which caused the shutdown.
-        SE_LOG_DEBUG(NULL, NULL, "shutting down in checkQueue(), idle and shutdown was requested");
+        SE_LOG_DEBUG(NULL, "shutting down in checkQueue(), idle and shutdown was requested");
         addTimeout(boost::bind(quitLoop, m_loop), 0);
         return;
     }
@@ -650,7 +738,7 @@ void Server::checkQueue()
 
 void Server::sessionExpired(const boost::shared_ptr<Session> &session)
 {
-    SE_LOG_DEBUG(NULL, NULL, "session %s expired",
+    SE_LOG_DEBUG(NULL, "session %s expired",
                  session->getSessionID().c_str());
 }
 
@@ -660,7 +748,7 @@ void Server::delaySessionDestruction(const boost::shared_ptr<Session> &session)
         return;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "delaying destruction of session %s by one minute",
+    SE_LOG_DEBUG(NULL, "delaying destruction of session %s by one minute",
                  session->getSessionID().c_str());
     addTimeout(boost::bind(&Server::sessionExpired,
                            session),
@@ -909,28 +997,16 @@ void Server::updateDevice(const string &deviceId,
     }
 }
 
-void Server::messagev(Level level,
-                      const char *prefix,
-                      const char *file,
-                      int line,
-                      const char *function,
-                      const char *format,
-                      va_list args,
-                      const std::string &dbusPath,
-                      const std::string &procname)
+void Server::message2DBus(const Logger::MessageOptions &options,
+                          const char *format,
+                          va_list args,
+                          const std::string &dbusPath,
+                          const std::string &procname)
 {
-    // iterating over args in messagev() is destructive, must make a copy first
-    va_list argsCopy;
-    va_copy(argsCopy, args);
-    m_parentLogger.messagev(level, prefix, file, line, function, format, args);
     // prefix is used to set session path
     // for general server output, the object path field is dbus server
     // the object path can't be empty for object paths prevent using empty string.
-    if (level <= m_dbusLogLevel) {
-        string log = StringPrintfV(format, argsCopy);
-        logOutput(dbusPath, level, log, procname);
-    }
-    va_end(argsCopy);
+    m_logger->message2DBus(this, options, format, args, dbusPath, procname);
 }
 
 void Server::logOutput(const GDBusCXX::DBusObject_t &path,
index e0e75c0..673958b 100644 (file)
@@ -53,14 +53,15 @@ class NetworkManagerClient;
 // TODO: avoid polluting namespace
 using namespace std;
 
+class ServerLogger;
+
 /**
  * Implements the main org.syncevolution.Server interface.
  *
  * The Server class is responsible for listening to clients and
  * spinning of sync sessions as requested by clients.
  */
-class Server : public GDBusCXX::DBusObjectHelper,
-               public LoggerBase
+class Server : public GDBusCXX::DBusObjectHelper
 {
     GMainLoop *m_loop;
     bool &m_shutdownRequested;
@@ -391,9 +392,10 @@ class Server : public GDBusCXX::DBusObjectHelper,
     // The level of detail for D-Bus logging signals.
     Logger::Level m_dbusLogLevel;
 
-    //records the parent logger, dbus server acts as logger to
-    //send signals to clients and put logs in the parent logger.
-    LoggerBase &m_parentLogger;
+    // Created in constructor and captures parent logger there,
+    // then pushed as default logger in activate().
+    boost::shared_ptr<ServerLogger> m_logger;
+    PushLogger<ServerLogger> m_pushLogger;
 
     /**
      * All active timeouts created by addTimeout().
@@ -653,34 +655,11 @@ public:
      */
     bool notificationsEnabled();
 
-    /**
-     * implement virtual method from LogStdout.
-     * Not only print the message in the console
-     * but also send them as signals to clients
-     */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args) {
-        messagev(level, prefix, file, line,
-                 function, format, args,
-                 getPath(),
-                 getProcessName());
-    }
-    void messagev(Level level,
-                  const char *prefix,
-                  const char *file,
-                  int line,
-                  const char *function,
-                  const char *format,
-                  va_list args,
-                  const std::string &dbusPath,
-                  const std::string &procname);
-
-    virtual bool isProcessSafe() const { return false; }
+    void message2DBus(const Logger::MessageOptions &options,
+                      const char *format,
+                      va_list args,
+                      const std::string &dbusPath,
+                      const std::string &procname);
 };
 
 // extensions to the D-Bus server, created dynamically by main()
index ce8bb1c..83fe246 100644 (file)
@@ -195,6 +195,83 @@ namespace GDBusCXX {
             base::append(builder, array);
         }
     };
+
+    template <> struct dbus_traits<SyncReport> :
+        public dbus_traits< std::string >
+    {
+        typedef dbus_traits< std::string > base;
+
+        typedef SyncReport host_type;
+        typedef const SyncReport &arg_type;
+
+#ifdef GDBUS_CXX_GIO
+        static void get(GDBusCXX::ExtractArgs &context,
+                        GDBusCXX::reader_type &iter, host_type &report)
+        {
+            std::string dump;
+            base::get(context, iter, dump);
+            report = SyncReport(dump);
+        }
+#else
+        static void get(GDBusCXX::connection_type *conn, GDBusCXX::message_type *msg,
+                        GDBusCXX::reader_type &iter, host_type &report)
+        {
+            std::string dump;
+            base::get(conn, msg, iter, dump);
+            report = SyncReport(dump);
+        }
+#endif
+
+        static void append(GDBusCXX::builder_type &builder, arg_type report)
+        {
+            base::append(builder, report.toString());
+        }
+    };
+
+    template <> struct dbus_traits<SyncSourceReport> :
+        public dbus_traits< std::string >
+    {
+        typedef dbus_traits< std::string > base;
+
+        typedef SyncSourceReport host_type;
+        typedef const SyncSourceReport &arg_type;
+
+#ifdef GDBUS_CXX_GIO
+        static void get(GDBusCXX::ExtractArgs &context,
+                        GDBusCXX::reader_type &iter, host_type &source)
+        {
+            std::string dump;
+            base::get(context, iter, dump);
+            SyncReport report = SyncReport(dump);
+            const SyncSourceReport *foo = report.findSyncSourceReport("foo");
+            if (!foo) {
+                SE_THROW("incomplete SyncReport");
+            }
+            source = *foo;
+        }
+#else
+        static void get(GDBusCXX::connection_type *conn, GDBusCXX::message_type *msg,
+                        GDBusCXX::reader_type &iter, host_type &source)
+        {
+            std::string dump;
+            base::get(conn, msg, iter, dump);
+            SyncReport report = SyncReport(dump);
+            const SyncSourceReport *foo = report.findSyncSourceReport("foo");
+            if (!foo) {
+                SE_THROW("incomplete SyncReport");
+            }
+            source = *foo;
+        }
+#endif
+
+        static void append(GDBusCXX::builder_type &builder, arg_type source)
+        {
+            SyncReport report;
+            report.addSyncSourceReport("foo", source);
+            base::append(builder, report.toString());
+        }
+    };
+
 }
 
 #endif // SESSION_COMMON_H
index 247c63a..b84d85c 100644 (file)
 
 SE_BEGIN_CXX
 
+static void dumpString(const std::string &output)
+{
+    fputs(output.c_str(), stdout);
+}
+
+/**
+ * Same logging approach as in Server class: pretend that we
+ * have reference counting for the SessionHelper class and
+ * use mutex locking to prevent dangling pointers.
+ */
+class SessionHelperLogger : public Logger
+{
+    boost::shared_ptr<LogRedirect> m_parentLogger;
+    boost::shared_ptr<SessionHelper> m_helper;
+
+public:
+    SessionHelperLogger(const boost::shared_ptr<LogRedirect> &parentLogger,
+                        const boost::shared_ptr<SessionHelper> &helper):
+        m_parentLogger(parentLogger),
+        m_helper(helper)
+    {
+    }
+
+    virtual void remove() throw ()
+    {
+        RecMutex::Guard guard = lock();
+        m_helper.reset();
+    }
+
+    virtual void messagev(const MessageOptions &options,
+                          const char *format,
+                          va_list args)
+    {
+        RecMutex::Guard guard = lock();
+        static bool dbg = getenv("SYNCEVOLUTION_DEBUG");
+
+        if (dbg) {
+            // Let parent LogRedirect or utility function handle the
+            // output *in addition* to logging via D-Bus. That way
+            // it'll be visible via our stdout/stderr (= console)
+            // right away.
+            //
+            // In non-debug mode, nothing should get written to
+            // stdout/stder, which got redirected into a pipe
+            // read by our parend. In that mode, the parent will include
+            // our output in its own output streams.
+            va_list argsCopy;
+            va_copy(argsCopy, args);
+            if (m_parentLogger) {
+                m_parentLogger->messagev(options, format, argsCopy);
+            } else {
+                formatLines(options.m_level, DEBUG,
+                            options.m_processName,
+                            options.m_prefix,
+                            format, argsCopy,
+                            boost::bind(dumpString, _1));
+            }
+            va_end(argsCopy);
+        } else if (m_parentLogger) {
+            // Only flush parent logger, to capture output sent to
+            // stdout/stderr by some library and send it via D-Bus
+            // (recursively!)  before printing out own, new output.
+            m_parentLogger->flush();
+        }
+
+        if (m_helper) {
+            // send to parent
+            string log = StringPrintfV(format, args);
+            string strLevel = Logger::levelToStr(options.m_level);
+            try {
+                m_helper->emitLogOutput(strLevel, log, options.m_processName ? *options.m_processName : getProcessName());
+            } catch (...) {
+                // Give up forwarding output.
+                m_helper.reset();
+            }
+        }
+    }
+};
+
 SessionHelper::SessionHelper(GMainLoop *loop,
                              const GDBusCXX::DBusConnectionPtr &conn,
                              const boost::shared_ptr<ForkExecChild> &forkexec,
-                             LogRedirect *parentLogger) :
+                             const boost::shared_ptr<LogRedirect> &parentLogger) :
     GDBusCXX::DBusObjectHelper(conn,
-                               SessionCommon::HELPER_PATH,
+                               std::string(SessionCommon::HELPER_PATH) + "/" + forkexec->getInstance(),
                                SessionCommon::HELPER_IFACE,
                                GDBusCXX::DBusObjectHelper::Callback_t(), // we don't care about a callback per message
                                true), // direct connection, close it when done
     m_loop(loop),
     m_conn(conn),
     m_forkexec(forkexec),
-    m_parentLogger(parentLogger),
+    m_logger(new SessionHelperLogger(parentLogger, boost::shared_ptr<SessionHelper>(this, NopDestructor()))),
     emitLogOutput(*this, "LogOutput"),
     emitSyncProgress(*this, "SyncProgress"),
     emitSourceProgress(*this, "SourceProgress"),
+    emitSourceSynced(*this, "SourceSynced"),
     emitWaiting(*this, "Waiting"),
     emitSyncSuccessStart(*this, "SyncSuccessStart"),
     emitConfigChanged(*this, "ConfigChanged"),
@@ -62,60 +142,25 @@ SessionHelper::SessionHelper(GMainLoop *loop,
     add(emitLogOutput);
     add(emitSyncProgress);
     add(emitSourceProgress);
+    add(emitSourceSynced);
     add(emitWaiting);
     add(emitSyncSuccessStart);
     add(emitConfigChanged);
     add(emitPasswordRequest);
     add(emitMessage);
     add(emitShutdown);
-    activate();
-    LoggerBase::pushLogger(this);
-}
-
-SessionHelper::~SessionHelper()
-{
-    LoggerBase::popLogger();
 }
 
-static void dumpString(const std::string &output)
+void SessionHelper::activate()
 {
-    fputs(output.c_str(), stdout);
+    GDBusCXX::DBusObjectHelper::activate();
+    m_pushLogger.reset(m_logger);
 }
 
-void SessionHelper::messagev(Level level,
-                             const char *prefix,
-                             const char *file,
-                             int line,
-                             const char *function,
-                             const char *format,
-                             va_list args)
+SessionHelper::~SessionHelper()
 {
-    static bool dbg = getenv("SYNCEVOLUTION_DEBUG");
-
-    if (dbg) {
-        // let parent LogRedirect or utility function handle the output *in addition* to
-        // logging via D-Bus
-        va_list argsCopy;
-        va_copy(argsCopy, args);
-        if (m_parentLogger) {
-            m_parentLogger->messagev(level, prefix, file, line, function, format, argsCopy);
-        } else {
-            formatLines(level, DEBUG, getProcessName(),
-                        prefix, format, argsCopy,
-                        boost::bind(dumpString, _1));
-        }
-        va_end(argsCopy);
-    } else {
-        // Only flush parent logger, to capture output sent to
-        // stdout/stderr by some library and send it via D-Bus
-        // (recursively!)  before printing out own, new output.
-        m_parentLogger->flush();
-    }
-
-    // send to parent
-    string log = StringPrintfV(format, args);
-    string strLevel = Logger::levelToStr(level);
-    emitLogOutput(strLevel, log, getProcessName());
+    m_pushLogger.reset();
+    m_logger.reset();
 }
 
 void SessionHelper::run()
@@ -123,12 +168,12 @@ void SessionHelper::run()
     SuspendFlags &s = SuspendFlags::getSuspendFlags();
     while (true) {
         if (s.getState() != SuspendFlags::NORMAL) {
-            SE_LOG_DEBUG(NULL, NULL, "terminating because of suspend or abort signal");
+            SE_LOG_DEBUG(NULL, "terminating because of suspend or abort signal");
             break;
         }
         if (m_operation &&
             m_operation()) {
-            SE_LOG_DEBUG(NULL, NULL, "terminating as requested by operation");
+            SE_LOG_DEBUG(NULL, "terminating as requested by operation");
             break;
         }
         g_main_loop_run(m_loop);
@@ -141,24 +186,29 @@ bool SessionHelper::connected()
 }
 
 void SessionHelper::sync(const SessionCommon::SyncParams &params,
-                         const boost::shared_ptr< GDBusCXX::Result1<bool> > &result)
+                         const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result)
 {
     m_operation = boost::bind(&SessionHelper::doSync, this, params, result);
     g_main_loop_quit(m_loop);
 }
 
 bool SessionHelper::doSync(const SessionCommon::SyncParams &params,
-                           const boost::shared_ptr< GDBusCXX::Result1<bool> > &result)
+                           const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result)
 {
     try {
         m_sync.reset(new DBusSync(params, *this));
-        SyncMLStatus status = m_sync->sync();
+        SyncReport report;
+        SyncMLStatus status = m_sync->sync(&report);
         if (status) {
+            // Clear the abort signal, to allow the process to send
+            // out the D-Bus response. Our parent will signal us again
+            // after it received the response.
+            // TODO
             SE_THROW_EXCEPTION_STATUS(StatusException,
                                       "sync failed",
                                       status);
         }
-        result->done(true);
+        result->done(true, report);
     } catch (...) {
         dbusErrorCallback(result);
     }
@@ -258,7 +308,7 @@ void SessionHelper::passwordResponse(bool timedOut, bool aborted, const std::str
     if (m_sync) {
         m_sync->passwordResponse(timedOut, aborted, password);
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "discarding obsolete password response");
+        SE_LOG_DEBUG(NULL, "discarding obsolete password response");
     }
 }
 
index 660782c..d808bea 100644 (file)
@@ -43,28 +43,28 @@ class ForkExecChild;
  * traditional syncevo-dbus-server did.
  */
 class SessionHelper : public GDBusCXX::DBusObjectHelper,
-    private LoggerBase,
     private boost::noncopyable
 {
     GMainLoop *m_loop;
     GDBusCXX::DBusConnectionPtr m_conn;
     boost::shared_ptr<ForkExecChild> m_forkexec;
-    LogRedirect *m_parentLogger;
     boost::function<bool ()> m_operation;
+    boost::shared_ptr<Logger> m_logger;
+    PushLogger<Logger> m_pushLogger;
 
     /** valid during doSync() */
     boost::scoped_ptr<DBusSync> m_sync;
 
     /** called by main event loop: initiate a sync operation */
     void sync(const SessionCommon::SyncParams &params,
-              const boost::shared_ptr< GDBusCXX::Result1<bool> > &result);
+              const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result);
 
     /**
      * called by run(): do the sync operation
      * @return true if the helper is meant to terminate
      */
     bool doSync(const SessionCommon::SyncParams &params,
-                const boost::shared_ptr< GDBusCXX::Result1<bool> > &result);
+                const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result);
 
     void restore(const std::string &configName,
                  const string &dir, bool before, const std::vector<std::string> &sources,
@@ -81,23 +81,14 @@ class SessionHelper : public GDBusCXX::DBusObjectHelper,
     /** SessionHelper.PasswordResponse */
     void passwordResponse(bool timedOut, bool aborted, const std::string &password);
 
-    // Logger implementation -> output via D-Bus emitLogOutput
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args);
-    virtual bool isProcessSafe() const { return false; }
-
  public:
     SessionHelper(GMainLoop *loop,
                   const GDBusCXX::DBusConnectionPtr &conn,
                   const boost::shared_ptr<ForkExecChild> &forkexec,
-                  LogRedirect *parentLogger);
+                  const boost::shared_ptr<LogRedirect> &parentLogger);
     ~SessionHelper();
 
+    void activate();
     void run();
     GMainLoop *getLoop() const { return m_loop; }
 
@@ -119,6 +110,9 @@ class SessionHelper : public GDBusCXX::DBusObjectHelper,
         std::string, SyncMode,
         int32_t, int32_t, int32_t, true> emitSourceProgress;
 
+    /** SyncContext::m_sourceSyncedSignal */
+    GDBusCXX::EmitSignal2<std::string, SyncSourceReport, true> emitSourceSynced;
+
     /** SyncContext::reportStepCmd -> true/false for "waiting on IO" */
     GDBusCXX::EmitSignal1<bool, true> emitWaiting;
 
index fcb50f3..4662d7d 100644 (file)
@@ -43,9 +43,9 @@ SE_BEGIN_CXX
 class SessionProxy : public GDBusCXX::DBusRemoteObject
 {
 public:
-  SessionProxy(const GDBusCXX::DBusConnectionPtr &conn) :
+    SessionProxy(const GDBusCXX::DBusConnectionPtr &conn, const std::string &instance) :
     GDBusCXX::DBusRemoteObject(conn.get(),
-                               SessionCommon::HELPER_PATH,
+                               std::string(SessionCommon::HELPER_PATH) + "/" + instance,
                                SessionCommon::HELPER_IFACE,
                                SessionCommon::HELPER_DESTINATION,
                                true), // This is a one-to-one connection. Close it.
@@ -74,6 +74,7 @@ public:
     m_logOutput(*this, "LogOutput", false),
     m_syncProgress(*this, "SyncProgress", false),
     m_sourceProgress(*this, "SourceProgress", false),
+    m_sourceSynced(*this, "SourceSynced", false),
     m_waiting(*this, "Waiting", false),
     m_syncSuccessStart(*this, "SyncSuccessStart", false),
     m_configChanged(*this, "ConfigChanged", false),
@@ -87,7 +88,7 @@ public:
     /* GDBusCXX::DBusClientCall1<std::vector<StringMap> >           m_getReports; */
     /* GDBusCXX::DBusClientCall0                                    m_checkSource; */
     /* GDBusCXX::DBusClientCall1<ReadOperations::SourceDatabases_t> m_getDatabases; */
-    GDBusCXX::DBusClientCall1<bool> m_sync;
+    GDBusCXX::DBusClientCall2<bool, SyncReport> m_sync;
     GDBusCXX::DBusClientCall1<bool> m_restore;
     GDBusCXX::DBusClientCall1<bool> m_execute;
     /* GDBusCXX::DBusClientCall0                                    m_serverShutdown; */
@@ -103,6 +104,7 @@ public:
     GDBusCXX::SignalWatch6<sysync::TProgressEventEnum,
                            std::string, SyncMode,
                            int32_t, int32_t, int32_t> m_sourceProgress;
+    GDBusCXX::SignalWatch2<std::string, SyncSourceReport> m_sourceSynced;
     GDBusCXX::SignalWatch1<bool> m_waiting;
     GDBusCXX::SignalWatch0 m_syncSuccessStart;
     GDBusCXX::SignalWatch0 m_configChanged;
@@ -204,7 +206,7 @@ void Session::setNamedConfig(const std::string &configName,
                              bool update, bool temporary,
                              const ReadOperations::Config_t &config)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation != SessionCommon::OP_NULL) {
         string msg = StringPrintf("%s started, cannot change configuration at this time", runOpToString(m_runOperation).c_str());
         SE_THROW_EXCEPTION(InvalidCall, msg);
@@ -323,7 +325,7 @@ void Session::setNamedConfig(const std::string &configName,
 
 void Session::initServer(SharedBuffer data, const std::string &messageType)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     m_serverMode = true;
     m_initialMessage = data;
     m_initialMessageType = messageType;
@@ -331,7 +333,7 @@ void Session::initServer(SharedBuffer data, const std::string &messageType)
 
 void Session::sync(const std::string &mode, const SessionCommon::SourceModes_t &sourceModes)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation == SessionCommon::OP_SYNC) {
         string msg = StringPrintf("%s started, cannot start again", runOpToString(m_runOperation).c_str());
         SE_THROW_EXCEPTION(InvalidCall, msg);
@@ -352,7 +354,7 @@ void Session::sync(const std::string &mode, const SessionCommon::SourceModes_t &
 
 void Session::sync2(const std::string &mode, const SessionCommon::SourceModes_t &sourceModes)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (!m_forkExecParent || !m_helper) {
         SE_THROW("syncing cannot continue, helper died");
     }
@@ -410,12 +412,12 @@ void Session::sync2(const std::string &mode, const SessionCommon::SourceModes_t
     // the error is recorded before ending the session. Premature
     // exits by the helper are handled by D-Bus, which then will abort
     // the pending method call.
-    m_helper->m_sync.start(params, boost::bind(&Session::dbusResultCb, m_me, "sync()", _1, _2));
+    m_helper->m_sync.start(params, boost::bind(&Session::dbusResultCb, m_me, "sync()", _1, _2, _3));
 }
 
 void Session::abort()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation != SessionCommon::OP_SYNC && m_runOperation != SessionCommon::OP_CMDLINE) {
         SE_THROW_EXCEPTION(InvalidCall, "sync not started, cannot abort at this time");
     }
@@ -436,7 +438,7 @@ void Session::abort()
 
 void Session::suspend()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation != SessionCommon::OP_SYNC && m_runOperation != SessionCommon::OP_CMDLINE) {
         SE_THROW_EXCEPTION(InvalidCall, "sync not started, cannot suspend at this time");
     }
@@ -453,7 +455,7 @@ void Session::suspend()
 
 void Session::abortAsync(const SimpleResult &result)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (!m_forkExecParent) {
         result.done();
     } else {
@@ -470,7 +472,7 @@ void Session::getStatus(std::string &status,
                         uint32_t &error,
                         SourceStatuses_t &sources)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     status = syncStatusToString(m_syncStatus);
     if (m_stepIsWaiting) {
         status += ";waiting";
@@ -483,14 +485,14 @@ void Session::getStatus(std::string &status,
 void Session::getProgress(int32_t &progress,
                           SourceProgresses_t &sources)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     progress = m_progData.getProgress();
     sources = m_sourceProgress;
 }
 
 void Session::fireStatus(bool flush)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     std::string status;
     uint32_t error;
     SourceStatuses_t sources;
@@ -507,7 +509,7 @@ void Session::fireStatus(bool flush)
 
 void Session::fireProgress(bool flush)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     int32_t progress;
     SourceProgresses_t sources;
 
@@ -590,26 +592,26 @@ Session::Session(Server &server,
     add(emitStatus);
     add(emitProgress);
 
-    SE_LOG_DEBUG(NULL, NULL, "session %s created", getPath());
+    SE_LOG_DEBUG(NULL, "session %s created", getPath());
 }
 
 void Session::passwordRequest(const std::string &descr, const ConfigPasswordKey &key)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     m_passwordRequest = m_server.passwordRequest(descr, key, m_me);
 }
 
-void Session::dbusResultCb(const std::string &operation, bool success, const std::string &error) throw()
+void Session::dbusResultCb(const std::string &operation, bool success, const SyncReport &report, const std::string &error) throw()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
-        SE_LOG_DEBUG(NULL, NULL, "%s helper call completed, %s",
+        SE_LOG_DEBUG(NULL, "%s helper call completed, %s",
                      operation.c_str(),
                      !error.empty() ? error.c_str() :
                      success ? "<<successfully>>" :
                      "<<unsuccessfully>>");
         if (error.empty()) {
-            doneCb(success);
+            doneCb(success, report);
         } else {
             // Translate back into local exception, will be handled by
             // catch clause and (eventually) failureCb().
@@ -625,7 +627,7 @@ void Session::dbusResultCb(const std::string &operation, bool success, const std
 
 void Session::failureCb() throw()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         if (m_status == SESSION_DONE) {
             // ignore errors that happen after session already closed,
@@ -652,11 +654,11 @@ void Session::failureCb() throw()
             }
             // set error, but don't overwrite older one
             if (!m_error) {
-                SE_LOG_DEBUG(NULL, NULL, "session failed: remember %d error", error);
+                SE_LOG_DEBUG(NULL, "session failed: remember %d error", error);
                 m_error = error;
             }
             // will fire status signal, including the error
-            doneCb();
+            doneCb(false);
         }
     } catch (...) {
         // fatal problem, log it and terminate
@@ -664,9 +666,9 @@ void Session::failureCb() throw()
     }
 }
 
-void Session::doneCb(bool success) throw()
+void Session::doneCb(bool success, const SyncReport &report) throw()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         if (m_status == SESSION_DONE) {
             return;
@@ -690,17 +692,21 @@ void Session::doneCb(bool success) throw()
             m_server.m_configChangedSignal(m_configName);
         }
 
-        SE_LOG_DEBUG(NULL, NULL, "session %s done, config %s, %s, result %d",
+        SE_LOG_DEBUG(NULL, "session %s done, config %s, %s, result %d",
                      getPath(),
                      m_configName.c_str(),
                      m_setConfig ? "modified" : "not modified",
                      m_error);
-        m_doneSignal((SyncMLStatus)m_error);
+        m_doneSignal((SyncMLStatus)m_error, report);
 
         // now also kill helper
         m_helper.reset();
         if (m_forkExecParent) {
+            // Abort (just in case, helper should already be waiting
+            // for SIGURG).
             m_forkExecParent->stop(SIGTERM);
+            // Quit.
+            m_forkExecParent->stop(SIGURG);
         }
 
         m_server.removeSyncSession(this);
@@ -713,8 +719,9 @@ void Session::doneCb(bool success) throw()
 
 Session::~Session()
 {
-    SE_LOG_DEBUG(NULL, NULL, "session %s deconstructing", getPath());
-    doneCb();
+    SE_LOG_DEBUG(NULL, "session %s deconstructing", getPath());
+    // If we are not done yet, then something went wrong.
+    doneCb(false);
 }
 
 /** child has quit before connecting, invoke result.failed() with suitable exception pending */
@@ -730,7 +737,7 @@ static void raiseChildTermError(int status, const SimpleResult &result)
 void Session::runOperationAsync(SessionCommon::RunOperation op,
                                 const SuccessCb_t &helperReady)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     m_server.addSyncSession(this);
     m_runOperation = op;
     m_status = SESSION_RUNNING;
@@ -743,7 +750,7 @@ void Session::runOperationAsync(SessionCommon::RunOperation op,
 
 void Session::useHelperAsync(const SimpleResult &result)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         if (m_helper) {
             // exists already, invoke callback directly
@@ -804,20 +811,27 @@ void Session::useHelperAsync(const SimpleResult &result)
     }
 }
 
-void Session::messagev(Level level,
-                       const char *prefix,
-                       const char *file,
-                       int line,
-                       const char *function,
+void Session::messagev(const MessageOptions &options,
                        const char *format,
                        va_list args)
 {
     // log with session path and empty process name,
     // just like the syncevo-dbus-helper does
-    string strLevel = Logger::levelToStr(level);
-    m_server.messagev(level, NULL, NULL, 0, NULL,
-                      format, args,
-                      getPath(), "");
+    m_server.message2DBus(options,
+                          format, args,
+                          getPath(), "");
+}
+
+static void Logging2ServerAndStdout(Server &server,
+                                    const GDBusCXX::DBusObject_t &path,
+                                    const Logger::MessageOptions &options,
+                                    const char *format,
+                                    ...)
+{
+    va_list args;
+    va_start(args, format);
+    server.message2DBus(options, format, args, path, options.m_processName ? *options.m_processName : "");
+    va_end(args);
 }
 
 static void Logging2Server(Server &server,
@@ -826,15 +840,29 @@ static void Logging2Server(Server &server,
                            const std::string &explanation,
                            const std::string &procname)
 {
-    server.logOutput(path,
-                     Logger::strToLevel(strLevel.c_str()),
-                     explanation,
-                     procname);
+    static bool dbg = getenv("SYNCEVOLUTION_DEBUG");
+
+    if (dbg) {
+        // Print to D-Bus directly. The helper handles its own
+        // printing to the console.
+        server.logOutput(path,
+                         Logger::strToLevel(strLevel.c_str()),
+                         explanation,
+                         procname);
+    } else {
+        // Print to D-Bus and console, because the helper
+        // relies on us to do that. Its own stdout/stderr
+        // was redirected into our pipe and any output
+        // there is considered an error.
+        Logger::MessageOptions options(Logger::strToLevel(strLevel.c_str()));
+        options.m_processName = &procname;
+        Logging2ServerAndStdout(server, path, options, "%s", explanation.c_str());
+    }
 }
 
 void Session::useHelper2(const SimpleResult &result, const boost::signals2::connection &c)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         // helper is running, don't call result.failed() when it quits
         // sometime in the future
@@ -877,14 +905,16 @@ void Session::useHelper2(const SimpleResult &result, const boost::signals2::conn
 
 void Session::onConnect(const GDBusCXX::DBusConnectionPtr &conn) throw ()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
-        SE_LOG_DEBUG(NULL, NULL, "helper has connected");
-        m_helper.reset(new SessionProxy(conn));
+        std::string instance = m_forkExecParent->getInstance();
+        SE_LOG_DEBUG(NULL, "helper %s has connected", instance.c_str());
+        m_helper.reset(new SessionProxy(conn, instance));
 
         // Activate signal watch on helper signals.
         m_helper->m_syncProgress.activate(boost::bind(&Session::syncProgress, this, _1, _2, _3, _4));
         m_helper->m_sourceProgress.activate(boost::bind(&Session::sourceProgress, this, _1, _2, _3, _4, _5, _6));
+        m_helper->m_sourceSynced.activate(boost::bind(boost::ref(m_sourceSynced), _1, _2));
         m_helper->m_waiting.activate(boost::bind(&Session::setWaiting, this, _1));
         m_helper->m_syncSuccessStart.activate(boost::bind(boost::ref(Session::m_syncSuccessStartSignal)));
         m_helper->m_configChanged.activate(boost::bind(boost::ref(m_server.m_configChangedSignal), ""));
@@ -896,21 +926,21 @@ void Session::onConnect(const GDBusCXX::DBusConnectionPtr &conn) throw ()
 
 void Session::onQuit(int status) throw ()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
-        SE_LOG_DEBUG(NULL, NULL, "helper quit with return code %d, was %s",
+        SE_LOG_DEBUG(NULL, "helper quit with return code %d, was %s",
                      status,
                      m_wasAborted ? "aborted" : "not aborted");
         if (m_status == SESSION_DONE) {
             // don't care anymore whether the helper goes down, not an error
-            SE_LOG_DEBUG(NULL, NULL, "session already completed, ignore helper");
+            SE_LOG_DEBUG(NULL, "session already completed, ignore helper");
         } else if (m_wasAborted  &&
                    ((WIFEXITED(status) && WEXITSTATUS(status) == 0) ||
                     (WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM))) {
-            SE_LOG_DEBUG(NULL, NULL, "helper terminated via SIGTERM, as expected");
+            SE_LOG_DEBUG(NULL, "helper terminated via SIGTERM, as expected");
             if (!m_error) {
                 m_error = sysync::LOCERR_USERABORT;
-                SE_LOG_DEBUG(NULL, NULL, "helper was asked to quit -> error %d = LOCERR_USERABORT",
+                SE_LOG_DEBUG(NULL, "helper was asked to quit -> error %d = LOCERR_USERABORT",
                              m_error);
             }
         } else {
@@ -932,7 +962,8 @@ void Session::onQuit(int status) throw ()
         }
         m_server.addTimeout(boost::bind(&Session::doneCb,
                                         m_me,
-                                        false),
+                                        false,
+                                        SyncReport()),
                             0.1 /* seconds */);
     } catch (...) {
         Exception::handle();
@@ -941,9 +972,9 @@ void Session::onQuit(int status) throw ()
 
 void Session::onFailure(SyncMLStatus status, const std::string &explanation) throw ()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
-        SE_LOG_DEBUG(NULL, NULL, "helper failed, status code %d = %s, %s",
+        SE_LOG_DEBUG(NULL, "helper failed, status code %d = %s, %s",
                      status,
                      Status2String(status).c_str(),
                      explanation.c_str());
@@ -954,18 +985,18 @@ void Session::onFailure(SyncMLStatus status, const std::string &explanation) thr
 
 void Session::onOutput(const char *buffer, size_t length)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     // treat null-bytes inside the buffer like line breaks
     size_t off = 0;
     do {
-        SE_LOG_ERROR(NULL, "session-helper", "%s", buffer + off);
+        SE_LOG_ERROR("session-helper", "%s", buffer + off);
         off += strlen(buffer + off) + 1;
     } while (off < length);
 }
 
 void Session::activateSession()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_status != SESSION_IDLE) {
         SE_THROW("internal error, session changing from non-idle to active");
     }
@@ -986,7 +1017,7 @@ void Session::activateSession()
 
 void Session::passwordResponse(bool timedOut, bool aborted, const std::string &password)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_helper) {
         // Ignore communicaton failures with helper here,
         // we'll notice that elsewhere
@@ -999,7 +1030,7 @@ void Session::passwordResponse(bool timedOut, bool aborted, const std::string &p
 void Session::syncProgress(sysync::TProgressEventEnum type,
                            int32_t extra1, int32_t extra2, int32_t extra3)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     switch(type) {
     case sysync::PEV_CUSTOM_START:
         m_cmdlineOp = (RunOperation)extra1;
@@ -1018,7 +1049,7 @@ void Session::syncProgress(sysync::TProgressEventEnum type,
         // result of the sync method invocation.
         //
         // if((uint32_t)extra1 != m_error) {
-        //     SE_LOG_DEBUG(NULL, NULL, "session sync progress: failed with code %d", extra1);
+        //     SE_LOG_DEBUG(NULL, "session sync progress: failed with code %d", extra1);
         //     m_error = extra1;
         //     fireStatus(true);
         // }
@@ -1052,7 +1083,7 @@ void Session::sourceProgress(sysync::TProgressEventEnum type,
                              SyncMode sourceSyncMode,
                              int32_t extra1, int32_t extra2, int32_t extra3)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     // a command line operation can be many things, helper must have told us
     SessionCommon::RunOperation op = m_runOperation == SessionCommon::OP_CMDLINE ?
         m_cmdlineOp :
@@ -1170,7 +1201,7 @@ void Session::sourceProgress(sysync::TProgressEventEnum type,
 
 bool Session::setFilters(SyncConfig &config)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     /** apply temporary configs to config */
     config.setConfigFilter(true, "", m_syncFilter);
     // set all sources in the filter to config
@@ -1182,7 +1213,7 @@ bool Session::setFilters(SyncConfig &config)
 
 void Session::setWaiting(bool isWaiting)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     // if stepInfo doesn't change, then ignore it to avoid duplicate status info
     if(m_stepIsWaiting != isWaiting) {
         m_stepIsWaiting = isWaiting;
@@ -1192,7 +1223,7 @@ void Session::setWaiting(bool isWaiting)
 
 void Session::restore(const string &dir, bool before, const std::vector<std::string> &sources)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation == SessionCommon::OP_RESTORE) {
         string msg = StringPrintf("restore started, cannot restore again");
         SE_THROW_EXCEPTION(InvalidCall, msg);
@@ -1212,19 +1243,19 @@ void Session::restore(const string &dir, bool before, const std::vector<std::str
 
 void Session::restore2(const string &dir, bool before, const std::vector<std::string> &sources)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (!m_forkExecParent || !m_helper) {
         SE_THROW("syncing cannot continue, helper died");
     }
 
     // helper is ready, tell it what to do
     m_helper->m_restore.start(m_configName, dir, before, sources,
-                              boost::bind(&Session::dbusResultCb, m_me, "restore()", _1, _2));
+                              boost::bind(&Session::dbusResultCb, m_me, "restore()", _1, SyncReport(), _2));
 }
 
 void Session::execute(const vector<string> &args, const map<string, string> &vars)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (m_runOperation == SessionCommon::OP_CMDLINE) {
         SE_THROW_EXCEPTION(InvalidCall, "cmdline started, cannot start again");
     } else if (m_runOperation != SessionCommon::OP_NULL) {
@@ -1243,20 +1274,20 @@ void Session::execute(const vector<string> &args, const map<string, string> &var
 
 void Session::execute2(const vector<string> &args, const map<string, string> &vars)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     if (!m_forkExecParent || !m_helper) {
         SE_THROW("syncing cannot continue, helper died");
     }
 
     // helper is ready, tell it what to do
     m_helper->m_execute.start(args, vars,
-                              boost::bind(&Session::dbusResultCb, m_me, "execute()", _1, _2));
+                              boost::bind(&Session::dbusResultCb, m_me, "execute()", _1, SyncReport(), _2));
 }
 
 /*Implementation of Session.CheckPresence */
 void Session::checkPresence (string &status)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     vector<string> transport;
     m_server.checkPresence(m_configName, status, transport);
 }
@@ -1265,7 +1296,7 @@ void Session::sendViaConnection(const DBusArray<uint8_t> buffer,
                                 const std::string &type,
                                 const std::string &url)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         boost::shared_ptr<Connection> connection = m_connection.lock();
 
@@ -1284,7 +1315,7 @@ void Session::sendViaConnection(const DBusArray<uint8_t> buffer,
 
 void Session::shutdownConnection()
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     try {
         boost::shared_ptr<Connection> connection = m_connection.lock();
 
@@ -1304,7 +1335,7 @@ void Session::shutdownConnection()
 void Session::storeMessage(const DBusArray<uint8_t> &message,
                            const std::string &type)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     // ignore errors
     if (m_helper) {
         m_helper->m_storeMessage.start(message, type,
@@ -1314,7 +1345,7 @@ void Session::storeMessage(const DBusArray<uint8_t> &message,
 
 void Session::connectionState(const std::string &error)
 {
-    Session::LoggingGuard guard(this);
+    PushLogger<Logger> guard(m_me);
     // ignore errors
     if (m_helper) {
         m_helper->m_connectionState.start(error,
index 6df3132..e1df025 100644 (file)
@@ -62,7 +62,7 @@ class InfoReq;
  * for simple sessions).
  */
 class Session : public GDBusCXX::DBusObjectHelper,
-                public LoggerBase,
+                public Logger,
                 public Resource,
                 private ReadOperations,
                 private boost::noncopyable
@@ -81,6 +81,9 @@ class Session : public GDBusCXX::DBusObjectHelper,
         SYNC_ILLEGAL
     };
 
+    typedef std::map<std::string, SourceStatus> SourceStatuses_t;
+    typedef std::map<std::string, SourceProgress> SourceProgresses_t;
+
  private:
     Server &m_server;
     std::vector<std::string> m_flags;
@@ -170,7 +173,7 @@ class Session : public GDBusCXX::DBusObjectHelper,
     bool m_wasAborted;
 
     /**
-     * Indicates whether this session was initiated by the peer or locally.
+     * True iff we initiated the sync.
      */
     bool m_remoteInitiated;
     SyncStatus m_syncStatus;
@@ -203,11 +206,9 @@ class Session : public GDBusCXX::DBusObjectHelper,
     /** progress data, holding progress calculation related info */
     ProgressData m_progData;
 
-    typedef std::map<std::string, SourceStatus> SourceStatuses_t;
     SourceStatuses_t m_sourceStatus;
 
     uint32_t m_error;
-    typedef std::map<std::string, SourceProgress> SourceProgresses_t;
     SourceProgresses_t m_sourceProgress;
 
     // syncProgress() and sourceProgress() turn raw data from helper
@@ -291,6 +292,7 @@ class Session : public GDBusCXX::DBusObjectHelper,
     /** like fireStatus() for progress information */
     void fireProgress(bool flush = false);
 
+public:
     /** Session.StatusChanged */
     GDBusCXX::EmitSignal3<const std::string &,
                           uint32_t,
@@ -299,7 +301,6 @@ class Session : public GDBusCXX::DBusObjectHelper,
     GDBusCXX::EmitSignal2<int32_t,
                           const SourceProgresses_t &> emitProgress;
 
-public:
     /**
      * Sessions must always be held in a shared pointer
      * because some operations depend on that. This
@@ -323,7 +324,7 @@ public:
      * explicitly mark an idle session as completed, even if it doesn't
      * get deleted yet (exceptions not expected by caller)
      */
-    void done() throw () { doneCb(); }
+    void done(bool success) throw () { doneCb(success); }
 
 private:
     Session(Server &server,
@@ -347,24 +348,9 @@ private:
      * helper. To be activated only temporarily while executing code
      * in the server which is related to the session.
      */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
+    virtual void messagev(const MessageOptions &options,
                           const char *format,
                           va_list args);
-    virtual bool isProcessSafe() const { return false; }
-
-    class LoggingGuard {
-    public:
-        LoggingGuard(Session *session) {
-            LoggerBase::pushLogger(session);
-        }
-        ~LoggingGuard() {
-            LoggerBase::popLogger();
-        }
-    };
 
 public:
     enum {
@@ -459,9 +445,13 @@ public:
     SyncSuccessStartSignal_t m_syncSuccessStartSignal;
 
     /** sync completed (may have failed) */
-    typedef boost::signals2::signal<void (SyncMLStatus)> DoneSignal_t;
+    typedef boost::signals2::signal<void (SyncMLStatus, SyncReport)> DoneSignal_t;
     DoneSignal_t m_doneSignal;
 
+    /** a source was synced, emitted multiple times during a multi-cycle sync */
+    typedef boost::signals2::signal<void (const std::string &, const SyncSourceReport &)> SourceSyncedSignal_t;
+    SourceSyncedSignal_t m_sourceSynced;
+
     /**
      * Called by server when the session is ready to run.
      * Only the session itself can deactivate itself.
@@ -481,7 +471,7 @@ private:
     /** set m_syncFilter and m_sourceFilters to config */
     virtual bool setFilters(SyncConfig &config);
 
-    void dbusResultCb(const std::string &operation, bool success, const std::string &error) throw();
+    void dbusResultCb(const std::string &operation, bool success, const SyncReport &report, const std::string &error) throw();
 
     /**
      * to be called inside a catch() clause: returns error for any
@@ -496,8 +486,9 @@ private:
      *
      * @param success    if false, then ensure that m_error is set
      *                   before finalizing the session
+     * @param report     valid only in case of success
      */
-    void doneCb(bool success = true) throw();
+    void doneCb(bool success, const SyncReport &report = SyncReport()) throw();
 };
 
 SE_END_CXX
index 933d417..89303b8 100644 (file)
@@ -39,16 +39,17 @@ namespace {
     // call m_onFailure instead of throwing an exception
     void onFailure(const std::string &error, bool &failed) throw ()
     {
-        SE_LOG_DEBUG(NULL, NULL, "failure, quitting now: %s",  error.c_str());
+        SE_LOG_DEBUG(NULL, "failure, quitting now: %s",  error.c_str());
         failed = true;
     }
 
     void onConnect(const DBusConnectionPtr &conn,
-                   LogRedirect *parentLogger,
+                   const boost::shared_ptr<LogRedirect> &parentLogger,
                    const boost::shared_ptr<ForkExecChild> &forkexec,
                    boost::shared_ptr<SessionHelper> &helper)
     {
         helper.reset(new SessionHelper(loop, conn, forkexec, parentLogger));
+        helper->activate();
     }
 
     void onAbort()
@@ -76,9 +77,11 @@ int main(int argc, char **argv, char **envp)
 
     // Suspend and abort are signaled via SIGINT/SIGTERM
     // respectively. SuspendFlags handle that for us.
+    // SIGURG is used as acknowledgement from parent to us that we
+    // can quite.
     SuspendFlags &s = SuspendFlags::getSuspendFlags();
     s.setLevel(Logger::DEV);
-    boost::shared_ptr<SuspendFlags::Guard> guard = s.activate();
+    boost::shared_ptr<SuspendFlags::Guard> guard = s.activate((1<<SIGINT)|(1<<SIGTERM)|(1<<SIGURG));
 
     bool debug = getenv("SYNCEVOLUTION_DEBUG");
 
@@ -87,16 +90,18 @@ int main(int argc, char **argv, char **envp)
     // which are unaware of the SyncEvolution logging system.
     // Redirecting is useful to get such output into our
     // sync logfile, once we have one.
-    boost::scoped_ptr<LogRedirect> redirect;
+    boost::shared_ptr<LogRedirect> redirect;
+    PushLogger<LogRedirect> pushRedirect;
     if (!debug) {
-        redirect.reset(new LogRedirect(true));
+        redirect.reset(new LogRedirect(LogRedirect::STDERR_AND_STDOUT));
+        pushRedirect.reset(redirect);
     }
     setvbuf(stderr, NULL, _IONBF, 0);
     setvbuf(stdout, NULL, _IONBF, 0);
 
     try {
         if (debug) {
-            LoggerBase::instance().setLevel(Logger::DEBUG);
+            Logger::instance().setLevel(Logger::DEBUG);
             Logger::setProcessName(StringPrintf("syncevo-dbus-helper-%ld", (long)getpid()));
         }
 
@@ -110,7 +115,7 @@ int main(int argc, char **argv, char **envp)
 
         boost::shared_ptr<SessionHelper> helper;
         bool failed = false;
-        forkexec->m_onConnect.connect(boost::bind(onConnect, _1, redirect.get(),
+        forkexec->m_onConnect.connect(boost::bind(onConnect, _1, redirect,
                                                   boost::cref(forkexec),
                                                   boost::ref(helper)));
         forkexec->m_onFailure.connect(boost::bind(onFailure, _2, boost::ref(failed)));
@@ -119,11 +124,11 @@ int main(int argc, char **argv, char **envp)
         // Run until we are connected, failed or get interrupted.
         boost::signals2::connection c =
             s.m_stateChanged.connect(boost::bind(&onAbort));
-        SE_LOG_DEBUG(NULL, NULL, "helper (pid %d) finished setup, waiting for parent connection", getpid());
+        SE_LOG_DEBUG(NULL, "helper (pid %d) finished setup, waiting for parent connection", getpid());
         while (true) {
             if (s.getState() != SuspendFlags::NORMAL) {
                 // not an error, someone wanted us to stop
-                SE_LOG_DEBUG(NULL, NULL, "aborted via signal while starting, terminating");
+                SE_LOG_DEBUG(NULL, "aborted via signal while starting, terminating");
                 // tell caller that we aborted by terminating via the SIGTERM signal
                 return 0;
             }
@@ -141,33 +146,40 @@ int main(int argc, char **argv, char **envp)
         // TODO: What if the parent fails to call us and instead closes his
         // side of the connection? Will we notice and abort?
         c.disconnect();
-        SE_LOG_DEBUG(NULL, NULL, "connected to parent, run helper");
+        SE_LOG_DEBUG(NULL, "connected to parent, run helper");
 
         helper->run();
-        SE_LOG_DEBUG(NULL, NULL, "helper operation done");
+        SE_LOG_DEBUG(NULL, "helper operation done");
         helper.reset();
-        SE_LOG_DEBUG(NULL, NULL, "helper destroyed");
+        SE_LOG_DEBUG(NULL, "helper destroyed");
 
         // Wait for confirmation from parent that we are allowed to
         // quit. This is necessary because we might have pending IO
         // for the parent, like D-Bus method replies.
         while (true) {
-            if (s.getState() == SuspendFlags::ABORT) {
+            if (s.getReceivedSignals() & (1<<SIGURG)) {
                 // not an error, someone wanted us to stop
-                SE_LOG_DEBUG(NULL, NULL, "aborted via signal after completing operation, terminating");
+                SE_LOG_DEBUG(NULL, "aborted via signal after completing operation, terminating");
                 return 0;
             }
             if (forkexec->getState() != ForkExecChild::CONNECTED) {
-                // no point running any longer, parent is gone
-                SE_LOG_DEBUG(NULL, NULL, "parent has quit, terminating");
-                return 1;
+                // No point running any longer, parent is gone.
+                //
+                // This can occur during normal operations, so don't
+                // treat it as an error:
+                // - we send final method response
+                // - parent signals us and closes the connection
+                // - our event loop processes these two events such
+                //   that we see the "not connected" one first
+                SE_LOG_DEBUG(NULL, "parent has quit, terminating");
+                return 0;
             }
             g_main_context_iteration(NULL, true);
         }
     } catch ( const std::exception &ex ) {
-        SE_LOG_ERROR(NULL, NULL, "%s", ex.what());
+        SE_LOG_ERROR(NULL, "helper quitting with exception: %s", ex.what());
     } catch (...) {
-        SE_LOG_ERROR(NULL, NULL, "unknown error");
+        SE_LOG_ERROR(NULL, "helper quitting: unknown error");
     }
 
     return 1;
index 17581f2..15cbc8a 100644 (file)
@@ -179,6 +179,8 @@ DBusConnectionPtr dbus_get_bus_connection(const char *busType,
         if(conn == NULL) {
             if (err) {
                 err->set(error);
+            } else {
+                g_clear_error(&error);
             }
             return NULL;
         }
@@ -190,6 +192,8 @@ DBusConnectionPtr dbus_get_bus_connection(const char *busType,
         if(conn == NULL) {
             if (err) {
                 err->set(error);
+            } else {
+                g_clear_error(&error);
             }
             return NULL;
         }
@@ -225,6 +229,8 @@ DBusConnectionPtr dbus_get_bus_connection(const std::string &address,
                            false);
     if (!conn && err) {
         err->set(error);
+    } else {
+        g_clear_error(&error);
     }
 
     return conn;
@@ -301,6 +307,8 @@ boost::shared_ptr<DBusServerCXX> DBusServerCXX::listen(const std::string &addres
     if (!server) {
         if (err) {
             err->set(error);
+        } else {
+            g_clear_error(&error);
         }
         return boost::shared_ptr<DBusServerCXX>();
     }
@@ -482,8 +490,50 @@ void getWatch(ExtractArgs &context,
               boost::shared_ptr<Watch> &value)
 {
     std::auto_ptr<Watch> watch(new Watch(context.m_conn));
-    watch->activate(g_dbus_message_get_sender(context.m_msg));
+    watch->activate((context.m_msg && *context.m_msg) ?
+                    g_dbus_message_get_sender(*context.m_msg) :
+                    context.m_sender);
     value.reset(watch.release());
 }
 
+void ExtractArgs::init(GDBusConnection *conn,
+                       GDBusMessage **msg,
+                       GVariant *msgBody,
+                       const char *sender,
+                       const char *path,
+                       const char *interface,
+                       const char *signal)
+{
+    m_conn = conn;
+    m_msg = msg;
+    m_sender = sender;
+    m_path = path;
+    m_interface = interface;
+    m_signal = signal;
+    if (msgBody != NULL) {
+        g_variant_iter_init(&m_iter, msgBody);
+    }
+}
+
+
+ExtractArgs::ExtractArgs(GDBusConnection *conn, GDBusMessage *&msg)
+{
+    init(conn, &msg, g_dbus_message_get_body(msg), NULL, NULL, NULL, NULL);
+}
+
+ExtractArgs::ExtractArgs(GDBusConnection *conn,
+                         const char *sender,
+                         const char *path,
+                         const char *interface,
+                         const char *signal)
+{
+    init(conn, NULL, NULL, sender, path, interface, signal);
+}
+
+ExtractResponse::ExtractResponse(GDBusConnection *conn, GDBusMessage *msg)
+{
+    init(conn, NULL, g_dbus_message_get_body(msg),
+         g_dbus_message_get_sender(msg), NULL, NULL, NULL);
+}
+
 } // namespace GDBusCXX
index 77341aa..cc08066 100644 (file)
@@ -132,6 +132,26 @@ class GVariantCXX : boost::noncopyable
     }
 };
 
+class GVariantIterCXX : boost::noncopyable
+{
+    GVariantIter *m_var;
+ public:
+    /** takes over ownership */
+    GVariantIterCXX(GVariantIter *var = NULL) : m_var(var) {}
+    ~GVariantIterCXX() { if (m_var) { g_variant_iter_free(m_var); } }
+
+    operator GVariantIter * () { return m_var; }
+    GVariantIterCXX &operator = (GVariantIter *var) {
+        if (m_var != var) {
+            if (m_var) {
+                g_variant_iter_free(m_var);
+            }
+            m_var = var;
+        }
+        return *this;
+    }
+};
+
 class DBusMessagePtr;
 
 inline void throwFailure(const std::string &object,
@@ -255,13 +275,13 @@ class DBusErrorCXX
         }
     }
 
-    DBusErrorCXX operator=(const DBusErrorCXX &dbus_error)
+    DBusErrorCXX operator=(const DBusErrorCXX &dbus_error)
     {
-        DBusErrorCXX temp_error(dbus_error);
-        GError* temp_c_error = temp_error.m_error;
-
-        temp_error.m_error = m_error;
-        m_error = temp_c_error;
+        if (this != &dbus_error) {
+            set(dbus_error.m_error ?
+                g_error_copy(dbus_error.m_error) :
+                NULL);
+        }
         return *this;
     }
 
@@ -404,8 +424,11 @@ struct AppendArgs {
     GDBusMessage *m_msg;
     GVariantBuilder m_builder;
 
-    AppendArgs(GDBusMessage *msg) {
-        m_msg = msg;
+    AppendArgs(const std::auto_ptr<GDBusMessage> &msg) {
+        m_msg = msg.get();
+        if (!m_msg) {
+            throw std::runtime_error("NULL GDBusMessage reply");
+        }
         g_variant_builder_init(&m_builder, G_VARIANT_TYPE_TUPLE);
     }
 
@@ -432,7 +455,7 @@ struct AppendArgs {
 /** default: skip it, not a result of the method */
 template<class A> struct Set
 {
-    Set(A &a) {}
+    Set(typename dbus_traits<A>::host_type &a) {}
     AppendArgs &set(AppendArgs &context) const {
         return context;
     }
@@ -441,7 +464,7 @@ template<class A> struct Set
 /** same for const reference */
 template<class A> struct Set <const A &>
 {
-    Set(A &a) {}
+    Set(typename dbus_traits<A>::host_type &a) {}
     AppendArgs &set(AppendArgs &context) const {
         return context;
     }
@@ -450,8 +473,8 @@ template<class A> struct Set <const A &>
 /** specialization for reference: marshal result */
 template<class A> struct Set <A &>
 {
-    A &m_a;
-    Set(A &a) : m_a(a) {}
+    typename dbus_traits<A>::host_type &m_a;
+    Set(typename dbus_traits<A>::host_type &a) : m_a(a) {}
     AppendArgs &set(AppendArgs &context) const {
         dbus_traits<A>::append(context.m_builder, m_a);
         return context;
@@ -471,7 +494,9 @@ struct ExtractArgs {
     GDBusConnection *m_conn;
 
     // only set when handling a method call
-    GDBusMessage *m_msg;
+    GDBusMessage **m_msg;
+
+    // only set for method call or response
     GVariantIter m_iter;
 
     // only set when m_msg is NULL (happens when handling signal)
@@ -480,32 +505,27 @@ struct ExtractArgs {
     const char *m_interface;
     const char *m_signal;
 
+protected:
+    void init(GDBusConnection *conn,
+              GDBusMessage **msg,
+              GVariant *msgBody,
+              const char *sender,
+              const char *path,
+              const char *interface,
+              const char *signal);
+
+    ExtractArgs() {}
+
  public:
     /** constructor for parsing a method invocation message, which must not be NULL */
-    ExtractArgs(GDBusConnection *conn, GDBusMessage *msg) {
-        m_conn = conn;
-        m_msg = msg;
-
-        GVariant * msgBody = g_dbus_message_get_body(m_msg);
-        if (msgBody != NULL) {
-            g_variant_iter_init(&m_iter, msgBody);
-        }
-    }
+    ExtractArgs(GDBusConnection *conn, GDBusMessage *&msg);
 
     /** constructor for parsing signal parameters */
     ExtractArgs(GDBusConnection *conn,
                 const char *sender,
                 const char *path,
                 const char *interface,
-                const char *signal)
-    {
-        m_conn = conn;
-        m_msg = NULL;
-        m_sender = sender;
-        m_path = path;
-        m_interface = interface;
-        m_signal = signal;
-    }
+                const char *signal);
 
     /** syntactic sugar: redirect >> into Get instance */
     template<class A> ExtractArgs & operator >> (const A &a) {
@@ -513,11 +533,26 @@ struct ExtractArgs {
     }
 };
 
+/**
+ * Need separate class because overloading ExtractArgs constructor
+ * with "GDBusMessage &*msg" (for method calls and its special
+ * DBusResult semantic) and "GDBusMessage *msg" (here) is not
+ * possible. We can't just use the former in, for example,
+ * Ret1Traits::demarshal() because we only have a temporary value on
+ * the stack to bind the reference to.
+ */
+class ExtractResponse : public ExtractArgs
+{
+ public:
+    /** constructor for message response */
+    ExtractResponse(GDBusConnection *conn, GDBusMessage *msg);
+};
+
 /** default: extract data from message */
 template<class A> struct Get
 {
-    A &m_a;
-    Get(A &a) : m_a(a) {}
+    typename dbus_traits<A>::host_type &m_a;
+    Get(typename dbus_traits<A>::host_type &a) : m_a(a) {}
     ExtractArgs &get(ExtractArgs &context) const {
         dbus_traits<A>::get(context, context.m_iter, m_a);
         return context;
@@ -527,8 +562,8 @@ template<class A> struct Get
 /** same for const reference */
 template<class A> struct Get <const A &>
 {
-    A &m_a;
-    Get(A &a) : m_a(a) {}
+    typename dbus_traits<A>::host_type &m_a;
+    Get(typename dbus_traits<A>::host_type &a) : m_a(a) {}
     ExtractArgs &get(ExtractArgs &context) const {
         dbus_traits<A>::get(context, context.m_iter, m_a);
         return context;
@@ -538,7 +573,7 @@ template<class A> struct Get <const A &>
 /** specialization for reference: skip it, not an input parameter */
 template<class A> struct Get <A &>
 {
-    Get(A &a) {}
+    Get(typename dbus_traits<A>::host_type &a) {}
     ExtractArgs &get(ExtractArgs &context) const {
         return context;
     }
@@ -1088,16 +1123,36 @@ struct MakeMethodEntry
     // static GDBusMethodEntry make(const char *name)
 };
 
+// Wrapper around g_dbus_method_info_unref or g_dbus_signal_info_unref
+// with additional NULL check. The methods themselves crash on NULL,
+// which happens when appending the terminating NULL to m_methods/m_signals
+// below.
+template<class I, void (*f)(I *)> void InfoDestroy(gpointer ptr)
+{
+    if (ptr) {
+        I *info = static_cast<I *>(ptr);
+        f(info);
+    }
+}
+
+
 /**
  * utility class for registering an interface
  */
 class DBusObjectHelper : public DBusObject
 {
+    // 0 when not registered (= activated).
     guint m_connId;
-    bool m_activated;
+    GDBusInterfaceInfo m_ifInfo;
+    GDBusInterfaceVTable m_ifVTable;
+
+    // These arrays must stay valid as long as we are active,
+    // because our GDBusInterfaceInfo points to it without
+    // ever freeing the memory.
     GPtrArray *m_methods;
     GPtrArray *m_signals;
 
+
  public:
     typedef boost::function<void (void)> Callback_t;
 
@@ -1107,10 +1162,12 @@ class DBusObjectHelper : public DBusObject
                      const Callback_t &callback = Callback_t(),
                      bool closeConnection = false) :
         DBusObject(conn, path, interface, closeConnection),
-        m_activated(false),
-        m_methods(g_ptr_array_new_with_free_func((GDestroyNotify)g_dbus_method_info_unref)),
-        m_signals(g_ptr_array_new_with_free_func((GDestroyNotify)g_dbus_signal_info_unref))
+        m_connId(0),
+        m_methods(g_ptr_array_new_with_free_func(InfoDestroy<GDBusMethodInfo, g_dbus_method_info_unref>)),
+        m_signals(g_ptr_array_new_with_free_func(InfoDestroy<GDBusSignalInfo, g_dbus_signal_info_unref>))
     {
+        memset(&m_ifInfo, 0, sizeof(m_ifInfo));
+        memset(&m_ifVTable, 0, sizeof(m_ifVTable));
         if (!MethodHandler::m_callback) {
             MethodHandler::m_callback = callback;
         }
@@ -1141,13 +1198,8 @@ class DBusObjectHelper : public DBusObject
             MethodHandler::m_methodMap.erase(first_to_erase, last_to_erase);
         }
 
-        // free entries, necessary if activate() was never called
-        if (m_methods) {
-            g_ptr_array_free(m_methods, TRUE);
-        }
-        if (m_signals) {
-            g_ptr_array_free(m_signals, TRUE);
-        }
+        g_ptr_array_free(m_methods, TRUE);
+        g_ptr_array_free(m_signals, TRUE);
     }
 
     /**
@@ -1156,7 +1208,7 @@ class DBusObjectHelper : public DBusObject
      */
     template <class A1, class C, class M> void add(A1 instance, M C::*method, const char *name)
     {
-        if (!m_methods) {
+        if (m_connId) {
             throw std::logic_error("You can't add new methods after registration!");
         }
 
@@ -1177,7 +1229,7 @@ class DBusObjectHelper : public DBusObject
      */
     template <class M> void add(M *function, const char *name)
     {
-        if (!m_methods) {
+        if (m_connId) {
             throw std::logic_error("You can't add new functions after registration!");
         }
 
@@ -1198,45 +1250,16 @@ class DBusObjectHelper : public DBusObject
      */
     template <class S> void add(const S &s)
     {
-        if (!m_signals) {
+        if (m_connId) {
             throw std::logic_error("You can't add new signals after registration!");
         }
 
         g_ptr_array_add(m_signals, s.makeSignalEntry());
     }
 
-    void activate(GDBusMethodInfo   **methods,
-                  GDBusSignalInfo   **signals,
-                  GDBusPropertyInfo **properties,
-                  const Callback_t &callback)
-    {
-        GDBusInterfaceInfo *ifInfo = g_new0(GDBusInterfaceInfo, 1);
-        ifInfo->name       = g_strdup(getInterface());
-        ifInfo->methods    = methods;
-        ifInfo->signals    = signals;
-        ifInfo->properties = properties;
-
-        GDBusInterfaceVTable ifVTable;
-        ifVTable.method_call = MethodHandler::handler;
-        ifVTable.get_property = NULL;
-        ifVTable.set_property = NULL;
-
-        if ((m_connId = g_dbus_connection_register_object(getConnection(),
-                                                          getPath(),
-                                                          ifInfo,
-                                                          &ifVTable,
-                                                          this,
-                                                          NULL,
-                                                          NULL)) == 0) {
-            throw std::runtime_error(std::string("g_dbus_connection_register_object() failed for ") +
-                                     getPath() + " " + getInterface());
-        }
-        m_activated = true;
-    }
-
     void activate() {
         // method and signal array must be NULL-terminated.
-        if (!m_methods || !m_signals) {
+        if (m_connId) {
             throw std::logic_error("This object was already activated.");
         }
         if (m_methods->len &&
@@ -1247,44 +1270,38 @@ class DBusObjectHelper : public DBusObject
             m_signals->pdata[m_signals->len - 1] != NULL) {
             g_ptr_array_add(m_signals, NULL);
         }
-        GDBusInterfaceInfo *ifInfo = g_new0(GDBusInterfaceInfo, 1);
-        ifInfo->ref_count = 1;
-        ifInfo->name      = g_strdup(getInterface());
-        ifInfo->methods   = (GDBusMethodInfo **)g_ptr_array_free(m_methods, FALSE);
-        ifInfo->signals   = (GDBusSignalInfo **)g_ptr_array_free(m_signals, FALSE);
-        m_signals = NULL;
-        m_methods = NULL;
-
-        GDBusInterfaceVTable ifVTable;
-        ifVTable.method_call = MethodHandler::handler;
-        ifVTable.get_property = NULL;
-        ifVTable.set_property = NULL;
+        // Meta data is owned by this instance, not GDBus.
+        // This is what most examples do and deviating from that
+        // can (did!) lead to memory leaks. For example,
+        // the ownership of the method array cannot be transferred
+        // to GDBusInterfaceInfo.
+        m_ifInfo.ref_count = -1;
+        m_ifInfo.name      = const_cast<char *>(getInterface()); // Due to ref_count == -1, m_ifInfo.name is not going to get freed despite the missing const.
+        m_ifInfo.methods   = (GDBusMethodInfo **)m_methods->pdata;
+        m_ifInfo.signals   = (GDBusSignalInfo **)m_signals->pdata;
+        m_ifVTable.method_call = MethodHandler::handler;
 
         m_connId = g_dbus_connection_register_object(getConnection(),
                                                      getPath(),
-                                                     ifInfo,
-                                                     &ifVTable,
+                                                     &m_ifInfo,
+                                                     &m_ifVTable,
                                                      this,
                                                      NULL,
                                                      NULL);
-        // This will free the struct if register_object didn't take a ref,
-        // as in case of an error.
-        g_dbus_interface_info_unref(ifInfo);
         if (m_connId == 0) {
             throw std::runtime_error(std::string("g_dbus_connection_register_object() failed for ") +
                                      getPath() + " " + getInterface());
         }
-        m_activated = true;
     }
 
     void deactivate()
     {
-        if (m_activated) {
+        if (m_connId) {
             if (!g_dbus_connection_unregister_object(getConnection(), m_connId)) {
                 throw std::runtime_error(std::string("g_dbus_connection_unregister_object() failed for ") +
                                          getPath() + " " + getInterface());
             }
-            m_activated = false;
+            m_connId = 0;
         }
     }
 };
@@ -1527,8 +1544,8 @@ template <> struct dbus_traits<Caller_t> : public dbus_traits_base
     static void get(ExtractArgs &context,
                     GVariantIter &iter, Caller_t &value)
     {
-        const char *peer = context.m_msg ?
-            g_dbus_message_get_sender(context.m_msg) :
+        const char *peer = (context.m_msg && *context.m_msg) ?
+            g_dbus_message_get_sender(*context.m_msg) :
             context.m_sender;
         if (!peer) {
             throw std::runtime_error("D-Bus method call without sender?!");
@@ -1553,8 +1570,8 @@ template <> struct dbus_traits<Path_t> : public dbus_traits_base
     static void get(ExtractArgs &context,
                     GVariantIter &iter, Path_t &value)
     {
-        const char *path = context.m_msg ?
-            g_dbus_message_get_path(context.m_msg) :
+        const char *path = (context.m_msg && *context.m_msg) ?
+            g_dbus_message_get_path(*context.m_msg) :
             context.m_path;
         if (!path) {
             throw std::runtime_error("D-Bus message without path?!");
@@ -1579,11 +1596,11 @@ template <> struct dbus_traits<Interface_t> : public dbus_traits_base
     static void get(ExtractArgs &context,
                     GVariantIter &iter, Interface_t &value)
     {
-        const char *path = context.m_msg ?
-            g_dbus_message_get_path(context.m_msg) :
-            context.m_path;
+        const char *path = (context.m_msg && *context.m_msg) ?
+            g_dbus_message_get_interface(*context.m_msg) :
+            context.m_interface;
         if (!path) {
-            throw std::runtime_error("D-Bus message without path?!");
+            throw std::runtime_error("D-Bus message without interface?!");
         }
         value = path;
     }
@@ -1605,11 +1622,11 @@ template <> struct dbus_traits<Member_t> : public dbus_traits_base
     static void get(ExtractArgs &context,
                     GVariantIter &iter, Member_t &value)
     {
-        const char *path = context.m_msg ?
-            g_dbus_message_get_path(context.m_msg) :
-            context.m_path;
+        const char *path = (context.m_msg && *context.m_msg) ?
+            g_dbus_message_get_member(*context.m_msg) :
+            NULL;
         if (!path) {
-            throw std::runtime_error("D-Bus message without path?!");
+            throw std::runtime_error("D-Bus message without member?!");
         }
         value = path;
     }
@@ -1974,22 +1991,13 @@ template<class V> struct dbus_traits< std::vector<V> > : public dbus_traits_coll
 template<class V> struct dbus_traits< std::list<V> > : public dbus_traits_collection<std::list<V>, V> {};
 template<class V> struct dbus_traits< std::deque<V> > : public dbus_traits_collection<std::deque<V>, V> {};
 
-/**
- * Helper class to append variant values into a builder
- */
-class append_visitor_dummy_type {};
-
-template <class V1, class V2 = append_visitor_dummy_type> struct append_visitor : public boost::static_visitor<>
+struct append_visitor : public boost::static_visitor<>
 {
     GVariantBuilder &builder;
     append_visitor(GVariantBuilder &b) : builder(b) {}
-    void operator()(const V1 &v) const
+    template <class V> void operator()(const V &v) const
     {
-        dbus_traits<V1>::append(builder, v);
-    }
-    void operator()(const V2 &v) const
-    {
-        dbus_traits<V2>::append(builder, v);
+        dbus_traits<V>::append(builder, v);
     }
 };
 
@@ -2031,7 +2039,7 @@ template <class V> struct dbus_traits <boost::variant <V> > : public dbus_traits
     static void append(GVariantBuilder &builder, const boost::variant<V> &value)
     {
         g_variant_builder_open(&builder, G_VARIANT_TYPE(getType().c_str()));
-        boost::apply_visitor(append_visitor<V>(builder), value);
+        boost::apply_visitor(append_visitor(builder), value);
         g_variant_builder_close(&builder);
     }
 
@@ -2085,7 +2093,7 @@ template <class V1, class V2> struct dbus_traits <boost::variant <V1, V2> > : pu
     static void append(GVariantBuilder &builder, const boost::variant<V1, V2> &value)
     {
         g_variant_builder_open(&builder, G_VARIANT_TYPE(getType().c_str()));
-        boost::apply_visitor(append_visitor<V1, V2>(builder), value);
+        boost::apply_visitor(append_visitor(builder), value);
         g_variant_builder_close(&builder);
     }
 
@@ -2094,6 +2102,94 @@ template <class V1, class V2> struct dbus_traits <boost::variant <V1, V2> > : pu
 };
 
 /**
+ * A recursive variant. Can represent values of a certain type V and
+ * vectors with a mixture of such values and the variant. Limiting
+ * this to vectors is done for the sake of simplicity and because
+ * vector is fairly efficient to work with, in particular when
+ * implementing methods.
+ *
+ * It would be nice to not refer to boost internals here. But using
+ * "typename boost::make_recursive_variant<V, std::vector< boost::recursive_variant_ > >::type"
+ * instead of the expanded
+ * "boost::variant< boost::detail::variant::recursive_flag<V>, A>"
+ * leads to a compiler error:
+ * class template partial specialization contains a template parameter that can not be deduced; this partial specialization will never be used [-Werror]
+ *  ...dbus_traits < typename boost::make_recursive_variant<V, std::vector< boost::recursive_variant_ > >::type > ...
+ *     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+template <class V, class A> struct dbus_traits < boost::variant<boost::detail::variant::recursive_flag<V>, A>  > :  public dbus_traits_base
+{
+    static std::string getType() { return "v"; }
+    static std::string getSignature() { return getType(); }
+    static std::string getReply() { return ""; }
+
+    typedef boost::variant<boost::detail::variant::recursive_flag<V>, A> host_type;
+    typedef const host_type &arg_type;
+
+    static void get(ExtractArgs &context,
+                    GVariantIter &iter, host_type &value)
+    {
+        GVariantIterCXX itercopy(g_variant_iter_copy(&iter));
+
+        // Peek at next element, then decide what to do with it.
+        GVariantCXX var(g_variant_iter_next_value(&iter));
+        // We accept a variant, the plain type V, or an array.
+        // This is necessary for clients like Python which
+        // send [['foo', 'bar']] as 'aas' when seeing 'v'
+        // as signature.
+        if (var == NULL) {
+            throw std::runtime_error("g_variant failure " GDBUS_CXX_SOURCE_INFO);
+        }
+
+        const char *type = g_variant_get_type_string(var);
+        if (boost::iequals(type, "v")) {
+            // Strip the outer variant and decode the inner value recursively, in
+            // our own else branch.
+            GVariantIter varIter;
+            g_variant_iter_init(&varIter, var);
+            dbus_traits<host_type>::get(context, varIter, value);
+        } else if (boost::iequals(type, dbus_traits<V>::getSignature())) {
+            V val;
+            dbus_traits<V>::get(context, *itercopy, val);
+            value = val;
+        } else if (type[0] == 'a') {
+            std::vector<host_type> val;
+            dbus_traits< std::vector<host_type> >::get(context, *itercopy, val);
+            value = val;
+        } else if (type[0] == '(') {
+            // Treat a tuple like an array. We have to iterate ourself here.
+            std::vector<host_type> val;
+            GVariantIter tupIter;
+            g_variant_iter_init(&tupIter, var);
+            GVariantIterCXX copy(g_variant_iter_copy(&tupIter));
+            // Step through the elements in lockstep. We need this
+            // because we must not call the get() method when there is
+            // nothing to unpack.
+            while (GVariantCXX(g_variant_iter_next_value(copy))) {
+                host_type tmp;
+                dbus_traits<host_type>::get(context, tupIter, tmp);
+                val.push_back(tmp);
+            }
+            value = val;
+        } else {
+            // More strict than the other variants, because it is mostly used for
+            // method calls where we don't want to silently ignore parts of the
+            // parameter.
+            throw std::runtime_error(std::string("expected recursive variant containing " + dbus_traits<V>::getSignature() + ", got " + type));
+            return;
+        }
+    }
+
+    static void append(GVariantBuilder &builder, const boost::variant<V> &value)
+    {
+        g_variant_builder_open(&builder, G_VARIANT_TYPE(getType().c_str()));
+        boost::apply_visitor(append_visitor(builder), value);
+        g_variant_builder_close(&builder);
+    }
+
+};
+
+/**
  * a single member m of type V in a struct K
  */
 template<class K, class V, V K::*m> struct dbus_member_single
@@ -2250,8 +2346,13 @@ class DBusCXXException
     virtual const char* getMessage() const { return "unknown"; }
 };
 
-static GDBusMessage *handleException(GDBusMessage *msg)
+static GDBusMessage *handleException(GDBusMessage *&callerMsg)
 {
+    // We provide a reply to the message. Clear the "msg" variable
+    // in our caller's context to make it as done.
+    GDBusMessage *msg = callerMsg;
+    callerMsg = NULL;
+
     try {
 #ifdef DBUS_CXX_EXCEPTION_HANDLER
         return DBUS_CXX_EXCEPTION_HANDLER(msg);
@@ -2339,6 +2440,7 @@ class DBusResult : virtual public Result
  protected:
     DBusConnectionPtr m_conn;     /**< connection via which the message was received */
     DBusMessagePtr m_msg;         /**< the method invocation message */
+    bool m_haveOwnership;         /**< this class is responsible for sending a method reply */
     bool m_replied;               /**< a response was sent */
 
     void sendMsg(const DBusMessagePtr &msg)
@@ -2356,12 +2458,13 @@ class DBusResult : virtual public Result
                GDBusMessage *msg) :
         m_conn(conn, true),
         m_msg(msg, true),
+        m_haveOwnership(false),
         m_replied(false)
     {}
 
     ~DBusResult()
     {
-        if (!m_replied) {
+        if (m_haveOwnership && !m_replied) {
             try {
                 failed(dbus_error("org.syncevolution.gdbus", "processing the method call failed"));
             } catch (...) {
@@ -2372,6 +2475,11 @@ class DBusResult : virtual public Result
         }
     }
 
+    void transferOwnership() throw ()
+    {
+        m_haveOwnership = true;
+    }
+
     virtual void failed(const dbus_error &error)
     {
         DBusMessagePtr errMsg(g_dbus_message_new_method_error(m_msg.get(), error.dbusName().c_str(),
@@ -2719,6 +2827,36 @@ class DBusResult10 :
 };
 
 /**
+ * Helper class for constructing a DBusResult: while inside the
+ * initial method call handler, we have a try/catch block which will
+ * reply to the caller. Once we leave that block, this class here
+ * destructs and transfers the responsibility for sending a reply to
+ * the DBusResult instance.
+ */
+template <class DBusR> class DBusResultGuard : public boost::shared_ptr<DBusR>
+{
+    GDBusMessage **m_msg;
+ public:
+     DBusResultGuard() : m_msg(NULL) {}
+    ~DBusResultGuard() throw ()
+    {
+        DBusR *result = boost::shared_ptr<DBusR>::get();
+        // Our caller has not cleared its "msg" instance,
+        // which means that from now on it will be our
+        // responsibility to provide a response.
+        if (result && m_msg && *m_msg) {
+            result->transferOwnership();
+        }
+    }
+
+    void initDBusResult(ExtractArgs &context)
+    {
+        m_msg = context.m_msg;
+        boost::shared_ptr<DBusR>::reset(new DBusR(context.m_conn, context.m_msg ? *context.m_msg : NULL));
+    }
+};
+
+/**
  * A parameter which points towards one of our Result* structures.
  * All of the types contained in it count towards the Reply signature.
  * The requested Result type itself is constructed here.
@@ -2732,14 +2870,14 @@ template <class R, class DBusR> struct dbus_traits_result
     static std::string getSignature() { return ""; }
     static std::string getReply() { return getType(); }
 
-    typedef boost::shared_ptr<R> host_type;
+    typedef DBusResultGuard<DBusR> host_type;
     typedef boost::shared_ptr<R> &arg_type;
     static const bool asynchronous = true;
 
     static void get(ExtractArgs &context,
                     GVariantIter &iter, host_type &value)
     {
-        value.reset(new DBusR(context.m_conn, context.m_msg));
+        value.initDBusResult(context);
     }
 };
 
@@ -2808,6 +2946,7 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8, A9
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
@@ -2819,23 +2958,22 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8, A9
             typename dbus_traits<A9>::host_type a9;
             typename dbus_traits<A10>::host_type a10;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
-                                   >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9) >> Get<A10>(a10);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
+                                       >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9) >> Get<A10>(a10);
 
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            if (asynchronous) {
-                return NULL;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
+                                  << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9) << Set<A10>(a10);
+            } catch (...) {
+                return handleException(msg);
             }
-
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
-                                    << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9) << Set<A10>(a10);
-
-            return reply;
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -2901,6 +3039,7 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7, A8, A9)>
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
@@ -2912,23 +3051,24 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7, A8, A9)>
             typename dbus_traits<A8>::host_type a8;
             typename dbus_traits<A9>::host_type a9;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
-                                   >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
+                                       >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
-                                        << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9);
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
+                                      << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9);
 
-            return reply;
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -2990,6 +3130,7 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8, A9
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
@@ -3000,23 +3141,23 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8, A9
             typename dbus_traits<A8>::host_type a8;
             typename dbus_traits<A9>::host_type a9;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
-                                   >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >> Get<A5>(a5)
+                                       >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8) >> Get<A9>(a9);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8, a9);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
-                                    << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4) << Set<A5>(a5)
+                                  << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8) << Set<A9>(a9);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3078,6 +3219,7 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7, A8)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
@@ -3088,23 +3230,24 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7, A8)> >
             typename dbus_traits<A7>::host_type a7;
             typename dbus_traits<A8>::host_type a8;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >>
-                                      Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4) >>
+                    Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
-                                        << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8);
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
+                                      << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8);
 
-            return reply;
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3164,6 +3307,7 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
@@ -3173,23 +3317,23 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7, A8)> >
             typename dbus_traits<A7>::host_type a7;
             typename dbus_traits<A8>::host_type a8;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
-                                   >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
+                                       >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7) >> Get<A8>(a8);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7, a8);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
-                                    << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
+                                  << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7) << Set<A8>(a8);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3249,6 +3393,7 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
@@ -3258,23 +3403,23 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6, A7)> >
             typename dbus_traits<A6>::host_type a6;
             typename dbus_traits<A7>::host_type a7;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
-                                   >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
+                                       >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
-                                        << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
+                                      << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3332,6 +3477,7 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
@@ -3340,23 +3486,23 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6, A7)> >
             typename dbus_traits<A6>::host_type a6;
             typename dbus_traits<A7>::host_type a7;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
-                                   >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4)
+                                       >> Get<A5>(a5) >> Get<A6>(a6) >> Get<A7>(a7);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6, a7);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
-                                    << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4)
+                                  << Set<A5>(a5) << Set<A6>(a6) << Set<A7>(a7);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3414,6 +3560,7 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
@@ -3422,23 +3569,24 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5, A6)> >
             typename dbus_traits<A5>::host_type a5;
             typename dbus_traits<A6>::host_type a6;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
-                                   >> Get<A4>(a4) >> Get<A5>(a5) >> Get<A6>(a6);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
+                                       >> Get<A4>(a4) >> Get<A5>(a5) >> Get<A6>(a6);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
-                                        << Set<A4>(a4) << Set<A5>(a5) << Set<A6>(a6);
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
+                                      << Set<A4>(a4) << Set<A5>(a5) << Set<A6>(a6);
 
-            return reply;
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3494,6 +3642,7 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
@@ -3501,23 +3650,23 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5, A6)> >
             typename dbus_traits<A5>::host_type a5;
             typename dbus_traits<A6>::host_type a6;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
-                                   >> Get<A4>(a4) >> Get<A5>(a5) >> Get<A6>(a6);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
+                                       >> Get<A4>(a4) >> Get<A5>(a5) >> Get<A6>(a6);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5, a6);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
-                                    << Set<A4>(a4) << Set<A5>(a5) << Set<A6>(a6);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
+                                  << Set<A4>(a4) << Set<A5>(a5) << Set<A6>(a6);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3572,6 +3721,7 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
@@ -3579,23 +3729,23 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4, A5)> >
             typename dbus_traits<A4>::host_type a4;
             typename dbus_traits<A5>::host_type a5;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
-                                   >> Get<A4>(a4) >> Get<A5>(a5);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
+                                       >> Get<A4>(a4) >> Get<A5>(a5);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4, a5);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
-                                        << Set<A4>(a4) << Set<A5>(a5);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
+                                      << Set<A4>(a4) << Set<A5>(a5);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3648,29 +3798,30 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4, A5)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
             typename dbus_traits<A4>::host_type a4;
             typename dbus_traits<A5>::host_type a5;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
-                                   >> Get<A4>(a4) >> Get<A5>(a5);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4, a5);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3)
+                                       >> Get<A4>(a4) >> Get<A5>(a5);
 
-            if (asynchronous) {
-                return NULL;
-            }
+                (*static_cast<M *>(data))(a1, a2, a3, a4, a5);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
-                                    << Set<A4>(a4) << Set<A5>(a5);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3)
+                                  << Set<A4>(a4) << Set<A5>(a5);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3723,27 +3874,28 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3, A4)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
             typename dbus_traits<A4>::host_type a4;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3, a4);
-
-            if (asynchronous) {
-                return NULL;
-            }
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                r = (*static_cast<M *>(data))(a1, a2, a3, a4);
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3794,26 +3946,27 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3, A4)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
             typename dbus_traits<A4>::host_type a4;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4);
-
-            (*static_cast<M *>(data))(a1, a2, a3, a4);
-
-            if (asynchronous) {
-                return NULL;
-            }
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3) >> Get<A4>(a4);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                (*static_cast<M *>(data))(a1, a2, a3, a4);
 
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3) << Set<A4>(a4);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3864,26 +4017,27 @@ struct MakeMethodEntry< boost::function<R (A1, A2, A3)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3);
-
-            r = (*static_cast<M *>(data))(a1, a2, a3);
-
-            if (asynchronous) {
-                return NULL;
-            }
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                r = (*static_cast<M *>(data))(a1, a2, a3);
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3932,25 +4086,26 @@ struct MakeMethodEntry< boost::function<void (A1, A2, A3)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
             typename dbus_traits<A3>::host_type a3;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3);
-
-            (*static_cast<M *>(data))(a1, a2, a3);
-
-            if (asynchronous) {
-                return NULL;
-            }
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2) >> Get<A3>(a3);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                (*static_cast<M *>(data))(a1, a2, a3);
 
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2) << Set<A3>(a3);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -3999,25 +4154,26 @@ struct MakeMethodEntry< boost::function<R (A1, A2)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2);
-
-            r = (*static_cast<M *>(data))(a1, a2);
-
-            if (asynchronous) {
-                return NULL;
-            }
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2);
 
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
+                r = (*static_cast<M *>(data))(a1, a2);
 
-            AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1) << Set<A2>(a2);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -4064,24 +4220,25 @@ struct MakeMethodEntry< boost::function<void (A1, A2)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
             typename dbus_traits<A2>::host_type a2;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1) >> Get<A2>(a2);
 
-            (*static_cast<M *>(data))(a1, a2);
+                (*static_cast<M *>(data))(a1, a2);
 
-            if (asynchronous) {
-                return NULL;
-            }
-
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1) << Set<A2>(a2);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -4128,24 +4285,25 @@ struct MakeMethodEntry< boost::function<R (A1)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
             typename dbus_traits<A1>::host_type a1;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1);
 
-            r = (*static_cast<M *>(data))(a1);
+                r = (*static_cast<M *>(data))(a1);
 
-            if (asynchronous) {
-                return NULL;
-            }
-
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) + r << Set<A1>(a1);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r << Set<A1>(a1);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -4190,23 +4348,24 @@ struct MakeMethodEntry< boost::function<void (A1)> >
                                         GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<A1>::host_type a1;
 
-            ExtractArgs(conn, msg) >> Get<A1>(a1);
+            try {
+                ExtractArgs(conn, msg) >> Get<A1>(a1);
 
-            (*static_cast<M *>(data))(a1);
+                (*static_cast<M *>(data))(a1);
 
-            if (asynchronous) {
-                return NULL;
-            }
-
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) << Set<A1>(a1);
+                if (asynchronous) {
+                    return NULL;
+                }
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) << Set<A1>(a1);
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -4248,17 +4407,18 @@ struct MakeMethodEntry< boost::function<R ()> >
                                        GDBusMessage *msg, void *data)
     {
         try {
+            std::auto_ptr<GDBusMessage> reply;
             typename dbus_traits<R>::host_type r;
 
-            r = (*static_cast<M *>(data))();
-
-            GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
-
-            AppendArgs(reply) + r;
+            try {
+                r = (*static_cast<M *>(data))();
 
-            return reply;
+                reply.reset(g_dbus_message_new_method_reply(msg));
+                AppendArgs(reply) + r;
+            } catch (...) {
+                return handleException(msg);
+            }
+            return reply.release();
         } catch (...) {
             return handleException(msg);
         }
@@ -4299,8 +4459,6 @@ struct MakeMethodEntry< boost::function<void ()> >
             (*static_cast<M *>(data))();
 
             GDBusMessage *reply = g_dbus_message_new_method_reply(msg);
-            if (!reply)
-                return NULL;
             return reply;
         } catch (...) {
             return handleException(msg);
@@ -4383,7 +4541,7 @@ struct Ret1Traits : public TraitsBase<boost::function<void (const R1 &, const st
     {
         typename dbus_traits<R1>::host_type r;
 
-        ExtractArgs(conn.get(), reply.get()) >> Get<R1>(r);
+        ExtractResponse(conn.get(), reply.get()) >> Get<R1>(r);
         return r;
     }
 
@@ -4393,7 +4551,7 @@ struct Ret1Traits : public TraitsBase<boost::function<void (const R1 &, const st
         std::string error_msg;
 
         if (error == NULL && !g_dbus_message_to_gerror(reply.get(), &error)) {
-            ExtractArgs(data->m_conn.get(), reply.get()) >> Get<R1>(r);
+            ExtractResponse(data->m_conn.get(), reply.get()) >> Get<R1>(r);
         } else if (boost::starts_with(error->message, "GDBus.Error:")) {
             error_msg = error->message + 12;
         } else {
@@ -4422,7 +4580,7 @@ struct Ret2Traits : public TraitsBase<boost::function<void (const R1 &, const R2
     {
         Return_t r;
 
-        ExtractArgs(conn.get(), reply.get()) >> Get<R1>(r.first) >> Get<R2>(r.second);
+        ExtractResponse(conn.get(), reply.get()) >> Get<R1>(r.first) >> Get<R2>(r.second);
         return r;
     }
 
@@ -4433,7 +4591,7 @@ struct Ret2Traits : public TraitsBase<boost::function<void (const R1 &, const R2
         std::string error_msg;
 
         if (error == NULL && !g_dbus_message_to_gerror(reply.get(), &error)) {
-            ExtractArgs(data->m_conn.get(), reply.get()) >> Get<R1>(r1) >> Get<R2>(r2);
+            ExtractResponse(data->m_conn.get(), reply.get()) >> Get<R1>(r1) >> Get<R2>(r2);
         } else if (boost::starts_with(error->message, "GDBus.Error:")) {
             error_msg = error->message + 12;
         } else {
@@ -4462,7 +4620,7 @@ struct Ret3Traits : public TraitsBase<boost::function<void (const R1 &, const R2
     {
         Return_t r;
 
-        ExtractArgs(conn.get(), reply.get()) >> Get<R1>(boost::get<0>(r)) >> Get<R2>(boost::get<1>(r)) >> Get<R3>(boost::get<2>(r));
+        ExtractResponse(conn.get(), reply.get()) >> Get<R1>(boost::get<0>(r)) >> Get<R2>(boost::get<1>(r)) >> Get<R3>(boost::get<2>(r));
         return r;
     }
 
@@ -4474,7 +4632,7 @@ struct Ret3Traits : public TraitsBase<boost::function<void (const R1 &, const R2
         std::string error_msg;
 
         if (error == NULL && !g_dbus_message_to_gerror(reply.get(), &error)) {
-            ExtractArgs(data->m_conn.get(), reply.get()) >> Get<R1>(r1) >> Get<R2>(r2) >> Get<R3>(r3);
+            ExtractResponse(data->m_conn.get(), reply.get()) >> Get<R1>(r1) >> Get<R2>(r2) >> Get<R3>(r3);
         } else if (boost::starts_with(error->message, "GDBus.Error:")) {
             error_msg = error->message + 12;
         } else {
index 858fed9..f94fb36 100644 (file)
@@ -33,6 +33,8 @@
 #include <memory>
 #include <iostream>
 
+#include <boost/noncopyable.hpp>
+
 namespace GDBusCXX {
 
 struct args {
@@ -45,7 +47,7 @@ static void hello_global() {}
 
 class Test {
     typedef boost::shared_ptr< Result1<const std::string&> > string_result;
-    struct async
+    struct async : private boost::noncopyable
     {
         async(const boost::shared_ptr<Watch> &watch, Watch *watch2, const string_result &result):
             m_watch(watch),
index e3e57e5..e48f139 100644 (file)
@@ -690,7 +690,7 @@ bool Cmdline::run() {
     if (m_usage) {
         usage(true);
     } else if (m_version) {
-        SE_LOG_SHOW(NULL, NULL, "SyncEvolution %s%s\n%s%s",
+        SE_LOG_SHOW(NULL, "SyncEvolution %s%s\n%s%s",
                     VERSION,
                     SyncContext::isStableRelease() ? "" : " (pre-release)",
                     EDSAbiWrapperInfo(),
@@ -777,7 +777,7 @@ bool Cmdline::run() {
                 }
                 (this->*operation)(source.get(), header);
             } else {
-                SE_LOG_SHOW(NULL, NULL, "%s:\n   cannot access databases", header.c_str());
+                SE_LOG_SHOW(NULL, "%s:\n   cannot access databases", header.c_str());
             }
         } else {
             // list for all backends
@@ -795,7 +795,7 @@ bool Cmdline::run() {
                             auto_ptr<SyncSource> source(SyncSource::createSource(params, false));
                             (this->*operation)(source.get(), header);
                         } catch (...) {
-                            SE_LOG_ERROR(NULL, NULL, "%s:\naccessing databases failed", header.c_str());
+                            SE_LOG_ERROR(NULL, "%s:\naccessing databases failed", header.c_str());
                             Exception::handle();
                         }
                     }
@@ -814,7 +814,7 @@ bool Cmdline::run() {
             }
             config.reset(new SyncConfig(m_server));
             if (!config->exists()) {
-                SE_LOG_ERROR(NULL, NULL, "Server '%s' has not been configured yet.", m_server.c_str());
+                SE_LOG_ERROR(NULL, "Server '%s' has not been configured yet.", m_server.c_str());
                 return false;
             }
 
@@ -829,7 +829,7 @@ bool Cmdline::run() {
                                           peer, context);
             config = SyncConfig::createPeerTemplate(peer);
             if (!config.get()) {
-                SE_LOG_ERROR(NULL, NULL, "No configuration template for '%s' available.", m_template.c_str());
+                SE_LOG_ERROR(NULL, "No configuration template for '%s' available.", m_template.c_str());
                 return false;
             }
 
@@ -865,7 +865,7 @@ bool Cmdline::run() {
         BOOST_FOREACH(const string &name, sources) {
             if (m_sources.empty() ||
                 m_sources.find(name) != m_sources.end()) {
-                SE_LOG_SHOW(NULL, NULL, "[%s]", name.c_str());
+                SE_LOG_SHOW(NULL, "[%s]", name.c_str());
                 SyncSourceNodes nodes = config->getSyncSourceNodes(name);
                 boost::shared_ptr<FilterConfigNode> sourceProps = nodes.getProperties();
                 sourceProps->setFilter(sourceFilters.createSourceFilter(name));
@@ -917,7 +917,7 @@ bool Cmdline::run() {
         string origPeer;
         if (m_migrate) {
             if (!m_sources.empty()) {
-                SE_LOG_ERROR(NULL, NULL, "cannot migrate individual sources");
+                SE_LOG_ERROR(NULL, "cannot migrate individual sources");
                 return false;
             }
 
@@ -928,7 +928,7 @@ bool Cmdline::run() {
                 oldContext = "";
                 from.reset(new SyncConfig(peer));
                 if (!from->exists()) {
-                    SE_LOG_ERROR(NULL, NULL, "Server '%s' has not been configured yet.", m_server.c_str());
+                    SE_LOG_ERROR(NULL, "Server '%s' has not been configured yet.", m_server.c_str());
                     return false;
                 }
             }
@@ -1005,7 +1005,7 @@ bool Cmdline::run() {
                     if (SyncConfig::splitConfigString(SyncConfig::normalizeConfigString(configTemplate,
                                                                                         SyncConfig::NormalizeFlags(SyncConfig::NORMALIZE_SHORTHAND|SyncConfig::NORMALIZE_IS_NEW)),
                                                       peer, context)) {
-                        SE_LOG_ERROR(NULL, NULL, "Template %s must not specify a context.", configTemplate.c_str());
+                        SE_LOG_ERROR(NULL, "Template %s must not specify a context.", configTemplate.c_str());
                         return false;
                     }
                     string tmp;
@@ -1035,15 +1035,15 @@ bool Cmdline::run() {
                     }
                 }
                 if (!from.get()) {
-                    SE_LOG_ERROR(NULL, NULL, "No configuration template for '%s' available.", configTemplate.c_str());
+                    SE_LOG_ERROR(NULL, "No configuration template for '%s' available.", configTemplate.c_str());
                     if (m_template.empty()) {
-                        SE_LOG_INFO(NULL, NULL,
+                        SE_LOG_INFO(NULL,
                                     "Use '--template none' and/or specify relevant properties on the command line to create a configuration without a template. Need values for: %s",
                                     boost::join(missing, ", ").c_str());
                     } else if (missing.empty()) {
-                        SE_LOG_INFO(NULL, NULL, "All relevant properties seem to be set, omit the --template parameter to proceed.");
+                        SE_LOG_INFO(NULL, "All relevant properties seem to be set, omit the --template parameter to proceed.");
                     }
-                    SE_LOG_INFO(NULL, NULL, "\n");
+                    SE_LOG_INFO(NULL, "\n");
                     SyncConfig::DeviceList devices;
                     devices.push_back(SyncConfig::DeviceDescription("", "", SyncConfig::MATCH_ALL));
                     dumpConfigTemplates("Available configuration templates (clients and servers):",
@@ -1150,7 +1150,7 @@ bool Cmdline::run() {
 
         // TODO: update complete --configure output to be more informative.
         // This is a first step, but shouldn't be done in isolation.
-        // SE_LOG_INFO(NULL, NULL, "%s configuration %s",
+        // SE_LOG_INFO(NULL, "%s configuration %s",
         //             fromScratch ? "creating" : "updating",
         //             to->getConfigName().c_str());
 
@@ -1186,7 +1186,7 @@ bool Cmdline::run() {
 
                     // check whether the sync source works; this can
                     // take some time, so allow the user to abort
-                    SE_LOG_INFO(NULL, NULL, "%s: looking for databases...",
+                    SE_LOG_INFO(NULL, "%s: looking for databases...",
                                 source.c_str());
                     SyncSourceParams params(source, to->getSyncSourceNodes(source), to);
                     auto_ptr<SyncSource> syncSource(SyncSource::createSource(params, false, to.get()));
@@ -1205,7 +1205,7 @@ bool Cmdline::run() {
                         }
                     }
                     s.checkForNormal();
-                    SE_LOG_INFO(NULL, NULL, "%s: %s\n",
+                    SE_LOG_INFO(NULL, "%s: %s\n",
                                 source.c_str(),
                                 disable.empty() ? "okay" : disable.c_str());
                 }
@@ -1346,7 +1346,7 @@ bool Cmdline::run() {
                 if (logging) {
                     description = logging->getDescription(luid);
                 }
-                SE_LOG_SHOW(NULL, NULL, "%s%s%s",
+                SE_LOG_SHOW(NULL, "%s%s%s",
                             CmdlineLUID::fromLUID(luid).c_str(),
                             description.empty() ? "" : ": ",
                             description.c_str());
@@ -1419,7 +1419,7 @@ bool Cmdline::run() {
                                 luid = *m_luids.begin();
                             }
                         }
-                        SE_LOG_SHOW(NULL, NULL, "#0: %s",
+                        SE_LOG_SHOW(NULL, "#0: %s",
                                     insertItem(raw, luid, content).getEncoded().c_str());
                     } else {
                         typedef boost::split_iterator<string::iterator> string_split_iterator;
@@ -1454,7 +1454,7 @@ bool Cmdline::run() {
                                 luid = *luidit;
                                 ++luidit;
                             }
-                            SE_LOG_SHOW(NULL, NULL, "#%d: %s",
+                            SE_LOG_SHOW(NULL, "#%d: %s",
                                         count,
                                         insertItem(raw,
                                                    luid,
@@ -1471,7 +1471,7 @@ bool Cmdline::run() {
                         if (!ReadFile(path, content)) {
                             SyncContext::throwError(path, errno);
                         }
-                        SE_LOG_SHOW(NULL, NULL, "#%d: %s: %s",
+                        SE_LOG_SHOW(NULL, "#%d: %s: %s",
                                     count,
                                     entry.c_str(),
                                     insertItem(raw, "", content).getEncoded().c_str());
@@ -1528,7 +1528,7 @@ bool Cmdline::run() {
                         }
                         if (out == &std::cout) {
                             // special case, use logging infrastructure
-                            SE_LOG_SHOW(NULL, NULL, "%s%s",
+                            SE_LOG_SHOW(NULL, "%s%s",
                                         delimiter.c_str(),
                                         item.c_str());
                             // always prints newline
@@ -1627,15 +1627,15 @@ bool Cmdline::run() {
                 if (first) {
                     first = false;
                 } else if(!m_quiet) {
-                    SE_LOG_SHOW(NULL, NULL, "\n");
+                    SE_LOG_SHOW(NULL, "\n");
                 }
-                SE_LOG_SHOW(NULL, NULL, "%s", dir.c_str());
+                SE_LOG_SHOW(NULL, "%s", dir.c_str());
                 if (!m_quiet) {
                     SyncReport report;
                     context->readSessionInfo(dir, report);
                     ostringstream out;
                     out << report;
-                    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+                    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
                 }
             }
         } else if (!m_restore.empty()) {
@@ -1810,13 +1810,13 @@ bool Cmdline::parseProp(PropertyType propertyType,
                 // replaced it
                 prop = validProps->find("backend");
                 if (!prop) {
-                    SE_LOG_ERROR(NULL, NULL, "backend: no such property");
+                    SE_LOG_ERROR(NULL, "backend: no such property");
                     return false;
                 }
                 SourceType sourceType(paramstr);
                 string error;
                 if (!prop->checkValue(sourceType.m_backend, error)) {
-                    SE_LOG_ERROR(NULL, NULL, "%s: %s", args.c_str(), error.c_str());
+                    SE_LOG_ERROR(NULL, "%s: %s", args.c_str(), error.c_str());
                     return false;
                 }
                 ContextProps &props = m_props[spec.m_config];
@@ -1835,19 +1835,19 @@ bool Cmdline::parseProp(PropertyType propertyType,
                     InitStateString("0", false);
                 return true;
             } else if (!prop) {
-                SE_LOG_ERROR(NULL, NULL, "%s: no such property", args.c_str());
+                SE_LOG_ERROR(NULL, "%s: no such property", args.c_str());
                 return false;
             } else {
                 string error;
                 if (!prop->checkValue(paramstr, error)) {
-                    SE_LOG_ERROR(NULL, NULL, "%s: %s", args.c_str(), error.c_str());
+                    SE_LOG_ERROR(NULL, "%s: %s", args.c_str(), error.c_str());
                     return false;
                 } else {
                     ContextProps &props = m_props[spec.m_config];
                     if (validProps == &m_validSyncProps) {
                         // complain if sync property includes source prefix
                         if (!spec.m_source.empty()) {
-                            SE_LOG_ERROR(NULL, NULL, "%s: source name '%s' not allowed in sync property",
+                            SE_LOG_ERROR(NULL, "%s: source name '%s' not allowed in sync property",
                                          args.c_str(),
                                          spec.m_source.c_str());
                             return false;
@@ -1899,7 +1899,7 @@ bool Cmdline::listPropValues(const ConfigPropertyRegistry &validProps,
 {
     const ConfigProperty *prop = validProps.find(propName);
     if (!prop && boost::iequals(propName, "type")) {
-        SE_LOG_SHOW(NULL, NULL,
+        SE_LOG_SHOW(NULL,
                     "%s\n"
                     "   <backend>[:<format>[:<version][!]]\n"
                     "   legacy property, replaced by 'backend', 'databaseFormat',\n"
@@ -1907,7 +1907,7 @@ bool Cmdline::listPropValues(const ConfigPropertyRegistry &validProps,
                     opt.c_str());
         return true;
     } else if (!prop) {
-        SE_LOG_ERROR(NULL, NULL, "%s: no such property", opt.c_str());
+        SE_LOG_ERROR(NULL, "%s: no such property", opt.c_str());
         return false;
     } else {
         ostringstream out;
@@ -1923,7 +1923,7 @@ bool Cmdline::listPropValues(const ConfigPropertyRegistry &validProps,
         } else {
             out << "   no documentation available" << endl;
         }
-        SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+        SE_LOG_SHOW(NULL, "%s", out.str().c_str());
         return true;
     }
 }
@@ -1968,7 +1968,7 @@ bool Cmdline::listProperties(const ConfigPropertyRegistry &validProps,
     }
     out << endl;
     dumpComment(out, "   ", comment);
-    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
     return true;
 }
 
@@ -2034,8 +2034,8 @@ void Cmdline::listDatabases(SyncSource *source, const string &header)
             out << endl;
         }
     }
-    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
-    SE_LOG_SHOW(NULL, NULL, "\n");
+    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
+    SE_LOG_SHOW(NULL, "\n");
 }
 
 void Cmdline::createDatabase(SyncSource *source, const string &header)
@@ -2051,7 +2051,7 @@ void Cmdline::createDatabase(SyncSource *source, const string &header)
         SE_THROW("The 'database' property must be set to the name of the new database");
     }
     SyncSource::Database database = source->createDatabase(SyncSource::Database(databaseID, ""));
-    SE_LOG_SHOW(NULL, NULL, "%s: database '%s' (%s) was created.",
+    SE_LOG_SHOW(NULL, "%s: database '%s' (%s) was created.",
                 header.c_str(),
                 database.m_name.c_str(),
                 database.m_uri.c_str());
@@ -2077,8 +2077,8 @@ void Cmdline::removeDatabase(SyncSource *source, const string &header)
                               databaseID.c_str()));
     }
 
-    source->deleteDatabase(database.m_uri);
-    SE_LOG_SHOW(NULL, NULL, "%s: database '%s' (%s) was removed.",
+    source->deleteDatabase(database.m_uri, SyncSource::REMOVE_DATA_DEFAULT);
+    SE_LOG_SHOW(NULL, "%s: database '%s' (%s) was removed.",
                 header.c_str(),
                 database.m_name.c_str(),
                 database.m_uri.c_str());
@@ -2095,7 +2095,7 @@ void Cmdline::dumpConfigs(const string &preamble,
     if (!servers.size()) {
         out << "   none" << endl;
     }
-    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
 }
 
 void Cmdline::dumpConfigTemplates(const string &preamble,
@@ -2121,7 +2121,7 @@ void Cmdline::dumpConfigTemplates(const string &preamble,
     if (!templates.size()) {
         out << "   none" << endl;
     }
-    SE_LOG(level, NULL, NULL, "%s", out.str().c_str());
+    SE_LOG(NULL, level, "%s", out.str().c_str());
 }
 
 void Cmdline::dumpProperties(const ConfigNode &configuredProps,
@@ -2184,7 +2184,7 @@ void Cmdline::dumpProperties(const ConfigNode &configuredProps,
         }
     }
 
-    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
 }
 
 void Cmdline::dumpComment(ostream &stream,
@@ -2200,17 +2200,17 @@ void Cmdline::dumpComment(ostream &stream,
 
 void Cmdline::usage(bool full, const string &error, const string &param)
 {
-    SE_LOG_SHOW(NULL, NULL, "%s", synopsis);
+    SE_LOG_SHOW(NULL, "%s", synopsis);
     if (full) {
-        SE_LOG_SHOW(NULL, NULL, "\nOptions:\n%s", options);
+        SE_LOG_SHOW(NULL, "\nOptions:\n%s", options);
     }
 
     if (error != "") {
-        SE_LOG_SHOW(NULL, NULL, "\n");
-        SE_LOG_ERROR(NULL, NULL, "%s", error.c_str());
+        SE_LOG_SHOW(NULL, "\n");
+        SE_LOG_ERROR(NULL, "%s", error.c_str());
     }
     if (param != "") {
-        SE_LOG_INFO(NULL, NULL, "use '%s%s?' to get a list of valid parameters",
+        SE_LOG_INFO(NULL, "use '%s%s?' to get a list of valid parameters",
                     param.c_str(),
                     boost::ends_with(param, "=") ? "" : " ");
     }
@@ -4362,9 +4362,9 @@ private:
      * vararg constructor with NULL termination,
      * out and error stream into stringstream members
      */
-    class TestCmdline : private LoggerBase {
+    class TestCmdline : public Logger {
         void init() {
-            pushLogger(this);
+            addLogger(boost::shared_ptr<Logger>(this, NopDestructor()));
 
             m_argv.reset(new const char *[m_argvstr.size() + 1]);
             m_argv[0] = "client-test";
@@ -4398,7 +4398,7 @@ private:
         }
 
         ~TestCmdline() {
-            popLogger();
+            removeLogger(this);
         }
 
         boost::shared_ptr<SyncContext> parse()
@@ -4463,14 +4463,11 @@ private:
         boost::scoped_array<const char *> m_argv;
 
         /** capture output produced while test ran */
-        void messagev(Level level,
-                      const char *prefix,
-                      const char *file,
-                      int line,
-                      const char *function,
+        void messagev(const MessageOptions &options,
                       const char *format,
                       va_list args)
         {
+            Level level = options.m_level;
             if (level <= INFO) {
                 ostringstream &out = level != SHOW ? m_err : m_out;
                 std::string str = StringPrintfV(format, args);
@@ -4486,7 +4483,6 @@ private:
                 }
             }
         }
-        virtual bool isProcessSafe() const { return false; }
     };
 
     string DefaultConfig() {
index 01d92c7..2e52052 100644 (file)
@@ -283,7 +283,7 @@ void CurlTransportAgent::checkCurl(CURLcode code, bool exception)
         if(exception){
             SE_THROW_EXCEPTION(TransportException, m_curlErrorText);
         }else {
-            SE_LOG_INFO(NULL, NULL, "CurlTransport Failure: %s", m_curlErrorText);
+            SE_LOG_INFO(NULL, "CurlTransport Failure: %s", m_curlErrorText);
         }
     }
 }
index 3077d9e..ad140c8 100644 (file)
@@ -77,7 +77,12 @@ ESourceRegistryCXX EDSRegistryLoader::sync()
         if (m_gerror) {
             m_gerror.throwError("creating source registry");
         }
-        g_main_context_iteration(NULL, true);
+        // Only master thread can drive the event processing.
+       if (g_main_context_is_owner(g_main_context_default())) {
+            g_main_context_iteration(NULL, true);
+        } else {
+            Sleep(0.1);
+        }
     }
 }
 
index e5dba48..ce97c26 100644 (file)
 
 #include "ForkExec.h"
 #include <syncevo/LogRedirect.h>
+#include <syncevo/ThreadSupport.h>
 
 #if defined(HAVE_GLIB)
 
 #include <pcrecpp.h>
+#include <ctype.h>
 #include "test.h"
 
 SE_BEGIN_CXX
 
 static const std::string ForkExecEnvVar("SYNCEVOLUTION_FORK_EXEC=");
+static const std::string ForkExecInstanceEnvVar("SYNCEVOLUTION_FORK_EXEC_INSTANCE=");
 
 #ifndef GDBUS_CXX_HAVE_DISCONNECT
 // internal D-Bus API: only used to monitor parent by having one method call pending
@@ -44,18 +47,34 @@ static const std::string FORKEXEC_PARENT_DESTINATION = "direct.peer"; // doesn't
 class ForkExecParentDBusAPI : public GDBusCXX::DBusObjectHelper
 {
 public:
-    ForkExecParentDBusAPI(const GDBusCXX::DBusConnectionPtr &conn) :
+    /**
+     * @param instance    a unique string to distinguish multiple different ForkExecParent
+     *                    instances; necessary because otherwise GIO GDBus may route messages from
+     *                    one connection to older instances on other connections
+     */
+    ForkExecParentDBusAPI(const GDBusCXX::DBusConnectionPtr &conn, const std::string &instance) :
         GDBusCXX::DBusObjectHelper(conn,
-                                   FORKEXEC_PARENT_PATH,
+                                   FORKEXEC_PARENT_PATH + "/" + instance,
                                    FORKEXEC_PARENT_IFACE)
     {
         add(this, &ForkExecParentDBusAPI::watch, "Watch");
         activate();
     }
 
+    ~ForkExecParentDBusAPI()
+    {
+        SE_LOG_DEBUG(NULL, "ForkExecParentDBusAPI %s: destroying with %ld active watches",
+                     getPath(),
+                     (long)m_watches.size());
+    }
+
+    bool hasWatches() const { return !m_watches.empty(); }
+
 private:
     void watch(const boost::shared_ptr< GDBusCXX::Result0> &result)
     {
+        SE_LOG_DEBUG(NULL, "ForkExecParentDBusAPI %s: received 'Watch' method call from child",
+                     getPath());
         m_watches.push_back(result);
     }
     std::list< boost::shared_ptr< GDBusCXX::Result0> > m_watches;
@@ -66,6 +85,9 @@ ForkExec::ForkExec()
 {
 }
 
+static Mutex ForkExecMutex;
+static unsigned int ForkExecCount;
+
 ForkExecParent::ForkExecParent(const std::string &helper) :
     m_helper(helper),
     m_childPid(0),
@@ -81,6 +103,9 @@ ForkExecParent::ForkExecParent(const std::string &helper) :
     m_errID(0),
     m_watchChild(NULL)
 {
+    Mutex::Guard guard = ForkExecMutex.lock();
+    ForkExecCount++;
+    m_instance = StringPrintf("forkexec%u", ForkExecCount);
 }
 
 boost::shared_ptr<ForkExecParent> ForkExecParent::create(const std::string &helper)
@@ -111,6 +136,15 @@ ForkExecParent::~ForkExecParent()
     if (m_childPid) {
         g_spawn_close_pid(m_childPid);
     }
+#ifndef GDBUS_CXX_HAVE_DISCONNECT
+    if (m_api) {
+        SE_LOG_DEBUG(NULL, "ForkExecParent: shutting down, telling %s %ld that it lost the connection, it %s",
+                     m_helper.c_str(),
+                     (long)m_childPid,
+                     m_api->hasWatches() ? "is watching" : "is not watching");
+        m_api.reset();
+    }
+#endif
 }
 
 /**
@@ -128,14 +162,7 @@ void ForkExecParent::forked(gpointer data) throw()
     // any output is printed directly, instead of going through
     // the parent's output processing in LogRedirect.
     if (getenv("SYNCEVOLUTION_DEBUG")) {
-        int index = LoggerBase::numLoggers();
-        LogRedirect *redirect = NULL;
-        while (--index >= 0 &&
-               !(redirect = dynamic_cast<LogRedirect *>(LoggerBase::loggerAt(index)))) {
-        }
-        if (redirect) {
-            redirect->reset();
-        }
+        LogRedirect::removeRedirect();
     }
 
     if (me->m_mergedStdoutStderr) {
@@ -152,7 +179,7 @@ void ForkExecParent::start()
     // boost::shared_ptr<ForkExecParent> me = ...;
     GDBusCXX::DBusErrorCXX dbusError;
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: preparing for child process %s", m_helper.c_str());
+    SE_LOG_DEBUG(NULL, "ForkExecParent: preparing for child process %s", m_helper.c_str());
     m_server = GDBusCXX::DBusServerCXX::listen("", &dbusError);
     if (!m_server) {
         dbusError.throwFailure("starting server");
@@ -189,16 +216,18 @@ void ForkExecParent::start()
     for (char **env = environ;
          *env;
          env++) {
-        if (!boost::starts_with(*env, ForkExecEnvVar)) {
+        if (!boost::starts_with(*env, ForkExecEnvVar) &&
+            !boost::starts_with(*env, ForkExecInstanceEnvVar)) {
             m_envStrings.push_back(*env);
         }
     }
 
     // pass D-Bus address via env variable
     m_envStrings.push_back(ForkExecEnvVar + m_server->getAddress());
+    m_envStrings.push_back(ForkExecInstanceEnvVar + getInstance());
     m_env.reset(AllocStringArray(m_envStrings));
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: running %s with D-Bus address %s",
+    SE_LOG_DEBUG(NULL, "ForkExecParent: running %s with D-Bus address %s",
                  helper.c_str(), m_server->getAddress().c_str());
 
     // Check which kind of output redirection is wanted.
@@ -227,7 +256,7 @@ void ForkExecParent::start()
     setupPipe(m_err, m_errID, err);
     setupPipe(m_out, m_outID, out);
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: child process for %s has pid %ld",
+    SE_LOG_DEBUG(NULL, "ForkExecParent: child process for %s has pid %ld",
                  helper.c_str(), (long)m_childPid);
 
     // TODO: introduce C++ wrapper around GSource
@@ -246,7 +275,7 @@ void ForkExecParent::setupPipe(GIOChannel *&channel, guint &sourceID, int fd)
     channel = g_io_channel_unix_new(fd);
     if (!channel) {
         // failure
-        SE_LOG_DEBUG(NULL, NULL, "g_io_channel_unix_new() returned NULL");
+        SE_LOG_DEBUG(NULL, "g_io_channel_unix_new() returned NULL");
         close(fd);
         return;
     }
@@ -289,10 +318,11 @@ gboolean ForkExecParent::outputReady(GIOChannel *source,
         if (status == G_IO_STATUS_EOF ||
             (condition & (G_IO_HUP|G_IO_ERR)) ||
             error) {
-            SE_LOG_DEBUG(NULL, NULL, "reading helper %s done: %s",
+            SE_LOG_DEBUG(NULL, "reading helper %s %ld done: %s",
                          source == me->m_out ? "stdout" :
                          me->m_mergedStdoutStderr ? "combined stdout/stderr" :
                          "stderr",
+                         (long)me->m_childPid,
                          (const char *)error);
 
             // Will remove event source from main loop.
@@ -338,7 +368,8 @@ void ForkExecParent::checkCompletion() throw ()
             m_onQuit(m_status);
             if (!m_hasConnected ||
                 m_status != 0) {
-                SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: child was signaled %s, signal %d, int %d, term %d, int sent %s, term sent %s",
+                SE_LOG_DEBUG(NULL, "ForkExecParent: child %ld was signaled %s, signal %d (SIGINT=%d, SIGTERM=%d), int sent %s, term sent %s",
+                             (long)m_childPid,
                              WIFSIGNALED(m_status) ? "yes" : "no",
                              WTERMSIG(m_status), SIGINT, SIGTERM,
                              m_sigIntSent ? "yes" : "no",
@@ -360,7 +391,7 @@ void ForkExecParent::checkCompletion() throw ()
                 } else {
                     error += " for unknown reasons";
                 }
-                SE_LOG_ERROR(NULL, NULL, "%s", error.c_str());
+                SE_LOG_ERROR(NULL, "%s", error.c_str());
                 m_onFailure(STATUS_FATAL, error);
             }
         } catch (...) {
@@ -378,11 +409,12 @@ void ForkExecParent::checkCompletion() throw ()
 void ForkExecParent::newClientConnection(GDBusCXX::DBusConnectionPtr &conn) throw()
 {
     try {
-        SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: child %s has connected",
-                     m_helper.c_str());
+        SE_LOG_DEBUG(NULL, "ForkExecParent: child %s %ld has connected",
+                     m_helper.c_str(),
+                     (long)m_childPid);
         m_hasConnected = true;
 #ifndef GDBUS_CXX_HAVE_DISCONNECT
-        m_api.reset(new ForkExecParentDBusAPI(conn));
+        m_api.reset(new ForkExecParentDBusAPI(conn, getInstance()));
 #endif
         m_onConnect(conn);
     } catch (...) {
@@ -410,8 +442,9 @@ void ForkExecParent::stop(int signal)
         return;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: killing %s with signal %d (%s %s)",
+    SE_LOG_DEBUG(NULL, "ForkExecParent: killing %s %ld with signal %d (%s %s)",
                  m_helper.c_str(),
+                 (long)m_childPid,
                  signal,
                  (!signal || signal == SIGINT) ? "SIGINT" : "",
                  (!signal || signal == SIGTERM) ? "SIGTERM" : "");
@@ -426,9 +459,6 @@ void ForkExecParent::stop(int signal)
     if (signal && signal != SIGINT && signal != SIGTERM) {
         ::kill(m_childPid, signal);
     }
-#ifndef GDBUS_CXX_HAVE_DISCONNECT
-    m_api.reset();
-#endif
 }
 
 void ForkExecParent::kill()
@@ -438,17 +468,28 @@ void ForkExecParent::kill()
         return;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecParent: killing %s with SIGKILL",
-                 m_helper.c_str());
+    SE_LOG_DEBUG(NULL, "ForkExecParent: killing %s %ld with SIGKILL",
+                 m_helper.c_str(),
+                 (long)m_childPid);
     ::kill(m_childPid, SIGKILL);
 #ifndef GDBUS_CXX_HAVE_DISCONNECT
-    m_api.reset();
+    // Cancel the pending method call from the child to us. This will
+    // send an error reply to the child, which it'll treat as
+    // "connection lost".
+    if (m_api) {
+        SE_LOG_DEBUG(NULL, "ForkExecParent: telling %s %ld that it lost the connection, it %s",
+                     m_helper.c_str(),
+                     (long)m_childPid,
+                     m_api->hasWatches() ? "is watching" : "is not watching");
+        m_api.reset();
+    }
 #endif
 }
 
 ForkExecChild::ForkExecChild() :
     m_state(IDLE)
 {
+    m_instance = getEnv(ForkExecInstanceEnvVar.substr(0, ForkExecInstanceEnvVar.size() - 1).c_str(), "");
 }
 
 boost::shared_ptr<ForkExecChild> ForkExecChild::create()
@@ -467,7 +508,7 @@ void ForkExecChild::connect()
         SE_THROW("cannot connect to parent, was not forked");
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "ForkExecChild: connecting to parent with D-Bus address %s",
+    SE_LOG_DEBUG(NULL, "ForkExecChild: connecting to parent with D-Bus address %s",
                  address);
     GDBusCXX::DBusErrorCXX dbusError;
     GDBusCXX::DBusConnectionPtr conn = dbus_get_bus_connection(address,
@@ -487,16 +528,16 @@ void ForkExecChild::connect()
     class Parent : public GDBusCXX::DBusRemoteObject
     {
     public:
-        Parent(const GDBusCXX::DBusConnectionPtr &conn) :
+        Parent(const GDBusCXX::DBusConnectionPtr &conn, const std::string &instance) :
             GDBusCXX::DBusRemoteObject(conn,
-                                       FORKEXEC_PARENT_PATH,
+                                       FORKEXEC_PARENT_PATH + "/" + instance,
                                        FORKEXEC_PARENT_IFACE,
                                        FORKEXEC_PARENT_DESTINATION),
             m_watch(*this, "Watch")
         {}
 
         GDBusCXX::DBusClientCall0 m_watch;
-    } parent(conn);
+    } parent(conn, getInstance());
     parent.m_watch.start(boost::bind(&ForkExecChild::connectionLost, this));
 #endif
 
@@ -506,7 +547,7 @@ void ForkExecChild::connect()
 
 void ForkExecChild::connectionLost()
 {
-    SE_LOG_DEBUG(NULL, NULL, "lost connection to parent");
+    SE_LOG_DEBUG(NULL, "lost connection to parent");
     m_state = DISCONNECTED;
     m_onQuit();
 }
index 5de1848..e460e59 100644 (file)
@@ -100,8 +100,16 @@ class ForkExec : private boost::noncopyable {
     typedef boost::signals2::signal<void (SyncMLStatus, const std::string &)> OnFailure;
     OnFailure m_onFailure;
 
+    /**
+     * A unique string for the ForkExecParent/Child pair which can be used
+     * as D-Bus path component.
+     */
+    std::string getInstance() const { return m_instance; }
+
  protected:
     ForkExec();
+
+    std::string m_instance;
 };
 
 /**
index af8ecfa..6dc4586 100644 (file)
@@ -191,9 +191,9 @@ GLibNotify::GLibNotify(const char *file,
                        const callback_t &callback) :
     m_callback(callback)
 {
-    GFileCXX filecxx(g_file_new_for_path(file));
+    GFileCXX filecxx(g_file_new_for_path(file), TRANSFER_REF);
     GErrorCXX gerror;
-    GFileMonitorCXX monitor(g_file_monitor_file(filecxx.get(), G_FILE_MONITOR_NONE, NULL, gerror));
+    GFileMonitorCXX monitor(g_file_monitor_file(filecxx.get(), G_FILE_MONITOR_NONE, NULL, gerror), TRANSFER_REF);
     m_monitor.swap(monitor);
     if (!m_monitor) {
         gerror.throwError(std::string("monitoring ") + file);
@@ -240,7 +240,7 @@ class GLibTest : public CppUnit::TestFixture {
         list<Event> events;
         static const char *name = "GLibTest.out";
         unlink(name);
-        GMainLoopCXX loop(g_main_loop_new(NULL, FALSE), false);
+        GMainLoopCXX loop(g_main_loop_new(NULL, FALSE), TRANSFER_REF);
         if (!loop) {
             SE_THROW("could not allocate main loop");
         }
index f622419..36a431f 100644 (file)
@@ -172,6 +172,19 @@ template<class A1, class A2, class A3, class A4, class A5, class A6, class A7, c
     }
 };
 
+enum RefOwnership
+{
+    TRANSFER_REF = false, /**<
+                           * Create new smart pointer which steals an existing reference without
+                           * increasing the reference count of the object.
+                           */
+    ADD_REF = true        /**<
+                           * Create new smart pointer which increases the reference count when
+                           * storing the pointer to the object.
+                           */
+};
+
+
 template<class C> class TrackGObject : public boost::intrusive_ptr<C> {
     typedef boost::intrusive_ptr<C> Base_t;
 
@@ -186,14 +199,14 @@ template<class C> class TrackGObject : public boost::intrusive_ptr<C> {
     }
 
  public:
-    TrackGObject(C *ptr, bool add_ref = true) : Base_t(ptr, add_ref) {}
+    TrackGObject(C *ptr, RefOwnership ownership) : Base_t(ptr, (bool)ownership) {}
     TrackGObject() {}
     TrackGObject(const TrackGObject &other) : Base_t(other) {}
     operator C * () const { return Base_t::get(); }
     operator bool () const { return Base_t::get() != NULL; }
     C * ref() const { return static_cast<C *>(g_object_ref(Base_t::get())); }
 
-    static  TrackGObject steal(C *ptr) { return TrackGObject(ptr, false); }
+    static  TrackGObject steal(C *ptr) { return TrackGObject(ptr, TRANSFER_REF); }
 
     template<class S> guint connectSignal(const char *signal,
                                           const boost::function<S> &callback) {
@@ -211,7 +224,7 @@ template<class C> class TrackGObject : public boost::intrusive_ptr<C> {
 
 template<class C> class StealGObject : public TrackGObject<C> {
  public:
-    StealGObject(C *ptr) : TrackGObject<C>(ptr, false) {}
+    StealGObject(C *ptr) : TrackGObject<C>(ptr, TRANSFER_REF) {}
     StealGObject() {}
     StealGObject(const StealGObject &other) : TrackGObject<C>(other) {}
 };
@@ -220,19 +233,19 @@ template<class C> class TrackGLib : public boost::intrusive_ptr<C> {
     typedef boost::intrusive_ptr<C> Base_t;
 
  public:
   TrackGLib(C *ptr, bool add_ref = true) : Base_t(ptr, add_ref) {}
TrackGLib(C *ptr, RefOwnership ownership) : Base_t(ptr, (bool)ownership) {}
     TrackGLib() {}
     TrackGLib(const TrackGLib &other) : Base_t(other) {}
     operator C * () const { return Base_t::get(); }
     operator bool () const { return Base_t::get() != NULL; }
     C * ref() const { return static_cast<C *>(g_object_ref(Base_t::get())); }
 
-    static  TrackGLib steal(C *ptr) { return TrackGLib(ptr, false); }
+    static  TrackGLib steal(C *ptr) { return TrackGLib(ptr, TRANSFER_REF); }
 };
 
 template<class C> class StealGLib : public TrackGLib<C> {
  public:
-    StealGLib(C *ptr) : TrackGLib<C>(ptr, false) {}
+    StealGLib(C *ptr) : TrackGLib<C>(ptr, TRANSFER_REF) {}
     StealGLib() {}
     StealGLib(const StealGLib &other) : TrackGLib<C>(other) {}
 };
index 08cda36..694ce56 100644 (file)
@@ -30,6 +30,8 @@ SE_GOBJECT_TYPE(GeeMapEntry)
 SE_GOBJECT_TYPE(GeeMapIterator)
 SE_GOBJECT_TYPE(GeeIterable)
 SE_GOBJECT_TYPE(GeeIterator)
+SE_GOBJECT_TYPE(GeeMultiMap)
+SE_GOBJECT_TYPE(GeeCollection)
 
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
@@ -88,10 +90,16 @@ template<class Entry> class GeeCollCXX
     GeeIterableCXX m_collection;
 
  public:
-    template<class Collection> GeeCollCXX(Collection *collection) :
-        m_collection(GEE_ITERABLE(collection))
+    template<class Collection> GeeCollCXX(Collection *collection, RefOwnership ownership) :
+        m_collection(GEE_ITERABLE(collection), ownership)
     {}
 
+    GeeCollCXX(GeeCollectionCXX &collection) :
+        m_collection(GEE_ITERABLE(collection.get()), ADD_REF)
+    {}
+
+    GeeIterable *get() const { return m_collection.get(); }
+
     class Iterator
     {
         /** Defines how to handle the gpointer result of gee_iterator_get(). */
@@ -110,7 +118,7 @@ template<class Entry> class GeeCollCXX
          * Takes ownership of iterator, which may be NULL for the end Iterator.
          */
         Iterator(GeeIterator *iterator) :
-            m_it(iterator, false),
+            m_it(iterator, TRANSFER_REF),
             m_valid(false)
         {}
 
@@ -181,7 +189,7 @@ template<class Key, class Value> class GeeMapEntryWrapper  {
 
     /** take ownership of entry instance */
     GeeMapEntryWrapper(GeeMapEntry *entry = NULL) :
-        m_entry(entry, false)
+        m_entry(entry, TRANSFER_REF)
     {}
     GeeMapEntryWrapper(const GeeMapEntryWrapper &other):
         m_entry(other.m_entry)
index 7c64124..ef3034b 100644 (file)
@@ -56,8 +56,8 @@ LocalTransportAgent::LocalTransportAgent(SyncContext *server,
     m_clientContext(SyncConfig::normalizeConfigString(clientContext)),
     m_status(INACTIVE),
     m_loop(loop ?
-           GMainLoopCXX(static_cast<GMainLoop *>(loop)) /* increase reference */ :
-           GMainLoopCXX(g_main_loop_new(NULL, false), false) /* use reference handed to us by _new */)
+           GMainLoopCXX(static_cast<GMainLoop *>(loop), ADD_REF) :
+           GMainLoopCXX(g_main_loop_new(NULL, false), TRANSFER_REF))
 {
 }
 
@@ -175,13 +175,14 @@ class LocalTransportChild : public GDBusCXX::DBusRemoteObject
 
 void LocalTransportAgent::logChildOutput(const std::string &level, const std::string &message)
 {
-    ProcNameGuard guard(m_clientContext);
-    SE_LOG(Logger::strToLevel(level.c_str()), NULL, NULL, "%s", message.c_str());
+    Logger::MessageOptions options(Logger::strToLevel(level.c_str()));
+    options.m_processName = &m_clientContext;
+    SyncEvo::Logger::instance().messageWithOptions(options, "%s", message.c_str());
 }
 
 void LocalTransportAgent::onChildConnect(const GDBusCXX::DBusConnectionPtr &conn)
 {
-    SE_LOG_DEBUG(NULL, NULL, "child is ready");
+    SE_LOG_DEBUG(NULL, "child is ready");
     m_parent.reset(new GDBusCXX::DBusObjectHelper(conn,
                                                   LocalTransportParent::path(),
                                                   LocalTransportParent::interface(),
@@ -223,14 +224,14 @@ void LocalTransportAgent::onFailure(const std::string &error)
     m_status = FAILED;
     g_main_loop_quit(m_loop.get());
 
-    SE_LOG_ERROR(NULL, NULL, "local transport failed: %s", error.c_str());
+    SE_LOG_ERROR(NULL, "local transport failed: %s", error.c_str());
     m_parent.reset();
     m_child.reset();
 }
 
 void LocalTransportAgent::onChildQuit(int status)
 {
-    SE_LOG_DEBUG(NULL, NULL, "child process has quit with status %d", status);
+    SE_LOG_DEBUG(NULL, "child process has quit with status %d", status);
     g_main_loop_quit(m_loop.get());
 }
 
@@ -264,7 +265,7 @@ void LocalTransportAgent::askPassword(const std::string &passwordName,
                                       const boost::shared_ptr< GDBusCXX::Result1<const std::string &> > &reply)
 {
     // pass that work to our own SyncContext and its UI - currently blocks
-    SE_LOG_DEBUG(NULL, NULL, "local sync parent: asked for password %s, %s",
+    SE_LOG_DEBUG(NULL, "local sync parent: asked for password %s, %s",
                  passwordName.c_str(),
                  descr.c_str());
     try {
@@ -277,7 +278,7 @@ void LocalTransportAgent::askPassword(const std::string &passwordName,
                                                                  boost::bind(PasswordException,
                                                                              reply));
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "local sync parent: password request failed because no m_server");
+            SE_LOG_DEBUG(NULL, "local sync parent: password request failed because no m_server");
             reply->failed(GDBusCXX::dbus_error("org.syncevolution.localtransport.error",
                                                "not connected to UI"));
         }
@@ -288,7 +289,7 @@ void LocalTransportAgent::askPassword(const std::string &passwordName,
 
 void LocalTransportAgent::storeSyncReport(const std::string &report)
 {
-    SE_LOG_DEBUG(NULL, NULL, "got child sync report:\n%s",
+    SE_LOG_DEBUG(NULL, "got child sync report:\n%s",
                  report.c_str());
     m_clientReport = SyncReport(report);
 }
@@ -312,7 +313,7 @@ static void gMainLoopQuit(GMainLoopCXX *loop)
 
 void LocalTransportAgent::shutdown()
 {
-    SE_LOG_DEBUG(NULL, NULL, "parent is shutting down");
+    SE_LOG_DEBUG(NULL, "parent is shutting down");
     if (m_forkexec) {
         // block until child is done
         boost::signals2::scoped_connection c(m_forkexec->m_onQuit.connect(boost::bind(gMainLoopQuit,
@@ -323,7 +324,7 @@ void LocalTransportAgent::shutdown()
         // communication with the parent?
         // m_forkexec->stop();
         while (m_forkexec->getState() != ForkExecParent::TERMINATED) {
-            SE_LOG_DEBUG(NULL, NULL, "waiting for child to stop");
+            SE_LOG_DEBUG(NULL, "waiting for child to stop");
             g_main_loop_run(m_loop.get());
         }
 
@@ -338,7 +339,7 @@ void LocalTransportAgent::send(const char *data, size_t len)
     if (m_child) {
         m_status = ACTIVE;
         m_child->m_sendMsg.start(m_contentType, GDBusCXX::makeDBusArray(len, (uint8_t *)(data)),
-                                 boost::bind(&LocalTransportAgent::storeReplyMsg, this, _1, _2, _3));
+                                 boost::bind(&LocalTransportAgent::storeReplyMsg, m_self, _1, _2, _3));
     } else {
         m_status = FAILED;
         SE_THROW_EXCEPTION(TransportException,
@@ -358,7 +359,7 @@ void LocalTransportAgent::storeReplyMsg(const std::string &contentType,
     } else {
         // Only an error if the client hasn't shut down normally.
         if (m_clientReport.empty()) {
-            SE_LOG_ERROR(NULL, NULL, "sending message to child failed: %s", error.c_str());
+            SE_LOG_ERROR(NULL, "sending message to child failed: %s", error.c_str());
             m_status = FAILED;
         }
     }
@@ -368,7 +369,7 @@ void LocalTransportAgent::storeReplyMsg(const std::string &contentType,
 void LocalTransportAgent::cancel()
 {
     if (m_forkexec) {
-        SE_LOG_DEBUG(NULL, NULL, "killing local transport child in cancel()");
+        SE_LOG_DEBUG(NULL, "killing local transport child in cancel()");
         m_forkexec->stop();
     }
     m_status = CANCELED;
@@ -382,7 +383,7 @@ TransportAgent::Status LocalTransportAgent::wait(bool noReply)
             m_status = INACTIVE;
         } else {
             while (m_status == ACTIVE) {
-                SE_LOG_DEBUG(NULL, NULL, "waiting for child to send message");
+                SE_LOG_DEBUG(NULL, "waiting for child to send message");
                 if (m_forkexec &&
                     m_forkexec->getState() == ForkExecParent::TERMINATED) {
                     m_status = FAILED;
@@ -465,7 +466,7 @@ public:
                                const string &descr,
                                const ConfigPasswordKey &key)
     {
-        SE_LOG_DEBUG(NULL, NULL, "local transport child: requesting password %s, %s via D-Bus",
+        SE_LOG_DEBUG(NULL, "local transport child: requesting password %s, %s via D-Bus",
                      passwordName.c_str(),
                      descr.c_str());
         std::string password;
@@ -500,11 +501,11 @@ private:
     void storePassword(std::string &res, std::string &errorRes, bool &haveRes, const std::string &password, const std::string &error)
     {
         if (!error.empty()) {
-            SE_LOG_DEBUG(NULL, NULL, "local transport child: D-Bus password request failed: %s",
+            SE_LOG_DEBUG(NULL, "local transport child: D-Bus password request failed: %s",
                          error.c_str());
             errorRes = error;
         } else {
-            SE_LOG_DEBUG(NULL, NULL, "local transport child: D-Bus password request succeeded");
+            SE_LOG_DEBUG(NULL, "local transport child: D-Bus password request succeeded");
             res = password;
         }
         haveRes = true;
@@ -516,7 +517,7 @@ static void abortLocalSync(int sigterm)
     // logging anything here is not safe (our own logging system might
     // have been interrupted by the SIGTERM and thus be in an inconsistent
     // state), but let's try it anyway
-    SE_LOG_INFO(NULL, NULL, "local sync child shutting down due to SIGTERM");
+    SE_LOG_INFO(NULL, "local sync child shutting down due to SIGTERM");
     // raise the signal again after disabling the handler, to ensure that
     // the exit status is "killed by signal xxx" - good because then
     // the whoever killed used gets the information that we didn't die for
@@ -549,7 +550,42 @@ public:
                           true /* ignore transmission failures */> m_logOutput;
 };
 
-class LocalTransportAgentChild : public TransportAgent, private LoggerBase
+class ChildLogger : public Logger
+{
+    std::auto_ptr<LogRedirect> m_parentLogger;
+    boost::weak_ptr<LocalTransportChildImpl> m_child;
+
+public:
+    ChildLogger(const boost::shared_ptr<LocalTransportChildImpl> &child) :
+        m_parentLogger(new LogRedirect(LogRedirect::STDERR_AND_STDOUT)),
+        m_child(child)
+    {}
+    ~ChildLogger()
+    {
+        m_parentLogger.reset();
+    }
+
+    /**
+     * Write message into our own log and send to parent.
+     */
+    virtual void messagev(const MessageOptions &options,
+                          const char *format,
+                          va_list args)
+    {
+        m_parentLogger->process();
+        boost::shared_ptr<LocalTransportChildImpl> child = m_child.lock();
+        if (child) {
+            // prefix is used to set session path
+            // for general server output, the object path field is dbus server
+            // the object path can't be empty for object paths prevent using empty string.
+            string strLevel = Logger::levelToStr(options.m_level);
+            string log = StringPrintfV(format, args);
+            child->m_logOutput(strLevel, log);
+        }
+    }
+};
+
+class LocalTransportAgentChild : public TransportAgent
 {
     /** final return code of our main(): non-zero indicates that we need to shut down */
     int m_ret;
@@ -575,7 +611,7 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
     /**
      * our D-Bus interface, created in onConnect()
      */
-    boost::scoped_ptr<LocalTransportChildImpl> m_child;
+    boost::shared_ptr<LocalTransportChildImpl> m_child;
 
     /**
      * sync context, created in Sync() D-Bus call
@@ -628,7 +664,7 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
      */
     void step(const std::string &status)
     {
-        SE_LOG_DEBUG(NULL, NULL, "local transport: %s", status.c_str());
+        SE_LOG_DEBUG(NULL, "local transport: %s", status.c_str());
         if (!m_forkexec ||
             m_forkexec->getState() == ForkExecChild::DISCONNECTED) {
             SE_THROW("local transport child no longer has a parent, terminating");
@@ -644,13 +680,13 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
         // Never free this state blocker. We can only abort and
         // quit from now on.
         static boost::shared_ptr<SuspendFlags::StateBlocker> abortGuard;
-        SE_LOG_ERROR(NULL, NULL, "sync parent quit unexpectedly");
+        SE_LOG_ERROR(NULL, "sync parent quit unexpectedly");
         abortGuard = SuspendFlags::getSuspendFlags().abort();
     }
 
     void onConnect(const GDBusCXX::DBusConnectionPtr &conn)
     {
-        SE_LOG_DEBUG(NULL, NULL, "child connected to parent");
+        SE_LOG_DEBUG(NULL, "child connected to parent");
 
         // provide our own API
         m_child.reset(new LocalTransportChildImpl(conn));
@@ -664,7 +700,7 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
 
     void onFailure(SyncMLStatus status, const std::string &reason)
     {
-        SE_LOG_DEBUG(NULL, NULL, "child fork/exec failed: %s", reason.c_str());
+        SE_LOG_DEBUG(NULL, "child fork/exec failed: %s", reason.c_str());
 
         // record failure for parent
         if (!m_clientReport.getStatus()) {
@@ -693,7 +729,7 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
     {
         setMsgToParent(reply, "sync() was called");
         Logger::setProcessName(clientContext);
-        SE_LOG_DEBUG(NULL, NULL, "Sync() called, starting the sync");
+        SE_LOG_DEBUG(NULL, "Sync() called, starting the sync");
         const char *delay = getenv("SYNCEVOLUTION_LOCAL_CHILD_DELAY2");
         if (delay) {
             Sleep(atoi(delay));
@@ -819,7 +855,7 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
                  const GDBusCXX::DBusArray<uint8_t> &data,
                  const LocalTransportChild::ReplyPtr &reply)
     {
-        SE_LOG_DEBUG(NULL, NULL, "child got message of %ld bytes", (long)data.first);
+        SE_LOG_DEBUG(NULL, "child got message of %ld bytes", (long)data.first);
         setMsgToParent(LocalTransportChild::ReplyPtr(), "sendMsg() was called");
         if (m_status == ACTIVE) {
             m_msgToParent = reply;
@@ -833,42 +869,13 @@ class LocalTransportAgentChild : public TransportAgent, private LoggerBase
         }
     }
 
-    /**
-     * Write message into our own log and send to parent.
-     */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args)
-    {
-        if (m_parentLogger) {
-            m_parentLogger->process();
-        }
-        if (m_child) {
-            // prefix is used to set session path
-            // for general server output, the object path field is dbus server
-            // the object path can't be empty for object paths prevent using empty string.
-            string strLevel = Logger::levelToStr(level);
-            string log = StringPrintfV(format, args);
-            m_child->m_logOutput(strLevel, log);
-        }
-    }
-
-    virtual bool isProcessSafe() const { return false; }
-
 public:
     LocalTransportAgentChild() :
         m_ret(0),
-        m_parentLogger(new LogRedirect(true)), // redirect all output via D-Bus
         m_forkexec(SyncEvo::ForkExecChild::create()),
         m_reportSent(false),
         m_status(INACTIVE)
     {
-        LoggerBase::pushLogger(this);
-
         m_forkexec->m_onConnect.connect(boost::bind(&LocalTransportAgentChild::onConnect, this, _1));
         m_forkexec->m_onFailure.connect(boost::bind(&LocalTransportAgentChild::onFailure, this, _1, _2));
         // When parent quits, we need to abort whatever we do and shut
@@ -885,9 +892,9 @@ public:
         m_forkexec->connect();
     }
 
-    ~LocalTransportAgentChild()
+    boost::shared_ptr<ChildLogger> createLogger()
     {
-        LoggerBase::popLogger();
+        return boost::shared_ptr<ChildLogger>(new ChildLogger(m_child));
     }
 
     void run()
@@ -896,14 +903,14 @@ public:
 
         while (!m_parent) {
             if (s.getState() != SuspendFlags::NORMAL) {
-                SE_LOG_DEBUG(NULL, NULL, "aborted, returning while waiting for parent");
+                SE_LOG_DEBUG(NULL, "aborted, returning while waiting for parent");
                 return;
             }
             step("waiting for parent");
         }
         while (!m_client) {
             if (s.getState() != SuspendFlags::NORMAL) {
-                SE_LOG_DEBUG(NULL, NULL, "aborted, returning while waiting for Sync() call from parent");
+                SE_LOG_DEBUG(NULL, "aborted, returning while waiting for Sync() call from parent");
             }
             step("waiting for Sync() call from parent");
         }
@@ -925,8 +932,8 @@ public:
             new_action.sa_handler = abortLocalSync;
             sigaction(SIGTERM, &new_action, NULL);
 
-            SE_LOG_DEBUG(NULL, NULL, "LocalTransportChild: ignore SIGINT, die in SIGTERM");
-            SE_LOG_INFO(NULL, NULL, "target side of local sync ready");
+            SE_LOG_DEBUG(NULL, "LocalTransportChild: ignore SIGINT, die in SIGTERM");
+            SE_LOG_INFO(NULL, "target side of local sync ready");
             m_client->sync(&m_clientReport);
         } catch (...) {
             string explanation;
@@ -938,14 +945,14 @@ public:
             }
             if (m_parent) {
                 std::string report = m_clientReport.toString();
-                SE_LOG_DEBUG(NULL, NULL, "child sending sync report after failure:\n%s", report.c_str());
+                SE_LOG_DEBUG(NULL, "child sending sync report after failure:\n%s", report.c_str());
                 m_parent->m_storeSyncReport.start(report,
                                                   boost::bind(&LocalTransportAgentChild::syncReportReceived, this, _1));
                 // wait for acknowledgement for report once:
                 // we are in some kind of error state, better
                 // do not wait too long
                 if (m_parent) {
-                    SE_LOG_DEBUG(NULL, NULL, "waiting for parent's ACK for sync report");
+                    SE_LOG_DEBUG(NULL, "waiting for parent's ACK for sync report");
                     g_main_context_iteration(NULL, true);
                 }
             }
@@ -955,7 +962,7 @@ public:
         if (m_parent) {
             // send final report, ignore result
             std::string report = m_clientReport.toString();
-            SE_LOG_DEBUG(NULL, NULL, "child sending sync report:\n%s", report.c_str());
+            SE_LOG_DEBUG(NULL, "child sending sync report:\n%s", report.c_str());
             m_parent->m_storeSyncReport.start(report,
                                               boost::bind(&LocalTransportAgentChild::syncReportReceived, this, _1));
             while (!m_reportSent && m_parent &&
@@ -967,7 +974,7 @@ public:
 
     void syncReportReceived(const std::string &error)
     {
-        SE_LOG_DEBUG(NULL, NULL, "sending sync report to parent: %s",
+        SE_LOG_DEBUG(NULL, "sending sync report to parent: %s",
                      error.empty() ? "done" : error.c_str());
         m_reportSent = true;
     }
@@ -998,7 +1005,7 @@ public:
      */
     virtual void shutdown()
     {
-        SE_LOG_DEBUG(NULL, NULL, "child local transport shutting down");
+        SE_LOG_DEBUG(NULL, "child local transport shutting down");
         if (m_msgToParent) {
             // Must send non-zero message, empty messages cause an
             // error during D-Bus message decoding on the receiving
@@ -1022,7 +1029,7 @@ public:
      */
     virtual void send(const char *data, size_t len)
     {
-        SE_LOG_DEBUG(NULL, NULL, "child local transport sending %ld bytes", (long)len);
+        SE_LOG_DEBUG(NULL, "child local transport sending %ld bytes", (long)len);
         if (m_msgToParent) {
             m_status = ACTIVE;
             m_msgToParent->done(m_contentType, GDBusCXX::makeDBusArray(len, (uint8_t *)(data)));
@@ -1081,7 +1088,7 @@ public:
      */
     virtual void getReply(const char *&data, size_t &len, std::string &contentType)
     {
-        SE_LOG_DEBUG(NULL, NULL, "processing %ld bytes in child", (long)m_message.size());
+        SE_LOG_DEBUG(NULL, "processing %ld bytes in child", (long)m_message.size());
         if (m_status != GOT_REPLY) {
             SE_THROW("getReply() called in child when no reply available");
         }
@@ -1124,20 +1131,28 @@ int LocalTransportMain(int argc, char **argv)
 
     try {
         if (getenv("SYNCEVOLUTION_DEBUG")) {
-            LoggerBase::instance().setLevel(Logger::DEBUG);
+            Logger::instance().setLevel(Logger::DEBUG);
         }
         // process name will be set to target config name once it is known
         Logger::setProcessName("syncevo-local-sync");
 
         boost::shared_ptr<LocalTransportAgentChild> child(new LocalTransportAgentChild);
+        PushLogger<Logger> logger;
+        // Temporary handle is necessary to avoid compiler issue with
+        // clang (ambiguous brackets).
+        {
+            Logger::Handle handle(child->createLogger());
+            logger.reset(handle);
+        }
         child->run();
         int ret = child->getReturnCode();
+        logger.reset();
         child.reset();
         return ret;
     } catch ( const std::exception &ex ) {
-        SE_LOG_ERROR(NULL, NULL, "%s", ex.what());
+        SE_LOG_ERROR(NULL, "%s", ex.what());
     } catch (...) {
-        SE_LOG_ERROR(NULL, NULL, "unknown error");
+        SE_LOG_ERROR(NULL, "unknown error");
     }
 
     return 1;
index b8e958d..ca7666c 100644 (file)
@@ -34,6 +34,7 @@
 #include <signal.h>
 
 #include <boost/algorithm/string/predicate.hpp>
+#include <boost/noncopyable.hpp>
 
 #include <algorithm>
 #include <iostream>
@@ -53,11 +54,14 @@ std::set<std::string> LogRedirect::m_knownErrors;
 void LogRedirect::abortHandler(int sig) throw()
 {
     // Don't know state of logging system, don't log here!
-    // SE_LOG_ERROR(NULL, NULL, "caught signal %d, shutting down", sig);
+    // SE_LOG_ERROR(NULL, "caught signal %d, shutting down", sig);
 
     // shut down redirection, also flushes to log
-    if (m_redirect) {
-        m_redirect->restore();
+    {
+        RecMutex::Guard guard = lock();
+        if (m_redirect) {
+            m_redirect->restore();
+        }
     }
 
     // Raise same signal again. Because our handler
@@ -102,13 +106,13 @@ void LogRedirect::init()
     m_knownErrors.insert("Qt: Session management error: None of the authentication protocols specified are supported");
 }
 
-LogRedirect::LogRedirect(bool both, const char *filename) throw()
+LogRedirect::LogRedirect(Mode mode, const char *filename)
 {
     init();
     m_processing = true;
     if (!getenv("SYNCEVOLUTION_DEBUG")) {
         redirect(STDERR_FILENO, m_stderr);
-        if (both) {
+        if (mode == STDERR_AND_STDOUT) {
             redirect(STDOUT_FILENO, m_stdout);
             m_out = filename ?
                 fopen(filename, "w") :
@@ -131,7 +135,12 @@ LogRedirect::LogRedirect(bool both, const char *filename) throw()
                            fileno(m_out) :
                            m_stderr.m_copy), "w");
     }
-    LoggerBase::pushLogger(this);
+
+    // Modify process state while holding the Logger mutex.
+    RecMutex::Guard guard = lock();
+    if (m_redirect) {
+        SE_LOG_WARNING(NULL, "LogRedirect already instantiated?!");
+    }
     m_redirect = this;
 
     if (!getenv("SYNCEVOLUTION_DEBUG")) {
@@ -157,6 +166,8 @@ LogRedirect::LogRedirect(ExecuteFlags flags)
 {
     init();
 
+    // This instance does not modify process state and
+    // doesn't have to be thread-safe.
     m_streams = true;
     if (!(flags & EXECUTE_NO_STDERR)) {
         redirect(STDERR_FILENO, m_stderr);
@@ -168,10 +179,12 @@ LogRedirect::LogRedirect(ExecuteFlags flags)
 
 LogRedirect::~LogRedirect() throw()
 {
-    bool pop = false;
+    RecMutex::Guard guard;
+    if (!m_streams) {
+        guard = lock();
+    }
     if (m_redirect == this) {
         m_redirect = NULL;
-        pop = true;
     }
     process();
     restore();
@@ -185,28 +198,36 @@ LogRedirect::~LogRedirect() throw()
     if (m_buffer) {
         free(m_buffer);
     }
-    if (pop) {
-        LoggerBase::popLogger();
-    }
 }
 
-void LogRedirect::redoRedirect() throw()
+void LogRedirect::remove() throw()
 {
-    bool doStdout = m_stdout.m_copy >= 0;
-    bool doStderr = m_stderr.m_copy >= 0;
+    restore();
+}
 
-    if (doStdout) {
-        restore(m_stdout);
-        redirect(STDOUT_FILENO, m_stdout);
-    }
-    if (doStderr) {
-        restore(m_stderr);
-        redirect(STDERR_FILENO, m_stderr);
+void LogRedirect::removeRedirect() throw()
+{
+    if (m_redirect) {
+        // We were forked. Ignore mutex (might be held by thread which was not
+        // forked) and restore the forked process' state to the one it was
+        // before setting up redirection.
+        //
+        // Do the minimal amount of work possible in restore(), i.e.,
+        // suppress the processing of streams.
+        m_redirect->m_streams = false;
+
+        m_redirect->restore(m_redirect->m_stdout);
+        m_redirect->restore(m_redirect->m_stderr);
     }
 }
 
 void LogRedirect::restore() throw()
 {
+    RecMutex::Guard guard;
+    if (!m_streams) {
+        guard = lock();
+    }
+
     if (m_processing) {
         return;
     }
@@ -218,26 +239,24 @@ void LogRedirect::restore() throw()
     m_processing = false;
 }
 
-void LogRedirect::messagev(Level level,
-                           const char *prefix,
-                           const char *file,
-                           int line,
-                           const char *function,
+void LogRedirect::messagev(const MessageOptions &options,
                            const char *format,
                            va_list args)
 {
+    RecMutex::Guard guard = lock();
+
     // check for other output first
     process();
     // Choose output channel: SHOW goes to original stdout,
     // everything else to stderr.
-    LoggerStdout::messagev(level == SHOW ?
-                           (m_out ? m_out : stdout) :
-                           (m_err ? m_err : stderr),
-                           level, getLevel(),
-                           prefix,
-                           file, line, function,
-                           format,
-                           args);
+    LoggerStdout::write(options.m_level == SHOW ?
+                        (m_out ? m_out : stdout) :
+                        (m_err ? m_err : stderr),
+                        options.m_level, getLevel(),
+                        options.m_prefix,
+                        options.m_processName,
+                        format,
+                        args);
 }
 
 void LogRedirect::redirect(int original, FDs &fds) throw()
@@ -352,8 +371,8 @@ bool LogRedirect::process(FDs &fds) throw()
         return data_read;
     }
 
+    ssize_t available = 0;
     do {
-        ssize_t available = 0;
         have_message = false;
 
         // keep peeking at the data with increasing buffer sizes until
@@ -362,11 +381,26 @@ bool LogRedirect::process(FDs &fds) throw()
         while (true) {
             // increase buffer?
             if (newlen > m_len) {
-                m_buffer = (char *)realloc(m_buffer, newlen);
-                if (!m_buffer) {
-                    m_len = 0;
-                    break;
+                void *buffer = realloc(m_buffer, newlen);
+                if (!buffer) {
+                    // Nothing changed.
+                    if (available) {
+                        // We already read some data of a
+                        // datagram. Give up on the rest of the data,
+                        // process what we have below.
+                        if ((size_t)available == m_len) {
+                            // Need the byte for nul termination.
+                            available--;
+                        }
+                        have_message = true;
+                        break;
+                    } else {
+                        // Give up.
+                        SyncContext::throwError("out of memory");
+                        return false;
+                    }
                 } else {
+                    m_buffer = (char *)buffer;
                     m_len = newlen;
                 }
             }
@@ -402,8 +436,10 @@ bool LogRedirect::process(FDs &fds) throw()
             }
         }
         if (have_message) {
-            // swallow packet, even if empty or we couldn't receive it
-            recv(fds.m_read, NULL, 0, MSG_DONTWAIT);
+            if (USE_UNIX_DOMAIN_DGRAM || !m_streams) {
+                // swallow packet, even if empty or we couldn't receive it
+                recv(fds.m_read, NULL, 0, MSG_DONTWAIT);
+            }
             data_read = true;
         }
 
@@ -412,7 +448,7 @@ bool LogRedirect::process(FDs &fds) throw()
             // Now pass it to logger, with a level determined by
             // the channel. This is the point where we can filter
             // out known noise.
-            const char *prefix = NULL;
+            std::string prefix;
             Logger::Level level = Logger::DEV;
             char *text = m_buffer;
 
@@ -426,9 +462,9 @@ bool LogRedirect::process(FDs &fds) throw()
                     if (eol) {
                         m_stdoutData.append(text, eol - text);
                         text = eol + 1;
-                        LoggerBase::instance().message(level, prefix,
-                                                       NULL, 0, NULL,
-                                                       "%s", m_stdoutData.c_str());
+                        Logger::instance().message(level, prefix.empty() ? NULL : &prefix,
+                                                   NULL, 0, NULL,
+                                                   "%s", m_stdoutData.c_str());
                         m_stdoutData.clear();
                     }
                 }
@@ -488,17 +524,25 @@ bool LogRedirect::process(FDs &fds) throw()
             if (len > 0 && text[len - 1] == '\n') {
                 text[len - 1] = 0;
             }
-            LoggerBase::instance().message(level, prefix,
-                                           NULL, 0, NULL,
-                                           "%s", text);
+            Logger::instance().message(level, prefix.empty() ? NULL : &prefix,
+                                       NULL, 0, NULL,
+                                       "%s", text);
+            available = 0;
         }
     } while(have_message);
 
     return data_read;
 }
 
+void LogRedirect::addIgnoreError(const std::string &error)
+{
+    RecMutex::Guard guard = Logger::lock();
+    m_knownErrors.insert(error);
+}
+
 bool LogRedirect::ignoreError(const std::string &text)
 {
+    RecMutex::Guard guard = Logger::lock();
     BOOST_FOREACH(const std::string &entry, m_knownErrors) {
         if (text.find(entry) != text.npos) {
             return true;
@@ -509,6 +553,8 @@ bool LogRedirect::ignoreError(const std::string &text)
 
 void LogRedirect::process()
 {
+    RecMutex::Guard guard;
+
     if (m_streams) {
         // iterate until both sockets are closed by peer
         while (true) {
@@ -574,6 +620,8 @@ void LogRedirect::process()
                 break;
             }
         }
+    } else {
+        guard = lock();
     }
 
     if (m_processing) {
@@ -598,13 +646,15 @@ void LogRedirect::process()
 
 void LogRedirect::flush() throw()
 {
+    RecMutex::Guard guard = lock();
+
     process();
     if (!m_stdoutData.empty()) {
         std::string buffer;
         std::swap(buffer, m_stdoutData);
-        LoggerBase::instance().message(Logger::SHOW, NULL,
-                                       NULL, 0, NULL,
-                                       "%s", buffer.c_str());
+        Logger::instance().message(Logger::SHOW, NULL,
+                                   NULL, 0, NULL,
+                                   "%s", buffer.c_str());
     }
 }
 
@@ -626,35 +676,30 @@ class LogRedirectTest : public CppUnit::TestFixture {
      * redirect stdout/stderr, then intercept the log messages and
      * store them for inspection
      */
-    class LogBuffer : public LoggerBase
+    class LogBuffer : public Logger, private boost::noncopyable
     {
     public:
         std::stringstream m_streams[DEBUG + 1];
-        LogRedirect *m_redirect;
+        PushLogger<LogRedirect> m_redirect;
 
-        LogBuffer(bool both = true)
+        LogBuffer(LogRedirect::Mode mode = LogRedirect::STDERR_AND_STDOUT)
         {
-            m_redirect = new LogRedirect(both);
-            pushLogger(this);
+            m_redirect.reset(new LogRedirect(mode));
+            addLogger(boost::shared_ptr<Logger>(this, NopDestructor()));
         }
         ~LogBuffer()
         {
-            popLogger();
-            delete m_redirect;
+            removeLogger(this);
+            m_redirect.reset();
         }
 
-        virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args)
+        virtual void messagev(const MessageOptions &options,
+                              const char *format,
+                              va_list args)
         {
-            CPPUNIT_ASSERT(level <= DEBUG && level >= 0);
-            m_streams[level] << StringPrintfV(format, args);
+            CPPUNIT_ASSERT(options.m_level <= DEBUG && options.m_level >= 0);
+            m_streams[options.m_level] << StringPrintfV(format, args);
         }
-        virtual bool isProcessSafe() const { return true; }
     };
     
 public:
@@ -736,7 +781,7 @@ public:
             orig_stdout = dup(STDOUT_FILENO);
             dup2(new_stdout, STDOUT_FILENO);
 
-            LogBuffer buffer(false);
+            LogBuffer buffer(LogRedirect::STDERR);
 
             fprintf(stdout, "normal message stdout\n");
             fflush(stdout);
index e52fc9c..4551635 100644 (file)
@@ -99,7 +99,15 @@ class LogRedirect : public LoggerStdout
     };
 
     /** ignore any error output containing "error" */
-    static void addIgnoreError(const std::string &error) { m_knownErrors.insert(error); }
+    static void addIgnoreError(const std::string &error);
+
+    /**
+     * Messages containing text listed in
+     * SYNCEVOLUTION_SUPPRESS_ERRORS env variable (new-line separated)
+     * or registered via addIgnoreError() are not real errors and
+     * should only be logged for developers.
+     */
+    static bool ignoreError(const std::string &text);
 
  private:
     FDs m_stdout, m_stderr;
@@ -122,16 +130,14 @@ class LogRedirect : public LoggerStdout
     bool process(FDs &fds) throw();
     static void abortHandler(int sig) throw();
 
-    /**
-     * ignore error messages containing text listed in
-     * SYNCEVOLUTION_SUPPRESS_ERRORS env variable (new-line
-     * separated)
-     */
-    bool ignoreError(const std::string &text);
-
     void init();
 
  public:
+    enum Mode {
+        STDERR_AND_STDOUT,
+        STDERR
+    };
+
     /** 
      * Redirect both stderr and stdout or just stderr,
      * using UDP so that we don't block when not reading
@@ -140,16 +146,23 @@ class LogRedirect : public LoggerStdout
      * messagev() only writes messages to the previous stdout
      * or the optional file which pass the filtering (relevant,
      * suppress known errors, ...).
+     *
+     * May only be called when there is no other active LogRedirect
+     * instance. Not thread-safe, in contrast to the actual logging
+     * method and redirect handling.
+     *
+     * Does not add or remove the logger from the logger stack.
+     * That must be done by the caller.
      */
-    LogRedirect(bool both = true, const char *filename = NULL) throw();
+    LogRedirect(Mode mode, const char *filename = NULL);
     ~LogRedirect() throw();
 
+    virtual void remove() throw();
+
     /**
-     * re-initialize redirection after a fork:
-     * - closes inherited file descriptors, except for the original output file descriptor
-     * - sets up new sockets
+     * Remove redirection (if any) after a fork and before an exec.
      */
-    void redoRedirect() throw();
+    static void removeRedirect() throw();
 
     /**
      * Meant to be used for redirecting output of a specific command
@@ -191,11 +204,7 @@ class LogRedirect : public LoggerStdout
     void flush() throw();
 
     /** format log messages via normal LogStdout and print to a valid stream owned by us */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
+    virtual void messagev(const MessageOptions &options,
                           const char *format,
                           va_list args);
 };
index 6e36a44..f78ff9d 100644 (file)
@@ -58,22 +58,20 @@ static void appendOutput(std::string &output, std::string &chunk, size_t expecte
     output.append(chunk);
 }
 
-void LoggerStdout::messagev(FILE *file,
-                            Level msglevel,
-                            Level filelevel,
-                            const char *prefix,
-                            const char *filename,
-                            int line,
-                            const char *function,
-                            const char *format,
-                            va_list args)
+void LoggerStdout::write(FILE *file,
+                         Level msglevel,
+                         Level filelevel,
+                         const std::string *prefix,
+                         const std::string *procname,
+                         const char *format,
+                         va_list args)
 {
     if (file &&
         msglevel <= filelevel) {
         // TODO: print debugging information, perhaps only in log file
         std::string output;
         formatLines(msglevel, filelevel,
-                    m_processName,
+                    procname,
                     prefix,
                     format, args,
                     boost::bind(appendOutput, boost::ref(output), _1, _2));
@@ -82,17 +80,14 @@ void LoggerStdout::messagev(FILE *file,
     }
 }
 
-void LoggerStdout::messagev(Level level,
-                            const char *prefix,
-                            const char *file,
-                            int line,
-                            const char *function,
+void LoggerStdout::messagev(const MessageOptions &options,
                             const char *format,
                             va_list args)
 {
-    messagev(m_file, level, getLevel(),
-             prefix, file, line, function,
-             format, args);
+    write(m_file, options.m_level, getLevel(),
+          options.m_prefix,
+          options.m_processName,
+          format, args);
 }
 
 SE_END_CXX
index b3a099a..d875920 100644 (file)
@@ -33,7 +33,7 @@ SE_BEGIN_CXX
 /**
  * A logger which writes to stdout or a file.
  */
-class LoggerStdout : public LoggerBase
+class LoggerStdout : public Logger
 {
     FILE *m_file;
     bool m_closeFile;
@@ -55,24 +55,16 @@ class LoggerStdout : public LoggerBase
 
     ~LoggerStdout();
 
-    virtual void messagev(FILE *file,
-                          Level msglevel,
-                          Level filelevel,
-                          const char *prefix,
-                          const char *filename,
-                          int line,
-                          const char *function,
+    void write(FILE *file,
+               Level msglevel,
+               Level filelevel,
+               const std::string *prefix,
+               const std::string *procname,
+               const char *format,
+               va_list args);
+    virtual void messagev(const MessageOptions &options,
                           const char *format,
                           va_list args);
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args);
-
-    virtual bool isProcessSafe() const { return true; }
 };
 
 SE_END_CXX
index 31065d5..2b17817 100644 (file)
@@ -30,18 +30,16 @@ SE_BEGIN_CXX
 
 LoggerSyslog::LoggerSyslog(const std::string &processName) :
     m_processName(processName),
-    m_parentLogger(LoggerBase::instance())
+    m_parentLogger(Logger::instance())
 {
     // valgrind tells us that openlog() does not copy the string.
     // Must provide pointer to a permanent copy.
     openlog(m_processName.c_str(), LOG_CONS | LOG_NDELAY | LOG_PID, LOG_USER);
-    LoggerBase::pushLogger(this);
 }
 
 LoggerSyslog::~LoggerSyslog()
 {
     closelog();
-    LoggerBase::popLogger();
 }
 
 static void printToSyslog(int sysloglevel, std::string &chunk, size_t expectedTotal)
@@ -66,11 +64,7 @@ static void printToSyslog(int sysloglevel, std::string &chunk, size_t expectedTo
     }
 }
 
-void LoggerSyslog::messagev(Level level,
-                            const char *prefix,
-                            const char *file,
-                            int line,
-                            const char *function,
+void LoggerSyslog::messagev(const MessageOptions &options,
                             const char *format,
                             va_list args)
 {
@@ -81,16 +75,17 @@ void LoggerSyslog::messagev(Level level,
     {
         va_list argscopy;
         va_copy(argscopy, args);
-        m_parentLogger.messagev(level, prefix, file, line, function, format, argscopy);
+        m_parentLogger.messagev(options, format, argscopy);
         va_end(argscopy);
     }
 
-    if (level <= getLevel()) {
-        formatLines(level, getLevel(),
-                    "", // process name is set when opening the syslog
-                    prefix,
+    if (options.m_level <= getLevel()) {
+        const std::string none;
+        formatLines(options.m_level, getLevel(),
+                    &none, // Process name is set when opening the syslog, don't repeat it.
+                    options.m_prefix,
                     format, args,
-                    boost::bind(printToSyslog, getSyslogLevel(level), _1, _2));
+                    boost::bind(printToSyslog, getSyslogLevel(options.m_level), _1, _2));
     }
 }
 
index 6276ec8..9e8f3c9 100644 (file)
@@ -32,10 +32,10 @@ SE_BEGIN_CXX
 /**
  * A logger which writes to syslog.
  */
-class LoggerSyslog : public LoggerBase
+class LoggerSyslog : public Logger
 {
     const std::string m_processName;
-    LoggerBase &m_parentLogger;
+    Handle m_parentLogger;
 
 public:
     /**
@@ -45,15 +45,10 @@ public:
 
     ~LoggerSyslog();
 
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
+    virtual void messagev(const MessageOptions &options,
                           const char *format,
                           va_list args);
 
-    virtual bool isProcessSafe() const { return true; }
 private:
     static int getSyslogLevel(Level level);
 };
index 6c0f024..0e80947 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <syncevo/Logging.h>
 #include <syncevo/LogStdout.h>
+#include <syncevo/LogRedirect.h>
 
 #include <vector>
 #include <string.h>
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
 
-std::string Logger::m_processName;
+static RecMutex logMutex;
+/**
+ * POD to have it initialized without relying on a constructor to run.
+ */
+static std::string *logProcessName;
 
-static std::vector<LoggerBase *> &loggers()
+void Logger::setProcessName(const std::string &name)
 {
-    // allocate array once and never free it because it might be needed till
-    // the very end of the application life cycle
-    static std::vector<LoggerBase *> *loggers = new std::vector<LoggerBase *>;
-    return *loggers;
+    RecMutex::Guard guard = logMutex.lock();
+    if (!logProcessName) {
+        logProcessName = new std::string(name);
+    } else {
+        *logProcessName = name;
+    }
 }
 
-LoggerBase &LoggerBase::instance()
+std::string Logger::getProcessName()
 {
-    // prevent destructing this instance as part of the executable's
-    // shutdown by allocating it dynamically, because it may be
-    // needed by other instances that get destructed later
-    // (order of global instance construction/destruction is
-    // undefined)
-    static LoggerStdout *DefaultLogger = new LoggerStdout;
-    if (!loggers().empty()) {
-        return *loggers()[loggers().size() - 1];
-    } else {
-        return *DefaultLogger;
-    }
+    RecMutex::Guard guard = logMutex.lock();
+    return logProcessName ? *logProcessName : "";
 }
 
-void LoggerBase::pushLogger(LoggerBase *logger)
+RecMutex::Guard Logger::lock()
 {
-    loggers().push_back(logger);
+    return logMutex.lock();
 }
 
-void LoggerBase::popLogger()
+Logger::Logger() :
+    m_level(INFO)
 {
-    if (loggers().empty()) {
-        throw "too many popLogger() calls";
-    } else {
-        loggers().pop_back();
+}
+
+Logger::~Logger()
+{
+}
+
+/**
+ * Create (if necessary) and return the logger stack.
+ * It has at least one entry.
+ *
+ * logMutex must be locked when calling this.
+ */
+static std::vector<Logger::Handle> &LoggersSingleton()
+{
+    // allocate array once and never free it because it might be needed till
+    // the very end of the application life cycle
+    static std::vector<Logger::Handle> *loggers;
+    if (!loggers) {
+        loggers = new std::vector<Logger::Handle>;
+        // Ensure that the array is never empty.
+        boost::shared_ptr<Logger> logger(new LoggerStdout);
+        loggers->push_back(logger);
     }
+    return *loggers;
 }
 
-int LoggerBase::numLoggers()
+Logger::Handle Logger::instance()
 {
-    return (int)loggers().size();
+    RecMutex::Guard guard = logMutex.lock();
+    std::vector<Handle> &loggers = LoggersSingleton();
+    return loggers.back();
 }
 
-LoggerBase *LoggerBase::loggerAt(int index)
+void Logger::addLogger(const Handle &logger)
 {
-    return index < 0 || index >= (int)loggers().size() ?
-        NULL :
-        loggers()[index];
+    RecMutex::Guard guard = logMutex.lock();
+    std::vector<Handle> &loggers = LoggersSingleton();
+
+    loggers.push_back(logger);
 }
 
-void LoggerBase::formatLines(Level msglevel,
+void Logger::removeLogger(Logger *logger)
+{
+    RecMutex::Guard guard = logMutex.lock();
+    std::vector<Handle> &loggers = LoggersSingleton();
+
+    for (ssize_t i = loggers.size() - 1;
+         i >= 0;
+         --i) {
+        if (loggers[i] == logger) {
+            loggers[i].remove();
+            loggers.erase(loggers.begin() + i);
+            break;
+        }
+    }
+}
+
+void Logger::formatLines(Level msglevel,
                              Level outputlevel,
-                             const std::string &processName,
-                             const char *prefix,
+                             const std::string *processName,
+                             const std::string *prefix,
                              const char *format,
                              va_list args,
                              boost::function<void (std::string &buffer, size_t expectedTotal)> print)
@@ -92,54 +129,74 @@ void LoggerBase::formatLines(Level msglevel,
     if (msglevel != SHOW) {
         std::string reltime;
         std::string procname;
-        if (!processName.empty()) {
-            procname.reserve(processName.size() + 1);
-            procname += " ";
-            procname += m_processName;
-        }
+        std::string firstLine;
 
-        if (outputlevel >= DEBUG) {
-            // add relative time stamp
-            Timespec now = Timespec::monotonic();
-            if (!m_startTime) {
-                // first message, start counting time
-                m_startTime = now;
-                time_t nowt = time(NULL);
-                struct tm tm_gm, tm_local;
-                char buffer[2][80];
-                gmtime_r(&nowt, &tm_gm);
-                localtime_r(&nowt, &tm_local);
-                reltime = " 00:00:00";
-                strftime(buffer[0], sizeof(buffer[0]),
-                         "%a %Y-%m-%d %H:%M:%S",
-                         &tm_gm);
-                strftime(buffer[1], sizeof(buffer[1]),
-                         "%H:%M %z %Z",
-                         &tm_local);
-                std::string line =
-                    StringPrintf("[DEBUG%s%s] %s UTC = %s\n",
-                                 procname.c_str(),
-                                 reltime.c_str(),
-                                 buffer[0],
-                                 buffer[1]);
-                print(line, 1);
+        // Run non-blocking operations on shared data while
+        // holding the mutex.
+        {
+            RecMutex::Guard guard = logMutex.lock();
+            const std::string *realProcname;
+
+            if (processName) {
+                realProcname = processName;
             } else {
-                if (now >= m_startTime) {
-                    Timespec delta = now - m_startTime;
-                    reltime = StringPrintf(" %02ld:%02ld:%02ld",
-                                           delta.tv_sec / (60 * 60),
-                                           (delta.tv_sec % (60 * 60)) / 60,
-                                           delta.tv_sec % 60);
+                if (!logProcessName) {
+                    logProcessName = new std::string;
+                }
+                realProcname = logProcessName;
+            }
+            if (!realProcname->empty()) {
+                procname.reserve(realProcname->size() + 1);
+                procname += " ";
+                procname += *realProcname;
+            }
+
+            if (outputlevel >= DEBUG) {
+                // add relative time stamp
+                Timespec now = Timespec::monotonic();
+                if (!m_startTime) {
+                    // first message, start counting time
+                    m_startTime = now;
+                    time_t nowt = time(NULL);
+                    struct tm tm_gm, tm_local;
+                    char buffer[2][80];
+                    gmtime_r(&nowt, &tm_gm);
+                    localtime_r(&nowt, &tm_local);
+                    reltime = " 00:00:00";
+                    strftime(buffer[0], sizeof(buffer[0]),
+                             "%a %Y-%m-%d %H:%M:%S",
+                             &tm_gm);
+                    strftime(buffer[1], sizeof(buffer[1]),
+                             "%H:%M %z %Z",
+                             &tm_local);
+                    std::string line =
+                        StringPrintf("[DEBUG%s%s] %s UTC = %s\n",
+                                     procname.c_str(),
+                                     reltime.c_str(),
+                                     buffer[0],
+                                     buffer[1]);
                 } else {
-                    reltime = " ??:??:??";
+                    if (now >= m_startTime) {
+                        Timespec delta = now - m_startTime;
+                        reltime = StringPrintf(" %02ld:%02ld:%02ld",
+                                               delta.tv_sec / (60 * 60),
+                                               (delta.tv_sec % (60 * 60)) / 60,
+                                               delta.tv_sec % 60);
+                    } else {
+                        reltime = " ??:??:??";
+                    }
                 }
             }
         }
+
+        if (!firstLine.empty()) {
+            print(firstLine, 1);
+        }
         tag = StringPrintf("[%s%s%s] %s%s",
                            levelToStr(msglevel),
                            procname.c_str(),
                            reltime.c_str(),
-                           prefix ? prefix : "",
+                           prefix ? prefix->c_str() : "",
                            prefix ? ": " : "");
     }
 
@@ -184,17 +241,92 @@ void LoggerBase::formatLines(Level msglevel,
     }
 }
 
-void Logger::message(Level level,
-                     const char *prefix,
-                     const char *file,
-                     int line,
-                     const char *function,
-                     const char *format,
-                     ...)
+Logger::MessageOptions::MessageOptions(Level level) :
+    m_level(level),
+    m_prefix(NULL),
+    m_file(NULL),
+    m_line(0),
+    m_function(NULL),
+    m_processName(NULL)
+{
+}
+
+Logger::MessageOptions::MessageOptions(Level level,
+                                       const std::string *prefix,
+                                       const char *file,
+                                       int line,
+                                       const char *function) :
+    m_level(level),
+    m_prefix(prefix),
+    m_file(file),
+    m_line(line),
+    m_function(function),
+    m_processName(NULL)
+{
+}
+
+Logger::Handle::Handle() throw ()
+{
+}
+
+Logger::Handle::Handle(Logger *logger) throw ()
+{
+    m_logger.reset(logger);
+}
+
+Logger::Handle::Handle(const Handle &other) throw ()
+{
+    m_logger = other.m_logger;
+}
+
+Logger::Handle & Logger::Handle::operator = (const Handle &other) throw ()
+{
+    if (this != &other) {
+        m_logger = other.m_logger;
+    }
+    return *this;
+}
+
+Logger::Handle::~Handle() throw ()
+{
+    m_logger.reset();
+}
+
+void Logger::Handle::message(Level level,
+                             const std::string *prefix,
+                             const char *file,
+                             int line,
+                             const char *function,
+                             const char *format,
+                             ...)
+{
+    va_list args;
+    va_start(args, format);
+    m_logger->messagev(MessageOptions(level, prefix, file, line, function), format, args);
+    va_end(args);
+}
+
+void Logger::Handle::message(Level level,
+                             const std::string &prefix,
+                             const char *file,
+                             int line,
+                             const char *function,
+                             const char *format,
+                             ...)
 {
     va_list args;
     va_start(args, format);
-    messagev(level, prefix, file, line, function, format, args);
+    m_logger->messagev(MessageOptions(level, &prefix, file, line, function), format, args);
+    va_end(args);
+}
+
+void Logger::Handle::messageWithOptions(const MessageOptions &options,
+                                        const char *format,
+                                        ...)
+{
+    va_list args;
+    va_start(args, format);
+    m_logger->messagev(options, format, args);
     va_end(args);
 }
 
@@ -238,18 +370,29 @@ void Logger::glogFunc(const gchar *logDomain,
                       const gchar *message,
                       gpointer userData)
 {
-    LoggerBase::instance().message((logLevel & (G_LOG_LEVEL_ERROR|G_LOG_LEVEL_CRITICAL)) ? ERROR :
-                                   (logLevel & G_LOG_LEVEL_WARNING) ? WARNING :
-                                   (logLevel & (G_LOG_LEVEL_MESSAGE|G_LOG_LEVEL_INFO)) ? SHOW :
-                                   DEBUG,
-                                   NULL,
-                                   NULL,
-                                   0,
-                                   NULL,
-                                   "%s%s%s",
-                                   logDomain ? logDomain : "",
-                                   logDomain ? ": " : "",
-                                   message);
+    Level level =
+        (logLevel & (G_LOG_LEVEL_ERROR|G_LOG_LEVEL_CRITICAL)) ? ERROR :
+        (logLevel & G_LOG_LEVEL_WARNING) ? WARNING :
+        (logLevel & (G_LOG_LEVEL_MESSAGE|G_LOG_LEVEL_INFO)) ? SHOW :
+        DEBUG;
+
+    // Downgrade some know error messages as registered with
+    // the LogRedirect helper class. That messages are registered
+    // there is a historic artifact.
+    if (level != DEBUG &&
+        LogRedirect::ignoreError(message)) {
+        level = DEBUG;
+    }
+
+    Logger::instance().message(level,
+                               NULL,
+                               NULL,
+                               0,
+                               NULL,
+                               "%s%s%s",
+                               logDomain ? logDomain : "",
+                               logDomain ? ": " : "",
+                               message);
 }
 
 #endif
@@ -260,12 +403,14 @@ int Logger::sysyncPrintf(FILE *stream,
 {
     va_list args;
     va_start(args, format);
-    const char prefix[] = "SYSYNC ";
-    if (strlen(format) >= sizeof(prefix) &&
-        !memcmp(format, prefix, sizeof(prefix) - 1)) {
-        format += sizeof(prefix) - 1;
+    static const std::string prefix("SYSYNC");
+    if (boost::starts_with(format, prefix) &&
+        format[prefix.size()] == ' ') {
+        // Skip initial "SYSYNC " prefix, because it will get re-added
+        // in a better way (= to each line) via the prefix parameter.
+        format += prefix.size() + 1;
     }
-    LoggerBase::instance().messagev(DEBUG, "SYSYNC", NULL, 0, NULL, format, args);
+    Logger::instance().messagev(MessageOptions(DEBUG, &prefix, NULL, 0, NULL), format, args);
     va_end(args);
 
     return 0;
index 53c8aa0..dde9e32 100644 (file)
 #endif
 
 #include <syncevo/Timespec.h>
+#include <syncevo/ThreadSupport.h>
 
 #include <boost/function.hpp>
+#include <boost/shared_ptr.hpp>
+#include <boost/noncopyable.hpp>
 
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
@@ -44,6 +47,14 @@ SE_BEGIN_CXX
  * implemented by other classes to add information (like a certain
  * prefix) before passing the message on to a global instance for the
  * actual processing.
+ *
+ * The static methods provide some common utility code and manage a
+ * global stack of loggers. The one pushed latest is called first to
+ * handle a new message. It can find its parent logger (= the one
+ * added just before it) and optionally pass the message up the chain
+ * before or after processing it itself.
+ *
+ * All methods must be thread-safe.
  */
 class Logger
 {
@@ -122,8 +133,17 @@ class Logger
      *
      * Included by LoggerStdout in the [INFO/DEBUG/...] tag.
      */
-    static void setProcessName(const std::string &name) { m_processName = name; }
-    static std::string getProcessName() { return m_processName; }
+    static void setProcessName(const std::string &name);
+    static std::string getProcessName();
+
+    /**
+     * Obtains the recursive logging mutex.
+     *
+     * All calls offered by the Logger class already lock that mutex
+     * internally, but sometimes it may be necessary to protect a larger
+     * region of logging related activity.
+     */
+    static RecMutex::Guard lock();
 
 #ifdef HAVE_GLIB
     /**
@@ -149,89 +169,120 @@ class Logger
                             const char *format,
                             ...);
 
-    virtual ~Logger() {}
+    Logger();
+    virtual ~Logger();
+
+    /**
+     * Prepare logger for removal from logging stack. May be called
+     * multiple times.
+     *
+     * The logger should stop doing anything right away and just pass
+     * on messages until it gets deleted eventually.
+     */
+    virtual void remove() throw () {}
+
+    /**
+     * Collects all the parameters which may get passed to
+     * messagev.
+     */
+    class MessageOptions {
+    public:
+        /** level for current message */
+        Level m_level;
+        /** inserted at beginning of each line, if non-NULL */
+        const std::string *m_prefix;
+        /** source file where message comes from, if non-NULL */
+        const char *m_file;
+        /** source line number, if file is non-NULL */
+        int m_line;
+        /** surrounding function name, if non-NULL */
+        const char *m_function;
+        /** name of the process which originally created the message, if different from current one */
+        const std::string *m_processName;
+
+        MessageOptions(Level level);
+        MessageOptions(Level level,
+                       const std::string *prefix,
+                       const char *file,
+                       int line,
+                       const char *function);
+    };
 
     /**
      * output a single message
      *
-     * @param level     level for current message
-     * @param prefix    inserted at beginning of each line, if non-NULL
-     * @param file      source file where message comes from, if non-NULL
-     * @param line      source line number, if file is non-NULL
-     * @param function  surrounding function name, if non-NULL
+     * @param options   carries additional information about the message
      * @param format    sprintf format
      * @param args      parameters for sprintf: consumed by this function, 
      *                  make copy with va_copy() if necessary!
      */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
+    virtual void messagev(const MessageOptions &options,
                           const char *format,
                           va_list args) = 0;
 
-    /** default: redirect into messagev() */
-    virtual void message(Level level,
-                         const char *prefix,
-                         const char *file,
-                         int line,
-                         const char *function,
-                         const char *format,
-                         ...)
-#ifdef __GNUC__
-        __attribute__((format(printf, 7, 8)))
-#endif
-        ;
-
     /**
-     * this logger instance can be used by multiple processes:
-     * true for those which write single lines, false
-     * for more complicated output like HTML (Synthesis log)
+     * A convenience and backwards-compatibility class which allows
+     * calling some methods of the underlying pointer directly similar
+     * to the Logger reference returned in previous SyncEvolution
+     * releases.
      */
-    virtual bool isProcessSafe() const = 0;        
-
- protected:
-    static std::string m_processName;
-};
-
-/**
- * Changes the process name temporarily.
- */
-class ProcNameGuard {
-    std::string m_oldProcName;
-    bool m_modified;
-
- public:
-    ProcNameGuard(const std::string &procname) :
-        m_oldProcName(Logger::getProcessName())
+    class Handle
     {
-        if (m_oldProcName != procname) {
-            Logger::setProcessName(procname);
-            m_modified = true;
-        } else {
-            m_modified = false;
+        boost::shared_ptr<Logger> m_logger;
+
+    public:
+        Handle() throw ();
+        Handle(Logger *logger) throw ();
+        template<class L> Handle(const boost::shared_ptr<L> &logger) throw () : m_logger(logger) {}
+        template<class L> Handle(const boost::weak_ptr<L> &logger) throw () : m_logger(logger.lock()) {}
+        Handle(const Handle &other) throw ();
+        Handle &operator = (const Handle &other) throw ();
+        ~Handle() throw ();
+
+        operator bool () const { return m_logger; }
+        bool operator == (Logger *logger) const { return m_logger.get() == logger; }
+        Logger *get() const { return m_logger.get(); }
+
+        void messagev(const MessageOptions &options,
+                      const char *format,
+                      va_list args)
+        {
+            m_logger->messagev(options, format, args);
         }
-    }
 
-    ~ProcNameGuard()
-    {
-        if (m_modified) {
-            Logger::setProcessName(m_oldProcName);
-        }
-    }
-};
-
-/**
- * Global logging, implemented as a singleton with one instance per
- * process.
- *
- * @TODO avoid global variable
- */
-class LoggerBase : public Logger
-{
- public:
-     LoggerBase() : m_level(INFO) {}
+        void message(Level level,
+                     const std::string *prefix,
+                     const char *file,
+                     int line,
+                     const char *function,
+                     const char *format,
+                     ...)
+#ifdef __GNUC__
+            __attribute__((format(printf, 7, 8)))
+#endif
+            ;
+        void message(Level level,
+                     const std::string &prefix,
+                     const char *file,
+                     int line,
+                     const char *function,
+                     const char *format,
+                     ...)
+#ifdef __GNUC__
+            __attribute__((format(printf, 7, 8)))
+#endif
+            ;
+        void messageWithOptions(const MessageOptions &options,
+                                const char *format,
+                                ...)
+#ifdef __GNUC__
+            __attribute__((format(printf, 3, 4)))
+#endif
+            ;
+        void setLevel(Level level) { m_logger->setLevel(level); }
+        Level getLevel() { return m_logger->getLevel(); }
+        void remove() throw () { m_logger->remove(); }
+    };
 
     /**
      * Grants access to the singleton which implements logging.
@@ -239,31 +290,25 @@ class LoggerBase : public Logger
      * class itself is platform specific: if no Log instance
      * has been set yet, then this call has to create one.
      */
-    static LoggerBase &instance();
+    static Handle instance();
 
     /**
-     * Overrides the default Logger implementation. The Logger class
-     * itself will never delete the active logger.
+     * Overrides the current default Logger implementation.
      *
      * @param logger    will be used for all future logging activities
      */
-
-    static void pushLogger(LoggerBase *logger);
-    /**
-     * Remove the current logger and restore previous one.
-     * Must match a pushLogger() call.
-     */
-    static void popLogger();
-
-    /** total number of active loggers */
-    static int numLoggers();
+    static void addLogger(const Handle &logger);
 
     /**
-     * access to active logger
-     * @param index    0 for oldest (inner-most) logger
-     * @return pointer or NULL for invalid index
+     * Remove the specified logger.
+     *
+     * Note that the logger might still be in use afterwards, for
+     * example when a different thread currently uses it. Therefore
+     * loggers should be small stub classes. If they need access to
+     * more expensive classes to do their work, they shold hold weak
+     * reference to those and only lock them when logging.
      */
-    static LoggerBase *loggerAt(int index);
+    static void removeLogger(Logger *logger);
 
     virtual void setLevel(Level level) { m_level = level; }
     virtual Level getLevel() { return m_level; }
@@ -278,11 +323,14 @@ class LoggerBase : public Logger
      * Each chunk already includes the necessary line breaks (in
      * particular after the last line when it contains the entire
      * output). It may be modified by the callback.
+     *
+     * @param processName  NULL means use the current process' name,
+     *                     empty means use none
      */
     void formatLines(Level msglevel,
                      Level outputlevel,
-                     const std::string &processName,
-                     const char *prefix,
+                     const std::string *processName,
+                     const std::string *prefix,
                      const char *format,
                      va_list args,
                      boost::function<void (std::string &chunk, size_t expectedTotal)> print);
@@ -298,42 +346,103 @@ class LoggerBase : public Logger
     Timespec m_startTime;
 };
 
+/**
+ * Takes a logger and adds it to the stack
+ * as long as the instance exists.
+ */
+template<class L> class PushLogger : boost::noncopyable
+{
+    Logger::Handle m_logger;
+
+ public:
+    PushLogger() {}
+    /**
+     * Can use Handle directly here.
+     */
+    PushLogger(const Logger::Handle &logger) : m_logger(logger)
+    {
+        if (m_logger) {
+            Logger::addLogger(m_logger);
+        }
+    }
+    /**
+     * Take any type that a Handle constructor accepts, then use it as
+     * Handle.
+     */
+    template <class M> PushLogger(M logger) : m_logger(Logger::Handle(logger))
+    {
+        if (m_logger) {
+            Logger::addLogger(m_logger);
+        }
+    }
+    ~PushLogger() throw ()
+    {
+        if (m_logger) {
+            Logger::removeLogger(m_logger.get());
+        }
+    }
+
+    operator bool () const { return m_logger; }
+
+    void reset(const Logger::Handle &logger)
+    {
+        if (m_logger) {
+            Logger::removeLogger(m_logger.get());
+        }
+        m_logger = logger;
+        if (m_logger) {
+            Logger::addLogger(m_logger);
+        }
+    }
+    template<class M> void reset(M logger)
+    {
+        if (m_logger) {
+            Logger::removeLogger(m_logger.get());
+        }
+        m_logger = Logger::Handle(logger);
+        if (m_logger) {
+            Logger::addLogger(m_logger);
+        }
+    }
+
+    void reset()
+    {
+        if (m_logger) {
+            Logger::removeLogger(m_logger.get());
+        }
+        m_logger = Logger::Handle();
+    }
+
+    L *get() { return static_cast<L *>(m_logger.get()); }
+    L * operator -> () { return get(); }
+};
 
 /**
- * Vararg macro which passes the message through a specific
- * Logger class instance (if non-NULL) and otherwise calls
- * the global logger directly. Adds source file and line.
+ * Wraps Logger::message() in the current default logger.
+ * and adds file and line where the message comes from.
+ *
+ * This macro reverses _prefix and _level to avoid the situation where
+ * the compiler mistakes a NULL _prefix with the _format parameter
+ * (happened once while doing code refactoring).
  *
  * @TODO make source and line info optional for release
  * @TODO add function name (GCC extension)
  */
-#define SE_LOG(_level, _instance, _prefix, _format, _args...) \
-    do { \
-        if (_instance) { \
-            static_cast<SyncEvo::Logger *>(_instance)->message(_level,  \
-                                                               _prefix, \
-                                                               __FILE__, \
-                                                               __LINE__, \
-                                                               0,       \
-                                                               _format, \
-                                                               ##_args); \
-        } else { \
-            SyncEvo::LoggerBase::instance().message(_level, \
-                                                    _prefix, \
-                                                    __FILE__, \
-                                                    __LINE__, \
-                                                    0, \
-                                                    _format, \
-                                                    ##_args); \
-        } \
-    } while(false)
-
-#define SE_LOG_SHOW(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::SHOW, _instance, _prefix, _format, ##_args)
-#define SE_LOG_ERROR(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::ERROR, _instance, _prefix, _format, ##_args)
-#define SE_LOG_WARNING(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::WARNING, _instance, _prefix, _format, ##_args)
-#define SE_LOG_INFO(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::INFO, _instance, _prefix, _format, ##_args)
-#define SE_LOG_DEV(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::DEV, _instance, _prefix, _format, ##_args)
-#define SE_LOG_DEBUG(_instance, _prefix, _format, _args...) SE_LOG(SyncEvo::Logger::DEBUG, _instance, _prefix, _format, ##_args)
+#define SE_LOG(_prefix, _level, _format, _args...) \
+    SyncEvo::Logger::instance().message(_level, \
+                                        _prefix, \
+                                        __FILE__, \
+                                        __LINE__, \
+                                        NULL, \
+                                        _format, \
+                                        ##_args);
+
+#define SE_LOG_SHOW(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::SHOW, _format, ##_args)
+#define SE_LOG_ERROR(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::ERROR, _format, ##_args)
+#define SE_LOG_WARNING(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::WARNING, _format, ##_args)
+#define SE_LOG_INFO(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::INFO, _format, ##_args)
+#define SE_LOG_DEV(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::DEV, _format, ##_args)
+#define SE_LOG_DEBUG(_prefix, _format, _args...) SE_LOG(_prefix, SyncEvo::Logger::DEBUG, _format, ##_args)
  
 SE_END_CXX
 #endif // INCL_LOGGING
index 6f20658..6fc2e07 100644 (file)
@@ -104,7 +104,7 @@ void MapSyncSource::detectChanges(SyncSourceRevisions::ChangeMode mode)
             }
         }
         if (!okay) {
-            SE_LOG_DEBUG(this, NULL, "unsupported or corrupt revision entry: %s = %s",
+            SE_LOG_DEBUG(getDisplayName(), "unsupported or corrupt revision entry: %s = %s",
                          mainid.c_str(),
                          value.c_str());
         }
@@ -214,17 +214,17 @@ void MapSyncSource::beginSync(const std::string &lastToken, const std::string &r
     }
     // slow sync if token is empty
     if (token.empty()) {
-        SE_LOG_DEBUG(this, NULL, "slow sync or testing, do full item scan to detect changes");
+        SE_LOG_DEBUG(getDisplayName(), "slow sync or testing, do full item scan to detect changes");
         mode = SyncSourceRevisions::CHANGES_SLOW;
     } else {
         string oldRevision = m_metaNode->readProperty("databaseRevision");
         if (!oldRevision.empty()) {
             string newRevision = m_sub->subDatabaseRevision();
-            SE_LOG_DEBUG(this, NULL, "old database revision '%s', new revision '%s'",
+            SE_LOG_DEBUG(getDisplayName(), "old database revision '%s', new revision '%s'",
                          oldRevision.c_str(),
                          newRevision.c_str());
             if (newRevision == oldRevision) {
-                SE_LOG_DEBUG(this, NULL, "revisions match, no item changes");
+                SE_LOG_DEBUG(getDisplayName(), "revisions match, no item changes");
                 mode = SyncSourceRevisions::CHANGES_NONE;
             }
 
@@ -235,7 +235,7 @@ void MapSyncSource::beginSync(const std::string &lastToken, const std::string &r
         }
     }
     if (mode == SyncSourceRevisions::CHANGES_FULL) {
-        SE_LOG_DEBUG(this, NULL, "using full item scan to detect changes");
+        SE_LOG_DEBUG(getDisplayName(), "using full item scan to detect changes");
     }
 
     detectChanges(mode);
index 7dce700..f0d28dc 100644 (file)
@@ -154,8 +154,8 @@ void ObexTransportAgent::connectInit () {
             SE_THROW_EXCEPTION (TransportException, "Error creating Bluetooth socket");
         }
         cxxptr<Socket> sockObj (new Socket (sockfd));  
-        SE_LOG_DEV(NULL,NULL, "Connecting Bluetooth device with address %s and channel %d",
-                m_address.c_str(), m_port);
+        SE_LOG_DEV(NULL, "Connecting Bluetooth device with address %s and channel %d",
+                   m_address.c_str(), m_port);
         // Init the OBEX handle
         ObexPtr handle(OBEX_Init (OBEX_TRANS_FD, obex_event, 0),
                        "Obex Handle");
@@ -199,7 +199,7 @@ void ObexTransportAgent::connectInit () {
                 m_handle = handle;
                 return;
             } else {
-                SE_LOG_ERROR (NULL, NULL, "connect failed with error code %d", errno);
+                SE_LOG_ERROR(NULL, "connect failed with error code %d", errno);
                 SE_THROW_EXCEPTION (TransportException, "ObexTransport: connect request failed with error");
             }
         }
@@ -214,7 +214,7 @@ void ObexTransportAgent::connectInit () {
     }//Bluetooth
     else {
         m_status = FAILED;
-        SE_LOG_ERROR (NULL, NULL, "ObexTransport: unsuported transport type");
+        SE_LOG_ERROR(NULL, "ObexTransport: unsuported transport type");
         return;
     }
 }
@@ -289,7 +289,7 @@ void ObexTransportAgent::shutdown() {
  * Send the request to peer
  */
 void ObexTransportAgent::send(const char *data, size_t len) {
-    SE_LOG_DEV (NULL, NULL, "ObexTransport send is called");
+    SE_LOG_DEV(NULL, "ObexTransport send is called");
     cxxptr<Socket> sockObj = m_sock;
     GIOChannelPtr channel = m_channel;
     if(m_connectStatus != CONNECTED) {
@@ -337,7 +337,7 @@ void ObexTransportAgent::cancel() {
         OBEX_TransportDisconnect(m_handle);
     }
     if (m_disconnecting) {
-        SE_LOG_WARNING (NULL, NULL, "Cancel disconncting process");
+        SE_LOG_WARNING(NULL, "Cancel disconncting process");
         if (m_status != CLOSED) {
             m_status = FAILED;
         }
@@ -646,14 +646,14 @@ void ObexTransportAgent::obex_callback (obex_object_t *object, int mode, int eve
     try {
         switch (event) {
             case OBEX_EV_PROGRESS:
-                SE_LOG_DEV (NULL, NULL, "OBEX progress");
+                SE_LOG_DEV(NULL, "OBEX progress");
                 break;
             case OBEX_EV_REQDONE:
                 m_obexReady = true;
                 m_requestStart = 0;
                 if (obex_rsp != OBEX_RSP_SUCCESS) {
-                    SE_LOG_ERROR (NULL, NULL, "OBEX Request %d got a failed response %s",
-                            obex_cmd,OBEX_ResponseToString(obex_rsp));
+                    SE_LOG_ERROR(NULL, "OBEX Request %d got a failed response %s",
+                                 obex_cmd,OBEX_ResponseToString(obex_rsp));
                     m_status = FAILED;
                     return;
                 } else {
@@ -668,18 +668,15 @@ void ObexTransportAgent::obex_callback (obex_object_t *object, int mode, int eve
                                     if (headertype == OBEX_HDR_CONNECTION) {
                                         m_connectId = header.bq4;
                                     } else if (headertype == OBEX_HDR_WHO) { 
-                                        SE_LOG_DEV (NULL, NULL, 
-                                                "OBEX Transport: get header who from connect response with value %.*s",
+                                        SE_LOG_DEV(NULL, "OBEX Transport: get header who from connect response with value %.*s",
                                                 len, header.bs);
                                     } else {
-                                        SE_LOG_WARNING (NULL, NULL, 
-                                                "OBEX Transport: Unknow header from connect response");
+                                        SE_LOG_WARNING(NULL, "OBEX Transport: Unknow header from connect response");
                                     }
                                 }
                                 if (m_connectId == 0) {
                                     m_status = FAILED;
-                                    SE_LOG_ERROR(NULL, NULL, 
-                                            "No connection id received from connect response");
+                                    SE_LOG_ERROR(NULL, "No connection id received from connect response");
                                 }
                                 m_connectStatus = CONNECTED;
 
@@ -706,24 +703,22 @@ void ObexTransportAgent::obex_callback (obex_object_t *object, int mode, int eve
                                     } else if (headertype == OBEX_HDR_BODY) {
                                         if (length ==0) {
                                             length = len;
-                                            SE_LOG_DEV (NULL, NULL, 
-                                                    "No length header for get response is recevied, using body size %d", len);
+                                            SE_LOG_DEV(NULL, "No length header for get response is recevied, using body size %d", len);
                                         }
                                         if (length ==0) {
                                             m_status = FAILED;
-                                            SE_LOG_ERROR (NULL, NULL, 
-                                                    "ObexTransport: Get zero sized response body for Get");
+                                            SE_LOG_ERROR(NULL, "ObexTransport: Get zero sized response body for Get");
                                         }
                                         m_buffer.set(new char[length], "buffer");
                                         m_bufferSize = length;
                                         memcpy (m_buffer, header.bs, length);
                                     } else {
-                                        SE_LOG_WARNING (NULL, NULL, "Unknow header received for Get cmd");
+                                        SE_LOG_WARNING(NULL, "Unknow header received for Get cmd");
                                     }
                                 }
                                 if( !length || !m_buffer) {
                                     m_status = FAILED;
-                                    SE_LOG_ERROR (NULL, NULL, "Get Cmd response have no body");
+                                    SE_LOG_ERROR(NULL, "Get Cmd response have no body");
                                 }
                                 m_status = GOT_REPLY;
                                 break;
@@ -741,7 +736,7 @@ void ObexTransportAgent::obex_callback (obex_object_t *object, int mode, int eve
                         m_obexReady = true;
                         m_status = CLOSED;
                     } else if (obex_rsp !=0) {
-                        SE_LOG_ERROR (NULL, NULL, "ObexTransport Error %d", obex_rsp);
+                        SE_LOG_ERROR(NULL, "ObexTransport Error %d", obex_rsp);
                         m_status = FAILED;
                         return;
                     }
@@ -758,7 +753,7 @@ void ObexTransportAgent::obex_callback (obex_object_t *object, int mode, int eve
 
 void ObexTransportAgent::handleException(const char *where)
 {
-    SE_LOG_DEBUG(NULL, NULL, "ObexTransport: exception thrown in %s", where);
+    SE_LOG_DEBUG(NULL, "ObexTransport: exception thrown in %s", where);
     if (m_status == FAILED ||
         m_status == CANCELED ) {
         // don't change anything, don't bother the user with error
@@ -774,7 +769,7 @@ obex_object_t* ObexTransportAgent::newCmd(uint8_t cmd) {
     obex_object_t *cmdObject = OBEX_ObjectNew (m_handle, cmd);
     if(!cmdObject) {
         m_status = FAILED;
-        SE_LOG_ERROR (NULL, NULL, "ObexTransport: OBEX Object New failed");
+        SE_LOG_ERROR(NULL, "ObexTransport: OBEX Object New failed");
         return NULL;
     } else {
         return cmdObject;
index d0af966..7f8c22d 100644 (file)
@@ -148,6 +148,10 @@ class SmartPtr
         m_pointer = pointer;
     }
 
+    void reset( T pointer = NULL ) {
+        set(pointer, NULL);
+    }
+
     /**
      * transfer ownership over the pointer to caller and stop tracking it:
      * pointer tracked by smart pointer is set to NULL and the original
@@ -178,6 +182,10 @@ template<class T, class base = T, class R = Unref > class eptr :
         base_t::set(pointer);
         return *this;
     }
+
+    void reset(T *pointer = NULL) {
+        base_t::set(pointer);
+    }
 };
 
 template <class T> class CxxUnref {
index cd82e21..0caec3d 100644 (file)
@@ -184,7 +184,7 @@ TransportAgent::Status SoupTransportAgent::wait(bool noReply)
     if(m_status == TIME_OUT || m_status == FAILED){
         std::string failure;
         std::swap(failure, m_failure);
-        SE_LOG_INFO(NULL, NULL, "SoupTransport Failure: %s", failure.c_str());
+        SE_LOG_INFO(NULL, "SoupTransport Failure: %s", failure.c_str());
     }
     if (!m_failure.empty()) {
         std::string failure;
@@ -237,7 +237,7 @@ void SoupTransportAgent::HandleSessionCallback(SoupSession *session,
         m_status = FAILED;
 
         if (m_responseContentType.find("text") != std::string::npos) {
-            SE_LOG_DEBUG(NULL, NULL, "unexpected HTTP response: status %d/%s, content type %s, body:\n%.*s",
+            SE_LOG_DEBUG(NULL, "unexpected HTTP response: status %d/%s, content type %s, body:\n%.*s",
                          msg->status_code, msg->reason_phrase ? msg->reason_phrase : "<no reason>",
                          m_responseContentType.c_str(),
                          m_response ? (int)m_response->length : 0,
index 0fdc7c3..b82484b 100644 (file)
@@ -36,9 +36,11 @@ SE_BEGIN_CXX
 SuspendFlags::SuspendFlags() :
     m_level(Logger::INFO),
     m_state(NORMAL),
+    m_receivedSignals(0),
     m_lastSuspend(0),
     m_senderFD(-1),
-    m_receiverFD(-1)
+    m_receiverFD(-1),
+    m_activeSignals(0)
 {
 }
 
@@ -113,9 +115,28 @@ SuspendFlags::State SuspendFlags::getState() const {
     }
 }
 
-void SuspendFlags::checkForNormal() const
+bool SuspendFlags::isAborted()
 {
-    if (getState() != SuspendFlags::NORMAL) {
+    printSignals();
+    return getState() == ABORT;
+}
+
+bool SuspendFlags::isSuspended()
+{
+    printSignals();
+    return getState() == SUSPEND;
+}
+
+bool SuspendFlags::isNormal()
+{
+    printSignals();
+    return getState() == NORMAL;
+}
+
+void SuspendFlags::checkForNormal()
+{
+    printSignals();
+    if (getState() != NORMAL) {
         SE_THROW_EXCEPTION_STATUS(StatusException,
                                   "aborting as requested by user",
                                   (SyncMLStatus)sysync::LOCERR_USERABORT);
@@ -148,10 +169,14 @@ boost::shared_ptr<SuspendFlags::StateBlocker> SuspendFlags::block(boost::weak_pt
     return res;
 }
 
-boost::shared_ptr<SuspendFlags::Guard> SuspendFlags::activate()
+boost::shared_ptr<SuspendFlags::Guard> SuspendFlags::activate(uint32_t sigmask)
 {
-    SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: (re)activating, currently %s",
+    SE_LOG_DEBUG(NULL, "SuspendFlags: (re)activating, currently %s",
                  m_senderFD > 0 ? "active" : "inactive");
+    if (m_senderFD > 0) {
+        return m_guard.lock();
+    }
+
     int fds[2];
     if (pipe(fds)) {
         SE_THROW(StringPrintf("allocating pipe for signals failed: %s", strerror(errno)));
@@ -161,10 +186,13 @@ boost::shared_ptr<SuspendFlags::Guard> SuspendFlags::activate()
     fcntl(fds[1], F_SETFL, fcntl(fds[1], F_GETFL) | O_NONBLOCK);
     m_senderFD = fds[1];
     m_receiverFD = fds[0];
-    SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: activating signal handler(s) with fds %d->%d",
+    SE_LOG_DEBUG(NULL, "SuspendFlags: activating signal handler(s) with fds %d->%d",
                  m_senderFD, m_receiverFD);
-    sigaction(SIGINT, NULL, &m_oldSigInt);
-    sigaction(SIGTERM, NULL, &m_oldSigTerm);
+    for (int sig = 0; sig < 32; sig++) {
+        if (sigmask & (1<<sig)) {
+            sigaction(sig, NULL, m_oldSignalHandlers + sig);
+        }
+    }
 
     struct sigaction new_action;
     memset(&new_action, 0, sizeof(new_action));
@@ -173,38 +201,48 @@ boost::shared_ptr<SuspendFlags::Guard> SuspendFlags::activate()
     // don't let processing of SIGINT be interrupted
     // of SIGTERM and vice versa, if we are doing the
     // handling
-    if (m_oldSigInt.sa_handler == SIG_DFL) {
-        sigaddset(&new_action.sa_mask, SIGINT);
-    }
-    if (m_oldSigTerm.sa_handler == SIG_DFL) {
-        sigaddset(&new_action.sa_mask, SIGTERM);
-    }
-    if (m_oldSigInt.sa_handler == SIG_DFL) {
-        sigaction(SIGINT, &new_action, NULL);
-        SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: catch SIGINT");
+    for (int sig = 0; sig < 32; sig++) {
+        if (sigmask & (1<<sig)) {
+            if (m_oldSignalHandlers[sig].sa_handler == SIG_DFL) {
+                sigaddset(&new_action.sa_mask, sig);
+            }
+        }
     }
-    if (m_oldSigTerm.sa_handler == SIG_DFL) {
-        sigaction(SIGTERM, &new_action, NULL);
-        SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: catch SIGTERM");
+
+    for (int sig = 0; sig < 32; sig++) {
+        if (sigmask & (1<<sig)) {
+            if (m_oldSignalHandlers[sig].sa_handler == SIG_DFL) {
+                sigaction(sig, &new_action, NULL);
+                SE_LOG_DEBUG(NULL, "SuspendFlags: catch signal %d", sig);
+            }
+        }
     }
+    m_activeSignals = sigmask;
+    boost::shared_ptr<Guard> guard(new GLibGuard(m_receiverFD));
+    m_guard = guard;
 
-    return boost::shared_ptr<Guard>(new GLibGuard(m_receiverFD));
+    return guard;
 }
 
 void SuspendFlags::deactivate()
 {
-    SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: deactivating fds %d->%d",
+    SE_LOG_DEBUG(NULL, "SuspendFlags: deactivating fds %d->%d",
                  m_senderFD, m_receiverFD);
     if (m_receiverFD >= 0) {
-        sigaction(SIGTERM, &m_oldSigTerm, NULL);
-        sigaction(SIGINT, &m_oldSigInt, NULL);
-        SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: close m_receiverFD %d", m_receiverFD);
+        for (int sig = 0; sig < 32; sig++) {
+            if (m_activeSignals & (1<<sig)) {
+                sigaction(sig, m_oldSignalHandlers + sig, NULL);
+            }
+        }
+        m_activeSignals = 0;
+        SE_LOG_DEBUG(NULL, "SuspendFlags: close m_receiverFD %d", m_receiverFD);
         close(m_receiverFD);
-        SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: close m_senderFD %d", m_senderFD);
+        SE_LOG_DEBUG(NULL, "SuspendFlags: close m_senderFD %d", m_senderFD);
         close(m_senderFD);
         m_receiverFD = -1;
         m_senderFD = -1;
-        SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: done with deactivation");
+        m_guard.reset();
+        SE_LOG_DEBUG(NULL, "SuspendFlags: done with deactivation");
     }
 }
 
@@ -245,19 +283,24 @@ void SuspendFlags::handleSignal(int sig)
                 msg = SUSPEND_AGAIN;
             }
             break;
-        case SuspendFlags::ABORT:
+        case ABORT:
             msg = ABORT_AGAIN;
             break;
-        case SuspendFlags::ABORT_AGAIN:
-        case SuspendFlags::SUSPEND_AGAIN:
+        case ABORT_AGAIN:
+        case SUSPEND_AGAIN:
+        case ABORT_MAX:
             // shouldn't happen
+            msg = ABORT_MAX;
             break;
         }
+    default:
+        msg = ABORT_MAX;
         break;
     }
     }
     if (me.m_senderFD >= 0) {
-        write(me.m_senderFD, &msg, 1);
+        unsigned char msg2[2] = { (unsigned char)(ABORT_MAX + sig), msg };
+        write(me.m_senderFD, msg2, msg == ABORT_MAX ? 1 : 2);
     }
 }
 
@@ -266,7 +309,7 @@ void SuspendFlags::printSignals()
     if (m_receiverFD >= 0) {
         unsigned char msg;
         while (read(m_receiverFD, &msg, 1) == 1) {
-            SE_LOG_DEBUG(NULL, NULL, "SuspendFlags: read %d from fd %d",
+            SE_LOG_DEBUG(NULL, "SuspendFlags: read %d from fd %d",
                          msg, m_receiverFD);
             const char *str = NULL;
             switch (msg) {
@@ -282,11 +325,14 @@ void SuspendFlags::printSignals()
             case ABORT_AGAIN:
                 str = "Already aborting as requested earlier ...";
                 break;
+            default: {
+                int sig = msg - ABORT_MAX;
+                SE_LOG_DEBUG(NULL, "reveived signal %d", sig);
+                m_receivedSignals |= 1<<sig;
             }
-            if (!str) {
-                SE_LOG_DEBUG(NULL, NULL, "internal error: received invalid signal msg %d", msg);
-            } else {
-                SE_LOG(m_level, NULL, NULL, "%s", str);
+            }
+            if (str) {
+                SE_LOG(NULL, m_level, "%s", str);
             }
             m_stateChanged(*this);
         }
index f527dfa..47b8e5b 100644 (file)
@@ -21,6 +21,7 @@
 #define INCL_SUSPENDFLAGS
 
 #include <signal.h>
+#include <stdint.h>
 #include <boost/smart_ptr.hpp>
 #include <boost/function.hpp>
 #include <boost/signals2.hpp>
@@ -55,7 +56,9 @@ class SuspendFlags
         /** suspend sync request received again (only written to event FD, not returned by getState()) */
         SUSPEND_AGAIN,
         /** abort sync request received again (only written to event FD, not returned by getState()) */
-        ABORT_AGAIN
+        ABORT_AGAIN,
+
+        ABORT_MAX
     };
 
     /** access to singleton */
@@ -72,17 +75,36 @@ class SuspendFlags
     State getState() const;
 
     /**
-     * Throws a "aborting as requested by user" StatusException with
+     * Returns or-ed mask of all signals handled so far.
+     * See activate().
+     */
+    uint32_t getReceivedSignals() const { return m_receivedSignals; }
+
+    /**
+     * Checks for status changes and returns true iff status is ABORT.
+     */
+    bool isAborted();
+    /**
+     * Checks for status changes and returns true iff status is SUSPEND.
+     */
+    bool isSuspended();
+    /**
+     * Checks for status changes and returns true iff status is NORMAL.
+     */
+    bool isNormal();
+
+    /**
+     * Checks for status changes and throws a "aborting as requested by user" StatusException with
      * LOCERR_USERABORT as status code if the current state is not
      * NORMAL. In other words, suspend and abort are both
      * treated like an abort request.
      */
-    void checkForNormal() const;
+    void checkForNormal();
 
     /**
      * Users of this class can read a single char for each received
      * signal from this file descriptor. The char is the State that
-     * was entered by that signal. This can be used to be notified
+      * was entered by that signal. This can be used to be notified
      * immediately about changes, without having to poll.
      *
      * -1 if not activated.
@@ -95,11 +117,25 @@ class SuspendFlags
     };
 
     /**
-     * Allocate file descriptors, set signal handlers for SIGINT and
-     * SIGTERM. Once the returned guard is freed, it will
-     * automatically deactivate signal handling.
+     * Allocate file descriptors, set signal handlers for the chosen
+     * signals (SIGINT and SIGTERM by default). Once the returned
+     * guard is freed, it will automatically deactivate signal
+     * handling.
+     *
+     * Additional signals like SIGURG or SIGIO may also be used. It is
+     * unlikely that any library used by SyncEvolution occupies these
+     * signals for its own use.
+     *
+     * Only SIGINT and SIGTERM influence the overall State. All
+     * received signals, including SIGINT and SIGTERM, are recorded
+     * and can be retrieved via getReceivedSignals().
+     *
+     * It is possible to call activate multiple times. All following
+     * calls do nothing except creating a new reference to the same
+     * guard.  In particular they cannot add or remove handled
+     * signals.
      */
-    boost::shared_ptr<Guard> activate();
+    boost::shared_ptr<Guard> activate(uint32_t sigmask = (1<<SIGINT)|(1<<SIGTERM));
 
     /**
      * Retrieve state changes pushed into pipe by signal
@@ -161,12 +197,18 @@ class SuspendFlags
     /** state as observed by signal handler */
     State m_state;
 
+    /** or-ed bit mask of all received signals */
+    uint32_t m_receivedSignals;
+
     /** time is measured inside signal handler */
     time_t m_lastSuspend;
 
     int m_senderFD, m_receiverFD;
-    struct sigaction m_oldSigInt, m_oldSigTerm;
+    // For the sake of simplicity we only support signals in the 1-31 range.
+    uint32_t m_activeSignals;
+    struct sigaction m_oldSignalHandlers[32];
 
+    boost::weak_ptr<Guard> m_guard;
     boost::weak_ptr<StateBlocker> m_suspendBlocker, m_abortBlocker;
     boost::shared_ptr<StateBlocker> block(boost::weak_ptr<StateBlocker> &blocker);
 };
index 605ccb7..382714a 100644 (file)
@@ -32,6 +32,7 @@
 #include <syncevo/IniConfigNode.h>
 #include <syncevo/Cmdline.h>
 #include <syncevo/lcs.h>
+#include <syncevo/ThreadSupport.h>
 #include <test.h>
 #include <synthesis/timeutil.h>
 
@@ -498,7 +499,7 @@ SyncConfig::SyncConfig(const string &peer,
          level = (ConfigLevel)(level + 1)) {
         if (exists(level)) {
             if (getConfigVersion(level, CONFIG_MIN_VERSION) > ConfigVersions[level][CONFIG_CUR_VERSION]) {
-                SE_LOG_INFO(NULL, NULL, "config version check failed: %s has format %d, but this SyncEvolution release only supports format %d",
+                SE_LOG_INFO(NULL, "config version check failed: %s has format %d, but this SyncEvolution release only supports format %d",
                             ConfigLevel2String(level).c_str(),
                             getConfigVersion(level, CONFIG_MIN_VERSION),
                             ConfigVersions[level][CONFIG_CUR_VERSION]);
@@ -546,7 +547,7 @@ void SyncConfig::prepareConfigForWrite()
                     // keep compiler happy, not reached for _MAX
                     break;
                 }
-                SE_LOG_INFO(NULL, NULL, "must change format of %s '%s' in backward-incompatible way",
+                SE_LOG_INFO(NULL, "must change format of %s '%s' in backward-incompatible way",
                             ConfigLevel2String(level).c_str(),
                             config.c_str());
                 if (m_configWriteMode == MIGRATE_AUTOMATICALLY) {
@@ -1363,10 +1364,28 @@ static ConfigProperty syncPropSyncMLVersion("SyncMLVersion",
                                             "Instead or in adddition to the version, several keywords can\n"
                                             "be set in this property (separated by spaces or commas):\n"
                                             "\n"
-                                            "- NOCTCAP = avoid sending CtCap meta information\n"
-                                            "- NORESTART = disable the sync mode extension that SyncEvolution\n"
+                                            "- NOCTCAP - avoid sending CtCap meta information\n"
+                                            "- NORESTART - disable the sync mode extension that SyncEvolution\n"
                                             "  client and server use to negotiate whether both sides support\n"
                                             "  running multiple sync iterations in the same session\n"
+                                            "- REQUESTMAXTIME=<time> - override the rate at which the\n"
+                                            "  SyncML server sends preliminary replies while preparing\n"
+                                            "  local storages in the background. This helps to avoid timeouts\n"
+                                            "  in the SyncML client. Depends on multithreading.\n"
+#ifdef HAVE_THREAD_SUPPORT
+                                            // test-dbus.py checks for 'is thread-safe'!
+                                            "  This SyncEvolution binary is thread-safe and thus this feature\n"
+                                            "  is enabled by default for HTTP servers, with a delay of 2 minutes\n"
+                                            "  between messages. Other servers (Bluetooth, local sync) should not\n"
+                                            "  need preliminary replies and the feature is disabled, although\n"
+                                            "  it can be enabled by setting the time explicitly.\n"
+#else
+                                            "  This SyncEvolution binary is not thread-safe and thus this feature\n"
+                                            "  is disabled by default, although it can be enabled if absolutely\n"
+                                            "  needed by setting the time explicitly.\n"
+#endif
+                                            "  <time> can be specified like other durations in the config,\n"
+                                            "  for example as REQUESTMAXTIME=2m.\n"
                                             "\n"
                                             "Setting these flags should only be necessary as workaround for\n"
                                             "broken peers.\n"
@@ -1968,6 +1987,27 @@ InitStateString SyncConfig::getSyncMLVersion() const {
     }
     return InitStateString("", flags.wasSet());
 }
+InitState<unsigned int> SyncConfig::getRequestMaxTime() const {
+    InitState<unsigned int> requestmaxtime;
+    InitState< std::set<std::string> > flags = getSyncMLFlags();
+    BOOST_FOREACH(const std::string &flag, flags) {
+        size_t offset = flag.find('=');
+        if (offset != flag.npos) {
+            std::string key = flag.substr(0, offset);
+            if (boost::iequals(key, "RequestMaxTime")) {
+                std::string value = flag.substr(offset + 1);
+                unsigned int seconds;
+                std::string error;
+                if (!SecondsConfigProperty::parseDuration(value, error, seconds)) {
+                    SE_THROW("invalid RequestMaxTime value in SyncMLVersion property: " + error);
+                }
+                requestmaxtime = seconds;
+                break;
+            }
+        }
+    }
+    return requestmaxtime;
+}
 InitState< std::set<std::string> > SyncConfig::getSyncMLFlags() const {
     InitStateString value = syncPropSyncMLVersion.getProperty(*getNode(syncPropSyncMLVersion));
     std::list<std::string> keywords;
index f051d19..57126fb 100644 (file)
@@ -1514,6 +1514,8 @@ class SyncConfig {
     /** all flags that are set in the SyncMLVersion property, including the 1.0/1.1/1.2 versions */
     virtual InitState< std::set<std::string> > getSyncMLFlags() const;
 
+    virtual InitState<unsigned int> getRequestMaxTime() const;
+
     /**
      * An arbitrary name assigned to the peer configuration,
      * not necessarily unique. Can be used by a GUI instead
index b475ccc..2f33582 100644 (file)
@@ -27,6 +27,7 @@
 #include <syncevo/SyncSource.h>
 #include <syncevo/util.h>
 #include <syncevo/SuspendFlags.h>
+#include <syncevo/ThreadSupport.h>
 
 #include <syncevo/SafeConfigNode.h>
 #include <syncevo/IniConfigNode.h>
@@ -267,12 +268,30 @@ public:
     }
 };
 
-// this class owns the logging directory and is responsible
+class LogDir;
+
+/**
+ * Helper class for LogDir: acts as proxy for logging into
+ * the LogDir's reports and log file.
+ */
+class LogDirLogger : public Logger
+{
+    Logger::Handle m_parentLogger;     /**< the logger which was active before we started to intercept messages */
+    boost::weak_ptr<LogDir> m_logdir;  /**< grants access to report and Synthesis engine */
+
+public:
+    LogDirLogger(const boost::weak_ptr<LogDir> &logdir);
+    virtual void remove() throw ();
+    virtual void messagev(const MessageOptions &options,
+                          const char *format,
+                          va_list args);
+};
+
+// This class owns the logging directory. It is responsible
 // for redirecting output at the start and end of sync (even
-// in case of exceptions thrown!)
-class LogDir : public LoggerBase, private boost::noncopyable, private LogDirNames {
+// in case of exceptions thrown!).
+class LogDir : private boost::noncopyable, private LogDirNames {
     SyncContext &m_client;
-    Logger &m_parentLogger;  /**< the logger which was active before we started to intercept messages */
     string m_logdir;         /**< configured backup root dir */
     int m_maxlogdirs;        /**< number of backup dirs to preserve, 0 if unlimited */
     string m_prefix;         /**< common prefix of backup dirs */
@@ -286,11 +305,18 @@ class LogDir : public LoggerBase, private boost::noncopyable, private LogDirName
                                   that this class still is the central point to ask
                                   for the name of the log file. */
     boost::scoped_ptr<SafeConfigNode> m_info;  /**< key/value representation of sync information */
+
+    // Access to m_report and m_client must be thread-safe as soon as
+    // LogDirLogger is active, because they are shared between main
+    // thread and any thread which might log errors.
+    friend class LogDirLogger;
     bool m_readonly;         /**< m_info is not to be written to */
     SyncReport *m_report;    /**< record start/end times here */
 
-public:
-    LogDir(SyncContext &client) : m_client(client), m_parentLogger(LoggerBase::instance()), m_info(NULL), m_readonly(false), m_report(NULL)
+    boost::weak_ptr<LogDir> m_self;
+    PushLogger<LogDirLogger> m_logger; /**< active logger */
+
+    LogDir(SyncContext &client) : m_client(client), m_info(NULL), m_readonly(false), m_report(NULL)
     {
         // Set default log directory. This will be overwritten with a user-specified
         // location later on, if one was selected by the user. SyncEvolution >= 0.9 alpha
@@ -312,6 +338,14 @@ public:
         setLogdir(path);
     }
 
+public:
+    static boost::shared_ptr<LogDir> create(SyncContext &client)
+    {
+        boost::shared_ptr<LogDir> logdir(new LogDir(client));
+        logdir->m_self = logdir;
+        return logdir;
+    }
+
     /**
      * Finds previous log directories for context. Reports errors via exceptions.
      *
@@ -445,7 +479,11 @@ public:
             if (mode == SESSION_CREATE) {
                 // create unique directory name in the given directory
                 time_t ts = time(NULL);
-                struct tm *tm = localtime(&ts);
+                struct tm tmbuffer;
+                struct tm *tm = localtime_r(&ts, &tmbuffer);
+                if (!tm) {
+                    SE_THROW("localtime_r() failed");
+                }
                 stringstream base;
                 base << "-"
                      << setfill('0')
@@ -500,7 +538,7 @@ public:
                 m_path = m_logdir;
                 if (mkdir(m_path.c_str(), S_IRWXU) &&
                     errno != EEXIST) {
-                    SE_LOG_DEBUG(NULL, NULL, "%s: %s", m_path.c_str(), strerror(errno));
+                    SE_LOG_DEBUG(NULL, "%s: %s", m_path.c_str(), strerror(errno));
                     SyncContext::throwError(m_path, errno);
                 }
             }
@@ -508,35 +546,36 @@ public:
         }
 
         // update log level of default logger and our own replacement
-        Level level;
+        Logger::Level level;
         switch (logLevel) {
         case 0:
             // default for console output
-            level = INFO;
+            level = Logger::INFO;
             break;
         case 1:
-            level = ERROR;
+            level = Logger::ERROR;
             break;
         case 2:
-            level = INFO;
+            level = Logger::INFO;
             break;
         default:
             if (m_logfile.empty() || getenv("SYNCEVOLUTION_DEBUG")) {
                 // no log file or user wants to see everything:
                 // print all information to the console
-                level = DEBUG;
+                level = Logger::DEBUG;
             } else {
                 // have log file: avoid excessive output to the console,
                 // full information is in the log file
-                level = INFO;
+                level = Logger::INFO;
             }
             break;
         }
         if (mode != SESSION_USE_PATH) {
-            LoggerBase::instance().setLevel(level);
+            Logger::instance().setLevel(level);
         }
-        setLevel(level);
-        LoggerBase::pushLogger(this);
+        boost::shared_ptr<Logger> logger(new LogDirLogger(m_self));
+        logger->setLevel(level);
+        m_logger.reset(logger);
 
         time_t start = time(NULL);
         if (m_report) {
@@ -686,7 +725,7 @@ public:
                         }
                     }
                     if (!mustkeep) {
-                        SE_LOG_DEBUG(NULL, NULL, "removing %s", path.c_str());
+                        SE_LOG_DEBUG(NULL, "removing %s", path.c_str());
                         rm_r(path);
                         ++deleted;
                     }
@@ -706,6 +745,7 @@ public:
             if (!m_readonly) {
                 writeTimestamp("end", end);
                 if (m_report) {
+                    RecMutex::Guard guard = Logger::lock();
                     writeReport(*m_report);
                 }
                 m_info->flush();
@@ -714,11 +754,9 @@ public:
         }
     }
 
-    // remove redirection of logging (safe for destructor)
+    // Remove redirection of logging.
     void restore() {
-        if (&LoggerBase::instance() == this) {
-            LoggerBase::popLogger();
-        }
+        m_logger.reset();
     }
 
     ~LogDir() {
@@ -726,46 +764,6 @@ public:
     }
 
 
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args)
-    {
-        // always to parent first (usually stdout):
-        // if the parent is a LogRedirect instance, then
-        // it'll flush its own output first, which ensures
-        // that the new output comes later (as desired)
-        {
-            va_list argscopy;
-            va_copy(argscopy, args);
-            m_parentLogger.messagev(level, prefix, file, line, function, format, argscopy);
-            va_end(argscopy);
-        }
-
-        if (m_report &&
-            (level <= ERROR /* ||
-                               (level == SHOW && isErrorString(format, args)) */) &&
-            m_report->getError().empty()) {
-            va_list argscopy;
-            va_copy(argscopy, args);
-            string error = StringPrintfV(format, argscopy);
-            va_end(argscopy);
-
-            m_report->setError(error);
-        }
-
-        if (m_client.getEngine().get()) {
-            va_list argscopy;
-            va_copy(argscopy, args);
-            // once to Synthesis log, with full debugging
-            m_client.getEngine().doDebug(level, prefix, file, line, function, format, argscopy);
-            va_end(argscopy);
-        }
-    }
-
 #if 0
     /**
      * A quick check for level = SHOW text dumps whether the text dump
@@ -798,8 +796,6 @@ public:
     }
 #endif
 
-    virtual bool isProcessSafe() const { return false; }
-
     /**
      * Compare two database dumps just based on their inodes.
      * @return true    if inodes differ
@@ -912,9 +908,16 @@ private:
     void writeTimestamp(const string &key, time_t val, bool flush = true) {
         if (m_info) {
             char buffer[160];
-            struct tm tm;
+            struct tm tmbuffer, *tm;
             // be nice and store a human-readable date in addition the seconds since the epoch
-            strftime(buffer, sizeof(buffer), "%s, %Y-%m-%d %H:%M:%S %z", localtime_r(&val, &tm));
+            tm = localtime_r(&val, &tmbuffer);
+            if (tm) {
+                strftime(buffer, sizeof(buffer), "%s, %Y-%m-%d %H:%M:%S %z", tm);
+            } else {
+                // Less suitable fallback. Won't work correctly for 32
+                // bit long beyond 2038.
+                sprintf(buffer, "%lu", (long unsigned)val);
+            }
             m_info->setProperty(key, buffer);
             if (flush) {
                 m_info->flush();
@@ -923,6 +926,67 @@ private:
     }
 };
 
+LogDirLogger::LogDirLogger(const boost::weak_ptr<LogDir> &logdir) :
+    m_parentLogger(Logger::instance()),
+    m_logdir(logdir)
+{
+}
+
+void LogDirLogger::remove() throw ()
+{
+    // Forget reference to LogDir. This prevents accessing it in
+    // future messagev() calls.
+    RecMutex::Guard guard = Logger::lock();
+    m_logdir.reset();
+}
+
+void LogDirLogger::messagev(const MessageOptions &options,
+                            const char *format,
+                            va_list args)
+{
+    // Protects ordering of log messages and access to shared
+    // variables like m_report and m_engine.
+    RecMutex::Guard guard = Logger::lock();
+
+    // always to parent first (usually stdout):
+    // if the parent is a LogRedirect instance, then
+    // it'll flush its own output first, which ensures
+    // that the new output comes later (as desired)
+    va_list argscopy;
+    va_copy(argscopy, args);
+    m_parentLogger.messagev(options, format, argscopy);
+    va_end(argscopy);
+
+    boost::shared_ptr<LogDir> logdir = m_logdir.lock();
+    if (logdir) {
+        if (logdir->m_report &&
+            options.m_level <= ERROR &&
+            logdir->m_report->getError().empty()) {
+            va_list argscopy;
+            va_copy(argscopy, args);
+            string error = StringPrintfV(format, argscopy);
+            va_end(argscopy);
+
+            logdir->m_report->setError(error);
+        }
+
+        if (logdir->m_client.getEngine().get()) {
+            va_list argscopy;
+            va_copy(argscopy, args);
+            // once to Synthesis log, with full debugging
+            logdir->m_client.getEngine().doDebug(options.m_level,
+                                                 options.m_prefix ? options.m_prefix->c_str() : NULL,
+                                                 options.m_file,
+                                                 options.m_line,
+                                                 options.m_function,
+                                                 format,
+                                                 argscopy);
+            va_end(argscopy);
+        }
+    }
+}
+
+
 const char* const LogDirNames::DIR_PREFIX = "SyncEvolution-";
 
 /**
@@ -991,7 +1055,7 @@ public:
 
 private:
     VirtualSyncSources_t m_virtualSources; /**< all configured virtual data sources (aka Synthesis <superdatastore>) */
-    LogDir m_logdir;     /**< our logging directory */
+    boost::shared_ptr<LogDir> m_logdir;     /**< our logging directory */
     SyncContext &m_client; /**< the context in which we were instantiated */
     set<string> m_prepared;   /**< remember for which source we dumped databases successfully */
     string m_intro;      /**< remembers the dumpLocalChanges() intro and only prints it again
@@ -1005,7 +1069,7 @@ private:
     /** create name in current (if set) or previous logdir */
     string databaseName(SyncSource &source, const string suffix, string logdir = "") {
         if (!logdir.size()) {
-            logdir = m_logdir.getLogdir();
+            logdir = m_logdir->getLogdir();
         }
         return logdir + "/" +
             source.getName() + "." + suffix;
@@ -1066,9 +1130,9 @@ public:
         // to search for previous backups of each source, if
         // necessary.
         SyncContext context(m_client.getContextName());
-        LogDir logdir(context);
+        boost::shared_ptr<LogDir> logdir(LogDir::create(context));
         vector<string> dirs;
-        logdir.previousLogdirs(dirs);
+        logdir->previousLogdirs(dirs);
 
         BOOST_FOREACH(SyncSource *source, *this) {
             if ((!excludeSource.empty() && excludeSource != source->getName()) ||
@@ -1078,7 +1142,7 @@ public:
 
             string dir = databaseName(*source, suffix);
             boost::shared_ptr<ConfigNode> node = ConfigNode::createFileNode(dir + ".ini");
-            SE_LOG_DEBUG(NULL, NULL, "creating %s", dir.c_str());
+            SE_LOG_DEBUG(NULL, "creating %s", dir.c_str());
             rm_r(dir);
             BackupReport dummy;
             if (source->getOperations().m_backupData) {
@@ -1116,7 +1180,7 @@ public:
                                                              dir, node);
                 source->getOperations().m_backupData(oldBackup, newBackup,
                                                      report ? source->*report : dummy);
-                SE_LOG_DEBUG(NULL, NULL, "%s created", dir.c_str());
+                SE_LOG_DEBUG(NULL, "%s created", dir.c_str());
 
                 // remember that we have dumped at the beginning of a sync
                 if (suffix == "before") {
@@ -1140,7 +1204,7 @@ public:
     }
 
     SourceList(SyncContext &client, bool doLogging) :
-        m_logdir(client),
+        m_logdir(LogDir::create(client)),
         m_client(client),
         m_doLogging(doLogging),
         m_reportTodo(true),
@@ -1150,37 +1214,37 @@ public:
     
     // call as soon as logdir settings are known
     void startSession(const string &logDirPath, int maxlogdirs, int logLevel, SyncReport *report) {
-        m_logdir.setLogdir(logDirPath);
-        m_previousLogdir = m_logdir.previousLogdir();
+        m_logdir->setLogdir(logDirPath);
+        m_previousLogdir = m_logdir->previousLogdir();
         if (m_doLogging) {
-            m_logdir.startSession(logDirPath, LogDir::SESSION_CREATE, maxlogdirs, logLevel, report);
+            m_logdir->startSession(logDirPath, LogDir::SESSION_CREATE, maxlogdirs, logLevel, report);
         } else {
             // Run debug session without paying attention to
             // the normal logdir handling. The log level here
             // refers to stdout. The log file will be as complete
             // as possible.
-            m_logdir.startSession(logDirPath, LogDir::SESSION_USE_PATH, 0, 1, report);
+            m_logdir->startSession(logDirPath, LogDir::SESSION_USE_PATH, 0, 1, report);
         }
     }
 
     /** read-only access to existing session, identified in logDirPath */
     void accessSession(const string &logDirPath) {
-        m_logdir.setLogdir(logDirPath);
-        m_previousLogdir = m_logdir.previousLogdir();
-        m_logdir.startSession(logDirPath, LogDir::SESSION_READ_ONLY, 0, 0, NULL);
+        m_logdir->setLogdir(logDirPath);
+        m_previousLogdir = m_logdir->previousLogdir();
+        m_logdir->startSession(logDirPath, LogDir::SESSION_READ_ONLY, 0, 0, NULL);
     }
 
 
     /** return log directory, empty if not enabled */
     const string &getLogdir() {
-        return m_logdir.getLogdir();
+        return m_logdir->getLogdir();
     }
 
     /** return previous log dir found in startSession() */
     const string &getPrevLogdir() const { return m_previousLogdir; }
 
     /** set directory for database files without actually redirecting the logging */
-    void setPath(const string &path) { m_logdir.setPath(path); }
+    void setPath(const string &path) { m_logdir->setPath(path); }
 
     /**
      * If possible (directory to compare against available) and enabled,
@@ -1204,7 +1268,7 @@ public:
 
         vector<string> dirs;
         if (oldSession.empty()) {
-            m_logdir.previousLogdirs(dirs);
+            m_logdir->previousLogdirs(dirs);
         }
 
         BOOST_FOREACH(SyncSource *source, *this) {
@@ -1215,7 +1279,7 @@ public:
 
             // dump only if not done before or changed
             if (m_intro != intro) {
-                SE_LOG_SHOW(NULL, NULL, "%s", intro.c_str());
+                SE_LOG_SHOW(NULL, "%s", intro.c_str());
                 m_intro = intro;
             }
 
@@ -1227,10 +1291,10 @@ public:
                      it != dirs.rend();
                      ++it) {
                     const string &sessiondir = *it;
-                    LogDir oldsession(m_client);
-                    oldsession.openLogdir(sessiondir);
+                    boost::shared_ptr<LogDir> oldsession(LogDir::create(m_client));
+                    oldsession->openLogdir(sessiondir);
                     SyncReport report;
-                    oldsession.readReport(report);
+                    oldsession->readReport(report);
                     if (report.find(source->getName()) != report.end())  {
                         // source was active in that session, use dump
                         // made there
@@ -1242,7 +1306,7 @@ public:
                 oldDir = databaseName(*source, oldSuffix, oldSession);
             }
             string newDir = databaseName(*source, newSuffix);
-            SE_LOG_SHOW(NULL, NULL, "*** %s ***", source->getDisplayName().c_str());
+            SE_LOG_SHOW(NULL, "*** %s ***", source->getDisplayName().c_str());
             string cmd = string("env CLIENT_TEST_COMPARISON_FAILED=10 " + config + " synccompare '" ) +
                 oldDir + "' '" + newDir + "'";
             int ret = Execute(cmd, EXECUTE_NO_STDERR);
@@ -1250,16 +1314,16 @@ public:
                     WIFEXITED(ret) ? WEXITSTATUS(ret) :
                     -1) {
             case 0:
-                SE_LOG_SHOW(NULL, NULL, "no changes");
+                SE_LOG_SHOW(NULL, "no changes");
                 break;
             case 10:
                 break;
             default:
-                SE_LOG_SHOW(NULL, NULL, "Comparison was impossible.");
+                SE_LOG_SHOW(NULL, "Comparison was impossible.");
                 break;
             }
         }
-        SE_LOG_SHOW(NULL, NULL, "\n");
+        SE_LOG_SHOW(NULL, "\n");
         return true;
     }
 
@@ -1273,11 +1337,11 @@ public:
             return;
         }
 
-        if (m_logdir.getLogfile().size() &&
+        if (m_logdir->getLogfile().size() &&
             m_doLogging &&
             (m_client.getDumpData() || m_client.getPrintChanges())) {
             // dump initial databases
-            SE_LOG_INFO(NULL, NULL, "creating complete data backup of source %s before sync (%s)",
+            SE_LOG_INFO(NULL, "creating complete data backup of source %s before sync (%s)",
                         sourceName.c_str(),
                         (m_client.getDumpData() && m_client.getPrintChanges()) ? "enabled with dumpData and needed for printChanges" :
                         m_client.getDumpData() ? "because it was enabled with dumpData" :
@@ -1309,7 +1373,7 @@ public:
             (m_client.getDumpData() ||
              (m_client.getPrintChanges() && m_reportTodo && !m_prepared.empty()))) {
             try {
-                SE_LOG_INFO(NULL, NULL, "creating complete data backup after sync (%s)",
+                SE_LOG_INFO(NULL, "creating complete data backup after sync (%s)",
                             (m_client.getDumpData() && m_client.getPrintChanges()) ? "enabled with dumpData and needed for printChanges" :
                             m_client.getDumpData() ? "because it was enabled with dumpData" :
                             m_client.getPrintChanges() ? "needed for printChanges" :
@@ -1330,30 +1394,30 @@ public:
             }
 
             // ensure that stderr is seen again
-            m_logdir.restore();
+            m_logdir->restore();
 
             // write out session status
-            m_logdir.endSession();
+            m_logdir->endSession();
 
             if (m_reportTodo) {
                 // haven't looked at result of sync yet;
                 // don't do it again
                 m_reportTodo = false;
 
-                string logfile = m_logdir.getLogfile();
+                string logfile = m_logdir->getLogfile();
                 if (status == STATUS_OK) {
-                    SE_LOG_SHOW(NULL, NULL, "\nSynchronization successful.");
+                    SE_LOG_SHOW(NULL, "\nSynchronization successful.");
                 } else if (logfile.size()) {
-                    SE_LOG_SHOW(NULL, NULL, "\nSynchronization failed, see %s for details.",
+                    SE_LOG_SHOW(NULL, "\nSynchronization failed, see %s for details.",
                                 logfile.c_str());
                 } else {
-                    SE_LOG_SHOW(NULL, NULL, "\nSynchronization failed.");
+                    SE_LOG_SHOW(NULL, "\nSynchronization failed.");
                 }
 
                 // pretty-print report
                 if (m_logLevel > LOGGING_QUIET) {
                     std::string procname = Logger::getProcessName();
-                    SE_LOG_SHOW(NULL, NULL, "\nChanges applied during synchronization%s%s%s:",
+                    SE_LOG_SHOW(NULL, "\nChanges applied during synchronization%s%s%s:",
                                 procname.empty() ? "" : " (",
                                 procname.c_str(),
                                 procname.empty() ? "" : ")");
@@ -1365,12 +1429,12 @@ public:
                     if (!slowSync.empty()) {
                         out << endl << slowSync;
                     }
-                    SE_LOG_SHOW(NULL, NULL, "%s", out.str().c_str());
+                    SE_LOG_SHOW(NULL, "%s", out.str().c_str());
                 }
 
                 // compare databases?
                 if (m_client.getPrintChanges()) {
-                    dumpLocalChanges(m_logdir.getLogdir(),
+                    dumpLocalChanges(m_logdir->getLogdir(),
                                      "before", "after", "",
                                      StringPrintf("\nData modified %s during synchronization:\n",
                                                   m_client.isLocalSync() ? m_client.getContextName().c_str() : "locally"),
@@ -1378,12 +1442,12 @@ public:
                 }
 
                 // now remove some old logdirs
-                m_logdir.expire();
+                m_logdir->expire();
             }
         } else {
             // finish debug session
-            m_logdir.restore();
-            m_logdir.endSession();
+            m_logdir->restore();
+            m_logdir->endSession();
         }
     }
 
@@ -1510,7 +1574,7 @@ string SyncContext::getUsedSyncURL() {
 static void CancelTransport(TransportAgent *agent, SuspendFlags &flags)
 {
     if (flags.getState() == SuspendFlags::ABORT) {
-        SE_LOG_DEBUG(NULL, NULL, "CancelTransport: cancelling because of SuspendFlags::ABORT");
+        SE_LOG_DEBUG(NULL, "CancelTransport: cancelling because of SuspendFlags::ABORT");
         agent->cancel();
     }
 }
@@ -1536,7 +1600,7 @@ boost::shared_ptr<TransportAgent> SyncContext::createTransportAgent(void *gmainl
     string url = getUsedSyncURL();
     m_retryInterval = getRetryInterval();
     m_retryDuration = getRetryDuration();
-    int timeout = m_serverMode ? m_retryDuration : m_retryInterval;
+    int timeout = m_serverMode ? m_retryDuration : min(m_retryInterval, m_retryDuration);
 
     if (m_localSync) {
         string peer = url.substr(strlen("local://"));
@@ -1575,7 +1639,7 @@ boost::shared_ptr<TransportAgent> SyncContext::createTransportAgent(void *gmainl
 
 void SyncContext::displayServerMessage(const string &message)
 {
-    SE_LOG_INFO(NULL, NULL, "message from server: %s", message.c_str());
+    SE_LOG_INFO(NULL, "message from server: %s", message.c_str());
 }
 
 void SyncContext::displaySyncProgress(sysync::TProgressEventEnum type,
@@ -1600,20 +1664,20 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
         if (true || source.getFinalSyncMode() == SYNC_NONE) {
             // not active, suppress output
         } else if (extra2) {
-            SE_LOG_INFO(NULL, NULL, "%s: preparing %d/%d",
+            SE_LOG_INFO(NULL, "%s: preparing %d/%d",
                         source.getDisplayName().c_str(), extra1, extra2);
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: preparing %d",
+            SE_LOG_INFO(NULL, "%s: preparing %d",
                         source.getDisplayName().c_str(), extra1);
         }
         break;
     case sysync::PEV_DELETING:
         /* deleting (zapping datastore), extra1=progress, extra2=total */
         if (extra2) {
-            SE_LOG_INFO(NULL, NULL, "%s: deleting %d/%d",
+            SE_LOG_INFO(NULL, "%s: deleting %d/%d",
                         source.getDisplayName().c_str(), extra1, extra2);
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: deleting %d",
+            SE_LOG_INFO(NULL, "%s: deleting %d",
                         source.getDisplayName().c_str(), extra1);
         }
         break;
@@ -1624,7 +1688,7 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
         // -1 is used for alerting a restore from backup. Synthesis won't use this
         bool peerIsClient = getPeerIsClient();
         if (extra1 != -1) {
-            SE_LOG_INFO(NULL, NULL, "%s: %s %s sync%s (%s)",
+            SE_LOG_INFO(NULL, "%s: %s %s sync%s (%s)",
                         source.getDisplayName().c_str(),
                         extra2 ? "resuming" : "starting",
                         extra1 == 0 ? "normal" :
@@ -1704,6 +1768,8 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
                 source.recordFirstSync(extra1 == 2);
                 source.recordResumeSync(extra2 == 1);
             } else if (SyncMode(mode) != SYNC_NONE) {
+                // Broadcast statistics before moving into next cycle.
+                m_sourceSyncedSignal(source.getName(), source);
                 // may happen when the source is used in multiple
                 // SyncML sessions; only remember the initial sync
                 // mode in that case and count all following syncs
@@ -1712,14 +1778,14 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
                 source.recordRestart();
             }
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: restore from backup", source.getDisplayName().c_str());
+            SE_LOG_INFO(NULL, "%s: restore from backup", source.getDisplayName().c_str());
             source.recordFinalSyncMode(SYNC_RESTORE_FROM_BACKUP);
         }
         break;
     }
     case sysync::PEV_SYNCSTART:
         /* sync started */
-        SE_LOG_INFO(NULL, NULL, "%s: started",
+        SE_LOG_INFO(NULL, "%s: started",
                     source.getDisplayName().c_str());
         break;
     case sysync::PEV_ITEMRECEIVED:
@@ -1727,10 +1793,10 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
            extra2=number of expected changes (if >= 0) */
         if (source.getFinalSyncMode() == SYNC_NONE) {
         } else if (extra2 > 0) {
-            SE_LOG_INFO(NULL, NULL, "%s: received %d/%d",
+            SE_LOG_INFO(NULL, "%s: received %d/%d",
                         source.getDisplayName().c_str(), extra1, extra2);
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: received %d",
+            SE_LOG_INFO(NULL, "%s: received %d",
                         source.getDisplayName().c_str(), extra1);
         }
         break;
@@ -1739,10 +1805,10 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
            extra2=number of expected items to be sent (if >=0) */
         if (source.getFinalSyncMode() == SYNC_NONE) {
         } else if (extra2 > 0) {
-            SE_LOG_INFO(NULL, NULL, "%s: sent %d/%d",
+            SE_LOG_INFO(NULL, "%s: sent %d/%d",
                         source.getDisplayName().c_str(), extra1, extra2);
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: sent %d",
+            SE_LOG_INFO(NULL, "%s: sent %d",
                         source.getDisplayName().c_str(), extra1);
         }
         break;
@@ -1752,7 +1818,7 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
            extra3=# deleted */
         if (source.getFinalSyncMode() == SYNC_NONE) {
         } else if (source.getFinalSyncMode() != SYNC_NONE) {
-            SE_LOG_INFO(NULL, NULL, "%s: added %d, updated %d, removed %d",
+            SE_LOG_INFO(NULL, "%s: added %d, updated %d, removed %d",
                         source.getDisplayName().c_str(), extra1, extra2, extra3);
         }
         break;
@@ -1761,13 +1827,13 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
            syncmode in extra2 (0=normal, 1=slow, 2=first time), 
            extra3=1 for resumed session) */
         if (source.getFinalSyncMode() == SYNC_NONE) {
-            SE_LOG_INFO(NULL, NULL, "%s: inactive", source.getDisplayName().c_str());
+            SE_LOG_INFO(NULL, "%s: inactive", source.getDisplayName().c_str());
         } else if(source.getFinalSyncMode() == SYNC_RESTORE_FROM_BACKUP) {
-            SE_LOG_INFO(NULL, NULL, "%s: restore done %s", 
+            SE_LOG_INFO(NULL, "%s: restore done %s", 
                         source.getDisplayName().c_str(),
                         extra1 ? "unsuccessfully" : "successfully" );
         } else {
-            SE_LOG_INFO(NULL, NULL, "%s: %s%s sync done %s",
+            SE_LOG_INFO(NULL, "%s: %s%s sync done %s",
                         source.getDisplayName().c_str(),
                         extra3 ? "resumed " : "",
                         extra2 == 0 ? "normal" :
@@ -1779,16 +1845,16 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
         switch (extra1) {
         case 401:
             // TODO: reset cached password
-            SE_LOG_INFO(NULL, NULL, "authorization failed, check username '%s' and password", getSyncUsername().c_str());
+            SE_LOG_INFO(NULL, "authorization failed, check username '%s' and password", getSyncUsername().c_str());
             break;
         case 403:
-            SE_LOG_INFO(&source, NULL, "log in succeeded, but server refuses access - contact server operator");
+            SE_LOG_INFO(source.getDisplayName(), "log in succeeded, but server refuses access - contact server operator");
             break;
         case 407:
-            SE_LOG_INFO(NULL, NULL, "proxy authorization failed, check proxy username and password");
+            SE_LOG_INFO(NULL, "proxy authorization failed, check proxy username and password");
             break;
         case 404:
-            SE_LOG_INFO(&source, NULL, "server database not found, check URI '%s'", source.getURINonEmpty().c_str());
+            SE_LOG_INFO(source.getDisplayName(), "server database not found, check URI '%s'", source.getURINonEmpty().c_str());
             break;
         case 0:
             break;
@@ -1801,7 +1867,7 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
             // because even "good" sources will get a bad status when the overall
             // session turns bad. We also don't have good explanations for the
             // status here.
-            SE_LOG_ERROR(&source, NULL, "%s", Status2String(SyncMLStatus(extra1)).c_str());
+            SE_LOG_ERROR(source.getDisplayName(), "%s", Status2String(SyncMLStatus(extra1)).c_str());
             break;
         }
         source.recordStatus(SyncMLStatus(extra1));
@@ -1897,26 +1963,12 @@ void SyncContext::displaySourceProgress(sysync::TProgressEventEnum type,
                            extra2);
         break;
     default:
-        SE_LOG_DEBUG(NULL, NULL, "%s: progress event %d, extra %d/%d/%d",
+        SE_LOG_DEBUG(NULL, "%s: progress event %d, extra %d/%d/%d",
                      source.getDisplayName().c_str(),
                      type, extra1, extra2, extra3);
     }
 }
 
-bool SyncContext::checkForAbort()
-{
-    SuspendFlags &flags(SuspendFlags::getSuspendFlags());
-    flags.printSignals();
-    return flags.getState() == SuspendFlags::ABORT;
-}
-
-bool SyncContext::checkForSuspend()
-{
-    SuspendFlags &flags(SuspendFlags::getSuspendFlags());
-    flags.printSignals();
-    return flags.getState() == SuspendFlags::SUSPEND;
-}
-
 void SyncContext::throwError(const string &error)
 {
     throwError(SyncMLStatus(STATUS_FATAL + sysync::LOCAL_STATUS_CODE), error);
@@ -1952,7 +2004,7 @@ void SyncContext::throwError(const string &action, int error)
 
 void SyncContext::fatalError(void *object, const char *error)
 {
-    SE_LOG_ERROR(NULL, NULL, "%s", error);
+    SE_LOG_ERROR(NULL, "%s", error);
     if (m_activeContext && m_activeContext->m_sourceListPtr) {
         m_activeContext->m_sourceListPtr->syncDone(STATUS_FATAL, NULL);
     }
@@ -2366,7 +2418,45 @@ void SyncContext::getConfigXML(string &xml, string &configname)
             "  <server type='plugin'>\n"
             "    <plugin_module>SyncEvolution</plugin_module>\n"
             "    <plugin_sessionauth>yes</plugin_sessionauth>\n"
-            "    <plugin_deviceadmin>yes</plugin_deviceadmin>\n"
+            "    <plugin_deviceadmin>yes</plugin_deviceadmin>\n";
+
+        InitState<unsigned int> configrequestmaxtime = getRequestMaxTime();
+        unsigned int requestmaxtime;
+        if (configrequestmaxtime.wasSet()) {
+            // Explicitly set, use it regardless of the kind of sync.
+            // We allow this even if thread support was not available,
+            // because if a user enables it explicitly, it's probably
+            // for a good reason (= failing client), in which case
+            // risking multithreading issues is preferable.
+            requestmaxtime = configrequestmaxtime.get();
+        } else if (m_remoteInitiated || m_localSync) {
+            // We initiated the sync (local sync, Bluetooth). The client
+            // should not time out, so there is no need for intermediate
+            // message sending.
+            //
+            // To avoid potential problems and get a single log file,
+            // avoid it and multithreading by default.
+            requestmaxtime = 0;
+        } else {
+            // We were contacted by an HTTP client. Reply to client
+            // not later than 120 seconds while storage initializes
+            // in a background thread.
+#ifdef HAVE_THREAD_SUPPORT
+            requestmaxtime = 120; // default in seconds
+#else
+            requestmaxtime = 0;
+#endif
+        }
+        if (requestmaxtime) {
+            clientorserver <<
+                "    <multithread>yes</multithread>\n"
+                "    <requestmaxtime>" << requestmaxtime << "</requestmaxtime>\n";
+        } else {
+            clientorserver <<
+                "    <multithread>no</multithread>\n";
+        }
+
+        clientorserver <<
             "\n" <<
             sessioninitscript <<
             "    <sessiontimeout>300</sessiontimeout>\n"
@@ -2391,6 +2481,7 @@ void SyncContext::getConfigXML(string &xml, string &configname)
         clientorserver <<
             "  <client type='plugin'>\n"
             "    <binfilespath>$(binfilepath)</binfilespath>\n"
+            "    <multithread>no</multithread>\n"
             "    <defaultauth/>\n";
         if (getRefreshSync()) {
             clientorserver <<
@@ -2448,7 +2539,7 @@ void SyncContext::getConfigXML(string &xml, string &configname)
             "    <timestamp>yes</timestamp>\n"
             "    <timestampall>yes</timestampall>\n"
             "    <timedsessionlognames>no</timedsessionlognames>\n"
-            "    <subthreadmode>suppress</subthreadmode>\n"
+            "    <subthreadmode>separate</subthreadmode>\n"
             "    <logsessionstoglobal>yes</logsessionstoglobal>\n"
             "    <singlegloballog>yes</singlegloballog>\n";
         if (logging) {
@@ -2581,7 +2672,7 @@ void SyncContext::getConfigXML(string &xml, string &configname)
                 if (!subType.m_format.empty() && (
                     sourceType.m_format != subType.m_format ||
                     sourceType.m_forceFormat != subType.m_forceFormat)) {
-                    SE_LOG_WARNING(NULL, NULL, 
+                    SE_LOG_WARNING(NULL, 
                                    "Virtual data source \"%s\" and sub data source \"%s\" have different data format. Will use the format in virtual data source.",
                                    vSource->getDisplayName().c_str(), source.c_str());
                 }
@@ -2739,7 +2830,7 @@ SharedEngine SyncContext::createEngine()
 namespace {
     void GnutlsLogFunction(int level, const char *str)
     {
-        SE_LOG_DEBUG(NULL, "GNUTLS", "level %d: %s", level, str);
+        SE_LOG_DEBUG("GNUTLS", "level %d: %s", level, str);
     }
 }
 
@@ -2807,7 +2898,7 @@ void SyncContext::initEngine(bool logXML)
     try {
         m_engine.InitEngineXML(xml.c_str());
     } catch (const BadSynthesisResult &ex) {
-        SE_LOG_ERROR(NULL, NULL,
+        SE_LOG_ERROR(NULL,
                      "internal error, invalid XML configuration (%s):\n%s",
                      m_sourceListPtr && !m_sourceListPtr->empty() ?
                      "with datastores" :
@@ -2817,7 +2908,7 @@ void SyncContext::initEngine(bool logXML)
     }
     if (logXML &&
         getLogLevel() >= 5) {
-        SE_LOG_DEV(NULL, NULL, "Full XML configuration:\n%s", xml.c_str());
+        SE_LOG_DEV(NULL, "Full XML configuration:\n%s", xml.c_str());
     }
 }
 
@@ -2828,6 +2919,81 @@ extern "C" int (*SySync_ConsolePrintf)(FILE *stream, const char *format, ...);
 
 static int nopPrintf(FILE *stream, const char *format, ...) { return 0; }
 
+extern "C"
+{
+    extern int (*SySync_CondTimedWait)(pthread_cond_t *cond, pthread_mutex_t *mutex, bool &aTerminated, long aMilliSecondsToWait);
+}
+
+#ifdef HAVE_GLIB
+static gboolean timeout(gpointer data)
+{
+    // Call me again...
+    return true;
+}
+
+static int CondTimedWaitGLib(pthread_cond_t * /* cond */, pthread_mutex_t *mutex,
+                             bool &terminated, long milliSecondsToWait)
+{
+    int result = 0;
+
+    // return abstime ? pthread_cond_timedwait(cond, mutex, abstime) : pthread_cond_wait(cond, mutex);
+    try {
+        pthread_mutex_unlock(mutex);
+
+        SE_LOG_DEBUG(NULL, "wait for background thread: %lds", milliSecondsToWait);
+        SuspendFlags &flags = SuspendFlags::getSuspendFlags();
+
+        Timespec now = Timespec::system();
+        Timespec wait(milliSecondsToWait / 1000, milliSecondsToWait % 1000);
+        Timespec deadline = now + wait;
+
+        // We don't need to react to thread shutdown immediately (only
+        // called once per sync), so a relatively long check interval of
+        // one second is okay.
+        GLibEvent id(g_timeout_add_seconds(1, timeout, NULL), "timeout");
+
+        while (true) {
+            // Thread has terminated?
+            pthread_mutex_lock(mutex);
+            if (terminated) {
+                pthread_mutex_unlock(mutex);
+                SE_LOG_DEBUG(NULL, "background thread completed");
+                break;
+            }
+            pthread_mutex_unlock(mutex);
+
+            // Abort? Ignore when waiting for final thread shutdown, because
+            // in that case we just get called again.
+            if (milliSecondsToWait > 0 && flags.isAborted()) {
+                SE_LOG_DEBUG(NULL, "give up waiting for background thread, aborted");
+                // Signal error. libsynthesis then assumes that the thread still
+                // runs and enters its parallel message sending, which eventually
+                // returns control to us.
+                result = 1;
+                break;
+            }
+
+            // Timeout?
+            if (milliSecondsToWait > 0 && deadline <= Timespec::system()) {
+                SE_LOG_DEBUG(NULL, "give up waiting for background thread, timeout");
+                result = 1;
+                break;
+            }
+
+            // Check event loop with blocking. We'll return after one
+            // second.
+            g_main_context_iteration(NULL, true);
+        }
+    } catch (...) {
+        Exception::handle(HANDLE_EXCEPTION_FATAL);
+    }
+
+    pthread_mutex_lock(mutex);
+    return result;
+}
+
+#endif
+
 void SyncContext::initMain(const char *appname)
 {
 #if defined(HAVE_GLIB)
@@ -2838,6 +3004,15 @@ void SyncContext::initMain(const char *appname)
 
     // redirect glib logging into our own logging
     g_log_set_default_handler(Logger::glogFunc, NULL);
+
+    // Only the main thread may use the default GMainContext.
+    // Anything else is unsafe, see https://mail.gnome.org/archives/gtk-list/2013-April/msg00040.html
+    // util.cpp:Sleep() checks this and uses the default context
+    // when called by the main thread, otherwise falls back to
+    // select().
+    g_main_context_acquire(NULL);
+
+    SySync_CondTimedWait = CondTimedWaitGLib;
 #endif
     if (atoi(getEnv("SYNCEVOLUTION_DEBUG", "0")) > 3) {
         SySync_ConsolePrintf = Logger::sysyncPrintf;
@@ -2861,7 +3036,7 @@ void SyncContext::initMain(const char *appname)
     // pulls it into the process by loading libecal.
     EDSAbiWrapperInit();
 
-    if (getenv("SYNCEVOLUTION_GNUTLS_DEBUG")) {
+    if (const char *gnutlsdbg = getenv("SYNCEVOLUTION_GNUTLS_DEBUG")) {
         // Enable libgnutls debugging without creating a hard dependency on it,
         // because we don't call it directly and might not even be linked against
         // it. Therefore check for the relevant symbols via dlsym().
@@ -2873,10 +3048,10 @@ void SyncContext::initMain(const char *appname)
         set_log_function = (typeof(set_log_function))dlsym(RTLD_DEFAULT, "gnutls_global_set_log_function");
 
         if (set_log_level && set_log_function) {
-            set_log_level(atoi(getenv("SYNCEVOLUTION_GNUTLS_DEBUG")));
+            set_log_level(atoi(gnutlsdbg));
             set_log_function(GnutlsLogFunction);
         } else {
-            SE_LOG_ERROR(NULL, NULL, "SYNCEVOLUTION_GNUTLS_DEBUG debugging not possible, log functions not found");
+            SE_LOG_ERROR(NULL, "SYNCEVOLUTION_GNUTLS_DEBUG debugging not possible, log functions not found");
         }
     }
 }
@@ -2910,9 +3085,9 @@ void SyncContext::checkConfig(const std::string &operation) const
     if (isConfigNeeded() &&
         (!exists() || peer.empty())) {
         if (peer.empty()) {
-            SE_LOG_INFO(NULL, NULL, "Configuration \"%s\" does not refer to a sync peer.", m_server.c_str());
+            SE_LOG_INFO(NULL, "Configuration \"%s\" does not refer to a sync peer.", m_server.c_str());
         } else {
-            SE_LOG_INFO(NULL, NULL, "Configuration \"%s\" does not exist.", m_server.c_str());
+            SE_LOG_INFO(NULL, "Configuration \"%s\" does not exist.", m_server.c_str());
         }
         throwError(StringPrintf("Cannot proceed with %s without a configuration.", operation.c_str()));
     }
@@ -2976,11 +3151,11 @@ SyncMLStatus SyncContext::sync(SyncReport *report)
 
         try {
             // dump some summary information at the beginning of the log
-            SE_LOG_DEV(NULL, NULL, "SyncML server account: %s", getSyncUsername().c_str());
-            SE_LOG_DEV(NULL, NULL, "client: SyncEvolution %s for %s", getSwv().c_str(), getDevType().c_str());
-            SE_LOG_DEV(NULL, NULL, "device ID: %s", getDevID().c_str());
-            SE_LOG_DEV(NULL, NULL, "%s", EDSAbiWrapperDebug());
-            SE_LOG_DEV(NULL, NULL, "%s", SyncSource::backendsDebug().c_str());
+            SE_LOG_DEV(NULL, "SyncML server account: %s", getSyncUsername().c_str());
+            SE_LOG_DEV(NULL, "client: SyncEvolution %s for %s", getSwv().c_str(), getDevType().c_str());
+            SE_LOG_DEV(NULL, "device ID: %s", getDevID().c_str());
+            SE_LOG_DEV(NULL, "%s", EDSAbiWrapperDebug());
+            SE_LOG_DEV(NULL, "%s", SyncSource::backendsDebug().c_str());
 
             // ensure that config can be modified (might have to be migrated first)
             prepareConfigForWrite();
@@ -3008,13 +3183,13 @@ SyncMLStatus SyncContext::sync(SyncReport *report)
              */
             ConfigPropertyRegistry& registry = SyncConfig::getRegistry();
             BOOST_FOREACH(const ConfigProperty *prop, registry) {
-                SE_LOG_DEBUG(NULL, NULL, "checking sync password %s", prop->getMainName().c_str());
+                SE_LOG_DEBUG(NULL, "checking sync password %s", prop->getMainName().c_str());
                 prop->checkPassword(getUserInterfaceNonNull(), m_server, *getProperties());
             }
             BOOST_FOREACH(SyncSource *source, sourceList) {
                 ConfigPropertyRegistry& registry = SyncSourceConfig::getRegistry();
                 BOOST_FOREACH(const ConfigProperty *prop, registry) {
-                    SE_LOG_DEBUG(NULL, NULL, "checking source %s password %s",
+                    SE_LOG_DEBUG(NULL, "checking source %s password %s",
                                  source->getName().c_str(),
                                  prop->getMainName().c_str());
                     prop->checkPassword(getUserInterfaceNonNull(), m_server, *getProperties(),
@@ -3061,6 +3236,7 @@ SyncMLStatus SyncContext::sync(SyncReport *report)
         // but some items failed, we report a "partial failure"
         // status.
         BOOST_FOREACH(SyncSource *source, sourceList) {
+            m_sourceSyncedSignal(source->getName(), *source);
             if (source->getStatus() == STATUS_OK &&
                 (source->getItemStat(SyncSource::ITEM_LOCAL,
                                      SyncSource::ITEM_ANY,
@@ -3129,7 +3305,7 @@ bool SyncContext::sendSAN(uint16_t version)
     if(serverId.empty()) {
         serverId = getDevID();
     }
-    SE_LOG_DEBUG(NULL, NULL, "starting SAN %u auth %s nonce %s session %u server %s",
+    SE_LOG_DEBUG(NULL, "starting SAN %u auth %s nonce %s session %u server %s",
                  version,
                  uauthb64.c_str(),
                  nonce.c_str(),
@@ -3174,7 +3350,7 @@ bool SyncContext::sendSAN(uint16_t version)
             mode = SA_TWO_WAY;
         }
         if (mode < SA_FIRST || mode > SA_LAST) {
-            SE_LOG_DEV (NULL, NULL, "Ignoring data source %s with an invalid sync mode", name.c_str());
+            SE_LOG_DEV(NULL, "Ignoring data source %s with an invalid sync mode", name.c_str());
             continue;
         }
         syncMode = mode;
@@ -3193,19 +3369,19 @@ bool SyncContext::sendSAN(uint16_t version)
             int contentTypeB = StringToContentType (sourceType.m_format, sourceType.m_forceFormat);
             if (contentTypeB == WSPCTC_UNKNOWN) {
                 contentTypeB = 0;
-                SE_LOG_DEBUG (NULL, NULL, "Unknown datasource mimetype, use 0 as default");
+                SE_LOG_DEBUG(NULL, "Unknown datasource mimetype, use 0 as default");
             }
-            SE_LOG_DEBUG(NULL, NULL, "SAN source %s uri %s type %u mode %d",
+            SE_LOG_DEBUG(NULL, "SAN source %s uri %s type %u mode %d",
                          name.c_str(),
                          uri.c_str(),
                          contentTypeB,
                          mode);
             if ( san.AddSync(mode, (uInt32) contentTypeB, uri.c_str())) {
-                SE_LOG_ERROR(NULL, NULL, "SAN: adding server alerted sync element failed");
+                SE_LOG_ERROR(NULL, "SAN: adding server alerted sync element failed");
             };
         } else {
             string mimetype = GetLegacyMIMEType(sourceType.m_format, sourceType.m_forceFormat);
-            SE_LOG_DEBUG(NULL, NULL, "SAN source %s uri %s type %s",
+            SE_LOG_DEBUG(NULL, "SAN source %s uri %s type %s",
                          name.c_str(),
                          uri.c_str(),
                          mimetype.c_str());
@@ -3222,21 +3398,21 @@ bool SyncContext::sendSAN(uint16_t version)
     size_t sanSize;
     if (!legacy) {
         if (san.GetPackage(buffer, sanSize)){
-            SE_LOG_ERROR (NULL, NULL, "SAN package generating failed");
+            SE_LOG_ERROR(NULL, "SAN package generating failed");
             return false;
         }
         //TODO log the binary SAN content
     } else {
-        SE_LOG_DEBUG(NULL, NULL, "SAN with overall sync mode %d", syncMode);
+        SE_LOG_DEBUG(NULL, "SAN with overall sync mode %d", syncMode);
         if (san.GetPackageLegacy(buffer, sanSize, alertedSources, syncMode, getWBXML())){
-            SE_LOG_ERROR (NULL, NULL, "SAN package generating failed");
+            SE_LOG_ERROR(NULL, "SAN package generating failed");
             return false;
         }
-        //SE_LOG_DEBUG (NULL, NULL, "SAN package content: %s", (char*)buffer);
+        //SE_LOG_DEBUG(NULL, "SAN package content: %s", (char*)buffer);
     }
 
     m_agent = createTransportAgent();
-    SE_LOG_INFO (NULL, NULL, "Server sending SAN");
+    SE_LOG_INFO(NULL, "Server sending SAN");
     m_serverAlerted = true;
     m_agent->setContentType(!legacy ? 
                            TransportAgent::m_contentTypeServerAlertedNotificationDS
@@ -3304,19 +3480,19 @@ SyncMLStatus SyncContext::doSync()
     // install signal handlers unless this was explicitly disabled
     bool catchSignals = getenv("SYNCEVOLUTION_NO_SYNC_SIGNALS") == NULL;
     if (catchSignals) {
-        SE_LOG_DEBUG(NULL, NULL, "sync is starting, catch signals");
+        SE_LOG_DEBUG(NULL, "sync is starting, catch signals");
         signalGuard = SuspendFlags::getSuspendFlags().activate();
     }
 
     // delay the sync for debugging purposes
-    SE_LOG_DEBUG(NULL, NULL, "ready to sync");
+    SE_LOG_DEBUG(NULL, "ready to sync");
     const char *delay = getenv("SYNCEVOLUTION_SYNC_DELAY");
     if (delay) {
         Sleep(atoi(delay));
     }
 
-    if (checkForSuspend() ||
-        checkForAbort()) {
+    SuspendFlags &flags = SuspendFlags::getSuspendFlags();
+    if (!flags.isNormal()) {
         return (SyncMLStatus)sysync::LOCERR_USERABORT;
     }
 
@@ -3349,14 +3525,13 @@ SyncMLStatus SyncContext::doSync()
             //by pass the exception if we will try again with legacy SANFormat
         }
 
-        if (checkForSuspend() ||
-            checkForAbort()) {
+        if (!flags.isNormal()) {
             return (SyncMLStatus)sysync::LOCERR_USERABORT;
         }
 
         if (! status) {
             if (sanFormat.empty()) {
-                SE_LOG_DEBUG (NULL, NULL, "Server Alerted Sync init with SANFormat %d failed, trying with legacy format", version);
+                SE_LOG_DEBUG(NULL, "Server Alerted Sync init with SANFormat %d failed, trying with legacy format", version);
                 version = 11;
                 if (!sendSAN (version)) {
                     // return a proper error code 
@@ -3369,8 +3544,7 @@ SyncMLStatus SyncContext::doSync()
         }
     }
 
-    if (checkForSuspend() ||
-        checkForAbort()) {
+    if (!flags.isNormal()) {
         return (SyncMLStatus)sysync::LOCERR_USERABORT;
     }
 
@@ -3492,7 +3666,7 @@ SyncMLStatus SyncContext::doSync()
         sysync::STEPCMD_CLIENTSTART;
     SharedSession session = m_engine.OpenSession(m_sessionID);
     SharedBuffer sendBuffer;
-    SessionSentinel sessionSentinel(*this, session);
+    std::auto_ptr<SessionSentinel> sessionSentinel(new SessionSentinel(*this, session));
 
     if (m_serverMode && !m_localSync) {
         m_engine.WriteSyncMLBuffer(session,
@@ -3514,7 +3688,7 @@ SyncMLStatus SyncContext::doSync()
     // parameter STEPCMD_ABORT -> abort session as soon as possible.
     bool aborting = false;
     int suspending = 0; 
-    time_t sendStart = 0, resendStart = 0;
+    Timespec sendStart, resendStart;
     int requestNum = 0;
     sysync::uInt16 previousStepCmd = stepCmd;
     do {
@@ -3525,8 +3699,8 @@ SyncMLStatus SyncContext::doSync()
             // GOTDATA state.
             // After exception occurs, stepCmd will be set to abort to force
             // aborting, must avoid to change it back to suspend cmd.
-            if (checkForSuspend() && stepCmd == sysync::STEPCMD_GOTDATA) {
-                SE_LOG_DEBUG(NULL, NULL, "suspending before SessionStep() in STEPCMD_GOTDATA as requested by user");
+            if (flags.isSuspended() && stepCmd == sysync::STEPCMD_GOTDATA) {
+                SE_LOG_DEBUG(NULL, "suspending before SessionStep() in STEPCMD_GOTDATA as requested by user");
                 stepCmd = sysync::STEPCMD_SUSPEND;
             }
 
@@ -3543,8 +3717,8 @@ SyncMLStatus SyncContext::doSync()
             if ((stepCmd == sysync::STEPCMD_RESENDDATA ||
                  stepCmd == sysync::STEPCMD_SENTDATA ||
                  stepCmd == sysync::STEPCMD_NEEDDATA) &&
-                checkForAbort()) {
-                SE_LOG_DEBUG(NULL, NULL, "aborting before SessionStep() in %s as requested by script",
+                flags.isAborted()) {
+                SE_LOG_DEBUG(NULL, "aborting before SessionStep() in %s as requested by script",
                              Step2String(stepCmd).c_str());
                 stepCmd = sysync::STEPCMD_ABORT;
             }
@@ -3553,7 +3727,7 @@ SyncMLStatus SyncContext::doSync()
             // let engine contine with its shutdown
             if (stepCmd == sysync::STEPCMD_ABORT) {
                 if (aborting) {
-                    SE_LOG_DEBUG(NULL, NULL, "engine already notified of abort request, reverting to %s",
+                    SE_LOG_DEBUG(NULL, "engine already notified of abort request, reverting to %s",
                                  Step2String(previousStepCmd).c_str());
                     stepCmd = previousStepCmd;
                 } else {
@@ -3563,7 +3737,7 @@ SyncMLStatus SyncContext::doSync()
             // same for suspending
             if (stepCmd == sysync::STEPCMD_SUSPEND) {
                 if (suspending) {
-                    SE_LOG_DEBUG(NULL, NULL, "engine already notified of suspend request, reverting to %s",
+                    SE_LOG_DEBUG(NULL, "engine already notified of suspend request, reverting to %s",
                                  Step2String(previousStepCmd).c_str());
                     stepCmd = previousStepCmd;
                     suspending++;
@@ -3579,18 +3753,18 @@ SyncMLStatus SyncContext::doSync()
                 // and wait for response.
             } else {
                 if (getLogLevel() > 4) {
-                    SE_LOG_DEBUG(NULL, NULL, "before SessionStep: %s", Step2String(stepCmd).c_str());
+                    SE_LOG_DEBUG(NULL, "before SessionStep: %s", Step2String(stepCmd).c_str());
                 }
                 m_engine.SessionStep(session, stepCmd, &progressInfo);
                 if (getLogLevel() > 4) {
-                    SE_LOG_DEBUG(NULL, NULL, "after SessionStep: %s", Step2String(stepCmd).c_str());
+                    SE_LOG_DEBUG(NULL, "after SessionStep: %s", Step2String(stepCmd).c_str());
                 }
                 reportStepCmd(stepCmd);
             }
 
             if (stepCmd == sysync::STEPCMD_SENDDATA &&
                 checkForScriptAbort(session)) {
-                SE_LOG_DEBUG(NULL, NULL, "aborting after SessionStep() in STEPCMD_SENDDATA as requested by script");
+                SE_LOG_DEBUG(NULL, "aborting after SessionStep() in STEPCMD_SENDDATA as requested by script");
 
                 // Catch outgoing message and abort if requested by script.
                 // Report which sources are affected, based on their status code.
@@ -3608,20 +3782,20 @@ SyncMLStatus SyncContext::doSync()
                                                                      sources);
                 if (!explanation.empty()) {
                     string sourceparam = boost::join(sources, " ");
-                    SE_LOG_ERROR(NULL, NULL,
+                    SE_LOG_ERROR(NULL,
                                  "Aborting because of unexpected slow sync for source(s): %s",
                                  sourceparam.c_str());
-                    SE_LOG_INFO(NULL, NULL, "%s", explanation.c_str());
+                    SE_LOG_INFO(NULL, "%s", explanation.c_str());
                 } else {
                     // we should not get here, but if we do, at least log something
-                    SE_LOG_ERROR(NULL, NULL, "aborting as requested by script");
+                    SE_LOG_ERROR(NULL, "aborting as requested by script");
                 }
                 stepCmd = sysync::STEPCMD_ABORT;
                 continue;
             } else if (stepCmd == sysync::STEPCMD_SENDDATA &&
-                       checkForAbort()) {
+                       flags.isAborted()) {
                 // Catch outgoing message and abort if requested by user.
-                SE_LOG_DEBUG(NULL, NULL, "aborting after SessionStep() in STEPCMD_SENDDATA as requested by user");
+                SE_LOG_DEBUG(NULL, "aborting after SessionStep() in STEPCMD_SENDDATA as requested by user");
                 stepCmd = sysync::STEPCMD_ABORT;
                 continue;
             } else if (suspending == 1) {
@@ -3709,8 +3883,8 @@ SyncMLStatus SyncContext::doSync()
                                          "contenttype");
                 m_agent->setContentType(s);
                 sessionKey.reset();
-                
-                sendStart = resendStart = time (NULL);
+
+                sendStart = resendStart = Timespec::monotonic();
                 requestNum ++;
                 // use GetSyncMLBuffer()/RetSyncMLBuffer() to access the data to be
                 // sent or have it copied into caller's buffer using
@@ -3721,8 +3895,8 @@ SyncMLStatus SyncContext::doSync()
                 break;
             }
             case sysync::STEPCMD_RESENDDATA: {
-                SE_LOG_INFO (NULL, NULL, "resend previous message, retry #%d", m_retries);
-                resendStart = time(NULL);
+                SE_LOG_INFO(NULL, "resend previous message, retry #%d", m_retries);
+                resendStart = Timespec::monotonic();
                 /* We are resending previous message, just read from the
                  * previous buffer */
                 m_agent->send(sendBuffer.get(), sendBuffer.size());
@@ -3732,7 +3906,7 @@ SyncMLStatus SyncContext::doSync()
             case sysync::STEPCMD_NEEDDATA:
                 if (!sendStart) {
                     // no message sent yet, record start of wait for data
-                    sendStart = time(NULL);
+                    sendStart = Timespec::monotonic();
                 }
                 switch (m_agent->wait()) {
                 case TransportAgent::ACTIVE:
@@ -3741,21 +3915,23 @@ SyncMLStatus SyncContext::doSync()
                     break;
                
                 case TransportAgent::TIME_OUT: {
-                    time_t duration = time(NULL) - sendStart;
+                    double duration = (Timespec::monotonic() - sendStart).duration();
                     // HTTP SyncML servers cannot resend a HTTP POST
                     // reply.  Other server transports could in theory
                     // resend, but don't have the necessary D-Bus APIs
                     // (MB #6370).
                     // Same if() as below for FAILED.
                     if (m_serverMode ||
-                        !m_retryInterval || duration > m_retryDuration || requestNum == 1) {
-                        SE_LOG_INFO(NULL, NULL,
+                        !m_retryInterval || duration + 0.1 >= m_retryDuration || requestNum == 1) {
+                        SE_LOG_INFO(NULL,
                                     "Transport giving up after %d retries and %ld:%02ldmin",
                                     m_retries,
-                                    (long)(duration / 60),
-                                    (long)(duration % 60));
+                                    (long)duration / 60,
+                                    (long)duration % 60);
                         SE_THROW_EXCEPTION(TransportException, "timeout, retry period exceeded");
                     }else {
+                        // Timeout must have been due to retryInterval having passed, resend
+                        // immediately.
                         m_retries ++;
                         stepCmd = sysync::STEPCMD_RESENDDATA;
                     }
@@ -3786,9 +3962,9 @@ SyncMLStatus SyncContext::doSync()
                         stepCmd = sysync::STEPCMD_GOTDATA; // we have received response data
                         break;
                     } else {
-                        SE_LOG_DEBUG(NULL, NULL, "unexpected content type '%s' in reply, %d bytes:\n%.*s",
+                        SE_LOG_DEBUG(NULL, "unexpected content type '%s' in reply, %d bytes:\n%.*s",
                                      contentType.c_str(), (int)replylen, (int)replylen, reply);
-                        SE_LOG_ERROR(NULL, NULL, "unexpected reply from server; might be a temporary problem, try again later");
+                        SE_LOG_ERROR(NULL, "unexpected reply from server; might be a temporary problem, try again later");
                       } //fall through to network failure case
                 }
                 /* If this is a network error, it usually failed quickly, retry
@@ -3799,37 +3975,43 @@ SyncMLStatus SyncContext::doSync()
                 case TransportAgent::FAILED: {
                     // Send might have failed because of abort or
                     // suspend request.
-                    if (checkForSuspend()) {
-                        SE_LOG_DEBUG(NULL, NULL, "suspending after TransportAgent::FAILED as requested by user");
+                    if (flags.isSuspended()) {
+                        SE_LOG_DEBUG(NULL, "suspending after TransportAgent::FAILED as requested by user");
                         stepCmd = sysync::STEPCMD_SUSPEND;
                         break;
-                    } else if (checkForAbort()) {
-                        SE_LOG_DEBUG(NULL, NULL, "aborting after TransportAgent::FAILED as requested by user");
+                    } else if (flags.isAborted()) {
+                        SE_LOG_DEBUG(NULL, "aborting after TransportAgent::FAILED as requested by user");
                         stepCmd = sysync::STEPCMD_ABORT;
                         break;
                     }
 
-                    time_t curTime = time(NULL);
-                    time_t duration = curTime - sendStart;
-                    // same if() as above for TIME_OUT
+                    Timespec curTime = Timespec::monotonic();
+                    double duration = (curTime - sendStart).duration();
+                    double resendDelay = m_retryInterval - (curTime - resendStart).duration();
+                    if (resendDelay < 0) {
+                        resendDelay = 0;
+                    }
+                    // Similar if() as above for TIME_OUT. In addition, we must check that
+                    // the next resend won't happen after the retryDuration, because then
+                    // we might as well give up now immediately. Include some fuzz factor
+                    // in case we woke up slightly too early.
                     if (m_serverMode ||
-                        !m_retryInterval || duration > m_retryDuration || requestNum == 1) {
-                        SE_LOG_INFO(NULL, NULL,
+                        !m_retryInterval || duration + resendDelay + 0.1 >= m_retryDuration || requestNum == 1) {
+                        SE_LOG_INFO(NULL,
                                     "Transport giving up after %d retries and %ld:%02ldmin",
                                     m_retries,
-                                    (long)(duration / 60),
-                                    (long)(duration % 60));
+                                    (long)duration / 60,
+                                    (long)duration % 60);
                         SE_THROW_EXCEPTION(TransportException, "transport failed, retry period exceeded");
                     } else {
-                        // retry send
-                        int leftTime = m_retryInterval - (curTime - resendStart);
-                        if (leftTime >0 ) {
-                            if (Sleep(leftTime) > 0) {
-                                if (checkForSuspend()) {
-                                    SE_LOG_DEBUG(NULL, NULL, "suspending after premature exit from sleep() caused by user suspend");
+                        // Resend after having ensured that the retryInterval is over.
+                        if (resendDelay > 0) {
+                            if (Sleep(resendDelay) > 0) {
+                                if (flags.isSuspended()) {
+                                    SE_LOG_DEBUG(NULL, "suspending after premature exit from sleep() caused by user suspend");
                                     stepCmd = sysync::STEPCMD_SUSPEND;
                                 } else {
-                                    SE_LOG_DEBUG(NULL, NULL, "aborting after premature exit from sleep() caused by user abort");
+                                    SE_LOG_DEBUG(NULL, "aborting after premature exit from sleep() caused by user abort");
                                     stepCmd = sysync::STEPCMD_ABORT;
                                 }
                                 break;
@@ -3844,12 +4026,12 @@ SyncMLStatus SyncContext::doSync()
                 case TransportAgent::CANCELED:
                     // Send might have failed because of abort or
                     // suspend request.
-                    if (checkForSuspend()) {
-                        SE_LOG_DEBUG(NULL, NULL, "suspending after TransportAgent::CANCELED as requested by user");
+                    if (flags.isSuspended()) {
+                        SE_LOG_DEBUG(NULL, "suspending after TransportAgent::CANCELED as requested by user");
                         stepCmd = sysync::STEPCMD_SUSPEND;
                         break;
-                    } else if (checkForAbort()) {
-                        SE_LOG_DEBUG(NULL, NULL, "aborting after TransportAgent::CANCELED as requested by user");
+                    } else if (flags.isAborted()) {
+                        SE_LOG_DEBUG(NULL, "aborting after TransportAgent::CANCELED as requested by user");
                         stepCmd = sysync::STEPCMD_ABORT;
                         break;
                     }
@@ -3873,26 +4055,26 @@ SyncMLStatus SyncContext::doSync()
             // loop until session done or aborted with error
         } catch (const BadSynthesisResult &result) {
             if (result.result() == sysync::LOCERR_USERABORT && aborting) {
-                SE_LOG_INFO(NULL, NULL, "Aborted as requested.");
+                SE_LOG_INFO(NULL, "Aborted as requested.");
                 stepCmd = sysync::STEPCMD_DONE;
             } else if (result.result() == sysync::LOCERR_USERSUSPEND && suspending) {
-                SE_LOG_INFO(NULL, NULL, "Suspended as requested.");
+                SE_LOG_INFO(NULL, "Suspended as requested.");
                 stepCmd = sysync::STEPCMD_DONE;
             } else if (aborting) {
                 // aborting very early can lead to results different from LOCERR_USERABORT
                 // => don't treat this as error
-                SE_LOG_INFO(NULL, NULL, "Aborted with unexpected result (%d)",
+                SE_LOG_INFO(NULL, "Aborted with unexpected result (%d)",
                             static_cast<int>(result.result()));
                 stepCmd = sysync::STEPCMD_DONE;
             } else {
                 Exception::handle(&status);
-                SE_LOG_DEBUG(NULL, NULL, "aborting after catching fatal error");
+                SE_LOG_DEBUG(NULL, "aborting after catching fatal error");
                 // Don't tell engine to abort when it already did.
                 stepCmd = aborting ? sysync::STEPCMD_DONE : sysync::STEPCMD_ABORT;
             }
         } catch (...) {
             Exception::handle(&status);
-            SE_LOG_DEBUG(NULL, NULL, "aborting after catching fatal error");
+            SE_LOG_DEBUG(NULL, "aborting after catching fatal error");
             // Don't tell engine to abort when it already did.
             stepCmd = aborting ? sysync::STEPCMD_DONE : sysync::STEPCMD_ABORT;
         }
@@ -3900,11 +4082,11 @@ SyncMLStatus SyncContext::doSync()
 
     // If we get here without error, then close down connection normally.
     // Otherwise destruct the agent without further communication.
-    if (!status && !checkForAbort()) {
+    if (!status && !flags.isAborted()) {
         try {
             m_agent->shutdown();
             // TODO: implement timeout for peers which fail to respond
-            while (!checkForAbort() &&
+            while (!flags.isAborted() &&
                    m_agent->wait(true) == TransportAgent::ACTIVE) {
                 // TODO: allow aborting the sync here
             }
@@ -3913,6 +4095,15 @@ SyncMLStatus SyncContext::doSync()
         }
     }
 
+    // Let session shut down before auto-destructing anything else
+    // (like our signal blocker). This may take a while, because it
+    // may involve shutting down the helper background thread which
+    // opened our local datastore.
+    SE_LOG_DEBUG(NULL, "closing session");
+    sessionSentinel.reset();
+    session.reset();
+    SE_LOG_DEBUG(NULL, "session closed");
+
     return status;
 }
 
@@ -3959,11 +4150,11 @@ void SyncContext::status()
                         SyncReport::WITHOUT_CONFLICTS|
                         SyncReport::WITHOUT_REJECTS|
                         SyncReport::WITH_TOTAL);
-    SE_LOG_INFO(NULL, NULL, "Local item changes:\n%s",
+    SE_LOG_INFO(NULL, "Local item changes:\n%s",
                 out.str().c_str());
 
     sourceList.accessSession(getLogDir());
-    LoggerBase::instance().setLevel(Logger::INFO);
+    Logger::instance().setLevel(Logger::INFO);
     string prevLogdir = sourceList.getPrevLogdir();
     bool found = access(prevLogdir.c_str(), R_OK|X_OK) == 0;
 
@@ -3978,9 +4169,9 @@ void SyncContext::status()
             }
         }
     } else {
-        SE_LOG_SHOW(NULL, NULL, "Previous log directory not found.");
+        SE_LOG_SHOW(NULL, "Previous log directory not found.");
         if (getLogDir().empty()) {
-            SE_LOG_SHOW(NULL, NULL, "Enable the 'logdir' option and synchronize to use this feature.");
+            SE_LOG_SHOW(NULL, "Enable the 'logdir' option and synchronize to use this feature.");
         }
     }
 }
@@ -4010,11 +4201,11 @@ static void logRestoreReport(const SyncReport &report, bool dryrun)
     if (!report.empty()) {
         stringstream out;
         report.prettyPrint(out, SyncReport::WITHOUT_SERVER|SyncReport::WITHOUT_CONFLICTS|SyncReport::WITH_TOTAL);
-        SE_LOG_INFO(NULL, NULL, "Item changes %s applied locally during restore:\n%s",
+        SE_LOG_INFO(NULL, "Item changes %s applied locally during restore:\n%s",
                     dryrun ? "to be" : "that were",
                     out.str().c_str());
-        SE_LOG_INFO(NULL, NULL, "The same incremental changes will be applied to the server during the next sync.");
-        SE_LOG_INFO(NULL, NULL, "Use -sync refresh-from-client to replace the complete data on the server.");
+        SE_LOG_INFO(NULL, "The same incremental changes will be applied to the server during the next sync.");
+        SE_LOG_INFO(NULL, "Use -sync refresh-from-client to replace the complete data on the server.");
     }
 }
 
@@ -4071,7 +4262,7 @@ void SyncContext::restore(const string &dirname, RestoreDatabase database)
 
     SourceList sourceList(*this, false);
     sourceList.accessSession(dirname.c_str());
-    LoggerBase::instance().setLevel(Logger::INFO);
+    Logger::instance().setLevel(Logger::INFO);
     initSources(sourceList);
     BOOST_FOREACH(SyncSource *source, sourceList) {
         ConfigPropertyRegistry& registry = SyncSourceConfig::getRegistry();
@@ -4126,16 +4317,15 @@ void SyncContext::restore(const string &dirname, RestoreDatabase database)
 
 void SyncContext::getSessions(vector<string> &dirs)
 {
-    LogDir logging(*this);
-    logging.previousLogdirs(dirs);
+    LogDir::create(*this)->previousLogdirs(dirs);
 }
 
 string SyncContext::readSessionInfo(const string &dir, SyncReport &report)
 {
-    LogDir logging(*this);
-    logging.openLogdir(dir);
-    logging.readReport(report);
-    return logging.getPeerNameFromLogdir(dir);
+    boost::shared_ptr<LogDir> logging(LogDir::create(*this));
+    logging->openLogdir(dir);
+    logging->readReport(report);
+    return logging->getPeerNameFromLogdir(dir);
 }
 
 #ifdef ENABLE_UNIT_TESTS
@@ -4147,7 +4337,7 @@ string SyncContext::readSessionInfo(const string &dir, SyncReport &report)
  * With that setup and a fake SyncContext it is possible to simulate
  * sessions and test the resulting logdirs.
  */
-class LogDirTest : public CppUnit::TestFixture, private SyncContext, private LoggerBase
+class LogDirTest : public CppUnit::TestFixture, private SyncContext, public Logger
 {
 public:
     LogDirTest() :
@@ -4155,11 +4345,11 @@ public:
         m_maxLogDirs(10)
     {
         // suppress output by redirecting into m_out
-        pushLogger(this);
+        addLogger(boost::shared_ptr<Logger>(this, NopDestructor()));
     }
 
     ~LogDirTest() {
-        popLogger();
+        removeLogger(this);
     }
 
     void setUp() {
@@ -4265,21 +4455,16 @@ private:
     }
 
     /** capture output produced while test ran */
-    void messagev(Level level,
-                  const char *prefix,
-                  const char *file,
-                  int line,
-                  const char *function,
+    void messagev(const MessageOptions &options,
                   const char *format,
                   va_list args)
     {
         std::string str = StringPrintfV(format, args);
-        m_out << '[' << levelToStr(level) << ']' << str;
+        m_out << '[' << levelToStr(options.m_level) << ']' << str;
         if (!boost::ends_with(str, "\n")) {
             m_out << std::endl;
         }
     }
-    virtual bool isProcessSafe() const { return false; }
 
     CPPUNIT_TEST_SUITE(LogDirTest);
     CPPUNIT_TEST(testQuickCompare);
@@ -4300,7 +4485,7 @@ private:
      * @return logdir created for the session
      */
     string session(bool changeServer, SyncMLStatus status, ...) {
-        Logger::Level level = LoggerBase::instance().getLevel();
+        Logger::Level level = Logger::instance().getLevel();
         SourceList list(*this, true);
         list.setLogLevel(SourceList::LOGGING_QUIET);
         SyncReport report;
@@ -4350,7 +4535,7 @@ private:
         }
         list.syncDone(status, &report);
 
-        LoggerBase::instance().setLevel(level);
+        Logger::instance().setLevel(level);
         return list.getLogdir();
     }
 
index 8621693..8269c24 100644 (file)
@@ -137,8 +137,8 @@ class SyncContext : public SyncConfig {
      * */
     string m_usedSyncURL;
 
-    /* Indicates whether current sync session is triggered by remote peer
-     * (such as server alerted sync)
+    /* True iff current sync session was triggered by us
+     * (such as in server alerted sync).
      */
     bool m_remoteInitiated;
   public:
@@ -159,6 +159,12 @@ class SyncContext : public SyncConfig {
     static InitMainSignal &GetInitMainSignal();
 
     /**
+     * A signal invoked each time a source has gone through a sync cycle.
+     */
+    typedef boost::signals2::signal<void (const std::string &name, const SyncSourceReport &source)> SourceSyncedSignal;
+    SourceSyncedSignal m_sourceSyncedSignal;
+
+    /**
      * true if binary was compiled as stable release
      * (see gen-autotools.sh)
      */
@@ -640,27 +646,6 @@ class SyncContext : public SyncConfig {
      */
     virtual void reportStepCmd(sysync::uInt16 stepCmd) {}
 
-    /**
-     * Called to find out whether user wants to abort sync.
-     *
-     * Will be called regularly. Once it has flagged an abort, all
-     * following calls should return the same value. When the engine
-     * aborts, the sync is shut down as soon as possible.  The next
-     * sync most likely has to be done in slow mode, so don't do this
-     * unless absolutely necessary.
-     *
-     * @return true if user wants to abort
-     */
-    virtual bool checkForAbort();
-
-    /**
-     * Called to find out whether user wants to suspend sync.
-     *
-     * Same as checkForAbort(), but the session is finished
-     * gracefully so that it can be resumed.
-     */
-    virtual bool checkForSuspend();
-
  private:
     /** initialize members as part of constructors */
     void init();
index d2da2e3..5afef8d 100644 (file)
@@ -967,9 +967,14 @@ std::string SyncReport::formatSyncTimes() const
     if (!m_start) {
         out << "unknown";
     } else {
-        char buffer[160];
-        strftime(buffer, sizeof(buffer), "%c", localtime(&m_start));
-        out << buffer;
+        struct tm tmbuffer, *tm = localtime_r(&m_start, &tmbuffer);
+        if (tm) {
+            char buffer[160];
+            strftime(buffer, sizeof(buffer), "%c", tm);
+            out << buffer;
+        } else {
+            out << "???";
+        }
         if (!m_end) {
             out << ", unknown duration (crashed?!)";
         } else {
index a073a8a..c56506d 100644 (file)
@@ -77,30 +77,12 @@ void SyncSourceBase::throwError(SyncMLStatus status, const string &failure)
 
 SyncMLStatus SyncSourceBase::handleException(HandleExceptionFlags flags)
 {
-    SyncMLStatus res = Exception::handle(this, flags);
+    SyncMLStatus res = Exception::handle(getDisplayName(), flags);
     return res == STATUS_FATAL ?
         STATUS_DATASTORE_FAILURE :
         res;
 }
 
-void SyncSourceBase::messagev(Level level,
-                              const char *prefix,
-                              const char *file,
-                              int line,
-                              const char *function,
-                              const char *format,
-                              va_list args)
-{
-    string newprefix = getDisplayName();
-    if (prefix) {
-        newprefix += ": ";
-        newprefix += prefix;
-    }
-    LoggerBase::instance().messagev(level, newprefix.c_str(),
-                                    file, line, function,
-                                    format, args);
-}
-
 void SyncSourceBase::getDatastoreXML(string &xml, XMLConfigFragments &fragments)
 {
     stringstream xmlstream;
@@ -376,7 +358,7 @@ void SyncSource::requestAnotherSync()
     // stored; instead only a per-session request is set. That's okay
     // for now because restarting is limited to sessions with only
     // one source active (intentional simplification).
-    SE_LOG_DEBUG(this, NULL, "requesting another sync");
+    SE_LOG_DEBUG(getDisplayName(), "requesting another sync");
     SyncContext::requestAnotherSync();
 }
 
@@ -857,7 +839,7 @@ void ItemCache::backupItem(const std::string &item,
         if (link(oldfilename.c_str(), filename.str().c_str())) {
             // Hard linking failed. Record this, then continue
             // by ignoring the old file.
-            SE_LOG_DEBUG(NULL, NULL, "hard linking old %s new %s: %s",
+            SE_LOG_DEBUG(NULL, "hard linking old %s new %s: %s",
                          oldfilename.c_str(),
                          filename.str().c_str(),
                          strerror(errno));
@@ -1265,7 +1247,7 @@ std::string SyncSourceLogging::getDescription(const string &luid)
 void SyncSourceLogging::insertItemAsKey(sysync::KeyH aItemKey, sysync::ItemID newID)
 {
     std::string description = getDescription(aItemKey);
-    SE_LOG_INFO(this, NULL,
+    SE_LOG_INFO(getDisplayName(),
                 description.empty() ? "%s <%s>" : "%s \"%s\"",
                 "adding",
                 !description.empty() ? description.c_str() : "???");
@@ -1274,7 +1256,7 @@ void SyncSourceLogging::insertItemAsKey(sysync::KeyH aItemKey, sysync::ItemID ne
 void SyncSourceLogging::updateItemAsKey(sysync::KeyH aItemKey, sysync::cItemID aID, sysync::ItemID newID)
 {
     std::string description = getDescription(aItemKey);
-    SE_LOG_INFO(this, NULL,
+    SE_LOG_INFO(getDisplayName(),
                 description.empty() ? "%s <%s>" : "%s \"%s\"",
                 "updating",
                 !description.empty() ? description.c_str() : aID ? aID->item : "???");
@@ -1283,7 +1265,7 @@ void SyncSourceLogging::updateItemAsKey(sysync::KeyH aItemKey, sysync::cItemID a
 void SyncSourceLogging::deleteItem(sysync::cItemID aID)
 {
     std::string description = getDescription(aID->item);
-    SE_LOG_INFO(this, NULL,
+    SE_LOG_INFO(getDisplayName(),
                 description.empty() ? "%s <%s>" : "%s \"%s\"",
                 "deleting",
                 !description.empty() ? description.c_str() : aID->item);
index 08cf8f8..745144b 100644 (file)
@@ -22,7 +22,6 @@
 #define INCL_SYNCSOURCE
 
 #include <syncevo/SyncConfig.h>
-#include <syncevo/Logging.h>
 #include <syncevo/SyncML.h>
 #include <syncevo/Timespec.h>
 
@@ -987,7 +986,7 @@ public OperationWrapperSwitch<F, boost::function<F>::arity>
  * this base via different intermediate classes, therefore the
  * need to keep it abstract.
  */
-class SyncSourceBase : public Logger {
+class SyncSourceBase {
  public:
     virtual ~SyncSourceBase() {}
 
@@ -1097,21 +1096,6 @@ class SyncSourceBase : public Logger {
     virtual string getNativeDatatypeName();
 
     /**
-     * Logging utility code.
-     *
-     * Every sync source adds "<name>" as prefix to its output.
-     * All calls are redirected into SyncContext logger.
-     */
-    virtual void messagev(Level level,
-                          const char *prefix,
-                          const char *file,
-                          int line,
-                          const char *function,
-                          const char *format,
-                          va_list args);
-    virtual bool isProcessSafe() const { return true; }
-
-    /**
      * return Synthesis API pointer, if one currently is available
      * (between SyncEvolution_Module_CreateContext() and
      * SyncEvolution_Module_DeleteContext())
@@ -1519,13 +1503,26 @@ class SyncSource : virtual public SyncSourceBase, public SyncSourceConfig, publi
     virtual Database createDatabase(const Database &database) { throwError("creating databases is not supported by backend " + getBackend()); return Database("", ""); }
 
     /**
+     * Removing a database primarily removes the meta data about the
+     * database. The data itself may still exist in a trash folder.
+     * The enum tells the deleteDatabase() call what the intention of
+     * the caller is.
+     */
+    enum RemoveData {
+        REMOVE_DATA_DEFAULT,    /**< do whatever makes most sense for the backend */
+        REMOVE_DATA_FORCE,      /**< force immediate purging of the data, fail if not possible */
+        REMOVE_DATA_KEEP        /**< keep data, only remove access to it */
+    };
+
+    /**
      * Removes a database. To map a "database" property to a uri,
      * instantiate the source with the desired config, open() it and
      * then call getDatabase().
      *
-     * @param uri    unique identifier for the database
+     * @param uri              unique identifier for the database
+     * @param removeData       describes what to do about the database content
      */
-    virtual void deleteDatabase(const std::string &uri) { throwError("deleting databases is not supported by backend " + getBackend()); }
+    virtual void deleteDatabase(const std::string &uri, RemoveData removeData) { throwError("deleting databases is not supported by backend " + getBackend()); }
 
     /**
      * Actually opens the data source specified in the constructor,
@@ -2514,8 +2511,8 @@ class SyncSourceBlob : public virtual SyncSourceBase
         sysync::memSize blksize = aBlkSize ? static_cast<sysync::memSize>(*aBlkSize) : 0,
             totsize = aTotSize ? static_cast<sysync::memSize>(*aTotSize) : 0;
         sysync::TSyError err = m_blob.ReadBlob(aID, aBlobID, aBlkPtr,
-                                               aBlkSize ? &blksize : NULL,
-                                               aTotSize ? &totsize : NULL,
+                                               &blksize,
+                                               &totsize,
                                                aFirst, aLast);
         if (aBlkSize) {
             *aBlkSize = blksize;
index 0dccb86..6c92a5a 100644 (file)
@@ -74,7 +74,7 @@ TSyError SyncEvolution_Module_CreateContext( CContext *mContext, cAppCharP   mod
         }
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "CreateContext %s/%s/%s => %d",
+    SE_LOG_DEBUG(NULL, "CreateContext %s/%s/%s => %d",
                  moduleName, subName, mContextName, err);
     return err;
 }
@@ -90,7 +90,7 @@ CVersion SyncEvolution_Module_Version(CContext mContext)
     CVersion v = Plugin_Version(BuildNumber);
   
     if (mContext) {
-        SE_LOG_DEBUG(NULL, NULL, "Module_Version = %08lx", (long)v);
+        SE_LOG_DEBUG(NULL, "Module_Version = %08lx", (long)v);
     }
     return v;
 }
@@ -122,7 +122,7 @@ TSyError SyncEvolution_Module_Capabilities( CContext mContext, appCharP *mCapabi
     }
 
     *mCapabilities= StrAlloc(s.str().c_str());
-    SE_LOG_DEBUG(NULL, NULL, "Module_Capabilities:\n%s", *mCapabilities);
+    SE_LOG_DEBUG(NULL, "Module_Capabilities:\n%s", *mCapabilities);
     return LOCERR_OK;
 } /* Module_Capabilities */
 
@@ -133,7 +133,7 @@ TSyError SyncEvolution_Module_PluginParams( CContext mContext,
                                             cAppCharP mConfigParams, CVersion engineVersion )
 {
     SyncSource *source  = MoC(mContext);
-    SE_LOG_DEBUG(source, NULL, "Module_PluginParams\n Engine=%08lX\n %s",
+    SE_LOG_DEBUG(source ? source->getDisplayName() : "", "Module_PluginParams\n Engine=%08lX\n %s",
                  (long)engineVersion, mConfigParams);
     /*return LOCERR_CFGPARSE;*/ /* if there are unsupported params */
     return LOCERR_OK;
@@ -152,7 +152,7 @@ extern "C"
 TSyError SyncEvolution_Module_DeleteContext( CContext mContext )
 {
     SyncSource  *source = MoC(mContext);
-    SE_LOG_DEBUG(NULL, NULL, "Module_DeleteContext %s",
+    SE_LOG_DEBUG(NULL, "Module_DeleteContext %s",
                  source ? source->getName().c_str() : "'session'");
     if (source) {
         source->popSynthesisAPI();
@@ -171,7 +171,7 @@ extern "C"
 TSyError SyncEvolution_Session_CreateContext( CContext *sContext, cAppCharP sessionName, DB_Callback sCB )
 { 
     *sContext = (CContext)SyncContext::findContext(sessionName);
-    SE_LOG_DEBUG(NULL, NULL, "Session_CreateContext '%s' %s", 
+    SE_LOG_DEBUG(NULL, "Session_CreateContext '%s' %s", 
                  sessionName, *sContext ? "found" : "not found");
     if (*sContext) {
         return LOCERR_OK;
@@ -191,7 +191,7 @@ TSyError SyncEvolution_Session_AdaptItem( CContext sContext, appCharP *sItemData
 { 
     /**** CAN BE ADAPTED BY USER ****/ 
     // SyncContext* sc= SeC( sContext );
-    SE_LOG_DEBUG(NULL, NULL, "Session_AdaptItem '%s' '%s' '%s' id=%d", 
+    SE_LOG_DEBUG(NULL, "Session_AdaptItem '%s' '%s' '%s' id=%d", 
                  *sItemData1,*sItemData2,*sLocalVars, sIdentifier);
     return LOCERR_OK;
 } /* Session_AdaptItem */
@@ -217,14 +217,14 @@ TSyError SyncEvolution_Session_CheckDevice( CContext sContext,
         sc->flush();
     } else if (id != aDeviceID) {
         // We are using the wrong configuration?! Refuse to continue.
-        SE_LOG_ERROR(NULL, NULL, "remote device ID '%s' in config does not match the one from the peer '%s' - incorrect configuration?!",
+        SE_LOG_ERROR(NULL, "remote device ID '%s' in config does not match the one from the peer '%s' - incorrect configuration?!",
                      id.c_str(), aDeviceID);
         res = DB_Forbidden;
     }
 
     *sDevKey= StrAlloc(aDeviceID);
     *nonce = StrAlloc(sc->getNonce().c_str());
-    SE_LOG_DEBUG(NULL, NULL, "Session_CheckDevice dev='%s' nonce='%s' res=%d",
+    SE_LOG_DEBUG(NULL, "Session_CheckDevice dev='%s' nonce='%s' res=%d",
                  *sDevKey, *nonce, res);
     return res;
 } /* Session_CheckDevice */
@@ -252,7 +252,7 @@ TSyError SyncEvolution_Session_SaveNonce( CContext sContext, cAppCharP nonce )
     if (!sc) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(NULL, NULL, "Session_SaveNonce nonce='%s'",
+    SE_LOG_DEBUG(NULL, "Session_SaveNonce nonce='%s'",
                  nonce);
     sc->setNonce(nonce);
     sc->flush();
@@ -269,7 +269,7 @@ TSyError SyncEvolution_Session_SaveDeviceInfo( CContext sContext, cAppCharP aDev
     if (!sc) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(NULL, NULL, "Session_SaveDeviceInfo info='%s'",
+    SE_LOG_DEBUG(NULL, "Session_SaveDeviceInfo info='%s'",
                  aDeviceInfo );
     sc->setDeviceData(aDeviceInfo);
     sc->flush();
@@ -321,7 +321,7 @@ TSyError SyncEvolution_Session_Login( CContext sContext, cAppCharP sUsername, ap
         res = LOCERR_OK;
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "Session_Login usr='%s' expected user='%s' res=%d",
+    SE_LOG_DEBUG(NULL, "Session_Login usr='%s' expected user='%s' res=%d",
                  sUsername, user.c_str(), res);
     return res;
 } /* Session_Login */
@@ -399,7 +399,7 @@ TSyError SyncEvolution_CreateContext( CContext *aContext, cAppCharP aContextName
         *aContext = (CContext)source;
         err = LOCERR_OK;
     }
-    SE_LOG_DEBUG(source, NULL, "'%s' dev='%s' usr='%s' err=%d",
+    SE_LOG_DEBUG(source ? source->getDisplayName() : "", "'%s' dev='%s' usr='%s' err=%d",
                  aContextName, sDevKey, sUsrKey, err);
     return err;
 }
@@ -413,7 +413,7 @@ uInt32 SyncEvolution_ContextSupport( CContext aContext, cAppCharP aContextRules
     if (!source) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(source, NULL, "ContextSupport %s", aContextRules);
+    SE_LOG_DEBUG(source->getDisplayName(), "ContextSupport %s", aContextRules);
     return 0;
 }
 
@@ -427,7 +427,7 @@ uInt32 SyncEvolution_FilterSupport( CContext aContext, cAppCharP aFilterRules )
   if (!source) {
       return LOCERR_WRONGUSAGE;
   }
-  SE_LOG_DEBUG(source, NULL, "FilterSupport %s", aFilterRules);
+  SE_LOG_DEBUG(source->getDisplayName(), "FilterSupport %s", aFilterRules);
   return 0;
 } /* FilterSupport */
 
@@ -443,7 +443,7 @@ TSyError SyncEvolution_LoadAdminData( CContext aContext, cAppCharP aLocDB,
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_loadAdminData(*source, aLocDB, aRemDB, adminData);
-    SE_LOG_DEBUG(source, NULL, "LoadAdminData '%s' '%s', '%s' res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "LoadAdminData '%s' '%s', '%s' res=%d",
                  aLocDB, aRemDB, *adminData ? *adminData : "", res);
     return res;
 } /* LoadAdminData */
@@ -458,7 +458,7 @@ TSyError SyncEvolution_SaveAdminData( CContext aContext, cAppCharP adminData )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_saveAdminData(*source, adminData);
-    SE_LOG_DEBUG(source, NULL, "SaveAdminData '%s' res=%d", adminData, res);
+    SE_LOG_DEBUG(source->getDisplayName(), "SaveAdminData '%s' res=%d", adminData, res);
     return res;
 } /* SaveAdminData */
 
@@ -486,7 +486,7 @@ bool SyncEvolution_ReadNextMapItem( CContext aContext, MapID mID, bool aFirst )
         res = source->handleException();
     }
 
-    SE_LOG_DEBUG(source, NULL, "ReadNextMapItem '%s' + %x = '%s' + %d first=%s res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "ReadNextMapItem '%s' + %x = '%s' + %d first=%s res=%d",
                  res ? NullPtrCheck(mID->localID) : "(none)",
                  res ? mID->ident : 0,
                  res ? NullPtrCheck(mID->remoteID) : "(none)",
@@ -506,7 +506,7 @@ TSyError SyncEvolution_InsertMapItem( CContext aContext, cMapID mID )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_insertMapItem(*source, mID);
-    SE_LOG_DEBUG(source, NULL, "InsertMapItem '%s' + %x = '%s' + %x res=%d", 
+    SE_LOG_DEBUG(source->getDisplayName(), "InsertMapItem '%s' + %x = '%s' + %x res=%d", 
                  NullPtrCheck(mID->localID), mID->ident,
                  NullPtrCheck(mID->remoteID), mID->flags,
                  res);
@@ -523,7 +523,7 @@ TSyError SyncEvolution_UpdateMapItem( CContext aContext, cMapID mID )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_updateMapItem(*source, mID);
-    SE_LOG_DEBUG(source, NULL, "UpdateMapItem '%s' + %x = '%s' + %x, res=%d", 
+    SE_LOG_DEBUG(source->getDisplayName(), "UpdateMapItem '%s' + %x = '%s' + %x, res=%d", 
                  mID->localID, mID->ident,
                  mID->remoteID, mID->flags,
                  res);
@@ -541,7 +541,7 @@ TSyError SyncEvolution_DeleteMapItem( CContext aContext, cMapID mID )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_deleteMapItem(*source, mID);
-    SE_LOG_DEBUG(source, NULL, "DeleteMapItem '%s' + %x = '%s' + %x res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "DeleteMapItem '%s' + %x = '%s' + %x res=%d",
                  mID->localID, mID->ident,
                  mID->remoteID, mID->flags,
                  res);
@@ -596,7 +596,7 @@ TSyError SyncEvolution_AdaptItem( CContext aContext, appCharP *aItemData1,
   if (!source) {
       return LOCERR_WRONGUSAGE;
   }
-  SE_LOG_DEBUG(source, NULL, "AdaptItem '%s' '%s' '%s' id=%d", 
+  SE_LOG_DEBUG(source->getDisplayName(), "AdaptItem '%s' '%s' '%s' id=%d", 
                *aItemData1, *aItemData2, *aLocalVars, aIdentifier);
   return LOCERR_OK;
 } /* AdaptItem */
@@ -616,7 +616,7 @@ TSyError SyncEvolution_StartDataRead( CContext aContext, cAppCharP   lastToken,
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_startDataRead(*source, lastToken, resumeToken);
-    SE_LOG_DEBUG(source, NULL, "StartDataRead last='%s' resume='%s' res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "StartDataRead last='%s' resume='%s' res=%d",
                  lastToken, resumeToken, res);
     return res;
 }
@@ -634,7 +634,7 @@ TSyError SyncEvolution_ReadNextItemAsKey( CContext aContext, ItemID aID, KeyH aI
     *aStatus = 0;
     memset(aID, 0, sizeof(*aID));
     TSyError res = source->getOperations().m_readNextItem(*source, aID, aStatus, aFirst);
-    SE_LOG_DEBUG(source, NULL, "ReadNextItemAsKey aStatus=%d aID=(%s,%s) res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "ReadNextItemAsKey aStatus=%d aID=(%s,%s) res=%d",
                  *aStatus, aID->item, aID->parent, res);
     return res;
 }
@@ -647,7 +647,7 @@ TSyError SyncEvolution_ReadItemAsKey( CContext aContext, cItemID aID, KeyH aItem
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_readItemAsKey(*source, aID, aItemKey);
-    SE_LOG_DEBUG(source, NULL, "ReadItemAsKey aID=(%s,%s) res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "ReadItemAsKey aID=(%s,%s) res=%d",
                  aID->item, aID->parent, res);
     return res;
 }
@@ -687,7 +687,7 @@ sysync::TSyError SyncEvolution_ReadBlob(CContext aContext, cItemID  aID,  cAppCh
       res = LOCERR_NOTIMP;
   }
 
-  SE_LOG_DEBUG(source, NULL, "ReadBlob aID=(%s,%s) aBlobID=(%s) aBlkPtr=%p aBlkSize=%lu aTotSize=%lu aFirst=%s aLast=%s res=%d",
+  SE_LOG_DEBUG(source->getDisplayName(), "ReadBlob aID=(%s,%s) aBlobID=(%s) aBlkPtr=%p aBlkSize=%lu aTotSize=%lu aFirst=%s aLast=%s res=%d",
                aID->item,aID->parent, aBlobID, aBlkPtr,
                aBlkSize ? (unsigned long)*aBlkSize : 0,
                aTotSize ? (unsigned long)*aTotSize : 0,
@@ -704,7 +704,7 @@ TSyError SyncEvolution_EndDataRead( CContext aContext )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_endDataRead(*source);
-    SE_LOG_DEBUG(source, NULL, "EndDataRead res=%d", res);
+    SE_LOG_DEBUG(source->getDisplayName(), "EndDataRead res=%d", res);
     return res;
 }
 
@@ -719,7 +719,7 @@ TSyError SyncEvolution_StartDataWrite( CContext aContext )
     if (!source) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(source, NULL, "StartDataWrite");
+    SE_LOG_DEBUG(source->getDisplayName(), "StartDataWrite");
     return LOCERR_OK;
 }
 
@@ -732,7 +732,7 @@ TSyError SyncEvolution_InsertItemAsKey( CContext aContext, KeyH aItemKey, ItemID
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_insertItemAsKey(*source, aItemKey, newID);
-    SE_LOG_DEBUG(source, NULL, "InsertItemAsKey res=%d\n", res);
+    SE_LOG_DEBUG(source->getDisplayName(), "InsertItemAsKey res=%d\n", res);
     return res;
 }
 
@@ -746,7 +746,7 @@ TSyError SyncEvolution_UpdateItemAsKey( CContext aContext, KeyH aItemKey, cItemI
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_updateItemAsKey(*source, aItemKey, aID, updID);
-    SE_LOG_DEBUG(source, NULL, "aID=(%s,%s) res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "aID=(%s,%s) res=%d",
                  aID->item,aID->parent, res);
     return res;
 }
@@ -760,7 +760,7 @@ TSyError SyncEvolution_MoveItem( CContext aContext, cItemID aID, cAppCharP newPa
     if (!source) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(source, NULL, "MoveItem aID=(%s,%s) => (%s,%s)",
+    SE_LOG_DEBUG(source->getDisplayName(), "MoveItem aID=(%s,%s) => (%s,%s)",
                  aID->item,aID->parent, aID->item,newParID);
     return LOCERR_NOTIMP;
 }
@@ -775,7 +775,7 @@ TSyError SyncEvolution_DeleteItem( CContext aContext, cItemID aID )
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_deleteItem(*source, aID);
-    SE_LOG_DEBUG(source, NULL, "DeleteItem aID=(%s,%s) res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "DeleteItem aID=(%s,%s) res=%d",
                  aID->item, aID->parent, res);
     return res;
 }
@@ -789,7 +789,7 @@ TSyError SyncEvolution_FinalizeLocalID( CContext aContext, cItemID aID, ItemID u
     if (!source) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(source, NULL, "FinalizeLocalID not implemented");
+    SE_LOG_DEBUG(source->getDisplayName(), "FinalizeLocalID not implemented");
     return LOCERR_NOTIMP;
 }
 
@@ -802,7 +802,7 @@ TSyError SyncEvolution_DeleteSyncSet( CContext aContext )
     if (!source) {
         return LOCERR_WRONGUSAGE;
     }
-    SE_LOG_DEBUG(source, NULL, "DeleteSyncSet not implemented");
+    SE_LOG_DEBUG(source->getDisplayName(), "DeleteSyncSet not implemented");
     return LOCERR_NOTIMP;
 }
 
@@ -830,7 +830,7 @@ TSyError SyncEvolution_WriteBlob(CContext aContext, cItemID aID,  cAppCharP aBlo
         res = LOCERR_NOTIMP;
     }
     
-    SE_LOG_DEBUG(source, NULL, "WriteBlob aID=(%s,%s) aBlobID=(%s) aBlkPtr=%p aBlkSize=%lu aTotSize=%lu aFirst=%s aLast=%s res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "WriteBlob aID=(%s,%s) aBlobID=(%s) aBlkPtr=%p aBlkSize=%lu aTotSize=%lu aFirst=%s aLast=%s res=%d",
                  aID->item,aID->parent, aBlobID, aBlkPtr, (unsigned long)aBlkSize, (unsigned long)aTotSize, 
                  aFirst ? "true" : "false", aLast ? "true" : "false", res);
     return res;
@@ -846,7 +846,7 @@ TSyError SyncEvolution_DeleteBlob( CContext aContext, cItemID aID, cAppCharP aBl
     }
 
     TSyError res = source->getOperations().m_deleteBlob(*source, aID, aBlobID);
-    SE_LOG_DEBUG(source, NULL, "DeleteBlob aID=(%s,%s) aBlobID=(%s) res=%d",
+    SE_LOG_DEBUG(source->getDisplayName(), "DeleteBlob aID=(%s,%s) aBlobID=(%s) res=%d",
                  aID->item,aID->parent, aBlobID, res);
     return res;
 } /* DeleteBlob */
@@ -859,7 +859,7 @@ TSyError SyncEvolution_EndDataWrite( CContext aContext, bool success, appCharP *
         return LOCERR_WRONGUSAGE;
     }
     TSyError res = source->getOperations().m_endDataWrite(*source, success, newToken);
-    SE_LOG_DEBUG(source, NULL, "EndDataWrite %s '%s' res=%d", 
+    SE_LOG_DEBUG(source->getDisplayName(), "EndDataWrite %s '%s' res=%d", 
                  success ? "COMMIT":"ROLLBACK", *newToken, res);
     return res;
 }
@@ -873,7 +873,7 @@ TSyError SyncEvolution_DeleteContext( CContext aContext )
   if (!source) {
       return LOCERR_WRONGUSAGE;
   }
-  SE_LOG_DEBUG(source, NULL, "DeleteContext");
+  SE_LOG_DEBUG(source->getDisplayName(), "DeleteContext");
   source->popSynthesisAPI();
   return LOCERR_OK;
 }
diff --git a/src/syncevo/ThreadSupport.h b/src/syncevo/ThreadSupport.h
new file mode 100644 (file)
index 0000000..b0dc8bb
--- /dev/null
@@ -0,0 +1,137 @@
+/*
+ * Copyright (C) 2013 Intel Corporation
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) version 3.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301  USA
+ */
+
+#ifndef INCL_THREAD_SUPPORT
+# define INCL_THREAD_SUPPORT
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_GLIB
+# include <glib.h>
+#else
+# define GLIB_CHECK_VERSION(major, minor, revision) 0
+#endif
+
+#include <boost/shared_ptr.hpp>
+
+#include <syncevo/declarations.h>
+SE_BEGIN_CXX
+
+// The revised threading API we use below was introduced in glib 2.3.2
+// The fallback for older glib is to not offer thread support.
+// The classes are still defined, they just don't do anything.
+#if GLIB_CHECK_VERSION(2, 32, 0)
+# define HAVE_THREAD_SUPPORT
+
+/**
+ * Core building block for mutices.
+ */
+template<class M, void (*_lock)(M *), void (*_unlock)(M *)> class MutexTemplate
+{
+ protected:
+    M m_mutex;
+
+ public:
+    /**
+     * Created when locking the mutex. When the last copy of it
+     * gets destroyed, the mutex gets unlocked again.
+     */
+    class Guard : private boost::shared_ptr<M>
+    {
+        Guard(M *mutex) throw () :
+           boost::shared_ptr<M>(mutex, _unlock)
+        {}
+        friend class MutexTemplate;
+
+    public:
+        Guard() throw()
+        {}
+
+        void unlock() throw()
+        {
+            boost::shared_ptr<M>::reset();
+        }
+    };
+
+    /**
+     * Lock the mutex and return a handle that'll automatically
+     * unlock the mutex when the last copy gets destroyed.
+     */
+    Guard lock() throw ()
+    {
+        _lock(&m_mutex);
+        return Guard(&m_mutex);
+    }
+};
+
+/**
+ * Initializes a mutex which was allocated dynamically
+ * on the heap or stack and frees allocated resources
+ * when done. It's an error to free a locked mutex.
+ */
+template<class M, void (*_lock)(M *), void (*_unlock)(M *), void (*_init)(M *), void (*_clear)(M *)> class DynMutexTemplate :
+    public MutexTemplate<M, _lock, _unlock>
+{
+ public:
+    DynMutexTemplate()
+    {
+        _init(&MutexTemplate<M, _lock, _unlock>::m_mutex);
+    }
+    ~DynMutexTemplate()
+    {
+        _clear(&MutexTemplate<M, _lock, _unlock>::m_mutex);
+    }
+};
+
+typedef MutexTemplate<GMutex, g_mutex_lock, g_mutex_unlock> Mutex;
+typedef DynMutexTemplate<GMutex, g_mutex_lock, g_mutex_unlock, g_mutex_init, g_mutex_clear> DynMutex;
+typedef MutexTemplate<GRecMutex, g_rec_mutex_lock, g_rec_mutex_unlock> RecMutex;
+typedef DynMutexTemplate<GRecMutex, g_rec_mutex_lock, g_rec_mutex_unlock, g_rec_mutex_init, g_rec_mutex_clear> DynRecMutex;
+
+#else
+
+# undef HAVE_THREAD_SUPPORT
+
+/**
+ * Fallback just to get code compiled.
+ */
+class DummyMutex
+{
+ public:
+    class Guard
+    {
+    public:
+        void unlock() throw() {}
+    };
+
+    Guard lock() throw() { return Guard(); }
+};
+
+typedef DummyMutex Mutex;
+typedef DummyMutex DynMutex;
+typedef DummyMutex RecMutex;
+typedef DummyMutex RecDynMutex;
+
+#endif
+
+SE_END_CXX
+
+#endif // INCL_THREAD_SUPPORT
index 2d0b35f..153c007 100644 (file)
@@ -49,16 +49,16 @@ void TrackingSyncSource::checkStatus(SyncSourceReport &changes)
     string oldRevision = m_metaNode->readProperty("databaseRevision");
     if (!oldRevision.empty()) {
         string newRevision = databaseRevision();
-        SE_LOG_DEBUG(this, NULL, "old database revision '%s', new revision '%s'",
+        SE_LOG_DEBUG(getDisplayName(), "old database revision '%s', new revision '%s'",
                      oldRevision.c_str(),
                      newRevision.c_str());
         if (newRevision == oldRevision) {
-            SE_LOG_DEBUG(this, NULL, "revisions match, no item changes");
+            SE_LOG_DEBUG(getDisplayName(), "revisions match, no item changes");
             mode = CHANGES_NONE;
         }
     }
     if (mode == CHANGES_FULL) {
-        SE_LOG_DEBUG(this, NULL, "using full item scan to detect changes");
+        SE_LOG_DEBUG(getDisplayName(), "using full item scan to detect changes");
     }
 
     detectChanges(*m_trackingNode, mode);
@@ -86,17 +86,17 @@ void TrackingSyncSource::beginSync(const std::string &lastToken, const std::stri
     }
     // slow sync if token is empty
     if (token.empty()) {
-        SE_LOG_DEBUG(this, NULL, "slow sync or testing, do full item scan to detect changes");
+        SE_LOG_DEBUG(getDisplayName(), "slow sync or testing, do full item scan to detect changes");
         mode = CHANGES_SLOW;
     } else {
         string oldRevision = m_metaNode->readProperty("databaseRevision");
         if (!oldRevision.empty()) {
             string newRevision = databaseRevision();
-            SE_LOG_DEBUG(this, NULL, "old database revision '%s', new revision '%s'",
+            SE_LOG_DEBUG(getDisplayName(), "old database revision '%s', new revision '%s'",
                          oldRevision.c_str(),
                          newRevision.c_str());
             if (newRevision == oldRevision) {
-                SE_LOG_DEBUG(this, NULL, "revisions match, no item changes");
+                SE_LOG_DEBUG(getDisplayName(), "revisions match, no item changes");
                 mode = CHANGES_NONE;
             }
 
@@ -107,7 +107,7 @@ void TrackingSyncSource::beginSync(const std::string &lastToken, const std::stri
         }
     }
     if (mode == CHANGES_FULL) {
-        SE_LOG_DEBUG(this, NULL, "using full item scan to detect changes");
+        SE_LOG_DEBUG(getDisplayName(), "using full item scan to detect changes");
     }
 
     bool forceSlowSync = detectChanges(*m_trackingNode, mode);
index c16456b..adfe65e 100644 (file)
@@ -46,6 +46,8 @@ class SyncConfig;
 class TransportAgent
 {
  public:
+    virtual ~TransportAgent() {}
+
     /**
      * set transport specific URL of next message
      */
index 188ab26..cc2e30c 100644 (file)
@@ -36,6 +36,7 @@ src_syncevo_sources = \
   src/syncevo/eds_abi_wrapper.cpp \
   src/syncevo/GLibSupport.h \
   src/syncevo/GLibSupport.cpp \
+  src/syncevo/ThreadSupport.h \
   \
   src/syncevo/SyncML.h \
   src/syncevo/SyncML.cpp \
@@ -149,6 +150,7 @@ src_syncevo_libsyncevolution_include_HEADERS = \
   src/syncevo/Cmdline.h \
   src/syncevo/ConfigFilter.h \
   src/syncevo/GLibSupport.h \
+  src/syncevo/ThreadSupport.h \
   src/syncevo/TrackingSyncSource.h  \
   src/syncevo/MapSyncSource.h \
   src/syncevo/LogRedirect.h \
index 783142d..b27a799 100644 (file)
@@ -252,7 +252,7 @@ int Execute(const std::string &cmd, ExecuteFlags flags) throw()
             if (flags & EXECUTE_NO_STDOUT) {
                 fullcmd += " >/dev/null";
             }
-            SE_LOG_DEBUG(NULL, NULL, "running command via system(): %s", cmd.c_str());
+            SE_LOG_DEBUG(NULL, "running command via system(): %s", cmd.c_str());
             ret = system(fullcmd.c_str());
         } else {
             // Need to catch at least one of stdout or stderr. A
@@ -260,7 +260,7 @@ int Execute(const std::string &cmd, ExecuteFlags flags) throw()
             // are read after system() returns. But we want true
             // streaming of the output, so use fork()/exec() plus
             // reliable output redirection.
-            SE_LOG_DEBUG(NULL, NULL, "running command via fork/exec with output redirection: %s", cmd.c_str());
+            SE_LOG_DEBUG(NULL, "running command via fork/exec with output redirection: %s", cmd.c_str());
             LogRedirect io(flags);
             pid_t child = fork();
             switch (child) {
@@ -296,7 +296,7 @@ int Execute(const std::string &cmd, ExecuteFlags flags) throw()
             }
             case -1:
                 // error handling in parent when fork() fails
-                SE_LOG_ERROR(NULL, NULL, "%s: fork() failed: %s",
+                SE_LOG_ERROR(NULL, "%s: fork() failed: %s",
                              cmd.c_str(), strerror(errno));
                 break;
             default:
@@ -764,31 +764,42 @@ double Sleep(double seconds)
     SuspendFlags &s = SuspendFlags::getSuspendFlags();
     if (s.getState() == SuspendFlags::NORMAL) {
 #ifdef HAVE_GLIB
-        bool triggered = false;
-        GLibEvent timeout(g_timeout_add(seconds * 1000,
-                                        SleepTimeout,
-                                        &triggered),
-                          "glib timeout");
-        while (!triggered) {
-            if (s.getState() != SuspendFlags::NORMAL) {
-                break;
+        // Only use glib if we are the owner of the main context.
+        // Otherwise we would interfere (?) with that owner or
+        // depend on it to drive the context (?). The glib docs
+        // don't say anything about this; in practice, it was
+        // observed that with some versions of glib, a second
+        // thread just blocked here when the main thread was not
+        // processing glib events.
+        if (g_main_context_is_owner(g_main_context_default())) {
+            bool triggered = false;
+            GLibEvent timeout(g_timeout_add(seconds * 1000,
+                                            SleepTimeout,
+                                            &triggered),
+                              "glib timeout");
+            while (!triggered) {
+                if (s.getState() != SuspendFlags::NORMAL) {
+                    break;
+                }
+                g_main_context_iteration(NULL, true);
             }
-            g_main_context_iteration(NULL, true);
-        }
-        // done
-        return 0;
-#else
-        // Only works when abort or suspend requests are delivered via signal.
-        // Not the case when used inside helper processes; but those have
-        // and depend on glib.
-        timeval delay;
-        delay.tv_sec = floor(seconds);
-        delay.tv_usec = (seconds - (double)delay.tv_sec) * 1e6;
-        if (select(0, NULL, NULL, NULL, &delay) != -1) {
             // done
             return 0;
         }
 #endif
+
+        // Fallback when glib is not available or unusable (= outside the main thread).
+        // Busy loop to detect abort requests.
+       Timespec deadline = start + Timespec(floor(seconds), (seconds - floor(seconds)) * 1e9);
+       while (deadline > Timespec::monotonic()) {
+            timeval delay;
+            delay.tv_sec = 0;
+            delay.tv_usec = 1e5;
+            select(0, NULL, NULL, NULL, &delay);
+            if (s.getState() != SuspendFlags::NORMAL) {
+                break;
+            }
+        }
     }
 
     // not done normally, calculate remaining time
@@ -818,7 +829,7 @@ const char * const SYNTHESIS_PROBLEM = "error code from Synthesis engine ";
 const char * const SYNCEVOLUTION_PROBLEM = "error code from SyncEvolution ";
 
 SyncMLStatus Exception::handle(SyncMLStatus *status,
-                               Logger *logger,
+                               const std::string *logPrefix,
                                std::string *explanation,
                                Logger::Level level,
                                HandleExceptionFlags flags)
@@ -831,7 +842,7 @@ SyncMLStatus Exception::handle(SyncMLStatus *status,
     try {
         throw;
     } catch (const TransportException &ex) {
-        SE_LOG_DEBUG(logger, NULL, "TransportException thrown at %s:%d",
+        SE_LOG_DEBUG(logPrefix, "TransportException thrown at %s:%d",
                      ex.m_file.c_str(), ex.m_line);
         error = std::string(TRANSPORT_PROBLEM) + ex.what();
         new_status = SyncMLStatus(sysync::LOCERR_TRANSPFAIL);
@@ -842,7 +853,7 @@ SyncMLStatus Exception::handle(SyncMLStatus *status,
                              Status2String(new_status).c_str());
     } catch (const StatusException &ex) {
         new_status = ex.syncMLStatus();
-        SE_LOG_DEBUG(logger, NULL, "exception thrown at %s:%d",
+        SE_LOG_DEBUG(logPrefix, "exception thrown at %s:%d",
                      ex.m_file.c_str(), ex.m_line);
         error = StringPrintf("%s%s: %s",
                              SYNCEVOLUTION_PROBLEM,
@@ -852,7 +863,7 @@ SyncMLStatus Exception::handle(SyncMLStatus *status,
             level = Logger::DEBUG;
         }
     } catch (const Exception &ex) {
-        SE_LOG_DEBUG(logger, NULL, "exception thrown at %s:%d",
+        SE_LOG_DEBUG(logPrefix, "exception thrown at %s:%d",
                      ex.m_file.c_str(), ex.m_line);
         error = ex.what();
     } catch (const std::exception &ex) {
@@ -866,7 +877,7 @@ SyncMLStatus Exception::handle(SyncMLStatus *status,
     if (flags & HANDLE_EXCEPTION_NO_ERROR) {
         level = Logger::DEBUG;
     }
-    SE_LOG(level, logger, NULL, "%s", error.c_str());
+    SE_LOG(logPrefix, level, "%s", error.c_str());
     if (flags & HANDLE_EXCEPTION_FATAL) {
         // Something unexpected went wrong, can only shut down.
         ::abort();
@@ -1039,7 +1050,11 @@ ScopedEnvChange::~ScopedEnvChange()
 std::string getCurrentTime()
 {
     time_t seconds = time (NULL);
-    tm *data = localtime (&seconds);
+    tm tmbuffer;
+    tm *data = localtime_r(&seconds, &tmbuffer);
+    if (!data) {
+        return "???";
+    }
     arrayptr<char> buffer (new char [13]);
     strftime (buffer.get(), 13, "%y%m%d%H%M%S", data);
     return buffer.get();
index 96f1444..f224d8c 100644 (file)
@@ -22,6 +22,7 @@
 # define INCL_SYNCEVOLUTION_UTIL
 
 #include <syncevo/SyncML.h>
+#include <syncevo/Logging.h>
 
 #include <boost/algorithm/string/case_conv.hpp>
 #include <boost/algorithm/string/predicate.hpp>
 
 #include <syncevo/Timespec.h>    // definitions used to be included in util.h,
                                  // include it to avoid changing code using the time things
-#include <syncevo/Logging.h>
 
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
 
-class Logger;
-
 /** case-insensitive less than for assoziative containers */
 template <class T> class Nocase : public std::binary_function<T, T, bool> {
 public:
@@ -521,12 +519,12 @@ class Exception : public std::runtime_error
      * status code if status still was STATUS_OK when called.
      * Returns updated status code.
      *
-     * @param logger    the class which does the logging
+     * @param logPrefix      passed to SE_LOG* messages
      * @retval explanation   set to explanation for problem, if non-NULL
      * @param level     level to be used for logging
      */
-    static SyncMLStatus handle(SyncMLStatus *status = NULL, Logger *logger = NULL, std::string *explanation = NULL, Logger::Level = Logger::ERROR, HandleExceptionFlags flags = HANDLE_EXCEPTION_FLAGS_NONE);
-    static SyncMLStatus handle(Logger *logger, HandleExceptionFlags flags = HANDLE_EXCEPTION_FLAGS_NONE) { return handle(NULL, logger, NULL, Logger::ERROR, flags); }
+    static SyncMLStatus handle(SyncMLStatus *status = NULL, const std::string *logPrefix = NULL, std::string *explanation = NULL, Logger::Level = Logger::ERROR, HandleExceptionFlags flags = HANDLE_EXCEPTION_FLAGS_NONE);
+    static SyncMLStatus handle(const std::string &logPrefix, HandleExceptionFlags flags = HANDLE_EXCEPTION_FLAGS_NONE) { return handle(NULL, &logPrefix, NULL, Logger::ERROR, flags); }
     static SyncMLStatus handle(std::string &explanation, HandleExceptionFlags flags = HANDLE_EXCEPTION_FLAGS_NONE) { return handle(NULL, NULL, &explanation, Logger::ERROR, flags); }
     static void handle(HandleExceptionFlags flags) { handle(NULL, NULL, NULL, Logger::ERROR, flags); }
     static void log() { handle(NULL, NULL, NULL, Logger::DEBUG); }
index b2e4b2a..801a5cf 100644 (file)
@@ -196,7 +196,7 @@ private:
                             const std::string &newOwner)
     {
         if (name == "org.syncevolution") {
-            SE_LOG_ERROR(NULL, NULL, "The SyncEvolution D-Bus service died unexpectedly. A running sync might still be able to complete normally, but the command line cannot report progress anymore and has to quit.");
+            SE_LOG_ERROR(NULL, "The SyncEvolution D-Bus service died unexpectedly. A running sync might still be able to complete normally, but the command line cannot report progress anymore and has to quit.");
             m_result = false;
             g_main_loop_quit(m_loop);
         }
@@ -421,7 +421,7 @@ int main( int argc, char **argv )
     // stdout is printed normally. Deconstructing it when
     // leaving main() does one final processing of pending
     // output.
-    LogRedirect redirect(false);
+    PushLogger<LogRedirect> redirect(new LogRedirect(LogRedirect::STDERR));
     setvbuf(stderr, NULL, _IONBF, 0);
     setvbuf(stdout, NULL, _IONBF, 0);
 
@@ -430,6 +430,9 @@ int main( int argc, char **argv )
     // Expand PATH to cover the directory we were started from?
     // This might be needed to find normalize_vcard.
     char *exe = strdup(argv[0]);
+    if (!exe) {
+        SE_THROW("out of memory");
+    }
     if (strchr(exe, '/') ) {
         char *dir = dirname(exe);
         string path;
@@ -445,7 +448,7 @@ int main( int argc, char **argv )
 
     try {
         if (getenv("SYNCEVOLUTION_DEBUG")) {
-            LoggerBase::instance().setLevel(Logger::DEBUG);
+            Logger::instance().setLevel(Logger::DEBUG);
         }
 
         SyncEvo::KeyringSyncCmdline cmdline(argc, argv);
@@ -470,7 +473,7 @@ int main( int argc, char **argv )
             }
             return 1;
 #else
-            SE_LOG_ERROR(NULL, NULL, "this syncevolution binary was compiled without support for monitoring a background sync");
+            SE_LOG_ERROR(NULL, "this syncevolution binary was compiled without support for monitoring a background sync");
             return 1;
 #endif
         } else if(cmdline.status() && 
@@ -485,7 +488,7 @@ int main( int argc, char **argv )
             }
             return 1;
 #else
-            SE_LOG_SHOW(NULL, NULL, "this syncevolution binary was compiled without support for monitoring a background sync");
+            SE_LOG_SHOW(NULL, "this syncevolution binary was compiled without support for monitoring a background sync");
             return 1;
 #endif
         } else if (useDaemon ||
@@ -501,12 +504,12 @@ int main( int argc, char **argv )
             } else {
                 // User didn't select --use-daemon and thus doesn't need to know about it
                 // not being available.
-                // SE_LOG_SHOW(NULL, NULL, "WARNING: cannot run syncevolution as daemon. "
+                // SE_LOG_SHOW(NULL, "WARNING: cannot run syncevolution as daemon. "
                 //             "Trying to run it without daemon.");
             }
 #else
             if (useDaemon.wasSet()) {
-                SE_LOG_SHOW(NULL, NULL, "ERROR: this syncevolution binary was compiled without support of daemon. "
+                SE_LOG_SHOW(NULL, "ERROR: this syncevolution binary was compiled without support of daemon. "
                             "Either run syncevolution with '--use-daemon=no' or without that option."); 
                 return 1;
             }
@@ -532,9 +535,9 @@ int main( int argc, char **argv )
             }
         }
     } catch ( const std::exception &ex ) {
-        SE_LOG_ERROR(NULL, NULL, "%s", ex.what());
+        SE_LOG_ERROR(NULL, "%s", ex.what());
     } catch (...) {
-        SE_LOG_ERROR(NULL, NULL, "unknown error");
+        SE_LOG_ERROR(NULL, "unknown error");
     }
 
     return 1;
@@ -572,7 +575,7 @@ bool RemoteDBusServer::checkStarted(bool printError)
 {
     if(!m_attached) {
         if (printError) {
-            SE_LOG_ERROR(NULL, NULL, "SyncEvolution D-Bus server not available.");
+            SE_LOG_ERROR(NULL, "SyncEvolution D-Bus server not available.");
         }
         return false;
     }
@@ -613,12 +616,12 @@ void RemoteDBusServer::versionCb(const StringMap &versions,
 {
     replyInc();
     if (!error.empty()) {
-        SE_LOG_DEBUG(NULL, NULL, "Server.GetVersions(): %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "Server.GetVersions(): %s", error.c_str());
     } else {
         StringMap::const_iterator it = versions.find("version");
         if (it != versions.end() &&
             it->second != VERSION) {
-            SE_LOG_INFO(NULL, NULL,
+            SE_LOG_INFO(NULL,
                         "proceeding despite version mismatch between command line client 'syncevolution' and 'syncevo-dbus-server' (%s != %s)",
                         it->second.c_str(),
                         VERSION);
@@ -664,7 +667,7 @@ void RemoteDBusServer::infoResponseCb(const string &error)
 {
     replyInc();
     if(!error.empty()) {
-        SE_LOG_ERROR(NULL, NULL, "information response failed.");
+        SE_LOG_ERROR(NULL, "information response failed.");
         m_result = false;
     }
     g_main_loop_quit(m_loop);
@@ -680,7 +683,7 @@ void RemoteDBusServer::sessionChangedCb(const DBusObject_t &object, bool active)
 void RemoteDBusServer::daemonGone()
 {
     //print error info and exit
-    SE_LOG_ERROR(NULL, NULL, "Background sync daemon has gone.");
+    SE_LOG_ERROR(NULL, "Background sync daemon has gone.");
     exit(1);
 }
 
@@ -741,8 +744,8 @@ bool RemoteDBusServer::execute(const vector<string> &args, const string &peer, b
         while(!isActive()) {
             g_main_loop_run(m_loop);
         }
-        // Logger::Level level = LoggerBase::instance().getLevel();
-        // LoggerBase::instance().setLevel(Logger::DEBUG);
+        // Logger::Level level = Logger::instance().getLevel();
+        // Logger::instance().setLevel(Logger::DEBUG);
         resetReplies();
         m_session->executeAsync(args);
 
@@ -769,7 +772,7 @@ bool RemoteDBusServer::execute(const vector<string> &args, const string &peer, b
         }
 
         //restore logging level
-        // LoggerBase::instance().setLevel(level);
+        // Logger::instance().setLevel(level);
         m_session->setRunSync(false);
     }
     return m_result;
@@ -779,9 +782,9 @@ void RemoteDBusServer::startSessionCb(const DBusObject_t &sessionPath, const str
 {
     replyInc();
     if(!error.empty()) {
-        SE_LOG_ERROR(NULL, NULL, "starting D-Bus session failed: %s", error.c_str());
+        SE_LOG_ERROR(NULL, "starting D-Bus session failed: %s", error.c_str());
         if (error.find("org.freedesktop.DBus.Error.UnknownMethod") != error.npos) {
-            SE_LOG_INFO(NULL, NULL, "syncevo-dbus-server is most likely too old");
+            SE_LOG_INFO(NULL, "syncevo-dbus-server is most likely too old");
         }
         m_result = false;
         g_main_loop_quit(m_loop);
@@ -813,9 +816,9 @@ void RemoteDBusServer::runningSessions()
     vector<DBusObject_t> sessions = DBusClientCall1< vector<DBusObject_t> >(*this, "GetSessions")();
 
     if (sessions.empty()) {
-        SE_LOG_SHOW(NULL, NULL, "Background sync daemon is idle.");
+        SE_LOG_SHOW(NULL, "Background sync daemon is idle.");
     } else {
-        SE_LOG_SHOW(NULL, NULL, "Running session(s): ");
+        SE_LOG_SHOW(NULL, "Running session(s): ");
 
         // create local objects for sessions
         BOOST_FOREACH(const DBusObject_t &path, sessions) {
@@ -834,7 +837,7 @@ void RemoteDBusServer::runningSessions()
                 session.setConfigName(config);
 
                 if (!session.configName().empty()) {
-                    SE_LOG_SHOW(NULL, NULL, "   %s (%s)", session.configName().c_str(), session.getPath());
+                    SE_LOG_SHOW(NULL, "   %s (%s)", session.configName().c_str(), session.getPath());
                 }
             }
         }
@@ -876,7 +879,7 @@ bool RemoteDBusServer::monitor(const string &peer)
     vector<DBusObject_t> sessions = DBusClientCall1< vector<DBusObject_t> >(*this, "GetSessions")();
 
     if (sessions.empty()) {
-        SE_LOG_SHOW(NULL, NULL, "Background sync daemon is idle, no session available to be be monitored.");
+        SE_LOG_SHOW(NULL, "Background sync daemon is idle, no session available to be be monitored.");
     } else {
         // cheating: client and server might normalize the peer name differently...
         string peerNorm = SyncConfig::normalizeConfigString(peer);
@@ -894,9 +897,9 @@ bool RemoteDBusServer::monitor(const string &peer)
 
                 if (peer.empty() ||
                     peerNorm == session->configName()) {
-                    SE_LOG(Logger::SHOW, NULL, NULL, "Monitoring '%s' (%s)\n",
-                           session->configName().c_str(),
-                           session->getPath());
+                    SE_LOG_SHOW(NULL, "Monitoring '%s' (%s)\n",
+                                session->configName().c_str(),
+                                session->getPath());
                     // set DBusServer::m_session so that RemoteSession::logOutput gets called
                     // and enable printing that output
                     m_session = session;
@@ -907,12 +910,12 @@ bool RemoteDBusServer::monitor(const string &peer)
                         g_main_loop_run(getLoop());
                     }
 
-                    SE_LOG(Logger::SHOW, NULL, NULL, "Monitoring done");
+                    SE_LOG_SHOW(NULL, "Monitoring done");
                     return true;
                 }
             }
         }
-        SE_LOG_SHOW(NULL, NULL, "'%s' is not running.", peer.c_str());
+        SE_LOG_SHOW(NULL, "'%s' is not running.", peer.c_str());
     }
     return false;
 }
@@ -945,7 +948,7 @@ void RemoteSession::executeCb(const string &error)
 {
     m_server.replyInc();
     if(!error.empty()) {
-        SE_LOG_ERROR(NULL, NULL, "running the command line inside the D-Bus server failed");
+        SE_LOG_ERROR(NULL, "running the command line inside the D-Bus server failed");
         m_server.setResult(false);
         //end to print outputs
         m_output = false;
@@ -986,7 +989,7 @@ void RemoteSession::setConfigName(const Config_t &config)
 static void interruptCb(const std::string &error)
 {
     if (!error.empty()) {
-        SE_LOG_DEBUG(NULL, NULL, "interruptAsync() error from remote: %s", error.c_str());
+        SE_LOG_DEBUG(NULL, "interruptAsync() error from remote: %s", error.c_str());
     }
 }
 
@@ -1000,8 +1003,9 @@ void RemoteSession::interruptAsync(const char *operation)
 void RemoteSession::logOutput(Logger::Level level, const string &log, const string &procname)
 {
     if(m_output) {
-        ProcNameGuard guard(procname);
-        SE_LOG(level, NULL, NULL, "%s", log.c_str());
+        Logger::MessageOptions options(level);
+        options.m_processName = &procname;
+        SyncEvo::Logger::instance().messageWithOptions(options, "%s", log.c_str());
     }
 }
 
@@ -1048,7 +1052,7 @@ void RemoteSession::handleInfoReq(const string &type, const StringMap &params, S
             }
             resp["password"] = string(buffer);
         } else {
-            SE_LOG_ERROR(NULL, NULL, "could not read password for %s", descr.c_str());
+            SE_LOG_ERROR(NULL, "could not read password for %s", descr.c_str());
         }
     }
 }
index 1ab7646..8b818cf 100644 (file)
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
-# Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 #
 # The GTK GUI needs some of the headers (syerror.h).
 VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -58,14 +75,19 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
 SOURCES =
 DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ADDRESSBOOK_CFLAGS = @ADDRESSBOOK_CFLAGS@
@@ -117,6 +139,7 @@ DBUS_PIM_PLUGIN_LIBS = @DBUS_PIM_PLUGIN_LIBS@
 DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
 EASCLIENT_CFLAGS = @EASCLIENT_CFLAGS@
@@ -168,6 +191,8 @@ GUI_CFLAGS = @GUI_CFLAGS@
 GUI_DESKTOP_FILES = @GUI_DESKTOP_FILES@
 GUI_LIBS = @GUI_LIBS@
 GUI_PROGRAMS = @GUI_PROGRAMS@
+ICU_CFLAGS = @ICU_CFLAGS@
+ICU_LIBS = @ICU_LIBS@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -179,6 +204,10 @@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 INTLTOOL_MERGE = @INTLTOOL_MERGE@
 INTLTOOL_PERL = @INTLTOOL_PERL@
 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
 KCALEXTENDED_CFLAGS = @KCALEXTENDED_CFLAGS@
 KCALEXTENDED_LIBS = @KCALEXTENDED_LIBS@
 KDE4_CONFIG = @KDE4_CONFIG@
@@ -212,6 +241,7 @@ LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
 MCALB_CFLAGS = @MCALB_CFLAGS@
 MCALB_LIBS = @MCALB_LIBS@
 MKDIR_P = @MKDIR_P@
@@ -249,6 +279,8 @@ PCRECPP_LIBS = @PCRECPP_LIBS@
 PHONENUMBERS_CFLAGS = @PHONENUMBERS_CFLAGS@
 PHONENUMBERS_LIBS = @PHONENUMBERS_LIBS@
 PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 POFILES = @POFILES@
 POSUB = @POSUB@
 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
@@ -313,6 +345,7 @@ abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
 abs_top_builddir = @abs_top_builddir@
 abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
@@ -342,11 +375,12 @@ htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
 install_sh = @install_sh@
+intltool__v_merge_options_ = @intltool__v_merge_options_@
+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
 libdir = @libdir@
 libexecdir = @libexecdir@
 localedir = @localedir@
 localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -453,10 +487,15 @@ install-am: all-am
 
 installcheck: installcheck-am
 install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-         `test -z '$(STRIP)' || \
-           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
 mostlyclean-generic:
 
 clean-generic:
index 3673ee0..0b9604f 100644 (file)
@@ -1,6 +1,115 @@
 # Generated by configure.  Do not edit.
-# git revision aef307f75b31362f31235367279671ddf5e8eb15
-# git tag libsynthesis_3.4.0.47+syncevolution-1-3-99-3
+# git revision 336683148e1cfa7c3d052582d0e8cc2b6dd72c74
+# git tag libsynthesis_3.4.0.47+syncevolution-1-3-99-3-14-g3366831
+
+2013-04-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * configure.in:
+
+       autotools: bump Linux/SyncEvolution sub-version for thread
+       support
+
+2013-04-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/Targets/ReleasedProducts/combiEngine_opensource_linux/target_options.h:
+       * src/gen-makefile-am.sh:
+
+       Linux: enable multithreading for combi engine
+
+2013-05-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync/debuglogger.cpp:
+       * src/sysync/debuglogger.h:
+
+       debuglogger: fix use-after-free bug with separate logs
+
+2013-05-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync/debuglogger.cpp:
+
+       debuglogger: fix uninitialized memory read when using separate
+       logs
+
+2013-04-26  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/platform_adapters/unix_common/platform_thread.cpp:
+       * src/synthesis-linker.map:
+
+       Linux: allow overriding blocking pthread code
+
+2013-04-25  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/platform_adapters/unix_common/platform_thread.cpp:
+
+       Linux: fix compiler warning in threading code
+
+2013-04-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync/stdlogicds.cpp:
+
+       TStdLogicDS: fix uninitialized memory read when using
+       multithreading
+
+2013-04-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/platform_adapters/platform_thread.h:
+       * src/sysync/debuglogger.cpp:
+       * src/sysync/debuglogger.h:
+       * src/sysync/stdlogicds.cpp:
+
+       engine: fix thread support for Linux
+
+2013-03-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync_SDK/Sources/SDK_util.c:
+       * src/sysync_SDK/Sources/blobs.cpp:
+
+       SDK: handle malloc failures
+
+2013-03-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync/binfileimplds.cpp:
+
+       binfileimplds: avoid potential uninitialized memory read
+
+2013-03-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/sysync/binfileimplclient.cpp:
+
+       binfileclient: avoid leak
+
+2013-03-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncml_tk/src/sml/xlt/all/xltdec.c:
+
+       SyncML Toolkit: avoid use-after-free bug
+
+2013-03-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/DB_interfaces/api_db/pluginapids.h:
+       * src/Transport_interfaces/engine/enginesessiondispatch.h:
+       * src/sysync/debuglogger.h:
+       * src/sysync/engineinterface.h:
+       * src/sysync/itemfield.h:
+       * src/sysync/mimedirprofile.h:
+       * src/sysync/syncappbase.h:
+       * src/sysync/synccommand.h:
+       * src/sysync/syncdatastore.h:
+       * src/sysync/syncitem.h:
+       * src/sysync/syncitemtype.h:
+       * src/sysync_SDK/Sources/dbitem.h:
+       * src/sysync_SDK/Sources/enginemodulebase.h:
+       * src/sysync_SDK/Sources/san.h:
+       * src/sysync_SDK/Sources/sysync_noncopyable.h:
+       * src/sysync_SDK/Sources/sysync_utils.h:
+
+       mark classes a noncopyable
+
+2013-03-19  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/DB_interfaces/api_db/DLL_interface.cpp:
+
+       DLL DB interface: fix memory leak in error path
 
 2013-02-27  Patrick Ohly  <patrick.ohly@intel.com>
 
        Initial Commit by Synthesis AG for Open Source libsynthesis
        3.2.0.25 and libsmltk
 
-VSource.cpp:
+bject for ConnMan and Bluez
+
+2012-01-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/server/network-manager-client.cpp:
+       * test/test-dbus.py:
+
+       D-Bus testing: ignore Network Manager when testing ConnMan
+
+2012-01-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+
+       Merge commit 'syncevolution-1-2-2'
+
+2012-01-13  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * NEWS:
+       * configure-pre.in:
+
+       autotools + NEWS: updated for 1.2.2 release
+
+2012-01-13  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/lcs.h:
+
+       lcs: must include unistd.h for (s)size_t
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/configure-sub.in:
+
+       WebDAV: fixed libneon compatibility mode when compiling against
+       libneon-gnutls
+
+2012-01-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo-dbus-server.cpp:
+       * test/test-dbus.py:
+
+       syncevo-dbus-server + ConnMan: fixed "online" detection (BMC
+       #21541, BMD #24587)
+
+2012-01-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/SyncContext.cpp:
+
+       sync logic: INFO message about writing backups
+
+2012-01-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/SyncContext.cpp:
+
+       sync logic: dumpData + printChanges logic was broken (BMC #24619)
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/eds_abi_wrapper.cpp:
+
+       EDS compatibility: bumped version check for EDS 3.2
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/qt/Makefile.am:
+
+       autotools: include missing src/dbus/qt/configure-sub.in
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/Makefile-gen.am:
+
+       autotools: exclude .gitignore from source .tar.gz
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * Makefile.am:
+
+       documentation: Fedora workaround
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * Makefile.am:
+       * README.rst:
+       * configure-post.in:
+
+       documentation: more readable --help, support cross-compilation
+       better
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+
+       testing: extended LD_LIBRARY_PATH
+
+2012-01-11  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GDBus GIO: fixed compile error
+
+2012-01-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+
+       Merge branch 'syncevolution-1-2-branch'
+
+2011-12-21  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/Cmdline.h:
+
+       Cmdline: fixed a clang warning
+
+2011-12-19  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/interfaces/syncevo-session-full.xml:
+
+       D-Bus API: added documentation for Session.Attach/Detach()
+
+2011-12-19  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GIO GDBus: fixed memory corruption
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/server/bluez-manager.cpp:
+       * src/dbus/server/bluez-manager.h:
+       * src/dbus/server/connection.cpp:
+       * src/dbus/server/connman-client.cpp:
+       * src/dbus/server/connman-client.h:
+       * src/dbus/server/main.cpp:
+       * src/dbus/server/network-manager-client.cpp:
+       * src/dbus/server/network-manager-client.h:
+       * src/dbus/server/server.cpp:
+       * src/gdbus/gdbus-cxx-bridge.cpp:
+       * src/gdbus/gdbus-cxx-bridge.h:
+       * src/gdbus/test/example.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+       * src/gdbusxx/test/example.cpp:
+       * src/syncevolution.cpp:
+
+       GDBus: API and usage cleanup
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/src.am:
+
+       autotools: added missing dependency syncevolution ->
+       libgdbussyncevo
+
+2011-12-15  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/src.am:
+       * src/syncevo/syncevo.am:
+
+       autotools: added rule for libsynthesis.la
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/mainloop.c:
+
+       GDBus: fixed invalid memory access
+
+2011-12-15  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/mainloop.c:
+
+       GDBus: updated logging
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+       * test/valgrindcheck.sh:
+       * test/wrappercheck.sh:
+
+       testing: added testing of syncevo-http-server
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/syncevo-http-server.py:
+
+       syncevo-http-server: fixed error handling after unexpected end of
+       session
+
+2011-12-16  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: fixed CLIENT_TEST_LOG
+
+2011-12-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * po/de.po:
+       * po/en_GB.po:
+       * po/en_US.po:
+       * po/es.po:
+       * po/fi.po:
+       * po/fr.po:
+       * po/it.po:
+       * po/ja.po:
+       * po/ko.po:
+       * po/nl.po:
+       * po/pl.po:
+       * po/pt_BR.po:
+       * po/ru.po:
+       * po/sv.po:
+       * po/zh_CN.po:
+       * po/zh_TW.po:
+
+       updated translations
+
+2011-12-01  Jussi Kukkonen  <jku@linux.intel.com>
+
+       * src/gtk-ui/sync-config-widget.c:
+
+       Do not accept service config without a username (BMC#23106)
+
+2011-12-13  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+       * test/ClientTest.h:
+
+       testing: renamed the subset tests
+
+2011-12-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+
+       ActiveSync: fixed memory leak
+
+2011-12-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+
+       ActiveSync: handle missing recurrence ID
+
+2011-12-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+       * src/backends/activesync/ActiveSyncSource.cpp:
+
+       ActiveSync: return 404 status codes when items are not found
+
+2011-12-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: ActiveSync has no X-LIC-LOCATION
+
+2011-12-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/testcases/eds_event.ics.exchange.tem.patch:
+
+       testing: adapted ActiveSync eds events to 123together.com
+
+2011-12-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/client-test-app.cpp:
+       * src/syncevo/LogRedirect.cpp:
+
+       testing: use glib log handler
+
+2011-12-08  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/Logging.cpp:
+       * src/syncevo/Logging.h:
+       * src/syncevo/SyncContext.cpp:
+
+       logging: capture glib log output via default handler
+
+2011-12-07  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+       * src/backends/activesync/ActiveSyncSource.cpp:
+
+       ActiveSync: fixed leak of sync key
+
+2011-12-07  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncSource.cpp:
+
+       ActiveSync: fixed leak of GSList
+
+2011-12-07  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/util.cpp:
+
+       UUID: use rand_r()
+
+2011-12-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/test-dbus.py:
+
+       D-Bus testing: further fixes for running under valgrind
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+       * src/backends/activesync/activesync.am:
+       * src/backends/activesync/configure-sub.in:
+       * src/syncevo/Cmdline.cpp:
+       * src/syncevo/SyncSource.cpp:
+       * src/syncevo/SynthesisDBPlugin.cpp:
+       * test/resultchecker.py:
+       * test/runtests.py:
+       * test/wrappercheck.sh:
+
+       testing: added activesyncd compilation + coverage
+
+2011-12-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/resultchecker.py:
+
+       testing: better skipping of irrelevant log files
+
+2011-12-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/synccompare.pl:
+
+       synccompare: handle TZID with brackets and quotation marks
+
+2011-12-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+
+       testing: better logging of .html production
+
+2011-12-06  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/SyncSource.h:
+       * test/ClientTest.cpp:
+
+       testing: delay creating expected additional VEVENTs for Exchange
+
+2011-12-05  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/resultchecker.py:
+
+       D-Bus testing: more fixes for parsing of Python 2.7 output + HTML
+       output
+
+2011-10-18  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/interfaces/syncevo-server-full.xml:
+       * src/dbus/interfaces/syncevo-session-full.xml:
+       * src/dbus/server/read-operations.cpp:
+       * src/dbus/server/read-operations.h:
+       * src/dbus/server/server.cpp:
+       * src/dbus/server/session.cpp:
+       * src/dbus/server/session.h:
+       * test/test-dbus.py:
+
+       D-Bus API: allow setting different configs in the same session
+
+2011-12-01  Chris Kühl  <chrisk@openismus.com>
+
+       * po/POTFILES.in:
+       * src/dbus/server/NotificationBackendBase.h:
+       * src/dbus/server/NotificationBackendLibnotify.cpp:
+       * src/dbus/server/NotificationBackendLibnotify.h:
+       * src/dbus/server/NotificationBackendMLite.cpp:
+       * src/dbus/server/NotificationBackendMLite.h:
+       * src/dbus/server/NotificationBackendNoop.cpp:
+       * src/dbus/server/NotificationBackendNoop.h:
+       * src/dbus/server/NotificationManager.cpp:
+       * src/dbus/server/NotificationManager.h:
+       * src/dbus/server/NotificationManagerBase.h:
+       * src/dbus/server/NotificationManagerFactory.cpp:
+       * src/dbus/server/NotificationManagerFactory.h:
+       * src/dbus/server/auto-sync-manager.h:
+       * src/dbus/server/notification-backend-base.h:
+       * src/dbus/server/notification-backend-libnotify.cpp:
+       * src/dbus/server/notification-backend-libnotify.h:
+       * src/dbus/server/notification-backend-mlite.cpp:
+       * src/dbus/server/notification-backend-mlite.h:
+       * src/dbus/server/notification-backend-noop.cpp:
+       * src/dbus/server/notification-backend-noop.h:
+       * src/dbus/server/notification-manager-base.h:
+       * src/dbus/server/notification-manager-factory.cpp:
+       * src/dbus/server/notification-manager-factory.h:
+       * src/dbus/server/notification-manager.cpp:
+       * src/dbus/server/notification-manager.h:
+       * src/dbus/server/server.am:
+
+       dbus-server: Make dbus-server notification file names conformant
+
+2011-11-02  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/CurlTransportAgent.cpp:
+
+       Curl transport: support SSLServerCertificates=<path>
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/sys.supp:
+
+       testing: added some valgrind suppressions for GIO GDBus
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/configure-sub.in:
+       * src/backends/webdav/webdav.am:
+
+       WebDAV: fixed libneon compatibility mode when compiling against
+       libneon-gnutls
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/gdbus-cxx-bridge.cpp:
+       * src/gdbus/gdbus-cxx-bridge.h:
+       * src/gdbusxx/gdbus-cxx-bridge.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GDBus (GIO + dbus-1): intrusive pointer methods in global
+       namespace
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+
+       CalDAV: fixed "variable set but unused" issue
+
+2011-12-01  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GIO GDBus: avoid compiler problem with g++ 4.4
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/sys.supp:
+
+       syncevo-dbus-server: ignore leak in gcrypt+GNOME keyring
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/test-dbus.py:
+
+       D-Bus testing: fixed test failures when running with valgrind
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/server/bluez-manager.cpp:
+       * src/dbus/server/bluez-manager.h:
+
+       syncevo-dbus-server: fixed memory leaks in Bluetooth database
+       manager
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GIO GDBus: fixed memory leak in DBusObjectHelper
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/server/NotificationBackendLibnotify.cpp:
+
+       libnotify notifications: fixed memory leak
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/GLibSupport.h:
+
+       GLib support: added utility classes for GLists which have members
+       that need to be g_free()ed
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/object.c:
+
+       GDBus dbus-1: fixed invalid memory access
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/object.c:
+
+       GDBus dbus-1: fixed memory leak
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/gdbus-cxx-bridge.h:
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GDBus CXX (dbus-1 and gio): avoid uninitialized memory access in
+       SignalWatch
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbus/gdbus-cxx-bridge.h:
+
+       DBus CXX: fixed memory leak in variant support
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * configure.ac:
+
+       --enable-warnings: allow set-but-not-used test
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/dbus/glib/syncevo-server.c:
+       * src/dbus/glib/syncevo-session.c:
+       * src/gtk-ui/sync-ui.c:
+
+       GTK UI: commented resp. removed dead code
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+
+       GIO GDBus: fixed cut-and-paste error in error handling
+
+2011-11-30  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * configure.ac:
+       * src/gdbusxx/gdbusxx.am:
+
+       GIO GDBus: fixed link error
+
+2011-11-29  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+       * src/gdbusxx/test/example.cpp:
+
+       GIO GDBus: remove redundant pointer in DBusErrorCXX
+
+2011-11-29  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/gdbusxx/gdbus-cxx-bridge.cpp:
+
+       GIO GDBus CXX: fixed error handling
+
+2011-11-22  Chris Kühl  <chrisk@openismus.com>
+
+       * configure.ac:
+
+       build: Make --disable-notify actually disable use of libnotify
+
+2011-10-01  Chris Kühl  <chrisk@openismus.com>
+
+       * configure.ac:
+       * src/dbus/server/bluez-manager.cpp:
+       * src/dbus/server/bluez-manager.h:
+       * src/dbus/server/connman-client.cpp:
+       * src/dbus/server/connman-client.h:
+       * src/dbus/server/exceptions.cpp:
+       * src/dbus/server/exceptions.h:
+       * src/dbus/server/main.cpp:
+       * src/dbus/server/network-manager-client.cpp:
+       * src/dbus/server/network-manager-client.h:
+       * src/dbus/server/server.am:
+       * src/gdbus/gdbus-cxx-bridge.cpp:
+       * src/gdbus/gdbus-cxx-bridge.h:
+       * src/gdbus/mainloop.c:
+       * src/gdbus/test/example.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+       * src/gdbusxx/test/example.cpp:
+       * src/syncevolution.cpp:
+       * test/test-dbus.py:
+
+       dbus: Create dbus wrapper using the GIO GDBus dbus implementation
+
+2011-09-21  Chris Kühl  <chrisk@openismus.com>
+
+       * configure.ac:
+       * src/dbus/server/bluez-manager.h:
+       * src/dbus/server/client.h:
+       * src/dbus/server/connman-client.h:
+       * src/dbus/server/exceptions.h:
+       * src/dbus/server/info-req.h:
+       * src/dbus/server/network-manager-client.h:
+       * src/dbus/server/read-operations.h:
+       * src/dbus/server/server.am:
+       * src/dbus/server/source-progress.h:
+       * src/dbus/server/source-status.h:
+       * src/gdbusxx/.gitignore:
+       * src/gdbusxx/README:
+       * src/gdbusxx/gdbus-cxx-bridge.cpp:
+       * src/gdbusxx/gdbus-cxx-bridge.h:
+       * src/gdbusxx/gdbus-cxx.h:
+       * src/gdbusxx/gdbusxx.am:
+       * src/gdbusxx/test/example.cpp:
+       * src/gdbusxx/test/test-example:
+       * src/src.am:
+
+       build: Enable configure switch to build with GIO GDBus
+
+2011-11-29  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+       * test/test-dbus.py:
+
+       testing: run syncevo-dbus-server under valgrind (BMC #5609)
+
+2011-11-29  Ove Kåven  <ovek@arcticnet.no>
+
+       * debian/changelog:
+       * src/backends/qtcontacts/QtContactsSource.cpp:
+
+       QtContacts backend improvements for Harmattan. - list all
+       available managers as backend databases - only sync contacts with
+       a Sync Target of "addressbook"
+
+2011-11-29  Ove Kåven  <ovek@arcticnet.no>
+
+
+       Merge branch 'FREMANTLE-1-2-1' into HARMATTAN-1-2-1
+
+2011-11-28  Ove Kåven  <ovek@arcticnet.no>
+
+       * debian/changelog:
+
+       Updated changelog.
+
+2011-11-28  Ove Kåven  <ovek@arcticnet.no>
+
+       * src/backends/kcalextended/KCalExtendedSource.cpp:
+       * src/backends/qtcontacts/QtContactsSource.cpp:
+
+       Updated KCalExtended and QtContacts backends for new insertItem()
+       signature. (cherry picked from commit
+       73e8a72abe96d5806dd341ba3c4d976f0d763b02)
+
+2011-11-28  Ove Kåven  <ovek@arcticnet.no>
+
+       * debian/changelog:
+
+       Update changelog and version of this branch.
+
+2011-11-28  Ove Kåven  <ovek@arcticnet.no>
+
+
+       Merge commit 'syncevolution-1-2-1' into FREMANTLE-1-2-1
+
+2011-11-28  Ove Kåven  <ovek@arcticnet.no>
+
+       * src/backends/kcalextended/KCalExtendedSource.cpp:
+       * src/backends/qtcontacts/QtContactsSource.cpp:
+
+       Updated KCalExtended and QtContacts backends for new insertItem()
+       signature.
+
+2011-11-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/evolution/EvolutionContactSourceRegister.cpp:
+       * src/syncevo/SyncSource.h:
+       * test/ClientTest.cpp:
+       * test/ClientTest.h:
+
+       testing: added Source::*::testRemoveProperties
+
+2011-11-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/testcases/eds_event.ics:
+       * test/testcases/eds_event.ics.exchange.tem.patch:
+       * test/testcases/eds_event.ics.funambol.tem.patch:
+       * test/testcases/eds_event.ics.googlecalendar.tem.patch:
+
+       testing: avoid overlap between detached recurrences
+
+2011-11-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * HACKING:
+       * test/client-test-main.cpp:
+       * test/test.cpp:
+
+       testing: allow regex in CLIENT_TEST_SKIP/FAILURES
+
+2011-11-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * HACKING:
+
+       HACKING: updated recommended configure
+
+2011-11-22  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * HACKING:
+       * configure.ac:
+       * src/src.am:
+       * src/syncevo/syncevo.am:
+
+       autotools: use pcre for regular expressions
+
+2011-11-21  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * README.rst:
+       * src/syncevo/Cmdline.cpp:
+       * src/syncevo/Cmdline.h:
+       * src/syncevo/SyncSource.cpp:
+
+       command line: config and source names are optional (BMC #23783)
+
+2011-11-21  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/WebDAVSource.cpp:
+       * src/dbus/server/read-operations.cpp:
+       * src/syncevo/Cmdline.cpp:
+       * src/syncevo/SyncConfig.cpp:
+       * src/syncevo/SyncConfig.h:
+       * src/syncevo/SyncContext.cpp:
+       * src/syncevo/SyncSource.h:
+
+       config: return value + "was set" for each config property
+
+2011-11-21  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/util.h:
+
+       utility: generic Init and InitState classes
+
+2011-11-28  Patrick Ohly  <patrick.ohly@intel.com>
+
+
+       Merge remote-tracking branch 'origin/syncevolution-1-2-branch'
+
+2011-11-25  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * NEWS:
+
+       NEWS updated for revised 1.2.1
+
+2011-11-25  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/NotificationBackendLibnotify.cpp:
+       * src/gdbus/debug.h:
+       * src/gnome-bluetooth/syncevolution.c:
+       * src/gtk-ui/main.c:
+       * src/gtk-ui/sync-config-widget.c:
+       * src/gtk-ui/sync-ui-config.c:
+       * src/gtk-ui/sync-ui.c:
+       * src/syncevo-dbus-server.cpp:
+       * src/syncevo/ObexTransportAgent.cpp:
+       * src/syncevo/SoupTransportAgent.h:
+
+       glib: avoid including glib/*.h headers directly
+
+2011-11-25  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/configs/datatypes/01vcard-profile.xml:
+       * test/testcases/eds_contact.vcf.synthesis.tem.patch:
+
+       vCard: X- chat extensions were limited to one instance per kind
+
+2011-11-25  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+
+       testing: increased delay for Memotoo to 10 seconds
+
+2011-11-25  Alain Knaff  <alain@knaff.lu>
+
+       * test/syncevo-http-server.py:
+
+       syncevo-http-server: support chained SSL certificates
+
+2011-11-21  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * NEWS:
+       * configure-pre.in:
+
+       autotools + NEWS: updated for 1.2.1 release
+
+2011-11-21  Ove Kåven  <ovek@arcticnet.no>
+
+
+       Merge branch 'FREMANTLE-1-2-0' into HARMATTAN-1-2-0
+
+2011-11-21  Ove Kåven  <ovek@arcticnet.no>
+
+       * debian/changelog:
+
+       Updated changelog and version for the newest RECURRENCE-ID fixes.
+
+2011-11-14  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+
+       CalDAV: filter out X-SYNCEVOLUTION-EXDATE-DETACHED
+
+2011-11-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/backends/webdav/WebDAVSourceRegister.cpp:
+       * src/syncevo/SyncSource.h:
+       * test/ClientTest.cpp:
+
+       CalDAV: revised RECURRENCE-ID -> EXDATE support
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/eds_abi_wrapper.cpp:
+
+       EDS compatibility: fixed inconsistency in libecal check
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/syncevo/eds_abi_wrapper.cpp:
+       * src/syncevo/eds_abi_wrapper.h:
+
+       EDS compatibility: added functions needed for X- properties
+
+2011-11-18  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/resultchecker.py:
+
+       D-Bus testing: fixed error reporting
+
+2011-10-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/evolution/EvolutionCalendarSource.cpp:
+       * src/backends/evolution/EvolutionCalendarSource.h:
+       * src/backends/evolution/EvolutionContactSource.cpp:
+       * src/backends/file/FileSyncSource.cpp:
+       * src/backends/sqlite/SQLiteContactSource.cpp:
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/backends/webdav/WebDAVSource.cpp:
+       * src/syncevo/SyncContext.cpp:
+       * src/syncevo/SyncSource.cpp:
+       * src/syncevo/SyncSource.h:
+       * src/syncevo/SynthesisDBPlugin.cpp:
+       * src/syncevo/TrackingSyncSource.h:
+       * src/syncevo/util.cpp:
+       * src/syncevo/util.h:
+       * test/ClientTest.cpp:
+       * test/ClientTest.h:
+
+       phone sync:  delete<->delete conflict + phone calendar+todo sync
+       (BMC #23744)
+
+2011-11-04  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/templates/clients/phone/nokia.ini:
+       * src/templates/servers/Ovi.ini:
+
+       Nokia: prevent accidental usage of "calendar" or "todo" sources
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/resultchecker.py:
+       * test/runtests.py:
+
+       testing: improved automatic integration + reporting
+
+2011-11-04  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+
+       testing: fixes for automatic integration
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/Cmdline.cpp:
+       * src/syncevo/SyncConfig.cpp:
+       * src/templates/servers/ScheduleWorld.ini:
+       * src/templates/servers/SyncEvolution.ini:
+
+       GTK UI + config: fix "custom server" setup (BMC #13511)
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/SyncContext.cpp:
+
+       syncevo-dbus-server + phone sync: catch SIGPIPE to avoid
+       premature exit
+
+2011-10-26  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/Cmdline.cpp:
+
+       testing: adapted Cmdline tests to revised config descriptions
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/eds_abi_wrapper.cpp:
+
+       EDS compatibility: fixed inconsistency in libecal check
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: avoid aborting client-test due to exception in
+       destructor
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * autogen.sh:
+
+       autotools: remove obsolete autotools files from SyncEvolution <=
+       1.2
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/SyncSource.h:
+       * test/ClientTest.cpp:
+       * test/ClientTest.h:
+
+       testing: added testLinkedItemsSubset for ActiveSync
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/activesync/ActiveSyncCalendarSource.cpp:
+       * src/backends/activesync/ActiveSyncCalendarSource.h:
+
+       ActiveSync: implemented TestingSyncSource::deleteAll()
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: also simplify the file name of the reference data set
+
+2011-11-17  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTestAssert.h:
+
+       testing: extended assert macros to include text message for each
+       call location
+
+2011-10-24  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/evolution/EvolutionCalendarSource.cpp:
+       * src/backends/evolution/EvolutionCalendarSource.h:
+       * src/backends/evolution/EvolutionContactSource.cpp:
+       * src/backends/file/FileSyncSource.cpp:
+       * src/backends/sqlite/SQLiteContactSource.cpp:
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/backends/webdav/WebDAVSource.cpp:
+       * src/syncevo/SyncContext.cpp:
+       * src/syncevo/SyncSource.cpp:
+       * src/syncevo/SyncSource.h:
+       * src/syncevo/SynthesisDBPlugin.cpp:
+       * src/syncevo/TrackingSyncSource.h:
+       * src/syncevo/util.cpp:
+       * src/syncevo/util.h:
+       * test/ClientTest.cpp:
+       * test/ClientTest.h:
+
+       phone sync:  delete<->delete conflict + phone calendar+todo sync
+       (BMC #23744)
+
+2011-11-14  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+
+       CalDAV: filter out X-SYNCEVOLUTION-EXDATE-DETACHED
+
+2011-11-12  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/backends/webdav/WebDAVSourceRegister.cpp:
+       * src/syncevo/SyncSource.h:
+       * test/ClientTest.cpp:
+
+       CalDAV: revised RECURRENCE-ID -> EXDATE support
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/runtests.py:
+
+       testing: updated Mobical test skips
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: avoid aborting client-test due to exception in
+       destructor
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: assign anchors to local variables for debugging
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/ClientTest.cpp:
+
+       testing: avoid setting the source in the TestingSyncSource
+       constructor
+
+2011-11-10  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/src.am:
+
+       testing: fixed "make testclean"
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/syncevo/eds_abi_wrapper.cpp:
+
+       EDS compatibility: fixed inconsistency in libecal check
+
+2011-11-09  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
+       * src/syncevo/eds_abi_wrapper.cpp:
+       * src/syncevo/eds_abi_wrapper.h:
+
+       EDS compatibility: added functions needed for X- properties
+
+2011-11-05  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/maemo/MaemoCalendarSource.cpp:
+       * src/syncevo/configs/scripting/11calendar.xml:
+
+       Maemo Calendar: fix EXDATEs after reading from storage
+
+2011-11-05  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/maemo/MaemoCalendarSource.cpp:
+       * src/syncevo/configs/datatypes/11calendar-profile.xml:
+       * src/syncevo/configs/remoterules/00_have_exdate_detached.xml:
+       * src/syncevo/configs/remoterules/00_simple_exdate.xml:
+       * src/syncevo/configs/remoterules/10_maemo_calendar.xml:
+
+       Maemo Calendar: avoid TZID in EXDATE property
+
+2011-10-18  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/maemo/MaemoCalendarSource.cpp:
+       * src/backends/maemo/MaemoCalendarSource.h:
+
+       Maemo 5 calendar: import RECURRENCE-IDs as EXDATEs on parent
+       event
+
+2011-10-18  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * test/testcases/eds_event.ics.apple.tem.patch:
+
+       Apple testing: added recurring event with TZID and detached
+       recurrence
+
+2011-10-18  Patrick Ohly  <patrick.ohly@intel.com>
+
+       * src/backends/webdav/CalDAVSource.cpp:
        * src/backends/webdav/CalDAVSource.h:
 
        CalDAV: support RECURRENCE-ID -> EXDATEs hint
index 05c9a4d..e50cb52 100755 (executable)
@@ -2885,7 +2885,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=synthesis
- VERSION=3.4.0.16.8
+ VERSION=3.4.0.16.9
 
 
 cat >>confdefs.h <<_ACEOF
index bbd6274..5a7035c 100644 (file)
@@ -4,7 +4,7 @@ AC_INIT(src/sysync/engineinterface.cpp)
 AC_CONFIG_MACRO_DIR([m4])
 # four digit upstream version, one additional digit for
 # Linux/SyncEvolution specific extensions:
-AM_INIT_AUTOMAKE(synthesis, 3.4.0.16.8)
+AM_INIT_AUTOMAKE(synthesis, 3.4.0.16.9)
 AM_CONFIG_HEADER(config.h)
 AC_LIBTOOL_DLOPEN
 
index cbb6aed..d686dfb 100755 (executable)
@@ -138,6 +138,22 @@ static TAccess* AssignedObject( cAppCharP name, bool is_jni )
   return d;
 } // AssignedObject
 
+static void FreeAssignedObject( TAccess* d )
+{
+  do {
+    #ifdef JNI_SUPPORT
+      if (d->fJNI) { TJNI_Methods* dj= static_cast<TJNI_Methods*>( d );
+                     delete        dj; break; } // JNI (Java)
+    #endif
+
+    if   (d->fLIB) { delete        d;  break; } // LIB direct
+
+    #ifdef PLUGIN_DLL
+                   { TDLL*         dd= static_cast<TDLL*>( d );
+                     delete        dd; break; } // DLL (C/C++)
+    #endif
+  } while (false);
+}
 
 
 // ------------------------------------------------------------------
@@ -147,7 +163,7 @@ TSyError ConnectModule( appPointer &aMod, cAppCharP aModName, bool is_jni )
   if     (!d)        return DB_Forbidden;
   if      (d->Connect       ( aModName,ModuleConnectionError ))
        { aMod=    d; return LOCERR_OK;   }
-  else { aMod= NULL; return DB_NotFound; }
+  else { aMod= NULL; FreeAssignedObject(d); return DB_NotFound; }
 } // ConnectModule
 
 
@@ -219,20 +235,7 @@ TSyError DisconnectModule( appPointer &aMod )
 
   if  (d==NULL)  return err;
   if (!d->Disconnect()) err= DB_NotFound;
-
-  do {
-    #ifdef JNI_SUPPORT
-      if (d->fJNI) { TJNI_Methods* dj= static_cast<TJNI_Methods*>( d );
-                     delete        dj; break; } // JNI (Java)
-    #endif
-
-    if   (d->fLIB) { delete        d;  break; } // LIB direct
-
-    #ifdef PLUGIN_DLL
-                   { TDLL*         dd= static_cast<TDLL*>( d );
-                     delete        dd; break; } // DLL (C/C++)
-    #endif
-  } while (false);
+  FreeAssignedObject(d);
 
   aMod= NULL; // no longer access
   return err;
index 898e164..214a9fd 100755 (executable)
@@ -388,7 +388,7 @@ private:
 #ifdef STREAMFIELD_SUPPORT
 
 // proxy for loading blobs
-class TApiBlobProxy : public TBlobProxy
+class TApiBlobProxy : public TBlobProxy, noncopyable
 {
   typedef TBlobProxy inherited;
 public:
index 5ab2c35..8a5f981 100644 (file)
@@ -14,6 +14,5 @@ syncclientbase.cpp
 clientprovisioning_inc.cpp
 .*_tables_inc.cpp
 syncsessiondispatch.cpp
-platform_thread.cpp
 enginestubs.c
 platform_adapters/macosx
index 635eb5f..adb74de 100644 (file)
@@ -1,6 +1,5 @@
 clientprovisioning_inc.cpp
 .*_tables_inc.cpp
 syncsessiondispatch.cpp
-platform_thread.cpp
 enginestubs.c
 platform_adapters/macosx
index 761e728..36837ba 100644 (file)
@@ -29,7 +29,7 @@ CLEANFILES =
 EXTRA_DIST =
 
 lib_LTLIBRARIES = libsmltk.la libsynthesis.la libsynthesissdk.la libsynthesisstubs.la
-nobase_include_HEADERS = synthesis/SDK_support.h synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapi.h synthesis/sync_dbapidef.h synthesis/sync_declarations.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/syncexception.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/target_options.h
+nobase_include_HEADERS = synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/SDK_support.h synthesis/SDK_util.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapidef.h synthesis/sync_dbapi.h synthesis/sync_declarations.h synthesis/syncexception.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_noncopyable.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/UI_util.h synthesis/target_options.h
 
 # Configuration header files are searched in this order:
 # - Targets/ReleasedProducts/autotools: files only used when compiling with autotools
@@ -42,7 +42,7 @@ nobase_include_HEADERS = synthesis/SDK_support.h synthesis/SDK_util.h synthesis/
 # Included as needed:
 # - define.h: hard-coded SyncML Toolkit config (from search path above)
 
-libsynthesis_la_SOURCES = DB_interfaces/api_db/DLL_interface.cpp DB_interfaces/api_db/DLL_interface.h DB_interfaces/api_db/dbapi.cpp DB_interfaces/api_db/dbapi.h DB_interfaces/api_db/dbapi_include.h DB_interfaces/api_db/pluginapiagent.cpp DB_interfaces/api_db/pluginapiagent.h DB_interfaces/api_db/pluginapids.cpp DB_interfaces/api_db/pluginapids.h DB_interfaces/api_db/plugindb.h DB_interfaces/api_db/plugindb_precomp.h DB_interfaces/api_db/sync_dbapiconnect.cpp DB_interfaces/api_db/sync_dbapiconnect.h DB_interfaces/odbc_db/odbcapiagent.cpp DB_interfaces/odbc_db/odbcapiagent.h DB_interfaces/odbc_db/odbcapids.cpp DB_interfaces/odbc_db/odbcapids.h DB_interfaces/odbc_db/odbcdb.h DB_interfaces/odbc_db/odbcdb_precomp.h Transport_interfaces/engine/engine_client.h Transport_interfaces/engine/engine_client_precomp.h Transport_interfaces/engine/engine_server.h Transport_interfaces/engine/engine_server_precomp.h Transport_interfaces/engine/engineclientbase.cpp Transport_interfaces/engine/engineclientbase.h Transport_interfaces/engine/enginesessiondispatch.cpp Transport_interfaces/engine/enginesessiondispatch.h platform_adapters/binfile.cpp platform_adapters/binfile.h platform_adapters/configfiles.h platform_adapters/linux/configfiles.cpp platform_adapters/linux/platform_DLL.cpp platform_adapters/linux/platform_exec.c platform_adapters/linux/platform_exec.h platform_adapters/linux/platform_headers.h platform_adapters/linux/platform_time.cpp platform_adapters/linux/platform_time.h platform_adapters/linux/platform_timezones.cpp platform_adapters/linux/profiling.cpp platform_adapters/platform_DLL.h platform_adapters/platform_file.h platform_adapters/platform_headers.h platform_adapters/platform_mutex.h platform_adapters/platform_thread.h platform_adapters/profiling.h platform_adapters/sysync_glob_vars.h platform_adapters/sysyncinit.cpp platform_adapters/unix_common/platform_file.cpp platform_adapters/unix_common/platform_mutex.cpp platform_adapters/unix_common/platform_pipe.c platform_adapters/unix_common/platform_pipe.h syncapps/clientEngine_custom/clientengine_custom.h syncapps/clientEngine_custom/clientengine_custom_Base.cpp syncapps/clientEngine_custom/clientengine_custom_Base.h syncapps/clientEngine_custom/clientengine_custom_precomp.h syncapps/clientEngine_custom/product_options.h syncapps/serverEngine_custom/combi_product_options.h syncapps/serverEngine_custom/product_options.h syncapps/serverEngine_custom/serverengine_custom.h syncapps/serverEngine_custom/serverengine_custom_Base.cpp syncapps/serverEngine_custom/serverengine_custom_Base.h syncapps/serverEngine_custom/serverengine_custom_precomp.h sysync/binfilebase.cpp sysync/binfilebase.h sysync/binfileimplclient.cpp sysync/binfileimplclient.h sysync/binfileimplds.cpp sysync/binfileimplds.h sysync/clientautosync_inc.cpp sysync/clientautosync_inc.h sysync/clientprovisioning_inc.h sysync/configelement.cpp sysync/configelement.h sysync/customimplagent.cpp sysync/customimplagent.h sysync/customimplds.cpp sysync/customimplds.h sysync/dataconversion.cpp sysync/dataobjtype.cpp sysync/dataobjtype.h sysync/debuglogger.cpp sysync/debuglogger.h sysync/engineentry.cpp sysync/engineentry.h sysync/engineinterface.cpp sysync/engineinterface.h sysync/global_progress.h sysync/iso8601.cpp sysync/iso8601.h sysync/itemfield.cpp sysync/itemfield.h sysync/localengineds.cpp sysync/localengineds.h sysync/mimediritemtype.cpp sysync/mimediritemtype.h sysync/mimedirprofile.cpp sysync/mimedirprofile.h sysync/multifielditem.cpp sysync/multifielditem.h sysync/multifielditemtype.cpp sysync/multifielditemtype.h sysync/rawdataitemtype.cpp sysync/rawdataitemtype.h sysync/remotedatastore.cpp sysync/remotedatastore.h sysync/rrules.cpp sysync/rrules.h sysync/scriptcontext.cpp sysync/scriptcontext.h sysync/simpleitem.cpp sysync/simpleitem.h sysync/smltk_precomp.h sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp sysync/stdlogicagent.h sysync/stdlogicds.cpp sysync/stdlogicds.h sysync/stringutils.cpp sysync/stringutils.h sysync/superdatastore.cpp sysync/superdatastore.h sysync/syncagent.cpp sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h sysync/syncclientbase.cpp sysync/syncclientbase.h sysync/synccommand.cpp sysync/synccommand.h sysync/syncdatastore.cpp sysync/syncdatastore.h sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h sysync/syncsession.cpp sysync/syncsession.h sysync/syncsessiondispatch.h sysync/syserial.h sysync/sysync.h sysync/sysync_crc16.cpp sysync/sysync_crc16.h sysync/sysync_debug.h sysync/sysync_globs.h sysync/sysync_precomp.h sysync/sysync_precomp_xpt.h sysync/textitemtype.cpp sysync/textitemtype.h sysync/textprofile.cpp sysync/textprofile.h sysync/timezones.cpp sysync/timezones.h sysync/tz_table.h sysync/uiapi.cpp sysync/uiapi.h sysync/vcalendaritemtype.cpp sysync/vcalendaritemtype.h sysync/vcarditemtype.cpp sysync/vcarditemtype.h sysync/vtimezone.cpp sysync/vtimezone.h sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/admindata.cpp sysync_SDK/Sources/admindata.h sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/blobs.h sysync_SDK/Sources/dataconversion.h sysync_SDK/Sources/dbitem.cpp sysync_SDK/Sources/dbitem.h sysync_SDK/Sources/engine_defs.h sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebase.h sysync_SDK/Sources/generic_types.h sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/lineartime.h sysync_SDK/Sources/prefix_file.h sysync_SDK/Sources/syerror.h sysync_SDK/Sources/sync_dbapi.h sysync_SDK/Sources/sync_dbapidef.h sysync_SDK/Sources/sync_declarations.h sysync_SDK/Sources/sync_include.h sysync_SDK/Sources/sync_uiapi.h sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/syncexception.h sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_b64.h sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_md5.h sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/sysync_utils.h \
+libsynthesis_la_SOURCES = DB_interfaces/api_db/dbapi.cpp DB_interfaces/api_db/dbapi.h DB_interfaces/api_db/dbapi_include.h DB_interfaces/api_db/DLL_interface.cpp DB_interfaces/api_db/DLL_interface.h DB_interfaces/api_db/pluginapiagent.cpp DB_interfaces/api_db/pluginapiagent.h DB_interfaces/api_db/pluginapids.cpp DB_interfaces/api_db/pluginapids.h DB_interfaces/api_db/plugindb.h DB_interfaces/api_db/plugindb_precomp.h DB_interfaces/api_db/sync_dbapiconnect.cpp DB_interfaces/api_db/sync_dbapiconnect.h DB_interfaces/odbc_db/odbcapiagent.cpp DB_interfaces/odbc_db/odbcapiagent.h DB_interfaces/odbc_db/odbcapids.cpp DB_interfaces/odbc_db/odbcapids.h DB_interfaces/odbc_db/odbcdb.h DB_interfaces/odbc_db/odbcdb_precomp.h platform_adapters/binfile.cpp platform_adapters/binfile.h platform_adapters/configfiles.h platform_adapters/linux/configfiles.cpp platform_adapters/linux/platform_DLL.cpp platform_adapters/linux/platform_exec.c platform_adapters/linux/platform_exec.h platform_adapters/linux/platform_headers.h platform_adapters/linux/platform_time.cpp platform_adapters/linux/platform_time.h platform_adapters/linux/platform_timezones.cpp platform_adapters/linux/profiling.cpp platform_adapters/platform_DLL.h platform_adapters/platform_file.h platform_adapters/platform_headers.h platform_adapters/platform_mutex.h platform_adapters/platform_thread.h platform_adapters/profiling.h platform_adapters/sysync_glob_vars.h platform_adapters/sysyncinit.cpp platform_adapters/unix_common/platform_file.cpp platform_adapters/unix_common/platform_mutex.cpp platform_adapters/unix_common/platform_pipe.c platform_adapters/unix_common/platform_pipe.h platform_adapters/unix_common/platform_thread.cpp syncapps/clientEngine_custom/clientengine_custom_Base.cpp syncapps/clientEngine_custom/clientengine_custom_Base.h syncapps/clientEngine_custom/clientengine_custom.h syncapps/clientEngine_custom/clientengine_custom_precomp.h syncapps/clientEngine_custom/product_options.h syncapps/serverEngine_custom/combi_product_options.h syncapps/serverEngine_custom/product_options.h syncapps/serverEngine_custom/serverengine_custom_Base.cpp syncapps/serverEngine_custom/serverengine_custom_Base.h syncapps/serverEngine_custom/serverengine_custom.h syncapps/serverEngine_custom/serverengine_custom_precomp.h sysync/binfilebase.cpp sysync/binfilebase.h sysync/binfileimplclient.cpp sysync/binfileimplclient.h sysync/binfileimplds.cpp sysync/binfileimplds.h sysync/clientautosync_inc.cpp sysync/clientautosync_inc.h sysync/clientprovisioning_inc.h sysync/configelement.cpp sysync/configelement.h sysync/customimplagent.cpp sysync/customimplagent.h sysync/customimplds.cpp sysync/customimplds.h sysync/dataconversion.cpp sysync/dataobjtype.cpp sysync/dataobjtype.h sysync/debuglogger.cpp sysync/debuglogger.h sysync/engineentry.cpp sysync/engineentry.h sysync/engineinterface.cpp sysync/engineinterface.h sysync/global_progress.h sysync/iso8601.cpp sysync/iso8601.h sysync/itemfield.cpp sysync/itemfield.h sysync/localengineds.cpp sysync/localengineds.h sysync/mimediritemtype.cpp sysync/mimediritemtype.h sysync/mimedirprofile.cpp sysync/mimedirprofile.h sysync/multifielditem.cpp sysync/multifielditem.h sysync/multifielditemtype.cpp sysync/multifielditemtype.h sysync/rawdataitemtype.cpp sysync/rawdataitemtype.h sysync/remotedatastore.cpp sysync/remotedatastore.h sysync/rrules.cpp sysync/rrules.h sysync/scriptcontext.cpp sysync/scriptcontext.h sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp sysync_SDK/Sources/admindata.cpp sysync_SDK/Sources/admindata.h sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/blobs.h sysync_SDK/Sources/dataconversion.h sysync_SDK/Sources/dbitem.cpp sysync_SDK/Sources/dbitem.h sysync_SDK/Sources/engine_defs.h sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebase.h sysync_SDK/Sources/generic_types.h sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/lineartime.h sysync_SDK/Sources/prefix_file.h sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/syerror.h sysync_SDK/Sources/sync_dbapidef.h sysync_SDK/Sources/sync_dbapi.h sysync_SDK/Sources/sync_declarations.h sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/syncexception.h sysync_SDK/Sources/sync_include.h sysync_SDK/Sources/sync_uiapi.h sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_b64.h sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_md5.h sysync_SDK/Sources/sysync_noncopyable.h sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/sysync_utils.h sysync/simpleitem.cpp sysync/simpleitem.h sysync/smltk_precomp.h sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp sysync/stdlogicagent.h sysync/stdlogicds.cpp sysync/stdlogicds.h sysync/stringutils.cpp sysync/stringutils.h sysync/superdatastore.cpp sysync/superdatastore.h sysync/syncagent.cpp sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h sysync/syncclientbase.cpp sysync/syncclientbase.h sysync/synccommand.cpp sysync/synccommand.h sysync/syncdatastore.cpp sysync/syncdatastore.h sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h sysync/syncsession.cpp sysync/syncsessiondispatch.h sysync/syncsession.h sysync/syserial.h sysync/sysync_crc16.cpp sysync/sysync_crc16.h sysync/sysync_debug.h sysync/sysync_globs.h sysync/sysync.h sysync/sysync_precomp.h sysync/sysync_precomp_xpt.h sysync/textitemtype.cpp sysync/textitemtype.h sysync/textprofile.cpp sysync/textprofile.h sysync/timezones.cpp sysync/timezones.h sysync/tz_table.h sysync/uiapi.cpp sysync/uiapi.h sysync/vcalendaritemtype.cpp sysync/vcalendaritemtype.h sysync/vcarditemtype.cpp sysync/vcarditemtype.h sysync/vtimezone.cpp sysync/vtimezone.h Transport_interfaces/engine/engineclientbase.cpp Transport_interfaces/engine/engineclientbase.h Transport_interfaces/engine/engine_client.h Transport_interfaces/engine/engine_client_precomp.h Transport_interfaces/engine/engine_server.h Transport_interfaces/engine/engine_server_precomp.h Transport_interfaces/engine/enginesessiondispatch.cpp Transport_interfaces/engine/enginesessiondispatch.h \
        $(XMLPARSE_SOURCES)
 libsynthesis_la_CPPFLAGS = -I$(srcdir)/sysync_SDK/Sources
 libsynthesis_la_CFLAGS = \
@@ -112,11 +112,11 @@ libsynthesissdk_la_LIBADD = libsmltk.la # san.cpp calls sml* functions directly
 libsynthesissdk_la_LDFLAGS = -static
 libsynthesissdk_la_CFLAGS = $(PIC_CXXFLAGS) $(SYNTHESIS_WFLAGS)
 libsynthesissdk_la_CXXFLAGS = $(PIC_CXXFLAGS) $(SYNTHESIS_WFLAGS)
-libsynthesissdk_la_SOURCES = synthesis/SDK_support.h synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapi.h synthesis/sync_dbapidef.h synthesis/sync_declarations.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/syncexception.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_utils.h synthesis/timeutil.h
+libsynthesissdk_la_SOURCES = synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/SDK_support.h synthesis/SDK_util.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapidef.h synthesis/sync_dbapi.h synthesis/sync_declarations.h synthesis/syncexception.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_noncopyable.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/UI_util.h
 if COND_STATIC
-libsynthesissdk_la_SOURCES += sysync_SDK/Sources/UI_util.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/timeutil.cpp
+libsynthesissdk_la_SOURCES += sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/timeutil.cpp sysync_SDK/Sources/UI_util.cpp
 else
-libsynthesissdk_la_SOURCES += sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/UI_util.cpp sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/stringutil.cpp sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/timeutil.cpp
+libsynthesissdk_la_SOURCES += sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/stringutil.cpp sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/timeutil.cpp sysync_SDK/Sources/UI_util.cpp
 endif
 libsynthesissdk_la_CPPFLAGS = \
        -D_GNU_SOURCE=1 \
@@ -144,7 +144,7 @@ libsynthesisstubs_la_CPPFLAGS = $(libsynthesissdk_la_CPPFLAGS)
 vpath %.cpp $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
 vpath %.c $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
 vpath %.h $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
-synthesis/SDK_support.h synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapi.h synthesis/sync_dbapidef.h synthesis/sync_declarations.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/syncexception.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_utils.h synthesis/timeutil.h: synthesis/%: %
+synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/SDK_support.h synthesis/SDK_util.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapidef.h synthesis/sync_dbapi.h synthesis/sync_declarations.h synthesis/syncexception.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_noncopyable.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/UI_util.h: synthesis/%: %
        mkdir -p synthesis
        sed -e 's;# *include  *";#include "synthesis/;' -e 's/defined(HAVE_STDINT_H)/1/' $< >$@
 
@@ -156,7 +156,7 @@ synthesis/target_options.h: $(srcdir)/Targets/ReleasedProducts/SDK/target_option
 @LIBSYNTHESISSDK_SOURCES@: synthesis/target_options.h
 
 # libsmltk: compiled just like libsynthesis
-libsmltk_la_SOURCES = syncml_tk/src/sml/inc/sml.h syncml_tk/src/sml/inc/smldef.h syncml_tk/src/sml/inc/smldevinfdtd.h syncml_tk/src/sml/inc/smldtd.h syncml_tk/src/sml/inc/smlerr.h syncml_tk/src/sml/inc/smlmetinfdtd.h syncml_tk/src/sml/lib/all/liblock.c syncml_tk/src/sml/lib/all/libmem.c syncml_tk/src/sml/lib/all/libstr.c syncml_tk/src/sml/lib/all/libutil.c syncml_tk/src/sml/lib/inc/liblock.h syncml_tk/src/sml/lib/inc/libmem.h syncml_tk/src/sml/lib/inc/libstr.h syncml_tk/src/sml/lib/inc/libutil.h syncml_tk/src/sml/mgr/all/mgr.c syncml_tk/src/sml/mgr/all/mgrcmdbuilder.c syncml_tk/src/sml/mgr/all/mgrcmddispatcher.c syncml_tk/src/sml/mgr/all/mgrinstancelist.c syncml_tk/src/sml/mgr/all/mgrinstancemgr.c syncml_tk/src/sml/mgr/all/mgrutil.c syncml_tk/src/sml/mgr/inc/mgr.h syncml_tk/src/sml/mgr/inc/mgrutil.h syncml_tk/src/sml/wsm/all/wsm.c syncml_tk/src/sml/wsm/inc/wsm.h syncml_tk/src/sml/wsm/inc/wsm_sm.h syncml_tk/src/sml/xlt/all/xltdec.c syncml_tk/src/sml/xlt/all/xltdeccom.h syncml_tk/src/sml/xlt/all/xltdecwbxml.c syncml_tk/src/sml/xlt/all/xltdecwbxml.h syncml_tk/src/sml/xlt/all/xltdecxml.c syncml_tk/src/sml/xlt/all/xltdevinf.c syncml_tk/src/sml/xlt/all/xltdevinf.h syncml_tk/src/sml/xlt/all/xltenc.c syncml_tk/src/sml/xlt/all/xltenccom.c syncml_tk/src/sml/xlt/all/xltenccom.h syncml_tk/src/sml/xlt/all/xltencwbxml.c syncml_tk/src/sml/xlt/all/xltencwbxml.h syncml_tk/src/sml/xlt/all/xltencxml.c syncml_tk/src/sml/xlt/all/xltencxml.h syncml_tk/src/sml/xlt/all/xltmetinf.c syncml_tk/src/sml/xlt/all/xltmetinf.h syncml_tk/src/sml/xlt/all/xlttags.c syncml_tk/src/sml/xlt/all/xlttags.h syncml_tk/src/sml/xlt/all/xlttagtbl.h syncml_tk/src/sml/xlt/all/xltutilstack.c syncml_tk/src/sml/xlt/all/xltutilstack.h syncml_tk/src/sml/xlt/inc/xltdec.h syncml_tk/src/sml/xlt/inc/xltenc.h
+libsmltk_la_SOURCES = syncml_tk/src/sml/inc/smldef.h syncml_tk/src/sml/inc/smldevinfdtd.h syncml_tk/src/sml/inc/smldtd.h syncml_tk/src/sml/inc/smlerr.h syncml_tk/src/sml/inc/sml.h syncml_tk/src/sml/inc/smlmetinfdtd.h syncml_tk/src/sml/lib/all/liblock.c syncml_tk/src/sml/lib/all/libmem.c syncml_tk/src/sml/lib/all/libstr.c syncml_tk/src/sml/lib/all/libutil.c syncml_tk/src/sml/lib/inc/liblock.h syncml_tk/src/sml/lib/inc/libmem.h syncml_tk/src/sml/lib/inc/libstr.h syncml_tk/src/sml/lib/inc/libutil.h syncml_tk/src/sml/mgr/all/mgr.c syncml_tk/src/sml/mgr/all/mgrcmdbuilder.c syncml_tk/src/sml/mgr/all/mgrcmddispatcher.c syncml_tk/src/sml/mgr/all/mgrinstancelist.c syncml_tk/src/sml/mgr/all/mgrinstancemgr.c syncml_tk/src/sml/mgr/all/mgrutil.c syncml_tk/src/sml/mgr/inc/mgr.h syncml_tk/src/sml/mgr/inc/mgrutil.h syncml_tk/src/sml/wsm/all/wsm.c syncml_tk/src/sml/wsm/inc/wsm.h syncml_tk/src/sml/wsm/inc/wsm_sm.h syncml_tk/src/sml/xlt/all/xltdec.c syncml_tk/src/sml/xlt/all/xltdeccom.h syncml_tk/src/sml/xlt/all/xltdecwbxml.c syncml_tk/src/sml/xlt/all/xltdecwbxml.h syncml_tk/src/sml/xlt/all/xltdecxml.c syncml_tk/src/sml/xlt/all/xltdevinf.c syncml_tk/src/sml/xlt/all/xltdevinf.h syncml_tk/src/sml/xlt/all/xltenc.c syncml_tk/src/sml/xlt/all/xltenccom.c syncml_tk/src/sml/xlt/all/xltenccom.h syncml_tk/src/sml/xlt/all/xltencwbxml.c syncml_tk/src/sml/xlt/all/xltencwbxml.h syncml_tk/src/sml/xlt/all/xltencxml.c syncml_tk/src/sml/xlt/all/xltencxml.h syncml_tk/src/sml/xlt/all/xltmetinf.c syncml_tk/src/sml/xlt/all/xltmetinf.h syncml_tk/src/sml/xlt/all/xlttags.c syncml_tk/src/sml/xlt/all/xlttags.h syncml_tk/src/sml/xlt/all/xlttagtbl.h syncml_tk/src/sml/xlt/all/xltutilstack.c syncml_tk/src/sml/xlt/all/xltutilstack.h syncml_tk/src/sml/xlt/inc/xltdec.h syncml_tk/src/sml/xlt/inc/xltenc.h
 libsmltk_la_CFLAGS = $(libsynthesis_la_CFLAGS)
 libsmltk_la_CXXFLAGS = $(libsmltk_la_CFLAGS)
 
index 86763cb..a0f94ab 100644 (file)
@@ -56,8 +56,8 @@ host_triplet = @host@
 @COND_XMLPARSE_TRUE@   expat/xmltok/xmltok_impl.c \
 @COND_XMLPARSE_TRUE@   expat/xmltok/xmltok_ns.c
 
-@COND_STATIC_TRUE@am__append_2 = sysync_SDK/Sources/UI_util.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/timeutil.cpp
-@COND_STATIC_FALSE@am__append_3 = sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/UI_util.cpp sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/stringutil.cpp sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/timeutil.cpp
+@COND_STATIC_TRUE@am__append_2 = sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/timeutil.cpp sysync_SDK/Sources/UI_util.cpp
+@COND_STATIC_FALSE@am__append_3 = sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebridge.cpp sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/san.cpp sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/stringutil.cpp sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/timeutil.cpp sysync_SDK/Sources/UI_util.cpp
 subdir = src
 DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in
@@ -118,11 +118,11 @@ libsmltk_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsmltk_la_CFLAGS) \
        $(CFLAGS) $(libsmltk_la_LDFLAGS) $(LDFLAGS) -o $@
 am__DEPENDENCIES_1 =
-am__libsynthesis_la_SOURCES_DIST =  \
+am__libsynthesis_la_SOURCES_DIST = DB_interfaces/api_db/dbapi.cpp \
+       DB_interfaces/api_db/dbapi.h \
+       DB_interfaces/api_db/dbapi_include.h \
        DB_interfaces/api_db/DLL_interface.cpp \
        DB_interfaces/api_db/DLL_interface.h \
-       DB_interfaces/api_db/dbapi.cpp DB_interfaces/api_db/dbapi.h \
-       DB_interfaces/api_db/dbapi_include.h \
        DB_interfaces/api_db/pluginapiagent.cpp \
        DB_interfaces/api_db/pluginapiagent.h \
        DB_interfaces/api_db/pluginapids.cpp \
@@ -137,14 +137,6 @@ am__libsynthesis_la_SOURCES_DIST =  \
        DB_interfaces/odbc_db/odbcapids.h \
        DB_interfaces/odbc_db/odbcdb.h \
        DB_interfaces/odbc_db/odbcdb_precomp.h \
-       Transport_interfaces/engine/engine_client.h \
-       Transport_interfaces/engine/engine_client_precomp.h \
-       Transport_interfaces/engine/engine_server.h \
-       Transport_interfaces/engine/engine_server_precomp.h \
-       Transport_interfaces/engine/engineclientbase.cpp \
-       Transport_interfaces/engine/engineclientbase.h \
-       Transport_interfaces/engine/enginesessiondispatch.cpp \
-       Transport_interfaces/engine/enginesessiondispatch.h \
        platform_adapters/binfile.cpp platform_adapters/binfile.h \
        platform_adapters/configfiles.h \
        platform_adapters/linux/configfiles.cpp \
@@ -168,16 +160,17 @@ am__libsynthesis_la_SOURCES_DIST =  \
        platform_adapters/unix_common/platform_mutex.cpp \
        platform_adapters/unix_common/platform_pipe.c \
        platform_adapters/unix_common/platform_pipe.h \
-       syncapps/clientEngine_custom/clientengine_custom.h \
+       platform_adapters/unix_common/platform_thread.cpp \
        syncapps/clientEngine_custom/clientengine_custom_Base.cpp \
        syncapps/clientEngine_custom/clientengine_custom_Base.h \
+       syncapps/clientEngine_custom/clientengine_custom.h \
        syncapps/clientEngine_custom/clientengine_custom_precomp.h \
        syncapps/clientEngine_custom/product_options.h \
        syncapps/serverEngine_custom/combi_product_options.h \
        syncapps/serverEngine_custom/product_options.h \
-       syncapps/serverEngine_custom/serverengine_custom.h \
        syncapps/serverEngine_custom/serverengine_custom_Base.cpp \
        syncapps/serverEngine_custom/serverengine_custom_Base.h \
+       syncapps/serverEngine_custom/serverengine_custom.h \
        syncapps/serverEngine_custom/serverengine_custom_precomp.h \
        sysync/binfilebase.cpp sysync/binfilebase.h \
        sysync/binfileimplclient.cpp sysync/binfileimplclient.h \
@@ -201,34 +194,9 @@ am__libsynthesis_la_SOURCES_DIST =  \
        sysync/rawdataitemtype.cpp sysync/rawdataitemtype.h \
        sysync/remotedatastore.cpp sysync/remotedatastore.h \
        sysync/rrules.cpp sysync/rrules.h sysync/scriptcontext.cpp \
-       sysync/scriptcontext.h sysync/simpleitem.cpp \
-       sysync/simpleitem.h sysync/smltk_precomp.h \
-       sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp \
-       sysync/stdlogicagent.h sysync/stdlogicds.cpp \
-       sysync/stdlogicds.h sysync/stringutils.cpp \
-       sysync/stringutils.h sysync/superdatastore.cpp \
-       sysync/superdatastore.h sysync/syncagent.cpp \
-       sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h \
-       sysync/syncclientbase.cpp sysync/syncclientbase.h \
-       sysync/synccommand.cpp sysync/synccommand.h \
-       sysync/syncdatastore.cpp sysync/syncdatastore.h \
-       sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp \
-       sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h \
-       sysync/syncsession.cpp sysync/syncsession.h \
-       sysync/syncsessiondispatch.h sysync/syserial.h sysync/sysync.h \
-       sysync/sysync_crc16.cpp sysync/sysync_crc16.h \
-       sysync/sysync_debug.h sysync/sysync_globs.h \
-       sysync/sysync_precomp.h sysync/sysync_precomp_xpt.h \
-       sysync/textitemtype.cpp sysync/textitemtype.h \
-       sysync/textprofile.cpp sysync/textprofile.h \
-       sysync/timezones.cpp sysync/timezones.h sysync/tz_table.h \
-       sysync/uiapi.cpp sysync/uiapi.h sysync/vcalendaritemtype.cpp \
-       sysync/vcalendaritemtype.h sysync/vcarditemtype.cpp \
-       sysync/vcarditemtype.h sysync/vtimezone.cpp sysync/vtimezone.h \
+       sysync/scriptcontext.h \
        sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp \
-       sysync_SDK/Sources/SDK_support.cpp \
-       sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c \
-       sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/admindata.cpp \
+       sysync_SDK/Sources/admindata.cpp \
        sysync_SDK/Sources/admindata.h sysync_SDK/Sources/blobs.cpp \
        sysync_SDK/Sources/blobs.h sysync_SDK/Sources/dataconversion.h \
        sysync_SDK/Sources/dbitem.cpp sysync_SDK/Sources/dbitem.h \
@@ -238,37 +206,71 @@ am__libsynthesis_la_SOURCES_DIST =  \
        sysync_SDK/Sources/generic_types.h \
        sysync_SDK/Sources/lineartime.cpp \
        sysync_SDK/Sources/lineartime.h \
-       sysync_SDK/Sources/prefix_file.h sysync_SDK/Sources/syerror.h \
-       sysync_SDK/Sources/sync_dbapi.h \
+       sysync_SDK/Sources/prefix_file.h \
+       sysync_SDK/Sources/SDK_support.cpp \
+       sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c \
+       sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/syerror.h \
        sysync_SDK/Sources/sync_dbapidef.h \
+       sysync_SDK/Sources/sync_dbapi.h \
        sysync_SDK/Sources/sync_declarations.h \
-       sysync_SDK/Sources/sync_include.h \
-       sysync_SDK/Sources/sync_uiapi.h \
        sysync_SDK/Sources/syncexception.cpp \
        sysync_SDK/Sources/syncexception.h \
+       sysync_SDK/Sources/sync_include.h \
+       sysync_SDK/Sources/sync_uiapi.h \
        sysync_SDK/Sources/sysync_b64.cpp \
        sysync_SDK/Sources/sysync_b64.h \
        sysync_SDK/Sources/sysync_md5.cpp \
        sysync_SDK/Sources/sysync_md5.h \
+       sysync_SDK/Sources/sysync_noncopyable.h \
        sysync_SDK/Sources/sysync_utils.cpp \
-       sysync_SDK/Sources/sysync_utils.h expat/xmlparse/xmlparse.c \
-       expat/xmlparse/xmlparse.h expat/xmltok/ascii.h \
-       expat/xmltok/asciitab.h expat/xmltok/iasciitab.h \
-       expat/xmltok/latin1tab.h expat/xmltok/nametab.h \
-       expat/xmltok/utf8tab.h expat/xmltok/xmldef.h \
-       expat/xmltok/xmlrole.c expat/xmltok/xmlrole.h \
-       expat/xmltok/xmltok.c expat/xmltok/xmltok.h \
-       expat/xmltok/xmltok_impl.h
+       sysync_SDK/Sources/sysync_utils.h sysync/simpleitem.cpp \
+       sysync/simpleitem.h sysync/smltk_precomp.h \
+       sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp \
+       sysync/stdlogicagent.h sysync/stdlogicds.cpp \
+       sysync/stdlogicds.h sysync/stringutils.cpp \
+       sysync/stringutils.h sysync/superdatastore.cpp \
+       sysync/superdatastore.h sysync/syncagent.cpp \
+       sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h \
+       sysync/syncclientbase.cpp sysync/syncclientbase.h \
+       sysync/synccommand.cpp sysync/synccommand.h \
+       sysync/syncdatastore.cpp sysync/syncdatastore.h \
+       sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp \
+       sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h \
+       sysync/syncsession.cpp sysync/syncsessiondispatch.h \
+       sysync/syncsession.h sysync/syserial.h sysync/sysync_crc16.cpp \
+       sysync/sysync_crc16.h sysync/sysync_debug.h \
+       sysync/sysync_globs.h sysync/sysync.h sysync/sysync_precomp.h \
+       sysync/sysync_precomp_xpt.h sysync/textitemtype.cpp \
+       sysync/textitemtype.h sysync/textprofile.cpp \
+       sysync/textprofile.h sysync/timezones.cpp sysync/timezones.h \
+       sysync/tz_table.h sysync/uiapi.cpp sysync/uiapi.h \
+       sysync/vcalendaritemtype.cpp sysync/vcalendaritemtype.h \
+       sysync/vcarditemtype.cpp sysync/vcarditemtype.h \
+       sysync/vtimezone.cpp sysync/vtimezone.h \
+       Transport_interfaces/engine/engineclientbase.cpp \
+       Transport_interfaces/engine/engineclientbase.h \
+       Transport_interfaces/engine/engine_client.h \
+       Transport_interfaces/engine/engine_client_precomp.h \
+       Transport_interfaces/engine/engine_server.h \
+       Transport_interfaces/engine/engine_server_precomp.h \
+       Transport_interfaces/engine/enginesessiondispatch.cpp \
+       Transport_interfaces/engine/enginesessiondispatch.h \
+       expat/xmlparse/xmlparse.c expat/xmlparse/xmlparse.h \
+       expat/xmltok/ascii.h expat/xmltok/asciitab.h \
+       expat/xmltok/iasciitab.h expat/xmltok/latin1tab.h \
+       expat/xmltok/nametab.h expat/xmltok/utf8tab.h \
+       expat/xmltok/xmldef.h expat/xmltok/xmlrole.c \
+       expat/xmltok/xmlrole.h expat/xmltok/xmltok.c \
+       expat/xmltok/xmltok.h expat/xmltok/xmltok_impl.h
 @COND_XMLPARSE_TRUE@am__objects_1 = libsynthesis_la-xmlparse.lo \
 @COND_XMLPARSE_TRUE@   libsynthesis_la-xmlrole.lo \
 @COND_XMLPARSE_TRUE@   libsynthesis_la-xmltok.lo
-am_libsynthesis_la_OBJECTS = libsynthesis_la-DLL_interface.lo \
-       libsynthesis_la-dbapi.lo libsynthesis_la-pluginapiagent.lo \
+am_libsynthesis_la_OBJECTS = libsynthesis_la-dbapi.lo \
+       libsynthesis_la-DLL_interface.lo \
+       libsynthesis_la-pluginapiagent.lo \
        libsynthesis_la-pluginapids.lo \
        libsynthesis_la-sync_dbapiconnect.lo \
        libsynthesis_la-odbcapiagent.lo libsynthesis_la-odbcapids.lo \
-       libsynthesis_la-engineclientbase.lo \
-       libsynthesis_la-enginesessiondispatch.lo \
        libsynthesis_la-binfile.lo libsynthesis_la-configfiles.lo \
        libsynthesis_la-platform_DLL.lo \
        libsynthesis_la-platform_exec.lo \
@@ -278,6 +280,7 @@ am_libsynthesis_la_OBJECTS = libsynthesis_la-DLL_interface.lo \
        libsynthesis_la-platform_file.lo \
        libsynthesis_la-platform_mutex.lo \
        libsynthesis_la-platform_pipe.lo \
+       libsynthesis_la-platform_thread.lo \
        libsynthesis_la-clientengine_custom_Base.lo \
        libsynthesis_la-serverengine_custom_Base.lo \
        libsynthesis_la-binfilebase.lo \
@@ -298,7 +301,14 @@ am_libsynthesis_la_OBJECTS = libsynthesis_la-DLL_interface.lo \
        libsynthesis_la-multifielditemtype.lo \
        libsynthesis_la-rawdataitemtype.lo \
        libsynthesis_la-remotedatastore.lo libsynthesis_la-rrules.lo \
-       libsynthesis_la-scriptcontext.lo libsynthesis_la-simpleitem.lo \
+       libsynthesis_la-scriptcontext.lo \
+       libsynthesis_la-sync_dbapi_text.lo \
+       libsynthesis_la-admindata.lo libsynthesis_la-blobs.lo \
+       libsynthesis_la-dbitem.lo libsynthesis_la-enginemodulebase.lo \
+       libsynthesis_la-lineartime.lo libsynthesis_la-SDK_support.lo \
+       libsynthesis_la-SDK_util.lo libsynthesis_la-syncexception.lo \
+       libsynthesis_la-sysync_b64.lo libsynthesis_la-sysync_md5.lo \
+       libsynthesis_la-sysync_utils.lo libsynthesis_la-simpleitem.lo \
        libsynthesis_la-stdlogicagent.lo libsynthesis_la-stdlogicds.lo \
        libsynthesis_la-stringutils.lo \
        libsynthesis_la-superdatastore.lo libsynthesis_la-syncagent.lo \
@@ -312,61 +322,59 @@ am_libsynthesis_la_OBJECTS = libsynthesis_la-DLL_interface.lo \
        libsynthesis_la-timezones.lo libsynthesis_la-uiapi.lo \
        libsynthesis_la-vcalendaritemtype.lo \
        libsynthesis_la-vcarditemtype.lo libsynthesis_la-vtimezone.lo \
-       libsynthesis_la-sync_dbapi_text.lo \
-       libsynthesis_la-SDK_support.lo libsynthesis_la-SDK_util.lo \
-       libsynthesis_la-admindata.lo libsynthesis_la-blobs.lo \
-       libsynthesis_la-dbitem.lo libsynthesis_la-enginemodulebase.lo \
-       libsynthesis_la-lineartime.lo libsynthesis_la-syncexception.lo \
-       libsynthesis_la-sysync_b64.lo libsynthesis_la-sysync_md5.lo \
-       libsynthesis_la-sysync_utils.lo $(am__objects_1)
+       libsynthesis_la-engineclientbase.lo \
+       libsynthesis_la-enginesessiondispatch.lo $(am__objects_1)
 libsynthesis_la_OBJECTS = $(am_libsynthesis_la_OBJECTS)
 libsynthesis_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
        $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) \
        $(libsynthesis_la_LDFLAGS) $(LDFLAGS) -o $@
 libsynthesissdk_la_DEPENDENCIES = libsmltk.la
-am__libsynthesissdk_la_SOURCES_DIST = synthesis/SDK_support.h \
-       synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h \
+am__libsynthesissdk_la_SOURCES_DIST = synthesis/admindata.h \
        synthesis/blobs.h synthesis/dataconversion.h \
        synthesis/dbitem.h synthesis/engine_defs.h \
        synthesis/enginemodulebase.h synthesis/enginemodulebridge.h \
        synthesis/generic_types.h synthesis/lineartime.h \
-       synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h \
-       synthesis/syerror.h synthesis/sync_dbapi.h \
-       synthesis/sync_dbapidef.h synthesis/sync_declarations.h \
+       synthesis/prefix_file.h synthesis/san.h \
+       synthesis/SDK_support.h synthesis/SDK_util.h \
+       synthesis/stringutil.h synthesis/syerror.h \
+       synthesis/sync_dbapidef.h synthesis/sync_dbapi.h \
+       synthesis/sync_declarations.h synthesis/syncexception.h \
        synthesis/sync_include.h synthesis/sync_uiapi.h \
-       synthesis/syncexception.h synthesis/sysync_b64.h \
-       synthesis/sysync_md5.h synthesis/sysync_utils.h \
-       synthesis/timeutil.h sysync_SDK/Sources/UI_util.cpp \
+       synthesis/sysync_b64.h synthesis/sysync_md5.h \
+       synthesis/sysync_noncopyable.h synthesis/sysync_utils.h \
+       synthesis/timeutil.h synthesis/UI_util.h \
        sysync_SDK/Sources/enginemodulebridge.cpp \
        sysync_SDK/Sources/san.cpp sysync_SDK/Sources/timeutil.cpp \
-       sysync_SDK/Sources/SDK_support.cpp \
-       sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/blobs.cpp \
+       sysync_SDK/Sources/UI_util.cpp sysync_SDK/Sources/blobs.cpp \
        sysync_SDK/Sources/enginemodulebase.cpp \
        sysync_SDK/Sources/lineartime.cpp \
+       sysync_SDK/Sources/SDK_support.cpp \
+       sysync_SDK/Sources/SDK_util.c \
        sysync_SDK/Sources/stringutil.cpp \
        sysync_SDK/Sources/syncexception.cpp \
        sysync_SDK/Sources/sysync_b64.cpp \
        sysync_SDK/Sources/sysync_md5.cpp \
        sysync_SDK/Sources/sysync_utils.cpp
-@COND_STATIC_TRUE@am__objects_2 = libsynthesissdk_la-UI_util.lo \
+@COND_STATIC_TRUE@am__objects_2 =  \
 @COND_STATIC_TRUE@     libsynthesissdk_la-enginemodulebridge.lo \
 @COND_STATIC_TRUE@     libsynthesissdk_la-san.lo \
-@COND_STATIC_TRUE@     libsynthesissdk_la-timeutil.lo
-@COND_STATIC_FALSE@am__objects_3 = libsynthesissdk_la-SDK_support.lo \
-@COND_STATIC_FALSE@    libsynthesissdk_la-SDK_util.lo \
-@COND_STATIC_FALSE@    libsynthesissdk_la-UI_util.lo \
-@COND_STATIC_FALSE@    libsynthesissdk_la-blobs.lo \
+@COND_STATIC_TRUE@     libsynthesissdk_la-timeutil.lo \
+@COND_STATIC_TRUE@     libsynthesissdk_la-UI_util.lo
+@COND_STATIC_FALSE@am__objects_3 = libsynthesissdk_la-blobs.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-enginemodulebase.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-enginemodulebridge.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-lineartime.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-san.lo \
+@COND_STATIC_FALSE@    libsynthesissdk_la-SDK_support.lo \
+@COND_STATIC_FALSE@    libsynthesissdk_la-SDK_util.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-stringutil.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-syncexception.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-sysync_b64.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-sysync_md5.lo \
 @COND_STATIC_FALSE@    libsynthesissdk_la-sysync_utils.lo \
-@COND_STATIC_FALSE@    libsynthesissdk_la-timeutil.lo
+@COND_STATIC_FALSE@    libsynthesissdk_la-timeutil.lo \
+@COND_STATIC_FALSE@    libsynthesissdk_la-UI_util.lo
 am_libsynthesissdk_la_OBJECTS = $(am__objects_2) $(am__objects_3)
 libsynthesissdk_la_OBJECTS = $(am_libsynthesissdk_la_OBJECTS)
 libsynthesissdk_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
@@ -571,7 +579,7 @@ ENGINE_AGE = 6
 CLEANFILES = 
 EXTRA_DIST = $(am__append_1)
 lib_LTLIBRARIES = libsmltk.la libsynthesis.la libsynthesissdk.la libsynthesisstubs.la
-nobase_include_HEADERS = synthesis/SDK_support.h synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapi.h synthesis/sync_dbapidef.h synthesis/sync_declarations.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/syncexception.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/target_options.h
+nobase_include_HEADERS = synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/SDK_support.h synthesis/SDK_util.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapidef.h synthesis/sync_dbapi.h synthesis/sync_declarations.h synthesis/syncexception.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_noncopyable.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/UI_util.h synthesis/target_options.h
 
 # Configuration header files are searched in this order:
 # - Targets/ReleasedProducts/autotools: files only used when compiling with autotools
@@ -583,7 +591,7 @@ nobase_include_HEADERS = synthesis/SDK_support.h synthesis/SDK_util.h synthesis/
 #
 # Included as needed:
 # - define.h: hard-coded SyncML Toolkit config (from search path above)
-libsynthesis_la_SOURCES = DB_interfaces/api_db/DLL_interface.cpp DB_interfaces/api_db/DLL_interface.h DB_interfaces/api_db/dbapi.cpp DB_interfaces/api_db/dbapi.h DB_interfaces/api_db/dbapi_include.h DB_interfaces/api_db/pluginapiagent.cpp DB_interfaces/api_db/pluginapiagent.h DB_interfaces/api_db/pluginapids.cpp DB_interfaces/api_db/pluginapids.h DB_interfaces/api_db/plugindb.h DB_interfaces/api_db/plugindb_precomp.h DB_interfaces/api_db/sync_dbapiconnect.cpp DB_interfaces/api_db/sync_dbapiconnect.h DB_interfaces/odbc_db/odbcapiagent.cpp DB_interfaces/odbc_db/odbcapiagent.h DB_interfaces/odbc_db/odbcapids.cpp DB_interfaces/odbc_db/odbcapids.h DB_interfaces/odbc_db/odbcdb.h DB_interfaces/odbc_db/odbcdb_precomp.h Transport_interfaces/engine/engine_client.h Transport_interfaces/engine/engine_client_precomp.h Transport_interfaces/engine/engine_server.h Transport_interfaces/engine/engine_server_precomp.h Transport_interfaces/engine/engineclientbase.cpp Transport_interfaces/engine/engineclientbase.h Transport_interfaces/engine/enginesessiondispatch.cpp Transport_interfaces/engine/enginesessiondispatch.h platform_adapters/binfile.cpp platform_adapters/binfile.h platform_adapters/configfiles.h platform_adapters/linux/configfiles.cpp platform_adapters/linux/platform_DLL.cpp platform_adapters/linux/platform_exec.c platform_adapters/linux/platform_exec.h platform_adapters/linux/platform_headers.h platform_adapters/linux/platform_time.cpp platform_adapters/linux/platform_time.h platform_adapters/linux/platform_timezones.cpp platform_adapters/linux/profiling.cpp platform_adapters/platform_DLL.h platform_adapters/platform_file.h platform_adapters/platform_headers.h platform_adapters/platform_mutex.h platform_adapters/platform_thread.h platform_adapters/profiling.h platform_adapters/sysync_glob_vars.h platform_adapters/sysyncinit.cpp platform_adapters/unix_common/platform_file.cpp platform_adapters/unix_common/platform_mutex.cpp platform_adapters/unix_common/platform_pipe.c platform_adapters/unix_common/platform_pipe.h syncapps/clientEngine_custom/clientengine_custom.h syncapps/clientEngine_custom/clientengine_custom_Base.cpp syncapps/clientEngine_custom/clientengine_custom_Base.h syncapps/clientEngine_custom/clientengine_custom_precomp.h syncapps/clientEngine_custom/product_options.h syncapps/serverEngine_custom/combi_product_options.h syncapps/serverEngine_custom/product_options.h syncapps/serverEngine_custom/serverengine_custom.h syncapps/serverEngine_custom/serverengine_custom_Base.cpp syncapps/serverEngine_custom/serverengine_custom_Base.h syncapps/serverEngine_custom/serverengine_custom_precomp.h sysync/binfilebase.cpp sysync/binfilebase.h sysync/binfileimplclient.cpp sysync/binfileimplclient.h sysync/binfileimplds.cpp sysync/binfileimplds.h sysync/clientautosync_inc.cpp sysync/clientautosync_inc.h sysync/clientprovisioning_inc.h sysync/configelement.cpp sysync/configelement.h sysync/customimplagent.cpp sysync/customimplagent.h sysync/customimplds.cpp sysync/customimplds.h sysync/dataconversion.cpp sysync/dataobjtype.cpp sysync/dataobjtype.h sysync/debuglogger.cpp sysync/debuglogger.h sysync/engineentry.cpp sysync/engineentry.h sysync/engineinterface.cpp sysync/engineinterface.h sysync/global_progress.h sysync/iso8601.cpp sysync/iso8601.h sysync/itemfield.cpp sysync/itemfield.h sysync/localengineds.cpp sysync/localengineds.h sysync/mimediritemtype.cpp sysync/mimediritemtype.h sysync/mimedirprofile.cpp sysync/mimedirprofile.h sysync/multifielditem.cpp sysync/multifielditem.h sysync/multifielditemtype.cpp sysync/multifielditemtype.h sysync/rawdataitemtype.cpp sysync/rawdataitemtype.h sysync/remotedatastore.cpp sysync/remotedatastore.h sysync/rrules.cpp sysync/rrules.h sysync/scriptcontext.cpp sysync/scriptcontext.h sysync/simpleitem.cpp sysync/simpleitem.h sysync/smltk_precomp.h sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp sysync/stdlogicagent.h sysync/stdlogicds.cpp sysync/stdlogicds.h sysync/stringutils.cpp sysync/stringutils.h sysync/superdatastore.cpp sysync/superdatastore.h sysync/syncagent.cpp sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h sysync/syncclientbase.cpp sysync/syncclientbase.h sysync/synccommand.cpp sysync/synccommand.h sysync/syncdatastore.cpp sysync/syncdatastore.h sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h sysync/syncsession.cpp sysync/syncsession.h sysync/syncsessiondispatch.h sysync/syserial.h sysync/sysync.h sysync/sysync_crc16.cpp sysync/sysync_crc16.h sysync/sysync_debug.h sysync/sysync_globs.h sysync/sysync_precomp.h sysync/sysync_precomp_xpt.h sysync/textitemtype.cpp sysync/textitemtype.h sysync/textprofile.cpp sysync/textprofile.h sysync/timezones.cpp sysync/timezones.h sysync/tz_table.h sysync/uiapi.cpp sysync/uiapi.h sysync/vcalendaritemtype.cpp sysync/vcalendaritemtype.h sysync/vcarditemtype.cpp sysync/vcarditemtype.h sysync/vtimezone.cpp sysync/vtimezone.h sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/admindata.cpp sysync_SDK/Sources/admindata.h sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/blobs.h sysync_SDK/Sources/dataconversion.h sysync_SDK/Sources/dbitem.cpp sysync_SDK/Sources/dbitem.h sysync_SDK/Sources/engine_defs.h sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebase.h sysync_SDK/Sources/generic_types.h sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/lineartime.h sysync_SDK/Sources/prefix_file.h sysync_SDK/Sources/syerror.h sysync_SDK/Sources/sync_dbapi.h sysync_SDK/Sources/sync_dbapidef.h sysync_SDK/Sources/sync_declarations.h sysync_SDK/Sources/sync_include.h sysync_SDK/Sources/sync_uiapi.h sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/syncexception.h sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_b64.h sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_md5.h sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/sysync_utils.h \
+libsynthesis_la_SOURCES = DB_interfaces/api_db/dbapi.cpp DB_interfaces/api_db/dbapi.h DB_interfaces/api_db/dbapi_include.h DB_interfaces/api_db/DLL_interface.cpp DB_interfaces/api_db/DLL_interface.h DB_interfaces/api_db/pluginapiagent.cpp DB_interfaces/api_db/pluginapiagent.h DB_interfaces/api_db/pluginapids.cpp DB_interfaces/api_db/pluginapids.h DB_interfaces/api_db/plugindb.h DB_interfaces/api_db/plugindb_precomp.h DB_interfaces/api_db/sync_dbapiconnect.cpp DB_interfaces/api_db/sync_dbapiconnect.h DB_interfaces/odbc_db/odbcapiagent.cpp DB_interfaces/odbc_db/odbcapiagent.h DB_interfaces/odbc_db/odbcapids.cpp DB_interfaces/odbc_db/odbcapids.h DB_interfaces/odbc_db/odbcdb.h DB_interfaces/odbc_db/odbcdb_precomp.h platform_adapters/binfile.cpp platform_adapters/binfile.h platform_adapters/configfiles.h platform_adapters/linux/configfiles.cpp platform_adapters/linux/platform_DLL.cpp platform_adapters/linux/platform_exec.c platform_adapters/linux/platform_exec.h platform_adapters/linux/platform_headers.h platform_adapters/linux/platform_time.cpp platform_adapters/linux/platform_time.h platform_adapters/linux/platform_timezones.cpp platform_adapters/linux/profiling.cpp platform_adapters/platform_DLL.h platform_adapters/platform_file.h platform_adapters/platform_headers.h platform_adapters/platform_mutex.h platform_adapters/platform_thread.h platform_adapters/profiling.h platform_adapters/sysync_glob_vars.h platform_adapters/sysyncinit.cpp platform_adapters/unix_common/platform_file.cpp platform_adapters/unix_common/platform_mutex.cpp platform_adapters/unix_common/platform_pipe.c platform_adapters/unix_common/platform_pipe.h platform_adapters/unix_common/platform_thread.cpp syncapps/clientEngine_custom/clientengine_custom_Base.cpp syncapps/clientEngine_custom/clientengine_custom_Base.h syncapps/clientEngine_custom/clientengine_custom.h syncapps/clientEngine_custom/clientengine_custom_precomp.h syncapps/clientEngine_custom/product_options.h syncapps/serverEngine_custom/combi_product_options.h syncapps/serverEngine_custom/product_options.h syncapps/serverEngine_custom/serverengine_custom_Base.cpp syncapps/serverEngine_custom/serverengine_custom_Base.h syncapps/serverEngine_custom/serverengine_custom.h syncapps/serverEngine_custom/serverengine_custom_precomp.h sysync/binfilebase.cpp sysync/binfilebase.h sysync/binfileimplclient.cpp sysync/binfileimplclient.h sysync/binfileimplds.cpp sysync/binfileimplds.h sysync/clientautosync_inc.cpp sysync/clientautosync_inc.h sysync/clientprovisioning_inc.h sysync/configelement.cpp sysync/configelement.h sysync/customimplagent.cpp sysync/customimplagent.h sysync/customimplds.cpp sysync/customimplds.h sysync/dataconversion.cpp sysync/dataobjtype.cpp sysync/dataobjtype.h sysync/debuglogger.cpp sysync/debuglogger.h sysync/engineentry.cpp sysync/engineentry.h sysync/engineinterface.cpp sysync/engineinterface.h sysync/global_progress.h sysync/iso8601.cpp sysync/iso8601.h sysync/itemfield.cpp sysync/itemfield.h sysync/localengineds.cpp sysync/localengineds.h sysync/mimediritemtype.cpp sysync/mimediritemtype.h sysync/mimedirprofile.cpp sysync/mimedirprofile.h sysync/multifielditem.cpp sysync/multifielditem.h sysync/multifielditemtype.cpp sysync/multifielditemtype.h sysync/rawdataitemtype.cpp sysync/rawdataitemtype.h sysync/remotedatastore.cpp sysync/remotedatastore.h sysync/rrules.cpp sysync/rrules.h sysync/scriptcontext.cpp sysync/scriptcontext.h sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp sysync_SDK/Sources/admindata.cpp sysync_SDK/Sources/admindata.h sysync_SDK/Sources/blobs.cpp sysync_SDK/Sources/blobs.h sysync_SDK/Sources/dataconversion.h sysync_SDK/Sources/dbitem.cpp sysync_SDK/Sources/dbitem.h sysync_SDK/Sources/engine_defs.h sysync_SDK/Sources/enginemodulebase.cpp sysync_SDK/Sources/enginemodulebase.h sysync_SDK/Sources/generic_types.h sysync_SDK/Sources/lineartime.cpp sysync_SDK/Sources/lineartime.h sysync_SDK/Sources/prefix_file.h sysync_SDK/Sources/SDK_support.cpp sysync_SDK/Sources/SDK_support.h sysync_SDK/Sources/SDK_util.c sysync_SDK/Sources/SDK_util.h sysync_SDK/Sources/syerror.h sysync_SDK/Sources/sync_dbapidef.h sysync_SDK/Sources/sync_dbapi.h sysync_SDK/Sources/sync_declarations.h sysync_SDK/Sources/syncexception.cpp sysync_SDK/Sources/syncexception.h sysync_SDK/Sources/sync_include.h sysync_SDK/Sources/sync_uiapi.h sysync_SDK/Sources/sysync_b64.cpp sysync_SDK/Sources/sysync_b64.h sysync_SDK/Sources/sysync_md5.cpp sysync_SDK/Sources/sysync_md5.h sysync_SDK/Sources/sysync_noncopyable.h sysync_SDK/Sources/sysync_utils.cpp sysync_SDK/Sources/sysync_utils.h sysync/simpleitem.cpp sysync/simpleitem.h sysync/smltk_precomp.h sysync/smltk_precomp_xpt.h sysync/stdlogicagent.cpp sysync/stdlogicagent.h sysync/stdlogicds.cpp sysync/stdlogicds.h sysync/stringutils.cpp sysync/stringutils.h sysync/superdatastore.cpp sysync/superdatastore.h sysync/syncagent.cpp sysync/syncagent.h sysync/syncappbase.cpp sysync/syncappbase.h sysync/syncclientbase.cpp sysync/syncclientbase.h sysync/synccommand.cpp sysync/synccommand.h sysync/syncdatastore.cpp sysync/syncdatastore.h sysync/syncitem.cpp sysync/syncitem.h sysync/syncitemtype.cpp sysync/syncitemtype.h sysync/syncml_globs.h sysync/syncml_tk.h sysync/syncsession.cpp sysync/syncsessiondispatch.h sysync/syncsession.h sysync/syserial.h sysync/sysync_crc16.cpp sysync/sysync_crc16.h sysync/sysync_debug.h sysync/sysync_globs.h sysync/sysync.h sysync/sysync_precomp.h sysync/sysync_precomp_xpt.h sysync/textitemtype.cpp sysync/textitemtype.h sysync/textprofile.cpp sysync/textprofile.h sysync/timezones.cpp sysync/timezones.h sysync/tz_table.h sysync/uiapi.cpp sysync/uiapi.h sysync/vcalendaritemtype.cpp sysync/vcalendaritemtype.h sysync/vcarditemtype.cpp sysync/vcarditemtype.h sysync/vtimezone.cpp sysync/vtimezone.h Transport_interfaces/engine/engineclientbase.cpp Transport_interfaces/engine/engineclientbase.h Transport_interfaces/engine/engine_client.h Transport_interfaces/engine/engine_client_precomp.h Transport_interfaces/engine/engine_server.h Transport_interfaces/engine/engine_server_precomp.h Transport_interfaces/engine/enginesessiondispatch.cpp Transport_interfaces/engine/enginesessiondispatch.h \
        $(XMLPARSE_SOURCES)
 
 libsynthesis_la_CPPFLAGS = -I$(srcdir)/sysync_SDK/Sources
@@ -649,19 +657,20 @@ libsynthesissdk_la_LIBADD = libsmltk.la # san.cpp calls sml* functions directly
 libsynthesissdk_la_LDFLAGS = -static
 libsynthesissdk_la_CFLAGS = $(PIC_CXXFLAGS) $(SYNTHESIS_WFLAGS)
 libsynthesissdk_la_CXXFLAGS = $(PIC_CXXFLAGS) $(SYNTHESIS_WFLAGS)
-libsynthesissdk_la_SOURCES = synthesis/SDK_support.h \
-       synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h \
-       synthesis/blobs.h synthesis/dataconversion.h \
-       synthesis/dbitem.h synthesis/engine_defs.h \
-       synthesis/enginemodulebase.h synthesis/enginemodulebridge.h \
-       synthesis/generic_types.h synthesis/lineartime.h \
-       synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h \
-       synthesis/syerror.h synthesis/sync_dbapi.h \
-       synthesis/sync_dbapidef.h synthesis/sync_declarations.h \
+libsynthesissdk_la_SOURCES = synthesis/admindata.h synthesis/blobs.h \
+       synthesis/dataconversion.h synthesis/dbitem.h \
+       synthesis/engine_defs.h synthesis/enginemodulebase.h \
+       synthesis/enginemodulebridge.h synthesis/generic_types.h \
+       synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h \
+       synthesis/SDK_support.h synthesis/SDK_util.h \
+       synthesis/stringutil.h synthesis/syerror.h \
+       synthesis/sync_dbapidef.h synthesis/sync_dbapi.h \
+       synthesis/sync_declarations.h synthesis/syncexception.h \
        synthesis/sync_include.h synthesis/sync_uiapi.h \
-       synthesis/syncexception.h synthesis/sysync_b64.h \
-       synthesis/sysync_md5.h synthesis/sysync_utils.h \
-       synthesis/timeutil.h $(am__append_2) $(am__append_3)
+       synthesis/sysync_b64.h synthesis/sysync_md5.h \
+       synthesis/sysync_noncopyable.h synthesis/sysync_utils.h \
+       synthesis/timeutil.h synthesis/UI_util.h $(am__append_2) \
+       $(am__append_3)
 libsynthesissdk_la_CPPFLAGS = \
        -D_GNU_SOURCE=1 \
        -include $(top_builddir)/config.h \
@@ -682,10 +691,10 @@ libsynthesisstubs_la_SOURCES = sysync_SDK/Sources/enginestubs.c
 libsynthesisstubs_la_CPPFLAGS = $(libsynthesissdk_la_CPPFLAGS)
 
 # libsmltk: compiled just like libsynthesis
-libsmltk_la_SOURCES = syncml_tk/src/sml/inc/sml.h \
-       syncml_tk/src/sml/inc/smldef.h \
+libsmltk_la_SOURCES = syncml_tk/src/sml/inc/smldef.h \
        syncml_tk/src/sml/inc/smldevinfdtd.h \
        syncml_tk/src/sml/inc/smldtd.h syncml_tk/src/sml/inc/smlerr.h \
+       syncml_tk/src/sml/inc/sml.h \
        syncml_tk/src/sml/inc/smlmetinfdtd.h \
        syncml_tk/src/sml/lib/all/liblock.c \
        syncml_tk/src/sml/lib/all/libmem.c \
@@ -880,6 +889,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_file.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_mutex.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_pipe.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_thread.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_time.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-platform_timezones.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsynthesis_la-pluginapiagent.Plo@am__quote@
@@ -1189,13 +1199,6 @@ libsynthesisstubs_la-enginestubs.lo: sysync_SDK/Sources/enginestubs.c
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
 
-libsynthesis_la-DLL_interface.lo: DB_interfaces/api_db/DLL_interface.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-DLL_interface.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-DLL_interface.Tpo -c -o libsynthesis_la-DLL_interface.lo `test -f 'DB_interfaces/api_db/DLL_interface.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/DLL_interface.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-DLL_interface.Tpo $(DEPDIR)/libsynthesis_la-DLL_interface.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='DB_interfaces/api_db/DLL_interface.cpp' object='libsynthesis_la-DLL_interface.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-DLL_interface.lo `test -f 'DB_interfaces/api_db/DLL_interface.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/DLL_interface.cpp
-
 libsynthesis_la-dbapi.lo: DB_interfaces/api_db/dbapi.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-dbapi.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-dbapi.Tpo -c -o libsynthesis_la-dbapi.lo `test -f 'DB_interfaces/api_db/dbapi.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/dbapi.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-dbapi.Tpo $(DEPDIR)/libsynthesis_la-dbapi.Plo
@@ -1203,6 +1206,13 @@ libsynthesis_la-dbapi.lo: DB_interfaces/api_db/dbapi.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-dbapi.lo `test -f 'DB_interfaces/api_db/dbapi.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/dbapi.cpp
 
+libsynthesis_la-DLL_interface.lo: DB_interfaces/api_db/DLL_interface.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-DLL_interface.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-DLL_interface.Tpo -c -o libsynthesis_la-DLL_interface.lo `test -f 'DB_interfaces/api_db/DLL_interface.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/DLL_interface.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-DLL_interface.Tpo $(DEPDIR)/libsynthesis_la-DLL_interface.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='DB_interfaces/api_db/DLL_interface.cpp' object='libsynthesis_la-DLL_interface.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-DLL_interface.lo `test -f 'DB_interfaces/api_db/DLL_interface.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/DLL_interface.cpp
+
 libsynthesis_la-pluginapiagent.lo: DB_interfaces/api_db/pluginapiagent.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-pluginapiagent.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-pluginapiagent.Tpo -c -o libsynthesis_la-pluginapiagent.lo `test -f 'DB_interfaces/api_db/pluginapiagent.cpp' || echo '$(srcdir)/'`DB_interfaces/api_db/pluginapiagent.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-pluginapiagent.Tpo $(DEPDIR)/libsynthesis_la-pluginapiagent.Plo
@@ -1238,20 +1248,6 @@ libsynthesis_la-odbcapids.lo: DB_interfaces/odbc_db/odbcapids.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-odbcapids.lo `test -f 'DB_interfaces/odbc_db/odbcapids.cpp' || echo '$(srcdir)/'`DB_interfaces/odbc_db/odbcapids.cpp
 
-libsynthesis_la-engineclientbase.lo: Transport_interfaces/engine/engineclientbase.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-engineclientbase.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-engineclientbase.Tpo -c -o libsynthesis_la-engineclientbase.lo `test -f 'Transport_interfaces/engine/engineclientbase.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/engineclientbase.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-engineclientbase.Tpo $(DEPDIR)/libsynthesis_la-engineclientbase.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='Transport_interfaces/engine/engineclientbase.cpp' object='libsynthesis_la-engineclientbase.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-engineclientbase.lo `test -f 'Transport_interfaces/engine/engineclientbase.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/engineclientbase.cpp
-
-libsynthesis_la-enginesessiondispatch.lo: Transport_interfaces/engine/enginesessiondispatch.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-enginesessiondispatch.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Tpo -c -o libsynthesis_la-enginesessiondispatch.lo `test -f 'Transport_interfaces/engine/enginesessiondispatch.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/enginesessiondispatch.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Tpo $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='Transport_interfaces/engine/enginesessiondispatch.cpp' object='libsynthesis_la-enginesessiondispatch.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-enginesessiondispatch.lo `test -f 'Transport_interfaces/engine/enginesessiondispatch.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/enginesessiondispatch.cpp
-
 libsynthesis_la-binfile.lo: platform_adapters/binfile.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-binfile.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-binfile.Tpo -c -o libsynthesis_la-binfile.lo `test -f 'platform_adapters/binfile.cpp' || echo '$(srcdir)/'`platform_adapters/binfile.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-binfile.Tpo $(DEPDIR)/libsynthesis_la-binfile.Plo
@@ -1315,6 +1311,13 @@ libsynthesis_la-platform_mutex.lo: platform_adapters/unix_common/platform_mutex.
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-platform_mutex.lo `test -f 'platform_adapters/unix_common/platform_mutex.cpp' || echo '$(srcdir)/'`platform_adapters/unix_common/platform_mutex.cpp
 
+libsynthesis_la-platform_thread.lo: platform_adapters/unix_common/platform_thread.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-platform_thread.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-platform_thread.Tpo -c -o libsynthesis_la-platform_thread.lo `test -f 'platform_adapters/unix_common/platform_thread.cpp' || echo '$(srcdir)/'`platform_adapters/unix_common/platform_thread.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-platform_thread.Tpo $(DEPDIR)/libsynthesis_la-platform_thread.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='platform_adapters/unix_common/platform_thread.cpp' object='libsynthesis_la-platform_thread.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-platform_thread.lo `test -f 'platform_adapters/unix_common/platform_thread.cpp' || echo '$(srcdir)/'`platform_adapters/unix_common/platform_thread.cpp
+
 libsynthesis_la-clientengine_custom_Base.lo: syncapps/clientEngine_custom/clientengine_custom_Base.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-clientengine_custom_Base.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-clientengine_custom_Base.Tpo -c -o libsynthesis_la-clientengine_custom_Base.lo `test -f 'syncapps/clientEngine_custom/clientengine_custom_Base.cpp' || echo '$(srcdir)/'`syncapps/clientEngine_custom/clientengine_custom_Base.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-clientengine_custom_Base.Tpo $(DEPDIR)/libsynthesis_la-clientengine_custom_Base.Plo
@@ -1490,6 +1493,83 @@ libsynthesis_la-scriptcontext.lo: sysync/scriptcontext.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-scriptcontext.lo `test -f 'sysync/scriptcontext.cpp' || echo '$(srcdir)/'`sysync/scriptcontext.cpp
 
+libsynthesis_la-sync_dbapi_text.lo: sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sync_dbapi_text.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Tpo -c -o libsynthesis_la-sync_dbapi_text.lo `test -f 'sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' || echo '$(srcdir)/'`sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Tpo $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' object='libsynthesis_la-sync_dbapi_text.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sync_dbapi_text.lo `test -f 'sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' || echo '$(srcdir)/'`sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
+
+libsynthesis_la-admindata.lo: sysync_SDK/Sources/admindata.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-admindata.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-admindata.Tpo -c -o libsynthesis_la-admindata.lo `test -f 'sysync_SDK/Sources/admindata.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/admindata.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-admindata.Tpo $(DEPDIR)/libsynthesis_la-admindata.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/admindata.cpp' object='libsynthesis_la-admindata.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-admindata.lo `test -f 'sysync_SDK/Sources/admindata.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/admindata.cpp
+
+libsynthesis_la-blobs.lo: sysync_SDK/Sources/blobs.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-blobs.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-blobs.Tpo -c -o libsynthesis_la-blobs.lo `test -f 'sysync_SDK/Sources/blobs.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/blobs.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-blobs.Tpo $(DEPDIR)/libsynthesis_la-blobs.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/blobs.cpp' object='libsynthesis_la-blobs.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-blobs.lo `test -f 'sysync_SDK/Sources/blobs.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/blobs.cpp
+
+libsynthesis_la-dbitem.lo: sysync_SDK/Sources/dbitem.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-dbitem.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-dbitem.Tpo -c -o libsynthesis_la-dbitem.lo `test -f 'sysync_SDK/Sources/dbitem.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/dbitem.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-dbitem.Tpo $(DEPDIR)/libsynthesis_la-dbitem.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/dbitem.cpp' object='libsynthesis_la-dbitem.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-dbitem.lo `test -f 'sysync_SDK/Sources/dbitem.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/dbitem.cpp
+
+libsynthesis_la-enginemodulebase.lo: sysync_SDK/Sources/enginemodulebase.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-enginemodulebase.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-enginemodulebase.Tpo -c -o libsynthesis_la-enginemodulebase.lo `test -f 'sysync_SDK/Sources/enginemodulebase.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/enginemodulebase.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-enginemodulebase.Tpo $(DEPDIR)/libsynthesis_la-enginemodulebase.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/enginemodulebase.cpp' object='libsynthesis_la-enginemodulebase.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-enginemodulebase.lo `test -f 'sysync_SDK/Sources/enginemodulebase.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/enginemodulebase.cpp
+
+libsynthesis_la-lineartime.lo: sysync_SDK/Sources/lineartime.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-lineartime.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-lineartime.Tpo -c -o libsynthesis_la-lineartime.lo `test -f 'sysync_SDK/Sources/lineartime.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/lineartime.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-lineartime.Tpo $(DEPDIR)/libsynthesis_la-lineartime.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/lineartime.cpp' object='libsynthesis_la-lineartime.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-lineartime.lo `test -f 'sysync_SDK/Sources/lineartime.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/lineartime.cpp
+
+libsynthesis_la-SDK_support.lo: sysync_SDK/Sources/SDK_support.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-SDK_support.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-SDK_support.Tpo -c -o libsynthesis_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-SDK_support.Tpo $(DEPDIR)/libsynthesis_la-SDK_support.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/SDK_support.cpp' object='libsynthesis_la-SDK_support.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
+
+libsynthesis_la-syncexception.lo: sysync_SDK/Sources/syncexception.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-syncexception.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-syncexception.Tpo -c -o libsynthesis_la-syncexception.lo `test -f 'sysync_SDK/Sources/syncexception.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/syncexception.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-syncexception.Tpo $(DEPDIR)/libsynthesis_la-syncexception.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/syncexception.cpp' object='libsynthesis_la-syncexception.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-syncexception.lo `test -f 'sysync_SDK/Sources/syncexception.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/syncexception.cpp
+
+libsynthesis_la-sysync_b64.lo: sysync_SDK/Sources/sysync_b64.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_b64.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_b64.Tpo -c -o libsynthesis_la-sysync_b64.lo `test -f 'sysync_SDK/Sources/sysync_b64.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_b64.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_b64.Tpo $(DEPDIR)/libsynthesis_la-sysync_b64.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_b64.cpp' object='libsynthesis_la-sysync_b64.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_b64.lo `test -f 'sysync_SDK/Sources/sysync_b64.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_b64.cpp
+
+libsynthesis_la-sysync_md5.lo: sysync_SDK/Sources/sysync_md5.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_md5.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_md5.Tpo -c -o libsynthesis_la-sysync_md5.lo `test -f 'sysync_SDK/Sources/sysync_md5.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_md5.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_md5.Tpo $(DEPDIR)/libsynthesis_la-sysync_md5.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_md5.cpp' object='libsynthesis_la-sysync_md5.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_md5.lo `test -f 'sysync_SDK/Sources/sysync_md5.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_md5.cpp
+
+libsynthesis_la-sysync_utils.lo: sysync_SDK/Sources/sysync_utils.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_utils.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_utils.Tpo -c -o libsynthesis_la-sysync_utils.lo `test -f 'sysync_SDK/Sources/sysync_utils.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_utils.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_utils.Tpo $(DEPDIR)/libsynthesis_la-sysync_utils.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_utils.cpp' object='libsynthesis_la-sysync_utils.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_utils.lo `test -f 'sysync_SDK/Sources/sysync_utils.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_utils.cpp
+
 libsynthesis_la-simpleitem.lo: sysync/simpleitem.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-simpleitem.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-simpleitem.Tpo -c -o libsynthesis_la-simpleitem.lo `test -f 'sysync/simpleitem.cpp' || echo '$(srcdir)/'`sysync/simpleitem.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-simpleitem.Tpo $(DEPDIR)/libsynthesis_la-simpleitem.Plo
@@ -1637,89 +1717,19 @@ libsynthesis_la-vtimezone.lo: sysync/vtimezone.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-vtimezone.lo `test -f 'sysync/vtimezone.cpp' || echo '$(srcdir)/'`sysync/vtimezone.cpp
 
-libsynthesis_la-sync_dbapi_text.lo: sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sync_dbapi_text.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Tpo -c -o libsynthesis_la-sync_dbapi_text.lo `test -f 'sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' || echo '$(srcdir)/'`sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Tpo $(DEPDIR)/libsynthesis_la-sync_dbapi_text.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' object='libsynthesis_la-sync_dbapi_text.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sync_dbapi_text.lo `test -f 'sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp' || echo '$(srcdir)/'`sysync_SDK/DB_Interfaces/text_db/sync_dbapi_text.cpp
-
-libsynthesis_la-SDK_support.lo: sysync_SDK/Sources/SDK_support.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-SDK_support.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-SDK_support.Tpo -c -o libsynthesis_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-SDK_support.Tpo $(DEPDIR)/libsynthesis_la-SDK_support.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/SDK_support.cpp' object='libsynthesis_la-SDK_support.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
-
-libsynthesis_la-admindata.lo: sysync_SDK/Sources/admindata.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-admindata.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-admindata.Tpo -c -o libsynthesis_la-admindata.lo `test -f 'sysync_SDK/Sources/admindata.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/admindata.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-admindata.Tpo $(DEPDIR)/libsynthesis_la-admindata.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/admindata.cpp' object='libsynthesis_la-admindata.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-admindata.lo `test -f 'sysync_SDK/Sources/admindata.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/admindata.cpp
-
-libsynthesis_la-blobs.lo: sysync_SDK/Sources/blobs.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-blobs.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-blobs.Tpo -c -o libsynthesis_la-blobs.lo `test -f 'sysync_SDK/Sources/blobs.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/blobs.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-blobs.Tpo $(DEPDIR)/libsynthesis_la-blobs.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/blobs.cpp' object='libsynthesis_la-blobs.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-blobs.lo `test -f 'sysync_SDK/Sources/blobs.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/blobs.cpp
-
-libsynthesis_la-dbitem.lo: sysync_SDK/Sources/dbitem.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-dbitem.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-dbitem.Tpo -c -o libsynthesis_la-dbitem.lo `test -f 'sysync_SDK/Sources/dbitem.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/dbitem.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-dbitem.Tpo $(DEPDIR)/libsynthesis_la-dbitem.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/dbitem.cpp' object='libsynthesis_la-dbitem.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-dbitem.lo `test -f 'sysync_SDK/Sources/dbitem.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/dbitem.cpp
-
-libsynthesis_la-enginemodulebase.lo: sysync_SDK/Sources/enginemodulebase.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-enginemodulebase.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-enginemodulebase.Tpo -c -o libsynthesis_la-enginemodulebase.lo `test -f 'sysync_SDK/Sources/enginemodulebase.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/enginemodulebase.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-enginemodulebase.Tpo $(DEPDIR)/libsynthesis_la-enginemodulebase.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/enginemodulebase.cpp' object='libsynthesis_la-enginemodulebase.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-enginemodulebase.lo `test -f 'sysync_SDK/Sources/enginemodulebase.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/enginemodulebase.cpp
-
-libsynthesis_la-lineartime.lo: sysync_SDK/Sources/lineartime.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-lineartime.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-lineartime.Tpo -c -o libsynthesis_la-lineartime.lo `test -f 'sysync_SDK/Sources/lineartime.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/lineartime.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-lineartime.Tpo $(DEPDIR)/libsynthesis_la-lineartime.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/lineartime.cpp' object='libsynthesis_la-lineartime.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-lineartime.lo `test -f 'sysync_SDK/Sources/lineartime.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/lineartime.cpp
-
-libsynthesis_la-syncexception.lo: sysync_SDK/Sources/syncexception.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-syncexception.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-syncexception.Tpo -c -o libsynthesis_la-syncexception.lo `test -f 'sysync_SDK/Sources/syncexception.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/syncexception.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-syncexception.Tpo $(DEPDIR)/libsynthesis_la-syncexception.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/syncexception.cpp' object='libsynthesis_la-syncexception.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-syncexception.lo `test -f 'sysync_SDK/Sources/syncexception.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/syncexception.cpp
-
-libsynthesis_la-sysync_b64.lo: sysync_SDK/Sources/sysync_b64.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_b64.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_b64.Tpo -c -o libsynthesis_la-sysync_b64.lo `test -f 'sysync_SDK/Sources/sysync_b64.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_b64.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_b64.Tpo $(DEPDIR)/libsynthesis_la-sysync_b64.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_b64.cpp' object='libsynthesis_la-sysync_b64.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_b64.lo `test -f 'sysync_SDK/Sources/sysync_b64.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_b64.cpp
-
-libsynthesis_la-sysync_md5.lo: sysync_SDK/Sources/sysync_md5.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_md5.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_md5.Tpo -c -o libsynthesis_la-sysync_md5.lo `test -f 'sysync_SDK/Sources/sysync_md5.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_md5.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_md5.Tpo $(DEPDIR)/libsynthesis_la-sysync_md5.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_md5.cpp' object='libsynthesis_la-sysync_md5.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_md5.lo `test -f 'sysync_SDK/Sources/sysync_md5.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_md5.cpp
-
-libsynthesis_la-sysync_utils.lo: sysync_SDK/Sources/sysync_utils.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-sysync_utils.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-sysync_utils.Tpo -c -o libsynthesis_la-sysync_utils.lo `test -f 'sysync_SDK/Sources/sysync_utils.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_utils.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-sysync_utils.Tpo $(DEPDIR)/libsynthesis_la-sysync_utils.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/sysync_utils.cpp' object='libsynthesis_la-sysync_utils.lo' libtool=yes @AMDEPBACKSLASH@
+libsynthesis_la-engineclientbase.lo: Transport_interfaces/engine/engineclientbase.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-engineclientbase.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-engineclientbase.Tpo -c -o libsynthesis_la-engineclientbase.lo `test -f 'Transport_interfaces/engine/engineclientbase.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/engineclientbase.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-engineclientbase.Tpo $(DEPDIR)/libsynthesis_la-engineclientbase.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='Transport_interfaces/engine/engineclientbase.cpp' object='libsynthesis_la-engineclientbase.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-sysync_utils.lo `test -f 'sysync_SDK/Sources/sysync_utils.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/sysync_utils.cpp
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-engineclientbase.lo `test -f 'Transport_interfaces/engine/engineclientbase.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/engineclientbase.cpp
 
-libsynthesissdk_la-UI_util.lo: sysync_SDK/Sources/UI_util.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-UI_util.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-UI_util.Tpo -c -o libsynthesissdk_la-UI_util.lo `test -f 'sysync_SDK/Sources/UI_util.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/UI_util.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesissdk_la-UI_util.Tpo $(DEPDIR)/libsynthesissdk_la-UI_util.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/UI_util.cpp' object='libsynthesissdk_la-UI_util.lo' libtool=yes @AMDEPBACKSLASH@
+libsynthesis_la-enginesessiondispatch.lo: Transport_interfaces/engine/enginesessiondispatch.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesis_la-enginesessiondispatch.lo -MD -MP -MF $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Tpo -c -o libsynthesis_la-enginesessiondispatch.lo `test -f 'Transport_interfaces/engine/enginesessiondispatch.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/enginesessiondispatch.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Tpo $(DEPDIR)/libsynthesis_la-enginesessiondispatch.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='Transport_interfaces/engine/enginesessiondispatch.cpp' object='libsynthesis_la-enginesessiondispatch.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-UI_util.lo `test -f 'sysync_SDK/Sources/UI_util.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/UI_util.cpp
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesis_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesis_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesis_la-enginesessiondispatch.lo `test -f 'Transport_interfaces/engine/enginesessiondispatch.cpp' || echo '$(srcdir)/'`Transport_interfaces/engine/enginesessiondispatch.cpp
 
 libsynthesissdk_la-enginemodulebridge.lo: sysync_SDK/Sources/enginemodulebridge.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-enginemodulebridge.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-enginemodulebridge.Tpo -c -o libsynthesissdk_la-enginemodulebridge.lo `test -f 'sysync_SDK/Sources/enginemodulebridge.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/enginemodulebridge.cpp
@@ -1742,12 +1752,12 @@ libsynthesissdk_la-timeutil.lo: sysync_SDK/Sources/timeutil.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-timeutil.lo `test -f 'sysync_SDK/Sources/timeutil.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/timeutil.cpp
 
-libsynthesissdk_la-SDK_support.lo: sysync_SDK/Sources/SDK_support.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-SDK_support.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-SDK_support.Tpo -c -o libsynthesissdk_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesissdk_la-SDK_support.Tpo $(DEPDIR)/libsynthesissdk_la-SDK_support.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/SDK_support.cpp' object='libsynthesissdk_la-SDK_support.lo' libtool=yes @AMDEPBACKSLASH@
+libsynthesissdk_la-UI_util.lo: sysync_SDK/Sources/UI_util.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-UI_util.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-UI_util.Tpo -c -o libsynthesissdk_la-UI_util.lo `test -f 'sysync_SDK/Sources/UI_util.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/UI_util.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesissdk_la-UI_util.Tpo $(DEPDIR)/libsynthesissdk_la-UI_util.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/UI_util.cpp' object='libsynthesissdk_la-UI_util.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-UI_util.lo `test -f 'sysync_SDK/Sources/UI_util.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/UI_util.cpp
 
 libsynthesissdk_la-blobs.lo: sysync_SDK/Sources/blobs.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-blobs.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-blobs.Tpo -c -o libsynthesissdk_la-blobs.lo `test -f 'sysync_SDK/Sources/blobs.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/blobs.cpp
@@ -1770,6 +1780,13 @@ libsynthesissdk_la-lineartime.lo: sysync_SDK/Sources/lineartime.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-lineartime.lo `test -f 'sysync_SDK/Sources/lineartime.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/lineartime.cpp
 
+libsynthesissdk_la-SDK_support.lo: sysync_SDK/Sources/SDK_support.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-SDK_support.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-SDK_support.Tpo -c -o libsynthesissdk_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesissdk_la-SDK_support.Tpo $(DEPDIR)/libsynthesissdk_la-SDK_support.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sysync_SDK/Sources/SDK_support.cpp' object='libsynthesissdk_la-SDK_support.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libsynthesissdk_la-SDK_support.lo `test -f 'sysync_SDK/Sources/SDK_support.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/SDK_support.cpp
+
 libsynthesissdk_la-stringutil.lo: sysync_SDK/Sources/stringutil.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsynthesissdk_la_CPPFLAGS) $(CPPFLAGS) $(libsynthesissdk_la_CXXFLAGS) $(CXXFLAGS) -MT libsynthesissdk_la-stringutil.lo -MD -MP -MF $(DEPDIR)/libsynthesissdk_la-stringutil.Tpo -c -o libsynthesissdk_la-stringutil.lo `test -f 'sysync_SDK/Sources/stringutil.cpp' || echo '$(srcdir)/'`sysync_SDK/Sources/stringutil.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsynthesissdk_la-stringutil.Tpo $(DEPDIR)/libsynthesissdk_la-stringutil.Plo
@@ -2064,7 +2081,7 @@ $(srcdir)/Makefile.am: $(srcdir)/Makefile.am.in $(srcdir)/gen-makefile-am.sh
 vpath %.cpp $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
 vpath %.c $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
 vpath %.h $(srcdir)/sysync_SDK/Sources $(srcdir)/sysync_SDK/SDK
-synthesis/SDK_support.h synthesis/SDK_util.h synthesis/UI_util.h synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapi.h synthesis/sync_dbapidef.h synthesis/sync_declarations.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/syncexception.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_utils.h synthesis/timeutil.h: synthesis/%: %
+synthesis/admindata.h synthesis/blobs.h synthesis/dataconversion.h synthesis/dbitem.h synthesis/engine_defs.h synthesis/enginemodulebase.h synthesis/enginemodulebridge.h synthesis/generic_types.h synthesis/lineartime.h synthesis/prefix_file.h synthesis/san.h synthesis/SDK_support.h synthesis/SDK_util.h synthesis/stringutil.h synthesis/syerror.h synthesis/sync_dbapidef.h synthesis/sync_dbapi.h synthesis/sync_declarations.h synthesis/syncexception.h synthesis/sync_include.h synthesis/sync_uiapi.h synthesis/sysync_b64.h synthesis/sysync_md5.h synthesis/sysync_noncopyable.h synthesis/sysync_utils.h synthesis/timeutil.h synthesis/UI_util.h: synthesis/%: %
        mkdir -p synthesis
        sed -e 's;# *include  *";#include "synthesis/;' -e 's/defined(HAVE_STDINT_H)/1/' $< >$@
 
index c6f8b09..96f33d3 100644 (file)
 // - string localIDs with sufficiently large size
 #define STRING_LOCALID_MAXLEN 256
 
+// - multithreaded
+#define MULTI_THREAD_SUPPORT 1
+#define MULTI_THREAD_DATASTORE 1
 
 // - if defined, SQL support is included
 #undef ODBCAPI_SUPPORT
index 02a44ad..37ece32 100644 (file)
@@ -119,7 +119,8 @@ class TSyncSession;
 
 // session handle for engine sessions
 // containing engine-specific session status
-class TEngineServerSessionHandle
+class TEngineServerSessionHandle :
+  noncopyable
 {
 public:
   TEngineServerSessionHandle(TServerEngineInterface *aServerEngineInterface);
index 935d020..70f3be9 100755 (executable)
@@ -62,7 +62,6 @@ cat > EXTRA_FILES <<EOF
 clientprovisioning_inc.cpp
 .*_tables_inc.cpp
 syncsessiondispatch.cpp
-platform_thread.cpp
 enginestubs.c
 platform_adapters/macosx
 EOF
index a045140..0cff9ab 100755 (executable)
   #include <windows.h>
 #endif
 
-#ifdef ANDROID
+#if defined(ANDROID) || defined(LINUX)
   #include <pthread.h>
 #endif
 
+#if defined(LINUX)
+# include <sys/types.h>
+typedef unsigned long uIntArch; // Used for pid_t, pointers and pthread_t.
+#endif
+
 /*
 #ifndef _MSC_VER
   using namespace sysync;
index 0c80fa4..f8c6208 100755 (executable)
@@ -47,7 +47,7 @@ void* PosixThreadFunc(void *aParam)
   // get Thread Object pointer
   TThreadObject *threadObjP = static_cast<TThreadObject *>(aParam);
   // call thread execution method
-  int retval = (int)threadObjP->execute();
+  uInt32 retval = threadObjP->execute();
   // signal thread termination condition
   pthread_mutex_lock  (&(threadObjP->fDoneCondMutex));
   pthread_cond_signal (&(threadObjP->fDoneCond));
@@ -57,8 +57,10 @@ void* PosixThreadFunc(void *aParam)
   if (threadObjP->fAutoDisposeThreadObj) {
     delete threadObjP;
   }
-  // Exit thread now
-  pthread_exit((void *)retval);
+  // Exit thread now.
+  // Avoid "cast to pointer from integer of different size" warning with
+  // intermediate cast.
+  pthread_exit((void *)(uIntArch)retval);
   return NULL;
 } // PosixThreadFunc
 
@@ -152,6 +154,52 @@ void TThreadObject::kill(void)
   }
 } // TThreadObject::kill
 
+static int CondTimedWait(pthread_cond_t *cond, pthread_mutex_t *mutex, bool &aTerminated, long aMilliSecondsToWait)
+{
+  int retval;
+  if (aMilliSecondsToWait<0) {
+    // wait indefinitely
+    retval= pthread_cond_wait(cond, mutex);
+  }
+  else {
+    // wait specified amount of time
+    struct timespec timeout;
+
+    /* this conversion might be implemented in time module later */
+    #define milli 1E-3
+    #define msToLinearTimeFactor (secondToLinearTimeFactor*milli)     // is usually 1 again
+
+    lineartime_t ltm = getSystemNowAs(TCTX_UTC,NULL) - UnixToLineartimeOffset; // starting 1970
+    ltm = (lineartime_t)(ltm/msToLinearTimeFactor);               // as milliSeconds
+    ltm+= aMilliSecondsToWait;                           // add the offset from now
+
+    timeout.tv_sec = (unsigned int)(ltm * milli);
+    timeout.tv_nsec= ( ltm % 1000 )*1000000; // ns
+
+    retval= pthread_cond_timedwait(cond, mutex, &timeout);
+  } /* if */
+
+  return retval;
+}
+
+extern "C"
+{
+  /**
+   * Wait until thread terminates or timeout occurs.
+   *
+   * Can use pthread_cond_[timed]wait with the given condition variable
+   * and mutex to be worken up by the terminating thread. However, aTerminated
+   * must be checked before each such pthread call, because the thread may
+   * already have signaled termination.
+   *
+   * If the implementation does not use pthread_cond_[timed]wait, then it
+   * must unlock the mutex. Otherwise the thread will never be able to lock
+   * it and set aTerminated.
+   *
+   * @param aMilliSecondsToWait  < 0 for infinite wait, otherwise maximum time to wait since entering the function in ms
+   */
+  int (*SySync_CondTimedWait)(pthread_cond_t *cond, pthread_mutex_t *mutex, bool &aTerminated, long aMilliSecondsToWait) = CondTimedWait;
+}
 
 // waits for the thread to stop
 bool TThreadObject::waitfor(sInt32 aMilliSecondsToWait)
@@ -163,27 +211,7 @@ bool TThreadObject::waitfor(sInt32 aMilliSecondsToWait)
   // wait for termination condition of the thread
   pthread_mutex_lock(&fDoneCondMutex);
   if (!fTerminated) { // catch also, if signalled already
-    if (aMilliSecondsToWait<0) {
-      // wait indefinitely
-      retval= pthread_cond_wait(&fDoneCond, &fDoneCondMutex);
-    }
-    else {
-      // wait specified amount of time
-      struct timespec timeout;
-
-      /* this conversion might be implemented in time module later */
-      #define milli 1E-3
-      #define msToLinearTimeFactor (secondToLinearTimeFactor*milli)     // is usually 1 again
-
-      lineartime_t ltm = getSystemNowAs(TCTX_UTC,NULL) - UnixToLineartimeOffset; // starting 1970
-                   ltm = (lineartime_t)(ltm/msToLinearTimeFactor);               // as milliSeconds
-                   ltm+= aMilliSecondsToWait;                           // add the offset from now
-
-      timeout.tv_sec = (unsigned int)(ltm * milli);
-      timeout.tv_nsec= ( ltm % 1000 )*1000000; // ns
-
-      retval= pthread_cond_timedwait(&fDoneCond, &fDoneCondMutex, &timeout);
-    } /* if */
+    retval= SySync_CondTimedWait(&fDoneCond, &fDoneCondMutex, fTerminated, aMilliSecondsToWait);
   } /* if */
   pthread_mutex_unlock(&fDoneCondMutex);
   if (retval!=0) return false; // check if thread has completed => no, not yet
index d9aa295..54297e4 100755 (executable)
@@ -461,8 +461,9 @@ xltDecInit(const SmlEncoding_t enc,
     if (!IS_START(pDecoder->scanner->curtok) ||
             (pDecoder->scanner->curtok->tagid != TN_SYNCML)) {
         smlFreePcdata(pDecoder->scanner->curtok->pcdata);
+        rc = SML_DECODEERROR(SML_ERR_XLT_INVAL_SYNCML_DOC,pDecoder->scanner,"xltDecInit");
         xltDecTerminate((XltDecoderPtr_t)pDecoder);
-        return SML_DECODEERROR(SML_ERR_XLT_INVAL_SYNCML_DOC,pDecoder->scanner,"xltDecInit");
+        return rc;
     }
 
     /* ... then the SyncHdr */
index 224d8b2..580b85e 100644 (file)
@@ -4,6 +4,8 @@ VER_1.0 {
         SySync_*ConnectEngineS;
         SySync_*DisconnectEngine;
         SySync_*ConsolePrintf;
+        SySync_CondTimedWait;
+        SySync_CondWait;
         extern "C++" {
                sysync::DataConversion*;
                sysync::SySyncDebugPuts*;
index bf803d1..4dce870 100755 (executable)
@@ -325,12 +325,12 @@ TSyError TBinfileTargetsKey::OpenSubkey(
   sInt32 aID, uInt16 aMode
 )
 {
-  TBinfileDBSyncTarget *targetP = new TBinfileDBSyncTarget;
-  TSyError sta = LOCERR_OK;
-  sInt32 targetIndex = -1;
   // safety check to see if targets are open at all
   if (!fBinfileClientConfigP->fTargetsBinFile.isOpen())
     return LOCERR_WRONGUSAGE;
+  TBinfileDBSyncTarget *targetP = new TBinfileDBSyncTarget;
+  TSyError sta = LOCERR_OK;
+  sInt32 targetIndex = -1;
   while(true) {
     switch (aID) {
       case KEYVAL_ID_FIRST:
index 4353b95..f51a54d 100755 (executable)
@@ -713,7 +713,7 @@ localstatus TBinfileImplDS::changeLogPreflight(bool &aValidChangelog)
   TSyncItem *itemP = NULL;
   localid_out_t itemLocalID;
   uInt16 dataCRC = 0;
-  bool itemIsModified;
+  bool itemIsModified = false;
 
   // just in case: make sure we don't have a changelog loaded here
   forgetChangeLog();
index 834d350..be685d2 100755 (executable)
@@ -482,6 +482,8 @@ TDebugLoggerBase::TDebugLoggerBase(GZones *aGZonesP) :
   fIndent=0;
   fBlockHistory=NULL; // no Block open yet
   fOutStarted=false; // not yet started
+  fBlockNo=0;
+  fGZonesP=NULL;
   fOutputLoggerP=NULL; // no redirected output yet
 } // TDebugLoggerBase::TDebugLoggerBase
 
@@ -1480,6 +1482,18 @@ TDebugLogger::~TDebugLogger()
 
 #ifdef MULTI_THREAD_SUPPORT
 
+void TDebugLogger::setOptions(const TDbgOptions *aDbgOptionsP)
+{
+  TDebugLoggerBase::setOptions(aDbgOptionsP);
+  TSubThreadLog* subThreadP = fSubThreadLogs;
+  while (subThreadP) {
+    if (subThreadP->fSubThreadLogger) {
+      subThreadP->fSubThreadLogger->setOptions(aDbgOptionsP);
+    }
+    subThreadP = subThreadP->fNext;
+  }
+}
+
 /// @brief find (and possibly delete) subthread record
 /// @param aAndRemove[in] if set, the subthread record will be removed in a thread safe way
 ///        IF AND ONLY IF aThreadID is the calling thread (i.e. only own thread may be removed from the list)!
@@ -1509,7 +1523,7 @@ TDebugLoggerBase *TDebugLogger::getThreadLogger(bool aCreateNew)
 {
   if (!fDbgOptionsP || fDbgOptionsP->fSubThreadMode==dbgsubthread_none)
     return this; // no options, do not handle subthreads specially
-  uInt32 threadID = myThreadID();
+  uIntArch threadID = myThreadID();
   if (fDbgOptionsP->fSubThreadMode==dbgsubthread_linemix || threadID==fMainThreadID) {
     // In line mix and for mainthread - I am the logger for this thread!
     return this;
@@ -1541,7 +1555,7 @@ TDebugLoggerBase *TDebugLogger::getThreadLogger(bool aCreateNew)
         // - create new base logger
         subThreadP->fSubThreadLogger = new TDebugLoggerBase(fGZonesP);
         // - install output (copy)
-        subThreadP->fSubThreadLogger->installOutput(fDbgOutP->clone());
+        subThreadP->fSubThreadLogger->installOutput(fDbgOutP ? fDbgOutP->clone() : NULL);
         // - same options
         subThreadP->fSubThreadLogger->setOptions(getOptions());
         // - inherit current mask/enable
@@ -1549,7 +1563,7 @@ TDebugLoggerBase *TDebugLogger::getThreadLogger(bool aCreateNew)
         subThreadP->fSubThreadLogger->setEnabled(fDebugEnabled);
         // - debug path is same as myself plus Thread ID
         subThreadP->fSubThreadLogger->setDebugPath(fDbgPath.c_str());
-        StringObjPrintf(s,"_%lu",threadID);
+        StringObjPrintf(s,"_%lu",(long unsigned)threadID);
         subThreadP->fSubThreadLogger->appendToDebugPath(s.c_str());
         break;
       case dbgsubthread_suppress:
@@ -1634,7 +1648,7 @@ void TDebugLogger::DebugShowSubThreadOutput(void)
 void TDebugLogger::DebugThreadOutputDone(bool aRemoveIt)
 {
   #ifdef MULTI_THREAD_SUPPORT
-  uInt32 threadID = myThreadID();
+  uIntArch threadID = myThreadID();
   if (threadID==fMainThreadID) {
     // current main thread done
     fMainThreadID = 0;
@@ -1664,7 +1678,7 @@ void TDebugLogger::DebugThreadOutputDone(bool aRemoveIt)
 void TDebugLogger::DebugDefineMainThread(void)
 {
   #ifdef MULTI_THREAD_SUPPORT
-  uInt32 threadID = myThreadID();
+  uIntArch threadID = myThreadID();
   // if this is already the main thread, no op
   if (threadID == fMainThreadID)
     return; // nop, done
index 98fa7c0..a583365 100755 (executable)
@@ -18,7 +18,9 @@
 
 #include "generic_types.h"
 #include "platform_mutex.h"
+#include "platform_thread.h"
 #include "sysync.h"
+#include "sysync_noncopyable.h"
 
 namespace sysync {
 
@@ -106,7 +108,7 @@ public:
 
 
 /// @brief Debug output channel
-class TDbgOut {
+class TDbgOut : noncopyable {
   // construction/destruction
 private:
   bool fDestructed; // flag which will be set once destruct() has been called - by the outermost derivate's destructor
@@ -203,7 +205,7 @@ class TDebugLogger;
 class GZones;
 
 /// @brief Debug logger base class (without subthread handling)
-class TDebugLoggerBase {
+class TDebugLoggerBase : noncopyable {
 public:
   // constructor/destructor
   TDebugLoggerBase(GZones *aGZonesP);
@@ -218,7 +220,7 @@ public:
   /// @brief check if an output channel is already established other than with default values
   bool outputEstablished(void) { return fOutStarted; };
   /// @brief set debug options
-  void setOptions(const TDbgOptions *aDbgOptionsP) { fDbgOptionsP=aDbgOptionsP; };
+  virtual void setOptions(const TDbgOptions *aDbgOptionsP) { fDbgOptionsP = aDbgOptionsP; };
   /// @brief get debug options pointer
   const TDbgOptions *getOptions(void) { return fDbgOptionsP; };
   // @brief convenience version for getting time
@@ -361,6 +363,8 @@ public:
   virtual ~TDebugLogger();
   // methods
   #ifdef MULTI_THREAD_SUPPORT
+  /// @brief set debug options in this logger and all sub thread loggers
+  virtual void setOptions(const TDbgOptions *aDbgOptionsP);
   virtual void DebugPuts(TDBG_LOCATION_PROTO uInt32 aDbgMask, cAppCharP aText, stringSize aTextSize=0, bool aPreFormatted=false);
   virtual void DebugVPrintf(TDBG_LOCATION_PROTO uInt32 aDbgMask, cAppCharP aFormat, va_list aArgs);
   virtual void DebugVOpenBlock(TDBG_LOCATION_PROTO cAppCharP aBlockName, cAppCharP aBlockTitle, bool aCollapsed, cAppCharP aBlockFmt, va_list aArgs);
@@ -391,7 +395,7 @@ private:
   /// @brief find or create logger for subthread
   TDebugLoggerBase *getThreadLogger(bool aCreateNew=true);
   // Variables
-  uInt32 fMainThreadID;
+  uIntArch fMainThreadID;
   TSubThreadLog *fSubThreadLogs; // the linked list of active subthreads
   TDebugLoggerBase *fSilentLoggerP; // a silent (inactive) logger required for suppressed subthreads
   #endif
index 28aebf7..cfb23e8 100755 (executable)
@@ -72,7 +72,7 @@ class TSyncAppBase;
 
 
 // settings key implementation base class
-class TSettingsKeyImpl
+class TSettingsKeyImpl : noncopyable
 {
 public:
   TSettingsKeyImpl(TEngineInterface *aEngineInterfaceP);
@@ -463,9 +463,11 @@ protected:
 
 
 // Common Engine Interface
-class TEngineInterface
-#ifndef SIMPLE_LINKING
-  : public TEngineModuleBase
+class TEngineInterface :
+#ifdef SIMPLE_LINKING
+  noncopyable
+#else
+  public TEngineModuleBase
 #endif
 {
   #ifndef SIMPLE_LINKING
index c6896f8..97d2597 100755 (executable)
@@ -162,7 +162,7 @@ typedef TItemField *TItemFieldP;
 typedef std::vector<TItemField *> TFieldArray;
 
 // array field, contains a list of fields of TItemFields
-class TArrayField : public TItemField
+class TArrayField : public TItemField, noncopyable
 {
   typedef TItemField inherited;
 public:
index a0eac7c..f8453b5 100755 (executable)
@@ -112,7 +112,7 @@ typedef enum {
 
 
 // enumeration element definition
-class TEnumerationDef {
+class TEnumerationDef : noncopyable {
 public:
   // constructor/destructor
   TEnumerationDef(const char *aEnumName, const char *aEnumVal, TEnumMode aMode, sInt16 aNameExtID=-1);
@@ -132,7 +132,7 @@ public:
 
 
 // conversion & storage definition
-class TConversionDef {
+class TConversionDef : noncopyable {
 public:
   // constructor/destructor
   TConversionDef();
@@ -154,7 +154,7 @@ public:
 
 
 // parameter definition
-class TParameterDefinition {
+class TParameterDefinition : noncopyable {
 public:
   // constructor/destructor
   TParameterDefinition(const char *aName, bool aDefault, bool aExtendsName, bool aShowNonEmpty, bool aShowInCTCap, TMimeDirMode aModeDep);
@@ -191,7 +191,7 @@ public:
 
 
 // property name extension by values of parameters
-class TPropNameExtension {
+class TPropNameExtension : noncopyable {
 public:
   // constructor/destructor
   TPropNameExtension(
@@ -238,7 +238,7 @@ public:
 
 
 // property definition
-class TPropertyDefinition {
+class TPropertyDefinition : noncopyable {
 public:
   // constructor/destructor
   TPropertyDefinition(const char* aName, sInt16 aNumVals, bool aMandatory, bool aShowInCTCap, bool aSuppressEmpty, uInt16 aDelayedProcessing, char aValuesep, char aAltValuesep, uInt16 aPropertyGroupID, bool aCanFilter, TMimeDirMode aModeDep, sInt16 aGroupFieldID, bool aAllowFoldAtSep);
@@ -322,7 +322,7 @@ typedef enum {
 
 
 // Profile level definition
-class TProfileDefinition {
+class TProfileDefinition : noncopyable {
 public:
   // constructor/destructor
   TProfileDefinition(
index 7f9eb9c..eaa527d 100644 (file)
@@ -42,6 +42,7 @@ TStdLogicDS::TStdLogicDS(
 ) :
   TLocalEngineDS(aDSConfigP, aSessionP, aName, aCommonSyncCapMask)
   #ifdef MULTI_THREAD_DATASTORE
+  ,fMultiThread(NULL)
   ,fStartSyncStatus(aSessionP) // a thread-private status command to store status ocurring during threaded startDataAccessForServer()
   #endif
 {
@@ -474,9 +475,9 @@ bool TStdLogicDS::threadedStartSync(void)
   PDEBUGPRINTFX(DBG_HOT,(
     "******* started &html;<a href=\"%s_%lu%s\" target=\"_blank\">&html;background thread id=%lu&html;</a>&html; for reading sync set",
     getDbgLogger()->getDebugFilename(), // href base
-    fStartSyncThread.getid(), // plus thread
+    (long unsigned)fStartSyncThread.getid(), // plus thread
     getDbgLogger()->getDebugExt(), // plus extension
-    fStartSyncThread.getid()
+    (long unsigned)fStartSyncThread.getid()
   ));
   #endif
   return true; // started ok
@@ -569,7 +570,7 @@ localstatus TStdLogicDS::startDataAccessForServer(void)
       if (fStartSyncThread.waitfor(t<0 ? 0 : t * 1000)) {
         // background thread has terminated
         sta = fStartSyncThread.exitcode();
-        PDEBUGPRINTFX(DBG_HOT,("******* background thread for startSync() terminated with exit code=%ld, status sta=%hd", fStartSyncThread.exitcode(),sta));
+        PDEBUGPRINTFX(DBG_HOT,("******* background thread for startSync() terminated with exit code=%ld, status sta=%hd", (long)fStartSyncThread.exitcode(),sta));
         // initialisation is now complete
         fInitializing=false;
       } // if
index c8ec10e..f89637d 100755 (executable)
@@ -316,7 +316,7 @@ class TProfileConfig; // forward
 class TAgentConfig; // forward
 
 // root Config element
-class TRootConfig : public TRootConfigElement
+class TRootConfig : public TRootConfigElement, noncopyable
 {
   typedef TRootConfigElement inherited;
 public:
@@ -427,7 +427,7 @@ namespace sysync {
 /* TSyncAppBase is a global, singular object which is instantiated ONCE
  * per application.
  */
-class TSyncAppBase {
+class TSyncAppBase : noncopyable {
   friend class TDebugConfig;
 public:
   // constructors/destructors
index 45bd324..277fc6e 100755 (executable)
@@ -67,7 +67,7 @@ class TSyncAppBase;
 
 
 // abstract base command class
-class TSmlCommand
+class TSmlCommand : noncopyable
 {
 public:
   // constructor for ALL commands
index cb6a0fa..38525e5 100755 (executable)
@@ -27,7 +27,7 @@ class TSyncSession;
 class TSyncAppBase;
 
 
-class TSyncDataStore
+class TSyncDataStore : noncopyable
 {
 private:
   void init(TSyncSession *aSessionP); // internal init
index ae455c9..6d7dfbd 100755 (executable)
@@ -61,7 +61,8 @@ extern const char * const comparisonModeNames[numEQmodes];
 class TLocalEngineDS;
 class TSyncAppBase;
 
-class TSyncItem
+class TSyncItem :
+  noncopyable
 {
 public:
   TSyncItem(TSyncItemType *aItemType=NULL);
index 0a4bfce..a641c89 100755 (executable)
@@ -58,7 +58,7 @@ typedef void * TTypeVariantDescriptor;
 
 const uInt16 ity_syncitem = 0; // must be unique
 
-class TSyncItemType {
+class TSyncItemType : noncopyable {
 private:
   void init(
     TSyncSession *aSessionP,
index c5275ca..8037528 100755 (executable)
@@ -150,9 +150,11 @@ appCharP StrAllocN( cAppCharP s, int n, bool fullSize )
     if (n>len) n= len; /* never more than the length of <s> */
   } /* if */
 
-           cp= (char*)malloc( n+1 );
-  strncpy( cp, s, n ); /* not yet NUL terminated !! */
-           cp[ n ]= '\0';
+  cp= (char*)malloc( n+1 );
+  if (cp) {
+    strncpy( cp, s, n ); /* not yet NUL terminated !! */
+    cp[ n ]= '\0';
+  }
   return   cp;
 } /* StrAllocN */
 
@@ -190,12 +192,12 @@ bool Field( cAppCharP item, cAppCharP key, char** field )
       if (*(b-1)==':') {                         /* correctly separated ? */
         if (!e) *field= StrAlloc ( b );             /* either the rest    */
         else    *field= StrAllocN( b, e-b, false ); /* or till next field */
-        return true;
+        return *field != NULL;
       } /* if */
-
-      if (!e) break;
     } /* if */
 
+    if (!e) break;
+
     t= e+1; /* go to the next field */
   } /* loop */
 
@@ -657,12 +659,12 @@ void DoDEBUG( void* aCB, uInt16 outputMode, bool withIntro,
         strlen(isX)     + strlen(routine) +
         strlen(p)       + strlen(text)    + 1;
 
-           s= (char*)malloc( size );
-  sprintf( s, "%s%s%s%s%s%s", dbIntro,id,isX,routine,p,text );
-
-  CallbackVPrintf( aCB, s,args, outputMode );
-
-  free   ( s );
+  s= (char*)malloc( size );
+  if (s) {
+    sprintf( s, "%s%s%s%s%s%s", dbIntro,id,isX,routine,p,text );
+    CallbackVPrintf( aCB, s,args, outputMode );
+    free   ( s );
+  }
 } /* DoDEBUG */
 #endif
 
index f26f493..00cd5ef 100644 (file)
@@ -231,8 +231,10 @@ TSyError TBlob::ReadBlob( string aBlobName, appPointer *blkPtr,
         *blkSize>BlobBlk) *blkSize= BlobBlk;
 
                          *blkPtr= malloc( *blkSize );
+    if (!*blkPtr) return LOCERR_OUTOFMEM;
     uInt32  rslt= fread( *blkPtr, 1,      *blkSize, fFile );
     *aLast= rslt!=*blkSize;
+    if (*aLast && ferror( fFile )) return DB_Error;
 
     // check if already finished
         fCurPos+= rslt;
index a3ad829..9d8b64b 100644 (file)
@@ -92,7 +92,7 @@ template <class T> void MakeObj( T* &act )
 
 
 // ---------- list class --------------------------------------
-class TList
+class TList : noncopyable
 {
   public:
              TList() { next= NULL; }         // constructor
index ed6823f..feb707d 100755 (executable)
@@ -15,6 +15,7 @@
 
 #include "generic_types.h"
 #include "sync_dbapidef.h"
+#include "sysync_noncopyable.h"
 
 // we need STL strings
 #include <string>
@@ -25,7 +26,8 @@ using namespace std;
 namespace sysync {
 
 // Engine module base
-class TEngineModuleBase
+class TEngineModuleBase :
+  noncopyable
 {
     SDK_Interface_Struct fCIBuffer; // used for fCI if the caller of Connect() doesn't set something
 
index 6fd8ee9..6daec68 100644 (file)
@@ -17,6 +17,7 @@
 // ---------- standalone definitions ------------------------------
 #include "generic_types.h" // some basic defs, which aren't available
 #include "syerror.h"       // error code definitions
+#include "sysync_noncopyable.h"
 
 #include <cstdio>         // used for printf calls
 #include <cstring>        // used for strcpy/strlen calls
@@ -87,7 +88,10 @@ enum Initiator {
  *              GetNthSync( 0, .. )' to get header params only ]
  *
  */
-class SanPackage {
+class SanPackage : noncopyable {
+  // for Klocwork, noncopyable alone was not enough
+  SanPackage & operator = (const SanPackage &);
+
   public:
     SanPackage(); // constructor
    ~SanPackage(); //  destructor
diff --git a/src/synthesis/src/sysync_SDK/Sources/sysync_noncopyable.h b/src/synthesis/src/sysync_SDK/Sources/sysync_noncopyable.h
new file mode 100644 (file)
index 0000000..0aa22b6
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ *  File:         sysync_noncopyable.h
+ *
+ *  Author:       Patrick Ohly (patrick.ohly@intel.com)
+ *
+ *  Derive from sysync::noncopyable in all classes which must not be copied,
+ *  for example because they contain pointers.
+ *  Accidentally copying with the default copy constructor will then
+ *  lead to compile instead of runtime errors.
+ *
+ *  Same approach as in boost::noncopyable.
+ *
+ *  Copyright (c) 2013 by Synthesis AG + plan44.ch
+ */
+
+#ifndef SYSYNC_NONCOPYABLE_H
+#define SYSYNC_NONCOPYABLE_H
+
+namespace sysync {
+
+class noncopyable
+{
+ protected:
+  noncopyable() {}
+  ~noncopyable() {}
+ private:
+  noncopyable( const noncopyable& );
+  const noncopyable& operator=( const noncopyable& );
+};
+
+} // namespace sysync
+
+#endif // SYSYNC_NONCOPYABLE
index 5422117..8d29065 100755 (executable)
@@ -16,6 +16,7 @@
 #define SYSYNC_UTILS_H
 
 #include "sysync_globs.h"
+#include "sysync_noncopyable.h"
 // include external utils in separate files
 #include "sysync_b64.h"
 #include "sysync_md5.h"
index e8c5c48..4b7141c 100644 (file)
@@ -2751,7 +2751,6 @@ void SyncTests::addTests(bool isFirstSource) {
                 // only make sense when restarting works.
                 ADD_TEST(SyncTests, testTwoWayRestart);
                 if (getenv("CLIENT_TEST_PEER_CAN_RESTART")) {
-                    ADD_TEST(SyncTests, testTwoWayRestart);
                     ADD_TEST(SyncTests, testSlowRestart);
                     ADD_TEST(SyncTests, testRefreshFromLocalRestart);
                     ADD_TEST(SyncTests, testOneWayFromLocalRestart);
@@ -4219,7 +4218,7 @@ bool SyncTests::doConversionCallback(bool *success,
                                        type.c_str(),
                                        type.c_str(),
                                        convertedItem)) {
-                SE_LOG_ERROR(NULL, NULL, "failed parsing as %s:\n%s",
+                SE_LOG_ERROR(NULL, "failed parsing as %s:\n%s",
                              type.c_str(),
                              item.c_str());
             } else {
@@ -5198,7 +5197,7 @@ public:
     virtual void send(const char *data, size_t len)
     {
         if (m_interruptAtMessage == m_messageCount) {
-            SE_LOG_DEBUG(NULL, NULL, "TransportFaultInjector: interrupt before sending message #%d", m_messageCount);
+            SE_LOG_DEBUG(NULL, "TransportFaultInjector: interrupt before sending message #%d", m_messageCount);
         }
         m_messageCount++;
         if (m_interruptAtMessage >= 0 &&
@@ -5211,7 +5210,7 @@ public:
         m_status = m_wrappedAgent->wait();
         
         if (m_interruptAtMessage == m_messageCount) {
-            SE_LOG_DEBUG(NULL, NULL, "TransportFaultInjector: interrupt after receiving reply #%d", m_messageCount);
+            SE_LOG_DEBUG(NULL, "TransportFaultInjector: interrupt after receiving reply #%d", m_messageCount);
         }
         m_messageCount++;
         if (m_interruptAtMessage >= 0 &&
@@ -5275,7 +5274,7 @@ public:
             m_interruptAtMessage < m_messageCount &&
             m_interruptAtMessage >= m_messageCount - 3) {
             int offset = m_interruptAtMessage - m_messageCount + 4;
-            SE_LOG_DEBUG(NULL, NULL, "TransportResendProxy: interrupt %s",
+            SE_LOG_DEBUG(NULL, "TransportResendProxy: interrupt %s",
                          offset == 1 ? "before sending message" :
                          offset == 2 ? "directly after sending message" :
                          "after receiving reply");
@@ -5324,12 +5323,12 @@ public:
             len = 0;
         } else {
             if (m_interruptAtMessage == m_messageCount) {
-                 SE_LOG_DEBUG(NULL, NULL, "UserSuspendInjector: user suspend after getting reply #%d", m_messageCount);
+                 SE_LOG_DEBUG(NULL, "UserSuspendInjector: user suspend after getting reply #%d", m_messageCount);
             }
             m_messageCount++;
             if (m_interruptAtMessage >= 0 &&
                     m_messageCount > m_interruptAtMessage) {
-                m_options->m_isSuspended = true;
+                m_options->m_isSuspended = SuspendFlags::getSuspendFlags().suspend();
             }
             m_wrappedAgent->getReply(data, len, contentType);
         }
@@ -5911,7 +5910,7 @@ void SyncTests::doSync(const SyncOptions &options)
     simplifyFilename(logname);
     syncCounter++;
 
-    SE_LOG_DEBUG(NULL, NULL, "%d. starting %s with sync mode %s",
+    SE_LOG_DEBUG(NULL, "%d. starting %s with sync mode %s",
                  syncCounter, logname.c_str(), PrettyPrintSyncMode(options.m_syncMode).c_str());
 
     try {
@@ -6212,7 +6211,7 @@ std::string ClientTest::import(ClientTest &client, TestingSyncSource &source, co
 {
     list<string> items;
     getItems(file, items, realfile);
-    SE_LOG_DEBUG(NULL, NULL, "importing %d test cases from file %s", (int)items.size(), realfile.c_str());
+    SE_LOG_DEBUG(NULL, "importing %d test cases from file %s", (int)items.size(), realfile.c_str());
     std::string failures;
     bool doImport = !luids || luids->empty();
     std::list<std::string>::const_iterator it;
@@ -6348,7 +6347,7 @@ void ClientTest::postSync(int res, const std::string &logname)
 
         if (fd >= 0) {
             int out = open((logname + ".server.log").c_str(), O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
-            if (out) {
+            if (out >= 0) {
                 char buffer[4096];
                 bool cont = true;
                 ssize_t len;
@@ -6413,7 +6412,8 @@ static string mangleICalendar20(const std::string &data, bool update, const std:
         boost::replace_all(item, "UID:1234567890!@#$%^&*()<>@dummy", "UID:1234567890@dummy");
     }
 
-    if (getenv("CLIENT_TEST_UNIQUE_UID")) {
+    const char *uniqueUID = getenv("CLIENT_TEST_UNIQUE_UID");
+    if (uniqueUID) {
         // Making UID unique per test to avoid issues
         // when the source already holds older copies.
         // Might still be an issue in real life?!
@@ -6425,7 +6425,7 @@ static string mangleICalendar20(const std::string &data, bool update, const std:
         }
         std::string unique = StringPrintf("UID:UNIQUE-UID-%llu-", (long long unsigned)start);
         boost::replace_all(item, "UID:", unique);
-        if (atoi(getenv("CLIENT_TEST_UNIQUE_UID")) > 1) {
+        if (atoi(uniqueUID) > 1) {
             // Also avoid reusing the same UID inside the same test.
             // Required by Google CalDAV in calendar testChanges, because
             // they keep even deleted items around and check the SEQUENCE
@@ -6497,7 +6497,7 @@ static std::string additionalYearly(const std::string &single,
     }
 
 
-    SE_LOG_DEBUG(NULL, NULL, "additional yearly: start %d, skip %d, index %d/%d:\n%s",
+    SE_LOG_DEBUG(NULL, "additional yearly: start %d, skip %d, index %d/%d:\n%s",
                  start, skip, index, total,
                  event.c_str());
     return event;
@@ -6539,7 +6539,7 @@ static std::string additionalMonthly(const std::string &single,
         }
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "additional monthly: start %d, skip %d, index %d/%d:\n%s",
+    SE_LOG_DEBUG(NULL, "additional monthly: start %d, skip %d, index %d/%d:\n%s",
                  start, skip, index, total,
                  event.c_str());
     return event;
@@ -6661,7 +6661,7 @@ static std::string additionalWeekly(const std::string &single,
         }
     }
 
-    SE_LOG_DEBUG(NULL, NULL, "additional weekly: start %d, skip %d, index %d/%d:\n%s",
+    SE_LOG_DEBUG(NULL, "additional weekly: start %d, skip %d, index %d/%d:\n%s",
                  start, skip, index, total,
                  event.c_str());
     return event;
@@ -7710,7 +7710,7 @@ void CheckSyncReport::check(SyncMLStatus status, SyncReport &report) const
                         serverAdded, serverUpdated, serverDeleted);
     str << "Expected sync mode: " << PrettyPrintSyncMode(syncMode) << "\n";
     str << "Expected cycles: " << restarts + 1 << "\n";
-    SE_LOG_INFO(NULL, NULL, "sync report:\n%s\n", str.str().c_str());
+    SE_LOG_INFO(NULL, "sync report:\n%s\n", str.str().c_str());
 
     if (mustSucceed) {
         // both STATUS_OK and STATUS_HTTP_OK map to the same
@@ -7724,13 +7724,13 @@ void CheckSyncReport::check(SyncMLStatus status, SyncReport &report) const
         const std::string &name = entry.first;
         const SyncSourceReport &source = entry.second;
 
-        SE_LOG_DEBUG(NULL, NULL, "Checking sync source %s...", name.c_str());
+        SE_LOG_DEBUG(NULL, "Checking sync source %s...", name.c_str());
         if (mustSucceed) {
             CLIENT_TEST_EQUAL(name, STATUS_OK, source.getStatus());
         }
         check(name, source);
     }
-    SE_LOG_DEBUG(NULL, NULL, "Done with checking sync report.");
+    SE_LOG_DEBUG(NULL, "Done with checking sync report.");
 }
 
 void CheckSyncReport::check(const std::string &name, const SyncSourceReport &source) const
index 63e222e..f4e3a75 100644 (file)
@@ -32,6 +32,7 @@
 #include <SyncML.h>
 #include <TransportAgent.h>
 #include <SyncSource.h>
+#include <syncevo/SuspendFlags.h>
 
 #include "test.h"
 #include "ClientTestAssert.h"
@@ -45,6 +46,8 @@
 #include <syncevo/Logging.h>
 #include <syncevo/util.h>
 
+#include <boost/utility.hpp>
+
 #include <syncevo/declarations.h>
 SE_BEGIN_CXX
 
@@ -136,9 +139,8 @@ struct SyncOptions {
     int m_retryDuration;
     int m_retryInterval;
 
-    bool m_isSuspended; 
-    
-    bool m_isAborted;
+    boost::shared_ptr<SuspendFlags::StateBlocker> m_isSuspended;
+    boost::shared_ptr<SuspendFlags::StateBlocker> m_isAborted;
 
     /**
      * Callback to be invoked after setting up local sources, but
@@ -174,8 +176,6 @@ struct SyncOptions {
         m_isWBXML(isWBXML),
         m_retryDuration(300),
         m_retryInterval(60),
-        m_isSuspended(false),
-        m_isAborted(false),
         m_startCallback(startCallback),
         m_transport (transport)
     {}
@@ -236,7 +236,7 @@ class SyncTests;
  * properties (like available sync sources) and then creates several
  * tests.
  */
-class ClientTest {
+class ClientTest : private boost::noncopyable {
   public:
     ClientTest(int serverSleepSec = 0, const std::string &serverLog= "");
     virtual ~ClientTest();
@@ -972,7 +972,7 @@ public:
 
 /** write log message into *.log file of a test */
 #define CLIENT_TEST_LOG(_format, _args...) \
-    SE_LOG_DEBUG(NULL, NULL, "\n%s:%d *** " _format, \
+    SE_LOG_DEBUG(NULL, "\n%s:%d *** " _format, \
                  getBasename(__FILE__).c_str(), __LINE__, \
                  ##_args)
 
index 35e81e4..defdb0a 100644 (file)
@@ -99,9 +99,9 @@ static void inline ClientTestExceptionHandle(const char *file, int line, const s
 #define CT_WRAP_ASSERT(_file, _line, _assert) \
     do { \
        try { \
-           SE_LOG_DEBUG(NULL, NULL, "%s:%d: starting %s", getBasename(_file).c_str(), _line, #_assert); \
+           SE_LOG_DEBUG(NULL, "%s:%d: starting %s", getBasename(_file).c_str(), _line, #_assert); \
            _assert; \
-           SE_LOG_DEBUG(NULL, NULL, "%s:%d: ending %s", getBasename(_file).c_str(), _line, #_assert); \
+           SE_LOG_DEBUG(NULL, "%s:%d: ending %s", getBasename(_file).c_str(), _line, #_assert); \
        } catch (...) { \
            ClientTestExceptionHandle(_file, _line); \
        } \
@@ -110,12 +110,12 @@ static void inline ClientTestExceptionHandle(const char *file, int line, const s
 #define CT_WRAP_ASSERT_MESSAGE(_file, _line, _message, _assert)  \
     do { \
        try { \
-           SE_LOG_DEBUG(NULL, NULL, "%s:%d: starting %s %s", \
+           SE_LOG_DEBUG(NULL, "%s:%d: starting %s %s", \
                         getBasename(_file).c_str(), _line, \
                         std::string(_message).c_str(), \
                         #_assert); \
            _assert; \
-           SE_LOG_DEBUG(NULL, NULL, "%s:%d: ending %s", getBasename(_file).c_str(), _line, #_assert); \
+           SE_LOG_DEBUG(NULL, "%s:%d: ending %s", getBasename(_file).c_str(), _line, #_assert); \
        } catch (...) { \
            ClientTestExceptionHandle(_file, _line, _message); \
        } \
index cc078aa..6685aa0 100644 (file)
@@ -123,9 +123,7 @@ public:
     }
 
     ~ClientListener() {
-        if (&LoggerBase::instance() == m_logger.get()) {
-            LoggerBase::popLogger();
-        }
+        m_logger.reset();
     }
 
     void addAllowedFailures(string allowedFailures) {
@@ -138,11 +136,10 @@ public:
         if (!getenv("SYNCEVOLUTION_DEBUG")) {
             string logfile = m_currentTest + ".log";
             simplifyFilename(logfile);
-            m_logger.reset(new LogRedirect(true, logfile.c_str()));
+            m_logger.reset(new LogRedirect(LogRedirect::STDERR_AND_STDOUT, logfile.c_str()));
             m_logger->setLevel(Logger::DEBUG);
-            LoggerBase::pushLogger(m_logger.get());
         }
-        SE_LOG_DEBUG(NULL, NULL, "*** starting %s ***", m_currentTest.c_str());
+        SE_LOG_DEBUG(NULL, "*** starting %s ***", m_currentTest.c_str());
         m_failures.reset();
         m_testFailed = false;
 
@@ -188,12 +185,9 @@ public:
             result = "okay";
         }
 
-        SE_LOG_DEBUG(NULL, NULL, "*** ending %s: %s ***", m_currentTest.c_str(), result.c_str());
+        SE_LOG_DEBUG(NULL, "*** ending %s: %s ***", m_currentTest.c_str(), result.c_str());
         if (!failure.empty()) {
-            SE_LOG_ERROR(NULL, NULL, "%s", failure.c_str());
-        }
-        if (&LoggerBase::instance() == m_logger.get()) {
-            LoggerBase::popLogger();
+            SE_LOG_ERROR(NULL, "%s", failure.c_str());
         }
         m_logger.reset();
 
@@ -245,7 +239,7 @@ private:
     bool m_failed, m_testFailed;
     string m_currentTest;
     int m_alarmSeconds;
-    auto_ptr<LoggerBase> m_logger;
+    PushLogger<Logger> m_logger;
     CppUnit::TestResultCollector m_failures;
 
     static void alarmTriggered(int signal) {
@@ -335,7 +329,7 @@ int main(int argc, char* argv[])
 
 
   if (getenv("SYNCEVOLUTION_DEBUG")) {
-      LoggerBase::instance().setLevel(Logger::DEBUG);
+      Logger::instance().setLevel(Logger::DEBUG);
   }
 
   try {
index 6bef63d..60fd651 100644 (file)
@@ -273,7 +273,7 @@ int main(int argc, char **argv)
         // throw stdruntime_error("The --allow-anonymous option only makes sense when used with --server.");
         // }
 
-        loop = SyncEvo::GMainLoopCXX(g_main_loop_new (NULL, FALSE), false);
+        loop = SyncEvo::GMainLoopStealCXX(g_main_loop_new (NULL, FALSE));
         if (!loop) {
             throw std::runtime_error("could not allocate main loop");
         }
index 6fab1da..09e28f8 100644 (file)
@@ -427,7 +427,7 @@ sub NormalizeItem {
 
    if ($googlecaldav) {
       #several properties are not preserved by Google in icalendar2.0 format
-      s/^(SEQUENCE|X-EVOLUTION-ALARM-UID)(;[^:;\n]*)*:.*\r?\n?//gm;
+      s/^(SEQUENCE|X-EVOLUTION-ALARM-UID|TRANSP)(;[^:;\n]*)*:.*\r?\n?//gm;
 
       # Google adds calendar owner as attendee of meetings, regardless
       # whether it was on the original attendee list. Ignore this