summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d1f013)
raw | patch | inline | side by side (parent: 5d1f013)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 7 Feb 2007 21:35:07 +0000 (21:35 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 7 Feb 2007 21:35:07 +0000 (21:35 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@993 a5681a0c-68f1-0310-ab6d-d61299d08faa
Makefile.am | patch | blob | history | |
configure.ac | patch | blob | history |
diff --git a/Makefile.am b/Makefile.am
index 0fa53a37b5e41d271a6d84973e688c812dd6b72b..1ed167054fa9a71658ff3e05b03815606e074efb 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
cd bindings/tcl && $(MAKE) tcl-install
site-python-install: all
- cd bindings/python && $(MAKE) python-install
+ cd bindings/python && $(PYTHON) setup.py install
##END##
diff --git a/configure.ac b/configure.ac
index ca95a1b8112862d39804a78a0598e420ec5b1ea8..19fae7be76e2a5e40351ee7e5d24ce51afe795a8 100644 (file)
--- a/configure.ac
+++ b/configure.ac
fi
+
AC_MSG_CHECKING(Ruby Modules to build)
AC_MSG_RESULT(${COMP_RUBY:-No Ruby Modules will be built})
AM_CHECK_PYTHON_HEADERS(,[enable_python=no;AC_MSG_WARN(could not find Python headers)])
fi
-AM_CONDITIONAL(BUILD_PYTHON,[test "$enable_python" = "yes"])
+if test x$enable_python = xno; then
+ COMP_PYTHON=
+else
+ COMP_PYTHON="python"
+fi
+
+AC_SUBST(COMP_PYTHON)
dnl Check for nroff
AC_PATH_PROGS(NROFF, gnroff nroff)