~ubuntu-branches/ubuntu/raring/libimobiledevice/raring-201301191442

« back to all changes in this revision

Viewing changes to m4/ac_python_devel.m4

  • Committer: Iain Lane
  • Date: 2012-12-18 17:22:27 UTC
  • Revision ID: iain.lane@canonical.com-20121218172227-47hqcg0wtmqnbsgv
Look in python MA path. Import q-updates version to r.

* debian/patches/fix-ma-includes: Look in MA path for python includes.
* FIXME: Still FTBFS due to cython changes
  (http://libiphone.lighthouseapp.com/projects/27916/tickets/285-cant-compile-cython-bindings)

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
        if test -z "$PYTHON_CPPFLAGS"; then
155
155
                python_path=`$PYTHON -c "import distutils.sysconfig; \
156
156
                        print distutils.sysconfig.get_python_inc();"`
 
157
                python_platpath=`$PYTHON -c "import distutils.sysconfig; \
 
158
                                print distutils.sysconfig.get_python_inc(plat_specific=True);"`
157
159
                if test -n "${python_path}"; then
158
 
                        python_path="-I$python_path"
 
160
                        python_path="-I$python_path -I$python_platpath"
159
161
                fi
160
162
                PYTHON_CPPFLAGS=$python_path
161
163
        fi