~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Haas
  • Date: 2009-10-10 12:21:16 UTC
  • mfrom: (1.1.10 upstream) (8.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091010122116-44k2zdq57rb40i6z
Tags: 1:1.6.6-2
* debian/po/ja.po updated (Closes: #548651)
* debian/po/cs.po updated (Closes: #548675)
* debian/po/sv.po updated (Closes: #548796)
* debian/po/de.po updated (Closes: #549248)
* debian/po/it.po updated (Closes: #549579)
* debian/po/pt.po updated (Closes: #550087)
* debian/po/ru.po updated (Closes: #550102)
* debian/po/es.po updated (Closes: #550173)
* debian/po/fr.po updated (Closes: #550315)
* Manpages for zabbix_server and zabbix_agent added (Closes: #496696)
* Added hint about the difference of the zabbix_agent.conf and
  zabbix_agentd.conf in each config file as a comment. (Closes: #548701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2191
2191
 
2192
2192
# Define the identity of the package.
2193
2193
 PACKAGE=zabbix
2194
 
 VERSION=1.6.4
 
2194
 VERSION=1.6.6
2195
2195
 
2196
2196
 
2197
2197
cat >>confdefs.h <<_ACEOF
6339
6339
    /* grab all swap info */
6340
6340
    swapctl(SC_LIST, swt);
6341
6341
 
6342
 
    /* walk thru the structs and sum up the fields */
 
6342
    /* walk through the structs and sum up the fields */
6343
6343
    t = f = 0;
6344
6344
    ste = &(swt->swt_ent[0]);
6345
6345
    i = cnt;
6346
6346
    while (--i >= 0)
6347
6347
    {
6348
 
  /* dont count slots being deleted */
 
6348
  /* don't count slots being deleted */
6349
6349
  if (!(ste->ste_flags & ST_INDEL) &&
6350
6350
      !(ste->ste_flags & ST_DOINGDEL))
6351
6351
  {
8566
8566
_ACEOF
8567
8567
 
8568
8568
                else
8569
 
                        { { echo "$as_me:$LINENO: error: Not found Sqlora8 library" >&5
8570
 
echo "$as_me: error: Not found Sqlora8 library" >&2;}
 
8569
                        { { echo "$as_me:$LINENO: error: Sqlora8 library not found" >&5
 
8570
echo "$as_me: error: Sqlora8 library not found" >&2;}
8571
8571
   { (exit 1); exit 1; }; }
8572
8572
                fi
8573
8573
        fi
8739
8739
                if test "x$found_sqlite3" = "xyes"; then
8740
8740
                        have_db="SQLite v3.x"
8741
8741
                else
8742
 
                        { { echo "$as_me:$LINENO: error: Not found SQLite3 library" >&5
8743
 
echo "$as_me: error: Not found SQLite3 library" >&2;}
 
8742
                        { { echo "$as_me:$LINENO: error: SQLite3 library not found" >&5
 
8743
echo "$as_me: error: SQLite3 library not found" >&2;}
8744
8744
   { (exit 1); exit 1; }; }
8745
8745
                fi
8746
8746
        fi
9069
9069
                if test "x$found_mysql" = "xyes"; then
9070
9070
                        have_db="MySQL"
9071
9071
                else
9072
 
                        { { echo "$as_me:$LINENO: error: Not found MySQL library" >&5
9073
 
echo "$as_me: error: Not found MySQL library" >&2;}
 
9072
                        { { echo "$as_me:$LINENO: error: MySQL library not found" >&5
 
9073
echo "$as_me: error: MySQL library not found" >&2;}
9074
9074
   { (exit 1); exit 1; }; }
9075
9075
                fi
9076
9076
        fi
9174
9174
    fi
9175
9175
 
9176
9176
 
 
9177
    _save_postgresql_ldflags="${LDFLAGS}"
 
9178
    _save_postgresql_cflags="${CFLAGS}"
 
9179
    LDFLAGS="${LDFLAGS} ${POSTGRESQL_LDFLAGS}"
 
9180
    CFLAGS="${CFLAGS} ${POSTGRESQL_CPPFLAGS}"
 
9181
 
 
9182
    { echo "$as_me:$LINENO: checking for function PQserverVersion()" >&5
 
9183
echo $ECHO_N "checking for function PQserverVersion()... $ECHO_C" >&6; }
 
9184
    cat >conftest.$ac_ext <<_ACEOF
 
9185
/* confdefs.h.  */
 
9186
_ACEOF
 
9187
cat confdefs.h >>conftest.$ac_ext
 
9188
cat >>conftest.$ac_ext <<_ACEOF
 
9189
/* end confdefs.h.  */
 
9190
 
 
9191
#include <libpq-fe.h>
 
9192
 
 
9193
int
 
9194
main ()
 
9195
{
 
9196
 
 
9197
PGconn  *conn = NULL;
 
9198
PQserverVersion(conn);
 
9199
 
 
9200
  ;
 
9201
  return 0;
 
9202
}
 
9203
_ACEOF
 
9204
rm -f conftest.$ac_objext conftest$ac_exeext
 
9205
if { (ac_try="$ac_link"
 
9206
case "(($ac_try" in
 
9207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9208
  *) ac_try_echo=$ac_try;;
 
9209
esac
 
9210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9211
  (eval "$ac_link") 2>conftest.er1
 
9212
  ac_status=$?
 
9213
  grep -v '^ *+' conftest.er1 >conftest.err
 
9214
  rm -f conftest.er1
 
9215
  cat conftest.err >&5
 
9216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9217
  (exit $ac_status); } && {
 
9218
         test -z "$ac_c_werror_flag" ||
 
9219
         test ! -s conftest.err
 
9220
       } && test -s conftest$ac_exeext &&
 
9221
       $as_test_x conftest$ac_exeext; then
 
9222
 
 
9223
cat >>confdefs.h <<\_ACEOF
 
9224
#define HAVE_FUNCTION_PQSERVERVERSION 1
 
9225
_ACEOF
 
9226
 
 
9227
    { echo "$as_me:$LINENO: result: yes" >&5
 
9228
echo "${ECHO_T}yes" >&6; }
 
9229
else
 
9230
  echo "$as_me: failed program was:" >&5
 
9231
sed 's/^/| /' conftest.$ac_ext >&5
 
9232
 
 
9233
        { echo "$as_me:$LINENO: result: no" >&5
 
9234
echo "${ECHO_T}no" >&6; }
 
9235
fi
 
9236
 
 
9237
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9238
      conftest$ac_exeext conftest.$ac_ext
 
9239
 
 
9240
    LDFLAGS="${_save_postgresql_ldflags}"
 
9241
    CFLAGS="${_save_postgresql_cflags}"
 
9242
    unset _save_postgresql_ldflags
 
9243
    unset _save_postgresql_cflags
 
9244
 
 
9245
 
9177
9246
 
9178
9247
    postgresql_version_req=
9179
9248
 
9230
9299
                        have_db="PostgreSQL"
9231
9300
 
9232
9301
                                                                                        else
9233
 
                        { { echo "$as_me:$LINENO: error: Not found PostgreSQL library" >&5
9234
 
echo "$as_me: error: Not found PostgreSQL library" >&2;}
 
9302
                        { { echo "$as_me:$LINENO: error: PostgreSQL library not found" >&5
 
9303
echo "$as_me: error: PostgreSQL library not found" >&2;}
9235
9304
   { (exit 1); exit 1; }; }
9236
9305
                fi
9237
9306
        fi
9710
9779
 
9711
9780
        if test "x$want_jabber" = "xyes"; then
9712
9781
                if test "x$found_jabber" != "xyes"; then
9713
 
                        { { echo "$as_me:$LINENO: error: Not found Jabber library" >&5
9714
 
echo "$as_me: error: Not found Jabber library" >&2;}
 
9782
                        { { echo "$as_me:$LINENO: error: Jabber library not found" >&5
 
9783
echo "$as_me: error: Jabber library not found" >&2;}
9715
9784
   { (exit 1); exit 1; }; }
9716
9785
                else
9717
9786
                        have_jabber="yes"
10380
10449
 
10381
10450
        if test "x$want_curl" = "xyes"; then
10382
10451
                if test "x$found_curl" != "xyes"; then
10383
 
                        { { echo "$as_me:$LINENO: error: Not found Curl library" >&5
10384
 
echo "$as_me: error: Not found Curl library" >&2;}
 
10452
                        { { echo "$as_me:$LINENO: error: Curl library not found" >&5
 
10453
echo "$as_me: error: Curl library not found" >&2;}
10385
10454
   { (exit 1); exit 1; }; }
10386
10455
                fi
10387
10456
        fi
10548
10617
                if test "x$found_iodbc" = "xyes"; then
10549
10618
                        have_odbc="iODBC"
10550
10619
                else
10551
 
                        { { echo "$as_me:$LINENO: error: Not found iODBC library" >&5
10552
 
echo "$as_me: error: Not found iODBC library" >&2;}
 
10620
                        { { echo "$as_me:$LINENO: error: iODBC library not found" >&5
 
10621
echo "$as_me: error: iODBC library not found" >&2;}
10553
10622
   { (exit 1); exit 1; }; }
10554
10623
                fi
10555
10624
        fi
10797
10866
 
10798
10867
        if test "x$want_unixodbc" = "xyes"; then
10799
10868
                if test "x$have_odbc" != "xno"; then
10800
 
                        { { echo "$as_me:$LINENO: error: You can configure for only one ODBC griver." >&5
10801
 
echo "$as_me: error: You can configure for only one ODBC griver." >&2;}
 
10869
                        { { echo "$as_me:$LINENO: error: You can configure for only one ODBC driver." >&5
 
10870
echo "$as_me: error: You can configure for only one ODBC driver." >&2;}
10802
10871
   { (exit 1); exit 1; }; }
10803
10872
                fi
10804
10873
 
10805
10874
                if test "x$found_unixodbc" = "xyes"; then
10806
10875
                        have_odbc="unixODBC"
10807
10876
                else
10808
 
                        { { echo "$as_me:$LINENO: error: Not found unixODBC library" >&5
10809
 
echo "$as_me: error: Not found unixODBC library" >&2;}
 
10877
                        { { echo "$as_me:$LINENO: error: unixODBC library not found" >&5
 
10878
echo "$as_me: error: unixODBC library not found" >&2;}
10810
10879
   { (exit 1); exit 1; }; }
10811
10880
                fi
10812
10881
        fi