~ubuntu-branches/debian/stretch/ecryptfs-utils/stretch

« back to all changes in this revision

Viewing changes to m4/ac_python_devel.m4

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann
  • Date: 2013-02-09 08:07:34 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: package-import@ubuntu.com-20130209080734-998qg3tcjjvaof00
Tags: upstream-103
ImportĀ upstreamĀ versionĀ 103

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
                if test -n "${python_path}"; then
86
86
                        python_path="-I$python_path"
87
87
                fi
88
 
                PYTHON_CPPFLAGS=$python_path
 
88
                python_plat_path=`$PYTHON -c "import distutils.sysconfig; \
 
89
                        print distutils.sysconfig.get_python_inc(plat_specific=True);"`
 
90
                if test -n "${python_plat_path}"; then
 
91
                        python_plat_path="-I$python_plat_path"
 
92
                fi
 
93
                PYTHON_CPPFLAGS="$python_path $python_plat_path"
89
94
        fi
90
95
        AC_MSG_RESULT([$PYTHON_CPPFLAGS])
91
96
        AC_SUBST([PYTHON_CPPFLAGS])