On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: > # > ------------------------------------------------------------------------------ > +have_plymouth=no > +AC_ARG_ENABLE(plymouth, AS_HELP_STRING([--disable-plymouth], [disable > plymouth integration])) > +if test "x$enable_plymouth" != "xno"; then > + PKG_CHECK_MODULES([PLYMOUTH], [ply-boot-client >= 0.8.0], > + [AC_DEFINE(HAVE_PLYMOUTH, 1, [Define if plymouth is > available]) have_plymouth=yes], have_plymouth=no) > + if test "x$have_plymouth" = xno -a "x$enable_plymouth" = xyes; then > + AC_MSG_ERROR([*** plymouth integration requested but > libraries not found]) > + fi > +fi > +AM_CONDITIONAL(HAVE_PLYMOUTH, [test "$have_plymouth" = "yes"])
Hmm, I am bit concerned about adding this dependency. So far we managed to talk to plymouth without using its library, and I am really not sure we should start doing so now. So far the messages to send were so simply that it really wasn't worth the effort to use the full library. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel