~ubuntu-branches/ubuntu/utopic/gimp/utopic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Chris J Arges
  • Date: 2013-01-14 15:06:30 UTC
  • Revision ID: package-import@ubuntu.com-20130114150630-l2otu0hjqhnwb6qm
Tags: 2.8.2-1ubuntu3
Fix multi-arch python includes issues. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
22353
22353
fi
22354
22354
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
22355
22355
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
22356
 
PYTHON_INCLUDES="-I${py_prefix}/include${py_versiondir}"
22357
 
if test "$py_prefix" != "$py_exec_prefix"; then
22358
 
  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include${py_versiondir}"
22359
 
fi
 
22356
PYTHON_INCLUDES="`$PYTHON-config --includes`"
22360
22357
 
22361
22358
save_CPPFLAGS="$CPPFLAGS"
22362
22359
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"