
* m4/oln-with-lib.m4: Add other libraries (dependencies) to *_LDFLAGS. --- ChangeLog | 7 +++++++ m4/oln-with-lib.m4 | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index b88687b..dcacc41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2009-06-12 Roland Levillain <roland@lrde.epita.fr> + Fix Autoconf macro OLN_WITH_LIB. + + * m4/oln-with-lib.m4: Add other libraries (dependencies) to + *_LDFLAGS. + +2009-06-12 Roland Levillain <roland@lrde.epita.fr> + Handle libgdcmCommon's dependencies. * configure.ac: Pass -lgdcmzlib to OLN_WITH_LIB when searching for diff --git a/m4/oln-with-lib.m4 b/m4/oln-with-lib.m4 index a3cc9e1..4678d8b 100644 --- a/m4/oln-with-lib.m4 +++ b/m4/oln-with-lib.m4 @@ -70,7 +70,7 @@ AC_DEFUN([_OLN_WITH_LIB], [AC_CHECK_LIB([$3], [main], [oln_have_$4=yes - $5_LDFLAGS="$$5_LDFLAGS -l$3" + $5_LDFLAGS="$$5_LDFLAGS -l$3 $6" AC_DEFINE([HAVE_$5], 1, [Define to 1 if we can use $1])], [], [$6] )] -- 1.6.2.4