From: Enlightenment S. <no-...@en...> - 2008-10-05 22:19:04
|
Log: define EFL_MPATROL flags only when mpatrol is detected Author: caro Date: 2008-10-05 15:18:56 -0700 (Sun, 05 Oct 2008) New Revision: 36466 Modified: trunk/PROTO/evil/m4/efl_mpatrol.m4 Modified: trunk/PROTO/evil/m4/efl_mpatrol.m4 =================================================================== --- trunk/PROTO/evil/m4/efl_mpatrol.m4 2008-10-05 21:40:53 UTC (rev 36465) +++ trunk/PROTO/evil/m4/efl_mpatrol.m4 2008-10-05 22:18:56 UTC (rev 36466) @@ -111,8 +111,10 @@ fi -EFL_MPATROL_CPPFLAGS="-include ${_efl_mpatrol_includedir}/mpatrol.h" -EFL_MPATROL_LIBS="-L${_efl_mpatrol_libdir} -lmpatrol -lbfd -liberty -limagehlp" +if test "x${_efl_enable_mpatrol}" = "xyes" ; then + EFL_MPATROL_CPPFLAGS="-include ${_efl_mpatrol_includedir}/mpatrol.h" + EFL_MPATROL_LIBS="-L${_efl_mpatrol_libdir} -lmpatrol -lbfd -liberty -limagehlp" +fi AC_SUBST(EFL_MPATROL_CPPFLAGS) AC_SUBST(EFL_MPATROL_LIBS) |