update BR
[packages/sssd.git] / sssd-python-config.patch
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 @@
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()) + \
14 -            ' -lpython' + sysconfig.get_config_var('VERSION') + \
15 -            ' -L' + sysconfig.get_config_var('LIBDIR')\"`"
16 +        PYTHON_CFLAGS="`python-config --cflags`"
17 +        PYTHON_LIBS="`python-config --libs`"
18              AC_MSG_RESULT([yes])
19      else
20          AC_MSG_RESULT([no])
This page took 0.048827 seconds and 3 git commands to generate.