Commit 95689f73 authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix Automake macro OLN_WITH_LIB (again).

	* m4/oln-with-lib.m4 (_OLN_WITH_LIB): Set $5_CPPFLAGS instead of
	$5_CXXFLAGS.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4082 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent dd624519
2009-06-10 Roland Levillain <roland@lrde.epita.fr>
Fix Automake macro OLN_WITH_LIB (again).
* m4/oln-with-lib.m4 (_OLN_WITH_LIB): Set $5_CPPFLAGS instead of
$5_CXXFLAGS.
2009-06-10 Roland Levillain <roland@lrde.epita.fr>
Complete the installation of the Make rule `tests' in Olena.
......
......@@ -15,7 +15,7 @@
# This macro sets the shell variable oln_have_`SHELL_NAME' to `yes' if
# the library is found and if it is working (and to `no' otherwise),
# and defines a CPP macro and an Automake conditional both named
# HAVE_`CPP_NAME'. It also sets `CPP_NAME'_CXXFLAGS and
# HAVE_`CPP_NAME'. It also sets `CPP_NAME'_CPPFLAGS and
# `CPP_NAME'_LDFLAGS.
#
# Examples of use:
......@@ -71,7 +71,7 @@ AC_DEFUN([_OLN_WITH_LIB],
LDFLAGS=$oln_save_LDFLAGS
TOOLS_LDFLAGS="$TOOLS_LDFLAGS $$5_LDFLAGS"
fi
AC_SUBST([$5_CXXFLAGS], [$5_CPPFLAGS])
AC_SUBST([$5_CPPFLAGS])
AC_SUBST([$5_LDFLAGS])
AM_CONDITIONAL([HAVE_$5], [test x$oln_have_$4 = xyes])
AC_LANG_POP([C++])
......
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