~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to m4/ac_python_devel.m4

  • Committer: Dustin Kirkland
  • Date: 2009-02-13 15:57:24 UTC
  • Revision ID: kirkland@canonical.com-20090213155724-1q3qz2o0cbyimu9x
debian/ubuntu packaging

Initial checkin of the Debian/Ubuntu packaging

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

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_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"
 
88
                PYTHON_CPPFLAGS=$python_path
94
89
        fi
95
90
        AC_MSG_RESULT([$PYTHON_CPPFLAGS])
96
91
        AC_SUBST([PYTHON_CPPFLAGS])
163
158
        AC_MSG_CHECKING([consistency of all components of python development environment])
164
159
        AC_LANG_PUSH([C])
165
160
        # save current global flags
166
 
        ac_save_LIBS="$LIBS"
167
 
        ac_save_CPPFLAGS="$CPPFLAGS"
168
161
        LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
169
162
        CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
170
163
        AC_TRY_LINK([