Changeset 6706

Show
Ignore:
Timestamp:
10/03/08 14:52:11 (2 months ago)
Author:
rbertholon
Message:

add a start/stop script for the client

Location:
trunk/centstorage
Files:
24 added
5 removed
29 modified

Legend:

Unmodified
Added
Removed
  • trunk/centstorage/Makefile

    r6694 r6706  
    1 # Makefile.in generated by automake 1.10 from Makefile.am. 
     1# Makefile.in generated by automake 1.10.1 from Makefile.am. 
    22# Makefile.  Generated from Makefile.in by configure. 
    33 
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
    5 # 2003, 2004, 2005, 2006  Free Software Foundation, Inc. 
     5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc. 
    66# This Makefile.in is free software; the Free Software Foundation 
    77# gives unlimited permission to copy and/or distribute it, 
     
    9393distuninstallcheck_listfiles = find . -type f -print 
    9494distcleancheck_listfiles = find . -type f -print 
    95 ACLOCAL = ${SHELL} /root/censtsorage/missing --run aclocal-1.10 
    96 AMTAR = ${SHELL} /root/censtsorage/missing --run tar 
    97 AUTOCONF = ${SHELL} /root/censtsorage/missing --run autoconf 
    98 AUTOHEADER = ${SHELL} /root/censtsorage/missing --run autoheader 
    99 AUTOMAKE = ${SHELL} /root/censtsorage/missing --run automake-1.10 
    100 AWK = gawk 
     95ACLOCAL = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run aclocal-1.10 
     96AMTAR = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run tar 
     97AUTOCONF = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run autoconf 
     98AUTOHEADER = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run autoheader 
     99AUTOMAKE = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run automake-1.10 
     100AWK = mawk 
    101101BIN_PATH = /usr/local/centreon/bin/ 
    102102CC = gcc 
     
    112112CYGPATH_W = echo 
    113113DBLDFLAGS =  -L/usr/lib/mysql 
    114 DBLIBS =  -lmysqlclient 
     114DBLIBS =  -lmysqlclient -lpq 
    115115DEFS = -DHAVE_CONFIG_H 
    116116DEPDIR = .deps 
     
    118118ECHO_N = -n 
    119119ECHO_T =  
    120 EGREP = /usr/bin/grep -E 
     120EGREP = /bin/grep -E 
    121121EXEEXT =  
    122 GREP = /usr/bin/grep 
     122GREP = /bin/grep 
    123123HAVE_SSL =  
    124124INSTALL = /usr/bin/install -c 
     
    131131LIBS =  -lssl -lcrypto 
    132132LTLIBOBJS =  
    133 MAKEINFO = ${SHELL} /root/censtsorage/missing --run makeinfo 
     133MAKEINFO = ${SHELL} /home/rbertholon/workspace/centstorage/missing --run makeinfo 
    134134MKDIR_P = /bin/mkdir -p 
    135135MK_USE_PUR = modules/purge/ 
     
    148148PATH_SEPARATOR = : 
    149149SET_MAKE =  
    150 SHELL = /bin/sh 
     150SHELL = /bin/bash 
    151151STRIP =  
    152152VERSION = 0.1 
    153153XML2_CONFIG = /usr/bin/xml2-config 
    154154XML_CPPFLAGS = -I/usr/include/libxml2 
    155 XML_HEADER = -I/usr/include/libxml2 
    156 XML_LIBS = -L/usr/lib -lxml2 -lz -lm 
    157 abs_builddir = /root/censtsorage 
    158 abs_srcdir = /root/censtsorage 
    159 abs_top_builddir = /root/censtsorage 
    160 abs_top_srcdir = /root/censtsorage 
     155XML_HEADER = -I/usr/include/libxml 
     156XML_LIBS = -lxml2 
     157abs_builddir = /home/rbertholon/workspace/centstorage 
     158abs_srcdir = /home/rbertholon/workspace/centstorage 
     159abs_top_builddir = /home/rbertholon/workspace/centstorage 
     160abs_top_srcdir = /home/rbertholon/workspace/centstorage 
    161161ac_ct_CC = gcc 
    162162am__include = include 
     
    185185includedir = ${prefix}/include 
    186186infodir = ${datarootdir}/info 
    187 install_sh = $(SHELL) /root/censtsorage/install-sh 
     187install_sh = $(SHELL) /home/rbertholon/workspace/centstorage/install-sh 
    188188libdir = ${exec_prefix}/lib 
    189189libexecdir = ${exec_prefix}/libexec 
     
    211211                modules/rebuild                 \ 
    212212                modules/purge                   \ 
    213                 modules/sync                    \ 
    214                 modules/recup_perf_datas_client 
     213                modules/sync 
    215214 
    216215all: all-recursive 
     
    343342            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    344343          done | \ 
    345           $(AWK) '    { files[$$0] = 1; } \ 
    346                END { for (i in files) print i; }'`; \ 
     344          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 
     345              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    347346        mkid -fID $$unique 
    348347tags: TAGS 
     
    369368            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    370369          done | \ 
    371           $(AWK) '    { files[$$0] = 1; } \ 
    372                END { for (i in files) print i; }'`; \ 
     370          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     371              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    373372        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
    374373          test -n "$$unique" || unique=$$empty_fix; \ 
     
    380379                $(TAGS_FILES) $(LISP) 
    381380        tags=; \ 
    382         here=`pwd`; \ 
    383381        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
    384382        unique=`for i in $$list; do \ 
    385383            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    386384          done | \ 
    387           $(AWK) '    { files[$$0] = 1; } \ 
    388                END { for (i in files) print i; }'`; \ 
     385          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     386              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    389387        test -z "$(CTAGS_ARGS)$$tags$$unique" \ 
    390388          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 
     
    457455        $(am__remove_distdir) 
    458456 
     457dist-lzma: distdir 
     458        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 
     459        $(am__remove_distdir) 
     460 
    459461dist-tarZ: distdir 
    460462        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 
     
    483485        *.tar.bz2*) \ 
    484486          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 
     487        *.tar.lzma*) \ 
     488          unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ 
    485489        *.tar.Z*) \ 
    486490          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 
     
    633637        all all-am am--refresh check check-am clean clean-generic \ 
    634638        ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 
    635         dist-shar dist-tarZ dist-zip distcheck distclean \ 
     639        dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ 
    636640        distclean-generic distclean-hdr distclean-tags distcleancheck \ 
    637641        distdir distuninstallcheck dvi dvi-am html html-am info \ 
     
    652656        mv modules/purge/purge.so /usr/local/centreon/lib 
    653657        mv modules/rebuild/rebuild.so /usr/local/centreon/lib 
     658        cp centstorage /etc/init.d 
    654659 
    655660re: clean all 
  • trunk/centstorage/Makefile.am

    r6694 r6706  
    2828                modules/rebuild                 \ 
    2929                modules/purge                   \ 
    30                 modules/sync                    \ 
    31                 modules/recup_perf_datas_client 
     30                modules/sync 
    3231 
    3332all: all-recursive 
     
    3736        @CP_PUR@ 
    3837        @CP_REB@ 
     38        cp centstorage /etc/init.d 
    3939 
    4040re: clean all 
  • trunk/centstorage/Makefile.in

    r6694 r6706  
    1 # Makefile.in generated by automake 1.10 from Makefile.am. 
     1# Makefile.in generated by automake 1.10.1 from Makefile.am. 
    22# @configure_input@ 
    33 
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
    5 # 2003, 2004, 2005, 2006  Free Software Foundation, Inc. 
     5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc. 
    66# This Makefile.in is free software; the Free Software Foundation 
    77# gives unlimited permission to copy and/or distribute it, 
     
    211211                modules/rebuild                 \ 
    212212                modules/purge                   \ 
    213                 modules/sync                    \ 
    214                 modules/recup_perf_datas_client 
     213                modules/sync 
    215214 
    216215all: all-recursive 
     
    343342            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    344343          done | \ 
    345           $(AWK) '    { files[$$0] = 1; } \ 
    346                END { for (i in files) print i; }'`; \ 
     344          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 
     345              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    347346        mkid -fID $$unique 
    348347tags: TAGS 
     
    369368            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    370369          done | \ 
    371           $(AWK) '    { files[$$0] = 1; } \ 
    372                END { for (i in files) print i; }'`; \ 
     370          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     371              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    373372        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
    374373          test -n "$$unique" || unique=$$empty_fix; \ 
     
    380379                $(TAGS_FILES) $(LISP) 
    381380        tags=; \ 
    382         here=`pwd`; \ 
    383381        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
    384382        unique=`for i in $$list; do \ 
    385383            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
    386384          done | \ 
    387           $(AWK) '    { files[$$0] = 1; } \ 
    388                END { for (i in files) print i; }'`; \ 
     385          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     386              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
    389387        test -z "$(CTAGS_ARGS)$$tags$$unique" \ 
    390388          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 
     
    457455        $(am__remove_distdir) 
    458456 
     457dist-lzma: distdir 
     458        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 
     459        $(am__remove_distdir) 
     460 
    459461dist-tarZ: distdir 
    460462        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 
     
    483485        *.tar.bz2*) \ 
    484486          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 
     487        *.tar.lzma*) \ 
     488          unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ 
    485489        *.tar.Z*) \ 
    486490          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 
     
    633637        all all-am am--refresh check check-am clean clean-generic \ 
    634638        ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 
    635         dist-shar dist-tarZ dist-zip distcheck distclean \ 
     639        dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ 
    636640        distclean-generic distclean-hdr distclean-tags distcleancheck \ 
    637641        distdir distuninstallcheck dvi dvi-am html html-am info \ 
     
    652656        @CP_PUR@ 
    653657        @CP_REB@ 
     658        cp centstorage /etc/init.d 
    654659 
    655660re: clean all 
  • trunk/centstorage/aclocal.m4

    r6655 r6706  
    1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 
     1# generated automatically by aclocal 1.10.1 -*- Autoconf -*- 
    22 
    33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
    4 # 2005, 2006  Free Software Foundation, Inc. 
     4# 2005, 2006, 2007, 2008  Free Software Foundation, Inc. 
    55# This file is free software; the Free Software Foundation 
    66# gives unlimited permission to copy and/or distribute it, 
     
    1212# PARTICULAR PURPOSE. 
    1313 
    14 m4_if(m4_PACKAGE_VERSION, [2.61],, 
    15 [m4_fatal([this file was generated for autoconf 2.61. 
    16 You have another version of autoconf.  If you want to use that, 
    17 you should regenerate the build system entirely.], [63])]) 
     14m4_ifndef([AC_AUTOCONF_VERSION], 
     15  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 
     16m4_if(AC_AUTOCONF_VERSION, [2.61],, 
     17[m4_warning([this file was generated for autoconf 2.61. 
     18You have another version of autoconf.  It may work, but is not guaranteed to. 
     19If you have problems, you may need to regenerate the build system entirely. 
     20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 
    1821 
    1922# Configure paths for LIBXML2 
     
    206209]) 
    207210 
    208 # Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc. 
     211# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc. 
    209212# 
    210213# This file is free software; the Free Software Foundation 
     
    221224dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 
    222225dnl require some minimum version.  Point them to the right macro. 
    223 m4_if([$1], [1.10], [], 
     226m4_if([$1], [1.10.1], [], 
    224227      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 
    225228]) 
     
    237240# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 
    238241AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 
    239 [AM_AUTOMAKE_VERSION([1.10])dnl 
    240 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) 
     242[AM_AUTOMAKE_VERSION([1.10.1])dnl 
     243m4_ifndef([AC_AUTOCONF_VERSION], 
     244  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 
     245_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) 
    241246 
    242247# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*- 
     
    510515  # Grep'ing the whole file is not good either: AIX grep has a line 
    511516  # limit of 2048, but all sed's we know have understand at least 4000. 
    512   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 
     517  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 
    513518    dirpart=`AS_DIRNAME("$mf")` 
    514519  else 
     
    570575 
    571576# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
    572 # 2005, 2006 Free Software Foundation, Inc. 
    573 # 
    574 # This file is free software; the Free Software Foundation 
    575 # gives unlimited permission to copy and/or distribute it, 
    576 # with or without modifications, as long as this notice is preserved. 
    577  
    578 # serial 12 
     577# 2005, 2006, 2008 Free Software Foundation, Inc. 
     578# 
     579# This file is free software; the Free Software Foundation 
     580# gives unlimited permission to copy and/or distribute it, 
     581# with or without modifications, as long as this notice is preserved. 
     582 
     583# serial 13 
    579584 
    580585# This macro actually does too much.  Some checks are only needed if 
     
    681686AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 
    682687[# Compute $1's index in $config_headers. 
     688_am_arg=$1 
    683689_am_stamp_count=1 
    684690for _am_header in $config_headers :; do 
    685691  case $_am_header in 
    686     $1 | $1:* ) 
     692    $_am_arg | $_am_arg:* ) 
    687693      break ;; 
    688694    * ) 
     
    690696  esac 
    691697done 
    692 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 
     698echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 
    693699 
    694700# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
     
    962968# _AM_SUBST_NOTMAKE(VARIABLE) 
    963969# --------------------------- 
    964 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. 
     970# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 
    965971# This macro is traced by Automake. 
    966972AC_DEFUN([_AM_SUBST_NOTMAKE]) 
  • trunk/centstorage/config.status

    r6694 r6706  
    1 #! /bin/sh 
     1#! /bin/bash 
    22# Generated by configure. 
    33# Run this file to recreate the current configuration. 
     
    88ac_cs_recheck=false 
    99ac_cs_silent=false 
    10 SHELL=${CONFIG_SHELL-/bin/sh} 
     10SHELL=${CONFIG_SHELL-/bin/bash} 
    1111## --------------------- ## 
    1212## M4sh Initialization.  ## 
     
    302302 
    303303# Files that config.status was made for. 
    304 config_files=" Makefile modules/Makefile src/Makefile lib/libmd5/Makefile modules/recup_perf_datas/Makefile modules/rebuild/Makefile modules/sync/Makefile modules/purge/Makefile modules/recup_perf_datas_client/Makefile" 
     304config_files=" Makefile modules/Makefile src/Makefile lib/libmd5/Makefile modules/recup_perf_datas/Makefile modules/rebuild/Makefile modules/sync/Makefile modules/purge/Makefile" 
    305305config_headers=" includes/config.h" 
    306306config_commands=" depfiles" 
     
    342342gives unlimited permission to copy, distribute and modify it." 
    343343 
    344 ac_pwd='/root/censtsorage' 
     344ac_pwd='/home/rbertholon/workspace/centstorage' 
    345345srcdir='.' 
    346346INSTALL='/usr/bin/install -c' 
     
    411411 
    412412if $ac_cs_recheck; then 
    413   echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 
    414   CONFIG_SHELL=/bin/sh 
     413  echo "running CONFIG_SHELL=/bin/bash /bin/bash ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 
     414  CONFIG_SHELL=/bin/bash 
    415415  export CONFIG_SHELL 
    416   exec /bin/sh "./configure" $ac_configure_extra_args --no-create --no-recursion 
     416  exec /bin/bash "./configure" $ac_configure_extra_args --no-create --no-recursion 
    417417fi 
    418418 
     
    446446    "modules/sync/Makefile") CONFIG_FILES="$CONFIG_FILES modules/sync/Makefile" ;; 
    447447    "modules/purge/Makefile") CONFIG_FILES="$CONFIG_FILES modules/purge/Makefile" ;; 
    448     "modules/recup_perf_datas_client/Makefile") CONFIG_FILES="$CONFIG_FILES modules/recup_perf_datas_client/Makefile" ;; 
    449448 
    450449  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
     
    504503cat >"$tmp/subs-1.sed" <<\CEOF 
    505504/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    506 s,@SHELL@,|#_!!_#|/bin/sh,g 
     505s,@SHELL@,|#_!!_#|/bin/bash,g 
    507506s,@PATH_SEPARATOR@,|#_!!_#|:,g 
    508507s,@PACKAGE_NAME@,|#_!!_#|,g 
     
    548547s,@PACKAGE@,|#_!!_#|centstorage,g 
    549548s,@VERSION@,|#_!!_#|0.1,g 
    550 s,@ACLOCAL@,|#_!!_#|${SHELL} /root/censtsorage/missing --run aclocal-1.10,g 
    551 s,@AUTOCONF@,|#_!!_#|${SHELL} /root/censtsorage/missing --run autoconf,g 
    552 s,@AUTOMAKE@,|#_!!_#|${SHELL} /root/censtsorage/missing --run automake-1.10,g 
    553 s,@AUTOHEADER@,|#_!!_#|${SHELL} /root/censtsorage/missing --run autoheader,g 
    554 s,@MAKEINFO@,|#_!!_#|${SHELL} /root/censtsorage/missing --run makeinfo,g 
    555 s,@install_sh@,|#_!!_#|$(SHELL) /root/censtsorage/install-sh,g 
     549s,@ACLOCAL@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run aclocal-1.10,g 
     550s,@AUTOCONF@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run autoconf,g 
     551s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run automake-1.10,g 
     552s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run autoheader,g 
     553s,@MAKEINFO@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run makeinfo,g 
     554s,@install_sh@,|#_!!_#|$(SHELL) /home/rbertholon/workspace/centstorage/install-sh,g 
    556555s,@STRIP@,|#_!!_#|,g 
    557556s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|$(install_sh) -c -s,g 
    558557s,@mkdir_p@,|#_!!_#|/bin/mkdir -p,g 
    559 s,@AWK@,|#_!!_#|gawk,g 
     558s,@AWK@,|#_!!_#|mawk,g 
    560559s,@SET_MAKE@,|#_!!_#|,g 
    561560s,@am__leading_dot@,|#_!!_#|.,g 
    562 s,@AMTAR@,|#_!!_#|${SHELL} /root/censtsorage/missing --run tar,g 
     561s,@AMTAR@,|#_!!_#|${SHELL} /home/rbertholon/workspace/centstorage/missing --run tar,g 
    563562s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g 
    564563s,@am__untar@,|#_!!_#|${AMTAR} xf -,g 
    565564s,@INSTALL@,|#_!!_#|/usr/bin/install -c,g 
    566565s,@XML_CPPFLAGS@,|#_!!_#|-I/usr/include/libxml2,g 
    567 s,@XML_LIBS@,|#_!!_#|-L/usr/lib -lxml2 -lz -lm,g 
     566s,@XML_LIBS@,|#_!!_#|-lxml2,g 
    568567s,@build@,|#_!!_#|i686-pc-linux-gnu,g 
    569568s,@build_cpu@,|#_!!_#|i686,g 
     
    591590s,@am__fastdepCC_FALSE@,|#_!!_#|#,g 
    592591s,@CPP@,|#_!!_#|gcc -E,g 
    593 s,@GREP@,|#_!!_#|/usr/bin/grep,g 
    594 s,@EGREP@,|#_!!_#|/usr/bin/grep -E,g 
     592s,@GREP@,|#_!!_#|/bin/grep,g 
     593s,@EGREP@,|#_!!_#|/bin/grep -E,g 
    595594s,@MOD_CFLAGS@,|#_!!_#|-fPIC,g 
    596595s,@MOD_LDFLAGS@,|#_!!_#|-shared,g 
     
    609608s,@MK_USE_SYNC@,|#_!!_#|modules/sync/,g 
    610609s,@XML2_CONFIG@,|#_!!_#|/usr/bin/xml2-config,g 
    611 s,@XML_HEADER@,|#_!!_#|-I/usr/include/libxml2,g 
     610s,@XML_HEADER@,|#_!!_#|-I/usr/include/libxml,g 
    612611s,@HAVE_SSL@,|#_!!_#|,g 
    613 s,@DBLIBS@,|#_!!_#| -lmysqlclient,g 
     612s,@DBLIBS@,|#_!!_#| -lmysqlclient -lpq,g 
    614613s,@DBLDFLAGS@,|#_!!_#| -L/usr/lib/mysql,g 
    615614s,@LIBOBJS@,|#_!!_#|,g 
     
    904903s,^\([   #]*\)[^         ]*\([   ]*HAVE_SYS_SELECT_H\)[  (].*,\1define\2 1 , 
    905904s,^\([   #]*\)[^         ]*\([   ]*USE_MYSQL\)[  (].*,\1define\2 1 , 
     905s,^\([   #]*\)[^         ]*\([   ]*USE_PGSQL\)[  (].*,\1define\2 1 , 
    906906s,^\([   #]*\)[^         ]*\([   ]*HAVE_SSL\)[   (].*,\1define\2 1 , 
    907907s,^\([   #]*\)[^         ]*\([   ]*HAVE_RRD\)[   (].*,\1define\2 1 , 
     
    927927  rm -f "$tmp/out12" 
    928928# Compute $ac_file's index in $config_headers. 
     929_am_arg=$ac_file 
    929930_am_stamp_count=1 
    930931for _am_header in $config_headers :; do 
    931932  case $_am_header in 
    932     $ac_file | $ac_file:* ) 
     933    $_am_arg | $_am_arg:* ) 
    933934      break ;; 
    934935    * ) 
     
    936937  esac 
    937938done 
    938 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 
    939 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    940          X$ac_file : 'X\(//\)[^/]' \| \ 
    941          X$ac_file : 'X\(//\)$' \| \ 
    942          X$ac_file : 'X\(/\)' \| . 2>/dev/null || 
    943