summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/config.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-12 09:44:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-12 09:44:27 +1000
commitb869a525b1f40baf881a725e5632b39c99268d67 (patch)
tree594e53b6f5ad26e28ad8fe78d9119275e4ac319d /source4/scripting/python/config.m4
parent00ebe3df811a9eb7737fa6278d8784500c35bd14 (diff)
parent5d02514f72c6c89bc28b4c5de3d95bb8a439b56e (diff)
downloadsamba-b869a525b1f40baf881a725e5632b39c99268d67.tar.gz
samba-b869a525b1f40baf881a725e5632b39c99268d67.tar.xz
samba-b869a525b1f40baf881a725e5632b39c99268d67.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)
Diffstat (limited to 'source4/scripting/python/config.m4')
-rw-r--r--source4/scripting/python/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 3790071ba8..a61d541049 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -71,3 +71,8 @@ else
AC_MSG_ERROR([Python not found. Please install Python 2.x and its development headers/libraries.])
fi
+AC_MSG_CHECKING(python library directory)
+pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1, 0, '\\${prefix}')"`
+AC_MSG_RESULT($pythondir)
+
+AC_SUBST(pythondir)