diff options
author | rjung <rjung@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-10 19:34:52 +0000 |
---|---|---|
committer | rjung <rjung@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-10 19:34:52 +0000 |
commit | cc137b0d591b1e3203ba25129c054734b451f192 (patch) | |
tree | d01fc1174fcb4c85ce037bd8bbd45f4bb1359fa2 /build/dbm.m4 | |
parent | 609b0ce6d5f68969ba65e826a8bcbab5e552ac6a (diff) | |
download | libapr-cc137b0d591b1e3203ba25129c054734b451f192.tar.gz |
Use APR_ADDTO when setting LDADD variables
instead of simply overwriting them.
.
This allows to preset the variables e.g. with
rpath flags before running configure.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1371811 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/dbm.m4')
-rw-r--r-- | build/dbm.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/dbm.m4 b/build/dbm.m4 index 03a82f64d..0d85d4dcd 100644 --- a/build/dbm.m4 +++ b/build/dbm.m4 @@ -1008,20 +1008,20 @@ AC_DEFUN([APU_CHECK_DBM], [ AC_SUBST(apu_db_version) if test "$apu_have_db" = "1"; then - LDADD_dbm_db="-l$apu_db_lib" + APR_ADDTO(LDADD_dbm_db, [-l$apu_db_lib]) if test -n "apu_db_xtra_libs"; then - LDADD_dbm_db="$LDADD_dbm_db $apu_db_xtra_libs" + APR_ADDTO(LDADD_dbm_db, [$apu_db_xtra_libs]) fi fi dnl Since we have already done the AC_CHECK_LIB tests, if we have it, dnl we know the library is there. if test "$apu_have_gdbm" = "1"; then - LDADD_dbm_gdbm="-lgdbm" + APR_ADDTO(LDADD_dbm_gdbm, [-lgdbm]) fi if test "$apu_have_ndbm" = "1"; then - LDADD_dbm_ndbm="-l$apu_ndbm_lib" + APR_ADDTO(LDADD_dbm_ndbm, [-l$apu_ndbm_lib]) fi AC_SUBST(LDADD_dbm_db) |