summaryrefslogtreecommitdiff
path: root/dev-libs/gobject-introspection/files/disable_python.patch
blob: aec1394c590b3851fc636850176b6c29fddf0ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- configure.ac_orig	2013-03-23 12:21:11.907228112 +0100
+++ configure.ac	2013-03-23 12:21:53.982820539 +0100
@@ -259,18 +259,18 @@
 AC_CHECK_FUNCS([backtrace backtrace_symbols])
 
 # Python
-AM_PATH_PYTHON([2.6])
-case "$host" in
-*-*-mingw*)
-	# Change backslashes to forward slashes in pyexecdir to avoid
-	# quoting issues
-	pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
-	;;
-esac
-AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
-if test "x$os_win32" = "xyes"; then
-  AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
-fi
+#AM_PATH_PYTHON([2.6])
+#case "$host" in
+#*-*-mingw*)
+#	# Change backslashes to forward slashes in pyexecdir to avoid
+#	# quoting issues
+#	pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
+#	;;
+#esac
+#AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
+#if test "x$os_win32" = "xyes"; then
+#  AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
+#fi
 
 dnl Not enabled by default until 3.6 cycle when we can propose mako as
 dnl an external dependency