Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / configure
index 8dba72f..6d6a11d 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 libxml++ 2.91.1.
+# Generated by GNU Autoconf 2.69 for libxml++ 2.91.2.
 #
 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
 #
@@ -591,8 +591,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='libxml++'
 PACKAGE_TARNAME='libxml++'
-PACKAGE_VERSION='2.91.1'
-PACKAGE_STRING='libxml++ 2.91.1'
+PACKAGE_VERSION='2.91.2'
+PACKAGE_STRING='libxml++ 2.91.2'
 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B'
 PACKAGE_URL='http://libxmlplusplus.sourceforge.net/'
 
@@ -1376,7 +1376,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 libxml++ 2.91.1 to adapt to many kinds of systems.
+\`configure' configures libxml++ 2.91.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1446,7 +1446,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libxml++ 2.91.1:";;
+     short | recursive ) echo "Configuration of libxml++ 2.91.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1586,7 +1586,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libxml++ configure 2.91.1
+libxml++ configure 2.91.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2076,7 +2076,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 libxml++ $as_me 2.91.1, which was
+It was created by libxml++ $as_me 2.91.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2428,7 +2428,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 ac_aux_dir=
-for ac_dir in macros "$srcdir"/macros; do
+for ac_dir in build "$srcdir"/build; do
   if test -f "$ac_dir/install-sh"; then
     ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -2444,7 +2444,7 @@ for ac_dir in macros "$srcdir"/macros; do
   fi
 done
 if test -z "$ac_aux_dir"; then
-  as_fn_error $? "cannot find install-sh, install.sh, or shtool in macros \"$srcdir\"/macros" "$LINENO" 5
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -2946,7 +2946,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='libxml++'
- VERSION='2.91.1'
+ VERSION='2.91.2'
 
 
 # Some tools Automake needs.
@@ -3121,7 +3121,7 @@ fi
 
 LIBXMLXX_MODULE_NAME='libxml++-3.0'
 
-LIBXMLXX_VERSION='2.91.1'
+LIBXMLXX_VERSION='2.91.2'
 
 LIBXMLXX_API_VERSION='3.0'
 
@@ -3135,10 +3135,10 @@ LIBXMLXX_MINOR_VERSION=91
 
 $as_echo "#define LIBXMLXX_MINOR_VERSION 91" >>confdefs.h
 
-LIBXMLXX_MICRO_VERSION=1
+LIBXMLXX_MICRO_VERSION=2
 
 
-$as_echo "#define LIBXMLXX_MICRO_VERSION 1" >>confdefs.h
+$as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
 
 
 
 done
 
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library supports std::exception_ptr" >&5
+$as_echo_n "checking whether C++ library supports std::exception_ptr... " >&6; }
+if ${libxmlxx_cv_cxx_has_exception_ptr+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+      #include <exception>
+
+int
+main ()
+{
+
+      try
+      {
+        throw "custom error";
+      }
+      catch(...)
+      {
+        std::exception_ptr ep = std::current_exception();
+        std::rethrow_exception(ep);
+      }
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  libxmlxx_cv_cxx_has_exception_ptr='yes'
+else
+  libxmlxx_cv_cxx_has_exception_ptr='no'
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libxmlxx_cv_cxx_has_exception_ptr" >&5
+$as_echo "$libxmlxx_cv_cxx_has_exception_ptr" >&6; }
+
+  if test "x${libxmlxx_cv_cxx_has_exception_ptr}" = 'xyes'; then :
+
+$as_echo "#define LIBXMLXX_HAVE_EXCEPTION_PTR 1" >>confdefs.h
+
+fi
+
+
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -16775,11 +16823,6 @@ as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
 See \`config.log' for more details" "$LINENO" 5; }
 fi
 
-# This is just defined to avoid breaking old code:
-
-$as_echo "#define LIBXMLCPP_EXCEPTIONS_ENABLED 1" >>confdefs.h
-
-
 ac_config_files="$ac_config_files Makefile libxml++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2010/libxml++/libxml++.rc ${LIBXMLXX_MODULE_NAME}.pc:libxml++.pc.in"
 
 
@@ -17337,7 +17380,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 libxml++ $as_me 2.91.1, which was
+This file was extended by libxml++ $as_me 2.91.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17404,7 +17447,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="\\
-libxml++ config.status 2.91.1
+libxml++ config.status 2.91.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"