diff options
author | Ted Gould <ted@gould.cx> | 2011-09-20 00:02:09 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-20 00:02:09 -0500 |
commit | c808cc90d518f9b010d937a13a8db0e8018fa9fd (patch) | |
tree | 27f576440a677c19c7610a408b27ee70b5d5e4d9 /configure | |
parent | 549dcbddf1b835ba18a259f15669a29d9660ccf3 (diff) | |
parent | 451acabd0340c1f0196ec0fe8a6ef62ead4e77f9 (diff) | |
download | libdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.tar.gz libdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.tar.bz2 libdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.zip |
Import upstream version 0.4.94
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 316 |
1 files changed, 290 insertions, 26 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libdbusmenu 0.4.93. +# Generated by GNU Autoconf 2.68 for libdbusmenu 0.4.94. # # Report bugs to <ted@canonical.com>. # @@ -572,8 +572,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libdbusmenu' PACKAGE_TARNAME='libdbusmenu' -PACKAGE_VERSION='0.4.93' -PACKAGE_STRING='libdbusmenu 0.4.93' +PACKAGE_VERSION='0.4.94' +PACKAGE_STRING='libdbusmenu 0.4.94' PACKAGE_BUGREPORT='ted@canonical.com' PACKAGE_URL='' @@ -633,6 +633,8 @@ LIBDBUSMENU_AGE LIBDBUSMENU_REVISION LIBDBUSMENU_CURRENT XSLT_PROC +HAVE_VALA_FALSE +HAVE_VALA_TRUE VALA_API_GEN INTROSPECTION_TEN_FALSE INTROSPECTION_TEN_TRUE @@ -648,12 +650,18 @@ INTROSPECTION_COMPILER INTROSPECTION_SCANNER DBUSMENUTESTS_LIBS DBUSMENUTESTS_CFLAGS +WANT_TESTS_FALSE +WANT_TESTS_TRUE DBUSMENUDUMPER_LIBS DBUSMENUDUMPER_CFLAGS -USE_GTK3_FALSE -USE_GTK3_TRUE +WANT_DBUSMENUDUMPER_FALSE +WANT_DBUSMENUDUMPER_TRUE DBUSMENUGTK_LIBS DBUSMENUGTK_CFLAGS +USE_GTK3_FALSE +USE_GTK3_TRUE +WANT_LIBDBUSMENUGTK_FALSE +WANT_LIBDBUSMENUGTK_TRUE DBUSMENUGLIB_LIBS DBUSMENUGLIB_CFLAGS HAVE_GNOME_DOC_UTILS_FALSE @@ -674,13 +682,15 @@ GTK_DOC_BUILD_HTML_FALSE GTK_DOC_BUILD_HTML_TRUE ENABLE_GTK_DOC_FALSE ENABLE_GTK_DOC_TRUE -PKG_CONFIG_LIBDIR -PKG_CONFIG_PATH -PKG_CONFIG +GTKDOC_DEPS_LIBS +GTKDOC_DEPS_CFLAGS HTML_DIR GTKDOC_MKPDF GTKDOC_REBASE GTKDOC_CHECK +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG GLIB_MKENUMS AM_BACKSLASH AM_DEFAULT_VERBOSITY @@ -847,8 +857,12 @@ with_help_dir with_omf_dir with_help_formats enable_scrollkeeper +enable_gtk with_gtk +enable_dumper +enable_tests enable_introspection +enable_vala enable_massivedebugging ' ac_precious_vars='build_alias @@ -863,6 +877,8 @@ CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR +GTKDOC_DEPS_CFLAGS +GTKDOC_DEPS_LIBS DBUSMENUGLIB_CFLAGS DBUSMENUGLIB_LIBS DBUSMENUGTK_CFLAGS @@ -1413,7 +1429,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libdbusmenu 0.4.93 to adapt to many kinds of systems. +\`configure' configures libdbusmenu 0.4.94 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1483,7 +1499,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libdbusmenu 0.4.93:";; + short | recursive ) echo "Configuration of libdbusmenu 0.4.94:";; esac cat <<\_ACEOF @@ -1508,8 +1524,12 @@ Optional Features: --enable-gtk-doc-html build documentation in html format [[default=yes]] --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] --disable-scrollkeeper do not make updates to the scrollkeeper database + --disable-gtk Disable libdbusmenu-gtk library + --disable-dumper Disable dbusmenudumper tool + --disable-tests Disable tests --enable-introspection=[no/auto/yes] Enable introspection for this build + --disable-vala Disable vala --enable-massivedebugging Print out so much information your brain will hurt @@ -1542,6 +1562,10 @@ Some influential environment variables: directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path + GTKDOC_DEPS_CFLAGS + C compiler flags for GTKDOC_DEPS, overriding pkg-config + GTKDOC_DEPS_LIBS + linker flags for GTKDOC_DEPS, overriding pkg-config DBUSMENUGLIB_CFLAGS C compiler flags for DBUSMENUGLIB, overriding pkg-config DBUSMENUGLIB_LIBS @@ -1625,7 +1649,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libdbusmenu configure 0.4.93 +libdbusmenu configure 0.4.94 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1996,7 +2020,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libdbusmenu $as_me 0.4.93, which was +It was created by libdbusmenu $as_me 0.4.94, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2817,7 +2841,7 @@ fi # Define the identity of the package. PACKAGE=libdbusmenu - VERSION=0.4.93 + VERSION=0.4.94 # Some tools Automake needs. @@ -9250,6 +9274,10 @@ _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= @@ -12996,6 +13024,7 @@ $as_echo "no" >&6; } fi + # Extract the first word of "gtkdoc-check", so it can be a program name with args. set dummy gtkdoc-check; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -13153,6 +13182,99 @@ fi else as_fn_error $? "You need to have gtk-doc >= 1.4 installed to build $PACKAGE_NAME" "$LINENO" 5 fi + if test "x$PACKAGE_NAME" != "xglib"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 +$as_echo_n "checking for GTKDOC_DEPS... " >&6; } + +if test -n "$GTKDOC_DEPS_CFLAGS"; then + pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTKDOC_DEPS_LIBS"; then + pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` + else + GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: + +$GTKDOC_DEPS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS +and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS +and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS + GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 @@ -13428,6 +13550,22 @@ fi GTK_REQUIRED_VERSION=2.16 GTK3_REQUIRED_VERSION=2.91 +# Check whether --enable-gtk was given. +if test "${enable_gtk+set}" = set; then : + enableval=$enable_gtk; enable_gtk=$enableval +else + enable_gtk=auto +fi + + if test "x$enable_gtk" != "xno"; then + WANT_LIBDBUSMENUGTK_TRUE= + WANT_LIBDBUSMENUGTK_FALSE='#' +else + WANT_LIBDBUSMENUGTK_TRUE='#' + WANT_LIBDBUSMENUGTK_FALSE= +fi + + # Check whether --with-gtk was given. if test "${with_gtk+set}" = set; then : @@ -13436,6 +13574,17 @@ else with_gtk=3 fi + if test "x$with_gtk" = "x3"; then + USE_GTK3_TRUE= + USE_GTK3_FALSE='#' +else + USE_GTK3_TRUE='#' + USE_GTK3_FALSE= +fi + + +if test "x$enable_gtk" != "xno"; then : + if test "x$with_gtk" = x3; then : pkg_failed=no @@ -13535,11 +13684,10 @@ else DBUSMENUGTK_LIBS=$pkg_cv_DBUSMENUGTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + have_gtk=yes fi - - $as_echo "#define HAVE_GTK3 1" >>confdefs.h @@ -13642,11 +13790,10 @@ else DBUSMENUGTK_LIBS=$pkg_cv_DBUSMENUGTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + have_gtk=yes fi - - else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} @@ -13654,21 +13801,35 @@ as_fn_error $? "Value for --with-gtk was neither 2 nor 3 See \`config.log' for more details" "$LINENO" 5; } fi - if test "x$with_gtk" = x3; then - USE_GTK3_TRUE= - USE_GTK3_FALSE='#' -else - USE_GTK3_TRUE='#' - USE_GTK3_FALSE= + fi + ########################### # Dependencies - dumper ########################### X11_REQUIRED_VERSION=1.3 +# Check whether --enable-dumper was given. +if test "${enable_dumper+set}" = set; then : + enableval=$enable_dumper; enable_dumper=$enableval +else + enable_dumper=auto +fi + + if test "x$enable_dumper" != "xno"; then + WANT_DBUSMENUDUMPER_TRUE= + WANT_DBUSMENUDUMPER_FALSE='#' +else + WANT_DBUSMENUDUMPER_TRUE='#' + WANT_DBUSMENUDUMPER_FALSE= +fi + + +if test "x$enable_dumper" != "xno"; then : + pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUDUMPER" >&5 @@ -13767,6 +13928,9 @@ else DBUSMENUDUMPER_LIBS=$pkg_cv_DBUSMENUDUMPER_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + have_dumper=yes + +fi fi @@ -13780,6 +13944,24 @@ fi JSON_GLIB_REQUIRED_VERSION=0.13.4 GIO_UNIX_REQUIRED_VERSION=2.24 +# Check whether --enable-tests was given. +if test "${enable_tests+set}" = set; then : + enableval=$enable_tests; enable_tests=$enableval +else + enable_tests=auto +fi + + if test "x$enable_tests" != "xno"; then + WANT_TESTS_TRUE= + WANT_TESTS_FALSE='#' +else + WANT_TESTS_TRUE='#' + WANT_TESTS_FALSE= +fi + + +if test "x$enable_tests" != "xno"; then : + pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUTESTS" >&5 @@ -13878,6 +14060,9 @@ else DBUSMENUTESTS_LIBS=$pkg_cv_DBUSMENUTESTS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + have_tests=yes + +fi fi @@ -14006,6 +14191,23 @@ fi # Vala API Generation ########################### +# Check whether --enable-vala was given. +if test "${enable_vala+set}" = set; then : + enableval=$enable_vala; enable_vala=$enableval +else + enable_vala=auto +fi + + +if test "x$enable_vala" != "xno"; then : + + if test "x$found_introspection" = "xyes"; then + : +else + + as_fn_error $? "Vala bindings require introspection support, please --enable-introspection" "$LINENO" 5 + +fi # Extract the first word of "vapigen", so it can be a program name with args. set dummy vapigen; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -14047,6 +14249,16 @@ fi +fi + if test -n "$VALA_API_GEN"; then + HAVE_VALA_TRUE= + HAVE_VALA_FALSE='#' +else + HAVE_VALA_TRUE='#' + HAVE_VALA_FALSE= +fi + + ########################### # XSLT Processor ########################### @@ -14097,7 +14309,7 @@ fi ########################### LIBDBUSMENU_CURRENT=4 -LIBDBUSMENU_REVISION=3 +LIBDBUSMENU_REVISION=4 LIBDBUSMENU_AGE=0 @@ -15010,10 +15222,22 @@ if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FAL as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${WANT_LIBDBUSMENUGTK_TRUE}" && test -z "${WANT_LIBDBUSMENUGTK_FALSE}"; then + as_fn_error $? "conditional \"WANT_LIBDBUSMENUGTK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then as_fn_error $? "conditional \"USE_GTK3\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${WANT_DBUSMENUDUMPER_TRUE}" && test -z "${WANT_DBUSMENUDUMPER_FALSE}"; then + as_fn_error $? "conditional \"WANT_DBUSMENUDUMPER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WANT_TESTS_TRUE}" && test -z "${WANT_TESTS_FALSE}"; then + as_fn_error $? "conditional \"WANT_TESTS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -15022,6 +15246,10 @@ if test -z "${INTROSPECTION_TEN_TRUE}" && test -z "${INTROSPECTION_TEN_FALSE}"; as_fn_error $? "conditional \"INTROSPECTION_TEN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${HAVE_VALA_TRUE}" && test -z "${HAVE_VALA_FALSE}"; then + as_fn_error $? "conditional \"HAVE_VALA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 @@ -15431,7 +15659,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libdbusmenu $as_me 0.4.93, which was +This file was extended by libdbusmenu $as_me 0.4.94, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15497,7 +15725,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libdbusmenu config.status 0.4.93 +libdbusmenu config.status 0.4.94 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" @@ -17331,3 +17559,39 @@ libdbusmenu Configuration: GTK+ Version: $with_gtk " >&6;} +if test "x$have_tests" = "xyes"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: Tests: yes" >&5 +$as_echo "$as_me: Tests: yes" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Tests: no" >&5 +$as_echo "$as_me: Tests: no" >&6;} + +fi + +if test "x$enable_gtk" = "xno"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: Gtk: no" >&5 +$as_echo "$as_me: Gtk: no" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Gtk: yes (gtk$with_gtk)" >&5 +$as_echo "$as_me: Gtk: yes (gtk$with_gtk)" >&6;} + +fi + +if test -n "$VALA_API_GEN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Vala bindings: yes" >&5 +$as_echo "$as_me: Vala bindings: yes" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Vala bindings no" >&5 +$as_echo "$as_me: Vala bindings no" >&6;} + +fi + +if test "x$have_dumper" = "xyes"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: Dumper: yes" >&5 +$as_echo "$as_me: Dumper: yes" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Dumper: no" >&5 +$as_echo "$as_me: Dumper: no" >&6;} + +fi + |