[apparmor] [patch] backport python3 compability patch to 2.8 branch
Seth Arnold
seth.arnold at canonical.com
Tue Jul 2 17:09:28 UTC 2013
On Wed, May 08, 2013 at 02:51:10PM -0700, Steve Beattie wrote:
> === modified file 'libraries/libapparmor/m4/ac_python_devel.m4'
> --- libraries/libapparmor/m4/ac_python_devel.m4 2012-06-12 12:56:57 +0000
> +++ libraries/libapparmor/m4/ac_python_devel.m4 2013-01-29 23:21:47 +0000
> @@ -79,6 +79,9 @@
> # Check for Python include path
> #
> AC_MSG_CHECKING([for Python include path])
> + if type $PYTHON-config; then
> + PYTHON_CPPFLAGS=`$PYTHON-config --includes`
> + fi
> if test -z "$PYTHON_CPPFLAGS"; then
> python_path=`$PYTHON -c "import sys; import distutils.sysconfig;\
> sys.stdout.write('%s\n' % distutils.sysconfig.get_python_inc());"`
> @@ -94,6 +97,9 @@
> # Check for Python library path
> #
> AC_MSG_CHECKING([for Python library path])
> + if type $PYTHON-config; then
> + PYTHON_LDFLAGS=`$PYTHON-config --ldflags`
> + fi
> if test -z "$PYTHON_LDFLAGS"; then
> # (makes two attempts to ensure we've got a version number
> # from the interpreter)
>
> As nice as a skimmed-by review is, I admit to wanting a proper acked-by
> statement, if possible. :)
I'm sorry for letting this slip my mind.
For 2.8,
Acked-by: Seth Arnold <seth.arnold at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130702/a90936f5/attachment.pgp>
More information about the AppArmor
mailing list