summaryrefslogtreecommitdiff
path: root/community-testing/cegui/cegui-0.7.6-python-detection.patch
blob: e14cd812e87f6a5693545bd93026f5e01e6efbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- acinclude.m4.original	2012-01-24 10:42:16.066632295 +0100
+++ acinclude.m4	2012-01-24 10:43:15.800274030 +0100
@@ -1411,7 +1411,7 @@
 if test x$ax_python_bin != x; then
    AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
    AC_CHECK_HEADER([$ax_python_bin/Python.h],
-   [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
+   [[ax_python_header="/usr/include/$ax_python_bin"]],
    ax_python_header=no)
    if test x$ax_python_lib != xno; then
      if test x$ax_python_header != xno; then