summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Davis <smd.seandavis@gmail.com>2020-06-21 04:24:17 -0400
committerSean Davis <smd.seandavis@gmail.com>2020-06-21 04:24:17 -0400
commit9595aee9a309a46dba96fa9f7d3f6f01da34bc4c (patch)
treeee95fc5f6033fe2ed55d3ae90a713be917ebf8f9
parent745da83f7b46fa2a7ee985ac6ec0c4f5440464ac (diff)
downloadlightdm-gtk-greeter-git-9595aee9a309a46dba96fa9f7d3f6f01da34bc4c.tar.gz
Move from exo-csource to xdt-csource
-rwxr-xr-xautogen.sh11
-rw-r--r--configure.ac6
-rw-r--r--src/Makefile.am6
3 files changed, 17 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index 2c7d1fa..644a148 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,6 +10,17 @@
# version. See http://www.gnu.org/copyleft/gpl.html the full text of the
# license.
#
+
+(type xdt-csource) >/dev/null 2>&1 || {
+ cat >&2 <<EOF
+autogen.sh: You don't seem to have the Xfce development tools installed on
+ your system, which are required to build this software.
+ Please install the xfce4-dev-tools package first, it is available
+ from your distribution or https://www.xfce.org/.
+EOF
+ exit 1
+}
+
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdir=.
diff --git a/configure.ac b/configure.ac
index 5df8fe9..4ae2526 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,9 +48,9 @@ PKG_CHECK_MODULES([LIGHTDMGOBJECT], [liblightdm-gobject-1 >= 1.19.2],
)
PKG_CHECK_MODULES([LIBX11], [x11])
-AC_CHECK_PROG([HAVE_EXO_CSOURCE], [exo-csource], [yes])
-if test x"$HAVE_EXO_CSOURCE" != xyes; then
- AC_MSG_FAILURE([exo-csource not installed])
+AC_CHECK_PROG([HAVE_XDT_CSOURCE], [xdt-csource], [yes])
+if test x"$HAVE_XDT_CSOURCE" != xyes; then
+ AC_MSG_FAILURE([xdt-csource not installed])
fi
dnl ###########################################################################
diff --git a/src/Makefile.am b/src/Makefile.am
index 3ac55ee..f079ff9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -65,13 +65,13 @@ lightdm_gtk_greeter_LDADD = \
if MAINTAINER_MODE
lightdm-gtk-greeter-ui.h: $(srcdir)/lightdm-gtk-greeter.glade Makefile
- $(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=lightdm_gtk_greeter_ui $< >$@
+ $(AM_V_GEN) xdt-csource --static --strip-comments --strip-content --name=lightdm_gtk_greeter_ui $< >$@
lightdm-gtk-greeter-css-fallback.h: $(srcdir)/lightdm-gtk-greeter-fallback.css Makefile
- $(AM_V_GEN) exo-csource --static --name=lightdm_gtk_greeter_css_fallback $< >$@
+ $(AM_V_GEN) xdt-csource --static --name=lightdm_gtk_greeter_css_fallback $< >$@
lightdm-gtk-greeter-css-application.h: $(srcdir)/lightdm-gtk-greeter-application.css Makefile
- $(AM_V_GEN) exo-csource --static --name=lightdm_gtk_greeter_css_application $< >$@
+ $(AM_V_GEN) xdt-csource --static --name=lightdm_gtk_greeter_css_application $< >$@
DISTCLEANFILES = \
$(lightdm_gtk_greeter_built_sources)