fixed a Relax-NG compilation/streaming bug introduced when fixing the

* relaxng.c: fixed a Relax-NG compilation/streaming bug introduced
  when fixing the previous Relax-NG bugs
* result/relaxng/*: This slightly changes the output messages of
  some regression tests.
* configure.in: added support of -with-fexceptions for nested C++
  support.
Daniel
diff --git a/configure.in b/configure.in
index 5ced7d7..e45a7c2 100644
--- a/configure.in
+++ b/configure.in
@@ -244,6 +244,8 @@
 XML_CFLAGS=""
 RDL_LIBS=""
 
+AC_ARG_WITH(fexceptions,
+[  --with-fexceptions      add GCC flag -fexceptions for C++ exceptions (off)])
 dnl
 dnl Workaround for native compilers
 dnl  HP  : http://bugs.gnome.org/db/31/3163.html
@@ -259,6 +261,15 @@
                ;;
     esac
 else
+    if test "$with_fexceptions" = "yes"
+    then
+        #
+	# Not activated by default because this inflates the code size
+	# Used to allow propagation of C++ exceptions through the library
+	#
+	CFLAGS="${CFLAGS} -fexceptions"
+    fi
+       
     CFLAGS="${CFLAGS} -Wall"
     case "${host}" in
           alpha*-*-linux* )