X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=793b9437eca4e2323154d244ed64a8869340483e;hb=0b87a07761dcad31583142a3a454c42833e65a09;hp=a2e67639081d9e2b72014e02030bff2e1da4708c;hpb=d5449fdcc5068c3357d32a8a8e1336d015ea8846;p=elogind.git diff --git a/configure.ac b/configure.ac index a2e676390..793b9437e 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,7 @@ AC_PROG_GCC_TRADITIONAL AC_PATH_PROG([M4], [m4]) GTK_DOC_CHECK(1.10) +GOBJECT_INTROSPECTION_CHECK([1.31.1]) AC_CHECK_TOOL(OBJCOPY, objcopy) AC_CHECK_TOOL(STRINGS, strings) @@ -455,15 +456,6 @@ AC_ARG_ENABLE([gudev], AS_HELP_STRING([--disable-gudev], [disable Gobject libudev support @<:@default=enabled@:>@]), [], [enable_gudev=yes]) AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0]) ]) - -AC_ARG_ENABLE([introspection], - AS_HELP_STRING([--disable-introspection], [disable GObject introspection @<:@default=enabled@:>@]), - [], [enable_introspection=yes]) -AS_IF([test "x$enable_introspection" = "xyes"], [ - AC_DEFINE([ENABLE_INTROSPECTION], [1], [enable GObject introspection support]) - GOBJECT_INTROSPECTION_REQUIRE([1.31.1]) -]) -AM_CONDITIONAL([ENABLE_INTROSPECTION], [test "x$enable_introspection" = "xyes"]) AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"]) # ------------------------------------------------------------------------------ @@ -708,10 +700,10 @@ AC_SUBST([rootlibdir], [$with_rootlibdir]) AC_CONFIG_FILES([ Makefile po/Makefile.in - src/udev/docs/Makefile - src/udev/docs/version.xml - src/udev/gudev/docs/Makefile - src/udev/gudev/docs/version.xml + docs/libudev/Makefile + docs/libudev/version.xml + docs/gudev/Makefile + docs/gudev/version.xml ]) AC_OUTPUT