diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-27 09:49:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-27 09:49:31 +0300 |
commit | 6ee5f7c3a24fddc05fe172543bb78ce4b6c5acf3 (patch) | |
tree | efb26d7f3a66f86008b7504b1251e48eab5f7454 /python/libmu_py | |
parent | 75fd61273a89b647ded20182011d66fc33bb5743 (diff) | |
download | mailutils-6ee5f7c3a24fddc05fe172543bb78ce4b6c5acf3.tar.gz mailutils-6ee5f7c3a24fddc05fe172543bb78ce4b6c5acf3.tar.bz2 |
Improve configure script.
* configure.ac: New option --with-pythondir
(PYTHON_SITE_DIR, PYTHON_EXEC_DIR): New subst variables.
* python/libmu_py/Makefile.am: use pythonexec_LTLIBRARIES,
instead of pythonexec_LTLIBRARIES.
(pythonexecdir): New variable.
* python/mailutils/Makefile.am: use pythonsite_PYTHON,
instead of pkgpython_PYTHON.
(pythonsitedir): New variable.
Diffstat (limited to 'python/libmu_py')
-rw-r--r-- | python/libmu_py/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/libmu_py/Makefile.am b/python/libmu_py/Makefile.am index ed1129584..5f4238d90 100644 --- a/python/libmu_py/Makefile.am +++ b/python/libmu_py/Makefile.am @@ -63,7 +63,8 @@ libmu_py_la_LIBADD = $(PYTHON_LIBS) @MU_COMMON_LIBRARIES@ \ @MU_AUTHLIBS@\ ${MU_LIB_MAILUTILS} -pkgpyexec_LTLIBRARIES = c_api.la -c_api_la_LDFLAGS = -avoid-version -module -rpath $(pkgpyexecdir) +pythonexecdir=@PYTHON_EXEC_DIR@ +pythonexec_LTLIBRARIES = c_api.la +c_api_la_LDFLAGS = -avoid-version -module -rpath $(pythonexecdir) c_api_la_LIBADD = $(PYTHON_LIBS) ${MU_LIB_PY} c_api_la_SOURCES = c_api.c |