~ubuntu-branches/ubuntu/vivid/gnash/vivid

« back to all changes in this revision

Viewing changes to debian/patches/python-config

  • Committer: Package Import Robot
  • Author(s): Robie Basak
  • Date: 2013-04-04 11:21:13 UTC
  • Revision ID: package-import@ubuntu.com-20130404112113-08b6wm90e9uatols
Tags: 0.8.11~git20120629-1ubuntu2
d/p/python-config: use python-config --includes, not python-config
--include, which no longer works. Fixes FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Bug: https://savannah.gnu.org/patch/index.php?7995
 
2
Author: Robie Basak <robie.basak@canonical.com>
 
3
Description: python-config --include is not defined and no longer works
 
4
Last-Update: 2013-04-04
 
5
 
 
6
--- a/macros/python.m4
 
7
+++ b/macros/python.m4
 
8
@@ -54,7 +54,7 @@
 
9
     dnl If the path hasn't been specified, go look for it.
 
10
     if test x"${ac_cv_path_python_incl}" = x; then
 
11
       if test x"${pythonconfig}" != "x"; then
 
12
-        ac_cv_path_python_incl="`${pythonconfig} --include`"
 
13
+        ac_cv_path_python_incl="`${pythonconfig} --includes`"
 
14
       else
 
15
         for i in $incllist; do
 
16
           for j in `ls -dr $i/python2.* 2>/dev/null`;do