9283a9
--- gedit-2.15.1/configure.ac.python	2006-04-24 14:07:25.000000000 -0400
9283a9
+++ gedit-2.15.1/configure.ac	2006-05-09 21:36:47.000000000 -0400
9283a9
@@ -116,10 +116,6 @@
9283a9
 fi
9283a9
 
9283a9
 if test "x$have_python" != "xno"; then
9283a9
-	AM_CHECK_PYTHON_HEADERS([],[have_python=no])
9283a9
-fi
9283a9
-
9283a9
-if test "x$have_python" != "xno"; then
9283a9
 	PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
9283a9
 	PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
9283a9
 	PYTHON_LIBS="-lpython$PYTHON_VERSION"
9283a9
@@ -224,8 +220,6 @@
9283a9
 dnl ================================================================
9283a9
 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
9283a9
 			      
9283a9
-GNOME_COMPILE_WARNINGS(yes)
9283a9
-
9283a9
 AC_ARG_ENABLE(deprecations,
9283a9
               [AC_HELP_STRING([--enable-deprecations],
9283a9
                               [warn about deprecated usages [default=no]])],,