[PolicyKit-gnome] Remove obsolete configure checks



commit b8d700121941bb1f032b95c428d2e52a11c5d330
Author: Michael Biebl <biebl debian org>
Date:   Tue Oct 25 17:48:22 2011 +0200

    Remove obsolete configure checks
    
    like gobject-instrospection and gtk-doc which have become obsolete after
    dropping polkit-gtk
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662683

 configure.ac |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6b12eb7..76126e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,8 +35,6 @@ GNOME_DEBUG_CHECK
 GNOME_COMPILE_WARNINGS([maximum])
 GNOME_MAINTAINER_MODE_DEFINES
 
-GTK_DOC_CHECK([1.3])
-
 #### gcc warning flags
 
 if test "x$GCC" = "xyes"; then
@@ -137,32 +135,6 @@ PKG_CHECK_MODULES(POLKIT_GOBJECT, polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
 AC_SUBST(POLKIT_GOBJECT_CFLAGS)
 AC_SUBST(POLKIT_GOBJECT_LIBS)
 
-AC_ARG_ENABLE([examples],
-              AC_HELP_STRING([--enable-examples], [Build the example programs]),,
-              [enable_examples=yes])
-
-AM_CONDITIONAL(BUILD_EXAMPLES, test "x$enable_examples" = "xyes")
-
-# GObject introspection
-#
-AC_ARG_ENABLE([introspection],
-	AS_HELP_STRING([--enable-introspection], [enable GObject introspection]),
-	[], [enable_introspection=yes])
-if test "x$enable_introspection" = xyes; then
-	PKG_CHECK_MODULES([INTROSPECTION], [gobject-introspection-1.0 >= 0.6.2])
-	AC_DEFINE([ENABLE_INTROSPECTION], [1], [enable GObject introspection support])
-	AC_SUBST([G_IR_SCANNER], [$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)])
-	AC_SUBST([G_IR_COMPILER], [$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)])
-	AC_SUBST([G_IR_GENERATE], [$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)])
-	#AC_SUBST([GIRDIR], [$($PKG_CONFIG --variable=girdir gobject-introspection-1.0)])
-	#AC_SUBST([GIRTYPELIBDIR], [$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)])
-        GIRDIR=${datadir}/gir-1.0
-        GIRTYPELIBDIR=${libdir}/girepository-1.0
-        AC_SUBST(GIRDIR)
-        AC_SUBST(GIRTYPELIBDIR)
-fi
-AM_CONDITIONAL([ENABLE_INTROSPECTION], [test "x$enable_introspection" = xyes])
-
 # ********************
 # Internationalisation
 # ********************
@@ -206,8 +178,6 @@ echo "
         compiler:                   ${CC}
         cflags:                     ${CFLAGS}
         cppflags:                   ${CPPFLAGS}
-	introspection:		    ${enable_introspection}
 
         Maintainer mode:            ${USE_MAINTAINER_MODE}
-        Building api docs:          ${enable_gtk_doc}
 "



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]