summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-24 13:47:14 -0800
committerPerberos <[email protected]>2011-12-24 13:47:14 -0800
commit74cb9efe234214c79ba6a685126b387fcef0be34 (patch)
treee52c7dd4ca05425c2ffeb583951da1b79d0b61f8
parentb7b15266d086a24e8b48868b9b1b18bc04cd6c21 (diff)
parentef37d8f0e5391a6c955e5c77816b182d5f6ee824 (diff)
downloadmate-system-monitor-74cb9efe234214c79ba6a685126b387fcef0be34.tar.bz2
mate-system-monitor-74cb9efe234214c79ba6a685126b387fcef0be34.tar.xz
Merge pull request #1 from samtygier/master
fix that solves a PATH issue for me 2
-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