~mailman-coders/mailman/2.1

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Mark Sapiro
  • Date: 2013-01-11 04:01:33 UTC
  • Revision ID: msapiro@value.net-20130111040133-f44wjcal99hiv3ur
Changed configure's method for getting Python's include directory from
distutils.sysconfig.get_config_var('CONFINCLUDEPY') to
distutils.sysconfig.get_python_inc().  (LP: 1098162)

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        # some RedHat packages put distutils in python, but the C headers
195
195
        # are in python-devel so check for headers too.
196
196
        import os.path
197
 
        pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY')
 
197
        pdothpath = distutils.sysconfig.get_python_inc()
198
198
        if os.path.isfile(os.path.join(pdothpath, "Python.h")):
199
199
            res = "yes"
200
200
        else: