]> git.pld-linux.org Git - packages/sssd.git/blame - sssd-python-config.patch
- up to 1.12.3
[packages/sssd.git] / sssd-python-config.patch
CommitLineData
dd3b701a
JB
1--- sssd-1.11.4/src/external/python.m4.orig 2014-03-12 18:24:31.013871791 +0100
2+++ sssd-1.11.4/src/external/python.m4 2014-03-12 19:55:39.160308983 +0100
3@@ -12,15 +12,8 @@
f74665dc 4 AC_PATH_PROG(PYTHON, python)
5 AC_MSG_CHECKING([for working python])
6 if test -x "$PYTHON"; then
7- PYTHON_CFLAGS="`$PYTHON -c \"from distutils import sysconfig; \
8- print '-I' + sysconfig.get_python_inc() + \
9- ' -I' + sysconfig.get_python_inc(plat_specific=True) + ' ' + \
10- sysconfig.get_config_var('BASECFLAGS')\"`"
11- PYTHON_LIBS="`$PYTHON -c \"from distutils import sysconfig; \
12- print \\\" \\\".join(sysconfig.get_config_var('LIBS').split() + \
13- sysconfig.get_config_var('SYSLIBS').split()) + \
dd3b701a
JB
14- ' -lpython' + sysconfig.get_config_var('VERSION') + \
15- ' -L' + sysconfig.get_config_var('LIBDIR')\"`"
f74665dc 16+ PYTHON_CFLAGS="`python-config --cflags`"
17+ PYTHON_LIBS="`python-config --libs`"
18 AC_MSG_RESULT([yes])
19 else
dd3b701a 20 AC_MSG_RESULT([no])
This page took 0.074586 seconds and 4 git commands to generate.