Merge branch 'collectd-4.2'
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 28 Dec 2007 18:04:45 +0000 (19:04 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 28 Dec 2007 18:04:45 +0000 (19:04 +0100)
Conflicts:

bindings/Makefile.am

1  2 
bindings/Makefile.am
src/Makefile.am
src/network.c
src/utils_avltree.c
src/utils_avltree.h

@@@ -12,9 -11,16 +12,17 @@@ clean-local
  perl: perl/Makefile
        $(MAKE) -C perl
  
- perl/Makefile: perl/Makefile.PL perl/Collectd/Makefile.PL \
-               $(top_builddir)/config.status
 -perl/Makefile: .perl-directory-stamp perl/Makefile.PL perl/Collectd/Makefile.PL
++perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
++      perl/Collectd/Makefile.PL $(top_builddir)/config.status
        cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
  
+ .perl-directory-stamp:
+       if test ! -d perl; then \
+         mkdir -p perl/Collectd; \
+         cp $(srcdir)/perl/{Collectd.pm,Makefile.PL} perl/; \
+         cp $(srcdir)/perl/Collectd/{Unixsock.pm,Makefile.PL} perl/Collectd/; \
+       fi
+       touch $@
  .PHONY: perl
  
diff --cc src/Makefile.am
Simple merge
diff --cc src/network.c
Simple merge
Simple merge
@@@ -77,10 -74,10 +77,10 @@@ void c_avl_destroy (c_avl_tree_t *t)
   *   `value'    Value to be stored.
   *
   * RETURN VALUE
 - *   Zero upon success and non-zero upon failure and if the key is already
 - *   stored in the tree.
 + *   Zero upon success, non-zero otherwise. It's less than zero if an error
 + *   occurred or greater than zero if the key is already stored in the tree.
   */
- int avl_insert (avl_tree_t *t, void *key, void *value);
+ int c_avl_insert (c_avl_tree_t *t, void *key, void *value);
  
  /*
   * NAME