packaging: add gobject introspection and vala bindings
[profile/ivi/GUPnP-DLNA.git] / configure
index b9cfb00..8474811 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gupnp-dlna 0.10.0.
+# Generated by GNU Autoconf 2.69 for gupnp-dlna 0.10.2.
 #
 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
 #
@@ -651,8 +651,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='gupnp-dlna'
 PACKAGE_TARNAME='gupnp-dlna'
-PACKAGE_VERSION='0.10.0'
-PACKAGE_STRING='gupnp-dlna 0.10.0'
+PACKAGE_VERSION='0.10.2'
+PACKAGE_STRING='gupnp-dlna 0.10.2'
 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna'
 PACKAGE_URL='http://www.gupnp.org/'
 
@@ -697,6 +697,9 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
+HAVE_XMLLINT_FALSE
+HAVE_XMLLINT_TRUE
+XMLLINT
 GLIB_PREFIX
 GTK_DOC_USE_REBASE_FALSE
 GTK_DOC_USE_REBASE_TRUE
@@ -1465,7 +1468,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 gupnp-dlna 0.10.0 to adapt to many kinds of systems.
+\`configure' configures gupnp-dlna 0.10.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1535,7 +1538,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gupnp-dlna 0.10.0:";;
+     short | recursive ) echo "Configuration of gupnp-dlna 0.10.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1693,7 +1696,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gupnp-dlna configure 0.10.0
+gupnp-dlna configure 0.10.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1971,7 +1974,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 gupnp-dlna $as_me 0.10.0, which was
+It was created by gupnp-dlna $as_me 0.10.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2792,7 +2795,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='gupnp-dlna'
- VERSION='0.10.0'
+ VERSION='0.10.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12904,13 +12907,6 @@ $as_echo "yes" >&6; }
 
 fi
 
-
-
-
-
-
-
-
 # Check for g_clear_pointer
 have_g_clear_pointer='no'
 if test -n "$PKG_CONFIG" && \
 
 
 # vapigen
+have_vapigen=no
 if test "x$found_introspection" = "xyes"; then :
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
+$as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
+       VAPIGEN_MIN_VERSION=0.18
+       if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
+
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+              VAPIGEN_MIN_VERSION=0.20
+
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+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
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
 else
-  if test -n "0.18"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version 0.18" >&5
-$as_echo_n "checking $VAPIGEN is at least version 0.18... " >&6; }
+  if test -n "$VAPIGEN_MIN_VERSION"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
+$as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
          am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator  *//'`
-         as_arg_v1=0.18
+         as_arg_v1=$VAPIGEN_MIN_VERSION
 as_arg_v2="$am__vapigen_version"
 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 case $? in #(
@@ -13145,8 +13156,10 @@ $as_echo "yes" >&6; } ;; #(
   2) :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator 0.18 not found." >&5
-$as_echo "$as_me: WARNING: Vala API Generator 0.18 not found." >&2;} ;; #(
+            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
+$as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
+            VAPIGEN=""
+            ;; #(
   *) :
      ;;
 esac
@@ -13156,6 +13169,9 @@ fi
 
 
 fi
+if test "x$VAPIGEN" != "x"; then :
+  have_vapigen=yes
+fi
  if test "x$VAPIGEN" != "x"; then
   HAVE_VAPIGEN_TRUE=
   HAVE_VAPIGEN_FALSE='#'
 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
 
 
+# Extract the first word of "xmllint", so it can be a program name with args.
+set dummy xmllint; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_XMLLINT+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $XMLLINT in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+XMLLINT=$ac_cv_path_XMLLINT
+if test -n "$XMLLINT"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
+$as_echo "$XMLLINT" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test "x$XMLLINT" != "x"; then
+  HAVE_XMLLINT_TRUE=
+  HAVE_XMLLINT_FALSE='#'
+else
+  HAVE_XMLLINT_TRUE='#'
+  HAVE_XMLLINT_FALSE=
+fi
+
+
 ac_config_files="$ac_config_files Makefile libgupnp-dlna/Makefile tools/Makefile tests/Makefile data/Makefile gupnp-dlna-2.0.pc gupnp-dlna-metadata-2.0.pc gupnp-dlna-gst-2.0.pc gupnp-dlna-gst-legacy-2.0.pc doc/Makefile doc/version.xml doc/gupnp-dlna/Makefile doc/gupnp-dlna-metadata/Makefile doc/gupnp-dlna-gst/Makefile vala/Makefile"
 
 ac_config_files="$ac_config_files tests/test-discoverer.sh"
@@ -13667,6 +13732,10 @@ if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"
   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
+  as_fn_error $? "conditional \"HAVE_XMLLINT\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 
 : "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
@@ -14064,7 +14133,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 gupnp-dlna $as_me 0.10.0, which was
+This file was extended by gupnp-dlna $as_me 0.10.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14131,7 +14200,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="\\
-gupnp-dlna config.status 0.10.0
+gupnp-dlna config.status 0.10.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -15924,6 +15993,8 @@ fi
 echo
 echo 'Configuration status:'
 echo
+echo "GObject-Introspection:                   $found_introspection"
+echo "VALA bindings:                           $have_vapigen"
 echo "Default metadata backend:                $with_default_metadata_backend"
 echo "Default metadata backend directory:      $with_default_metadata_backend_dir"
 echo "Build GStreamer metadata backend:        $enable_gstreamer_metadata_backend"