summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-20 11:32:56 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-20 11:32:56 +0100
commit845664e94b7bc98f6e93be6d7ff2a141d9d9e192 (patch)
tree0e5d773b8e73a5fce862fe2f4410f9adc5ed572a /source4/scripting/python
parent5f0fab780220045e04adb11843bcb0cd9a9b64d7 (diff)
downloadsamba-845664e94b7bc98f6e93be6d7ff2a141d9d9e192.tar.gz
samba-845664e94b7bc98f6e93be6d7ff2a141d9d9e192.tar.bz2
samba-845664e94b7bc98f6e93be6d7ff2a141d9d9e192.zip
Avoid python2.2-specific types.
(This used to be commit d45c6b5574ea732d25e9180c83f1fa807ebe57ba)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 908efd1588..2142cd9abd 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -54,7 +54,7 @@ fi
if test x$PYTHON != x
then
- DISTUTILS_CFLAGS=`$PYTHON -c "from distutils import sysconfig; print '-I%s -I%s %s' % (sysconfig.get_python_inc(), sysconfig.get_python_inc(plat_specific=True), sysconfig.get_config_var('CFLAGS'))"`
+ DISTUTILS_CFLAGS=`$PYTHON -c "from distutils import sysconfig; print '-I%s -I%s %s' % (sysconfig.get_python_inc(), sysconfig.get_python_inc(plat_specific=1), sysconfig.get_config_var('CFLAGS'))"`
DISTUTILS_LDFLAGS=`$PYTHON -c "from distutils import sysconfig; print '%s %s -lpython%s -L%s' % (sysconfig.get_config_var('LIBS'), sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('VERSION'), sysconfig.get_config_var('LIBPL'))"`
TRY_LINK_PYTHON($DISTUTILS_LDFLAGS, $DISTUTILS_CFLAGS)
fi