summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9ade4bf..aa002bc 100644
--- a/configure.in
+++ b/configure.in
@@ -64,6 +64,8 @@ fi
dnl CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden $CXXFLAGS"
dnl CXXFLAGS="-fvisibility-inlines-hidden $CXXFLAGS"
+AC_PATH_PROG(MATECONFTOOL, mateconftool-2)
+
AM_MATECONF_SOURCE_2
diff --git a/src/Makefile.am b/src/Makefile.am
index 8794e47..fb22e4b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -63,7 +63,7 @@ install-data-local:
if test -z "$(DESTDIR)"; then \
for p in $(schema_DATA); do \
MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \
- mateconftool-2 --makefile-install-rule $(top_builddir)/src/$$p; \
+ ${MATECONFTOOL} --makefile-install-rule $(top_builddir)/src/$$p; \
done; \
fi
else