Commit f78901ce authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix Autoconf macro OLN_WITH_LIB.

	* m4/oln-with-lib.m4: Add other libraries (dependencies) to
	*_LDFLAGS.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4126 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 8ff914dd
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.
......
......@@ -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]
)]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment