pkgconfig file unconditionally requires atkmm in gtkmm-2.8.9



Hi,

It looks like the pkgconfig descriptor for gtkmm-2.8.9 is always
attempting to import flags from atkmm-1.6, even if the
--enable-api-atkmm=no switch is given.

Would it be better to add something like:

 if "x$gtkmm_enable_api_atkmm" = "xyes"
 then
   PC_ATKMM_DEPENDENCIES=" atkmm-1.6"
 else
   PC_ATKMM_DEPENDENCIES=""
 fi
 AC_SUBST(PC_ATKMM_DEPENDENCIES)

and then in the .pc.in file, use:

 Requires: glibmm-2.4 gdkmm-2.4 pangomm-1 4 PC_ATKMM_DEPENDENCIES@ gtk+-2.0

rather than the existing

 Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4 atkmm-1.6 gtk+-2.0

?

Thanks

--Matt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]