~ubuntu-branches/ubuntu/trusty/apr-util/trusty-proposed

« back to all changes in this revision

Viewing changes to build/dbd.m4

  • Committer: Package Import Robot
  • Author(s): Stefan Fritsch
  • Date: 2013-05-05 15:43:34 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20130505154334-ljd2tn8515nf96mo
Tags: 1.5.2-1
* New upstream release.
* Ship find_apu.m4 in libaprutil1-dev. Closes: #699327

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
148
148
  dnl we know the library is there.
149
149
  if test "$apu_have_pgsql" = "1"; then
150
 
    LDADD_dbd_pgsql="$pgsql_LDFLAGS -lpq $pgsql_LIBS"
 
150
    APR_ADDTO(LDADD_dbd_pgsql, [$pgsql_LDFLAGS -lpq $pgsql_LIBS])
151
151
  fi
152
152
  AC_SUBST(LDADD_dbd_pgsql)
153
153
 
229
229
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
230
230
  dnl we know the library is there.
231
231
  if test "$apu_have_mysql" = "1"; then
232
 
    LDADD_dbd_mysql="$mysql_LDFLAGS -lmysqlclient_r $mysql_LIBS"
 
232
    APR_ADDTO(LDADD_dbd_mysql, [$mysql_LDFLAGS -lmysqlclient_r $mysql_LIBS])
233
233
  fi
234
234
  AC_SUBST(LDADD_dbd_mysql)
235
235
 
273
273
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
274
274
  dnl we know the library is there.
275
275
  if test "$apu_have_sqlite3" = "1"; then
276
 
    LDADD_dbd_sqlite3="$sqlite3_LDFLAGS -lsqlite3"
 
276
    APR_ADDTO(LDADD_dbd_sqlite3, [$sqlite3_LDFLAGS -lsqlite3])
277
277
  fi
278
278
  AC_SUBST(LDADD_dbd_sqlite3)
279
279
 
317
317
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
318
318
  dnl we know the library is there.
319
319
  if test "$apu_have_sqlite2" = "1"; then
320
 
    LDADD_dbd_sqlite2="$sqlite2_LDFLAGS -lsqlite"
 
320
    APR_ADDTO(LDADD_dbd_sqlite2, [$sqlite2_LDFLAGS -lsqlite])
321
321
  fi
322
322
  AC_SUBST(LDADD_dbd_sqlite2)
323
323
 
400
400
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
401
401
  dnl we know the library is there.
402
402
  if test "$apu_have_oracle" = "1"; then
403
 
    LDADD_dbd_oracle="$oracle_LDFLAGS -lclntsh $oracle_LIBS"
 
403
    APR_ADDTO(LDADD_dbd_oracle, [$oracle_LDFLAGS -lclntsh $oracle_LIBS])
404
404
  fi
405
405
  AC_SUBST(LDADD_dbd_oracle)
406
406
 
455
455
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
456
456
  dnl we know the library is there.
457
457
  if test "$apu_have_freetds" = "1"; then
458
 
    LDADD_dbd_freetds="$sybdb_LDFLAGS -lsybdb"
 
458
    APR_ADDTO(LDADD_dbd_freetds, [$sybdb_LDFLAGS -lsybdb])
459
459
    dnl Erm, I needed pcreposix, but I think that dependency has gone
460
460
    dnl from the current code
461
 
    dnl LDADD_dbd_freetds="$LDADD_dbd_freetds -lsybdb -lpcreposix"
 
461
    dnl APR_ADDTO(LDADD_dbd_freetds, [-lpcreposix])
462
462
  fi
463
463
  AC_SUBST(LDADD_dbd_freetds)
464
464
 
552
552
  dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
553
553
  dnl we know the library is there.
554
554
  if test "$apu_have_odbc" = "1"; then
555
 
    LDADD_dbd_odbc="$odbc_LDFLAGS -lodbc $odbc_LIBS"
 
555
    APR_ADDTO(LDADD_dbd_odbc, [$odbc_LDFLAGS -lodbc $odbc_LIBS])
556
556
  fi
557
557
  AC_SUBST(LDADD_dbd_odbc)
558
558