[Xfce4-commits] <xfce4-notifyd:master> check for exo-csource when --enable-maintainer-mode is passed (bug 5783)
Brian J. Tarricone
noreply at xfce.org
Sat Oct 24 06:48:01 CEST 2009
Updating branch refs/heads/master
to 10ee27ea551da22de71321155c6a897d44692a07 (commit)
from b0a1cd8d831986448acb8687c9c5533dd843fdcc (commit)
commit 10ee27ea551da22de71321155c6a897d44692a07
Author: Brian J. Tarricone <brian at tarricone.org>
Date: Fri Oct 23 21:47:49 2009 -0700
check for exo-csource when --enable-maintainer-mode is passed (bug 5783)
Makefile.am | 2 +-
configure.ac.in | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 23525d3..590be4d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -192,7 +192,7 @@ xfce4-notifyd/xfce-notify-enum-types.c: xfce4-notifyd/xfce-notify-window.h Makef
&& rm -f xfce4-notifyd/xgen-xnetc
xfce4-notifyd-config/xfce4-notifyd-config.glade.h: $(srcdir)/xfce4-notifyd-config/xfce4-notifyd-config.glade
- exo-csource --static --name=xfce4_notifyd_config_glade $< >$@
+ $(EXO_CSOURCE) --static --name=xfce4_notifyd_config_glade $< >$@
endif
diff --git a/configure.ac.in b/configure.ac.in
index 7553bea..f490f14 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -58,6 +58,17 @@ XDT_CHECK_OPTIONAL_PACKAGE([LIBSEXY], [libsexy], [0.1.6], [libsexy],
[libsexy support (for clickable URLs) (default=yes)],
[yes])
+AS_IF([test "x$USE_MAINTAINER_MODE" = "xyes"],
+[
+ AC_PATH_PROG([EXO_CSOURCE], [exo-csource])
+ AS_IF([test -z "$EXO_CSOURCE"],
+ [
+ echo '*** The program "exo-csource" is required to build when --enable-maintainer-mode'
+ echo '*** is specified.'
+ exit 1
+ ])
+])
+
AC_ARG_ENABLE([old-notification-closed-signature],
[AS_HELP_STRING([--enable-old-notification-closed-signature],
[Use the old NotificationClosed signal signature that leaves out the 'reason' parameter. You want to enable this if your system has libnotify 0.4.4 or earlier.])],
More information about the Xfce4-commits
mailing list