[zoo-project] 03/23: Imported Upstream version 1.5.0+svn780+ds

Bas Couwenberg sebastic at debian.org
Sun Jun 26 17:27:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository zoo-project.

commit 5e4f05ce8a7ed95d3e748d9dc822afda866c93f8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jun 25 20:30:01 2016 +0200

    Imported Upstream version 1.5.0+svn780+ds
---
 thirds/cgic206/Makefile                            |    4 -
 thirds/grass/grass2zcfg.sh                         |   50 +
 thirds/grass/xml2zcfg.xsl                          |  247 +
 thirds/otb2zcfg/CMakeLists.txt                     |    2 +-
 zoo-project/HISTORY.txt                            |   16 +-
 zoo-project/zoo-api/java/Makefile                  |   18 +-
 .../zoo-api/java/{ => org/zoo_project}/ZOO.java    |    4 +-
 zoo-project/zoo-api/java/zoo-api.c                 |   22 +-
 .../zoo-client/lib/tpl/payload_Execute.mustache    |   68 +-
 zoo-project/zoo-kernel/Makefile.in                 |    8 +-
 zoo-project/zoo-kernel/ZOOMakefile.opts.in         |    9 +-
 zoo-project/zoo-kernel/autom4te.cache/output.0     | 8345 --------------------
 zoo-project/zoo-kernel/autom4te.cache/requests     |   77 -
 zoo-project/zoo-kernel/autom4te.cache/traces.0     |  778 --
 zoo-project/zoo-kernel/caching.c                   |    4 +-
 zoo-project/zoo-kernel/config.log                  | 5747 --------------
 zoo-project/zoo-kernel/config.status               | 1002 ---
 zoo-project/zoo-kernel/configure                   | 8345 --------------------
 zoo-project/zoo-kernel/configure.ac                |   83 +-
 zoo-project/zoo-kernel/doc/index.dox               |    4 +-
 .../locale/po/{messages.po.save => fr_FR.po}       |  161 +-
 .../{messages.po.new => locale/po/it_IT.po}        |  158 +-
 .../zoo-kernel/locale/po/{new.pot => ja_JP.po}     |  166 +-
 zoo-project/zoo-kernel/locale/po/messages.po.orig  |  364 -
 zoo-project/zoo-kernel/main.cfg                    |    1 +
 zoo-project/zoo-kernel/main_conf_read.l            |    2 +-
 zoo-project/zoo-kernel/nmake.opt                   |   23 +-
 zoo-project/zoo-kernel/request_parser.c            |   90 +-
 zoo-project/zoo-kernel/request_parser.h            |    5 +-
 zoo-project/zoo-kernel/response_print.c            |   25 +-
 zoo-project/zoo-kernel/response_print.h            |    6 +-
 zoo-project/zoo-kernel/server_internal.c           |   45 +-
 zoo-project/zoo-kernel/server_internal.h           |    5 +-
 zoo-project/zoo-kernel/service.c                   |    7 +-
 zoo-project/zoo-kernel/service.h                   |   25 +-
 zoo-project/zoo-kernel/service_internal.c          |    8 +-
 zoo-project/zoo-kernel/service_internal_java.c     |  131 +-
 zoo-project/zoo-kernel/service_internal_java.h     |    2 +
 zoo-project/zoo-kernel/service_internal_js.c       |   21 +-
 zoo-project/zoo-kernel/service_internal_ms.c       |   26 +-
 zoo-project/zoo-kernel/service_internal_php.c      |    4 +-
 zoo-project/zoo-kernel/service_internal_python.c   |  118 +-
 zoo-project/zoo-kernel/service_internal_saga.c     |    5 +-
 zoo-project/zoo-kernel/service_yaml.c              |    2 +-
 zoo-project/zoo-kernel/zcfg2yaml                   |  Bin 229828 -> 0 bytes
 zoo-project/zoo-kernel/zoo_loader.c                |    2 +-
 zoo-project/zoo-kernel/zoo_loader.cgi              |  Bin 594772 -> 0 bytes
 zoo-project/zoo-kernel/zoo_service_loader.c        |  149 +-
 zoo-project/zoo-services/cgal/Makefile             |    4 +-
 zoo-project/zoo-services/cgal/cgal_service.c       |   17 +-
 zoo-project/zoo-services/cgal/delaunay.c           |   50 +-
 zoo-project/zoo-services/cgal/voronoi.c            |   50 +-
 zoo-project/zoo-services/data-api/__init__.py      |    0
 .../zoo-services/data-api/cgi-env/__init__.py      |    0
 .../zoo-services/data-api/cgi-env/query.zcfg       |   30 +
 .../zoo-services/data-api/cgi-env/service.py       |   54 +
 zoo-project/zoo-services/data-api/query.zcfg       |   30 +
 zoo-project/zoo-services/data-api/service.py       |   54 +
 zoo-project/zoo-services/gdal/contour/Makefile     |    4 +-
 zoo-project/zoo-services/gdal/contour/makefile.vc  |   16 +-
 zoo-project/zoo-services/gdal/contour/service.c    |   30 +-
 zoo-project/zoo-services/gdal/dem/Makefile         |    4 +-
 zoo-project/zoo-services/gdal/dem/makefile.vc      |   14 +-
 zoo-project/zoo-services/gdal/grid/Makefile        |    4 +-
 zoo-project/zoo-services/gdal/grid/makefile.vc     |   11 +
 zoo-project/zoo-services/gdal/profile/Makefile     |    4 +-
 zoo-project/zoo-services/gdal/profile/makefile.vc  |   16 +-
 zoo-project/zoo-services/gdal/translate/Makefile   |    4 +-
 .../zoo-services/gdal/translate/makefile.vc        |   14 +-
 zoo-project/zoo-services/gdal/warp/Makefile        |    4 +-
 zoo-project/zoo-services/gdal/warp/makefile.vc     |   14 +-
 zoo-project/zoo-services/hello-java/HelloJava.java |    5 +-
 .../zoo-services/hello-py/cgi-env/test_service.py  |    7 +
 .../zoo-services/ogr/base-vect-ops/Makefile        |    2 +-
 .../zoo-services/ogr/base-vect-ops/makefile.vc     |   17 +-
 .../zoo-services/ogr/base-vect-ops/service.c       |  576 +-
 zoo-project/zoo-services/ogr/ogr2ogr/Makefile      |    4 +-
 zoo-project/zoo-services/ogr/ogr2ogr/makefile.vc   |   11 +-
 zoo-project/zoo-services/ogr/ogr2ogr/service.c     |  160 +-
 zoo-project/zoo-services/qrencode/Makefile         |    4 +-
 zoo-project/zoo-services/qrencode/qrenc-service.c  |    3 +-
 zoo-project/zoo-services/utils/registry/Makefile   |    2 +-
 .../zoo-services/utils/registry/makefile.vc        |    3 +-
 zoo-project/zoo-services/utils/registry/service.c  |    2 +-
 zoo-project/zoo-services/utils/status/Makefile     |    4 +-
 zoo-project/zoo-services/utils/status/service.c    |    2 +-
 .../zoo-services/wcps-proxy/cgi-env/WCPS.py        |  109 +
 .../zoo-services/wcps-proxy/cgi-env/WCPS.zcfg      |   54 +
 .../zoo-services/wcps-proxy/cgi-env/__init__.py    |    0
 89 files changed, 2345 insertions(+), 25432 deletions(-)

diff --git a/thirds/cgic206/Makefile b/thirds/cgic206/Makefile
index 844dc77..e01088e 100644
--- a/thirds/cgic206/Makefile
+++ b/thirds/cgic206/Makefile
@@ -4,12 +4,8 @@ ifeq ($(OS),Darwin)
 	MACOS_CFLAGS=-arch x86_64
 	LIBS= -L./ -lcgic /usr/lib/libfcgi.dylib
 else
-ifeq ($(CPU),x86_64)
-	LIBS= -L./ -lcgic /usr/lib64/libfcgi.so
-else
 	LIBS= -L./ -lcgic /usr/lib/libfcgi.a
 endif
-endif
 CFLAGS=-g -Wall ${MACOS_CFLAGS}
 CC=gcc
 AR=ar
diff --git a/thirds/grass/grass2zcfg.sh b/thirds/grass/grass2zcfg.sh
new file mode 100755
index 0000000..b88ede4
--- /dev/null
+++ b/thirds/grass/grass2zcfg.sh
@@ -0,0 +1,50 @@
+#!/bin/bash
+#
+# Author : Gérald FENOY
+# 
+# Copyright 2015 GeoLabs SARL. All rights reserved.
+# 
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+
+
+
+
+# Set below the location of the xsl file 
+XSL=/Users/djay/MapMint/zoo-project-1.5.0/trunk/thirds/grass/xml2zcfg.xsl
+
+# Set below the location of your GRASS 7.0.X installation
+GRASSROOT=/Applications/GRASS-7.0.app/Contents/MacOS
+
+for i in $(ls $GRASSROOT/bin/{v,r}.* | grep -v "v\.in" | grep -v "v\.out" | grep -v "r\.in" | grep -v "r\.out" ); 
+do 
+    j=$(echo $i | sed "s:$GRASSROOT/bin/::g")
+    zcfg=$(echo $j | sed "s:\.:_:g")
+    $i --wps-process-description  > $zcfg.xml
+    xsltproc $XSL $zcfg.xml > $zcfg.zcfg
+    rm $zcfg.xml
+    echo "#####################################################
+# This service was generated using wps-grass-bridge #
+#####################################################
+import ZOOGrassModuleStarter as zoo
+def $zcfg(m, inputs, outputs):
+    service = zoo.ZOOGrassModuleStarter()
+    service.fromMaps(\"$j\", inputs, outputs)
+    return 3
+" > $zcfg.py
+done
diff --git a/thirds/grass/xml2zcfg.xsl b/thirds/grass/xml2zcfg.xsl
new file mode 100644
index 0000000..0f90643
--- /dev/null
+++ b/thirds/grass/xml2zcfg.xsl
@@ -0,0 +1,247 @@
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:ows="http://www.opengis.net/ows/1.1"
+                xmlns:wps="http://www.opengis.net/wps/1.0.0"
+                xmlns:xlink="http://www.w3.org/1999/xlink">
+  <!--
+      Author : Gérald FENOY
+      
+      Copyright 2015 GeoLabs SARL. All rights reserved.
+      
+      Permission is hereby granted, free of charge, to any person obtaining a copy
+      of this software and associated documentation files (the "Software"), to deal
+      in the Software without restriction, including without limitation the rights
+      to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+      copies of the Software, and to permit persons to whom the Software is
+      furnished to do so, subject to the following conditions:
+      
+      The above copyright notice and this permission notice shall be included in
+      all copies or substantial portions of the Software.
+      
+      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+      IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+      FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+      AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+      LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+      OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+      THE SOFTWARE.
+      
+  -->
+  <xsl:output method="text"/>
+
+  <xsl:template match="/*">
+    <xsl:for-each select="./ProcessDescription">
+      <xsl:call-template name="extractBasicMetaData">
+	<xsl:with-param name="context" select="." /> 
+	<xsl:with-param name="total" select="1" /> 
+      </xsl:call-template>
+      <xsl:text>storeSupported=true</xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>statusSupported=true</xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>serviceType=Python</xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>serviceProvider=</xsl:text>
+      <xsl:value-of select="translate(./ows:Identifier,'.','_')" />      
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text><DataInputs></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:for-each select="./DataInputs/Input">
+	<xsl:call-template name="extractBasicMetaData">
+	  <xsl:with-param name="context" select="." /> 
+	  <xsl:with-param name="total" select="3" /> 
+	</xsl:call-template>
+	<xsl:call-template name="printSpace">
+	  <xsl:with-param name="index" select="1" />
+	  <xsl:with-param name="total" select="3" />
+	</xsl:call-template>
+	<xsl:text>minOccurs = </xsl:text>
+	<xsl:value-of select="./@minOccurs" />
+	<xsl:text>&#xa;</xsl:text>
+	<xsl:call-template name="printSpace">
+	  <xsl:with-param name="index" select="1" />
+	  <xsl:with-param name="total" select="3" />
+	</xsl:call-template>
+	<xsl:text>maxOccurs = </xsl:text>
+	<xsl:value-of select="./@maxOccurs" />
+	<xsl:text>&#xa;</xsl:text>
+	<xsl:call-template name="extractLiteralData">
+	  <xsl:with-param name="context" select=". /LiteralData" /> 
+	</xsl:call-template>
+	<xsl:call-template name="extractComplexData">
+	  <xsl:with-param name="context" select=". /ComplexData" /> 
+	</xsl:call-template>
+      </xsl:for-each>
+      <xsl:text></DataInputs></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text><DataOutputs></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:for-each select="./ProcessOutputs/Output">
+	<xsl:call-template name="extractBasicMetaData">
+	  <xsl:with-param name="context" select="." /> 
+	  <xsl:with-param name="total" select="3" /> 
+	</xsl:call-template>
+	<xsl:call-template name="extractComplexData">
+	  <xsl:with-param name="context" select=". /ComplexOutput" /> 
+	  <xsl:with-param name="total" select="3" /> 
+	</xsl:call-template>
+      </xsl:for-each>
+      <xsl:text></DataOutputs></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+    </xsl:for-each>
+
+  </xsl:template>
+
+  <xsl:template name="extractBasicMetaData">
+    <xsl:param name="context" />
+    <xsl:param name="index" select="1" />
+    <xsl:param name="total" select="1" />
+    <xsl:call-template name="printSpace">
+      <xsl:with-param name="index" select="1" />
+      <xsl:with-param name="total" select="$total" />
+    </xsl:call-template>
+    <xsl:text>[</xsl:text>
+    <xsl:copy-of select="translate($context/ows:Identifier,'.','_')" />
+    <xsl:text>]</xsl:text>
+    <xsl:text>&#xa;</xsl:text>
+    <xsl:call-template name="printSpace">
+      <xsl:with-param name="index" select="1" />
+      <xsl:with-param name="total" select="$total" />
+    </xsl:call-template>
+    <xsl:text>Title = </xsl:text>
+    <xsl:copy-of select="$context/ows:Title" />
+    <xsl:text>&#xa;</xsl:text>
+    <xsl:call-template name="printSpace">
+      <xsl:with-param name="index" select="1" />
+      <xsl:with-param name="total" select="$total" />
+    </xsl:call-template>
+    <xsl:text>Abstract = </xsl:text>
+    <xsl:copy-of select="$context/ows:Abstract" />
+    <xsl:text>&#xa;</xsl:text>
+  </xsl:template>
+
+  <xsl:template name="printSpace">
+    <xsl:param name="index" select="1"/>
+    <xsl:param name="total" />
+    <xsl:if test="not($index = $total)">
+      <xsl:text> </xsl:text>
+      <xsl:call-template name="printSpace">
+	<xsl:with-param name="index" select="$index + 1" />
+	<xsl:with-param name="total" select="$total" />
+      </xsl:call-template>	
+    </xsl:if>
+  </xsl:template>
+  
+  <xsl:template name="extractLiteralData">
+    <xsl:param name="context" />
+    <xsl:for-each select="$context">
+      <xsl:call-template name="printSpace">
+	<xsl:with-param name="index" select="1" />
+	<xsl:with-param name="total" select="3" />
+      </xsl:call-template>
+      <xsl:text><LiteralData></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:call-template name="printSpace">
+	<xsl:with-param name="index" select="1" />
+	<xsl:with-param name="total" select="4" />
+      </xsl:call-template>
+      <xsl:text>dataType=</xsl:text>
+      <xsl:copy-of select="./ows:DataType" />
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:if test="./ows:AllowedValues">
+	<xsl:call-template name="printSpace">
+	  <xsl:with-param name="index" select="1" />
+	  <xsl:with-param name="total" select="4" />
+	</xsl:call-template>
+	<xsl:text>AllowedValues=</xsl:text>
+	<xsl:for-each select="./ows:AllowedValues/ows:Value">
+	  <xsl:copy-of select="." /><xsl:if test="position() != last()" ><xsl:text>,</xsl:text></xsl:if>
+	</xsl:for-each>
+	<xsl:text>&#xa;</xsl:text>
+      </xsl:if>
+      <xsl:choose>
+	<xsl:when test="./DefaultValue">
+	  <xsl:call-template name="printSpace">
+	    <xsl:with-param name="index" select="1" />
+	    <xsl:with-param name="total" select="4" />
+	  </xsl:call-template>
+	  <xsl:text><Default></xsl:text>
+	  <xsl:text>&#xa;</xsl:text>
+	  <xsl:call-template name="printSpace">
+	    <xsl:with-param name="index" select="1" />
+	    <xsl:with-param name="total" select="5" />
+	  </xsl:call-template>
+	  <xsl:text>value=</xsl:text>
+	  <xsl:copy-of select="./DefaultValue" />
+	  <xsl:text>&#xa;</xsl:text>
+	  <xsl:call-template name="printSpace">
+	    <xsl:with-param name="index" select="1" />
+	    <xsl:with-param name="total" select="4" />
+	  </xsl:call-template>
+	  <xsl:text></Default></xsl:text>
+	  <xsl:text>&#xa;</xsl:text>  
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:call-template name="printSpace">
+	    <xsl:with-param name="index" select="1" />
+	    <xsl:with-param name="total" select="4" />
+	  </xsl:call-template>
+	  <xsl:text><Default /></xsl:text>
+	  <xsl:text>&#xa;</xsl:text>
+	</xsl:otherwise>
+      </xsl:choose>
+      <xsl:call-template name="printSpace">
+	<xsl:with-param name="index" select="1" />
+	<xsl:with-param name="total" select="3" />
+      </xsl:call-template>
+      <xsl:text></LiteralData></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="extractComplexFormat">
+    <xsl:param name="context" />
+    <xsl:for-each select="$context">
+	<xsl:text>    mimeType=</xsl:text>
+	<xsl:copy-of select="./MimeType" />
+	<xsl:text>&#xa;</xsl:text>
+	<xsl:if test="./Encoding">
+	  <xsl:text>    encoding=</xsl:text>
+	  <xsl:copy-of select="./Encoding" />
+	  <xsl:text>&#xa;</xsl:text>
+	</xsl:if>
+	<xsl:if test="./Schema">
+	  <xsl:text>    schema=</xsl:text>
+	  <xsl:copy-of select="./Schema" />
+	  <xsl:text>&#xa;</xsl:text>
+	</xsl:if>
+      </xsl:for-each>
+  </xsl:template>
+  
+  <xsl:template name="extractComplexData">
+    <xsl:param name="context" />
+    <xsl:for-each select="$context">
+      <xsl:text>  <ComplexData></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>   <Default></xsl:text>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:call-template name="extractComplexFormat">
+	<xsl:with-param name="context" select=". /Default/Format" /> 
+      </xsl:call-template>
+      <xsl:text>   </Default></xsl:text>
+      <xsl:for-each select="./Supported/Format">
+	<xsl:text>&#xa;</xsl:text>
+	<xsl:text>   <Supported></xsl:text>
+	<xsl:text>&#xa;</xsl:text>
+	<xsl:call-template name="extractComplexFormat">
+	  <xsl:with-param name="context" select=". " /> 
+	</xsl:call-template>
+	<xsl:text>   </Supported></xsl:text>	
+      </xsl:for-each>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>  </ComplexData></xsl:text>	
+      <xsl:text>&#xa;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/thirds/otb2zcfg/CMakeLists.txt b/thirds/otb2zcfg/CMakeLists.txt
index 9dfcdd8..f994680 100644
--- a/thirds/otb2zcfg/CMakeLists.txt
+++ b/thirds/otb2zcfg/CMakeLists.txt
@@ -11,4 +11,4 @@ ELSE(OTB_FOUND)
 ENDIF(OTB_FOUND)  
  
 ADD_EXECUTABLE(otb2zcfg otb2zcfg.cxx )  
-TARGET_LINK_LIBRARIES(otb2zcfg OTBCommon OTBApplicationEngine OTBIO ${ITK_LIBRARIES}) 
+TARGET_LINK_LIBRARIES(otb2zcfg OTBCommon OTBApplicationEngine OTBImageIO ${ITK_LIBRARIES}) 
diff --git a/zoo-project/HISTORY.txt b/zoo-project/HISTORY.txt
index b6fe369..902ab3b 100644
--- a/zoo-project/HISTORY.txt
+++ b/zoo-project/HISTORY.txt
@@ -1,4 +1,18 @@
-Version 1.5.0-dev
+Version 1.6.0-dev
+  * Support GDAL version 2.1.0.
+  * Add the MapServer 7.0.1 internal support.
+  * Support for exotic location of openssl.
+  * Add ZOO-Client API documentation reference in the official documentation.
+  * Add CORS support.
+  * Fix issue when dealing with Array in JavaScript support.
+  * Update the Centos installation procedure.
+  * Small fixes in java support.
+  * Fix issue when XML request contains empty nodes for inputs
+  * Add status update for contour lines computation
+  * Fix FASTCGI location using the --with-fastcgi option.
+  * Redefined the API function addToMapWithSize to fix problem with Python/PHP support.
+
+Version 1.5.0
   * Complete rewrite of the documentation to use modern style
   * Fix asynchronous POST request on WIN32 platforms
   * Add utils/registry service
diff --git a/zoo-project/zoo-api/java/Makefile b/zoo-project/zoo-api/java/Makefile
index 3b8425f..c9d3b1f 100644
--- a/zoo-project/zoo-api/java/Makefile
+++ b/zoo-project/zoo-api/java/Makefile
@@ -15,21 +15,25 @@ ifeq ($(MS_FILE),service_internal_ms.o)
 	MS_FILES=../../zoo-kernel/${MS_FILE},
 endif
 
+ifeq ($(YAML_FILE),service_yaml.o)
+	YAML_FILES=../../zoo-kernel/${YAML_FILE},
+endif
+
 
 
 all: libZOO.${ext}
 
-ZOO.class: ZOO.java
-	javac ZOO.java
+org/zoo_project/ZOO.class: org/zoo_project/ZOO.java
+	javac org/zoo_project/ZOO.java
 
-ZOO.h: ZOO.java ZOO.class
-	javah ZOO
+org_zoo_project_ZOO.h: org/zoo_project/ZOO.java org/zoo_project/ZOO.class
+	javah org.zoo_project.ZOO
 
-zoo-api.o: zoo-api.c ZOO.h
+zoo-api.o: zoo-api.c org_zoo_project_ZOO.h
 	gcc -fPIC -c zoo-api.c ${JAVACFLAGS} ${XML2CFLAGS} -I../../zoo-kernel/ -I../../../thirds/cgic206/
 
 libZOO.${ext}: zoo-api.o
-	gcc zoo-api.o -shared -o libZOO.${ext} -Wl,../../zoo-kernel/service_internal.o,${JAVA_FILES},${MS_FILES}${JS_FILES}../../zoo-kernel/ulinet.o ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} -lcurl -lfcgi ${MACOS_LD_NET_FLAGS}
+	gcc zoo-api.o -shared -o libZOO.${ext} -Wl,${YAML_FILES}../../zoo-kernel/lex.cr.o,../../zoo-kernel/main_conf_read.tab.o,../../zoo-kernel/lex.sr.o,../../zoo-kernel/service_conf.tab.o,../../zoo-kernel/service_internal.o,../../zoo-kernel/server_internal.o,../../zoo-kernel/response_print.o,${JAVA_FILES},${MS_FILES}${JS_FILES}../../zoo-kernel/ulinet.o ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS [...]
 
 clean:
-	rm -f *${ext} *o *.h *class
+	rm -f *${ext} *o *.h *class org/zoo_project/*.class
diff --git a/zoo-project/zoo-api/java/ZOO.java b/zoo-project/zoo-api/java/org/zoo_project/ZOO.java
similarity index 78%
rename from zoo-project/zoo-api/java/ZOO.java
rename to zoo-project/zoo-api/java/org/zoo_project/ZOO.java
index 83568c7..7700a05 100644
--- a/zoo-project/zoo-api/java/ZOO.java
+++ b/zoo-project/zoo-api/java/org/zoo_project/ZOO.java
@@ -1,3 +1,5 @@
+package org.zoo_project;
+
 import java.lang.*;
 import java.util.*;
 
@@ -5,6 +7,6 @@ public class ZOO {
     static { System.loadLibrary("ZOO"); }
     public static Integer SERVICE_SUCCEEDED=3;
     public static Integer SERVICE_FAILED=4;
-    public static native String _(String a);
+    public static native String translate(String a);
     public static native Integer updateStatus(HashMap conf,String pourcent,String message);
 }
diff --git a/zoo-project/zoo-api/java/zoo-api.c b/zoo-project/zoo-api/java/zoo-api.c
index 9a879ba..c75f5eb 100644
--- a/zoo-project/zoo-api/java/zoo-api.c
+++ b/zoo-project/zoo-api/java/zoo-api.c
@@ -1,26 +1,34 @@
-#include "ZOO.h"
+#include "org_zoo_project_ZOO.h"
 #include "service.h"
 #include "service_internal.h"
 #include "service_internal_java.h"
 
-JNIEXPORT jstring JNICALL Java_ZOO__1
-  (JNIEnv *env, jclass class, jstring msg){
-  const char *message = (*env)->GetStringUTFChars(env,msg, 0);
+JNIEXPORT jstring JNICALL Java_org_zoo_1project_ZOO_translate
+  (JNIEnv *env, jclass _class, jstring msg){
+  const char *message = 
+#ifdef JAVA7
+    (*env).GetStringUTFChars(msg,0);
+  return (*env).NewStringUTF(_(message));
+#else
+    (*env)->GetStringUTFChars(env,msg, 0);
   return (*env)->NewStringUTF(env, _(message));
+#endif
 
 }
 
-JNIEXPORT jobject JNICALL Java_ZOO_updateStatus
-  (JNIEnv *env, jclass class, jobject conf, jstring pourc, jstring msg){
+JNIEXPORT jobject JNICALL Java_org_zoo_1project_ZOO_updateStatus
+  (JNIEnv *env, jclass _class, jobject conf, jstring pourc, jstring msg){
 
   jclass scHashMapClass,scHashMap_class;
 #ifdef JAVA7
   scHashMapClass = (*env).FindClass("java/util/HashMap");
+  const char *pourcent = (*env).GetStringUTFChars(pourc,0);
+  const char *message = (*env).GetStringUTFChars(msg,0);
 #else
   scHashMapClass = (*env)->FindClass(env, "java/util/HashMap");
-#endif
   const char *pourcent = (*env)->GetStringUTFChars(env,pourc, 0);
   const char *message = (*env)->GetStringUTFChars(env,msg, 0);
+#endif
   maps* m = mapsFromHashMap(env,conf,scHashMapClass);
   setMapInMaps(m,"lenv","status",pourcent);
   setMapInMaps(m,"lenv","message",message);
diff --git a/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache b/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache
index f234bb4..6de8842 100644
--- a/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache
+++ b/zoo-project/zoo-client/lib/tpl/payload_Execute.mustache
@@ -1,65 +1,63 @@
 <wps:Execute service="WPS" version="1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
 ../wpsExecute_request.xsd" language="{{language}}">
   <!-- template-version: 0.21 -->
-	<ows:Identifier>{{Identifier}}</ows:Identifier>
-	<wps:DataInputs>
+  <ows:Identifier>{{Identifier}}</ows:Identifier>
+  <wps:DataInputs>
 {{#DataInputs}}
 {{#is_literal}}
-		<wps:Input>
-			<ows:Identifier>{{identifier}}</ows:Identifier>
-			<wps:Data>
-				<wps:LiteralData{{#dataType}} dataType="{{dataType}}"{{/dataType}}>{{value}}</wps:LiteralData>
-			</wps:Data>
-		</wps:Input>
+    <wps:Input>
+      <ows:Identifier>{{identifier}}</ows:Identifier>
+      <wps:Data>
+        <wps:LiteralData{{#dataType}} dataType="{{dataType}}"{{/dataType}}>{{value}}</wps:LiteralData>
+      </wps:Data>
+    </wps:Input>
 {{/is_literal}}
 {{#is_bbox}}
-		<wps:Input>
-			<ows:Identifier>{{identifier}}</ows:Identifier>
-			<wps:Data>
-				<wps:BoundingBoxData ows:crs="{{crs}}" ows:dimensions="{{dimension}}">
-            <ows:LowerCorner>{{lowerCorner}}</ows:LowerCorner>
-            <ows:UpperCorner>{{upperCorner}}</ows:UpperCorner>
-         </wps:BoundingBoxData>
-			</wps:Data>
-		</wps:Input>
+    <wps:Input>
+      <ows:Identifier>{{identifier}}</ows:Identifier>
+      <wps:Data>
+        <wps:BoundingBoxData ows:crs="{{crs}}" ows:dimensions="{{dimension}}">
+          <ows:LowerCorner>{{lowerCorner}}</ows:LowerCorner>
+          <ows:UpperCorner>{{upperCorner}}</ows:UpperCorner>
+        </wps:BoundingBoxData>
+      </wps:Data>
+    </wps:Input>
 {{/is_bbox}}
 {{#is_complex}}
 {{#is_reference}}
 {{#is_get}}
-		<wps:Input>
-			<ows:Identifier>{{identifier}}</ows:Identifier>
-			<wps:Reference xlink:href="{{href}}"{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}/>
-		</wps:Input>
+    <wps:Input>
+      <ows:Identifier>{{identifier}}</ows:Identifier>
+      <wps:Reference xlink:href="{{href}}"{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}/>
+    </wps:Input>
 {{/is_get}}
 {{#is_post}}
-		<wps:Input>
-			<ows:Identifier>{{identifier}}</ows:Identifier>
-			<wps:Reference xlink:href="{{href}}" method="{{method}}">
+    <wps:Input>
+      <ows:Identifier>{{identifier}}</ows:Identifier>
+      <wps:Reference xlink:href="{{href}}" method="{{method}}" {{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>
 {{#headers}}
-			  <wps:Header key="{{key}}" value="{{value}}" />
+        <wps:Header key="{{key}}" value="{{value}}" />
 {{/headers}}
-			  <wps:Body>{{{value}}}</wps:Body>
-			</wps:Reference>
-		</wps:Input>
+        <wps:Body>{{{value}}}</wps:Body>
+      </wps:Reference>
+    </wps:Input>
 {{/is_post}}
 {{/is_reference}}
 {{^is_reference}}
-		<wps:Input>
+    <wps:Input>
       <ows:Identifier>{{identifier}}</ows:Identifier>
       <wps:Data>
-        <wps:ComplexData{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>{{#is_XML}}
-	 {{{value}}}{{/is_XML}}{{^is_XML}}<![CDATA[{{{value}}}]]>{{/is_XML}}
-        </wps:ComplexData>
+        <wps:ComplexData{{#schema}} schema="{{shema}}"{{/schema}}{{#mimeType}} mimeType="{{mimeType}}"{{/mimeType}}{{#encoding}} encoding="{{encoding}}"{{/encoding}}>{{#is_XML}}{{{value}}}{{/is_XML}}{{^is_XML}}<![CDATA[{{{value}}}]]>{{/is_XML}}</wps:ComplexData>
       </wps:Data>
     </wps:Input>
 {{/is_reference}}
 {{/is_complex}}
 {{/DataInputs}}
-	</wps:DataInputs>	
-	<wps:ResponseForm>
+  </wps:DataInputs>	
+  <wps:ResponseForm>
 {{#RawDataOutput}}
 {{#DataOutputs}}
-    <wps:RawDataOutput mimeType="{{mimeType}}">
+    <wps:RawDataOutput {{#mimeType}}mimeType="{{mimeType}}"{{/mimeType}}>
       <ows:Identifier>{{identifier}}</ows:Identifier>
     </wps:RawDataOutput>
 {{/DataOutputs}}
diff --git a/zoo-project/zoo-kernel/Makefile.in b/zoo-project/zoo-kernel/Makefile.in
index a85cc82..6d8ca70 100644
--- a/zoo-project/zoo-kernel/Makefile.in
+++ b/zoo-project/zoo-kernel/Makefile.in
@@ -57,7 +57,7 @@ service_yaml.o: service_yaml.c service.h
 	gcc ${YAML_CFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_yaml.c
 
 service_internal_ms.o: service_internal_ms.c
-	gcc ${JS_ENABLED} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c
+	gcc ${JS_ENABLED} ${GDAL_CFLAGS}  ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c
 
 service_internal_python.o: service_internal_python.c service.h
 	g++ ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c service_internal_python.c
@@ -93,7 +93,7 @@ zoo_service_loader.o: zoo_service_loader.c service.h
 	g++ -g -O2 ${XML2CFLAGS} ${CFLAGS} ${SAGA_CFLAGS} ${OTBCFLAGS} ${PYTHONCFLAGS} ${JAVACFLAGS} ${JSCFLAGS} ${PERLCFLAGS} ${PHPCFLAGS} ${SAGA_ENABLED} ${OTB_ENABLED} ${PYTHON_ENABLED} ${JS_ENABLED} ${PHP_ENABLED} ${PERL_ENABLED} ${JAVA_ENABLED} -c zoo_service_loader.c  -fno-common -DPIC -o zoo_service_loader.o
 
 libzoo_service.${EXT}: version.h service_internal.o service.o sqlapi.o
-	gcc -shared  ${GDAL_CFLAGS} ${DEFAULT_OPTS} -fpic -o libzoo_service.${EXT} ${CFLAGS}  service_internal.o service.o sqlapi.o -lfcgi ${GDAL_LIBS}
+	gcc -shared  ${GDAL_CFLAGS} ${DEFAULT_OPTS} -fpic -o libzoo_service.${EXT} ${CFLAGS}  service_internal.o service.o sqlapi.o ${FCGI_LDFLAGS} ${GDAL_LIBS}
 
 zoo_loader.cgi: version.h libzoo_service.${EXT} zoo_loader.c zoo_service_loader.o  ulinet.o service.h lex.sr.o service_conf.tab.o service_conf.y ulinet.o main_conf_read.tab.o lex.cr.o request_parser.o response_print.o server_internal.o caching.o ${MS_FILE} ${PYTHON_FILE} ${PHP_FILE} ${JAVA_FILE} ${JS_FILE} ${PERL_FILE} ${RUBY_FILE} ${YAML_FILE} ${OTB_FILE} ${SAGA_FILE}
 	g++ -g -O2 ${JSCFLAGS} ${PHPCFLAGS}  ${PERLCFLAGS} ${RUBYCFLAGS}  ${JAVACFLAGS} ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c zoo_loader.c  -fno-common -DPIC -o zoo_loader.o
@@ -104,8 +104,8 @@ zcfg2yaml: zcfg2yaml.c service.h lex.sr.o service_conf.tab.o service_conf.y main
 	g++  ${XML2CFLAGS} ${CFLAGS} zcfg2yaml.o server_internal.o service_internal.o ${MS_FILE} response_print.o lex.cr.o lex.sr.o service_conf.tab.o main_conf_read.tab.o  ${YAML_FILE} -o zcfg2yaml -L. ${LDFLAGS}
 
 install:
-	install -d ${CGI_DIR}
-	install zoo_loader.cgi ${CGI_DIR}/
+	install -d ${DESTDIR}${CGI_DIR}
+	install zoo_loader.cgi ${DESTDIR}${CGI_DIR}/
 	install libzoo_service.${EXT} ${DESTDIR}${INST_LIB}/${LIBZOO_SERVICE}
 	(cd ${DESTDIR}${INST_LIB} ; \
 	 if [ -e "libzoo_service.${EXT}" ]; then rm  libzoo_service.${EXT}; fi ; \
diff --git a/zoo-project/zoo-kernel/ZOOMakefile.opts.in b/zoo-project/zoo-kernel/ZOOMakefile.opts.in
index 260436b..7ef0df3 100644
--- a/zoo-project/zoo-kernel/ZOOMakefile.opts.in
+++ b/zoo-project/zoo-kernel/ZOOMakefile.opts.in
@@ -21,6 +21,9 @@ endif
 
 CGI_DIR=@CGI_DIR@
 
+FCGI_CFLAGS=@FCGI_CPPFLAGS@
+FCGI_LDFLAGS=@FCGI_LDFLAGS@
+
 YAML_CFLAGS=@YAML_CPPFLAGS@
 YAML_LDFLAGS=@YAML_LDFLAGS@
 YAML_FILE=@YAML_FILE@
@@ -64,7 +67,7 @@ MS_LDFLAGS=@MS_LIBS@
 MS_FILE=@MS_FILE@
 
 ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/
-ZOO_LDFLAGS=-lcrypto -luuid
+ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ -luuid
 
 JAVACFLAGS=@JAVA_CPPFLAGS@
 JAVALDFLAGS=@JAVA_LDFLAGS@
@@ -92,6 +95,6 @@ SAGA_LDFLAGS=@SAGA_LDFLAGS@
 SAGA_ENABLED=@SAGA_ENABLED@
 SAGA_FILE=@SAGA_FILE@
 
-CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
-LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS}
+CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic @OPENSSL_CFLAGS@ ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
+LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS}  ${FCGI_LDFLAGS} @OPENSSL_LDFLAGS@ -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS}
 
diff --git a/zoo-project/zoo-kernel/autom4te.cache/output.0 b/zoo-project/zoo-kernel/autom4te.cache/output.0
deleted file mode 100644
index fdc2f45..0000000
--- a/zoo-project/zoo-kernel/autom4te.cache/output.0
+++ /dev/null
@@ -1,8345 +0,0 @@
-@%:@! /bin/sh
-@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for ZOO Kernel 1.5.0.
-@%:@
-@%:@ Report bugs to <bugs at zoo-project.org>.
-@%:@ 
-@%:@ 
-@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-@%:@ 
-@%:@ 
-@%:@ This configure script is free software; the Free Software Foundation
-@%:@ gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in @%:@(
-  *posix*) :
-    set -o posix ;; @%:@(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in @%:@(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
-  # into an infinite loop, continuously re-executing ourselves.
-  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
-    _as_can_reexec=no; export _as_can_reexec;
-    # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
-  fi
-  # We don't want this to propagate to other subprocesses.
-          { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
-  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
-  setopt NO_GLOB_SUBST
-else
-  case \`(set -o) 2>/dev/null\` in @%:@(
-  *posix*) :
-    set -o posix ;; @%:@(
-  *) :
-     ;;
-esac
-fi
-"
-  as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-  
-else
-  exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
-  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
-  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
-  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
-  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
-  if (eval "$as_required") 2>/dev/null; then :
-  as_have_required=yes
-else
-  as_have_required=no
-fi
-  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-  
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  as_found=:
-  case $as_dir in @%:@(
-	 /*)
-	   for as_base in sh bash ksh sh5; do
-	     # Try only shells that exist, to save several forks.
-	     as_shell=$as_dir/$as_base
-	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  CONFIG_SHELL=$as_shell as_have_required=yes
-		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  break 2
-fi
-fi
-	   done;;
-       esac
-  as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
-	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
-  CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
-      if test "x$CONFIG_SHELL" != x; then :
-  export CONFIG_SHELL
-             # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
-    if test x$as_have_required = xno; then :
-  $as_echo "$0: This script requires a shell more modern than all"
-  $as_echo "$0: the shells that I found on your system."
-  if test x${ZSH_VERSION+set} = xset ; then
-    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
-    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
-  else
-    $as_echo "$0: Please tell bug-autoconf at gnu.org and
-$0: bugs at zoo-project.org about your system, including any
-$0: error possibly output before this message. Then install
-$0: a modern shell, or manually run the script under such a
-$0: shell if you do have one."
-  fi
-  exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} @%:@ as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
-  as_lineno_1=$LINENO as_lineno_1a=$LINENO
-  as_lineno_2=$LINENO as_lineno_2a=$LINENO
-  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
-  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
-  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' <$as_myself |
-    sed '
-      s/[$]LINENO.*/&-/
-      t lineno
-      b
-      :lineno
-      N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
-      t loop
-      s/-\n.*//
-    ' >$as_me.lineno &&
-  chmod +x "$as_me.lineno" ||
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
-  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
-  # already done that, so ensure we don't try to do so again and fall
-  # in an infinite loop.  This has already happened in practice.
-  _as_can_reexec=no; export _as_can_reexec
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensitive to this).
-  . "./$as_me.lineno"
-  # Exit status is that of the last command.
-  exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='	';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -pR'
-  fi
-else
-  as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIB@&t at OBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='ZOO Kernel'
-PACKAGE_TARNAME='zoo-kernel'
-PACKAGE_VERSION='1.5.0'
-PACKAGE_STRING='ZOO Kernel 1.5.0'
-PACKAGE_BUGREPORT='bugs at zoo-project.org'
-PACKAGE_URL=''
-
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# ifdef HAVE_STDLIB_H
-#  include <stdlib.h>
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-#  include <memory.h>
-# endif
-# include <string.h>
-#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
-
-ac_subst_vars='LTLIBOBJS
-SAGA_ENABLED
-SAGA_FILE
-SAGA_LDFLAGS
-SAGA_CPPFLAGS
-OTB_ENABLED
-OTB_FILE
-OTB_LDFLAGS
-OTB_CPPFLAGS
-PERL_FILE
-PERL_ENABLED
-PERL_LDFLAGS
-PERL_CPPFLAGS
-PERLCONFIG
-RUBY_FILE
-RUBY_ENABLED
-RUBY_LDFLAGS
-RUBY_CPPFLAGS
-JAVA_FILE
-JAVA_ENABLED
-JAVA_LDFLAGS
-JAVA_CPPFLAGS
-PHP_FILE
-PHP_ENABLED
-PHP_LDFLAGS
-PHP_CPPFLAGS
-PHPCONFIG
-JS_FILE
-JS_ENABLED
-JS_LDFLAGS
-JS_CPPFLAGS
-CXXCPP
-PYTHON_FILE
-PYTHON_ENABLED
-PYTHON_LDFLAGS
-PYTHON_CPPFLAGS
-PYTHONCONFIG
-MS_FILE
-MS_LIBS
-MS_CFLAGS
-CGAL_LDFLAGS
-CGAL_CPPFLAGS
-GEOS_LDFLAGS
-GEOS_CPPFLAGS
-GEOSCONFIG
-PROJ_LDFLAGS
-PROJ_CPPFLAGS
-GDAL_LIBS
-GDAL_CFLAGS
-GDAL_CONFIG
-XSLT_LDFLAGS
-XSLT_CPPFLAGS
-XSLTCONFIG
-XML2_LDFLAGS
-XML2_CPPFLAGS
-XML2CONFIG
-FCGI_LDFLAGS
-FCGI_CPPFLAGS
-YAML_FILE1
-YAML_FILE
-YAML_LDFLAGS
-YAML_CPPFLAGS
-RELY_ON_DB
-CGI_DIR
-DEB_DEF
-LIB@&t at OBJS
-ALLOCA
-EGREP
-GREP
-CPP
-DEFAULT_LIBS
-SED
-ac_ct_CXX
-CXXFLAGS
-CXX
-LEXLIB
-LEX_OUTPUT_ROOT
-LEX
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-YFLAGS
-YACC
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-with_cgi_dir
-with_db_backend
-with_yaml
-with_fastcgi
-with_xml2config
-with_xsltconfig
-with_gdal_config
-with_proj
-with_geosconfig
-with_cgal
-with_mapserver
-with_python
-with_pyvers
-with_js
-with_php
-with_java
-with_ruby
-with_rvers
-with_perl
-with_itk
-with_itk_version
-with_otb
-with_wx_config
-with_saga
-'
-      ac_precious_vars='build_alias
-host_alias
-target_alias
-YACC
-YFLAGS
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CXX
-CXXFLAGS
-CCC
-CPP
-CXXCPP'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
-  # If the previous option needs an argument, assign it.
-  if test -n "$ac_prev"; then
-    eval $ac_prev=\$ac_option
-    ac_prev=
-    continue
-  fi
-
-  case $ac_option in
-  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *=)   ac_optarg= ;;
-  *)    ac_optarg=yes ;;
-  esac
-
-  # Accept the important Cygnus configure options, so we can diagnose typos.
-
-  case $ac_dashdash$ac_option in
-  --)
-    ac_dashdash=yes ;;
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir=$ac_optarg ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build_alias ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build_alias=$ac_optarg ;;
-
-  -cache-file | --cache-file | --cache-fil | --cache-fi \
-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
-    ac_prev=cache_file ;;
-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file=$ac_optarg ;;
-
-  --config-cache | -C)
-    cache_file=config.cache ;;
-
-  -datadir | --datadir | --datadi | --datad)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=*)
-    datadir=$ac_optarg ;;
-
-  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
-  | --dataroo | --dataro | --datar)
-    ac_prev=datarootdir ;;
-  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
-  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
-    datarootdir=$ac_optarg ;;
-
-  -disable-* | --disable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=no ;;
-
-  -docdir | --docdir | --docdi | --doc | --do)
-    ac_prev=docdir ;;
-  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
-    docdir=$ac_optarg ;;
-
-  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
-    ac_prev=dvidir ;;
-  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
-    dvidir=$ac_optarg ;;
-
-  -enable-* | --enable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=\$ac_optarg ;;
-
-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-  | --exec | --exe | --ex)
-    ac_prev=exec_prefix ;;
-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
-  | --exec=* | --exe=* | --ex=*)
-    exec_prefix=$ac_optarg ;;
-
-  -gas | --gas | --ga | --g)
-    # Obsolete; use --with-gas.
-    with_gas=yes ;;
-
-  -help | --help | --hel | --he | -h)
-    ac_init_help=long ;;
-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
-    ac_init_help=recursive ;;
-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
-    ac_init_help=short ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host_alias ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host_alias=$ac_optarg ;;
-
-  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
-    ac_prev=htmldir ;;
-  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
-  | --ht=*)
-    htmldir=$ac_optarg ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir=$ac_optarg ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir=$ac_optarg ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir=$ac_optarg ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir=$ac_optarg ;;
-
-  -localedir | --localedir | --localedi | --localed | --locale)
-    ac_prev=localedir ;;
-  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
-    localedir=$ac_optarg ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst | --locals)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
-    localstatedir=$ac_optarg ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir=$ac_optarg ;;
-
-  -nfp | --nfp | --nf)
-    # Obsolete; use --without-fp.
-    with_fp=no ;;
-
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n)
-    no_create=yes ;;
-
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    no_recursion=yes ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir=$ac_optarg ;;
-
-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
-    ac_prev=prefix ;;
-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix=$ac_optarg ;;
-
-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
-  | --program-pre | --program-pr | --program-p)
-    ac_prev=program_prefix ;;
-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix=$ac_optarg ;;
-
-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
-  | --program-suf | --program-su | --program-s)
-    ac_prev=program_suffix ;;
-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix=$ac_optarg ;;
-
-  -program-transform-name | --program-transform-name \
-  | --program-transform-nam | --program-transform-na \
-  | --program-transform-n | --program-transform- \
-  | --program-transform | --program-transfor \
-  | --program-transfo | --program-transf \
-  | --program-trans | --program-tran \
-  | --progr-tra | --program-tr | --program-t)
-    ac_prev=program_transform_name ;;
-  -program-transform-name=* | --program-transform-name=* \
-  | --program-transform-nam=* | --program-transform-na=* \
-  | --program-transform-n=* | --program-transform-=* \
-  | --program-transform=* | --program-transfor=* \
-  | --program-transfo=* | --program-transf=* \
-  | --program-trans=* | --program-tran=* \
-  | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name=$ac_optarg ;;
-
-  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
-    ac_prev=pdfdir ;;
-  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
-    pdfdir=$ac_optarg ;;
-
-  -psdir | --psdir | --psdi | --psd | --ps)
-    ac_prev=psdir ;;
-  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
-    psdir=$ac_optarg ;;
-
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil)
-    silent=yes ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir=$ac_optarg ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir=$ac_optarg ;;
-
-  -site | --site | --sit)
-    ac_prev=site ;;
-  -site=* | --site=* | --sit=*)
-    site=$ac_optarg ;;
-
-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
-    ac_prev=srcdir ;;
-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir=$ac_optarg ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir=$ac_optarg ;;
-
-  -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target_alias ;;
-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target_alias=$ac_optarg ;;
-
-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
-    verbose=yes ;;
-
-  -version | --version | --versio | --versi | --vers | -V)
-    ac_init_version=: ;;
-
-  -with-* | --with-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=\$ac_optarg ;;
-
-  -without-* | --without-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=no ;;
-
-  --x)
-    # Obsolete; use --with-x.
-    with_x=yes ;;
-
-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
-  | --x-incl | --x-inc | --x-in | --x-i)
-    ac_prev=x_includes ;;
-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes=$ac_optarg ;;
-
-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
-    ac_prev=x_libraries ;;
-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries=$ac_optarg ;;
-
-  -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
-    ;;
-
-  *=*)
-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
-    # Reject names that are not valid shell variable names.
-    case $ac_envvar in #(
-      '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
-    esac
-    eval $ac_envvar=\$ac_optarg
-    export $ac_envvar ;;
-
-  *)
-    # FIXME: should be removed in autoconf 3.0.
-    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
-    ;;
-
-  esac
-done
-
-if test -n "$ac_prev"; then
-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
-  case $enable_option_checking in
-    no) ;;
-    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
-    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
-  esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
-		datadir sysconfdir sharedstatedir localstatedir includedir \
-		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir
-do
-  eval ac_val=\$$ac_var
-  # Remove trailing slashes.
-  case $ac_val in
-    */ )
-      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
-      eval $ac_var=\$ac_val;;
-  esac
-  # Be sure to have absolute directory names.
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* )  continue;;
-    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
-  esac
-  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
-  if test "x$build_alias" = x; then
-    cross_compiling=maybe
-  elif test "x$build_alias" != "x$host_alias"; then
-    cross_compiling=yes
-  fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_myself" : 'X\(//\)[^/]' \| \
-	 X"$as_myself" : 'X\(//\)$' \| \
-	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  srcdir=$ac_confdir
-  if test ! -r "$srcdir/$ac_unique_file"; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
-  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
-	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
-	pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
-  srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
-  eval ac_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_env_${ac_var}_value=\$${ac_var}
-  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-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 ZOO Kernel 1.5.0 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE.  See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              display this help and exit
-      --help=short        display options specific to this package
-      --help=recursive    display the short help of all the included packages
-  -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking ...' messages
-      --cache-file=FILE   cache test results in FILE [disabled]
-  -C, --config-cache      alias for \`--cache-file=config.cache'
-  -n, --no-create         do not create output files
-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
-
-Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          @<:@@S|@ac_default_prefix@:>@
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                          @<:@PREFIX@:>@
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
-  --bindir=DIR            user executables [EPREFIX/bin]
-  --sbindir=DIR           system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR        program executables [EPREFIX/libexec]
-  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --libdir=DIR            object code libraries [EPREFIX/lib]
-  --includedir=DIR        C header files [PREFIX/include]
-  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
-  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR           info documentation [DATAROOTDIR/info]
-  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR            man documentation [DATAROOTDIR/man]
-  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/zoo-kernel@:>@
-  --htmldir=DIR           html documentation [DOCDIR]
-  --dvidir=DIR            dvi documentation [DOCDIR]
-  --pdfdir=DIR            pdf documentation [DOCDIR]
-  --psdir=DIR             ps documentation [DOCDIR]
-_ACEOF
-
-  cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of ZOO Kernel 1.5.0:";;
-   esac
-  cat <<\_ACEOF
-
-Optional Packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-cgi-dir=PATH     Specifies an alternative cgi directory path (
-                          default: /usr/lib/cgi-bin)
-  --with-db-backend       Relies on a database for storing status messages and
-                          response files
-  --with-yaml=PATH        Specifies an alternative location for the yaml
-                          library
-  --with-fastcgi=PATH     Specifies an alternative location for the fastcgi
-                          library
-  --with-xml2config=FILE  Specifies an alternative xml2-config file
-  --with-xsltconfig=FILE  Specifies an alternative xslt-config file
-  --with-gdal-config=FILE Specifies an alternative gdal-config file
-  --with-proj=PATH        Specifies an alternative location for PROJ4 setup
-  --with-geosconfig=FILE  Specifies an alternative geos-config file
-  --with-cgal=PATH        Specifies an alternative location for CGAL setup
-  --with-mapserver=PATH   Specifies the path for MapServer compiled source
-                          tree
-  --with-python=PATH      To enable python support or Specifies an alternative
-                          directory for python installation, disabled by
-                          default
-  --with-pyvers=NUM       To use a specific python version
-  --with-js=PATH          Specifies --with-js=path-to-js to enable js support,
-                          specify --with-js on linux debian like, js support
-                          is disabled by default
-  --with-php=PATH         To enable php support or specify an alternative
-                          directory for php installation, disabled by default
-  --with-java=PATH        To enable java support, specify a JDK_HOME, disabled
-                          by default
-  --with-ruby=PATH        To enable ruby support or specify an alternative
-                          directory for ruby installation, disabled by default
-  --with-rvers=NUM        To use a specific ruby version
-  --with-perl=PATH        To enable perl support or specify an alternative
-                          directory for perl installation, disabled by default
-  --with-itk=PATH         Specifies an alternative location for the itk
-                          library
-  --with-itk-version=VERSION 
-                          Specifies an alternative version for the itk library
-  --with-otb=PATH         Specifies an alternative location for the otb
-                          library
-  --with-wx-config=PATH   Specifies an alternative path for the wx-config tool
-  --with-saga=PATH        Specifies an alternative location for the SAGA-GIS
-                          library
-
-Some influential environment variables:
-  YACC        The `Yet Another Compiler Compiler' implementation to use.
-              Defaults to the first program found out of: `bison -y', `byacc',
-              `yacc'.
-  YFLAGS      The list of arguments that will be passed by default to @S|@YACC.
-              This script will default YFLAGS to the empty string to avoid a
-              default value of `-d' given by some make applications.
-  CC          C compiler command
-  CFLAGS      C compiler flags
-  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
-              nonstandard directory <lib dir>
-  LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
-              you have headers in a nonstandard directory <include dir>
-  CXX         C++ compiler command
-  CXXFLAGS    C++ compiler flags
-  CPP         C preprocessor
-  CXXCPP      C++ preprocessor
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <bugs at zoo-project.org>.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d "$ac_dir" ||
-      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
-      continue
-    ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-    cd "$ac_dir" || { ac_status=$?; continue; }
-    # Check for guested configure.
-    if test -f "$ac_srcdir/configure.gnu"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
-    elif test -f "$ac_srcdir/configure"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure" --help=recursive
-    else
-      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi || ac_status=$?
-    cd "$ac_pwd" || { ac_status=$?; break; }
-  done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
-  cat <<\_ACEOF
-ZOO Kernel configure 1.5.0
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
-  exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-@%:@ ac_fn_c_try_compile LINENO
-@%:@ --------------------------
-@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext
-  if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_compile
-
-@%:@ ac_fn_c_try_link LINENO
-@%:@ -----------------------
-@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_link
-
-@%:@ ac_fn_cxx_try_compile LINENO
-@%:@ ----------------------------
-@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext
-  if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_cxx_try_compile
-
-@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-@%:@ -------------------------------------------
-@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
-@%:@ variable VAR accordingly.
-ac_fn_c_check_type ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof ($2))
-	 return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
-	    return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  
-else
-  eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_type
-
-@%:@ ac_fn_c_try_cpp LINENO
-@%:@ ----------------------
-@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_cpp
-
-@%:@ ac_fn_c_try_run LINENO
-@%:@ ----------------------
-@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded. Assumes
-@%:@ that executables *can* be run.
-ac_fn_c_try_run ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: program exited with status $ac_status" >&5
-       $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=$ac_status
-fi
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_run
-
-@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists and can be compiled using the include files in
-@%:@ INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_compile
-
-@%:@ ac_fn_c_check_func LINENO FUNC VAR
-@%:@ ----------------------------------
-@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
-ac_fn_c_check_func ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $2 innocuous_$2
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $2 (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $2
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $2 ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$2 || defined __stub___$2
-choke me
-#endif
-
-int
-main ()
-{
-return $2 ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_func
-
-@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
-@%:@ the include files in INCLUDES and setting the cache variable VAR
-@%:@ accordingly.
-ac_fn_c_check_header_mongrel ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_header_compiler=yes
-else
-  ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  ac_header_preproc=yes
-else
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
-  yes:no: )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-    ;;
-  no:yes:* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ----------------------------------- ##
-## Report this to bugs at zoo-project.org ##
-## ----------------------------------- ##"
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_mongrel
-
-@%:@ ac_fn_c_find_intX_t LINENO BITS VAR
-@%:@ -----------------------------------
-@%:@ Finds a signed integer type with width BITS, setting cache variable VAR
-@%:@ accordingly.
-ac_fn_c_find_intX_t ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
-$as_echo_n "checking for int$2_t... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-     # Order is important - never check a type that is potentially smaller
-     # than half of the expected target width.
-     for ac_type in int$2_t 'int' 'long int' \
-	 'long long int' 'short int' 'signed char'; do
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-	     enum { N = $2 / 2 - 1 };
-int
-main ()
-{
-static int test_array @<:@1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))@:>@;
-test_array @<:@0@:>@ = 0;
-return test_array @<:@0@:>@;
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-	        enum { N = $2 / 2 - 1 };
-int
-main ()
-{
-static int test_array @<:@1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
-		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))@:>@;
-test_array @<:@0@:>@ = 0;
-return test_array @<:@0@:>@;
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  
-else
-  case $ac_type in @%:@(
-  int$2_t) :
-    eval "$3=yes" ;; @%:@(
-  *) :
-    eval "$3=\$ac_type" ;;
-esac
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-       if eval test \"x\$"$3"\" = x"no"; then :
-  
-else
-  break
-fi
-     done
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_find_intX_t
-
-@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
-@%:@ ------------------------------------
-@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
-@%:@ accordingly.
-ac_fn_c_find_uintX_t ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
-$as_echo_n "checking for uint$2_t... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-     # Order is important - never check a type that is potentially smaller
-     # than half of the expected target width.
-     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
-	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-main ()
-{
-static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
-test_array @<:@0@:>@ = 0;
-return test_array @<:@0@:>@;
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  case $ac_type in @%:@(
-  uint$2_t) :
-    eval "$3=yes" ;; @%:@(
-  *) :
-    eval "$3=\$ac_type" ;;
-esac
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-       if eval test \"x\$"$3"\" = x"no"; then :
-  
-else
-  break
-fi
-     done
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_find_uintX_t
-
-@%:@ ac_fn_cxx_try_cpp LINENO
-@%:@ ------------------------
-@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
-	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_cxx_try_cpp
-
-@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
-@%:@ ---------------------------------------------------------
-@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
-@%:@ the include files in INCLUDES and setting the cache variable VAR
-@%:@ accordingly.
-ac_fn_cxx_check_header_mongrel ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_header_compiler=yes
-else
-  ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <$2>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  ac_header_preproc=yes
-else
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
-  yes:no: )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-    ;;
-  no:yes:* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ----------------------------------- ##
-## Report this to bugs at zoo-project.org ##
-## ----------------------------------- ##"
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_cxx_check_header_mongrel
-
-@%:@ ac_fn_cxx_try_link LINENO
-@%:@ -------------------------
-@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_cxx_try_link
-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 ZOO Kernel $as_me 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
-
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    $as_echo "PATH: $as_dir"
-  done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
-  for ac_arg
-  do
-    case $ac_arg in
-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-    | -silent | --silent | --silen | --sile | --sil)
-      continue ;;
-    *\'*)
-      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    esac
-    case $ac_pass in
-    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
-    2)
-      as_fn_append ac_configure_args1 " '$ac_arg'"
-      if test $ac_must_keep_next = true; then
-	ac_must_keep_next=false # Got value, back to normal.
-      else
-	case $ac_arg in
-	  *=* | --config-cache | -C | -disable-* | --disable-* \
-	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
-	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
-	  | -with-* | --with-* | -without-* | --without-* | --x)
-	    case "$ac_configure_args0 " in
-	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
-	    esac
-	    ;;
-	  -* ) ac_must_keep_next=true ;;
-	esac
-      fi
-      as_fn_append ac_configure_args " '$ac_arg'"
-      ;;
-    esac
-  done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log.  We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
-  # Save into config.log some information that might help in debugging.
-  {
-    echo
-
-    $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
-    echo
-    # The following way of writing the cache mishandles newlines in values,
-(
-  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-  (set) 2>&1 |
-    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      sed -n \
-	"s/'\''/'\''\\\\'\'''\''/g;
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
-      ;; #(
-    *)
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-)
-    echo
-
-    $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
-    echo
-    for ac_var in $ac_subst_vars
-    do
-      eval ac_val=\$$ac_var
-      case $ac_val in
-      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-      esac
-      $as_echo "$ac_var='\''$ac_val'\''"
-    done | sort
-    echo
-
-    if test -n "$ac_subst_files"; then
-      $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
-      echo
-      for ac_var in $ac_subst_files
-      do
-	eval ac_val=\$$ac_var
-	case $ac_val in
-	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-	esac
-	$as_echo "$ac_var='\''$ac_val'\''"
-      done | sort
-      echo
-    fi
-
-    if test -s confdefs.h; then
-      $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
-      echo
-      cat confdefs.h
-      echo
-    fi
-    test "$ac_signal" != 0 &&
-      $as_echo "$as_me: caught signal $ac_signal"
-    $as_echo "$as_me: exit $exit_status"
-  } >&5
-  rm -f core *.core core.conftest.* &&
-    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
-    exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
-  # We do not want a PATH search for config.site.
-  case $CONFIG_SITE in @%:@((
-    -*)  ac_site_file1=./$CONFIG_SITE;;
-    */*) ac_site_file1=$CONFIG_SITE;;
-    *)   ac_site_file1=./$CONFIG_SITE;;
-  esac
-elif test "x$prefix" != xNONE; then
-  ac_site_file1=$prefix/share/config.site
-  ac_site_file2=$prefix/etc/config.site
-else
-  ac_site_file1=$ac_default_prefix/share/config.site
-  ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
-  test "x$ac_site_file" = xNONE && continue
-  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
-    sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file" \
-      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
-  fi
-done
-
-if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special files
-  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
-  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
-    case $cache_file in
-      [\\/]* | ?:[\\/]* ) . "$cache_file";;
-      *)                      . "./$cache_file";;
-    esac
-  fi
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
-  >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
-  eval ac_new_set=\$ac_env_${ac_var}_set
-  eval ac_old_val=\$ac_cv_env_${ac_var}_value
-  eval ac_new_val=\$ac_env_${ac_var}_value
-  case $ac_old_set,$ac_new_set in
-    set,)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,set)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,);;
-    *)
-      if test "x$ac_old_val" != "x$ac_new_val"; then
-	# differences in whitespace do not lead to failure.
-	ac_old_val_w=`echo x $ac_old_val`
-	ac_new_val_w=`echo x $ac_new_val`
-	if test "$ac_old_val_w" != "$ac_new_val_w"; then
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-	  ac_cache_corrupted=:
-	else
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
-	  eval $ac_var=\$ac_old_val
-	fi
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
-$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
-$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
-      fi;;
-  esac
-  # Pass precious variables to config.status.
-  if test "$ac_new_set" = set; then
-    case $ac_new_val in
-    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
-    *) ac_arg=$ac_var=$ac_new_val ;;
-    esac
-    case " $ac_configure_args " in
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
-    esac
-  fi
-done
-if $ac_cache_corrupted; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-# Checks for programs.
-for ac_prog in 'bison -y' byacc
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_YACC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$YACC"; then
-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
-else
-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_prog_YACC="$ac_prog"
-    $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
-
-fi
-fi
-YACC=$ac_cv_prog_YACC
-if test -n "$YACC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
-$as_echo "$YACC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$YACC" && break
-done
-test -n "$YACC" || YACC="yacc"
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="${ac_tool_prefix}gcc"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
-  ac_ct_CC=$CC
-  # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; 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_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-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_prog_ac_ct_CC="gcc"
-    $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
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-else
-  CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
-          if test -n "$ac_tool_prefix"; then
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="${ac_tool_prefix}cc"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  fi
-fi
-if test -z "$CC"; then
-  # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-  ac_prog_rejected=no
-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
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-       ac_prog_rejected=yes
-       continue
-     fi
-    ac_cv_prog_CC="cc"
-    $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
-
-if test $ac_prog_rejected = yes; then
-  # We found a bogon in the path, so make sure we never use it.
-  set dummy $ac_cv_prog_CC
-  shift
-  if test $@%:@ != 0; then
-    # We chose a different compiler from the bogus one.
-    # However, it has the same basename, so the bogon will be chosen
-    # first if we set CC to just the basename; use the full file name.
-    shift
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
-  fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in cl.exe
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="$ac_tool_prefix$ac_prog"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CC" && break
-  done
-fi
-if test -z "$CC"; then
-  ac_ct_CC=$CC
-  for ac_prog in cl.exe
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-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_prog_ac_ct_CC="$ac_prog"
-    $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
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CC" && break
-done
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
-  esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link_default") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
-	;;
-    [ab].out )
-	# We found the default executable, but exeext='' is most
-	# certainly right.
-	break;;
-    *.* )
-	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
-	then :; else
-	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	fi
-	# We set ac_cv_exeext here because the later test for it is not
-	# safe: cross compilers may not add the suffix if given an `-o'
-	# argument, so we may need to know it at that point already.
-	# Even if this section looks crufty: it has the advantage of
-	# actually working.
-	break;;
-    * )
-	break;;
-  esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
-  ac_file=''
-fi
-if test -z "$ac_file"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	  break;;
-    * ) break;;
-  esac
-done
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <stdio.h>
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
-  { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-  if { ac_try='./conftest$ac_cv_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-	cross_compiling=yes
-    else
-	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  for ac_file in conftest.o conftest.obj conftest.*; do
-  test -f "$ac_file" || continue;
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
-       break;;
-  esac
-done
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GCC=yes
-else
-  GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_prog_cc_g=no
-   CFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-else
-  CFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  
-else
-  ac_c_werror_flag=$ac_save_c_werror_flag
-	 CFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
-  CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
-  if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
-  else
-    CFLAGS="-g"
-  fi
-else
-  if test "$GCC" = yes; then
-    CFLAGS="-O2"
-  else
-    CFLAGS=
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdio.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
-   function prototypes and stuff, but not '\xHH' hex character constants.
-   These don't provoke an error unfortunately, instead are silently treated
-   as 'x'.  The following induces an error, until -std is added to get
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
-   array size at least.  It's necessary to write '\x00'==0 to get something
-   that's true only with -std.  */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
-   inside strings and character constants.  */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
-  ;
-  return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC="$CC $ac_cv_prog_cc_c89"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-  
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-for ac_prog in flex lex
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_LEX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LEX"; then
-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
-else
-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_prog_LEX="$ac_prog"
-    $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
-
-fi
-fi
-LEX=$ac_cv_prog_LEX
-if test -n "$LEX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
-$as_echo "$LEX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$LEX" && break
-done
-test -n "$LEX" || LEX=":"
-
-if test "x$LEX" != "x:"; then
-  cat >conftest.l <<_ACEOF
-%%
-a { ECHO; }
-b { REJECT; }
-c { yymore (); }
-d { yyless (1); }
-e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
-    yyless ((input () != 0)); }
-f { unput (yytext[0]); }
-. { BEGIN INITIAL; }
-%%
-#ifdef YYTEXT_POINTER
-extern char *yytext;
-#endif
-int
-main (void)
-{
-  return ! yylex () + ! yywrap ();
-}
-_ACEOF
-{ { ac_try="$LEX conftest.l"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$LEX conftest.l") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
-$as_echo_n "checking lex output file root... " >&6; }
-if ${ac_cv_prog_lex_root+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  
-if test -f lex.yy.c; then
-  ac_cv_prog_lex_root=lex.yy
-elif test -f lexyy.c; then
-  ac_cv_prog_lex_root=lexyy
-else
-  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
-$as_echo "$ac_cv_prog_lex_root" >&6; }
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
-
-if test -z "${LEXLIB+set}"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
-$as_echo_n "checking lex library... " >&6; }
-if ${ac_cv_lib_lex+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  
-    ac_save_LIBS=$LIBS
-    ac_cv_lib_lex='none needed'
-    for ac_lib in '' -lfl -ll; do
-      LIBS="$ac_lib $ac_save_LIBS"
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-`cat $LEX_OUTPUT_ROOT.c`
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_lex=$ac_lib
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      test "$ac_cv_lib_lex" != 'none needed' && break
-    done
-    LIBS=$ac_save_LIBS
-  
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
-$as_echo "$ac_cv_lib_lex" >&6; }
-  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
-$as_echo_n "checking whether yytext is a pointer... " >&6; }
-if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  # POSIX says lex can declare yytext either as a pointer or an array; the
-# default is implementation-dependent.  Figure out which it is, since
-# not all implementations provide the %pointer and %array declarations.
-ac_cv_prog_lex_yytext_pointer=no
-ac_save_LIBS=$LIBS
-LIBS="$LEXLIB $ac_save_LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-  #define YYTEXT_POINTER 1
-`cat $LEX_OUTPUT_ROOT.c`
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_prog_lex_yytext_pointer=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_save_LIBS
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
-$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
-if test $ac_cv_prog_lex_yytext_pointer = yes; then
-  
-$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
-
-fi
-rm -f conftest.l $LEX_OUTPUT_ROOT.c
-
-fi
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
-  if test -n "$CCC"; then
-    CXX=$CCC
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; 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_prog_CXX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CXX"; then
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-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_prog_CXX="$ac_tool_prefix$ac_prog"
-    $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
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CXX" && break
-  done
-fi
-if test -z "$CXX"; then
-  ac_ct_CXX=$CXX
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_ac_ct_CXX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CXX"; then
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-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_prog_ac_ct_CXX="$ac_prog"
-    $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
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CXX" && break
-done
-
-  if test "x$ac_ct_CXX" = x; then
-    CXX="g++"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CXX=$ac_ct_CXX
-  fi
-fi
-
-  fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if ${ac_cv_cxx_compiler_gnu+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GXX=yes
-else
-  GXX=
-fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if ${ac_cv_prog_cxx_g+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
-   ac_cxx_werror_flag=yes
-   ac_cv_prog_cxx_g=no
-   CXXFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-else
-  CXXFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  
-else
-  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-	 CXXFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
-  CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
-  if test "$GXX" = yes; then
-    CXXFLAGS="-g -O2"
-  else
-    CXXFLAGS="-g"
-  fi
-else
-  if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
-  else
-    CXXFLAGS=
-  fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if ${ac_cv_path_SED+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
-     for ac_i in 1 2 3 4 5 6 7; do
-       ac_script="$ac_script$as_nl$ac_script"
-     done
-     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
-     { ac_script=; unset ac_script;}
-     if test -z "$SED"; then
-  ac_path_SED_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  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_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_SED" || continue
-# Check for GNU ac_path_SED and select it if it is found.
-  # Check for GNU $ac_path_SED
-case `"$ac_path_SED" --version 2>&1` in
-*GNU*)
-  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo '' >> "conftest.nl"
-    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_SED_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_SED="$ac_path_SED"
-      ac_path_SED_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_SED_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_SED"; then
-    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
-  fi
-else
-  ac_cv_path_SED=$SED
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
-$as_echo "$ac_cv_path_SED" >&6; }
- SED="$ac_cv_path_SED"
-  rm -f conftest.sed
-
-
-# Checks for libraries.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform in -lcurl" >&5
-$as_echo_n "checking for curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform in -lcurl... " >&6; }
-if ${ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-int
-main ()
-{
-return curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform=yes
-else
-  ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" >&5
-$as_echo "$ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" >&6; }
-if test "x$ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBCURL 1
-_ACEOF
-
-  LIBS="-lcurl $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen,dlsym,dlerror,dlclose in -ldl" >&5
-$as_echo_n "checking for dlopen,dlsym,dlerror,dlclose in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen,dlsym,dlerror,dlclose ();
-int
-main ()
-{
-return dlopen,dlsym,dlerror,dlclose ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose=yes
-else
-  ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" >&5
-$as_echo "$ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" >&6; }
-if test "x$ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBDL 1
-_ACEOF
-
-  LIBS="-ldl $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new in -lcrypto" >&5
-$as_echo_n "checking for EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new in -lcrypto... " >&6; }
-if ${ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypto  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-int
-main ()
-{
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new=yes
-else
-  ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" >&5
-$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" >&6; }
-if test "x$ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBCRYPTO 1
-_ACEOF
-
-  LIBS="-lcrypto $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
-$as_echo_n "checking for uuid_generate_time in -luuid... " >&6; }
-if ${ac_cv_lib_uuid_uuid_generate_time+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-luuid  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char uuid_generate_time ();
-int
-main ()
-{
-return uuid_generate_time ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_uuid_uuid_generate_time=yes
-else
-  ac_cv_lib_uuid_uuid_generate_time=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
-$as_echo "$ac_cv_lib_uuid_uuid_generate_time" >&6; }
-if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBUUID 1
-_ACEOF
-
-  LIBS="-luuid $LIBS"
-
-fi
-
-
-DEFAULT_LIBS="$LIBS"
-
-
-
-# Checks for header files.
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-  if ${ac_cv_prog_CPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CPP needs to be expanded
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@ifdef __STDC__
-@%:@ include <limits.h>
-@%:@else
-@%:@ include <assert.h>
-@%:@endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-  
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@ifdef __STDC__
-@%:@ include <limits.h>
-@%:@else
-@%:@ include <assert.h>
-@%:@endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$GREP"; then
-  ac_path_GREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in grep ggrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'GREP' >> "conftest.nl"
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP="$ac_path_GREP"
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_GREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_GREP"; then
-    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
- 
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
-   then ac_cv_path_EGREP="$GREP -E"
-   else
-     if test -z "$EGREP"; then
-  ac_path_EGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in egrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'EGREP' >> "conftest.nl"
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP="$ac_path_EGREP"
-      ac_path_EGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_EGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_EGREP=$EGREP
-fi
-
-   fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
- 
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdc=yes
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then :
-  
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then :
-  
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then :
-  :
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
-		   (('a' <= (c) && (c) <= 'i') \
-		     || ('j' <= (c) && (c) <= 'r') \
-		     || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
-  int i;
-  for (i = 0; i < 256; i++)
-    if (XOR (islower (i), ISLOWER (i))
-	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-  
-$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-		  inttypes.h stdint.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- 
-fi
-
-done
-
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-  
-else
-  
-cat >>confdefs.h <<_ACEOF
-@%:@define size_t unsigned int
-_ACEOF
-
-fi
-
-# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
-# for constant arguments.  Useless!
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
-$as_echo_n "checking for working alloca.h... " >&6; }
-if ${ac_cv_working_alloca_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <alloca.h>
-int
-main ()
-{
-char *p = (char *) alloca (2 * sizeof (int));
-			  if (p) return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_working_alloca_h=yes
-else
-  ac_cv_working_alloca_h=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
-$as_echo "$ac_cv_working_alloca_h" >&6; }
-if test $ac_cv_working_alloca_h = yes; then
-  
-$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
-$as_echo_n "checking for alloca... " >&6; }
-if ${ac_cv_func_alloca_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#else
-# ifdef _MSC_VER
-#  include <malloc.h>
-#  define alloca _alloca
-# else
-#  ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#  else
-#   ifdef _AIX
- #pragma alloca
-#   else
-#    ifndef alloca /* predefined by HP cc +Olibcalls */
-void *alloca (size_t);
-#    endif
-#   endif
-#  endif
-# endif
-#endif
-
-int
-main ()
-{
-char *p = (char *) alloca (1);
-				    if (p) return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_func_alloca_works=yes
-else
-  ac_cv_func_alloca_works=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
-$as_echo "$ac_cv_func_alloca_works" >&6; }
-
-if test $ac_cv_func_alloca_works = yes; then
-  
-$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
-
-else
-  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
-# that cause trouble.  Some versions do not even contain alloca or
-# contain a buggy version.  If you still want to use their alloca,
-# use ar to extract alloca.o from them instead of compiling alloca.c.
-
-ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
-
-$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
-$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
-if ${ac_cv_os_cray+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined CRAY && ! defined CRAY2
-webecray
-#else
-wenotbecray
-#endif
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "webecray" >/dev/null 2>&1; then :
-  ac_cv_os_cray=yes
-else
-  ac_cv_os_cray=no
-fi
-rm -f conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
-$as_echo "$ac_cv_os_cray" >&6; }
-if test $ac_cv_os_cray = yes; then
-  for ac_func in _getb67 GETB67 getb67; do
-    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  
-cat >>confdefs.h <<_ACEOF
-@%:@define CRAY_STACKSEG_END $ac_func
-_ACEOF
-
-    break
-fi
-
-  done
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
-$as_echo_n "checking stack direction for C alloca... " >&6; }
-if ${ac_cv_c_stack_direction+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_c_stack_direction=0
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-find_stack_direction (int *addr, int depth)
-{
-  int dir, dummy = 0;
-  if (! addr)
-    addr = &dummy;
-  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
-  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
-  return dir + dummy;
-}
-
-int
-main (int argc, char **argv)
-{
-  return find_stack_direction (0, argc + !argv + 20) < 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_c_stack_direction=1
-else
-  ac_cv_c_stack_direction=-1
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
-$as_echo "$ac_cv_c_stack_direction" >&6; }
-cat >>confdefs.h <<_ACEOF
-@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
-_ACEOF
-
-
-fi
-
-for ac_header in fcntl.h inttypes.h libintl.h malloc.h stddef.h stdlib.h string.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- 
-fi
-
-done
-
-
-# Checks for typedefs, structures, and compiler characteristics.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
-$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
-if ${ac_cv_header_stdbool_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-             #include <stdbool.h>
-             #ifndef bool
-              "error: bool is not defined"
-             #endif
-             #ifndef false
-              "error: false is not defined"
-             #endif
-             #if false
-              "error: false is not 0"
-             #endif
-             #ifndef true
-              "error: true is not defined"
-             #endif
-             #if true != 1
-              "error: true is not 1"
-             #endif
-             #ifndef __bool_true_false_are_defined
-              "error: __bool_true_false_are_defined is not defined"
-             #endif
-
-             struct s { _Bool s: 1; _Bool t; } s;
-
-             char a[true == 1 ? 1 : -1];
-             char b[false == 0 ? 1 : -1];
-             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
-             char d[(bool) 0.5 == true ? 1 : -1];
-             /* See body of main program for 'e'.  */
-             char f[(_Bool) 0.0 == false ? 1 : -1];
-             char g[true];
-             char h[sizeof (_Bool)];
-             char i[sizeof s.t];
-             enum { j = false, k = true, l = false * true, m = true * 256 };
-             /* The following fails for
-                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
-             _Bool n[m];
-             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
-             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
-             /* Catch a bug in an HP-UX C compiler.  See
-                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
-                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
-              */
-             _Bool q = true;
-             _Bool *pq = &q;
-           
-int
-main ()
-{
-
-             bool e = &s;
-             *pq |= q;
-             *pq |= ! q;
-             /* Refer to every declared value, to avoid compiler optimizations.  */
-             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
-                     + !m + !n + !o + !p + !q + !pq);
-           
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdbool_h=yes
-else
-  ac_cv_header_stdbool_h=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
-$as_echo "$ac_cv_header_stdbool_h" >&6; }
-   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
-if test "x$ac_cv_type__Bool" = xyes; then :
-  
-cat >>confdefs.h <<_ACEOF
-@%:@define HAVE__BOOL 1
-_ACEOF
-
-
-fi
-
-
-if test $ac_cv_header_stdbool_h = yes; then
-  
-$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
-
-fi
-
-ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
-case $ac_cv_c_int16_t in #(
-  no|yes) ;; #(
-  *)
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define int16_t $ac_cv_c_int16_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
-case $ac_cv_c_int32_t in #(
-  no|yes) ;; #(
-  *)
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define int32_t $ac_cv_c_int32_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
-case $ac_cv_c_int8_t in #(
-  no|yes) ;; #(
-  *)
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define int8_t $ac_cv_c_int8_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
-if test "x$ac_cv_type_pid_t" = xyes; then :
-  
-else
-  
-cat >>confdefs.h <<_ACEOF
-@%:@define pid_t int
-_ACEOF
-
-fi
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-  
-else
-  
-cat >>confdefs.h <<_ACEOF
-@%:@define size_t unsigned int
-_ACEOF
-
-fi
-
-ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
-case $ac_cv_c_uint16_t in #(
-  no|yes) ;; #(
-  *)
-    
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define uint16_t $ac_cv_c_uint16_t
-_ACEOF
-;;
-  esac
-
-ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
-case $ac_cv_c_uint32_t in #(
-  no|yes) ;; #(
-  *)
-    
-$as_echo "@%:@define _UINT32_T 1" >>confdefs.h
-
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define uint32_t $ac_cv_c_uint32_t
-_ACEOF
-;;
-  esac
-
-ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
-case $ac_cv_c_uint8_t in #(
-  no|yes) ;; #(
-  *)
-    
-$as_echo "@%:@define _UINT8_T 1" >>confdefs.h
-
-    
-cat >>confdefs.h <<_ACEOF
-@%:@define uint8_t $ac_cv_c_uint8_t
-_ACEOF
-;;
-  esac
-
-
-# Checks for library functions.
-for ac_header in vfork.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
-if test "x$ac_cv_header_vfork_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_VFORK_H 1
-_ACEOF
- 
-fi
-
-done
-
-for ac_func in fork vfork
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
- 
-fi
-done
-
-if test "x$ac_cv_func_fork" = xyes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
-$as_echo_n "checking for working fork... " >&6; }
-if ${ac_cv_func_fork_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_fork_works=cross
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-main ()
-{
-
-	  /* By Ruediger Kuhlmann. */
-	  return fork () < 0;
-	
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_fork_works=yes
-else
-  ac_cv_func_fork_works=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
-$as_echo "$ac_cv_func_fork_works" >&6; }
-
-else
-  ac_cv_func_fork_works=$ac_cv_func_fork
-fi
-if test "x$ac_cv_func_fork_works" = xcross; then
-  case $host in
-    *-*-amigaos* | *-*-msdosdjgpp*)
-      # Override, as these systems have only a dummy fork() stub
-      ac_cv_func_fork_works=no
-      ;;
-    *)
-      ac_cv_func_fork_works=yes
-      ;;
-  esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
-$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
-fi
-ac_cv_func_vfork_works=$ac_cv_func_vfork
-if test "x$ac_cv_func_vfork" = xyes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
-$as_echo_n "checking for working vfork... " >&6; }
-if ${ac_cv_func_vfork_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_vfork_works=cross
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-/* Thanks to Paul Eggert for this test.  */
-$ac_includes_default
-#include <sys/wait.h>
-#ifdef HAVE_VFORK_H
-# include <vfork.h>
-#endif
-/* On some sparc systems, changes by the child to local and incoming
-   argument registers are propagated back to the parent.  The compiler
-   is told about this with #include <vfork.h>, but some compilers
-   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
-   static variable whose address is put into a register that is
-   clobbered by the vfork.  */
-static void
-#ifdef __cplusplus
-sparc_address_test (int arg)
-# else
-sparc_address_test (arg) int arg;
-#endif
-{
-  static pid_t child;
-  if (!child) {
-    child = vfork ();
-    if (child < 0) {
-      perror ("vfork");
-      _exit(2);
-    }
-    if (!child) {
-      arg = getpid();
-      write(-1, "", 0);
-      _exit (arg);
-    }
-  }
-}
-
-int
-main ()
-{
-  pid_t parent = getpid ();
-  pid_t child;
-
-  sparc_address_test (0);
-
-  child = vfork ();
-
-  if (child == 0) {
-    /* Here is another test for sparc vfork register problems.  This
-       test uses lots of local variables, at least as many local
-       variables as main has allocated so far including compiler
-       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
-       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
-       reuse the register of parent for one of the local variables,
-       since it will think that parent can't possibly be used any more
-       in this routine.  Assigning to the local variable will thus
-       munge parent in the parent process.  */
-    pid_t
-      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
-      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
-    /* Convince the compiler that p..p7 are live; otherwise, it might
-       use the same hardware register for all 8 local variables.  */
-    if (p != p1 || p != p2 || p != p3 || p != p4
-	|| p != p5 || p != p6 || p != p7)
-      _exit(1);
-
-    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
-       from child file descriptors.  If the child closes a descriptor
-       before it execs or exits, this munges the parent's descriptor
-       as well.  Test for this by closing stdout in the child.  */
-    _exit(close(fileno(stdout)) != 0);
-  } else {
-    int status;
-    struct stat st;
-
-    while (wait(&status) != child)
-      ;
-    return (
-	 /* Was there some problem with vforking?  */
-	 child < 0
-
-	 /* Did the child fail?  (This shouldn't happen.)  */
-	 || status
-
-	 /* Did the vfork/compiler bug occur?  */
-	 || parent != getpid()
-
-	 /* Did the file descriptor bug occur?  */
-	 || fstat(fileno(stdout), &st) != 0
-	 );
-  }
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_vfork_works=yes
-else
-  ac_cv_func_vfork_works=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
-$as_echo "$ac_cv_func_vfork_works" >&6; }
-
-fi;
-if test "x$ac_cv_func_fork_works" = xcross; then
-  ac_cv_func_vfork_works=$ac_cv_func_vfork
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
-$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
-fi
-
-if test "x$ac_cv_func_vfork_works" = xyes; then
-  
-$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
-
-else
-  
-$as_echo "@%:@define vfork fork" >>confdefs.h
-
-fi
-if test "x$ac_cv_func_fork_works" = xyes; then
-  
-$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
-
-fi
-
-for ac_header in stdlib.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_STDLIB_H 1
-_ACEOF
- 
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
-$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
-if ${ac_cv_func_malloc_0_nonnull+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_malloc_0_nonnull=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *malloc ();
-#endif
-
-int
-main ()
-{
-return ! malloc (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_malloc_0_nonnull=yes
-else
-  ac_cv_func_malloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
-  
-$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
-
-else
-  $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
-
-   case " $LIB@&t at OBJS " in
-  *" malloc.$ac_objext "* ) ;;
-  *) LIB@&t at OBJS="$LIB@&t at OBJS malloc.$ac_objext"
- ;;
-esac
-
-   
-$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
-
-fi
-
-
-for ac_header in stdlib.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_STDLIB_H 1
-_ACEOF
- 
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
-$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
-if ${ac_cv_func_realloc_0_nonnull+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_realloc_0_nonnull=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *realloc ();
-#endif
-
-int
-main ()
-{
-return ! realloc (0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_realloc_0_nonnull=yes
-else
-  ac_cv_func_realloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
-if test $ac_cv_func_realloc_0_nonnull = yes; then :
-  
-$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
-
-else
-  $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
-
-   case " $LIB@&t at OBJS " in
-  *" realloc.$ac_objext "* ) ;;
-  *) LIB@&t at OBJS="$LIB@&t at OBJS realloc.$ac_objext"
- ;;
-esac
-
-   
-$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
-
-fi
-
-
-for ac_func in dup2 getcwd memset setenv strdup strstr
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
- 
-fi
-done
-
-
-#============================================================================
-# Detect if run on debian / ubuntu
-#============================================================================
-if test -f "/usr/bin/dpkg"
-then
-	DEB_DEF=-DDEB
-fi
-
-
-
-@%:@ Check whether --with-cgi-dir was given.
-if test "${with_cgi_dir+set}" = set; then :
-  withval=$with_cgi_dir; CGI_DIR="$withval"
-else
-  CGI_DIR="/usr/lib/cgi-bin"
-fi
-
-
-
-
-@%:@ Check whether --with-db-backend was given.
-if test "${with_db_backend+set}" = set; then :
-  withval=$with_db_backend; RELY_ON_DB="-DRELY_ON_DB"
-else
-  RELY_ON_DB=""
-fi
-
-
-
-
-# ===========================================================================
-# Detect if libyaml is available
-# ===========================================================================
-
-
-@%:@ Check whether --with-yaml was given.
-if test "${with_yaml+set}" = set; then :
-  withval=$with_yaml; YAMLPATH="$withval"
-else
-  YAMLPATH=""
-fi
-
-
-if test -z "$YAMLPATH"
-then
-	YAML_LDFLAGS=""
-	YAML_CPPFLAGS=""
-	YAML_FILE=""
-	YAML_FILE1=""
-else
-
-	# Extract the linker and include flags
-	YAML_LDFLAGS="-L$YAMLPATH/lib -lyaml"
-	YAML_CPPFLAGS="-I$YAMLPATH/include -DYAML"
-	YAML_FILE="service_yaml.o"
-	YAML_FILE1="zcfg2yaml"
-	
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$YAML_CPPFLAGS"
-	LIBS_SAVE="$LIBS"
-	LIBS="$YAML_LDFLAGS"
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan in -lyaml" >&5
-$as_echo_n "checking for yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan in -lyaml... " >&6; }
-if ${ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lyaml  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-int
-main ()
-{
-return yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan=yes
-else
-  ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" >&5
-$as_echo "$ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" >&6; }
-if test "x$ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBYAML 1
-_ACEOF
-
-  LIBS="-lyaml $LIBS"
-
-fi
-
-	for ac_header in yaml.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "yaml.h" "ac_cv_header_yaml_h" "$ac_includes_default"
-if test "x$ac_cv_header_yaml_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_YAML_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to YAML" "$LINENO" 5
-fi
-
-done
-
-	LIBS="$LIBS_SAVE"
-fi
-
-
-
-
-
-# ===========================================================================
-# Detect if fastcgi is available
-# ===========================================================================
-
-
-@%:@ Check whether --with-fastcgi was given.
-if test "${with_fastcgi+set}" = set; then :
-  withval=$with_fastcgi; FCGIPATH="$withval"
-else
-  FCGIPATH="/usr"
-fi
-
-
-# Extract the linker and include flags
-FCGI_LDFLAGS="-L$FCGIPATH/lib"
-FCGI_CPPFLAGS="-I$FCGIPATH/include"
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$FCGI_CPPFLAGS"
-LIBS_SAVE="$LIBS"
-LIBS="$FCGI_LDFLAGS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfcgi" >&5
-$as_echo_n "checking for main in -lfcgi... " >&6; }
-if ${ac_cv_lib_fcgi_main+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfcgi  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-
-int
-main ()
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_fcgi_main=yes
-else
-  ac_cv_lib_fcgi_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_main" >&5
-$as_echo "$ac_cv_lib_fcgi_main" >&6; }
-if test "x$ac_cv_lib_fcgi_main" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBFCGI 1
-_ACEOF
-
-  LIBS="-lfcgi $LIBS"
-
-fi
-
-for ac_header in fcgi_stdio.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "fcgi_stdio.h" "ac_cv_header_fcgi_stdio_h" "$ac_includes_default"
-if test "x$ac_cv_header_fcgi_stdio_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_FCGI_STDIO_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to fastcgi" "$LINENO" 5
-fi
-
-done
-
-LIBS="$LIBS_SAVE"
-
-
-
-# ===========================================================================
-# Detect if libxml2 is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-xml2config was given.
-if test "${with_xml2config+set}" = set; then :
-  withval=$with_xml2config; XML2CONFIG="$withval"
-else
-  XML2CONFIG=""
-fi
-
-
-if test "x$XML2CONFIG" = "x"; then
-	# XML2CONFIG was not specified, so search within the current path
-	# Extract the first word of "xml2-config", so it can be a program name with args.
-set dummy xml2-config; 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_XML2CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XML2CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XML2CONFIG="$XML2CONFIG" # 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_XML2CONFIG="$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
-XML2CONFIG=$ac_cv_path_XML2CONFIG
-if test -n "$XML2CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2CONFIG" >&5
-$as_echo "$XML2CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find xml2-config, display a warning
-	if test "x$XML2CONFIG" = "x"; then
-		as_fn_error $? "could not find xml2-config from libxml2 within the current path. You may need to try re-running configure with a --with-xml2config parameter." "$LINENO" 5
-	fi
-else
-	# XML2CONFIG was specified; display a message to the user
-	if test "x$XML2CONFIG" = "xyes"; then
-		as_fn_error $? "you must Specifies a parameter to --with-xml2config, e.g. --with-xml2config=/path/to/xml2-config" "$LINENO" 5
-	else
-		if test -f $XML2CONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified xml2-config file: $XML2CONFIG" >&5
-$as_echo "Using user-specified xml2-config file: $XML2CONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified xml2-config file $XML2CONFIG does not exist" "$LINENO" 5
-		fi	
-	fi
-fi
-
-# Extract the linker and include flags 
-XML2_LDFLAGS=`$XML2CONFIG --libs`
-XML2_CPPFLAGS=`$XML2CONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$XML2_CPPFLAGS"
-for ac_header in libxml/tree.h libxml/parser.h libxml/xpath.h libxml/xpathInternals.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libxml2" "$LINENO" 5
-fi
-
-done
-
-
-# Ensure we can link against libxml2
-LIBS_SAVE="$LIBS"
-LIBS="$XML2_LDFLAGS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlInitParser in -lxml2" >&5
-$as_echo_n "checking for xmlInitParser in -lxml2... " >&6; }
-if ${ac_cv_lib_xml2_xmlInitParser+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lxml2  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char xmlInitParser ();
-int
-main ()
-{
-return xmlInitParser ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_xml2_xmlInitParser=yes
-else
-  ac_cv_lib_xml2_xmlInitParser=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlInitParser" >&5
-$as_echo "$ac_cv_lib_xml2_xmlInitParser" >&6; }
-if test "x$ac_cv_lib_xml2_xmlInitParser" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBXML2 1
-_ACEOF
-
-  LIBS="-lxml2 $LIBS"
-
-else
-  as_fn_error $? "could not find libxml2" "$LINENO" 5
-fi
-
-
-
-
-LIBS="$LIBS_SAVE"
-
-
-# ===========================================================================
-# Detect if libxslt is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-xsltconfig was given.
-if test "${with_xsltconfig+set}" = set; then :
-  withval=$with_xsltconfig; XSLTCONFIG="$withval"
-else
-  XSLTCONFIG=""
-fi
-
-
-if test "x$XSLTCONFIG" = "x"; then
-	# XSLTCONFIG was not specified, so search within the current path
-	# Extract the first word of "xslt-config", so it can be a program name with args.
-set dummy xslt-config; 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_XSLTCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XSLTCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XSLTCONFIG="$XSLTCONFIG" # 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_XSLTCONFIG="$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
-XSLTCONFIG=$ac_cv_path_XSLTCONFIG
-if test -n "$XSLTCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTCONFIG" >&5
-$as_echo "$XSLTCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find xslt-config, display a warning
-	if test "x$XSLTCONFIG" = "x"; then
-		as_fn_error $? "could not find xslt-config from libxslt within the current path. You may need to try re-running configure with a --with-xtltconfig parameter." "$LINENO" 5
-	fi
-else
-	# XSLTCONFIG was specified; display a message to the user
-	if test "x$XSLTCONFIG" = "xyes"; then
-		as_fn_error $? "you must Specifies a parameter to --with-xsltconfig, e.g. --with-xsltconfig=/path/to/xslt-config" "$LINENO" 5
-	else
-		if test -f $XSLTCONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified xslt-config file: $XSLTCONFIG" >&5
-$as_echo "Using user-specified xslt-config file: $XSLTCONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified xslt-config file $XSLTCONFIG does not exist" "$LINENO" 5
-		fi	
-	fi
-fi
-
-# Extract the linker and include flags 
-XSLT_LDFLAGS=`$XSLTCONFIG --libs`
-XSLT_CPPFLAGS=`$XSLTCONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$XSLT_CPPFLAGS"
-for ac_header in libxslt/xslt.h libxslt/xsltInternals.h libxslt/transform.h libxslt/xsltutils.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libxlst" "$LINENO" 5
-fi
-
-done
-
-
-
-
-
-#============================================================================
-# Detect if gdal is installed
-#============================================================================
-
-
-@%:@ Check whether --with-gdal-config was given.
-if test "${with_gdal_config+set}" = set; then :
-  withval=$with_gdal_config; GDAL_CONFIG="$withval"
-else
-  GDAL_CONFIG=""
-fi
-
-if test -z $GDAL_CONFIG;
-then
-	# Extract the first word of "gdal-config", so it can be a program name with args.
-set dummy gdal-config; 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_GDAL_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $GDAL_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_GDAL_CONFIG="$GDAL_CONFIG" # 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_GDAL_CONFIG="$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
-GDAL_CONFIG=$ac_cv_path_GDAL_CONFIG
-if test -n "$GDAL_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDAL_CONFIG" >&5
-$as_echo "$GDAL_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	if test -z $GDAL_CONFIG; 
-	then
-		as_fn_error $? "could not find gdal-config from libgdal within the current path. You may need to try re-running configure with a --with-gdal-config parameter." "$LINENO" 5
-	fi
-	
-else
-	if test -f $GDAL_CONFIG; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified gdal-config file: $GDAL_CONFIG" >&5
-$as_echo "Using user-specified gdal-config file: $GDAL_CONFIG" >&6; }
-	else
-		as_fn_error $? "the user-specified gdal-config file $GDAL_CONFIG does not exist" "$LINENO" 5
-	fi
-fi
-
-GDAL_CFLAGS="`$GDAL_CONFIG --cflags`"
-GDAL_LIBS="`$GDAL_CONFIG --libs`"
-
-
-
-
-# ===========================================================================
-# Detect if proj is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-proj was given.
-if test "${with_proj+set}" = set; then :
-  withval=$with_proj; PROJPATH="$withval"
-else
-  PROJPATH=""
-fi
-
-
-# Extract the linker and include flags
-PROJ_LDFLAGS="-L$PROJPATH/lib"
-PROJ_CPPFLAGS="-I$PROJPATH/include"
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$PROJ_CPPFLAGS"
-for ac_header in proj_api.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "proj_api.h" "ac_cv_header_proj_api_h" "$ac_includes_default"
-if test "x$ac_cv_header_proj_api_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_PROJ_API_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to PROJ4" "$LINENO" 5
-fi
-
-done
-
-
-
-
-
-# ===========================================================================
-# Detect if libgeos is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-geosconfig was given.
-if test "${with_geosconfig+set}" = set; then :
-  withval=$with_geosconfig; GEOSCONFIG="$withval"
-else
-  GEOSCONFIG=""
-fi
-
-
-if test "x$GEOSCONFIG" = "x"; then
-	# GEOSCONFIG was not specified, so search within the current path
-	# Extract the first word of "geos-config", so it can be a program name with args.
-set dummy geos-config; 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_GEOSCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $GEOSCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_GEOSCONFIG="$GEOSCONFIG" # 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_GEOSCONFIG="$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
-GEOSCONFIG=$ac_cv_path_GEOSCONFIG
-if test -n "$GEOSCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOSCONFIG" >&5
-$as_echo "$GEOSCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find geos-config, display a warning
-	if test "x$GEOSCONFIG" = "x"; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find geos-config from libgeos within the current path. You may need to try re-running configure with a --with-geosconfig parameter." >&5
-$as_echo "$as_me: WARNING: could not find geos-config from libgeos within the current path. You may need to try re-running configure with a --with-geosconfig parameter." >&2;}
-	fi
-else
-	# GEOSCONFIG was specified; display a message to the user
-	if test "x$GEOSCONFIG" = "xyes"; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you must Specifies a parameter to --with-geosconfig, e.g. --with-geosconfig=/path/to/geos-config" >&5
-$as_echo "$as_me: WARNING: you must Specifies a parameter to --with-geosconfig, e.g. --with-geosconfig=/path/to/geos-config" >&2;}
-	else
-		if test -f $GEOSCONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified geos-config file: $GEOSCONFIG" >&5
-$as_echo "Using user-specified geos-config file: $GEOSCONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified geos-config file $GEOSCONFIG does not exist" "$LINENO" 5
-		fi	
-	fi
-fi
-
-GEOS_LDFLAGS=`$GEOSCONFIG --libs`
-GEOS_CPPFLAGS=`$GEOSCONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$GEOS_CPPFLAGS"
-for ac_header in geos_c.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "geos_c.h" "ac_cv_header_geos_c_h" "$ac_includes_default"
-if test "x$ac_cv_header_geos_c_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_GEOS_C_H 1
-_ACEOF
- 
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find headers include related to libgeos" >&5
-$as_echo "$as_me: WARNING: could not find headers include related to libgeos" >&2;}
-fi
-
-done
-
-
-
-
-
-
-# ===========================================================================
-# Detect if cgal is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-cgal was given.
-if test "${with_cgal+set}" = set; then :
-  withval=$with_cgal; CGALPATH="$withval"
-else
-  CGALPATH="/usr"
-fi
-
-
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$CGAL_CPPFLAGS"
-for ac_header in CGAL/Delaunay_triangulation_2.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "CGAL/Delaunay_triangulation_2.h" "ac_cv_header_CGAL_Delaunay_triangulation_2_h" "$ac_includes_default"
-if test "x$ac_cv_header_CGAL_Delaunay_triangulation_2_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H 1
-_ACEOF
- 
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find headers include related to libCGAL" >&5
-$as_echo "$as_me: WARNING: could not find headers include related to libCGAL" >&2;}
-fi
-
-done
-
-
-# Extract the linker and include flags
-CGAL_LDFLAGS="-L$CGALPATH/lib"
-CGAL_CPPFLAGS="-I$CGALPATH/include"
-
-
-
-
-#============================================================================
-# Detect if mapserver is installed
-#============================================================================
-
-
-@%:@ Check whether --with-mapserver was given.
-if test "${with_mapserver+set}" = set; then :
-  withval=$with_mapserver; MS_SRC_PATH="$withval"
-else
-  MS_SRC_PATH=""
-fi
-
-
-if test -z $MS_SRC_PATH;
-then
-	MS_CPPFLAGS=""
-	MS_LDFLAGS=""
-else
-       if test "x$MS_SRC_PATH" = "xmacos";
-       then
-               MS_LDFLAGS="/Library/Frameworks/MapServer.framework//Versions/6.0/MapServer -lintl"
-               MS_CPPFLAGS="-DUSE_MS `/Library/Frameworks/MapServer.framework/Programs/mapserver-config --includes` -I/Library/Frameworks/MapServer.framework/Versions/Current/Headers/ -I../mapserver "
-               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please make sure that ../mapserver exists and contains MapServer source tree" >&5
-$as_echo "$as_me: WARNING: Please make sure that ../mapserver exists and contains MapServer source tree" >&2;}
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using MacOS X Framework for MapServer" >&5
-$as_echo "Using MacOS X Framework for MapServer" >&6; }
-       else
-               if test -d $MS_SRC_PATH; then
-                       MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`"
-                       MS_CPPFLAGS="-DUSE_MS `$MS_SRC_PATH/mapserver-config --includes` `$MS_SRC_PATH/mapserver-config --cflags` -I$MS_SRC_PATH "
-               
-                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified MapServer src path: $MS_SRC_PATH" >&5
-$as_echo "Using user-specified MapServer src path: $MS_SRC_PATH" >&6; }
-               else
-                       as_fn_error $? "the user-specified mapserver-config file $MS_SRC_PATH does not exist" "$LINENO" 5
-               fi
-       fi
-       MS_FILE="service_internal_ms.o"
-fi
-
-MS_CFLAGS="$MS_CPPFLAGS"
-MS_LIBS="$MS_LDFLAGS"
-
-
-
-
-
-# ===========================================================================
-# Detect if python is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-python was given.
-if test "${with_python+set}" = set; then :
-  withval=$with_python; PYTHON_PATH="$withval"; PYTHON_ENABLED="-DUSE_PYTHON"
-else
-  PYTHON_ENABLED=""
-fi
-
-
-
-@%:@ Check whether --with-pyvers was given.
-if test "${with_pyvers+set}" = set; then :
-  withval=$with_pyvers; PYTHON_VERS="$withval"
-else
-  PYTHON_VERS=""
-fi
-
-
-
-if test -z "$PYTHON_ENABLED"
-then
-	PYTHON_FILE=""
-else
-	PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config"
-	PYTHON_FILE="service_internal_python.o"
-	if test  "$PYTHON_PATH" = "yes"
-	then
-		# PHP was not specified, so search within the current path
-		PYTHONCFG_PATH=`which python${PYTHON_VERS}-config`
-		if test -z "${PYTHONCFG_PATH}" ; then
-		# Extract the first word of "python-config-${PYTHON_VERS}", so it can be a program name with args.
-set dummy python-config-${PYTHON_VERS}; 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_PYTHONCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PYTHONCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # 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_PYTHONCONFIG="$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
-PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
-if test -n "$PYTHONCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
-$as_echo "$PYTHONCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-		else
-		# Extract the first word of "python${PYTHON_VERS}-config", so it can be a program name with args.
-set dummy python${PYTHON_VERS}-config; 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_PYTHONCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PYTHONCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # 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_PYTHONCONFIG="$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
-PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
-if test -n "$PYTHONCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
-$as_echo "$PYTHONCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-		fi
-	else
-		PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config"
-	fi
-
-	# Extract the linker and include flags 
-	PYTHON_LDFLAGS=`$PYTHONCONFIG --ldflags`
-	PYTHON_CPPFLAGS=`$PYTHONCONFIG --includes`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PYTHON_CPPFLAGS"
-	for ac_header in Python.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
-if test "x$ac_cv_header_Python_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_PYTHON_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libpython" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$PYTHON_LDFLAGS"
-	PY_LIB=`$PYTHONCONFIG --libs | sed -e 's/^.*\(python2\..\)$/\1/'`
-	as_ac_Lib=`$as_echo "ac_cv_lib_$PY_LIB''_PyObject_CallObject" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PyObject_CallObject in -l$PY_LIB" >&5
-$as_echo_n "checking for PyObject_CallObject in -l$PY_LIB... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$PY_LIB  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char PyObject_CallObject ();
-int
-main ()
-{
-return PyObject_CallObject ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
-else
-  eval "$as_ac_Lib=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_LIB$PY_LIB" | $as_tr_cpp` 1
-_ACEOF
-
-  LIBS="-l$PY_LIB $LIBS"
-
-else
-  as_fn_error $? "could not find libpython" "$LINENO" 5
-fi
-
-	
-	
-	LIBS="$LIBS_SAVE"
-fi
-
-
-
-
-# ===========================================================================
-# Detect if spidermonkey is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-js was given.
-if test "${with_js+set}" = set; then :
-  withval=$with_js; JSHOME="$withval";JS_ENABLED="-DUSE_JS"
-else
-  JS_ENABLED=""
-fi
-
-
-if test -z "$JS_ENABLED"
-then
-	JS_FILE=""
-else
-	JS_FILE="service_internal_js.o"
-	if test "$JSHOME" = "yes"
-	then
-
-		#on teste si on est sous debian like 
-		if test -f "/usr/bin/dpkg"
-		then
-			if test -n "`dpkg -l | grep libmozjs185-dev`"
-			then
-				JS_CPPFLAGS="-I/usr/include/js/"
-                        	JS_LDFLAGS="-L/usr/lib -lmozjs185 -lm"
-                        	JS_LIB="mozjs185"
-			else 
-				XUL_VERSION="`dpkg -l | grep xulrunner | grep dev | head -1| awk '{print $3;}' | cut -d'+' -f1`"
-				if test -n "$XUL_VERSION"
-				then
-					JS_CPPFLAGS="-I/usr/include/xulrunner-$XUL_VERSION"
-					JS_LDFLAGS="-L/usr/lib/xulrunner-$XUL_VERSION -lmozjs -lm"
-					JS_LIB="mozjs"
-				else
-					as_fn_error $? "You must install libmozjs185-dev or xulrunner-dev " "$LINENO" 5
-				fi
-			fi
-		else
-			as_fn_error $? "You must  specify your custom install of libmozjs185" "$LINENO" 5
-		fi
-	else
-		JS_CPPFLAGS="-I$JSHOME/include/js/"
-                JS_LDFLAGS="-L$JSHOME/lib -lmozjs185 -lm"
-                JS_LIB="mozjs185"
-
-	fi 
-	CPPFLAGS_SAVE="$CPPFLAGS"
-        CPPFLAGS="$JS_CPPFLAGS"
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
-$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
-if test -z "$CXXCPP"; then
-  if ${ac_cv_prog_CXXCPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CXXCPP needs to be expanded
-    for CXXCPP in "$CXX -E" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@ifdef __STDC__
-@%:@ include <limits.h>
-@%:@else
-@%:@ include <assert.h>
-@%:@endif
-		     Syntax error
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CXXCPP=$CXXCPP
-  
-fi
-  CXXCPP=$ac_cv_prog_CXXCPP
-else
-  ac_cv_prog_CXXCPP=$CXXCPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
-$as_echo "$CXXCPP" >&6; }
-ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@ifdef __STDC__
-@%:@ include <limits.h>
-@%:@else
-@%:@ include <assert.h>
-@%:@endif
-		     Syntax error
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-@%:@include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
-for ac_header in jsapi.h
-do :
-  ac_fn_cxx_check_header_mongrel "$LINENO" "jsapi.h" "ac_cv_header_jsapi_h" "$ac_includes_default"
-if test "x$ac_cv_header_jsapi_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_JSAPI_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libjs" "$LINENO" 5
-fi
-
-done
-
-
-	ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-	LIBS_SAVE="$LIBS"
-        LIBS="$JS_LDFLAGS"
-
-        as_ac_Lib=`$as_echo "ac_cv_lib_$JS_LIB''_JS_CompileFile,JS_CallFunctionName" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JS_CompileFile,JS_CallFunctionName in -l$JS_LIB" >&5
-$as_echo_n "checking for JS_CompileFile,JS_CallFunctionName in -l$JS_LIB... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$JS_LIB  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char JS_CompileFile,JS_CallFunctionName ();
-int
-main ()
-{
-return JS_CompileFile,JS_CallFunctionName ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
-else
-  eval "$as_ac_Lib=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_LIB$JS_LIB" | $as_tr_cpp` 1
-_ACEOF
-
-  LIBS="-l$JS_LIB $LIBS"
-
-else
-  as_fn_error $? "could not find $JS_LIB" "$LINENO" 5
-fi
-
-	LIBS="$LIBS_SAVE"
-	
-        
-        
-fi
-
-
-
-
-# ===========================================================================
-# Detect if php is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-php was given.
-if test "${with_php+set}" = set; then :
-  withval=$with_php; PHP_PATH="$withval"; PHP_ENABLED="-DUSE_PHP"
-else
-  PHP_ENABLED=""
-fi
-
-
-
-if test -z "$PHP_ENABLED"
-then
-	PHP_FILE=""
-else
-	PHPCONFIG="$PHP_PATH/bin/php-config"
-	PHP_FILE="service_internal_php.o"
-	if test  "$PHP_PATH" = "yes"
-	then
-		# PHP was not specified, so search within the current path
-		# Extract the first word of "php-config", so it can be a program name with args.
-set dummy php-config; 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_PHPCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PHPCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PHPCONFIG="$PHPCONFIG" # 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_PHPCONFIG="$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
-PHPCONFIG=$ac_cv_path_PHPCONFIG
-if test -n "$PHPCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHPCONFIG" >&5
-$as_echo "$PHPCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	else
-		PHPCONFIG="$PHP_PATH/bin/php-config"
-	fi
-
-	# Extract the linker and include flags 
-	PHP_LDFLAGS="-L/`$PHPCONFIG --prefix`/lib -lphp5"
-	PHP_CPPFLAGS=`$PHPCONFIG --includes`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PHP_CPPFLAGS"
-	for ac_header in sapi/embed/php_embed.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "sapi/embed/php_embed.h" "ac_cv_header_sapi_embed_php_embed_h" "$ac_includes_default"
-if test "x$ac_cv_header_sapi_embed_php_embed_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_SAPI_EMBED_PHP_EMBED_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libphp" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$PHP_LDFLAGS"
-	# Shouldn't we get php here rather than php5 :) ??
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for call_user_function in -lphp5" >&5
-$as_echo_n "checking for call_user_function in -lphp5... " >&6; }
-if ${ac_cv_lib_php5_call_user_function+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lphp5  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char call_user_function ();
-int
-main ()
-{
-return call_user_function ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_php5_call_user_function=yes
-else
-  ac_cv_lib_php5_call_user_function=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_php5_call_user_function" >&5
-$as_echo "$ac_cv_lib_php5_call_user_function" >&6; }
-if test "x$ac_cv_lib_php5_call_user_function" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBPHP5 1
-_ACEOF
-
-  LIBS="-lphp5 $LIBS"
-
-else
-  as_fn_error $? "could not find libphp" "$LINENO" 5
-fi
-
-	LIBS="$LIBS_SAVE"
-	
-	
-fi
-
-
-
-
-# ===========================================================================
-# Detect if java is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-java was given.
-if test "${with_java+set}" = set; then :
-  withval=$with_java; JDKHOME="$withval"; JAVA_ENABLED="-DUSE_JAVA"
-else
-  JAVA_ENABLED=""
-fi
-
-
-if test -z "$JAVA_ENABLED"
-then
-	JAVA_FILE=""
-else
-	JAVA_FILE="service_internal_java.o"
-	if test "x$JDKHOME" = "x"; 
-	then
-		as_fn_error $? "could not find java installation path within the current path. You may need to try re-running configure with a --with-java parameter." "$LINENO" 5
-	fi	# JAVA was specified; display a message to the user
-	if test "x$JDKHOME" = "xyes"; 
-	then
-		as_fn_error $? "you must specify a parameter to --with-java, e.g. --with-java=/path/to/java" "$LINENO" 5
-	fi
-
-	# Extract the linker and include flags
-	if test "x$JDKHOME" = "xmacos";
-	then
-		JAVA_LDFLAGS="-framework JavaVM"
-		JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
-	else
-		if test -d "$JDKHOME/jre/lib/i386";
-		then
-			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/server/ -ljvm -lpthread"
-			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
-		else
-			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread"
-			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
-		fi
-	fi
-
-	# Check headers file (second time we check that in fact)
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$JAVA_CPPFLAGS"
-	for ac_header in jni.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
-if test "x$ac_cv_header_jni_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_JNI_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find jni.h file" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libjava
-	LIBS_SAVE="$LIBS"
-	LIBS="$JAVA_LDFLAGS"
-	if test "x$JDKHOME" != "xmacos";
-	then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JNI_CreateJavaVM in -ljvm" >&5
-$as_echo_n "checking for JNI_CreateJavaVM in -ljvm... " >&6; }
-if ${ac_cv_lib_jvm_JNI_CreateJavaVM+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ljvm  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char JNI_CreateJavaVM ();
-int
-main ()
-{
-return JNI_CreateJavaVM ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_jvm_JNI_CreateJavaVM=yes
-else
-  ac_cv_lib_jvm_JNI_CreateJavaVM=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jvm_JNI_CreateJavaVM" >&5
-$as_echo "$ac_cv_lib_jvm_JNI_CreateJavaVM" >&6; }
-if test "x$ac_cv_lib_jvm_JNI_CreateJavaVM" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBJVM 1
-_ACEOF
-
-  LIBS="-ljvm $LIBS"
-
-else
-  as_fn_error $? "could not find libjvm" "$LINENO" 5
-fi
-
-	fi
-	LIBS="$LIBS_SAVE"
-
-	
-	
-fi 
-
-
-
-
-# ===========================================================================
-# Detect if ruby is installed
-# ===========================================================================
-
-@%:@ Check whether --with-ruby was given.
-if test "${with_ruby+set}" = set; then :
-  withval=$with_ruby; RUBY_PATH="$withval"; RUBY_ENABLED="-DUSE_RUBY"
-else
-  RUBY_ENABLED=""
-fi
-
-
-
-@%:@ Check whether --with-rvers was given.
-if test "${with_rvers+set}" = set; then :
-  withval=$with_rvers; RUBY_VERS="$withval"
-else
-  RUBY_VERS=""
-fi
-
-
-
-if test -z "$RUBY_ENABLED"
-then
-	RUBY_FILE=""
-else
-	RUBY_FILE="service_internal_ruby.o"
-
-	# Extract the linker and include flags 
-	RUBY_LDFLAGS="-lruby"
-	RUBY_CPPFLAGS="-I$RUBY_PATH -I$RUBY_PATH/x86_64-darwin13.0/ -DZRUBY_VERSION=$RUBY_VERS"
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$RUBY_CPPFLAGS"
-	for ac_header in ruby.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
-if test "x$ac_cv_header_ruby_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_RUBY_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libruby" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$RUBY_LDFLAGS"
-	# AC_CHECK_LIB([lruby], [PyObject_CallObject], [], [AC_MSG_ERROR([could not find libpython])], [])
-	LIBS="$LIBS_SAVE"
-	
-	
-fi
-
-
-
-
-# ===========================================================================
-# Detect if perl is installed
-# ===========================================================================
-
-
-@%:@ Check whether --with-perl was given.
-if test "${with_perl+set}" = set; then :
-  withval=$with_perl; PERL_PATH="$withval"; PERL_ENABLED="-DUSE_PERL"
-else
-  PERL_ENABLED=""
-fi
-
-
-
-if test -z "$PERL_ENABLED"
-then
-	PERL_FILE=""
-else
-	PERL_FILE="service_internal_perl.o"
-	if test  "$PERL_PATH" = "yes"
-	then
-		# Perl was not specified, so search within the current path
-		# 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
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PERLCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PERLCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERLCONFIG="$PERLCONFIG" # 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_PERLCONFIG="$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
-PERLCONFIG=$ac_cv_path_PERLCONFIG
-if test -n "$PERLCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERLCONFIG" >&5
-$as_echo "$PERLCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	else
-		PERLCONFIG="$PERL_PATH/bin/perl"
-	fi
-
-	# Extract the linker and include flags 
-	PERL_LDFLAGS=`$PERLCONFIG -MExtUtils::Embed -e ldopts`
-	PERL_CPPFLAGS=`$PERLCONFIG -MExtUtils::Embed -e ccopts`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PERL_CPPFLAGS"
-	for ac_header in EXTERN.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "EXTERN.h" "ac_cv_header_EXTERN_h" "$ac_includes_default"
-if test "x$ac_cv_header_EXTERN_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_EXTERN_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find headers include related to libperl" "$LINENO" 5
-fi
-
-done
-
-
-	
-	
-fi
-
-
-
-
-# ===========================================================================
-# Detect if otb is available
-# ===========================================================================
-
-
-@%:@ Check whether --with-itk was given.
-if test "${with_itk+set}" = set; then :
-  withval=$with_itk; ITKPATH="$withval"
-else
-  ITKPATH=""
-fi
-
-
-
-@%:@ Check whether --with-itk-version was given.
-if test "${with_itk_version+set}" = set; then :
-  withval=$with_itk_version; ITKVERS="$withval"
-else
-  ITKVERS=""
-fi
-
-
-
-@%:@ Check whether --with-otb was given.
-if test "${with_otb+set}" = set; then :
-  withval=$with_otb; OTBPATH="$withval"
-else
-  OTBPATH=""
-fi
-
-
-if test -z "$OTBPATH"
-then
-	OTB_LDFLAGS=""
-	OTB_CPPFLAGS=""
-	OTB_FILE=""
-	OTB_ENABLED=""
-else
-	if test -z "$ITKVERS" 
-    	then
-		ITKVERS="4.5"
-    	fi
-	OTB_ENABLED="-DUSE_OTB"
-	OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKWatersheds-$ITKVERS -litkNetlibSlatec-$ITKVE [...]
-	OTB_CPPFLAGS="-I$OTBPATH/include/otb/ApplicationEngine -I$OTBPATH/include/otb/Common -I$ITKPATH/include/ITK-$ITKVERS -I$OTBPATH/include/otb/Utilities/ITK -I$OTBPATH/include/otb/ -I$OTBPATH/include/otb/IO -I$OTBPATH/include/otb/UtilitiesAdapters/OssimAdapters -I$OTBPATH/include/otb/UtilitiesAdapters/CurlAdapters -I$OTBPATH/include/otb/Utilities/BGL -I$OTBPATH/include/otb/UtilitiesAdapters/ITKPendingPatches -I$OTBPATH/include/otb/Utilities/otbconfigfile $GDAL_CFLAGS"
-	OTB_FILE="otbZooWatcher.o service_internal_otb.o"
-	
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$OTB_CPPFLAGS"
-	LDFLAGS_SAVE="$LDFLAGS"
-	LIBS="$LIBS_SAVE $OTB_LDFLAGS"
-	for ac_header in otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find header file $i related to OTB" "$LINENO" 5
-fi
-
-done
-
-	ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	LDFLAGS_SAVE="$LDFLAGS"
-	LDFLAGS="$OTB_LDFLAGS"
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include "otbWrapperApplication.h",std::vector<std::string> list = otb::Wrapwper::ApplicationRegistry::GetAvailableApplication();
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for GetAvailableApplication... yes" >&5
-$as_echo "checking for GetAvailableApplication... yes" >&6; }
-else
-  as_fn_error $? "checking for GetAvailableApplication... failed" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-	LDFLAGS="$LDFLAGS_SAVE"
-			
-fi
-
-
-
-
-
-# ===========================================================================
-# Detect if saga-gis is available
-# ===========================================================================
-
-
-@%:@ Check whether --with-wx-config was given.
-if test "${with_wx_config+set}" = set; then :
-  withval=$with_wx_config; WXCFG="$withval"
-else
-  WXCFG=""
-fi
-
-
-
-@%:@ Check whether --with-saga was given.
-if test "${with_saga+set}" = set; then :
-  withval=$with_saga; SAGAPATH="$withval"
-else
-  SAGAPATH=""
-fi
-
-
-if test -z "$SAGAPATH"
-then
-	SAGA_LDFLAGS=""
-	SAGA_CPPFLAGS=""
-	SAGA_FILE=""
-	SAGA_ENABLED=""
-else
-	if test -z "$WXCFG" ; then
-	   WXCFG="$(which wx-config)"
-	fi
-	if test "`$WXCFG --list | grep unicode`" == "" ; then
-	   as_fn_error $? "SAGA requires a unicode build of wxGTK" "$LINENO" 5
-	fi
-	WX_ISSUE="-D_WX_WXCRTVARARG_H_"
-	SAGA_DEFS="-D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\\\"$SAGAPATH/lib/saga\\\""
-	SAGA_CPPFLAGS=" -fPIC -I$SAGAPATH/include/saga/saga_core/saga_api/ `$WXCFG --unicode=yes --static=no --cxxflags` -D_SAGA_UNICODE $SAGA_DEFS $WX_ISSUE"
-	SAGA_LDFLAGS="-fPIC `$WXCFG --unicode=yes --static=no --libs` -lsaga_api"
-	SAGA_ENABLED="-DUSE_SAGA"
-	SAGA_FILE="service_internal_saga.o"
-	
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$SAGA_CPPFLAGS"
-	LIBS_SAVE="$LIBS"
-	LIBS="$SAGA_LDFLAGS"
-	for ac_header in module_library.h
-do :
-  ac_fn_cxx_check_header_mongrel "$LINENO" "module_library.h" "ac_cv_header_module_library_h" "$ac_includes_default"
-if test "x$ac_cv_header_module_library_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_MODULE_LIBRARY_H 1
-_ACEOF
- 
-else
-  as_fn_error $? "could not find header file $i related to SAGA-GIS" "$LINENO" 5
-fi
-
-done
-
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include "module_library.h",SG_Get_Module_Library_Manager();
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for SG_Get_Module_Library_Manager... yes" >&5
-$as_echo "checking for SG_Get_Module_Library_Manager... yes" >&6; }
-else
-  as_fn_error $? "checking for SG_Get_Module_Library_Manager... failed" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-	LIBS="$LIBS_SAVE"
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-fi
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-ac_config_files="$ac_config_files ZOOMakefile.opts"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems.  If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
-  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-
-  (set) 2>&1 |
-    case $as_nl`(ac_space=' '; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      # `set' does not quote correctly, so add quotes: double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \.
-      sed -n \
-	"s/'/'\\\\''/g;
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
-      ;; #(
-    *)
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-) |
-  sed '
-     /^ac_cv_env_/b end
-     t clear
-     :clear
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
-     t end
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
-  if test -w "$cache_file"; then
-    if test "x$cache_file" != "x/dev/null"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
-      if test ! -f "$cache_file" || test -h "$cache_file"; then
-	cat confcache >"$cache_file"
-      else
-        case $cache_file in #(
-        */* | ?:*)
-	  mv -f confcache "$cache_file"$$ &&
-	  mv -f "$cache_file"$$ "$cache_file" ;; #(
-        *)
-	  mv -f confcache "$cache_file" ;;
-	esac
-      fi
-    fi
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
-  fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section.  Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
-	g
-	s/^\n//
-	s/\n/ /g
-	p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIB@&t at OBJS; do test "x$ac_i" = x: && continue
-  # 1. Remove the extension, and $U if already installed.
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
-  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
-  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
-  #    will be set to the directory where LIBOBJS objects are built.
-  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
-  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIB@&t at OBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in @%:@(
-  *posix*) :
-    set -o posix ;; @%:@(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in @%:@(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} @%:@ as_fn_error
-
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='	';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -pR'
-  fi
-else
-  as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by ZOO Kernel $as_me 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration.  Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number and configuration settings, then exit
-      --config     print configuration, then exit
-  -q, --quiet, --silent
-                   do not print progress messages
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-      --file=FILE[:TEMPLATE] 
-                   instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bugs at zoo-project.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-ZOO Kernel config.status 1.5.0
-configured by $0, generated by GNU Autoconf 2.69,
-  with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=?*)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
-    ac_shift=:
-    ;;
-  --*=)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=
-    ac_shift=:
-    ;;
-  *)
-    ac_option=$1
-    ac_optarg=$2
-    ac_shift=shift
-    ;;
-  esac
-
-  case $ac_option in
-  # Handling of the options.
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    ac_cs_recheck=: ;;
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    $as_echo "$ac_cs_version"; exit ;;
-  --config | --confi | --conf | --con | --co | --c )
-    $as_echo "$ac_cs_config"; exit ;;
-  --debug | --debu | --deb | --de | --d | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    $ac_shift
-    case $ac_optarg in
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    '') as_fn_error $? "missing file argument" ;;
-    esac
-    as_fn_append CONFIG_FILES " '$ac_optarg'"
-    ac_need_defaults=false;;
-  --he | --h |  --help | --hel | -h )
-    $as_echo "$ac_cs_usage"; exit ;;
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
-    ac_cs_silent=: ;;
-
-  # This is an error.
-  -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
-  *) as_fn_append ac_config_targets " $1"
-     ac_need_defaults=false ;;
-
-  esac
-  shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
-  exec 6>/dev/null
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
-  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-  shift
-  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
-  CONFIG_SHELL='$SHELL'
-  export CONFIG_SHELL
-  exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
-@%:@@%:@ Running $as_me. @%:@@%:@
-_ASBOX
-  $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
-  case $ac_config_target in
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-    "ZOOMakefile.opts") CONFIG_FILES="$CONFIG_FILES ZOOMakefile.opts" ;;
-
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
-  esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
-  tmp= ac_tmp=
-  trap 'exit_status=$?
-  : "${ac_tmp:=$tmp}"
-  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
-  trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -d "$tmp"
-}  ||
-{
-  tmp=./conf$$-$RANDOM
-  (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
-  eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\\r'
-else
-  ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
-  echo "cat >conf$$subs.awk <<_ACEOF" &&
-  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
-  echo "_ACEOF"
-} >conf$$subs.sh ||
-  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
-  . ./conf$$subs.sh ||
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
-  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
-  if test $ac_delim_n = $ac_delim_num; then
-    break
-  elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-  else
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
-  fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
-  N
-  s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
-  for (key in S) S_is_set[key] = 1
-  FS = ""
-
-}
-{
-  line = $ 0
-  nfields = split(line, field, "@")
-  substed = 0
-  len = length(field[1])
-  for (i = 2; i < nfields; i++) {
-    key = field[i]
-    keylen = length(key)
-    if (S_is_set[key]) {
-      value = S[key]
-      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
-      len += length(value) + length(field[++i])
-      substed = 1
-    } else
-      len += 1 + keylen
-  }
-
-  print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
-  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
-  cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
-  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
-h
-s///
-s/^/:/
-s/[	 ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[	 ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[	 ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X "  :F $CONFIG_FILES      "
-shift
-for ac_tag
-do
-  case $ac_tag in
-  :[FHLC]) ac_mode=$ac_tag; continue;;
-  esac
-  case $ac_mode$ac_tag in
-  :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
-  :[FH]-) ac_tag=-:-;;
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
-  esac
-  ac_save_IFS=$IFS
-  IFS=:
-  set x $ac_tag
-  IFS=$ac_save_IFS
-  shift
-  ac_file=$1
-  shift
-
-  case $ac_mode in
-  :L) ac_source=$1;;
-  :[FH])
-    ac_file_inputs=
-    for ac_f
-    do
-      case $ac_f in
-      -) ac_f="$ac_tmp/stdin";;
-      *) # Look for the file first in the build tree, then in the source tree
-	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
-	 # because $ac_f cannot contain `:'.
-	 test -f "$ac_f" ||
-	   case $ac_f in
-	   [\\/$]*) false;;
-	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
-	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
-      esac
-      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
-      as_fn_append ac_file_inputs " '$ac_f'"
-    done
-
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
-    # use $as_me), people would be surprised to read:
-    #    /* config.h.  Generated by config.status.  */
-    configure_input='Generated from '`
-	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
-	`' by configure.'
-    if test x"$ac_file" != x-; then
-      configure_input="$ac_file.  $configure_input"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
-    fi
-    # Neutralize special characters interpreted by sed in replacement strings.
-    case $configure_input in #(
-    *\&* | *\|* | *\\* )
-       ac_sed_conf_input=`$as_echo "$configure_input" |
-       sed 's/[\\\\&|]/\\\\&/g'`;; #(
-    *) ac_sed_conf_input=$configure_input;;
-    esac
-
-    case $ac_tag in
-    *:-:* | *:-) cat >"$ac_tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
-    esac
-    ;;
-  esac
-
-  ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$ac_file" : 'X\(//\)[^/]' \| \
-	 X"$ac_file" : 'X\(//\)$' \| \
-	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  as_dir="$ac_dir"; as_fn_mkdir_p
-  ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
-  case $ac_mode in
-  :F)
-  #
-  # CONFIG_FILE
-  #
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
-  p
-  q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-  ac_datarootdir_hack='
-  s&@datadir@&$datadir&g
-  s&@docdir@&$docdir&g
-  s&@infodir@&$infodir&g
-  s&@localedir@&$localedir&g
-  s&@mandir@&$mandir&g
-  s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
-  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
-      "$ac_tmp/out"`; test -z "$ac_out"; } &&
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&2;}
-
-  rm -f "$ac_tmp/stdin"
-  case $ac_file in
-  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
-  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
-  esac \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-  
-  
-  
-  esac
-
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
-  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded.  So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status.  When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
-  ac_cs_success=:
-  ac_config_status_args=
-  test "$silent" = yes &&
-    ac_config_status_args="$ac_config_status_args --quiet"
-  exec 5>/dev/null
-  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
-  exec 5>>config.log
-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
-  # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/zoo-project/zoo-kernel/autom4te.cache/requests b/zoo-project/zoo-kernel/autom4te.cache/requests
deleted file mode 100644
index 287911c..0000000
--- a/zoo-project/zoo-kernel/autom4te.cache/requests
+++ /dev/null
@@ -1,77 +0,0 @@
-# This file was generated.
-# It contains the lists of macros which have been traced.
-# It can be safely removed.
-
- at request = (
-             bless( [
-                      '0',
-                      1,
-                      [
-                        '/usr/local/Cellar/autoconf/2.69/share/autoconf'
-                      ],
-                      [
-                        '/usr/local/Cellar/autoconf/2.69/share/autoconf/autoconf/autoconf.m4f',
-                        'configure.ac'
-                      ],
-                      {
-                        '_AM_COND_ELSE' => 1,
-                        'sinclude' => 1,
-                        'include' => 1,
-                        'AC_DEFINE_TRACE_LITERAL' => 1,
-                        '_AM_COND_IF' => 1,
-                        'AC_CONFIG_AUX_DIR' => 1,
-                        'AM_XGETTEXT_OPTION' => 1,
-                        'AM_ENABLE_MULTILIB' => 1,
-                        'AM_AUTOMAKE_VERSION' => 1,
-                        'AC_SUBST_TRACE' => 1,
-                        'AC_CONFIG_LINKS' => 1,
-                        '_LT_AC_TAGCONFIG' => 1,
-                        'AC_PROG_LIBTOOL' => 1,
-                        'AM_MAINTAINER_MODE' => 1,
-                        'AC_REQUIRE_AUX_FILE' => 1,
-                        'AC_SUBST' => 1,
-                        'AC_FC_PP_SRCEXT' => 1,
-                        'AC_INIT' => 1,
-                        'm4_pattern_forbid' => 1,
-                        '_AM_SUBST_NOTMAKE' => 1,
-                        'LT_SUPPORTED_TAG' => 1,
-                        'AM_NLS' => 1,
-                        'LT_INIT' => 1,
-                        'AC_CANONICAL_HOST' => 1,
-                        'm4_include' => 1,
-                        'AC_FC_SRCEXT' => 1,
-                        'AC_CONFIG_SUBDIRS' => 1,
-                        '_AM_COND_ENDIF' => 1,
-                        'AM_PATH_GUILE' => 1,
-                        'AM_PROG_FC_C_O' => 1,
-                        'AC_FC_PP_DEFINE' => 1,
-                        'AM_PROG_CXX_C_O' => 1,
-                        'AC_FC_FREEFORM' => 1,
-                        'AM_SILENT_RULES' => 1,
-                        'AM_MAKEFILE_INCLUDE' => 1,
-                        'AC_CANONICAL_SYSTEM' => 1,
-                        'AM_PROG_MOC' => 1,
-                        'AM_PROG_F77_C_O' => 1,
-                        'AC_CANONICAL_TARGET' => 1,
-                        'AM_CONDITIONAL' => 1,
-                        'm4_sinclude' => 1,
-                        'LT_CONFIG_LTDL_DIR' => 1,
-                        'AM_PROG_AR' => 1,
-                        'AC_CANONICAL_BUILD' => 1,
-                        'AM_INIT_AUTOMAKE' => 1,
-                        'AC_CONFIG_HEADERS' => 1,
-                        'AM_POT_TOOLS' => 1,
-                        '_AM_MAKEFILE_INCLUDE' => 1,
-                        'AC_CONFIG_FILES' => 1,
-                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
-                        'm4_pattern_allow' => 1,
-                        'AC_LIBSOURCE' => 1,
-                        'AC_CONFIG_LIBOBJ_DIR' => 1,
-                        '_m4_warn' => 1,
-                        'AM_GNU_GETTEXT' => 1,
-                        'AH_OUTPUT' => 1,
-                        'AM_PROG_CC_C_O' => 1
-                      }
-                    ], 'Autom4te::Request' )
-           );
-
diff --git a/zoo-project/zoo-kernel/autom4te.cache/traces.0 b/zoo-project/zoo-kernel/autom4te.cache/traces.0
deleted file mode 100644
index 80e374f..0000000
--- a/zoo-project/zoo-kernel/autom4te.cache/traces.0
+++ /dev/null
@@ -1,778 +0,0 @@
-m4trace:configure.ac:1: -1- AC_INIT([ZOO Kernel], [1.5.0], [bugs at zoo-project.org])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:1: -1- AC_SUBST([SHELL])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([SHELL])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.ac:1: -1- AC_SUBST([PATH_SEPARATOR])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL],       ['AC_PACKAGE_URL'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_URL])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:1: -1- AC_SUBST([exec_prefix], [NONE])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([exec_prefix])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.ac:1: -1- AC_SUBST([prefix], [NONE])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([prefix])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.ac:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([program_transform_name])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.ac:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([bindir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sbindir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.ac:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libexecdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datarootdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datadir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sysconfdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sharedstatedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localstatedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([includedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([oldincludedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
-				     ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
-				     ['${datarootdir}/doc/${PACKAGE}'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([docdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([infodir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.ac:1: -1- AC_SUBST([htmldir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([htmldir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.ac:1: -1- AC_SUBST([dvidir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([dvidir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.ac:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([pdfdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([psdir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([psdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([mandir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
-@%:@undef PACKAGE_NAME])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
-@%:@undef PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
-@%:@undef PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
-@%:@undef PACKAGE_STRING])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
-@%:@undef PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
-@%:@undef PACKAGE_URL])
-m4trace:configure.ac:1: -1- AC_SUBST([DEFS])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([DEFS])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_C])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_C])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_N])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_N])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_T])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_T])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.ac:1: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:1: -1- AC_SUBST([build_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([build_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.ac:1: -1- AC_SUBST([host_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([host_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.ac:1: -1- AC_SUBST([target_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([target_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.ac:4: -1- AC_SUBST([YACC])
-m4trace:configure.ac:4: -1- AC_SUBST_TRACE([YACC])
-m4trace:configure.ac:4: -1- m4_pattern_allow([^YACC$])
-m4trace:configure.ac:4: -1- AC_SUBST([YACC])
-m4trace:configure.ac:4: -1- AC_SUBST_TRACE([YACC])
-m4trace:configure.ac:4: -1- m4_pattern_allow([^YACC$])
-m4trace:configure.ac:4: -1- AC_SUBST([YFLAGS])
-m4trace:configure.ac:4: -1- AC_SUBST_TRACE([YFLAGS])
-m4trace:configure.ac:4: -1- m4_pattern_allow([^YFLAGS$])
-m4trace:configure.ac:5: -1- AC_SUBST([CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([CFLAGS])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CFLAGS])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.ac:5: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:5: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:5: -1- AC_SUBST([CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([ac_ct_CC])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ac_ct_CC])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.ac:5: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([EXEEXT])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.ac:5: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([OBJEXT])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.ac:6: -1- AC_SUBST([LEX])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LEX])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^LEX$])
-m4trace:configure.ac:6: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
-m4trace:configure.ac:6: -1- AC_SUBST([LEXLIB])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LEXLIB])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^LEXLIB$])
-m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^YYTEXT_POINTER$])
-m4trace:configure.ac:6: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
-   `char@<:@@:>@\'. */
-@%:@undef YYTEXT_POINTER])
-m4trace:configure.ac:7: -1- AC_SUBST([CXX])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:7: -1- AC_SUBST([CXXFLAGS])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CXXFLAGS])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^CXXFLAGS$])
-m4trace:configure.ac:7: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:7: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:7: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:7: -1- AC_SUBST([CXX])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CXX])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([ac_ct_CXX])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^ac_ct_CXX$])
-m4trace:configure.ac:8: -1- AC_SUBST([SED])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([SED])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^SED$])
-m4trace:configure.ac:11: -1- AH_OUTPUT([HAVE_LIBCURL], [/* Define to 1 if you have the `curl\' library (-lcurl). */
-@%:@undef HAVE_LIBCURL])
-m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCURL])
-m4trace:configure.ac:11: -1- m4_pattern_allow([^HAVE_LIBCURL$])
-m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
-@%:@undef HAVE_LIBDL])
-m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_LIBDL$])
-m4trace:configure.ac:13: -1- AH_OUTPUT([HAVE_LIBCRYPTO], [/* Define to 1 if you have the `crypto\' library (-lcrypto). */
-@%:@undef HAVE_LIBCRYPTO])
-m4trace:configure.ac:13: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCRYPTO])
-m4trace:configure.ac:13: -1- m4_pattern_allow([^HAVE_LIBCRYPTO$])
-m4trace:configure.ac:14: -1- AH_OUTPUT([HAVE_LIBUUID], [/* Define to 1 if you have the `uuid\' library (-luuid). */
-@%:@undef HAVE_LIBUUID])
-m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBUUID])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HAVE_LIBUUID$])
-m4trace:configure.ac:17: -1- AC_SUBST([DEFAULT_LIBS])
-m4trace:configure.ac:17: -1- AC_SUBST_TRACE([DEFAULT_LIBS])
-m4trace:configure.ac:17: -1- m4_pattern_allow([^DEFAULT_LIBS$])
-m4trace:configure.ac:21: -1- AC_SUBST([CPP])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:21: -1- AC_SUBST([CPP])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:21: -1- AC_SUBST([GREP])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
-@%:@undef STDC_HEADERS])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
-@%:@undef HAVE_SYS_TYPES_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
-@%:@undef HAVE_SYS_STAT_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
-@%:@undef HAVE_STRING_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
-@%:@undef HAVE_MEMORY_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
-@%:@undef HAVE_STRINGS_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
-@%:@undef HAVE_INTTYPES_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
-@%:@undef HAVE_STDINT_H])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
-@%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([size_t])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
-@%:@undef size_t])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
-   */
-@%:@undef HAVE_ALLOCA_H])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_ALLOCA$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
-@%:@undef HAVE_ALLOCA])
-m4trace:configure.ac:21: -1- AC_LIBSOURCE([alloca.c])
-m4trace:configure.ac:21: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ALLOCA])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ALLOCA$])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^C_ALLOCA$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
-@%:@undef C_ALLOCA])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
-   systems. This function is required for `alloca.c\' support on those systems.
-   */
-@%:@undef CRAY_STACKSEG_END])
-m4trace:configure.ac:21: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
-   direction of stack growth for your system; otherwise it will be
-   automatically deduced at runtime.
-	STACK_DIRECTION > 0 => grows toward higher addresses
-	STACK_DIRECTION < 0 => grows toward lower addresses
-	STACK_DIRECTION = 0 => direction of growth unknown */
-@%:@undef STACK_DIRECTION])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^STACK_DIRECTION$])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
-@%:@undef HAVE_FCNTL_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
-@%:@undef HAVE_INTTYPES_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
-@%:@undef HAVE_LIBINTL_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
-@%:@undef HAVE_MALLOC_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
-@%:@undef HAVE_STDDEF_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
-@%:@undef HAVE_STRING_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
-@%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE__BOOL$])
-m4trace:configure.ac:25: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
-@%:@undef HAVE__BOOL])
-m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
-m4trace:configure.ac:25: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
-@%:@undef HAVE_STDBOOL_H])
-m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([int16_t])
-m4trace:configure.ac:26: -1- m4_pattern_allow([^int16_t$])
-m4trace:configure.ac:26: -1- AH_OUTPUT([int16_t], [/* Define to the type of a signed integer type of width exactly 16 bits if
-   such a type exists and the standard includes do not define it. */
-@%:@undef int16_t])
-m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
-m4trace:configure.ac:27: -1- m4_pattern_allow([^int32_t$])
-m4trace:configure.ac:27: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
-   such a type exists and the standard includes do not define it. */
-@%:@undef int32_t])
-m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([int8_t])
-m4trace:configure.ac:28: -1- m4_pattern_allow([^int8_t$])
-m4trace:configure.ac:28: -1- AH_OUTPUT([int8_t], [/* Define to the type of a signed integer type of width exactly 8 bits if such
-   a type exists and the standard includes do not define it. */
-@%:@undef int8_t])
-m4trace:configure.ac:29: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
-m4trace:configure.ac:29: -1- m4_pattern_allow([^pid_t$])
-m4trace:configure.ac:29: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
-@%:@undef pid_t])
-m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([size_t])
-m4trace:configure.ac:30: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:30: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
-@%:@undef size_t])
-m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
-m4trace:configure.ac:31: -1- m4_pattern_allow([^uint16_t$])
-m4trace:configure.ac:31: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
-   such a type exists and the standard includes do not define it. */
-@%:@undef uint16_t])
-m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^_UINT32_T$])
-m4trace:configure.ac:32: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
-   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
-   @%:@define below would cause a syntax error. */
-@%:@undef _UINT32_T])
-m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^uint32_t$])
-m4trace:configure.ac:32: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
-   such a type exists and the standard includes do not define it. */
-@%:@undef uint32_t])
-m4trace:configure.ac:33: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^_UINT8_T$])
-m4trace:configure.ac:33: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
-   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
-   @%:@define below would cause a syntax error. */
-@%:@undef _UINT8_T])
-m4trace:configure.ac:33: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^uint8_t$])
-m4trace:configure.ac:33: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
-   such a type exists and the standard includes do not define it. */
-@%:@undef uint8_t])
-m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
-@%:@undef HAVE_VFORK_H])
-m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VFORK_H])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_VFORK_H$])
-m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
-@%:@undef HAVE_FORK])
-m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
-@%:@undef HAVE_VFORK])
-m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
-m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
-@%:@undef HAVE_WORKING_VFORK])
-m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([vfork])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^vfork$])
-m4trace:configure.ac:36: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
-@%:@undef vfork])
-m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
-m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
-@%:@undef HAVE_WORKING_FORK])
-m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
-   to 0 otherwise. */
-@%:@undef HAVE_MALLOC])
-m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:37: -1- AC_SUBST([LIB@&t at OBJS], ["$LIB@&t at OBJS malloc.$ac_objext"])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^LIB@&t at OBJS$])
-m4trace:configure.ac:37: -1- AC_LIBSOURCE([malloc.c])
-m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([malloc])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^malloc$])
-m4trace:configure.ac:37: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
-@%:@undef malloc])
-m4trace:configure.ac:38: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:38: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
-   and to 0 otherwise. */
-@%:@undef HAVE_REALLOC])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:38: -1- AC_SUBST([LIB@&t at OBJS], ["$LIB@&t at OBJS realloc.$ac_objext"])
-m4trace:configure.ac:38: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^LIB@&t at OBJS$])
-m4trace:configure.ac:38: -1- AC_LIBSOURCE([realloc.c])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([realloc])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^realloc$])
-m4trace:configure.ac:38: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
-@%:@undef realloc])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the `dup2\' function. */
-@%:@undef HAVE_DUP2])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */
-@%:@undef HAVE_GETCWD])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
-@%:@undef HAVE_MEMSET])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
-@%:@undef HAVE_SETENV])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
-@%:@undef HAVE_STRDUP])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
-@%:@undef HAVE_STRSTR])
-m4trace:configure.ac:48: -1- AC_SUBST([DEB_DEF])
-m4trace:configure.ac:48: -1- AC_SUBST_TRACE([DEB_DEF])
-m4trace:configure.ac:48: -1- m4_pattern_allow([^DEB_DEF$])
-m4trace:configure.ac:53: -1- AC_SUBST([CGI_DIR])
-m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CGI_DIR])
-m4trace:configure.ac:53: -1- m4_pattern_allow([^CGI_DIR$])
-m4trace:configure.ac:58: -1- AC_SUBST([RELY_ON_DB])
-m4trace:configure.ac:58: -1- AC_SUBST_TRACE([RELY_ON_DB])
-m4trace:configure.ac:58: -1- m4_pattern_allow([^RELY_ON_DB$])
-m4trace:configure.ac:88: -1- AH_OUTPUT([HAVE_LIBYAML], [/* Define to 1 if you have the `yaml\' library (-lyaml). */
-@%:@undef HAVE_LIBYAML])
-m4trace:configure.ac:88: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBYAML])
-m4trace:configure.ac:88: -1- m4_pattern_allow([^HAVE_LIBYAML$])
-m4trace:configure.ac:90: -1- AH_OUTPUT([HAVE_YAML_H], [/* Define to 1 if you have the <yaml.h> header file. */
-@%:@undef HAVE_YAML_H])
-m4trace:configure.ac:90: -1- AC_DEFINE_TRACE_LITERAL([HAVE_YAML_H])
-m4trace:configure.ac:90: -1- m4_pattern_allow([^HAVE_YAML_H$])
-m4trace:configure.ac:93: -1- AC_SUBST([YAML_CPPFLAGS])
-m4trace:configure.ac:93: -1- AC_SUBST_TRACE([YAML_CPPFLAGS])
-m4trace:configure.ac:93: -1- m4_pattern_allow([^YAML_CPPFLAGS$])
-m4trace:configure.ac:94: -1- AC_SUBST([YAML_LDFLAGS])
-m4trace:configure.ac:94: -1- AC_SUBST_TRACE([YAML_LDFLAGS])
-m4trace:configure.ac:94: -1- m4_pattern_allow([^YAML_LDFLAGS$])
-m4trace:configure.ac:95: -1- AC_SUBST([YAML_FILE])
-m4trace:configure.ac:95: -1- AC_SUBST_TRACE([YAML_FILE])
-m4trace:configure.ac:95: -1- m4_pattern_allow([^YAML_FILE$])
-m4trace:configure.ac:96: -1- AC_SUBST([YAML_FILE1])
-m4trace:configure.ac:96: -1- AC_SUBST_TRACE([YAML_FILE1])
-m4trace:configure.ac:96: -1- m4_pattern_allow([^YAML_FILE1$])
-m4trace:configure.ac:115: -1- AH_OUTPUT([HAVE_LIBFCGI], [/* Define to 1 if you have the `fcgi\' library (-lfcgi). */
-@%:@undef HAVE_LIBFCGI])
-m4trace:configure.ac:115: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBFCGI])
-m4trace:configure.ac:115: -1- m4_pattern_allow([^HAVE_LIBFCGI$])
-m4trace:configure.ac:117: -1- AH_OUTPUT([HAVE_FCGI_STDIO_H], [/* Define to 1 if you have the <fcgi_stdio.h> header file. */
-@%:@undef HAVE_FCGI_STDIO_H])
-m4trace:configure.ac:117: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCGI_STDIO_H])
-m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_FCGI_STDIO_H$])
-m4trace:configure.ac:119: -1- AC_SUBST([FCGI_CPPFLAGS])
-m4trace:configure.ac:119: -1- AC_SUBST_TRACE([FCGI_CPPFLAGS])
-m4trace:configure.ac:119: -1- m4_pattern_allow([^FCGI_CPPFLAGS$])
-m4trace:configure.ac:120: -1- AC_SUBST([FCGI_LDFLAGS])
-m4trace:configure.ac:120: -1- AC_SUBST_TRACE([FCGI_LDFLAGS])
-m4trace:configure.ac:120: -1- m4_pattern_allow([^FCGI_LDFLAGS$])
-m4trace:configure.ac:132: -1- AC_SUBST([XML2CONFIG])
-m4trace:configure.ac:132: -1- AC_SUBST_TRACE([XML2CONFIG])
-m4trace:configure.ac:132: -1- m4_pattern_allow([^XML2CONFIG$])
-m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXML_TREE_H], [/* Define to 1 if you have the <libxml/tree.h> header file. */
-@%:@undef HAVE_LIBXML_TREE_H])
-m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXML_PARSER_H], [/* Define to 1 if you have the <libxml/parser.h> header file. */
-@%:@undef HAVE_LIBXML_PARSER_H])
-m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXML_XPATH_H], [/* Define to 1 if you have the <libxml/xpath.h> header file. */
-@%:@undef HAVE_LIBXML_XPATH_H])
-m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXML_XPATHINTERNALS_H], [/* Define to 1 if you have the <libxml/xpathInternals.h> header file. */
-@%:@undef HAVE_LIBXML_XPATHINTERNALS_H])
-m4trace:configure.ac:164: -1- AH_OUTPUT([HAVE_LIBXML2], [/* Define to 1 if you have the `xml2\' library (-lxml2). */
-@%:@undef HAVE_LIBXML2])
-m4trace:configure.ac:164: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXML2])
-m4trace:configure.ac:164: -1- m4_pattern_allow([^HAVE_LIBXML2$])
-m4trace:configure.ac:166: -1- AC_SUBST([XML2_CPPFLAGS])
-m4trace:configure.ac:166: -1- AC_SUBST_TRACE([XML2_CPPFLAGS])
-m4trace:configure.ac:166: -1- m4_pattern_allow([^XML2_CPPFLAGS$])
-m4trace:configure.ac:167: -1- AC_SUBST([XML2_LDFLAGS])
-m4trace:configure.ac:167: -1- AC_SUBST_TRACE([XML2_LDFLAGS])
-m4trace:configure.ac:167: -1- m4_pattern_allow([^XML2_LDFLAGS$])
-m4trace:configure.ac:181: -1- AC_SUBST([XSLTCONFIG])
-m4trace:configure.ac:181: -1- AC_SUBST_TRACE([XSLTCONFIG])
-m4trace:configure.ac:181: -1- m4_pattern_allow([^XSLTCONFIG$])
-m4trace:configure.ac:208: -1- AH_OUTPUT([HAVE_LIBXSLT_XSLT_H], [/* Define to 1 if you have the <libxslt/xslt.h> header file. */
-@%:@undef HAVE_LIBXSLT_XSLT_H])
-m4trace:configure.ac:208: -1- AH_OUTPUT([HAVE_LIBXSLT_XSLTINTERNALS_H], [/* Define to 1 if you have the <libxslt/xsltInternals.h> header file. */
-@%:@undef HAVE_LIBXSLT_XSLTINTERNALS_H])
-m4trace:configure.ac:208: -1- AH_OUTPUT([HAVE_LIBXSLT_TRANSFORM_H], [/* Define to 1 if you have the <libxslt/transform.h> header file. */
-@%:@undef HAVE_LIBXSLT_TRANSFORM_H])
-m4trace:configure.ac:208: -1- AH_OUTPUT([HAVE_LIBXSLT_XSLTUTILS_H], [/* Define to 1 if you have the <libxslt/xsltutils.h> header file. */
-@%:@undef HAVE_LIBXSLT_XSLTUTILS_H])
-m4trace:configure.ac:210: -1- AC_SUBST([XSLT_CPPFLAGS])
-m4trace:configure.ac:210: -1- AC_SUBST_TRACE([XSLT_CPPFLAGS])
-m4trace:configure.ac:210: -1- m4_pattern_allow([^XSLT_CPPFLAGS$])
-m4trace:configure.ac:211: -1- AC_SUBST([XSLT_LDFLAGS])
-m4trace:configure.ac:211: -1- AC_SUBST_TRACE([XSLT_LDFLAGS])
-m4trace:configure.ac:211: -1- m4_pattern_allow([^XSLT_LDFLAGS$])
-m4trace:configure.ac:222: -1- AC_SUBST([GDAL_CONFIG])
-m4trace:configure.ac:222: -1- AC_SUBST_TRACE([GDAL_CONFIG])
-m4trace:configure.ac:222: -1- m4_pattern_allow([^GDAL_CONFIG$])
-m4trace:configure.ac:239: -1- AC_SUBST([GDAL_CFLAGS])
-m4trace:configure.ac:239: -1- AC_SUBST_TRACE([GDAL_CFLAGS])
-m4trace:configure.ac:239: -1- m4_pattern_allow([^GDAL_CFLAGS$])
-m4trace:configure.ac:240: -1- AC_SUBST([GDAL_LIBS])
-m4trace:configure.ac:240: -1- AC_SUBST_TRACE([GDAL_LIBS])
-m4trace:configure.ac:240: -1- m4_pattern_allow([^GDAL_LIBS$])
-m4trace:configure.ac:258: -1- AH_OUTPUT([HAVE_PROJ_API_H], [/* Define to 1 if you have the <proj_api.h> header file. */
-@%:@undef HAVE_PROJ_API_H])
-m4trace:configure.ac:258: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROJ_API_H])
-m4trace:configure.ac:258: -1- m4_pattern_allow([^HAVE_PROJ_API_H$])
-m4trace:configure.ac:260: -1- AC_SUBST([PROJ_CPPFLAGS])
-m4trace:configure.ac:260: -1- AC_SUBST_TRACE([PROJ_CPPFLAGS])
-m4trace:configure.ac:260: -1- m4_pattern_allow([^PROJ_CPPFLAGS$])
-m4trace:configure.ac:261: -1- AC_SUBST([PROJ_LDFLAGS])
-m4trace:configure.ac:261: -1- AC_SUBST_TRACE([PROJ_LDFLAGS])
-m4trace:configure.ac:261: -1- m4_pattern_allow([^PROJ_LDFLAGS$])
-m4trace:configure.ac:273: -1- AC_SUBST([GEOSCONFIG])
-m4trace:configure.ac:273: -1- AC_SUBST_TRACE([GEOSCONFIG])
-m4trace:configure.ac:273: -1- m4_pattern_allow([^GEOSCONFIG$])
-m4trace:configure.ac:299: -1- AH_OUTPUT([HAVE_GEOS_C_H], [/* Define to 1 if you have the <geos_c.h> header file. */
-@%:@undef HAVE_GEOS_C_H])
-m4trace:configure.ac:299: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GEOS_C_H])
-m4trace:configure.ac:299: -1- m4_pattern_allow([^HAVE_GEOS_C_H$])
-m4trace:configure.ac:301: -1- AC_SUBST([GEOS_CPPFLAGS])
-m4trace:configure.ac:301: -1- AC_SUBST_TRACE([GEOS_CPPFLAGS])
-m4trace:configure.ac:301: -1- m4_pattern_allow([^GEOS_CPPFLAGS$])
-m4trace:configure.ac:302: -1- AC_SUBST([GEOS_LDFLAGS])
-m4trace:configure.ac:302: -1- AC_SUBST_TRACE([GEOS_LDFLAGS])
-m4trace:configure.ac:302: -1- m4_pattern_allow([^GEOS_LDFLAGS$])
-m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H], [/* Define to 1 if you have the <CGAL/Delaunay_triangulation_2.h> header file.
-   */
-@%:@undef HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H])
-m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H])
-m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H$])
-m4trace:configure.ac:325: -1- AC_SUBST([CGAL_CPPFLAGS])
-m4trace:configure.ac:325: -1- AC_SUBST_TRACE([CGAL_CPPFLAGS])
-m4trace:configure.ac:325: -1- m4_pattern_allow([^CGAL_CPPFLAGS$])
-m4trace:configure.ac:326: -1- AC_SUBST([CGAL_LDFLAGS])
-m4trace:configure.ac:326: -1- AC_SUBST_TRACE([CGAL_LDFLAGS])
-m4trace:configure.ac:326: -1- m4_pattern_allow([^CGAL_LDFLAGS$])
-m4trace:configure.ac:362: -1- AC_SUBST([MS_CFLAGS])
-m4trace:configure.ac:362: -1- AC_SUBST_TRACE([MS_CFLAGS])
-m4trace:configure.ac:362: -1- m4_pattern_allow([^MS_CFLAGS$])
-m4trace:configure.ac:363: -1- AC_SUBST([MS_LIBS])
-m4trace:configure.ac:363: -1- AC_SUBST_TRACE([MS_LIBS])
-m4trace:configure.ac:363: -1- m4_pattern_allow([^MS_LIBS$])
-m4trace:configure.ac:364: -1- AC_SUBST([MS_FILE])
-m4trace:configure.ac:364: -1- AC_SUBST_TRACE([MS_FILE])
-m4trace:configure.ac:364: -1- m4_pattern_allow([^MS_FILE$])
-m4trace:configure.ac:390: -1- AC_SUBST([PYTHONCONFIG])
-m4trace:configure.ac:390: -1- AC_SUBST_TRACE([PYTHONCONFIG])
-m4trace:configure.ac:390: -1- m4_pattern_allow([^PYTHONCONFIG$])
-m4trace:configure.ac:392: -1- AC_SUBST([PYTHONCONFIG])
-m4trace:configure.ac:392: -1- AC_SUBST_TRACE([PYTHONCONFIG])
-m4trace:configure.ac:392: -1- m4_pattern_allow([^PYTHONCONFIG$])
-m4trace:configure.ac:406: -1- AH_OUTPUT([HAVE_PYTHON_H], [/* Define to 1 if you have the <Python.h> header file. */
-@%:@undef HAVE_PYTHON_H])
-m4trace:configure.ac:406: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PYTHON_H])
-m4trace:configure.ac:406: -1- m4_pattern_allow([^HAVE_PYTHON_H$])
-m4trace:configure.ac:413: -1- AC_SUBST([PYTHON_CPPFLAGS])
-m4trace:configure.ac:413: -1- AC_SUBST_TRACE([PYTHON_CPPFLAGS])
-m4trace:configure.ac:413: -1- m4_pattern_allow([^PYTHON_CPPFLAGS$])
-m4trace:configure.ac:414: -1- AC_SUBST([PYTHON_LDFLAGS])
-m4trace:configure.ac:414: -1- AC_SUBST_TRACE([PYTHON_LDFLAGS])
-m4trace:configure.ac:414: -1- m4_pattern_allow([^PYTHON_LDFLAGS$])
-m4trace:configure.ac:418: -1- AC_SUBST([PYTHON_ENABLED])
-m4trace:configure.ac:418: -1- AC_SUBST_TRACE([PYTHON_ENABLED])
-m4trace:configure.ac:418: -1- m4_pattern_allow([^PYTHON_ENABLED$])
-m4trace:configure.ac:419: -1- AC_SUBST([PYTHON_FILE])
-m4trace:configure.ac:419: -1- AC_SUBST_TRACE([PYTHON_FILE])
-m4trace:configure.ac:419: -1- m4_pattern_allow([^PYTHON_FILE$])
-m4trace:configure.ac:469: -1- AH_OUTPUT([HAVE_JSAPI_H], [/* Define to 1 if you have the <jsapi.h> header file. */
-@%:@undef HAVE_JSAPI_H])
-m4trace:configure.ac:469: -1- AC_SUBST([CXXCPP])
-m4trace:configure.ac:469: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:configure.ac:469: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:configure.ac:469: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:469: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:469: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:469: -1- AC_SUBST([CXXCPP])
-m4trace:configure.ac:469: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:configure.ac:469: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:configure.ac:469: -1- AC_DEFINE_TRACE_LITERAL([HAVE_JSAPI_H])
-m4trace:configure.ac:469: -1- m4_pattern_allow([^HAVE_JSAPI_H$])
-m4trace:configure.ac:478: -1- AC_SUBST([JS_CPPFLAGS])
-m4trace:configure.ac:478: -1- AC_SUBST_TRACE([JS_CPPFLAGS])
-m4trace:configure.ac:478: -1- m4_pattern_allow([^JS_CPPFLAGS$])
-m4trace:configure.ac:479: -1- AC_SUBST([JS_LDFLAGS])
-m4trace:configure.ac:479: -1- AC_SUBST_TRACE([JS_LDFLAGS])
-m4trace:configure.ac:479: -1- m4_pattern_allow([^JS_LDFLAGS$])
-m4trace:configure.ac:482: -1- AC_SUBST([JS_ENABLED])
-m4trace:configure.ac:482: -1- AC_SUBST_TRACE([JS_ENABLED])
-m4trace:configure.ac:482: -1- m4_pattern_allow([^JS_ENABLED$])
-m4trace:configure.ac:483: -1- AC_SUBST([JS_FILE])
-m4trace:configure.ac:483: -1- AC_SUBST_TRACE([JS_FILE])
-m4trace:configure.ac:483: -1- m4_pattern_allow([^JS_FILE$])
-m4trace:configure.ac:503: -1- AC_SUBST([PHPCONFIG])
-m4trace:configure.ac:503: -1- AC_SUBST_TRACE([PHPCONFIG])
-m4trace:configure.ac:503: -1- m4_pattern_allow([^PHPCONFIG$])
-m4trace:configure.ac:516: -1- AH_OUTPUT([HAVE_SAPI_EMBED_PHP_EMBED_H], [/* Define to 1 if you have the <sapi/embed/php_embed.h> header file. */
-@%:@undef HAVE_SAPI_EMBED_PHP_EMBED_H])
-m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SAPI_EMBED_PHP_EMBED_H])
-m4trace:configure.ac:516: -1- m4_pattern_allow([^HAVE_SAPI_EMBED_PHP_EMBED_H$])
-m4trace:configure.ac:522: -1- AH_OUTPUT([HAVE_LIBPHP5], [/* Define to 1 if you have the `php5\' library (-lphp5). */
-@%:@undef HAVE_LIBPHP5])
-m4trace:configure.ac:522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPHP5])
-m4trace:configure.ac:522: -1- m4_pattern_allow([^HAVE_LIBPHP5$])
-m4trace:configure.ac:524: -1- AC_SUBST([PHP_CPPFLAGS])
-m4trace:configure.ac:524: -1- AC_SUBST_TRACE([PHP_CPPFLAGS])
-m4trace:configure.ac:524: -1- m4_pattern_allow([^PHP_CPPFLAGS$])
-m4trace:configure.ac:525: -1- AC_SUBST([PHP_LDFLAGS])
-m4trace:configure.ac:525: -1- AC_SUBST_TRACE([PHP_LDFLAGS])
-m4trace:configure.ac:525: -1- m4_pattern_allow([^PHP_LDFLAGS$])
-m4trace:configure.ac:528: -1- AC_SUBST([PHP_ENABLED])
-m4trace:configure.ac:528: -1- AC_SUBST_TRACE([PHP_ENABLED])
-m4trace:configure.ac:528: -1- m4_pattern_allow([^PHP_ENABLED$])
-m4trace:configure.ac:529: -1- AC_SUBST([PHP_FILE])
-m4trace:configure.ac:529: -1- AC_SUBST_TRACE([PHP_FILE])
-m4trace:configure.ac:529: -1- m4_pattern_allow([^PHP_FILE$])
-m4trace:configure.ac:573: -1- AH_OUTPUT([HAVE_JNI_H], [/* Define to 1 if you have the <jni.h> header file. */
-@%:@undef HAVE_JNI_H])
-m4trace:configure.ac:573: -1- AC_DEFINE_TRACE_LITERAL([HAVE_JNI_H])
-m4trace:configure.ac:573: -1- m4_pattern_allow([^HAVE_JNI_H$])
-m4trace:configure.ac:580: -1- AH_OUTPUT([HAVE_LIBJVM], [/* Define to 1 if you have the `jvm\' library (-ljvm). */
-@%:@undef HAVE_LIBJVM])
-m4trace:configure.ac:580: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBJVM])
-m4trace:configure.ac:580: -1- m4_pattern_allow([^HAVE_LIBJVM$])
-m4trace:configure.ac:584: -1- AC_SUBST([JAVA_CPPFLAGS])
-m4trace:configure.ac:584: -1- AC_SUBST_TRACE([JAVA_CPPFLAGS])
-m4trace:configure.ac:584: -1- m4_pattern_allow([^JAVA_CPPFLAGS$])
-m4trace:configure.ac:585: -1- AC_SUBST([JAVA_LDFLAGS])
-m4trace:configure.ac:585: -1- AC_SUBST_TRACE([JAVA_LDFLAGS])
-m4trace:configure.ac:585: -1- m4_pattern_allow([^JAVA_LDFLAGS$])
-m4trace:configure.ac:588: -1- AC_SUBST([JAVA_ENABLED])
-m4trace:configure.ac:588: -1- AC_SUBST_TRACE([JAVA_ENABLED])
-m4trace:configure.ac:588: -1- m4_pattern_allow([^JAVA_ENABLED$])
-m4trace:configure.ac:589: -1- AC_SUBST([JAVA_FILE])
-m4trace:configure.ac:589: -1- AC_SUBST_TRACE([JAVA_FILE])
-m4trace:configure.ac:589: -1- m4_pattern_allow([^JAVA_FILE$])
-m4trace:configure.ac:617: -1- AH_OUTPUT([HAVE_RUBY_H], [/* Define to 1 if you have the <ruby.h> header file. */
-@%:@undef HAVE_RUBY_H])
-m4trace:configure.ac:617: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RUBY_H])
-m4trace:configure.ac:617: -1- m4_pattern_allow([^HAVE_RUBY_H$])
-m4trace:configure.ac:624: -1- AC_SUBST([RUBY_CPPFLAGS])
-m4trace:configure.ac:624: -1- AC_SUBST_TRACE([RUBY_CPPFLAGS])
-m4trace:configure.ac:624: -1- m4_pattern_allow([^RUBY_CPPFLAGS$])
-m4trace:configure.ac:625: -1- AC_SUBST([RUBY_LDFLAGS])
-m4trace:configure.ac:625: -1- AC_SUBST_TRACE([RUBY_LDFLAGS])
-m4trace:configure.ac:625: -1- m4_pattern_allow([^RUBY_LDFLAGS$])
-m4trace:configure.ac:628: -1- AC_SUBST([RUBY_ENABLED])
-m4trace:configure.ac:628: -1- AC_SUBST_TRACE([RUBY_ENABLED])
-m4trace:configure.ac:628: -1- m4_pattern_allow([^RUBY_ENABLED$])
-m4trace:configure.ac:629: -1- AC_SUBST([RUBY_FILE])
-m4trace:configure.ac:629: -1- AC_SUBST_TRACE([RUBY_FILE])
-m4trace:configure.ac:629: -1- m4_pattern_allow([^RUBY_FILE$])
-m4trace:configure.ac:648: -1- AC_SUBST([PERLCONFIG])
-m4trace:configure.ac:648: -1- AC_SUBST_TRACE([PERLCONFIG])
-m4trace:configure.ac:648: -1- m4_pattern_allow([^PERLCONFIG$])
-m4trace:configure.ac:661: -1- AH_OUTPUT([HAVE_EXTERN_H], [/* Define to 1 if you have the <EXTERN.h> header file. */
-@%:@undef HAVE_EXTERN_H])
-m4trace:configure.ac:661: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXTERN_H])
-m4trace:configure.ac:661: -1- m4_pattern_allow([^HAVE_EXTERN_H$])
-m4trace:configure.ac:663: -1- AC_SUBST([PERL_CPPFLAGS])
-m4trace:configure.ac:663: -1- AC_SUBST_TRACE([PERL_CPPFLAGS])
-m4trace:configure.ac:663: -1- m4_pattern_allow([^PERL_CPPFLAGS$])
-m4trace:configure.ac:664: -1- AC_SUBST([PERL_LDFLAGS])
-m4trace:configure.ac:664: -1- AC_SUBST_TRACE([PERL_LDFLAGS])
-m4trace:configure.ac:664: -1- m4_pattern_allow([^PERL_LDFLAGS$])
-m4trace:configure.ac:667: -1- AC_SUBST([PERL_ENABLED])
-m4trace:configure.ac:667: -1- AC_SUBST_TRACE([PERL_ENABLED])
-m4trace:configure.ac:667: -1- m4_pattern_allow([^PERL_ENABLED$])
-m4trace:configure.ac:668: -1- AC_SUBST([PERL_FILE])
-m4trace:configure.ac:668: -1- AC_SUBST_TRACE([PERL_FILE])
-m4trace:configure.ac:668: -1- m4_pattern_allow([^PERL_FILE$])
-m4trace:configure.ac:709: -1- AH_OUTPUT([HAVE_OTBWRAPPERAPPLICATION_H], [/* Define to 1 if you have the <otbWrapperApplication.h> header file. */
-@%:@undef HAVE_OTBWRAPPERAPPLICATION_H])
-m4trace:configure.ac:709: -1- AH_OUTPUT([HAVE_OTBWRAPPERINPUTIMAGELISTPARAMETER_H], [/* Define to 1 if you have the <otbWrapperInputImageListParameter.h> header
-   file. */
-@%:@undef HAVE_OTBWRAPPERINPUTIMAGELISTPARAMETER_H])
-m4trace:configure.ac:709: -1- AH_OUTPUT([HAVE_OTBWRAPPERAPPLICATIONREGISTRY_H], [/* Define to 1 if you have the <otbWrapperApplicationRegistry.h> header file.
-   */
-@%:@undef HAVE_OTBWRAPPERAPPLICATIONREGISTRY_H])
-m4trace:configure.ac:719: -1- AC_SUBST([OTB_CPPFLAGS])
-m4trace:configure.ac:719: -1- AC_SUBST_TRACE([OTB_CPPFLAGS])
-m4trace:configure.ac:719: -1- m4_pattern_allow([^OTB_CPPFLAGS$])
-m4trace:configure.ac:720: -1- AC_SUBST([OTB_LDFLAGS])
-m4trace:configure.ac:720: -1- AC_SUBST_TRACE([OTB_LDFLAGS])
-m4trace:configure.ac:720: -1- m4_pattern_allow([^OTB_LDFLAGS$])
-m4trace:configure.ac:721: -1- AC_SUBST([OTB_FILE])
-m4trace:configure.ac:721: -1- AC_SUBST_TRACE([OTB_FILE])
-m4trace:configure.ac:721: -1- m4_pattern_allow([^OTB_FILE$])
-m4trace:configure.ac:722: -1- AC_SUBST([OTB_ENABLED])
-m4trace:configure.ac:722: -1- AC_SUBST_TRACE([OTB_ENABLED])
-m4trace:configure.ac:722: -1- m4_pattern_allow([^OTB_ENABLED$])
-m4trace:configure.ac:763: -1- AH_OUTPUT([HAVE_MODULE_LIBRARY_H], [/* Define to 1 if you have the <module_library.h> header file. */
-@%:@undef HAVE_MODULE_LIBRARY_H])
-m4trace:configure.ac:763: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MODULE_LIBRARY_H])
-m4trace:configure.ac:763: -1- m4_pattern_allow([^HAVE_MODULE_LIBRARY_H$])
-m4trace:configure.ac:769: -1- AC_SUBST([SAGA_CPPFLAGS])
-m4trace:configure.ac:769: -1- AC_SUBST_TRACE([SAGA_CPPFLAGS])
-m4trace:configure.ac:769: -1- m4_pattern_allow([^SAGA_CPPFLAGS$])
-m4trace:configure.ac:770: -1- AC_SUBST([SAGA_LDFLAGS])
-m4trace:configure.ac:770: -1- AC_SUBST_TRACE([SAGA_LDFLAGS])
-m4trace:configure.ac:770: -1- m4_pattern_allow([^SAGA_LDFLAGS$])
-m4trace:configure.ac:771: -1- AC_SUBST([SAGA_FILE])
-m4trace:configure.ac:771: -1- AC_SUBST_TRACE([SAGA_FILE])
-m4trace:configure.ac:771: -1- m4_pattern_allow([^SAGA_FILE$])
-m4trace:configure.ac:772: -1- AC_SUBST([SAGA_ENABLED])
-m4trace:configure.ac:772: -1- AC_SUBST_TRACE([SAGA_ENABLED])
-m4trace:configure.ac:772: -1- m4_pattern_allow([^SAGA_ENABLED$])
-m4trace:configure.ac:774: -1- AC_CONFIG_FILES([Makefile])
-m4trace:configure.ac:775: -1- AC_CONFIG_FILES([ZOOMakefile.opts])
-m4trace:configure.ac:776: -1- AC_SUBST([LIB@&t at OBJS], [$ac_libobjs])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
-m4trace:configure.ac:776: -1- m4_pattern_allow([^LIB@&t at OBJS$])
-m4trace:configure.ac:776: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:776: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:776: -1- AC_SUBST_TRACE([abs_top_builddir])
diff --git a/zoo-project/zoo-kernel/caching.c b/zoo-project/zoo-kernel/caching.c
index 82ca669..b706154 100644
--- a/zoo-project/zoo-kernel/caching.c
+++ b/zoo-project/zoo-kernel/caching.c
@@ -302,7 +302,7 @@ void addRequestToQueue(maps** m,HINTERNET* hInternet,const char* url,bool req){
  * @return 0
  */
 int loadRemoteFile(maps** m,map** content,HINTERNET* hInternet,char *url){
-  char* fcontent;
+  char* fcontent = NULL;
   char* cached=isInCache(*m,url);
   char *mimeType=NULL;
   int fsize=0;
@@ -352,7 +352,7 @@ int loadRemoteFile(maps** m,map** content,HINTERNET* hInternet,char *url){
   free(tmpMap->value);
 
   tmpMap->value=(char*)malloc((fsize+1)*sizeof(char));
-  if(tmpMap->value==NULL)
+  if(tmpMap->value==NULL || fcontent == NULL)
     return errorException(*m, _("Unable to allocate memory"), "InternalError",NULL);
   memcpy(tmpMap->value,fcontent,(fsize+1)*sizeof(char));
 
diff --git a/zoo-project/zoo-kernel/config.log b/zoo-project/zoo-kernel/config.log
deleted file mode 100644
index db6dcca..0000000
--- a/zoo-project/zoo-kernel/config.log
+++ /dev/null
@@ -1,5747 +0,0 @@
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by ZOO Kernel configure 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  $ ./configure --with-python=yes --with-pyvers=2.7 --with-js=/usr/local/ --with-mapserver=/Users/djay/MapMint/src/mapserver-6.2.0/ --with-gdal-config=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config --with-proj=/Library/Frameworks/PROJ.framework/unix --with-fastcgi=/usr/local/ --with-yaml=/usr/local/ --with-java=macos --with-geosconfig=/Library/Frameworks/GEOS.framework/unix/bin/geos-config --with-otb=/usr/local/ --with-saga=/usr/local/ --with-db-backend
-
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = MBP-de-Fenoy-2.home
-uname -m = x86_64
-uname -r = 14.3.0
-uname -s = Darwin
-uname -v = Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
-
-/usr/bin/uname -p = i386
-/bin/uname -X     = unknown
-
-/bin/arch              = unknown
-/usr/bin/arch -k       = unknown
-/usr/convex/getsysinfo = unknown
-/usr/bin/hostinfo      = Mach kernel version:
-	 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
-Kernel configured for up to 8 processors.
-4 processors are physically available.
-8 processors are logically available.
-Processor type: i486 (Intel 80486)
-Processors active: 0 1 2 3 4 5 6 7
-Primary memory available: 16.00 gigabytes
-Default processor set: 309 tasks, 1497 threads, 8 processors
-Load average: 2.41, Mach factor: 5.58
-/bin/machine           = unknown
-/usr/bin/oslevel       = unknown
-/bin/universe          = unknown
-
-PATH: /usr/local/bin
-PATH: /usr/bin
-PATH: /bin
-PATH: /usr/sbin
-PATH: /sbin
-PATH: /opt/X11/bin
-PATH: /usr/local/MacGPG2/bin
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-configure:2646: checking for bison
-configure:2662: found /usr/bin/bison
-configure:2673: result: bison -y
-configure:2733: checking for gcc
-configure:2749: found /usr/bin/gcc
-configure:2760: result: gcc
-configure:2989: checking for C compiler version
-configure:2998: gcc --version >&5
-Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
-Target: x86_64-apple-darwin14.3.0
-Thread model: posix
-Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
-configure:3009: $? = 0
-configure:2998: gcc -v >&5
-Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
-Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
-Target: x86_64-apple-darwin14.3.0
-Thread model: posix
-configure:3009: $? = 0
-configure:2998: gcc -V >&5
-clang: error: argument to '-V' is missing (expected 1 value)
-clang: error: no input files
-configure:3009: $? = 1
-configure:2998: gcc -qversion >&5
-clang: error: unknown argument: '-qversion'
-clang: error: no input files
-configure:3009: $? = 1
-configure:3029: checking whether the C compiler works
-configure:3051: gcc    conftest.c  >&5
-configure:3055: $? = 0
-configure:3103: result: yes
-configure:3106: checking for C compiler default output file name
-configure:3108: result: a.out
-configure:3114: checking for suffix of executables
-configure:3121: gcc -o conftest    conftest.c  >&5
-configure:3125: $? = 0
-configure:3147: result: 
-configure:3169: checking whether we are cross compiling
-configure:3177: gcc -o conftest    conftest.c  >&5
-configure:3181: $? = 0
-configure:3188: ./conftest
-configure:3192: $? = 0
-configure:3207: result: no
-configure:3212: checking for suffix of object files
-configure:3234: gcc -c   conftest.c >&5
-configure:3238: $? = 0
-configure:3259: result: o
-configure:3263: checking whether we are using the GNU C compiler
-configure:3282: gcc -c   conftest.c >&5
-configure:3282: $? = 0
-configure:3291: result: yes
-configure:3300: checking whether gcc accepts -g
-configure:3320: gcc -c -g  conftest.c >&5
-configure:3320: $? = 0
-configure:3361: result: yes
-configure:3378: checking for gcc option to accept ISO C89
-configure:3441: gcc  -c -g -O2  conftest.c >&5
-configure:3441: $? = 0
-configure:3454: result: none needed
-configure:3479: checking for flex
-configure:3495: found /usr/bin/flex
-configure:3506: result: flex
-configure:3544: flex conftest.l
-configure:3548: $? = 0
-configure:3550: checking lex output file root
-configure:3564: result: lex.yy
-configure:3569: checking lex library
-configure:3583: gcc -o conftest -g -O2   conftest.c   >&5
-Undefined symbols for architecture x86_64:
-  "_yywrap", referenced from:
-      _yylex in conftest-ae0f70.o
-      _main in conftest-ae0f70.o
-ld: symbol(s) not found for architecture x86_64
-clang: error: linker command failed with exit code 1 (use -v to see invocation)
-configure:3583: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| /* end confdefs.h.  */
-| 
-| #line 3 "lex.yy.c"
-| 
-| #define  YY_INT_ALIGNED short int
-| 
-| /* A lexical scanner generated by flex */
-| 
-| #define FLEX_SCANNER
-| #define YY_FLEX_MAJOR_VERSION 2
-| #define YY_FLEX_MINOR_VERSION 5
-| #define YY_FLEX_SUBMINOR_VERSION 35
-| #if YY_FLEX_SUBMINOR_VERSION > 0
-| #define FLEX_BETA
-| #endif
-| 
-| /* First, we deal with  platform-specific or compiler-specific issues. */
-| 
-| /* begin standard C headers. */
-| #include <stdio.h>
-| #include <string.h>
-| #include <errno.h>
-| #include <stdlib.h>
-| 
-| /* end standard C headers. */
-| 
-| /* flex integer type definitions */
-| 
-| #ifndef FLEXINT_H
-| #define FLEXINT_H
-| 
-| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-| 
-| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-| 
-| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
-|  * if you want the limit (max/min) macros for int types. 
-|  */
-| #ifndef __STDC_LIMIT_MACROS
-| #define __STDC_LIMIT_MACROS 1
-| #endif
-| 
-| #include <inttypes.h>
-| typedef int8_t flex_int8_t;
-| typedef uint8_t flex_uint8_t;
-| typedef int16_t flex_int16_t;
-| typedef uint16_t flex_uint16_t;
-| typedef int32_t flex_int32_t;
-| typedef uint32_t flex_uint32_t;
-| typedef uint64_t flex_uint64_t;
-| #else
-| typedef signed char flex_int8_t;
-| typedef short int flex_int16_t;
-| typedef int flex_int32_t;
-| typedef unsigned char flex_uint8_t; 
-| typedef unsigned short int flex_uint16_t;
-| typedef unsigned int flex_uint32_t;
-| #endif /* ! C99 */
-| 
-| /* Limits of integral types. */
-| #ifndef INT8_MIN
-| #define INT8_MIN               (-128)
-| #endif
-| #ifndef INT16_MIN
-| #define INT16_MIN              (-32767-1)
-| #endif
-| #ifndef INT32_MIN
-| #define INT32_MIN              (-2147483647-1)
-| #endif
-| #ifndef INT8_MAX
-| #define INT8_MAX               (127)
-| #endif
-| #ifndef INT16_MAX
-| #define INT16_MAX              (32767)
-| #endif
-| #ifndef INT32_MAX
-| #define INT32_MAX              (2147483647)
-| #endif
-| #ifndef UINT8_MAX
-| #define UINT8_MAX              (255U)
-| #endif
-| #ifndef UINT16_MAX
-| #define UINT16_MAX             (65535U)
-| #endif
-| #ifndef UINT32_MAX
-| #define UINT32_MAX             (4294967295U)
-| #endif
-| 
-| #endif /* ! FLEXINT_H */
-| 
-| #ifdef __cplusplus
-| 
-| /* The "const" storage-class-modifier is valid. */
-| #define YY_USE_CONST
-| 
-| #else	/* ! __cplusplus */
-| 
-| /* C99 requires __STDC__ to be defined as 1. */
-| #if defined (__STDC__)
-| 
-| #define YY_USE_CONST
-| 
-| #endif	/* defined (__STDC__) */
-| #endif	/* ! __cplusplus */
-| 
-| #ifdef YY_USE_CONST
-| #define yyconst const
-| #else
-| #define yyconst
-| #endif
-| 
-| /* Returned upon end-of-file. */
-| #define YY_NULL 0
-| 
-| /* Promotes a possibly negative, possibly signed char to an unsigned
-|  * integer for use as an array index.  If the signed char is negative,
-|  * we want to instead treat it as an 8-bit unsigned char, hence the
-|  * double cast.
-|  */
-| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-| 
-| /* Enter a start condition.  This macro really ought to take a parameter,
-|  * but we do it the disgusting crufty way forced on us by the ()-less
-|  * definition of BEGIN.
-|  */
-| #define BEGIN (yy_start) = 1 + 2 *
-| 
-| /* Translate the current start state into a value that can be later handed
-|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
-|  * compatibility.
-|  */
-| #define YY_START (((yy_start) - 1) / 2)
-| #define YYSTATE YY_START
-| 
-| /* Action number for EOF rule of a given start state. */
-| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-| 
-| /* Special action meaning "start processing a new file". */
-| #define YY_NEW_FILE yyrestart(yyin  )
-| 
-| #define YY_END_OF_BUFFER_CHAR 0
-| 
-| /* Size of default input buffer. */
-| #ifndef YY_BUF_SIZE
-| #define YY_BUF_SIZE 16384
-| #endif
-| 
-| /* The state buf must be large enough to hold one state per character in the main buffer.
-|  */
-| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
-| 
-| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
-| #define YY_TYPEDEF_YY_BUFFER_STATE
-| typedef struct yy_buffer_state *YY_BUFFER_STATE;
-| #endif
-| 
-| #ifndef YY_TYPEDEF_YY_SIZE_T
-| #define YY_TYPEDEF_YY_SIZE_T
-| typedef size_t yy_size_t;
-| #endif
-| 
-| extern yy_size_t yyleng;
-| 
-| extern FILE *yyin, *yyout;
-| 
-| #define EOB_ACT_CONTINUE_SCAN 0
-| #define EOB_ACT_END_OF_FILE 1
-| #define EOB_ACT_LAST_MATCH 2
-| 
-|     #define YY_LESS_LINENO(n)
-|     
-| /* Return all but the first "n" matched characters back to the input stream. */
-| #define yyless(n) \
-| 	do \
-| 		{ \
-| 		/* Undo effects of setting up yytext. */ \
-|         int yyless_macro_arg = (n); \
-|         YY_LESS_LINENO(yyless_macro_arg);\
-| 		*yy_cp = (yy_hold_char); \
-| 		YY_RESTORE_YY_MORE_OFFSET \
-| 		(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
-| 		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
-| 		} \
-| 	while ( 0 )
-| 
-| #define unput(c) yyunput( c, (yytext_ptr)  )
-| 
-| #ifndef YY_STRUCT_YY_BUFFER_STATE
-| #define YY_STRUCT_YY_BUFFER_STATE
-| struct yy_buffer_state
-| 	{
-| 	FILE *yy_input_file;
-| 
-| 	char *yy_ch_buf;		/* input buffer */
-| 	char *yy_buf_pos;		/* current position in input buffer */
-| 
-| 	/* Size of input buffer in bytes, not including room for EOB
-| 	 * characters.
-| 	 */
-| 	yy_size_t yy_buf_size;
-| 
-| 	/* Number of characters read into yy_ch_buf, not including EOB
-| 	 * characters.
-| 	 */
-| 	yy_size_t yy_n_chars;
-| 
-| 	/* Whether we "own" the buffer - i.e., we know we created it,
-| 	 * and can realloc() it to grow it, and should free() it to
-| 	 * delete it.
-| 	 */
-| 	int yy_is_our_buffer;
-| 
-| 	/* Whether this is an "interactive" input source; if so, and
-| 	 * if we're using stdio for input, then we want to use getc()
-| 	 * instead of fread(), to make sure we stop fetching input after
-| 	 * each newline.
-| 	 */
-| 	int yy_is_interactive;
-| 
-| 	/* Whether we're considered to be at the beginning of a line.
-| 	 * If so, '^' rules will be active on the next match, otherwise
-| 	 * not.
-| 	 */
-| 	int yy_at_bol;
-| 
-|     int yy_bs_lineno; /**< The line count. */
-|     int yy_bs_column; /**< The column count. */
-|     
-| 	/* Whether to try to fill the input buffer when we reach the
-| 	 * end of it.
-| 	 */
-| 	int yy_fill_buffer;
-| 
-| 	int yy_buffer_status;
-| 
-| #define YY_BUFFER_NEW 0
-| #define YY_BUFFER_NORMAL 1
-| 	/* When an EOF's been seen but there's still some text to process
-| 	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
-| 	 * shouldn't try reading from the input source any more.  We might
-| 	 * still have a bunch of tokens to match, though, because of
-| 	 * possible backing-up.
-| 	 *
-| 	 * When we actually see the EOF, we change the status to "new"
-| 	 * (via yyrestart()), so that the user can continue scanning by
-| 	 * just pointing yyin at a new input file.
-| 	 */
-| #define YY_BUFFER_EOF_PENDING 2
-| 
-| 	};
-| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
-| 
-| /* Stack of input buffers. */
-| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
-| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
-| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
-| 
-| /* We provide macros for accessing buffer states in case in the
-|  * future we want to put the buffer states in a more general
-|  * "scanner state".
-|  *
-|  * Returns the top of the stack, or NULL.
-|  */
-| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
-|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
-|                           : NULL)
-| 
-| /* Same as previous macro, but useful when we know that the buffer stack is not
-|  * NULL or when we need an lvalue. For internal use only.
-|  */
-| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
-| 
-| /* yy_hold_char holds the character lost when yytext is formed. */
-| static char yy_hold_char;
-| static yy_size_t yy_n_chars;		/* number of characters read into yy_ch_buf */
-| yy_size_t yyleng;
-| 
-| /* Points to current character in buffer. */
-| static char *yy_c_buf_p = (char *) 0;
-| static int yy_init = 0;		/* whether we need to initialize */
-| static int yy_start = 0;	/* start state number */
-| 
-| /* Flag which is used to allow yywrap()'s to do buffer switches
-|  * instead of setting up a fresh yyin.  A bit of a hack ...
-|  */
-| static int yy_did_buffer_switch_on_eof;
-| 
-| void yyrestart (FILE *input_file  );
-| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
-| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
-| void yy_delete_buffer (YY_BUFFER_STATE b  );
-| void yy_flush_buffer (YY_BUFFER_STATE b  );
-| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
-| void yypop_buffer_state (void );
-| 
-| static void yyensure_buffer_stack (void );
-| static void yy_load_buffer_state (void );
-| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
-| 
-| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
-| 
-| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
-| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
-| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
-| 
-| void *yyalloc (yy_size_t  );
-| void *yyrealloc (void *,yy_size_t  );
-| void yyfree (void *  );
-| 
-| #define yy_new_buffer yy_create_buffer
-| 
-| #define yy_set_interactive(is_interactive) \
-| 	{ \
-| 	if ( ! YY_CURRENT_BUFFER ){ \
-|         yyensure_buffer_stack (); \
-| 		YY_CURRENT_BUFFER_LVALUE =    \
-|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
-| 	} \
-| 	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
-| 	}
-| 
-| #define yy_set_bol(at_bol) \
-| 	{ \
-| 	if ( ! YY_CURRENT_BUFFER ){\
-|         yyensure_buffer_stack (); \
-| 		YY_CURRENT_BUFFER_LVALUE =    \
-|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
-| 	} \
-| 	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
-| 	}
-| 
-| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
-| 
-| /* Begin user sect3 */
-| 
-| typedef unsigned char YY_CHAR;
-| 
-| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
-| 
-| typedef int yy_state_type;
-| 
-| extern int yylineno;
-| 
-| int yylineno = 1;
-| 
-| extern char *yytext;
-| #define yytext_ptr yytext
-| 
-| static yy_state_type yy_get_previous_state (void );
-| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
-| static int yy_get_next_buffer (void );
-| static void yy_fatal_error (yyconst char msg[]  );
-| 
-| /* Done after the current pattern has been matched and before the
-|  * corresponding action - sets up yytext.
-|  */
-| #define YY_DO_BEFORE_ACTION \
-| 	(yytext_ptr) = yy_bp; \
-| 	(yytext_ptr) -= (yy_more_len); \
-| 	yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
-| 	(yy_hold_char) = *yy_cp; \
-| 	*yy_cp = '\0'; \
-| 	(yy_c_buf_p) = yy_cp;
-| 
-| #define YY_NUM_RULES 8
-| #define YY_END_OF_BUFFER 9
-| /* This struct is not used in this scanner,
-|    but its presence is necessary. */
-| struct yy_trans_info
-| 	{
-| 	flex_int32_t yy_verify;
-| 	flex_int32_t yy_nxt;
-| 	};
-| static yyconst flex_int16_t yy_acclist[23] =
-|     {   0,
-|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
-|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
-|         7,    8
-|     } ;
-| 
-| static yyconst flex_int16_t yy_accept[14] =
-|     {   0,
-|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
-|        20,   23,   23
-|     } ;
-| 
-| static yyconst flex_int32_t yy_ec[256] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
-| 
-|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-| 
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1
-|     } ;
-| 
-| static yyconst flex_int32_t yy_meta[9] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1
-|     } ;
-| 
-| static yyconst flex_int16_t yy_base[13] =
-|     {   0,
-|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
-|        10,   10
-|     } ;
-| 
-| static yyconst flex_int16_t yy_def[13] =
-|     {   0,
-|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
-|        12,    0
-|     } ;
-| 
-| static yyconst flex_int16_t yy_nxt[19] =
-|     {   0,
-|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
-|        12,   12,   12,   12,   12,   12,   12,   12
-|     } ;
-| 
-| static yyconst flex_int16_t yy_chk[19] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
-|        12,   12,   12,   12,   12,   12,   12,   12
-|     } ;
-| 
-| extern int yy_flex_debug;
-| int yy_flex_debug = 0;
-| 
-| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
-| static char *yy_full_match;
-| static int yy_lp;
-| #define REJECT \
-| { \
-| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
-| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
-| ++(yy_lp); \
-| goto find_rule; \
-| }
-| 
-| static int yy_more_flag = 0;
-| static int yy_more_len = 0;
-| #define yymore() ((yy_more_flag) = 1)
-| #define YY_MORE_ADJ (yy_more_len)
-| #define YY_RESTORE_YY_MORE_OFFSET
-| char *yytext;
-| #line 1 "conftest.l"
-| #line 469 "lex.yy.c"
-| 
-| #define INITIAL 0
-| 
-| #ifndef YY_NO_UNISTD_H
-| /* Special case for "unistd.h", since it is non-ANSI. We include it way
-|  * down here because we want the user's section 1 to have been scanned first.
-|  * The user has a chance to override it with an option.
-|  */
-| #include <unistd.h>
-| #endif
-| 
-| #ifndef YY_EXTRA_TYPE
-| #define YY_EXTRA_TYPE void *
-| #endif
-| 
-| static int yy_init_globals (void );
-| 
-| /* Accessor methods to globals.
-|    These are made visible to non-reentrant scanners for convenience. */
-| 
-| int yylex_destroy (void );
-| 
-| int yyget_debug (void );
-| 
-| void yyset_debug (int debug_flag  );
-| 
-| YY_EXTRA_TYPE yyget_extra (void );
-| 
-| void yyset_extra (YY_EXTRA_TYPE user_defined  );
-| 
-| FILE *yyget_in (void );
-| 
-| void yyset_in  (FILE * in_str  );
-| 
-| FILE *yyget_out (void );
-| 
-| void yyset_out  (FILE * out_str  );
-| 
-| yy_size_t yyget_leng (void );
-| 
-| char *yyget_text (void );
-| 
-| int yyget_lineno (void );
-| 
-| void yyset_lineno (int line_number  );
-| 
-| /* Macros after this point can all be overridden by user definitions in
-|  * section 1.
-|  */
-| 
-| #ifndef YY_SKIP_YYWRAP
-| #ifdef __cplusplus
-| extern "C" int yywrap (void );
-| #else
-| extern int yywrap (void );
-| #endif
-| #endif
-| 
-|     static void yyunput (int c,char *buf_ptr  );
-|     
-| #ifndef yytext_ptr
-| static void yy_flex_strncpy (char *,yyconst char *,int );
-| #endif
-| 
-| #ifdef YY_NEED_STRLEN
-| static int yy_flex_strlen (yyconst char * );
-| #endif
-| 
-| #ifndef YY_NO_INPUT
-| 
-| #ifdef __cplusplus
-| static int yyinput (void );
-| #else
-| static int input (void );
-| #endif
-| 
-| #endif
-| 
-| /* Amount of stuff to slurp up with each read. */
-| #ifndef YY_READ_BUF_SIZE
-| #define YY_READ_BUF_SIZE 8192
-| #endif
-| 
-| /* Copy whatever the last rule matched to the standard output. */
-| #ifndef ECHO
-| /* This used to be an fputs(), but since the string might contain NUL's,
-|  * we now use fwrite().
-|  */
-| #define ECHO fwrite( yytext, yyleng, 1, yyout )
-| #endif
-| 
-| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
-|  * is returned in "result".
-|  */
-| #ifndef YY_INPUT
-| #define YY_INPUT(buf,result,max_size) \
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
-| 		{ \
-| 		int c = '*'; \
-| 		yy_size_t n; \
-| 		for ( n = 0; n < max_size && \
-| 			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
-| 			buf[n] = (char) c; \
-| 		if ( c == '\n' ) \
-| 			buf[n++] = (char) c; \
-| 		if ( c == EOF && ferror( yyin ) ) \
-| 			YY_FATAL_ERROR( "input in flex scanner failed" ); \
-| 		result = n; \
-| 		} \
-| 	else \
-| 		{ \
-| 		errno=0; \
-| 		while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
-| 			{ \
-| 			if( errno != EINTR) \
-| 				{ \
-| 				YY_FATAL_ERROR( "input in flex scanner failed" ); \
-| 				break; \
-| 				} \
-| 			errno=0; \
-| 			clearerr(yyin); \
-| 			} \
-| 		}\
-| \
-| 
-| #endif
-| 
-| /* No semi-colon after return; correct usage is to write "yyterminate();" -
-|  * we don't want an extra ';' after the "return" because that will cause
-|  * some compilers to complain about unreachable statements.
-|  */
-| #ifndef yyterminate
-| #define yyterminate() return YY_NULL
-| #endif
-| 
-| /* Number of entries by which start-condition stack grows. */
-| #ifndef YY_START_STACK_INCR
-| #define YY_START_STACK_INCR 25
-| #endif
-| 
-| /* Report a fatal error. */
-| #ifndef YY_FATAL_ERROR
-| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-| #endif
-| 
-| /* end tables serialization structures and prototypes */
-| 
-| /* Default declaration of generated scanner - a define so the user can
-|  * easily add parameters.
-|  */
-| #ifndef YY_DECL
-| #define YY_DECL_IS_OURS 1
-| 
-| extern int yylex (void);
-| 
-| #define YY_DECL int yylex (void)
-| #endif /* !YY_DECL */
-| 
-| /* Code executed at the beginning of each rule, after yytext and yyleng
-|  * have been set up.
-|  */
-| #ifndef YY_USER_ACTION
-| #define YY_USER_ACTION
-| #endif
-| 
-| /* Code executed at the end of each rule. */
-| #ifndef YY_BREAK
-| #define YY_BREAK break;
-| #endif
-| 
-| #define YY_RULE_SETUP \
-| 	YY_USER_ACTION
-| 
-| /** The main scanner function which does all the work.
-|  */
-| YY_DECL
-| {
-| 	register yy_state_type yy_current_state;
-| 	register char *yy_cp, *yy_bp;
-| 	register int yy_act;
-|     
-| #line 1 "conftest.l"
-| 
-| #line 653 "lex.yy.c"
-| 
-| 	if ( !(yy_init) )
-| 		{
-| 		(yy_init) = 1;
-| 
-| #ifdef YY_USER_INIT
-| 		YY_USER_INIT;
-| #endif
-| 
-|         /* Create the reject buffer large enough to save one state per allowed character. */
-|         if ( ! (yy_state_buf) )
-|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
-|             if ( ! (yy_state_buf) )
-|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
-| 
-| 		if ( ! (yy_start) )
-| 			(yy_start) = 1;	/* first start state */
-| 
-| 		if ( ! yyin )
-| 			yyin = stdin;
-| 
-| 		if ( ! yyout )
-| 			yyout = stdout;
-| 
-| 		if ( ! YY_CURRENT_BUFFER ) {
-| 			yyensure_buffer_stack ();
-| 			YY_CURRENT_BUFFER_LVALUE =
-| 				yy_create_buffer(yyin,YY_BUF_SIZE );
-| 		}
-| 
-| 		yy_load_buffer_state( );
-| 		}
-| 
-| 	while ( 1 )		/* loops until end-of-file is reached */
-| 		{
-| 		(yy_more_len) = 0;
-| 		if ( (yy_more_flag) )
-| 			{
-| 			(yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
-| 			(yy_more_flag) = 0;
-| 			}
-| 		yy_cp = (yy_c_buf_p);
-| 
-| 		/* Support of yytext. */
-| 		*yy_cp = (yy_hold_char);
-| 
-| 		/* yy_bp points to the position in yy_ch_buf of the start of
-| 		 * the current run.
-| 		 */
-| 		yy_bp = yy_cp;
-| 
-| 		yy_current_state = (yy_start);
-| 
-| 		(yy_state_ptr) = (yy_state_buf);
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 
-| yy_match:
-| 		do
-| 			{
-| 			register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
-| 			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 				{
-| 				yy_current_state = (int) yy_def[yy_current_state];
-| 				if ( yy_current_state >= 13 )
-| 					yy_c = yy_meta[(unsigned int) yy_c];
-| 				}
-| 			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 			*(yy_state_ptr)++ = yy_current_state;
-| 			++yy_cp;
-| 			}
-| 		while ( yy_base[yy_current_state] != 10 );
-| 
-| yy_find_action:
-| 		yy_current_state = *--(yy_state_ptr);
-| 		(yy_lp) = yy_accept[yy_current_state];
-| goto find_rule; /* Shut up GCC warning -Wall */
-| find_rule: /* we branch to this label when backing up */
-| 		for ( ; ; ) /* until we find what rule we matched */
-| 			{
-| 			if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
-| 				{
-| 				yy_act = yy_acclist[(yy_lp)];
-| 					{
-| 					(yy_full_match) = yy_cp;
-| 					break;
-| 					}
-| 				}
-| 			--yy_cp;
-| 			yy_current_state = *--(yy_state_ptr);
-| 			(yy_lp) = yy_accept[yy_current_state];
-| 			}
-| 
-| 		YY_DO_BEFORE_ACTION;
-| 
-| do_action:	/* This label is used only to access EOF actions. */
-| 
-| 		switch ( yy_act )
-| 	{ /* beginning of action switch */
-| case 1:
-| YY_RULE_SETUP
-| #line 2 "conftest.l"
-| { ECHO; }
-| 	YY_BREAK
-| case 2:
-| YY_RULE_SETUP
-| #line 3 "conftest.l"
-| { REJECT; }
-| 	YY_BREAK
-| case 3:
-| YY_RULE_SETUP
-| #line 4 "conftest.l"
-| { yymore (); }
-| 	YY_BREAK
-| case 4:
-| YY_RULE_SETUP
-| #line 5 "conftest.l"
-| { yyless (1); }
-| 	YY_BREAK
-| case 5:
-| YY_RULE_SETUP
-| #line 6 "conftest.l"
-| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
-|     yyless ((input () != 0)); }
-| 	YY_BREAK
-| case 6:
-| YY_RULE_SETUP
-| #line 8 "conftest.l"
-| { unput (yytext[0]); }
-| 	YY_BREAK
-| case 7:
-| YY_RULE_SETUP
-| #line 9 "conftest.l"
-| { BEGIN INITIAL; }
-| 	YY_BREAK
-| case 8:
-| YY_RULE_SETUP
-| #line 10 "conftest.l"
-| ECHO;
-| 	YY_BREAK
-| #line 793 "lex.yy.c"
-| 			case YY_STATE_EOF(INITIAL):
-| 				yyterminate();
-| 
-| 	case YY_END_OF_BUFFER:
-| 		{
-| 		/* Amount of text matched not including the EOB char. */
-| 		int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
-| 
-| 		/* Undo the effects of YY_DO_BEFORE_ACTION. */
-| 		*yy_cp = (yy_hold_char);
-| 		YY_RESTORE_YY_MORE_OFFSET
-| 
-| 		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
-| 			{
-| 			/* We're scanning a new file or input source.  It's
-| 			 * possible that this happened because the user
-| 			 * just pointed yyin at a new source and called
-| 			 * yylex().  If so, then we have to assure
-| 			 * consistency between YY_CURRENT_BUFFER and our
-| 			 * globals.  Here is the right place to do so, because
-| 			 * this is the first action (other than possibly a
-| 			 * back-up) that will match for the new input source.
-| 			 */
-| 			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
-| 			}
-| 
-| 		/* Note that here we test for yy_c_buf_p "<=" to the position
-| 		 * of the first EOB in the buffer, since yy_c_buf_p will
-| 		 * already have been incremented past the NUL character
-| 		 * (since all states make transitions on EOB to the
-| 		 * end-of-buffer state).  Contrast this with the test
-| 		 * in input().
-| 		 */
-| 		if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
-| 			{ /* This was really a NUL. */
-| 			yy_state_type yy_next_state;
-| 
-| 			(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
-| 
-| 			yy_current_state = yy_get_previous_state(  );
-| 
-| 			/* Okay, we're now positioned to make the NUL
-| 			 * transition.  We couldn't have
-| 			 * yy_get_previous_state() go ahead and do it
-| 			 * for us because it doesn't know how to deal
-| 			 * with the possibility of jamming (and we don't
-| 			 * want to build jamming into it because then it
-| 			 * will run more slowly).
-| 			 */
-| 
-| 			yy_next_state = yy_try_NUL_trans( yy_current_state );
-| 
-| 			yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 
-| 			if ( yy_next_state )
-| 				{
-| 				/* Consume the NUL. */
-| 				yy_cp = ++(yy_c_buf_p);
-| 				yy_current_state = yy_next_state;
-| 				goto yy_match;
-| 				}
-| 
-| 			else
-| 				{
-| 				yy_cp = (yy_c_buf_p);
-| 				goto yy_find_action;
-| 				}
-| 			}
-| 
-| 		else switch ( yy_get_next_buffer(  ) )
-| 			{
-| 			case EOB_ACT_END_OF_FILE:
-| 				{
-| 				(yy_did_buffer_switch_on_eof) = 0;
-| 
-| 				if ( yywrap( ) )
-| 					{
-| 					/* Note: because we've taken care in
-| 					 * yy_get_next_buffer() to have set up
-| 					 * yytext, we can now set up
-| 					 * yy_c_buf_p so that if some total
-| 					 * hoser (like flex itself) wants to
-| 					 * call the scanner after we return the
-| 					 * YY_NULL, it'll still work - another
-| 					 * YY_NULL will get returned.
-| 					 */
-| 					(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
-| 
-| 					yy_act = YY_STATE_EOF(YY_START);
-| 					goto do_action;
-| 					}
-| 
-| 				else
-| 					{
-| 					if ( ! (yy_did_buffer_switch_on_eof) )
-| 						YY_NEW_FILE;
-| 					}
-| 				break;
-| 				}
-| 
-| 			case EOB_ACT_CONTINUE_SCAN:
-| 				(yy_c_buf_p) =
-| 					(yytext_ptr) + yy_amount_of_matched_text;
-| 
-| 				yy_current_state = yy_get_previous_state(  );
-| 
-| 				yy_cp = (yy_c_buf_p);
-| 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 				goto yy_match;
-| 
-| 			case EOB_ACT_LAST_MATCH:
-| 				(yy_c_buf_p) =
-| 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
-| 
-| 				yy_current_state = yy_get_previous_state(  );
-| 
-| 				yy_cp = (yy_c_buf_p);
-| 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 				goto yy_find_action;
-| 			}
-| 		break;
-| 		}
-| 
-| 	default:
-| 		YY_FATAL_ERROR(
-| 			"fatal flex scanner internal error--no action found" );
-| 	} /* end of action switch */
-| 		} /* end of scanning one token */
-| } /* end of yylex */
-| 
-| /* yy_get_next_buffer - try to read in a new buffer
-|  *
-|  * Returns a code representing an action:
-|  *	EOB_ACT_LAST_MATCH -
-|  *	EOB_ACT_CONTINUE_SCAN - continue scanning from current position
-|  *	EOB_ACT_END_OF_FILE - end of file
-|  */
-| static int yy_get_next_buffer (void)
-| {
-|     	register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
-| 	register char *source = (yytext_ptr);
-| 	register int number_to_move, i;
-| 	int ret_val;
-| 
-| 	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
-| 		YY_FATAL_ERROR(
-| 		"fatal flex scanner internal error--end of buffer missed" );
-| 
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
-| 		{ /* Don't try to fill the buffer, so this is an EOF. */
-| 		if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
-| 			{
-| 			/* We matched a single character, the EOB, so
-| 			 * treat this as a final EOF.
-| 			 */
-| 			return EOB_ACT_END_OF_FILE;
-| 			}
-| 
-| 		else
-| 			{
-| 			/* We matched some text prior to the EOB, first
-| 			 * process it.
-| 			 */
-| 			return EOB_ACT_LAST_MATCH;
-| 			}
-| 		}
-| 
-| 	/* Try to read more data. */
-| 
-| 	/* First move last chars to start of buffer. */
-| 	number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
-| 
-| 	for ( i = 0; i < number_to_move; ++i )
-| 		*(dest++) = *(source++);
-| 
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
-| 		/* don't do the read, it's not guaranteed to return an EOF,
-| 		 * just force an EOF
-| 		 */
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
-| 
-| 	else
-| 		{
-| 			yy_size_t num_to_read =
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
-| 
-| 		while ( num_to_read <= 0 )
-| 			{ /* Not enough room in the buffer - grow it. */
-| 
-| 			YY_FATAL_ERROR(
-| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-| 
-| 			}
-| 
-| 		if ( num_to_read > YY_READ_BUF_SIZE )
-| 			num_to_read = YY_READ_BUF_SIZE;
-| 
-| 		/* Read in more data. */
-| 		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
-| 			(yy_n_chars), num_to_read );
-| 
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	if ( (yy_n_chars) == 0 )
-| 		{
-| 		if ( number_to_move == YY_MORE_ADJ )
-| 			{
-| 			ret_val = EOB_ACT_END_OF_FILE;
-| 			yyrestart(yyin  );
-| 			}
-| 
-| 		else
-| 			{
-| 			ret_val = EOB_ACT_LAST_MATCH;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
-| 				YY_BUFFER_EOF_PENDING;
-| 			}
-| 		}
-| 
-| 	else
-| 		ret_val = EOB_ACT_CONTINUE_SCAN;
-| 
-| 	if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
-| 		/* Extend the array by 50%, plus the number we really need. */
-| 		yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
-| 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
-| 	}
-| 
-| 	(yy_n_chars) += number_to_move;
-| 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
-| 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
-| 
-| 	return ret_val;
-| }
-| 
-| /* yy_get_previous_state - get the state just before the EOB char was reached */
-| 
-|     static yy_state_type yy_get_previous_state (void)
-| {
-| 	register yy_state_type yy_current_state;
-| 	register char *yy_cp;
-|     
-| 	yy_current_state = (yy_start);
-| 
-| 	(yy_state_ptr) = (yy_state_buf);
-| 	*(yy_state_ptr)++ = yy_current_state;
-| 
-| 	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
-| 		{
-| 		register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
-| 		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 			{
-| 			yy_current_state = (int) yy_def[yy_current_state];
-| 			if ( yy_current_state >= 13 )
-| 				yy_c = yy_meta[(unsigned int) yy_c];
-| 			}
-| 		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 		}
-| 
-| 	return yy_current_state;
-| }
-| 
-| /* yy_try_NUL_trans - try to make a transition on the NUL character
-|  *
-|  * synopsis
-|  *	next_state = yy_try_NUL_trans( current_state );
-|  */
-|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
-| {
-| 	register int yy_is_jam;
-|     
-| 	register YY_CHAR yy_c = 1;
-| 	while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 		{
-| 		yy_current_state = (int) yy_def[yy_current_state];
-| 		if ( yy_current_state >= 13 )
-| 			yy_c = yy_meta[(unsigned int) yy_c];
-| 		}
-| 	yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 	yy_is_jam = (yy_current_state == 12);
-| 	if ( ! yy_is_jam )
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 
-| 	return yy_is_jam ? 0 : yy_current_state;
-| }
-| 
-|     static void yyunput (int c, register char * yy_bp )
-| {
-| 	register char *yy_cp;
-|     
-|     yy_cp = (yy_c_buf_p);
-| 
-| 	/* undo effects of setting up yytext */
-| 	*yy_cp = (yy_hold_char);
-| 
-| 	if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
-| 		{ /* need to shift things up to make room */
-| 		/* +2 for EOB chars. */
-| 		register yy_size_t number_to_move = (yy_n_chars) + 2;
-| 		register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
-| 					YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
-| 		register char *source =
-| 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
-| 
-| 		while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
-| 			*--dest = *--source;
-| 
-| 		yy_cp += (int) (dest - source);
-| 		yy_bp += (int) (dest - source);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
-| 			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
-| 
-| 		if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
-| 			YY_FATAL_ERROR( "flex scanner push-back overflow" );
-| 		}
-| 
-| 	*--yy_cp = (char) c;
-| 
-| 	(yytext_ptr) = yy_bp;
-| 	(yy_hold_char) = *yy_cp;
-| 	(yy_c_buf_p) = yy_cp;
-| }
-| 
-| #ifndef YY_NO_INPUT
-| #ifdef __cplusplus
-|     static int yyinput (void)
-| #else
-|     static int input  (void)
-| #endif
-| 
-| {
-| 	int c;
-|     
-| 	*(yy_c_buf_p) = (yy_hold_char);
-| 
-| 	if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
-| 		{
-| 		/* yy_c_buf_p now points to the character we want to return.
-| 		 * If this occurs *before* the EOB characters, then it's a
-| 		 * valid NUL; if not, then we've hit the end of the buffer.
-| 		 */
-| 		if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
-| 			/* This was really a NUL. */
-| 			*(yy_c_buf_p) = '\0';
-| 
-| 		else
-| 			{ /* need more input */
-| 			yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
-| 			++(yy_c_buf_p);
-| 
-| 			switch ( yy_get_next_buffer(  ) )
-| 				{
-| 				case EOB_ACT_LAST_MATCH:
-| 					/* This happens because yy_g_n_b()
-| 					 * sees that we've accumulated a
-| 					 * token and flags that we need to
-| 					 * try matching the token before
-| 					 * proceeding.  But for input(),
-| 					 * there's no matching to consider.
-| 					 * So convert the EOB_ACT_LAST_MATCH
-| 					 * to EOB_ACT_END_OF_FILE.
-| 					 */
-| 
-| 					/* Reset buffer status. */
-| 					yyrestart(yyin );
-| 
-| 					/*FALLTHROUGH*/
-| 
-| 				case EOB_ACT_END_OF_FILE:
-| 					{
-| 					if ( yywrap( ) )
-| 						return 0;
-| 
-| 					if ( ! (yy_did_buffer_switch_on_eof) )
-| 						YY_NEW_FILE;
-| #ifdef __cplusplus
-| 					return yyinput();
-| #else
-| 					return input();
-| #endif
-| 					}
-| 
-| 				case EOB_ACT_CONTINUE_SCAN:
-| 					(yy_c_buf_p) = (yytext_ptr) + offset;
-| 					break;
-| 				}
-| 			}
-| 		}
-| 
-| 	c = *(unsigned char *) (yy_c_buf_p);	/* cast for 8-bit char's */
-| 	*(yy_c_buf_p) = '\0';	/* preserve yytext */
-| 	(yy_hold_char) = *++(yy_c_buf_p);
-| 
-| 	return c;
-| }
-| #endif	/* ifndef YY_NO_INPUT */
-| 
-| /** Immediately switch to a different input stream.
-|  * @param input_file A readable stream.
-|  * 
-|  * @note This function does not reset the start condition to @c INITIAL .
-|  */
-|     void yyrestart  (FILE * input_file )
-| {
-|     
-| 	if ( ! YY_CURRENT_BUFFER ){
-|         yyensure_buffer_stack ();
-| 		YY_CURRENT_BUFFER_LVALUE =
-|             yy_create_buffer(yyin,YY_BUF_SIZE );
-| 	}
-| 
-| 	yy_init_buffer(YY_CURRENT_BUFFER,input_file );
-| 	yy_load_buffer_state( );
-| }
-| 
-| /** Switch to a different input buffer.
-|  * @param new_buffer The new input buffer.
-|  * 
-|  */
-|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
-| {
-|     
-| 	/* TODO. We should be able to replace this entire function body
-| 	 * with
-| 	 *		yypop_buffer_state();
-| 	 *		yypush_buffer_state(new_buffer);
-|      */
-| 	yyensure_buffer_stack ();
-| 	if ( YY_CURRENT_BUFFER == new_buffer )
-| 		return;
-| 
-| 	if ( YY_CURRENT_BUFFER )
-| 		{
-| 		/* Flush out information for old buffer. */
-| 		*(yy_c_buf_p) = (yy_hold_char);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
-| 	yy_load_buffer_state( );
-| 
-| 	/* We don't actually know whether we did this switch during
-| 	 * EOF (yywrap()) processing, but the only time this flag
-| 	 * is looked at is after yywrap() is called, so it's safe
-| 	 * to go ahead and always set it.
-| 	 */
-| 	(yy_did_buffer_switch_on_eof) = 1;
-| }
-| 
-| static void yy_load_buffer_state  (void)
-| {
-|     	(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
-| 	(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
-| 	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
-| 	(yy_hold_char) = *(yy_c_buf_p);
-| }
-| 
-| /** Allocate and initialize an input buffer state.
-|  * @param file A readable stream.
-|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
-|  * 
-|  * @return the allocated buffer state.
-|  */
-|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
-| {
-| 	YY_BUFFER_STATE b;
-|     
-| 	b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-| 
-| 	b->yy_buf_size = size;
-| 
-| 	/* yy_ch_buf has to be 2 characters longer than the size given because
-| 	 * we need to put in 2 end-of-buffer characters.
-| 	 */
-| 	b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
-| 	if ( ! b->yy_ch_buf )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-| 
-| 	b->yy_is_our_buffer = 1;
-| 
-| 	yy_init_buffer(b,file );
-| 
-| 	return b;
-| }
-| 
-| /** Destroy the buffer.
-|  * @param b a buffer created with yy_create_buffer()
-|  * 
-|  */
-|     void yy_delete_buffer (YY_BUFFER_STATE  b )
-| {
-|     
-| 	if ( ! b )
-| 		return;
-| 
-| 	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
-| 		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
-| 
-| 	if ( b->yy_is_our_buffer )
-| 		yyfree((void *) b->yy_ch_buf  );
-| 
-| 	yyfree((void *) b  );
-| }
-| 
-| #ifndef __cplusplus
-| extern int isatty (int );
-| #endif /* __cplusplus */
-|     
-| /* Initializes or reinitializes a buffer.
-|  * This function is sometimes called more than once on the same buffer,
-|  * such as during a yyrestart() or at EOF.
-|  */
-|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
-| 
-| {
-| 	int oerrno = errno;
-|     
-| 	yy_flush_buffer(b );
-| 
-| 	b->yy_input_file = file;
-| 	b->yy_fill_buffer = 1;
-| 
-|     /* If b is the current buffer, then yy_init_buffer was _probably_
-|      * called from yyrestart() or through yy_get_next_buffer.
-|      * In that case, we don't want to reset the lineno or column.
-|      */
-|     if (b != YY_CURRENT_BUFFER){
-|         b->yy_bs_lineno = 1;
-|         b->yy_bs_column = 0;
-|     }
-| 
-|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-|     
-| 	errno = oerrno;
-| }
-| 
-| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
-|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
-|  * 
-|  */
-|     void yy_flush_buffer (YY_BUFFER_STATE  b )
-| {
-|     	if ( ! b )
-| 		return;
-| 
-| 	b->yy_n_chars = 0;
-| 
-| 	/* We always need two end-of-buffer characters.  The first causes
-| 	 * a transition to the end-of-buffer state.  The second causes
-| 	 * a jam in that state.
-| 	 */
-| 	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
-| 	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	b->yy_buf_pos = &b->yy_ch_buf[0];
-| 
-| 	b->yy_at_bol = 1;
-| 	b->yy_buffer_status = YY_BUFFER_NEW;
-| 
-| 	if ( b == YY_CURRENT_BUFFER )
-| 		yy_load_buffer_state( );
-| }
-| 
-| /** Pushes the new state onto the stack. The new state becomes
-|  *  the current state. This function will allocate the stack
-|  *  if necessary.
-|  *  @param new_buffer The new state.
-|  *  
-|  */
-| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
-| {
-|     	if (new_buffer == NULL)
-| 		return;
-| 
-| 	yyensure_buffer_stack();
-| 
-| 	/* This block is copied from yy_switch_to_buffer. */
-| 	if ( YY_CURRENT_BUFFER )
-| 		{
-| 		/* Flush out information for old buffer. */
-| 		*(yy_c_buf_p) = (yy_hold_char);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	/* Only push if top exists. Otherwise, replace top. */
-| 	if (YY_CURRENT_BUFFER)
-| 		(yy_buffer_stack_top)++;
-| 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
-| 
-| 	/* copied from yy_switch_to_buffer. */
-| 	yy_load_buffer_state( );
-| 	(yy_did_buffer_switch_on_eof) = 1;
-| }
-| 
-| /** Removes and deletes the top of the stack, if present.
-|  *  The next element becomes the new top.
-|  *  
-|  */
-| void yypop_buffer_state (void)
-| {
-|     	if (!YY_CURRENT_BUFFER)
-| 		return;
-| 
-| 	yy_delete_buffer(YY_CURRENT_BUFFER );
-| 	YY_CURRENT_BUFFER_LVALUE = NULL;
-| 	if ((yy_buffer_stack_top) > 0)
-| 		--(yy_buffer_stack_top);
-| 
-| 	if (YY_CURRENT_BUFFER) {
-| 		yy_load_buffer_state( );
-| 		(yy_did_buffer_switch_on_eof) = 1;
-| 	}
-| }
-| 
-| /* Allocates the stack if it does not exist.
-|  *  Guarantees space for at least one push.
-|  */
-| static void yyensure_buffer_stack (void)
-| {
-| 	yy_size_t num_to_alloc;
-|     
-| 	if (!(yy_buffer_stack)) {
-| 
-| 		/* First allocation is just for 2 elements, since we don't know if this
-| 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
-| 		 * immediate realloc on the next call.
-|          */
-| 		num_to_alloc = 1;
-| 		(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
-| 								(num_to_alloc * sizeof(struct yy_buffer_state*)
-| 								);
-| 		if ( ! (yy_buffer_stack) )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
-| 								  
-| 		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
-| 				
-| 		(yy_buffer_stack_max) = num_to_alloc;
-| 		(yy_buffer_stack_top) = 0;
-| 		return;
-| 	}
-| 
-| 	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
-| 
-| 		/* Increase the buffer to prepare for a possible push. */
-| 		int grow_size = 8 /* arbitrary grow size */;
-| 
-| 		num_to_alloc = (yy_buffer_stack_max) + grow_size;
-| 		(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
-| 								((yy_buffer_stack),
-| 								num_to_alloc * sizeof(struct yy_buffer_state*)
-| 								);
-| 		if ( ! (yy_buffer_stack) )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
-| 
-| 		/* zero only the new slots.*/
-| 		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
-| 		(yy_buffer_stack_max) = num_to_alloc;
-| 	}
-| }
-| 
-| /** Setup the input buffer state to scan directly from a user-specified character buffer.
-|  * @param base the character buffer
-|  * @param size the size in bytes of the character buffer
-|  * 
-|  * @return the newly allocated buffer state object. 
-|  */
-| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
-| {
-| 	YY_BUFFER_STATE b;
-|     
-| 	if ( size < 2 ||
-| 	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
-| 	     base[size-1] != YY_END_OF_BUFFER_CHAR )
-| 		/* They forgot to leave room for the EOB's. */
-| 		return 0;
-| 
-| 	b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
-| 
-| 	b->yy_buf_size = size - 2;	/* "- 2" to take care of EOB's */
-| 	b->yy_buf_pos = b->yy_ch_buf = base;
-| 	b->yy_is_our_buffer = 0;
-| 	b->yy_input_file = 0;
-| 	b->yy_n_chars = b->yy_buf_size;
-| 	b->yy_is_interactive = 0;
-| 	b->yy_at_bol = 1;
-| 	b->yy_fill_buffer = 0;
-| 	b->yy_buffer_status = YY_BUFFER_NEW;
-| 
-| 	yy_switch_to_buffer(b  );
-| 
-| 	return b;
-| }
-| 
-| /** Setup the input buffer state to scan a string. The next call to yylex() will
-|  * scan from a @e copy of @a str.
-|  * @param yystr a NUL-terminated string to scan
-|  * 
-|  * @return the newly allocated buffer state object.
-|  * @note If you want to scan bytes that may contain NUL values, then use
-|  *       yy_scan_bytes() instead.
-|  */
-| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
-| {
-|     
-| 	return yy_scan_bytes(yystr,strlen(yystr) );
-| }
-| 
-| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
-|  * scan from a @e copy of @a bytes.
-|  * @param bytes the byte buffer to scan
-|  * @param len the number of bytes in the buffer pointed to by @a bytes.
-|  * 
-|  * @return the newly allocated buffer state object.
-|  */
-| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
-| {
-| 	YY_BUFFER_STATE b;
-| 	char *buf;
-| 	yy_size_t n, i;
-|     
-| 	/* Get memory for full buffer, including space for trailing EOB's. */
-| 	n = _yybytes_len + 2;
-| 	buf = (char *) yyalloc(n  );
-| 	if ( ! buf )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
-| 
-| 	for ( i = 0; i < _yybytes_len; ++i )
-| 		buf[i] = yybytes[i];
-| 
-| 	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	b = yy_scan_buffer(buf,n );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
-| 
-| 	/* It's okay to grow etc. this buffer, and we should throw it
-| 	 * away when we're done.
-| 	 */
-| 	b->yy_is_our_buffer = 1;
-| 
-| 	return b;
-| }
-| 
-| #ifndef YY_EXIT_FAILURE
-| #define YY_EXIT_FAILURE 2
-| #endif
-| 
-| static void yy_fatal_error (yyconst char* msg )
-| {
-|     	(void) fprintf( stderr, "%s\n", msg );
-| 	exit( YY_EXIT_FAILURE );
-| }
-| 
-| /* Redefine yyless() so it works in section 3 code. */
-| 
-| #undef yyless
-| #define yyless(n) \
-| 	do \
-| 		{ \
-| 		/* Undo effects of setting up yytext. */ \
-|         int yyless_macro_arg = (n); \
-|         YY_LESS_LINENO(yyless_macro_arg);\
-| 		yytext[yyleng] = (yy_hold_char); \
-| 		(yy_c_buf_p) = yytext + yyless_macro_arg; \
-| 		(yy_hold_char) = *(yy_c_buf_p); \
-| 		*(yy_c_buf_p) = '\0'; \
-| 		yyleng = yyless_macro_arg; \
-| 		} \
-| 	while ( 0 )
-| 
-| /* Accessor  methods (get/set functions) to struct members. */
-| 
-| /** Get the current line number.
-|  * 
-|  */
-| int yyget_lineno  (void)
-| {
-|         
-|     return yylineno;
-| }
-| 
-| /** Get the input stream.
-|  * 
-|  */
-| FILE *yyget_in  (void)
-| {
-|         return yyin;
-| }
-| 
-| /** Get the output stream.
-|  * 
-|  */
-| FILE *yyget_out  (void)
-| {
-|         return yyout;
-| }
-| 
-| /** Get the length of the current token.
-|  * 
-|  */
-| yy_size_t yyget_leng  (void)
-| {
-|         return yyleng;
-| }
-| 
-| /** Get the current token.
-|  * 
-|  */
-| 
-| char *yyget_text  (void)
-| {
-|         return yytext;
-| }
-| 
-| /** Set the current line number.
-|  * @param line_number
-|  * 
-|  */
-| void yyset_lineno (int  line_number )
-| {
-|     
-|     yylineno = line_number;
-| }
-| 
-| /** Set the input stream. This does not discard the current
-|  * input buffer.
-|  * @param in_str A readable stream.
-|  * 
-|  * @see yy_switch_to_buffer
-|  */
-| void yyset_in (FILE *  in_str )
-| {
-|         yyin = in_str ;
-| }
-| 
-| void yyset_out (FILE *  out_str )
-| {
-|         yyout = out_str ;
-| }
-| 
-| int yyget_debug  (void)
-| {
-|         return yy_flex_debug;
-| }
-| 
-| void yyset_debug (int  bdebug )
-| {
-|         yy_flex_debug = bdebug ;
-| }
-| 
-| static int yy_init_globals (void)
-| {
-|         /* Initialization is the same as for the non-reentrant scanner.
-|      * This function is called from yylex_destroy(), so don't allocate here.
-|      */
-| 
-|     (yy_buffer_stack) = 0;
-|     (yy_buffer_stack_top) = 0;
-|     (yy_buffer_stack_max) = 0;
-|     (yy_c_buf_p) = (char *) 0;
-|     (yy_init) = 0;
-|     (yy_start) = 0;
-| 
-|     (yy_state_buf) = 0;
-|     (yy_state_ptr) = 0;
-|     (yy_full_match) = 0;
-|     (yy_lp) = 0;
-| 
-| /* Defined in main.c */
-| #ifdef YY_STDINIT
-|     yyin = stdin;
-|     yyout = stdout;
-| #else
-|     yyin = (FILE *) 0;
-|     yyout = (FILE *) 0;
-| #endif
-| 
-|     /* For future reference: Set errno on error, since we are called by
-|      * yylex_init()
-|      */
-|     return 0;
-| }
-| 
-| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
-| int yylex_destroy  (void)
-| {
-|     
-|     /* Pop the buffer stack, destroying each element. */
-| 	while(YY_CURRENT_BUFFER){
-| 		yy_delete_buffer(YY_CURRENT_BUFFER  );
-| 		YY_CURRENT_BUFFER_LVALUE = NULL;
-| 		yypop_buffer_state();
-| 	}
-| 
-| 	/* Destroy the stack itself. */
-| 	yyfree((yy_buffer_stack) );
-| 	(yy_buffer_stack) = NULL;
-| 
-|     yyfree ( (yy_state_buf) );
-|     (yy_state_buf)  = NULL;
-| 
-|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
-|      * yylex() is called, initialization will occur. */
-|     yy_init_globals( );
-| 
-|     return 0;
-| }
-| 
-| /*
-|  * Internal utility routines.
-|  */
-| 
-| #ifndef yytext_ptr
-| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
-| {
-| 	register int i;
-| 	for ( i = 0; i < n; ++i )
-| 		s1[i] = s2[i];
-| }
-| #endif
-| 
-| #ifdef YY_NEED_STRLEN
-| static int yy_flex_strlen (yyconst char * s )
-| {
-| 	register int n;
-| 	for ( n = 0; s[n]; ++n )
-| 		;
-| 
-| 	return n;
-| }
-| #endif
-| 
-| void *yyalloc (yy_size_t  size )
-| {
-| 	return (void *) malloc( size );
-| }
-| 
-| void *yyrealloc  (void * ptr, yy_size_t  size )
-| {
-| 	/* The cast to (char *) in the following accommodates both
-| 	 * implementations that use char* generic pointers, and those
-| 	 * that use void* generic pointers.  It works with the latter
-| 	 * because both ANSI C and C++ allow castless assignment from
-| 	 * any pointer type to void*, and deal with argument conversions
-| 	 * as though doing an assignment.
-| 	 */
-| 	return (void *) realloc( (char *) ptr, size );
-| }
-| 
-| void yyfree (void * ptr )
-| {
-| 	free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
-| }
-| 
-| #define YYTABLES_NAME "yytables"
-| 
-| #line 10 "conftest.l"
-| 
-| 
-| #ifdef YYTEXT_POINTER
-| extern char *yytext;
-| #endif
-| int
-| main (void)
-| {
-|   return ! yylex () + ! yywrap ();
-| }
-configure:3583: gcc -o conftest -g -O2   conftest.c -lfl  >&5
-ld: library not found for -lfl
-clang: error: linker command failed with exit code 1 (use -v to see invocation)
-configure:3583: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| /* end confdefs.h.  */
-| 
-| #line 3 "lex.yy.c"
-| 
-| #define  YY_INT_ALIGNED short int
-| 
-| /* A lexical scanner generated by flex */
-| 
-| #define FLEX_SCANNER
-| #define YY_FLEX_MAJOR_VERSION 2
-| #define YY_FLEX_MINOR_VERSION 5
-| #define YY_FLEX_SUBMINOR_VERSION 35
-| #if YY_FLEX_SUBMINOR_VERSION > 0
-| #define FLEX_BETA
-| #endif
-| 
-| /* First, we deal with  platform-specific or compiler-specific issues. */
-| 
-| /* begin standard C headers. */
-| #include <stdio.h>
-| #include <string.h>
-| #include <errno.h>
-| #include <stdlib.h>
-| 
-| /* end standard C headers. */
-| 
-| /* flex integer type definitions */
-| 
-| #ifndef FLEXINT_H
-| #define FLEXINT_H
-| 
-| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-| 
-| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-| 
-| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
-|  * if you want the limit (max/min) macros for int types. 
-|  */
-| #ifndef __STDC_LIMIT_MACROS
-| #define __STDC_LIMIT_MACROS 1
-| #endif
-| 
-| #include <inttypes.h>
-| typedef int8_t flex_int8_t;
-| typedef uint8_t flex_uint8_t;
-| typedef int16_t flex_int16_t;
-| typedef uint16_t flex_uint16_t;
-| typedef int32_t flex_int32_t;
-| typedef uint32_t flex_uint32_t;
-| typedef uint64_t flex_uint64_t;
-| #else
-| typedef signed char flex_int8_t;
-| typedef short int flex_int16_t;
-| typedef int flex_int32_t;
-| typedef unsigned char flex_uint8_t; 
-| typedef unsigned short int flex_uint16_t;
-| typedef unsigned int flex_uint32_t;
-| #endif /* ! C99 */
-| 
-| /* Limits of integral types. */
-| #ifndef INT8_MIN
-| #define INT8_MIN               (-128)
-| #endif
-| #ifndef INT16_MIN
-| #define INT16_MIN              (-32767-1)
-| #endif
-| #ifndef INT32_MIN
-| #define INT32_MIN              (-2147483647-1)
-| #endif
-| #ifndef INT8_MAX
-| #define INT8_MAX               (127)
-| #endif
-| #ifndef INT16_MAX
-| #define INT16_MAX              (32767)
-| #endif
-| #ifndef INT32_MAX
-| #define INT32_MAX              (2147483647)
-| #endif
-| #ifndef UINT8_MAX
-| #define UINT8_MAX              (255U)
-| #endif
-| #ifndef UINT16_MAX
-| #define UINT16_MAX             (65535U)
-| #endif
-| #ifndef UINT32_MAX
-| #define UINT32_MAX             (4294967295U)
-| #endif
-| 
-| #endif /* ! FLEXINT_H */
-| 
-| #ifdef __cplusplus
-| 
-| /* The "const" storage-class-modifier is valid. */
-| #define YY_USE_CONST
-| 
-| #else	/* ! __cplusplus */
-| 
-| /* C99 requires __STDC__ to be defined as 1. */
-| #if defined (__STDC__)
-| 
-| #define YY_USE_CONST
-| 
-| #endif	/* defined (__STDC__) */
-| #endif	/* ! __cplusplus */
-| 
-| #ifdef YY_USE_CONST
-| #define yyconst const
-| #else
-| #define yyconst
-| #endif
-| 
-| /* Returned upon end-of-file. */
-| #define YY_NULL 0
-| 
-| /* Promotes a possibly negative, possibly signed char to an unsigned
-|  * integer for use as an array index.  If the signed char is negative,
-|  * we want to instead treat it as an 8-bit unsigned char, hence the
-|  * double cast.
-|  */
-| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-| 
-| /* Enter a start condition.  This macro really ought to take a parameter,
-|  * but we do it the disgusting crufty way forced on us by the ()-less
-|  * definition of BEGIN.
-|  */
-| #define BEGIN (yy_start) = 1 + 2 *
-| 
-| /* Translate the current start state into a value that can be later handed
-|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
-|  * compatibility.
-|  */
-| #define YY_START (((yy_start) - 1) / 2)
-| #define YYSTATE YY_START
-| 
-| /* Action number for EOF rule of a given start state. */
-| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-| 
-| /* Special action meaning "start processing a new file". */
-| #define YY_NEW_FILE yyrestart(yyin  )
-| 
-| #define YY_END_OF_BUFFER_CHAR 0
-| 
-| /* Size of default input buffer. */
-| #ifndef YY_BUF_SIZE
-| #define YY_BUF_SIZE 16384
-| #endif
-| 
-| /* The state buf must be large enough to hold one state per character in the main buffer.
-|  */
-| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
-| 
-| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
-| #define YY_TYPEDEF_YY_BUFFER_STATE
-| typedef struct yy_buffer_state *YY_BUFFER_STATE;
-| #endif
-| 
-| #ifndef YY_TYPEDEF_YY_SIZE_T
-| #define YY_TYPEDEF_YY_SIZE_T
-| typedef size_t yy_size_t;
-| #endif
-| 
-| extern yy_size_t yyleng;
-| 
-| extern FILE *yyin, *yyout;
-| 
-| #define EOB_ACT_CONTINUE_SCAN 0
-| #define EOB_ACT_END_OF_FILE 1
-| #define EOB_ACT_LAST_MATCH 2
-| 
-|     #define YY_LESS_LINENO(n)
-|     
-| /* Return all but the first "n" matched characters back to the input stream. */
-| #define yyless(n) \
-| 	do \
-| 		{ \
-| 		/* Undo effects of setting up yytext. */ \
-|         int yyless_macro_arg = (n); \
-|         YY_LESS_LINENO(yyless_macro_arg);\
-| 		*yy_cp = (yy_hold_char); \
-| 		YY_RESTORE_YY_MORE_OFFSET \
-| 		(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
-| 		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
-| 		} \
-| 	while ( 0 )
-| 
-| #define unput(c) yyunput( c, (yytext_ptr)  )
-| 
-| #ifndef YY_STRUCT_YY_BUFFER_STATE
-| #define YY_STRUCT_YY_BUFFER_STATE
-| struct yy_buffer_state
-| 	{
-| 	FILE *yy_input_file;
-| 
-| 	char *yy_ch_buf;		/* input buffer */
-| 	char *yy_buf_pos;		/* current position in input buffer */
-| 
-| 	/* Size of input buffer in bytes, not including room for EOB
-| 	 * characters.
-| 	 */
-| 	yy_size_t yy_buf_size;
-| 
-| 	/* Number of characters read into yy_ch_buf, not including EOB
-| 	 * characters.
-| 	 */
-| 	yy_size_t yy_n_chars;
-| 
-| 	/* Whether we "own" the buffer - i.e., we know we created it,
-| 	 * and can realloc() it to grow it, and should free() it to
-| 	 * delete it.
-| 	 */
-| 	int yy_is_our_buffer;
-| 
-| 	/* Whether this is an "interactive" input source; if so, and
-| 	 * if we're using stdio for input, then we want to use getc()
-| 	 * instead of fread(), to make sure we stop fetching input after
-| 	 * each newline.
-| 	 */
-| 	int yy_is_interactive;
-| 
-| 	/* Whether we're considered to be at the beginning of a line.
-| 	 * If so, '^' rules will be active on the next match, otherwise
-| 	 * not.
-| 	 */
-| 	int yy_at_bol;
-| 
-|     int yy_bs_lineno; /**< The line count. */
-|     int yy_bs_column; /**< The column count. */
-|     
-| 	/* Whether to try to fill the input buffer when we reach the
-| 	 * end of it.
-| 	 */
-| 	int yy_fill_buffer;
-| 
-| 	int yy_buffer_status;
-| 
-| #define YY_BUFFER_NEW 0
-| #define YY_BUFFER_NORMAL 1
-| 	/* When an EOF's been seen but there's still some text to process
-| 	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
-| 	 * shouldn't try reading from the input source any more.  We might
-| 	 * still have a bunch of tokens to match, though, because of
-| 	 * possible backing-up.
-| 	 *
-| 	 * When we actually see the EOF, we change the status to "new"
-| 	 * (via yyrestart()), so that the user can continue scanning by
-| 	 * just pointing yyin at a new input file.
-| 	 */
-| #define YY_BUFFER_EOF_PENDING 2
-| 
-| 	};
-| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
-| 
-| /* Stack of input buffers. */
-| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
-| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
-| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
-| 
-| /* We provide macros for accessing buffer states in case in the
-|  * future we want to put the buffer states in a more general
-|  * "scanner state".
-|  *
-|  * Returns the top of the stack, or NULL.
-|  */
-| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
-|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
-|                           : NULL)
-| 
-| /* Same as previous macro, but useful when we know that the buffer stack is not
-|  * NULL or when we need an lvalue. For internal use only.
-|  */
-| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
-| 
-| /* yy_hold_char holds the character lost when yytext is formed. */
-| static char yy_hold_char;
-| static yy_size_t yy_n_chars;		/* number of characters read into yy_ch_buf */
-| yy_size_t yyleng;
-| 
-| /* Points to current character in buffer. */
-| static char *yy_c_buf_p = (char *) 0;
-| static int yy_init = 0;		/* whether we need to initialize */
-| static int yy_start = 0;	/* start state number */
-| 
-| /* Flag which is used to allow yywrap()'s to do buffer switches
-|  * instead of setting up a fresh yyin.  A bit of a hack ...
-|  */
-| static int yy_did_buffer_switch_on_eof;
-| 
-| void yyrestart (FILE *input_file  );
-| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
-| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
-| void yy_delete_buffer (YY_BUFFER_STATE b  );
-| void yy_flush_buffer (YY_BUFFER_STATE b  );
-| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
-| void yypop_buffer_state (void );
-| 
-| static void yyensure_buffer_stack (void );
-| static void yy_load_buffer_state (void );
-| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
-| 
-| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
-| 
-| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
-| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
-| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
-| 
-| void *yyalloc (yy_size_t  );
-| void *yyrealloc (void *,yy_size_t  );
-| void yyfree (void *  );
-| 
-| #define yy_new_buffer yy_create_buffer
-| 
-| #define yy_set_interactive(is_interactive) \
-| 	{ \
-| 	if ( ! YY_CURRENT_BUFFER ){ \
-|         yyensure_buffer_stack (); \
-| 		YY_CURRENT_BUFFER_LVALUE =    \
-|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
-| 	} \
-| 	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
-| 	}
-| 
-| #define yy_set_bol(at_bol) \
-| 	{ \
-| 	if ( ! YY_CURRENT_BUFFER ){\
-|         yyensure_buffer_stack (); \
-| 		YY_CURRENT_BUFFER_LVALUE =    \
-|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
-| 	} \
-| 	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
-| 	}
-| 
-| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
-| 
-| /* Begin user sect3 */
-| 
-| typedef unsigned char YY_CHAR;
-| 
-| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
-| 
-| typedef int yy_state_type;
-| 
-| extern int yylineno;
-| 
-| int yylineno = 1;
-| 
-| extern char *yytext;
-| #define yytext_ptr yytext
-| 
-| static yy_state_type yy_get_previous_state (void );
-| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
-| static int yy_get_next_buffer (void );
-| static void yy_fatal_error (yyconst char msg[]  );
-| 
-| /* Done after the current pattern has been matched and before the
-|  * corresponding action - sets up yytext.
-|  */
-| #define YY_DO_BEFORE_ACTION \
-| 	(yytext_ptr) = yy_bp; \
-| 	(yytext_ptr) -= (yy_more_len); \
-| 	yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
-| 	(yy_hold_char) = *yy_cp; \
-| 	*yy_cp = '\0'; \
-| 	(yy_c_buf_p) = yy_cp;
-| 
-| #define YY_NUM_RULES 8
-| #define YY_END_OF_BUFFER 9
-| /* This struct is not used in this scanner,
-|    but its presence is necessary. */
-| struct yy_trans_info
-| 	{
-| 	flex_int32_t yy_verify;
-| 	flex_int32_t yy_nxt;
-| 	};
-| static yyconst flex_int16_t yy_acclist[23] =
-|     {   0,
-|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
-|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
-|         7,    8
-|     } ;
-| 
-| static yyconst flex_int16_t yy_accept[14] =
-|     {   0,
-|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
-|        20,   23,   23
-|     } ;
-| 
-| static yyconst flex_int32_t yy_ec[256] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
-| 
-|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-| 
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-|         1,    1,    1,    1,    1
-|     } ;
-| 
-| static yyconst flex_int32_t yy_meta[9] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1
-|     } ;
-| 
-| static yyconst flex_int16_t yy_base[13] =
-|     {   0,
-|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
-|        10,   10
-|     } ;
-| 
-| static yyconst flex_int16_t yy_def[13] =
-|     {   0,
-|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
-|        12,    0
-|     } ;
-| 
-| static yyconst flex_int16_t yy_nxt[19] =
-|     {   0,
-|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
-|        12,   12,   12,   12,   12,   12,   12,   12
-|     } ;
-| 
-| static yyconst flex_int16_t yy_chk[19] =
-|     {   0,
-|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
-|        12,   12,   12,   12,   12,   12,   12,   12
-|     } ;
-| 
-| extern int yy_flex_debug;
-| int yy_flex_debug = 0;
-| 
-| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
-| static char *yy_full_match;
-| static int yy_lp;
-| #define REJECT \
-| { \
-| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
-| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
-| ++(yy_lp); \
-| goto find_rule; \
-| }
-| 
-| static int yy_more_flag = 0;
-| static int yy_more_len = 0;
-| #define yymore() ((yy_more_flag) = 1)
-| #define YY_MORE_ADJ (yy_more_len)
-| #define YY_RESTORE_YY_MORE_OFFSET
-| char *yytext;
-| #line 1 "conftest.l"
-| #line 469 "lex.yy.c"
-| 
-| #define INITIAL 0
-| 
-| #ifndef YY_NO_UNISTD_H
-| /* Special case for "unistd.h", since it is non-ANSI. We include it way
-|  * down here because we want the user's section 1 to have been scanned first.
-|  * The user has a chance to override it with an option.
-|  */
-| #include <unistd.h>
-| #endif
-| 
-| #ifndef YY_EXTRA_TYPE
-| #define YY_EXTRA_TYPE void *
-| #endif
-| 
-| static int yy_init_globals (void );
-| 
-| /* Accessor methods to globals.
-|    These are made visible to non-reentrant scanners for convenience. */
-| 
-| int yylex_destroy (void );
-| 
-| int yyget_debug (void );
-| 
-| void yyset_debug (int debug_flag  );
-| 
-| YY_EXTRA_TYPE yyget_extra (void );
-| 
-| void yyset_extra (YY_EXTRA_TYPE user_defined  );
-| 
-| FILE *yyget_in (void );
-| 
-| void yyset_in  (FILE * in_str  );
-| 
-| FILE *yyget_out (void );
-| 
-| void yyset_out  (FILE * out_str  );
-| 
-| yy_size_t yyget_leng (void );
-| 
-| char *yyget_text (void );
-| 
-| int yyget_lineno (void );
-| 
-| void yyset_lineno (int line_number  );
-| 
-| /* Macros after this point can all be overridden by user definitions in
-|  * section 1.
-|  */
-| 
-| #ifndef YY_SKIP_YYWRAP
-| #ifdef __cplusplus
-| extern "C" int yywrap (void );
-| #else
-| extern int yywrap (void );
-| #endif
-| #endif
-| 
-|     static void yyunput (int c,char *buf_ptr  );
-|     
-| #ifndef yytext_ptr
-| static void yy_flex_strncpy (char *,yyconst char *,int );
-| #endif
-| 
-| #ifdef YY_NEED_STRLEN
-| static int yy_flex_strlen (yyconst char * );
-| #endif
-| 
-| #ifndef YY_NO_INPUT
-| 
-| #ifdef __cplusplus
-| static int yyinput (void );
-| #else
-| static int input (void );
-| #endif
-| 
-| #endif
-| 
-| /* Amount of stuff to slurp up with each read. */
-| #ifndef YY_READ_BUF_SIZE
-| #define YY_READ_BUF_SIZE 8192
-| #endif
-| 
-| /* Copy whatever the last rule matched to the standard output. */
-| #ifndef ECHO
-| /* This used to be an fputs(), but since the string might contain NUL's,
-|  * we now use fwrite().
-|  */
-| #define ECHO fwrite( yytext, yyleng, 1, yyout )
-| #endif
-| 
-| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
-|  * is returned in "result".
-|  */
-| #ifndef YY_INPUT
-| #define YY_INPUT(buf,result,max_size) \
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
-| 		{ \
-| 		int c = '*'; \
-| 		yy_size_t n; \
-| 		for ( n = 0; n < max_size && \
-| 			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
-| 			buf[n] = (char) c; \
-| 		if ( c == '\n' ) \
-| 			buf[n++] = (char) c; \
-| 		if ( c == EOF && ferror( yyin ) ) \
-| 			YY_FATAL_ERROR( "input in flex scanner failed" ); \
-| 		result = n; \
-| 		} \
-| 	else \
-| 		{ \
-| 		errno=0; \
-| 		while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
-| 			{ \
-| 			if( errno != EINTR) \
-| 				{ \
-| 				YY_FATAL_ERROR( "input in flex scanner failed" ); \
-| 				break; \
-| 				} \
-| 			errno=0; \
-| 			clearerr(yyin); \
-| 			} \
-| 		}\
-| \
-| 
-| #endif
-| 
-| /* No semi-colon after return; correct usage is to write "yyterminate();" -
-|  * we don't want an extra ';' after the "return" because that will cause
-|  * some compilers to complain about unreachable statements.
-|  */
-| #ifndef yyterminate
-| #define yyterminate() return YY_NULL
-| #endif
-| 
-| /* Number of entries by which start-condition stack grows. */
-| #ifndef YY_START_STACK_INCR
-| #define YY_START_STACK_INCR 25
-| #endif
-| 
-| /* Report a fatal error. */
-| #ifndef YY_FATAL_ERROR
-| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-| #endif
-| 
-| /* end tables serialization structures and prototypes */
-| 
-| /* Default declaration of generated scanner - a define so the user can
-|  * easily add parameters.
-|  */
-| #ifndef YY_DECL
-| #define YY_DECL_IS_OURS 1
-| 
-| extern int yylex (void);
-| 
-| #define YY_DECL int yylex (void)
-| #endif /* !YY_DECL */
-| 
-| /* Code executed at the beginning of each rule, after yytext and yyleng
-|  * have been set up.
-|  */
-| #ifndef YY_USER_ACTION
-| #define YY_USER_ACTION
-| #endif
-| 
-| /* Code executed at the end of each rule. */
-| #ifndef YY_BREAK
-| #define YY_BREAK break;
-| #endif
-| 
-| #define YY_RULE_SETUP \
-| 	YY_USER_ACTION
-| 
-| /** The main scanner function which does all the work.
-|  */
-| YY_DECL
-| {
-| 	register yy_state_type yy_current_state;
-| 	register char *yy_cp, *yy_bp;
-| 	register int yy_act;
-|     
-| #line 1 "conftest.l"
-| 
-| #line 653 "lex.yy.c"
-| 
-| 	if ( !(yy_init) )
-| 		{
-| 		(yy_init) = 1;
-| 
-| #ifdef YY_USER_INIT
-| 		YY_USER_INIT;
-| #endif
-| 
-|         /* Create the reject buffer large enough to save one state per allowed character. */
-|         if ( ! (yy_state_buf) )
-|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
-|             if ( ! (yy_state_buf) )
-|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
-| 
-| 		if ( ! (yy_start) )
-| 			(yy_start) = 1;	/* first start state */
-| 
-| 		if ( ! yyin )
-| 			yyin = stdin;
-| 
-| 		if ( ! yyout )
-| 			yyout = stdout;
-| 
-| 		if ( ! YY_CURRENT_BUFFER ) {
-| 			yyensure_buffer_stack ();
-| 			YY_CURRENT_BUFFER_LVALUE =
-| 				yy_create_buffer(yyin,YY_BUF_SIZE );
-| 		}
-| 
-| 		yy_load_buffer_state( );
-| 		}
-| 
-| 	while ( 1 )		/* loops until end-of-file is reached */
-| 		{
-| 		(yy_more_len) = 0;
-| 		if ( (yy_more_flag) )
-| 			{
-| 			(yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
-| 			(yy_more_flag) = 0;
-| 			}
-| 		yy_cp = (yy_c_buf_p);
-| 
-| 		/* Support of yytext. */
-| 		*yy_cp = (yy_hold_char);
-| 
-| 		/* yy_bp points to the position in yy_ch_buf of the start of
-| 		 * the current run.
-| 		 */
-| 		yy_bp = yy_cp;
-| 
-| 		yy_current_state = (yy_start);
-| 
-| 		(yy_state_ptr) = (yy_state_buf);
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 
-| yy_match:
-| 		do
-| 			{
-| 			register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
-| 			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 				{
-| 				yy_current_state = (int) yy_def[yy_current_state];
-| 				if ( yy_current_state >= 13 )
-| 					yy_c = yy_meta[(unsigned int) yy_c];
-| 				}
-| 			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 			*(yy_state_ptr)++ = yy_current_state;
-| 			++yy_cp;
-| 			}
-| 		while ( yy_base[yy_current_state] != 10 );
-| 
-| yy_find_action:
-| 		yy_current_state = *--(yy_state_ptr);
-| 		(yy_lp) = yy_accept[yy_current_state];
-| goto find_rule; /* Shut up GCC warning -Wall */
-| find_rule: /* we branch to this label when backing up */
-| 		for ( ; ; ) /* until we find what rule we matched */
-| 			{
-| 			if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
-| 				{
-| 				yy_act = yy_acclist[(yy_lp)];
-| 					{
-| 					(yy_full_match) = yy_cp;
-| 					break;
-| 					}
-| 				}
-| 			--yy_cp;
-| 			yy_current_state = *--(yy_state_ptr);
-| 			(yy_lp) = yy_accept[yy_current_state];
-| 			}
-| 
-| 		YY_DO_BEFORE_ACTION;
-| 
-| do_action:	/* This label is used only to access EOF actions. */
-| 
-| 		switch ( yy_act )
-| 	{ /* beginning of action switch */
-| case 1:
-| YY_RULE_SETUP
-| #line 2 "conftest.l"
-| { ECHO; }
-| 	YY_BREAK
-| case 2:
-| YY_RULE_SETUP
-| #line 3 "conftest.l"
-| { REJECT; }
-| 	YY_BREAK
-| case 3:
-| YY_RULE_SETUP
-| #line 4 "conftest.l"
-| { yymore (); }
-| 	YY_BREAK
-| case 4:
-| YY_RULE_SETUP
-| #line 5 "conftest.l"
-| { yyless (1); }
-| 	YY_BREAK
-| case 5:
-| YY_RULE_SETUP
-| #line 6 "conftest.l"
-| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
-|     yyless ((input () != 0)); }
-| 	YY_BREAK
-| case 6:
-| YY_RULE_SETUP
-| #line 8 "conftest.l"
-| { unput (yytext[0]); }
-| 	YY_BREAK
-| case 7:
-| YY_RULE_SETUP
-| #line 9 "conftest.l"
-| { BEGIN INITIAL; }
-| 	YY_BREAK
-| case 8:
-| YY_RULE_SETUP
-| #line 10 "conftest.l"
-| ECHO;
-| 	YY_BREAK
-| #line 793 "lex.yy.c"
-| 			case YY_STATE_EOF(INITIAL):
-| 				yyterminate();
-| 
-| 	case YY_END_OF_BUFFER:
-| 		{
-| 		/* Amount of text matched not including the EOB char. */
-| 		int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
-| 
-| 		/* Undo the effects of YY_DO_BEFORE_ACTION. */
-| 		*yy_cp = (yy_hold_char);
-| 		YY_RESTORE_YY_MORE_OFFSET
-| 
-| 		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
-| 			{
-| 			/* We're scanning a new file or input source.  It's
-| 			 * possible that this happened because the user
-| 			 * just pointed yyin at a new source and called
-| 			 * yylex().  If so, then we have to assure
-| 			 * consistency between YY_CURRENT_BUFFER and our
-| 			 * globals.  Here is the right place to do so, because
-| 			 * this is the first action (other than possibly a
-| 			 * back-up) that will match for the new input source.
-| 			 */
-| 			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
-| 			}
-| 
-| 		/* Note that here we test for yy_c_buf_p "<=" to the position
-| 		 * of the first EOB in the buffer, since yy_c_buf_p will
-| 		 * already have been incremented past the NUL character
-| 		 * (since all states make transitions on EOB to the
-| 		 * end-of-buffer state).  Contrast this with the test
-| 		 * in input().
-| 		 */
-| 		if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
-| 			{ /* This was really a NUL. */
-| 			yy_state_type yy_next_state;
-| 
-| 			(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
-| 
-| 			yy_current_state = yy_get_previous_state(  );
-| 
-| 			/* Okay, we're now positioned to make the NUL
-| 			 * transition.  We couldn't have
-| 			 * yy_get_previous_state() go ahead and do it
-| 			 * for us because it doesn't know how to deal
-| 			 * with the possibility of jamming (and we don't
-| 			 * want to build jamming into it because then it
-| 			 * will run more slowly).
-| 			 */
-| 
-| 			yy_next_state = yy_try_NUL_trans( yy_current_state );
-| 
-| 			yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 
-| 			if ( yy_next_state )
-| 				{
-| 				/* Consume the NUL. */
-| 				yy_cp = ++(yy_c_buf_p);
-| 				yy_current_state = yy_next_state;
-| 				goto yy_match;
-| 				}
-| 
-| 			else
-| 				{
-| 				yy_cp = (yy_c_buf_p);
-| 				goto yy_find_action;
-| 				}
-| 			}
-| 
-| 		else switch ( yy_get_next_buffer(  ) )
-| 			{
-| 			case EOB_ACT_END_OF_FILE:
-| 				{
-| 				(yy_did_buffer_switch_on_eof) = 0;
-| 
-| 				if ( yywrap( ) )
-| 					{
-| 					/* Note: because we've taken care in
-| 					 * yy_get_next_buffer() to have set up
-| 					 * yytext, we can now set up
-| 					 * yy_c_buf_p so that if some total
-| 					 * hoser (like flex itself) wants to
-| 					 * call the scanner after we return the
-| 					 * YY_NULL, it'll still work - another
-| 					 * YY_NULL will get returned.
-| 					 */
-| 					(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
-| 
-| 					yy_act = YY_STATE_EOF(YY_START);
-| 					goto do_action;
-| 					}
-| 
-| 				else
-| 					{
-| 					if ( ! (yy_did_buffer_switch_on_eof) )
-| 						YY_NEW_FILE;
-| 					}
-| 				break;
-| 				}
-| 
-| 			case EOB_ACT_CONTINUE_SCAN:
-| 				(yy_c_buf_p) =
-| 					(yytext_ptr) + yy_amount_of_matched_text;
-| 
-| 				yy_current_state = yy_get_previous_state(  );
-| 
-| 				yy_cp = (yy_c_buf_p);
-| 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 				goto yy_match;
-| 
-| 			case EOB_ACT_LAST_MATCH:
-| 				(yy_c_buf_p) =
-| 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
-| 
-| 				yy_current_state = yy_get_previous_state(  );
-| 
-| 				yy_cp = (yy_c_buf_p);
-| 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-| 				goto yy_find_action;
-| 			}
-| 		break;
-| 		}
-| 
-| 	default:
-| 		YY_FATAL_ERROR(
-| 			"fatal flex scanner internal error--no action found" );
-| 	} /* end of action switch */
-| 		} /* end of scanning one token */
-| } /* end of yylex */
-| 
-| /* yy_get_next_buffer - try to read in a new buffer
-|  *
-|  * Returns a code representing an action:
-|  *	EOB_ACT_LAST_MATCH -
-|  *	EOB_ACT_CONTINUE_SCAN - continue scanning from current position
-|  *	EOB_ACT_END_OF_FILE - end of file
-|  */
-| static int yy_get_next_buffer (void)
-| {
-|     	register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
-| 	register char *source = (yytext_ptr);
-| 	register int number_to_move, i;
-| 	int ret_val;
-| 
-| 	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
-| 		YY_FATAL_ERROR(
-| 		"fatal flex scanner internal error--end of buffer missed" );
-| 
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
-| 		{ /* Don't try to fill the buffer, so this is an EOF. */
-| 		if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
-| 			{
-| 			/* We matched a single character, the EOB, so
-| 			 * treat this as a final EOF.
-| 			 */
-| 			return EOB_ACT_END_OF_FILE;
-| 			}
-| 
-| 		else
-| 			{
-| 			/* We matched some text prior to the EOB, first
-| 			 * process it.
-| 			 */
-| 			return EOB_ACT_LAST_MATCH;
-| 			}
-| 		}
-| 
-| 	/* Try to read more data. */
-| 
-| 	/* First move last chars to start of buffer. */
-| 	number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
-| 
-| 	for ( i = 0; i < number_to_move; ++i )
-| 		*(dest++) = *(source++);
-| 
-| 	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
-| 		/* don't do the read, it's not guaranteed to return an EOF,
-| 		 * just force an EOF
-| 		 */
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
-| 
-| 	else
-| 		{
-| 			yy_size_t num_to_read =
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
-| 
-| 		while ( num_to_read <= 0 )
-| 			{ /* Not enough room in the buffer - grow it. */
-| 
-| 			YY_FATAL_ERROR(
-| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-| 
-| 			}
-| 
-| 		if ( num_to_read > YY_READ_BUF_SIZE )
-| 			num_to_read = YY_READ_BUF_SIZE;
-| 
-| 		/* Read in more data. */
-| 		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
-| 			(yy_n_chars), num_to_read );
-| 
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	if ( (yy_n_chars) == 0 )
-| 		{
-| 		if ( number_to_move == YY_MORE_ADJ )
-| 			{
-| 			ret_val = EOB_ACT_END_OF_FILE;
-| 			yyrestart(yyin  );
-| 			}
-| 
-| 		else
-| 			{
-| 			ret_val = EOB_ACT_LAST_MATCH;
-| 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
-| 				YY_BUFFER_EOF_PENDING;
-| 			}
-| 		}
-| 
-| 	else
-| 		ret_val = EOB_ACT_CONTINUE_SCAN;
-| 
-| 	if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
-| 		/* Extend the array by 50%, plus the number we really need. */
-| 		yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
-| 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
-| 	}
-| 
-| 	(yy_n_chars) += number_to_move;
-| 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
-| 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
-| 
-| 	return ret_val;
-| }
-| 
-| /* yy_get_previous_state - get the state just before the EOB char was reached */
-| 
-|     static yy_state_type yy_get_previous_state (void)
-| {
-| 	register yy_state_type yy_current_state;
-| 	register char *yy_cp;
-|     
-| 	yy_current_state = (yy_start);
-| 
-| 	(yy_state_ptr) = (yy_state_buf);
-| 	*(yy_state_ptr)++ = yy_current_state;
-| 
-| 	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
-| 		{
-| 		register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
-| 		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 			{
-| 			yy_current_state = (int) yy_def[yy_current_state];
-| 			if ( yy_current_state >= 13 )
-| 				yy_c = yy_meta[(unsigned int) yy_c];
-| 			}
-| 		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 		}
-| 
-| 	return yy_current_state;
-| }
-| 
-| /* yy_try_NUL_trans - try to make a transition on the NUL character
-|  *
-|  * synopsis
-|  *	next_state = yy_try_NUL_trans( current_state );
-|  */
-|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
-| {
-| 	register int yy_is_jam;
-|     
-| 	register YY_CHAR yy_c = 1;
-| 	while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
-| 		{
-| 		yy_current_state = (int) yy_def[yy_current_state];
-| 		if ( yy_current_state >= 13 )
-| 			yy_c = yy_meta[(unsigned int) yy_c];
-| 		}
-| 	yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-| 	yy_is_jam = (yy_current_state == 12);
-| 	if ( ! yy_is_jam )
-| 		*(yy_state_ptr)++ = yy_current_state;
-| 
-| 	return yy_is_jam ? 0 : yy_current_state;
-| }
-| 
-|     static void yyunput (int c, register char * yy_bp )
-| {
-| 	register char *yy_cp;
-|     
-|     yy_cp = (yy_c_buf_p);
-| 
-| 	/* undo effects of setting up yytext */
-| 	*yy_cp = (yy_hold_char);
-| 
-| 	if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
-| 		{ /* need to shift things up to make room */
-| 		/* +2 for EOB chars. */
-| 		register yy_size_t number_to_move = (yy_n_chars) + 2;
-| 		register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
-| 					YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
-| 		register char *source =
-| 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
-| 
-| 		while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
-| 			*--dest = *--source;
-| 
-| 		yy_cp += (int) (dest - source);
-| 		yy_bp += (int) (dest - source);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
-| 			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
-| 
-| 		if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
-| 			YY_FATAL_ERROR( "flex scanner push-back overflow" );
-| 		}
-| 
-| 	*--yy_cp = (char) c;
-| 
-| 	(yytext_ptr) = yy_bp;
-| 	(yy_hold_char) = *yy_cp;
-| 	(yy_c_buf_p) = yy_cp;
-| }
-| 
-| #ifndef YY_NO_INPUT
-| #ifdef __cplusplus
-|     static int yyinput (void)
-| #else
-|     static int input  (void)
-| #endif
-| 
-| {
-| 	int c;
-|     
-| 	*(yy_c_buf_p) = (yy_hold_char);
-| 
-| 	if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
-| 		{
-| 		/* yy_c_buf_p now points to the character we want to return.
-| 		 * If this occurs *before* the EOB characters, then it's a
-| 		 * valid NUL; if not, then we've hit the end of the buffer.
-| 		 */
-| 		if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
-| 			/* This was really a NUL. */
-| 			*(yy_c_buf_p) = '\0';
-| 
-| 		else
-| 			{ /* need more input */
-| 			yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
-| 			++(yy_c_buf_p);
-| 
-| 			switch ( yy_get_next_buffer(  ) )
-| 				{
-| 				case EOB_ACT_LAST_MATCH:
-| 					/* This happens because yy_g_n_b()
-| 					 * sees that we've accumulated a
-| 					 * token and flags that we need to
-| 					 * try matching the token before
-| 					 * proceeding.  But for input(),
-| 					 * there's no matching to consider.
-| 					 * So convert the EOB_ACT_LAST_MATCH
-| 					 * to EOB_ACT_END_OF_FILE.
-| 					 */
-| 
-| 					/* Reset buffer status. */
-| 					yyrestart(yyin );
-| 
-| 					/*FALLTHROUGH*/
-| 
-| 				case EOB_ACT_END_OF_FILE:
-| 					{
-| 					if ( yywrap( ) )
-| 						return 0;
-| 
-| 					if ( ! (yy_did_buffer_switch_on_eof) )
-| 						YY_NEW_FILE;
-| #ifdef __cplusplus
-| 					return yyinput();
-| #else
-| 					return input();
-| #endif
-| 					}
-| 
-| 				case EOB_ACT_CONTINUE_SCAN:
-| 					(yy_c_buf_p) = (yytext_ptr) + offset;
-| 					break;
-| 				}
-| 			}
-| 		}
-| 
-| 	c = *(unsigned char *) (yy_c_buf_p);	/* cast for 8-bit char's */
-| 	*(yy_c_buf_p) = '\0';	/* preserve yytext */
-| 	(yy_hold_char) = *++(yy_c_buf_p);
-| 
-| 	return c;
-| }
-| #endif	/* ifndef YY_NO_INPUT */
-| 
-| /** Immediately switch to a different input stream.
-|  * @param input_file A readable stream.
-|  * 
-|  * @note This function does not reset the start condition to @c INITIAL .
-|  */
-|     void yyrestart  (FILE * input_file )
-| {
-|     
-| 	if ( ! YY_CURRENT_BUFFER ){
-|         yyensure_buffer_stack ();
-| 		YY_CURRENT_BUFFER_LVALUE =
-|             yy_create_buffer(yyin,YY_BUF_SIZE );
-| 	}
-| 
-| 	yy_init_buffer(YY_CURRENT_BUFFER,input_file );
-| 	yy_load_buffer_state( );
-| }
-| 
-| /** Switch to a different input buffer.
-|  * @param new_buffer The new input buffer.
-|  * 
-|  */
-|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
-| {
-|     
-| 	/* TODO. We should be able to replace this entire function body
-| 	 * with
-| 	 *		yypop_buffer_state();
-| 	 *		yypush_buffer_state(new_buffer);
-|      */
-| 	yyensure_buffer_stack ();
-| 	if ( YY_CURRENT_BUFFER == new_buffer )
-| 		return;
-| 
-| 	if ( YY_CURRENT_BUFFER )
-| 		{
-| 		/* Flush out information for old buffer. */
-| 		*(yy_c_buf_p) = (yy_hold_char);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
-| 	yy_load_buffer_state( );
-| 
-| 	/* We don't actually know whether we did this switch during
-| 	 * EOF (yywrap()) processing, but the only time this flag
-| 	 * is looked at is after yywrap() is called, so it's safe
-| 	 * to go ahead and always set it.
-| 	 */
-| 	(yy_did_buffer_switch_on_eof) = 1;
-| }
-| 
-| static void yy_load_buffer_state  (void)
-| {
-|     	(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
-| 	(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
-| 	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
-| 	(yy_hold_char) = *(yy_c_buf_p);
-| }
-| 
-| /** Allocate and initialize an input buffer state.
-|  * @param file A readable stream.
-|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
-|  * 
-|  * @return the allocated buffer state.
-|  */
-|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
-| {
-| 	YY_BUFFER_STATE b;
-|     
-| 	b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-| 
-| 	b->yy_buf_size = size;
-| 
-| 	/* yy_ch_buf has to be 2 characters longer than the size given because
-| 	 * we need to put in 2 end-of-buffer characters.
-| 	 */
-| 	b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
-| 	if ( ! b->yy_ch_buf )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-| 
-| 	b->yy_is_our_buffer = 1;
-| 
-| 	yy_init_buffer(b,file );
-| 
-| 	return b;
-| }
-| 
-| /** Destroy the buffer.
-|  * @param b a buffer created with yy_create_buffer()
-|  * 
-|  */
-|     void yy_delete_buffer (YY_BUFFER_STATE  b )
-| {
-|     
-| 	if ( ! b )
-| 		return;
-| 
-| 	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
-| 		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
-| 
-| 	if ( b->yy_is_our_buffer )
-| 		yyfree((void *) b->yy_ch_buf  );
-| 
-| 	yyfree((void *) b  );
-| }
-| 
-| #ifndef __cplusplus
-| extern int isatty (int );
-| #endif /* __cplusplus */
-|     
-| /* Initializes or reinitializes a buffer.
-|  * This function is sometimes called more than once on the same buffer,
-|  * such as during a yyrestart() or at EOF.
-|  */
-|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
-| 
-| {
-| 	int oerrno = errno;
-|     
-| 	yy_flush_buffer(b );
-| 
-| 	b->yy_input_file = file;
-| 	b->yy_fill_buffer = 1;
-| 
-|     /* If b is the current buffer, then yy_init_buffer was _probably_
-|      * called from yyrestart() or through yy_get_next_buffer.
-|      * In that case, we don't want to reset the lineno or column.
-|      */
-|     if (b != YY_CURRENT_BUFFER){
-|         b->yy_bs_lineno = 1;
-|         b->yy_bs_column = 0;
-|     }
-| 
-|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-|     
-| 	errno = oerrno;
-| }
-| 
-| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
-|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
-|  * 
-|  */
-|     void yy_flush_buffer (YY_BUFFER_STATE  b )
-| {
-|     	if ( ! b )
-| 		return;
-| 
-| 	b->yy_n_chars = 0;
-| 
-| 	/* We always need two end-of-buffer characters.  The first causes
-| 	 * a transition to the end-of-buffer state.  The second causes
-| 	 * a jam in that state.
-| 	 */
-| 	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
-| 	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	b->yy_buf_pos = &b->yy_ch_buf[0];
-| 
-| 	b->yy_at_bol = 1;
-| 	b->yy_buffer_status = YY_BUFFER_NEW;
-| 
-| 	if ( b == YY_CURRENT_BUFFER )
-| 		yy_load_buffer_state( );
-| }
-| 
-| /** Pushes the new state onto the stack. The new state becomes
-|  *  the current state. This function will allocate the stack
-|  *  if necessary.
-|  *  @param new_buffer The new state.
-|  *  
-|  */
-| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
-| {
-|     	if (new_buffer == NULL)
-| 		return;
-| 
-| 	yyensure_buffer_stack();
-| 
-| 	/* This block is copied from yy_switch_to_buffer. */
-| 	if ( YY_CURRENT_BUFFER )
-| 		{
-| 		/* Flush out information for old buffer. */
-| 		*(yy_c_buf_p) = (yy_hold_char);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
-| 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
-| 		}
-| 
-| 	/* Only push if top exists. Otherwise, replace top. */
-| 	if (YY_CURRENT_BUFFER)
-| 		(yy_buffer_stack_top)++;
-| 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
-| 
-| 	/* copied from yy_switch_to_buffer. */
-| 	yy_load_buffer_state( );
-| 	(yy_did_buffer_switch_on_eof) = 1;
-| }
-| 
-| /** Removes and deletes the top of the stack, if present.
-|  *  The next element becomes the new top.
-|  *  
-|  */
-| void yypop_buffer_state (void)
-| {
-|     	if (!YY_CURRENT_BUFFER)
-| 		return;
-| 
-| 	yy_delete_buffer(YY_CURRENT_BUFFER );
-| 	YY_CURRENT_BUFFER_LVALUE = NULL;
-| 	if ((yy_buffer_stack_top) > 0)
-| 		--(yy_buffer_stack_top);
-| 
-| 	if (YY_CURRENT_BUFFER) {
-| 		yy_load_buffer_state( );
-| 		(yy_did_buffer_switch_on_eof) = 1;
-| 	}
-| }
-| 
-| /* Allocates the stack if it does not exist.
-|  *  Guarantees space for at least one push.
-|  */
-| static void yyensure_buffer_stack (void)
-| {
-| 	yy_size_t num_to_alloc;
-|     
-| 	if (!(yy_buffer_stack)) {
-| 
-| 		/* First allocation is just for 2 elements, since we don't know if this
-| 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
-| 		 * immediate realloc on the next call.
-|          */
-| 		num_to_alloc = 1;
-| 		(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
-| 								(num_to_alloc * sizeof(struct yy_buffer_state*)
-| 								);
-| 		if ( ! (yy_buffer_stack) )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
-| 								  
-| 		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
-| 				
-| 		(yy_buffer_stack_max) = num_to_alloc;
-| 		(yy_buffer_stack_top) = 0;
-| 		return;
-| 	}
-| 
-| 	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
-| 
-| 		/* Increase the buffer to prepare for a possible push. */
-| 		int grow_size = 8 /* arbitrary grow size */;
-| 
-| 		num_to_alloc = (yy_buffer_stack_max) + grow_size;
-| 		(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
-| 								((yy_buffer_stack),
-| 								num_to_alloc * sizeof(struct yy_buffer_state*)
-| 								);
-| 		if ( ! (yy_buffer_stack) )
-| 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
-| 
-| 		/* zero only the new slots.*/
-| 		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
-| 		(yy_buffer_stack_max) = num_to_alloc;
-| 	}
-| }
-| 
-| /** Setup the input buffer state to scan directly from a user-specified character buffer.
-|  * @param base the character buffer
-|  * @param size the size in bytes of the character buffer
-|  * 
-|  * @return the newly allocated buffer state object. 
-|  */
-| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
-| {
-| 	YY_BUFFER_STATE b;
-|     
-| 	if ( size < 2 ||
-| 	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
-| 	     base[size-1] != YY_END_OF_BUFFER_CHAR )
-| 		/* They forgot to leave room for the EOB's. */
-| 		return 0;
-| 
-| 	b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
-| 
-| 	b->yy_buf_size = size - 2;	/* "- 2" to take care of EOB's */
-| 	b->yy_buf_pos = b->yy_ch_buf = base;
-| 	b->yy_is_our_buffer = 0;
-| 	b->yy_input_file = 0;
-| 	b->yy_n_chars = b->yy_buf_size;
-| 	b->yy_is_interactive = 0;
-| 	b->yy_at_bol = 1;
-| 	b->yy_fill_buffer = 0;
-| 	b->yy_buffer_status = YY_BUFFER_NEW;
-| 
-| 	yy_switch_to_buffer(b  );
-| 
-| 	return b;
-| }
-| 
-| /** Setup the input buffer state to scan a string. The next call to yylex() will
-|  * scan from a @e copy of @a str.
-|  * @param yystr a NUL-terminated string to scan
-|  * 
-|  * @return the newly allocated buffer state object.
-|  * @note If you want to scan bytes that may contain NUL values, then use
-|  *       yy_scan_bytes() instead.
-|  */
-| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
-| {
-|     
-| 	return yy_scan_bytes(yystr,strlen(yystr) );
-| }
-| 
-| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
-|  * scan from a @e copy of @a bytes.
-|  * @param bytes the byte buffer to scan
-|  * @param len the number of bytes in the buffer pointed to by @a bytes.
-|  * 
-|  * @return the newly allocated buffer state object.
-|  */
-| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
-| {
-| 	YY_BUFFER_STATE b;
-| 	char *buf;
-| 	yy_size_t n, i;
-|     
-| 	/* Get memory for full buffer, including space for trailing EOB's. */
-| 	n = _yybytes_len + 2;
-| 	buf = (char *) yyalloc(n  );
-| 	if ( ! buf )
-| 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
-| 
-| 	for ( i = 0; i < _yybytes_len; ++i )
-| 		buf[i] = yybytes[i];
-| 
-| 	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
-| 
-| 	b = yy_scan_buffer(buf,n );
-| 	if ( ! b )
-| 		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
-| 
-| 	/* It's okay to grow etc. this buffer, and we should throw it
-| 	 * away when we're done.
-| 	 */
-| 	b->yy_is_our_buffer = 1;
-| 
-| 	return b;
-| }
-| 
-| #ifndef YY_EXIT_FAILURE
-| #define YY_EXIT_FAILURE 2
-| #endif
-| 
-| static void yy_fatal_error (yyconst char* msg )
-| {
-|     	(void) fprintf( stderr, "%s\n", msg );
-| 	exit( YY_EXIT_FAILURE );
-| }
-| 
-| /* Redefine yyless() so it works in section 3 code. */
-| 
-| #undef yyless
-| #define yyless(n) \
-| 	do \
-| 		{ \
-| 		/* Undo effects of setting up yytext. */ \
-|         int yyless_macro_arg = (n); \
-|         YY_LESS_LINENO(yyless_macro_arg);\
-| 		yytext[yyleng] = (yy_hold_char); \
-| 		(yy_c_buf_p) = yytext + yyless_macro_arg; \
-| 		(yy_hold_char) = *(yy_c_buf_p); \
-| 		*(yy_c_buf_p) = '\0'; \
-| 		yyleng = yyless_macro_arg; \
-| 		} \
-| 	while ( 0 )
-| 
-| /* Accessor  methods (get/set functions) to struct members. */
-| 
-| /** Get the current line number.
-|  * 
-|  */
-| int yyget_lineno  (void)
-| {
-|         
-|     return yylineno;
-| }
-| 
-| /** Get the input stream.
-|  * 
-|  */
-| FILE *yyget_in  (void)
-| {
-|         return yyin;
-| }
-| 
-| /** Get the output stream.
-|  * 
-|  */
-| FILE *yyget_out  (void)
-| {
-|         return yyout;
-| }
-| 
-| /** Get the length of the current token.
-|  * 
-|  */
-| yy_size_t yyget_leng  (void)
-| {
-|         return yyleng;
-| }
-| 
-| /** Get the current token.
-|  * 
-|  */
-| 
-| char *yyget_text  (void)
-| {
-|         return yytext;
-| }
-| 
-| /** Set the current line number.
-|  * @param line_number
-|  * 
-|  */
-| void yyset_lineno (int  line_number )
-| {
-|     
-|     yylineno = line_number;
-| }
-| 
-| /** Set the input stream. This does not discard the current
-|  * input buffer.
-|  * @param in_str A readable stream.
-|  * 
-|  * @see yy_switch_to_buffer
-|  */
-| void yyset_in (FILE *  in_str )
-| {
-|         yyin = in_str ;
-| }
-| 
-| void yyset_out (FILE *  out_str )
-| {
-|         yyout = out_str ;
-| }
-| 
-| int yyget_debug  (void)
-| {
-|         return yy_flex_debug;
-| }
-| 
-| void yyset_debug (int  bdebug )
-| {
-|         yy_flex_debug = bdebug ;
-| }
-| 
-| static int yy_init_globals (void)
-| {
-|         /* Initialization is the same as for the non-reentrant scanner.
-|      * This function is called from yylex_destroy(), so don't allocate here.
-|      */
-| 
-|     (yy_buffer_stack) = 0;
-|     (yy_buffer_stack_top) = 0;
-|     (yy_buffer_stack_max) = 0;
-|     (yy_c_buf_p) = (char *) 0;
-|     (yy_init) = 0;
-|     (yy_start) = 0;
-| 
-|     (yy_state_buf) = 0;
-|     (yy_state_ptr) = 0;
-|     (yy_full_match) = 0;
-|     (yy_lp) = 0;
-| 
-| /* Defined in main.c */
-| #ifdef YY_STDINIT
-|     yyin = stdin;
-|     yyout = stdout;
-| #else
-|     yyin = (FILE *) 0;
-|     yyout = (FILE *) 0;
-| #endif
-| 
-|     /* For future reference: Set errno on error, since we are called by
-|      * yylex_init()
-|      */
-|     return 0;
-| }
-| 
-| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
-| int yylex_destroy  (void)
-| {
-|     
-|     /* Pop the buffer stack, destroying each element. */
-| 	while(YY_CURRENT_BUFFER){
-| 		yy_delete_buffer(YY_CURRENT_BUFFER  );
-| 		YY_CURRENT_BUFFER_LVALUE = NULL;
-| 		yypop_buffer_state();
-| 	}
-| 
-| 	/* Destroy the stack itself. */
-| 	yyfree((yy_buffer_stack) );
-| 	(yy_buffer_stack) = NULL;
-| 
-|     yyfree ( (yy_state_buf) );
-|     (yy_state_buf)  = NULL;
-| 
-|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
-|      * yylex() is called, initialization will occur. */
-|     yy_init_globals( );
-| 
-|     return 0;
-| }
-| 
-| /*
-|  * Internal utility routines.
-|  */
-| 
-| #ifndef yytext_ptr
-| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
-| {
-| 	register int i;
-| 	for ( i = 0; i < n; ++i )
-| 		s1[i] = s2[i];
-| }
-| #endif
-| 
-| #ifdef YY_NEED_STRLEN
-| static int yy_flex_strlen (yyconst char * s )
-| {
-| 	register int n;
-| 	for ( n = 0; s[n]; ++n )
-| 		;
-| 
-| 	return n;
-| }
-| #endif
-| 
-| void *yyalloc (yy_size_t  size )
-| {
-| 	return (void *) malloc( size );
-| }
-| 
-| void *yyrealloc  (void * ptr, yy_size_t  size )
-| {
-| 	/* The cast to (char *) in the following accommodates both
-| 	 * implementations that use char* generic pointers, and those
-| 	 * that use void* generic pointers.  It works with the latter
-| 	 * because both ANSI C and C++ allow castless assignment from
-| 	 * any pointer type to void*, and deal with argument conversions
-| 	 * as though doing an assignment.
-| 	 */
-| 	return (void *) realloc( (char *) ptr, size );
-| }
-| 
-| void yyfree (void * ptr )
-| {
-| 	free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
-| }
-| 
-| #define YYTABLES_NAME "yytables"
-| 
-| #line 10 "conftest.l"
-| 
-| 
-| #ifdef YYTEXT_POINTER
-| extern char *yytext;
-| #endif
-| int
-| main (void)
-| {
-|   return ! yylex () + ! yywrap ();
-| }
-configure:3583: gcc -o conftest -g -O2   conftest.c -ll  >&5
-configure:3583: $? = 0
-configure:3593: result: -ll
-configure:3599: checking whether yytext is a pointer
-configure:3616: gcc -o conftest -g -O2   conftest.c -ll  >&5
-configure:3616: $? = 0
-configure:3624: result: yes
-configure:3692: checking for g++
-configure:3708: found /usr/bin/g++
-configure:3719: result: g++
-configure:3746: checking for C++ compiler version
-configure:3755: g++ --version >&5
-Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
-Target: x86_64-apple-darwin14.3.0
-Thread model: posix
-Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
-configure:3766: $? = 0
-configure:3755: g++ -v >&5
-Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
-Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
-Target: x86_64-apple-darwin14.3.0
-Thread model: posix
-configure:3766: $? = 0
-configure:3755: g++ -V >&5
-clang: error: argument to '-V' is missing (expected 1 value)
-clang: error: no input files
-configure:3766: $? = 1
-configure:3755: g++ -qversion >&5
-clang: error: unknown argument: '-qversion'
-clang: error: no input files
-configure:3766: $? = 1
-configure:3770: checking whether we are using the GNU C++ compiler
-configure:3789: g++ -c   conftest.cpp >&5
-configure:3789: $? = 0
-configure:3798: result: yes
-configure:3807: checking whether g++ accepts -g
-configure:3827: g++ -c -g  conftest.cpp >&5
-configure:3827: $? = 0
-configure:3868: result: yes
-configure:3891: checking for a sed that does not truncate output
-configure:3955: result: /usr/bin/sed
-configure:3962: checking for curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform in -lcurl
-configure:3987: gcc -o conftest -g -O2   conftest.c -lcurl   >&5
-conftest.c:21:8: warning: expression result unused [-Wunused-value]
-return curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-       ^~~~~~~~~~~~~~
-conftest.c:21:23: warning: expression result unused [-Wunused-value]
-return curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-                      ^~~~~~~~~~~~~~~~
-conftest.c:21:40: warning: expression result unused [-Wunused-value]
-return curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-                                       ^~~~~~~~~~~~~~~~~
-3 warnings generated.
-configure:3987: $? = 0
-configure:3996: result: yes
-configure:4007: checking for dlopen,dlsym,dlerror,dlclose in -ldl
-configure:4032: gcc -o conftest -g -O2   conftest.c -ldl  -lcurl  >&5
-conftest.c:22:8: warning: expression result unused [-Wunused-value]
-return dlopen,dlsym,dlerror,dlclose ();
-       ^~~~~~
-conftest.c:22:15: warning: expression result unused [-Wunused-value]
-return dlopen,dlsym,dlerror,dlclose ();
-              ^~~~~
-conftest.c:22:21: warning: expression result unused [-Wunused-value]
-return dlopen,dlsym,dlerror,dlclose ();
-                    ^~~~~~~
-3 warnings generated.
-configure:4032: $? = 0
-configure:4041: result: yes
-configure:4052: checking for EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new in -lcrypto
-configure:4077: gcc -o conftest -g -O2   conftest.c -lcrypto  -ldl -lcurl  >&5
-conftest.c:23:8: warning: expression result unused [-Wunused-value]
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-       ^~~~~~~~~~~~~~
-conftest.c:23:23: warning: expression result unused [-Wunused-value]
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-                      ^~~~~~~
-conftest.c:23:31: warning: expression result unused [-Wunused-value]
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-                              ^~~~~~~~~~~~~~~~
-conftest.c:23:48: warning: expression result unused [-Wunused-value]
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-                                               ^~~~~~~~~~~~
-4 warnings generated.
-configure:4077: $? = 0
-configure:4086: result: yes
-configure:4097: checking for uuid_generate_time in -luuid
-configure:4122: gcc -o conftest -g -O2   conftest.c -luuid  -lcrypto -ldl -lcurl  >&5
-configure:4122: $? = 0
-configure:4131: result: yes
-configure:4153: checking how to run the C preprocessor
-configure:4184: gcc -E  conftest.c
-configure:4184: $? = 0
-configure:4198: gcc -E  conftest.c
-conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found
-#include <ac_nonexistent.h>
-         ^
-1 error generated.
-configure:4198: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:4223: result: gcc -E
-configure:4243: gcc -E  conftest.c
-configure:4243: $? = 0
-configure:4257: gcc -E  conftest.c
-conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found
-#include <ac_nonexistent.h>
-         ^
-1 error generated.
-configure:4257: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:4286: checking for grep that handles long lines and -e
-configure:4344: result: /usr/bin/grep
-configure:4349: checking for egrep
-configure:4411: result: /usr/bin/grep -E
-configure:4416: checking for ANSI C header files
-configure:4436: gcc -c -g -O2  conftest.c >&5
-configure:4436: $? = 0
-configure:4509: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:4509: $? = 0
-configure:4509: ./conftest
-configure:4509: $? = 0
-configure:4520: result: yes
-configure:4533: checking for sys/types.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for sys/stat.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for stdlib.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for string.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for memory.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for strings.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for inttypes.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for stdint.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4533: checking for unistd.h
-configure:4533: gcc -c -g -O2  conftest.c >&5
-configure:4533: $? = 0
-configure:4533: result: yes
-configure:4545: checking for size_t
-configure:4545: gcc -c -g -O2  conftest.c >&5
-configure:4545: $? = 0
-configure:4545: gcc -c -g -O2  conftest.c >&5
-conftest.c:60:21: error: expected expression
-if (sizeof ((size_t)))
-                    ^
-1 error generated.
-configure:4545: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| int
-| main ()
-| {
-| if (sizeof ((size_t)))
-| 	    return 0;
-|   ;
-|   return 0;
-| }
-configure:4545: result: yes
-configure:4558: checking for working alloca.h
-configure:4575: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:4575: $? = 0
-configure:4583: result: yes
-configure:4591: checking for alloca
-configure:4628: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:4628: $? = 0
-configure:4636: result: yes
-configure:4745: checking fcntl.h usability
-configure:4745: gcc -c -g -O2  conftest.c >&5
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking fcntl.h presence
-configure:4745: gcc -E  conftest.c
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking for fcntl.h
-configure:4745: result: yes
-configure:4745: checking for inttypes.h
-configure:4745: result: yes
-configure:4745: checking libintl.h usability
-configure:4745: gcc -c -g -O2  conftest.c >&5
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking libintl.h presence
-configure:4745: gcc -E  conftest.c
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking for libintl.h
-configure:4745: result: yes
-configure:4745: checking malloc.h usability
-configure:4745: gcc -c -g -O2  conftest.c >&5
-conftest.c:62:10: fatal error: 'malloc.h' file not found
-#include <malloc.h>
-         ^
-1 error generated.
-configure:4745: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <malloc.h>
-configure:4745: result: no
-configure:4745: checking malloc.h presence
-configure:4745: gcc -E  conftest.c
-conftest.c:29:10: fatal error: 'malloc.h' file not found
-#include <malloc.h>
-         ^
-1 error generated.
-configure:4745: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| /* end confdefs.h.  */
-| #include <malloc.h>
-configure:4745: result: no
-configure:4745: checking for malloc.h
-configure:4745: result: no
-configure:4745: checking stddef.h usability
-configure:4745: gcc -c -g -O2  conftest.c >&5
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking stddef.h presence
-configure:4745: gcc -E  conftest.c
-configure:4745: $? = 0
-configure:4745: result: yes
-configure:4745: checking for stddef.h
-configure:4745: result: yes
-configure:4745: checking for stdlib.h
-configure:4745: result: yes
-configure:4745: checking for string.h
-configure:4745: result: yes
-configure:4745: checking for unistd.h
-configure:4745: result: yes
-configure:4757: checking for stdbool.h that conforms to C99
-configure:4824: gcc -c -g -O2  conftest.c >&5
-conftest.c:82:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion]
-             bool e = &s;
-                  ~    ^
-1 warning generated.
-configure:4824: $? = 0
-configure:4831: result: yes
-configure:4833: checking for _Bool
-configure:4833: gcc -c -g -O2  conftest.c >&5
-configure:4833: $? = 0
-configure:4833: gcc -c -g -O2  conftest.c >&5
-conftest.c:69:20: error: expected expression
-if (sizeof ((_Bool)))
-                   ^
-1 error generated.
-configure:4833: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| int
-| main ()
-| {
-| if (sizeof ((_Bool)))
-| 	    return 0;
-|   ;
-|   return 0;
-| }
-configure:4833: result: yes
-configure:4850: checking for int16_t
-configure:4850: gcc -c -g -O2  conftest.c >&5
-configure:4850: $? = 0
-configure:4850: gcc -c -g -O2  conftest.c >&5
-conftest.c:72:24: error: 'test_array' declared as an array with a negative size
-static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
-                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-1 error generated.
-configure:4850: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| 	        enum { N = 16 / 2 - 1 };
-| int
-| main ()
-| {
-| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
-| 		 < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
-| test_array [0] = 0;
-| return test_array [0];
-| 
-|   ;
-|   return 0;
-| }
-configure:4850: result: yes
-configure:4861: checking for int32_t
-configure:4861: gcc -c -g -O2  conftest.c >&5
-configure:4861: $? = 0
-configure:4861: gcc -c -g -O2  conftest.c >&5
-conftest.c:72:24: error: 'test_array' declared as an array with a negative size
-static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
-                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-1 error generated.
-configure:4861: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| 	        enum { N = 32 / 2 - 1 };
-| int
-| main ()
-| {
-| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
-| 		 < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
-| test_array [0] = 0;
-| return test_array [0];
-| 
-|   ;
-|   return 0;
-| }
-configure:4861: result: yes
-configure:4872: checking for int8_t
-configure:4872: gcc -c -g -O2  conftest.c >&5
-configure:4872: $? = 0
-configure:4872: gcc -c -g -O2  conftest.c >&5
-conftest.c:72:24: error: 'test_array' declared as an array with a negative size
-static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
-                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-1 error generated.
-configure:4872: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| 	        enum { N = 8 / 2 - 1 };
-| int
-| main ()
-| {
-| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
-| 		 < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
-| test_array [0] = 0;
-| return test_array [0];
-| 
-|   ;
-|   return 0;
-| }
-configure:4872: result: yes
-configure:4883: checking for pid_t
-configure:4883: gcc -c -g -O2  conftest.c >&5
-configure:4883: $? = 0
-configure:4883: gcc -c -g -O2  conftest.c >&5
-conftest.c:71:20: error: expected expression
-if (sizeof ((pid_t)))
-                   ^
-1 error generated.
-configure:4883: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| int
-| main ()
-| {
-| if (sizeof ((pid_t)))
-| 	    return 0;
-|   ;
-|   return 0;
-| }
-configure:4883: result: yes
-configure:4894: checking for size_t
-configure:4894: result: yes
-configure:4905: checking for uint16_t
-configure:4905: gcc -c -g -O2  conftest.c >&5
-configure:4905: $? = 0
-configure:4905: result: yes
-configure:4917: checking for uint32_t
-configure:4917: gcc -c -g -O2  conftest.c >&5
-configure:4917: $? = 0
-configure:4917: result: yes
-configure:4931: checking for uint8_t
-configure:4931: gcc -c -g -O2  conftest.c >&5
-configure:4931: $? = 0
-configure:4931: result: yes
-configure:4949: checking vfork.h usability
-configure:4949: gcc -c -g -O2  conftest.c >&5
-conftest.c:68:10: fatal error: 'vfork.h' file not found
-#include <vfork.h>
-         ^
-1 error generated.
-configure:4949: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <vfork.h>
-configure:4949: result: no
-configure:4949: checking vfork.h presence
-configure:4949: gcc -E  conftest.c
-conftest.c:35:10: fatal error: 'vfork.h' file not found
-#include <vfork.h>
-         ^
-1 error generated.
-configure:4949: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| /* end confdefs.h.  */
-| #include <vfork.h>
-configure:4949: result: no
-configure:4949: checking for vfork.h
-configure:4949: result: no
-configure:4962: checking for fork
-configure:4962: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:4962: $? = 0
-configure:4962: result: yes
-configure:4962: checking for vfork
-configure:4962: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-conftest.c:59:6: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration]
-char vfork ();
-     ^
-conftest.c:59:6: note: 'vfork' is a builtin with type 'int (void)'
-1 warning generated.
-configure:4962: $? = 0
-configure:4962: result: yes
-configure:4972: checking for working fork
-configure:4994: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:4994: $? = 0
-configure:4994: ./conftest
-configure:4994: $? = 0
-configure:5004: result: yes
-configure:5025: checking for working vfork
-configure:5135: result: yes
-configure:5162: checking for stdlib.h
-configure:5162: result: yes
-configure:5172: checking for GNU libc compatible malloc
-configure:5196: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:5196: $? = 0
-configure:5196: ./conftest
-configure:5196: $? = 0
-configure:5206: result: yes
-configure:5229: checking for stdlib.h
-configure:5229: result: yes
-configure:5239: checking for GNU libc compatible realloc
-configure:5263: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:5263: $? = 0
-configure:5263: ./conftest
-configure:5263: $? = 0
-configure:5273: result: yes
-configure:5297: checking for dup2
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5297: checking for getcwd
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5297: checking for memset
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-conftest.c:68:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
-char memset ();
-     ^
-conftest.c:68:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
-1 warning generated.
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5297: checking for setenv
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5297: checking for strdup
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-conftest.c:70:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
-char strdup ();
-     ^
-conftest.c:70:6: note: 'strdup' is a builtin with type 'char *(const char *)'
-1 warning generated.
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5297: checking for strstr
-configure:5297: gcc -o conftest -g -O2   conftest.c -luuid -lcrypto -ldl -lcurl  >&5
-conftest.c:71:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
-char strstr ();
-     ^
-conftest.c:71:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
-1 warning generated.
-configure:5297: $? = 0
-configure:5297: result: yes
-configure:5369: checking for yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan in -lyaml
-configure:5394: gcc -o conftest -g -O2 -I/usr/local//include -DYAML  conftest.c -lyaml  -L/usr/local//lib -lyaml >&5
-conftest.c:60:8: warning: expression result unused [-Wunused-value]
-return yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-       ^~~~~~~~~~~~~~~~~~~~~~
-conftest.c:60:31: warning: expression result unused [-Wunused-value]
-return yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
-2 warnings generated.
-configure:5394: $? = 0
-configure:5403: result: yes
-configure:5416: checking yaml.h usability
-configure:5416: gcc -c -g -O2 -I/usr/local//include -DYAML conftest.c >&5
-configure:5416: $? = 0
-configure:5416: result: yes
-configure:5416: checking yaml.h presence
-configure:5416: gcc -E -I/usr/local//include -DYAML conftest.c
-configure:5416: $? = 0
-configure:5416: result: yes
-configure:5416: checking for yaml.h
-configure:5416: result: yes
-configure:5457: checking for main in -lfcgi
-configure:5476: gcc -o conftest -g -O2 -I/usr/local//include  conftest.c -lfcgi  -L/usr/local//lib >&5
-configure:5476: $? = 0
-configure:5485: result: yes
-configure:5498: checking fcgi_stdio.h usability
-configure:5498: gcc -c -g -O2 -I/usr/local//include conftest.c >&5
-configure:5498: $? = 0
-configure:5498: result: yes
-configure:5498: checking fcgi_stdio.h presence
-configure:5498: gcc -E -I/usr/local//include conftest.c
-configure:5498: $? = 0
-configure:5498: result: yes
-configure:5498: checking for fcgi_stdio.h
-configure:5498: result: yes
-configure:5531: checking for xml2-config
-configure:5549: found /usr/local/bin/xml2-config
-configure:5561: result: /usr/local/bin/xml2-config
-configure:5598: checking libxml/tree.h usability
-configure:5598: gcc -c -g -O2 -I/usr/local/include/libxml2 conftest.c >&5
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking libxml/tree.h presence
-configure:5598: gcc -E -I/usr/local/include/libxml2 conftest.c
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking for libxml/tree.h
-configure:5598: result: yes
-configure:5598: checking libxml/parser.h usability
-configure:5598: gcc -c -g -O2 -I/usr/local/include/libxml2 conftest.c >&5
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking libxml/parser.h presence
-configure:5598: gcc -E -I/usr/local/include/libxml2 conftest.c
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking for libxml/parser.h
-configure:5598: result: yes
-configure:5598: checking libxml/xpath.h usability
-configure:5598: gcc -c -g -O2 -I/usr/local/include/libxml2 conftest.c >&5
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking libxml/xpath.h presence
-configure:5598: gcc -E -I/usr/local/include/libxml2 conftest.c
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking for libxml/xpath.h
-configure:5598: result: yes
-configure:5598: checking libxml/xpathInternals.h usability
-configure:5598: gcc -c -g -O2 -I/usr/local/include/libxml2 conftest.c >&5
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking libxml/xpathInternals.h presence
-configure:5598: gcc -E -I/usr/local/include/libxml2 conftest.c
-configure:5598: $? = 0
-configure:5598: result: yes
-configure:5598: checking for libxml/xpathInternals.h
-configure:5598: result: yes
-configure:5614: checking for xmlInitParser in -lxml2
-configure:5639: gcc -o conftest -g -O2 -I/usr/local/include/libxml2  conftest.c -lxml2  -L/usr/local/lib -lxml2 -lz -liconv -lm >&5
-configure:5639: $? = 0
-configure:5648: result: yes
-configure:5684: checking for xslt-config
-configure:5702: found /usr/local/bin/xslt-config
-configure:5714: result: /usr/local/bin/xslt-config
-configure:5751: checking libxslt/xslt.h usability
-configure:5751: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include/libxml2 conftest.c >&5
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking libxslt/xslt.h presence
-configure:5751: gcc -E -I/usr/local/include -I/usr/local/include/libxml2 conftest.c
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking for libxslt/xslt.h
-configure:5751: result: yes
-configure:5751: checking libxslt/xsltInternals.h usability
-configure:5751: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include/libxml2 conftest.c >&5
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking libxslt/xsltInternals.h presence
-configure:5751: gcc -E -I/usr/local/include -I/usr/local/include/libxml2 conftest.c
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking for libxslt/xsltInternals.h
-configure:5751: result: yes
-configure:5751: checking libxslt/transform.h usability
-configure:5751: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include/libxml2 conftest.c >&5
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking libxslt/transform.h presence
-configure:5751: gcc -E -I/usr/local/include -I/usr/local/include/libxml2 conftest.c
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking for libxslt/transform.h
-configure:5751: result: yes
-configure:5751: checking libxslt/xsltutils.h usability
-configure:5751: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include/libxml2 conftest.c >&5
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking libxslt/xsltutils.h presence
-configure:5751: gcc -E -I/usr/local/include -I/usr/local/include/libxml2 conftest.c
-configure:5751: $? = 0
-configure:5751: result: yes
-configure:5751: checking for libxslt/xsltutils.h
-configure:5751: result: yes
-configure:5828: result: Using user-specified gdal-config file: /Library/Frameworks/GDAL.framework/unix/bin/gdal-config
-configure:5863: checking proj_api.h usability
-configure:5863: gcc -c -g -O2 -I/Library/Frameworks/PROJ.framework/unix/include conftest.c >&5
-configure:5863: $? = 0
-configure:5863: result: yes
-configure:5863: checking proj_api.h presence
-configure:5863: gcc -E -I/Library/Frameworks/PROJ.framework/unix/include conftest.c
-configure:5863: $? = 0
-configure:5863: result: yes
-configure:5863: checking for proj_api.h
-configure:5863: result: yes
-configure:5947: result: Using user-specified geos-config file: /Library/Frameworks/GEOS.framework/unix/bin/geos-config
-configure:5963: checking geos_c.h usability
-configure:5963: gcc -c -g -O2 -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include conftest.c >&5
-configure:5963: $? = 0
-configure:5963: result: yes
-configure:5963: checking geos_c.h presence
-configure:5963: gcc -E -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include conftest.c
-configure:5963: $? = 0
-configure:5963: result: yes
-configure:5963: checking for geos_c.h
-configure:5963: result: yes
-configure:6000: checking CGAL/Delaunay_triangulation_2.h usability
-configure:6000: gcc -c -g -O2  conftest.c >&5
-conftest.c:97:10: fatal error: 'CGAL/Delaunay_triangulation_2.h' file not found
-#include <CGAL/Delaunay_triangulation_2.h>
-         ^
-1 error generated.
-configure:6000: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_MALLOC 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_REALLOC 1
-| #define HAVE_DUP2 1
-| #define HAVE_GETCWD 1
-| #define HAVE_MEMSET 1
-| #define HAVE_SETENV 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRSTR 1
-| #define HAVE_LIBYAML 1
-| #define HAVE_YAML_H 1
-| #define HAVE_LIBFCGI 1
-| #define HAVE_FCGI_STDIO_H 1
-| #define HAVE_LIBXML_TREE_H 1
-| #define HAVE_LIBXML_PARSER_H 1
-| #define HAVE_LIBXML_XPATH_H 1
-| #define HAVE_LIBXML_XPATHINTERNALS_H 1
-| #define HAVE_LIBXML2 1
-| #define HAVE_LIBXSLT_XSLT_H 1
-| #define HAVE_LIBXSLT_XSLTINTERNALS_H 1
-| #define HAVE_LIBXSLT_TRANSFORM_H 1
-| #define HAVE_LIBXSLT_XSLTUTILS_H 1
-| #define HAVE_PROJ_API_H 1
-| #define HAVE_GEOS_C_H 1
-| /* end confdefs.h.  */
-| #include <stdio.h>
-| #ifdef HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #ifdef HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #ifdef STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # ifdef HAVE_STDLIB_H
-| #  include <stdlib.h>
-| # endif
-| #endif
-| #ifdef HAVE_STRING_H
-| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-| #  include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #ifdef HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #ifdef HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #endif
-| #ifdef HAVE_STDINT_H
-| # include <stdint.h>
-| #endif
-| #ifdef HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| #include <CGAL/Delaunay_triangulation_2.h>
-configure:6000: result: no
-configure:6000: checking CGAL/Delaunay_triangulation_2.h presence
-configure:6000: gcc -E  conftest.c
-conftest.c:64:10: fatal error: 'CGAL/Delaunay_triangulation_2.h' file not found
-#include <CGAL/Delaunay_triangulation_2.h>
-         ^
-1 error generated.
-configure:6000: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_MALLOC 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_REALLOC 1
-| #define HAVE_DUP2 1
-| #define HAVE_GETCWD 1
-| #define HAVE_MEMSET 1
-| #define HAVE_SETENV 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRSTR 1
-| #define HAVE_LIBYAML 1
-| #define HAVE_YAML_H 1
-| #define HAVE_LIBFCGI 1
-| #define HAVE_FCGI_STDIO_H 1
-| #define HAVE_LIBXML_TREE_H 1
-| #define HAVE_LIBXML_PARSER_H 1
-| #define HAVE_LIBXML_XPATH_H 1
-| #define HAVE_LIBXML_XPATHINTERNALS_H 1
-| #define HAVE_LIBXML2 1
-| #define HAVE_LIBXSLT_XSLT_H 1
-| #define HAVE_LIBXSLT_XSLTINTERNALS_H 1
-| #define HAVE_LIBXSLT_TRANSFORM_H 1
-| #define HAVE_LIBXSLT_XSLTUTILS_H 1
-| #define HAVE_PROJ_API_H 1
-| #define HAVE_GEOS_C_H 1
-| /* end confdefs.h.  */
-| #include <CGAL/Delaunay_triangulation_2.h>
-configure:6000: result: no
-configure:6000: checking for CGAL/Delaunay_triangulation_2.h
-configure:6000: result: no
-configure:6007: WARNING: could not find headers include related to libCGAL
-configure:6052: result: Using user-specified MapServer src path: /Users/djay/MapMint/src/mapserver-6.2.0/
-configure:6145: checking for python2.7-config
-configure:6163: found /usr/bin/python2.7-config
-configure:6175: result: /usr/bin/python2.7-config
-configure:6197: checking Python.h usability
-configure:6197: gcc -c -g -O2 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.c >&5
-configure:6197: $? = 0
-configure:6197: result: yes
-configure:6197: checking Python.h presence
-configure:6197: gcc -E -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.c
-configure:6197: $? = 0
-configure:6197: result: yes
-configure:6197: checking for Python.h
-configure:6197: result: yes
-configure:6215: checking for PyObject_CallObject in -lpython2.7
-configure:6240: gcc -o conftest -g -O2 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7  conftest.c -lpython2.7  -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7 >&5
-configure:6240: $? = 0
-configure:6250: result: yes
-configure:6334: checking how to run the C++ preprocessor
-configure:6361: g++ -E -I/usr/local//include/js/ conftest.cpp
-configure:6361: $? = 0
-configure:6375: g++ -E -I/usr/local//include/js/ conftest.cpp
-conftest.cpp:66:10: fatal error: 'ac_nonexistent.h' file not found
-#include <ac_nonexistent.h>
-         ^
-1 error generated.
-configure:6375: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_MALLOC 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_REALLOC 1
-| #define HAVE_DUP2 1
-| #define HAVE_GETCWD 1
-| #define HAVE_MEMSET 1
-| #define HAVE_SETENV 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRSTR 1
-| #define HAVE_LIBYAML 1
-| #define HAVE_YAML_H 1
-| #define HAVE_LIBFCGI 1
-| #define HAVE_FCGI_STDIO_H 1
-| #define HAVE_LIBXML_TREE_H 1
-| #define HAVE_LIBXML_PARSER_H 1
-| #define HAVE_LIBXML_XPATH_H 1
-| #define HAVE_LIBXML_XPATHINTERNALS_H 1
-| #define HAVE_LIBXML2 1
-| #define HAVE_LIBXSLT_XSLT_H 1
-| #define HAVE_LIBXSLT_XSLTINTERNALS_H 1
-| #define HAVE_LIBXSLT_TRANSFORM_H 1
-| #define HAVE_LIBXSLT_XSLTUTILS_H 1
-| #define HAVE_PROJ_API_H 1
-| #define HAVE_GEOS_C_H 1
-| #define HAVE_PYTHON_H 1
-| #define HAVE_LIBPYTHON2_7 1
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:6400: result: g++ -E
-configure:6420: g++ -E -I/usr/local//include/js/ conftest.cpp
-configure:6420: $? = 0
-configure:6434: g++ -E -I/usr/local//include/js/ conftest.cpp
-conftest.cpp:66:10: fatal error: 'ac_nonexistent.h' file not found
-#include <ac_nonexistent.h>
-         ^
-1 error generated.
-configure:6434: $? = 1
-configure: failed program was:
-| /* confdefs.h */
-| #define PACKAGE_NAME "ZOO Kernel"
-| #define PACKAGE_TARNAME "zoo-kernel"
-| #define PACKAGE_VERSION "1.5.0"
-| #define PACKAGE_STRING "ZOO Kernel 1.5.0"
-| #define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-| #define PACKAGE_URL ""
-| #define YYTEXT_POINTER 1
-| #define HAVE_LIBCURL 1
-| #define HAVE_LIBDL 1
-| #define HAVE_LIBCRYPTO 1
-| #define HAVE_LIBUUID 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_ALLOCA_H 1
-| #define HAVE_ALLOCA 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_LIBINTL_H 1
-| #define HAVE_STDDEF_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE__BOOL 1
-| #define HAVE_STDBOOL_H 1
-| #define HAVE_FORK 1
-| #define HAVE_VFORK 1
-| #define HAVE_WORKING_VFORK 1
-| #define HAVE_WORKING_FORK 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_MALLOC 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_REALLOC 1
-| #define HAVE_DUP2 1
-| #define HAVE_GETCWD 1
-| #define HAVE_MEMSET 1
-| #define HAVE_SETENV 1
-| #define HAVE_STRDUP 1
-| #define HAVE_STRSTR 1
-| #define HAVE_LIBYAML 1
-| #define HAVE_YAML_H 1
-| #define HAVE_LIBFCGI 1
-| #define HAVE_FCGI_STDIO_H 1
-| #define HAVE_LIBXML_TREE_H 1
-| #define HAVE_LIBXML_PARSER_H 1
-| #define HAVE_LIBXML_XPATH_H 1
-| #define HAVE_LIBXML_XPATHINTERNALS_H 1
-| #define HAVE_LIBXML2 1
-| #define HAVE_LIBXSLT_XSLT_H 1
-| #define HAVE_LIBXSLT_XSLTINTERNALS_H 1
-| #define HAVE_LIBXSLT_TRANSFORM_H 1
-| #define HAVE_LIBXSLT_XSLTUTILS_H 1
-| #define HAVE_PROJ_API_H 1
-| #define HAVE_GEOS_C_H 1
-| #define HAVE_PYTHON_H 1
-| #define HAVE_LIBPYTHON2_7 1
-| /* end confdefs.h.  */
-| #include <ac_nonexistent.h>
-configure:6465: checking jsapi.h usability
-configure:6465: g++ -c -g -O2 -I/usr/local//include/js/ conftest.cpp >&5
-configure:6465: $? = 0
-configure:6465: result: yes
-configure:6465: checking jsapi.h presence
-configure:6465: g++ -E -I/usr/local//include/js/ conftest.cpp
-configure:6465: $? = 0
-configure:6465: result: yes
-configure:6465: checking for jsapi.h
-configure:6465: result: yes
-configure:6488: checking for JS_CompileFile,JS_CallFunctionName in -lmozjs185
-configure:6513: gcc -o conftest -g -O2 -I/usr/local//include/js/  conftest.c -lmozjs185  -L/usr/local//lib -lmozjs185 -lm >&5
-conftest.c:78:8: warning: expression result unused [-Wunused-value]
-return JS_CompileFile,JS_CallFunctionName ();
-       ^~~~~~~~~~~~~~
-1 warning generated.
-configure:6513: $? = 0
-configure:6523: result: yes
-configure:6741: checking jni.h usability
-configure:6741: gcc -c -g -O2 -I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/ conftest.c >&5
-configure:6741: $? = 0
-configure:6741: result: yes
-configure:6741: checking jni.h presence
-configure:6741: gcc -E -I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/ conftest.c
-configure:6741: $? = 0
-configure:6741: result: yes
-configure:6741: checking for jni.h
-configure:6741: result: yes
-configure:7034: checking otbWrapperApplication.h usability
-configure:7034: g++ -c -g -O2 -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/ [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking otbWrapperApplication.h presence
-configure:7034: g++ -E -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/Library [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking for otbWrapperApplication.h
-configure:7034: result: yes
-configure:7034: checking otbWrapperInputImageListParameter.h usability
-configure:7034: g++ -c -g -O2 -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/ [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking otbWrapperInputImageListParameter.h presence
-configure:7034: g++ -E -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/Library [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking for otbWrapperInputImageListParameter.h
-configure:7034: result: yes
-configure:7034: checking otbWrapperApplicationRegistry.h usability
-configure:7034: g++ -c -g -O2 -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/ [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking otbWrapperApplicationRegistry.h presence
-configure:7034: g++ -E -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/Library [...]
-configure:7034: $? = 0
-configure:7034: result: yes
-configure:7034: checking for otbWrapperApplicationRegistry.h
-configure:7034: result: yes
-configure:7071: g++ -o conftest -g -O2 -I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfi [...]
-conftest.cpp:72:35: warning: extra tokens at end of #include directive [-Wextra-tokens]
-#include "otbWrapperApplication.h",std::vector<std::string> list = otb::Wrapwper::ApplicationRegistry::GetAvailableApplication();
-                                  ^
-                                  //
-1 warning generated.
-ld: warning: directory not found for option '-L/lib'
-ld: warning: directory not found for option '-L/lib'
-configure:7071: $? = 0
-configure:7072: result: checking for GetAvailableApplication... yes
-configure:7142: checking module_library.h usability
-configure:7142: g++ -c -g -O2  -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\"/usr/local//lib/saga\" -D_WX_WXCRTVARARG_H_ conftest.cpp >&5
-In file included from <built-in>:326:
-<command line>:10:30: warning: missing terminating '"' character [-Winvalid-pp-token]
-#define MODULE_LIBRARY_PATH \"/usr/local//lib/saga\"
-                             ^
-In file included from conftest.cpp:105:
-In file included from /usr/local//include/saga/saga_core/saga_api/module_library.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/module.h:76:
-In file included from /usr/local//include/saga/saga_core/saga_api/parameters.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/grid.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/table.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/dataobject.h:84:
-In file included from /usr/local//include/saga/saga_core/saga_api/mat_tools.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/geo_tools.h:78:
-/usr/local//include/saga/saga_core/saga_api/metadata.h:158:51: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
-        bool                                            is_Valid                        (void)                                          const   {       return( this != NULL );                                 }
-                                                                                                                                                                ^~~~    ~~~~
-2 warnings generated.
-configure:7142: $? = 0
-configure:7142: result: yes
-configure:7142: checking module_library.h presence
-configure:7142: g++ -E  -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\"/usr/local//lib/saga\" -D_WX_WXCRTVARARG_H_ conftest.cpp
-In file included from <built-in>:326:
-<command line>:10:30: warning: missing terminating '"' character [-Winvalid-pp-token]
-#define MODULE_LIBRARY_PATH \"/usr/local//lib/saga\"
-                             ^
-1 warning generated.
-configure:7142: $? = 0
-configure:7142: result: yes
-configure:7142: checking for module_library.h
-configure:7142: result: yes
-configure:7165: g++ -o conftest -g -O2  -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\"/usr/local//lib/saga\" -D_WX_WXCRTVARARG_H_  conftest.cpp -fPIC -L/usr/local/lib   -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolb [...]
-In file included from <built-in>:326:
-<command line>:10:30: warning: missing terminating '"' character [-Winvalid-pp-token]
-#define MODULE_LIBRARY_PATH \"/usr/local//lib/saga\"
-                             ^
-conftest.cpp:73:28: warning: extra tokens at end of #include directive [-Wextra-tokens]
-#include "module_library.h",SG_Get_Module_Library_Manager();
-                           ^
-                           //
-In file included from conftest.cpp:73:
-In file included from /usr/local//include/saga/saga_core/saga_api/module_library.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/module.h:76:
-In file included from /usr/local//include/saga/saga_core/saga_api/parameters.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/grid.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/table.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/dataobject.h:84:
-In file included from /usr/local//include/saga/saga_core/saga_api/mat_tools.h:77:
-In file included from /usr/local//include/saga/saga_core/saga_api/geo_tools.h:78:
-/usr/local//include/saga/saga_core/saga_api/metadata.h:158:51: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
-        bool                                            is_Valid                        (void)                                          const   {       return( this != NULL );                                 }
-                                                                                                                                                                ^~~~    ~~~~
-3 warnings generated.
-configure:7165: $? = 0
-configure:7166: result: checking for SG_Get_Module_Library_Manager... yes
-configure:7340: creating ./config.status
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by ZOO Kernel config.status 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  CONFIG_FILES    = 
-  CONFIG_HEADERS  = 
-  CONFIG_LINKS    = 
-  CONFIG_COMMANDS = 
-  $ ./config.status 
-
-on MBP-de-Fenoy-2.home
-
-config.status:835: creating Makefile
-config.status:835: creating ZOOMakefile.opts
-
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-
-ac_cv_c_compiler_gnu=yes
-ac_cv_c_int16_t=yes
-ac_cv_c_int32_t=yes
-ac_cv_c_int8_t=yes
-ac_cv_c_uint16_t=yes
-ac_cv_c_uint32_t=yes
-ac_cv_c_uint8_t=yes
-ac_cv_cxx_compiler_gnu=yes
-ac_cv_env_CCC_set=
-ac_cv_env_CCC_value=
-ac_cv_env_CC_set=
-ac_cv_env_CC_value=
-ac_cv_env_CFLAGS_set=
-ac_cv_env_CFLAGS_value=
-ac_cv_env_CPPFLAGS_set=
-ac_cv_env_CPPFLAGS_value=
-ac_cv_env_CPP_set=
-ac_cv_env_CPP_value=
-ac_cv_env_CXXCPP_set=
-ac_cv_env_CXXCPP_value=
-ac_cv_env_CXXFLAGS_set=
-ac_cv_env_CXXFLAGS_value=
-ac_cv_env_CXX_set=
-ac_cv_env_CXX_value=
-ac_cv_env_LDFLAGS_set=
-ac_cv_env_LDFLAGS_value=
-ac_cv_env_LIBS_set=
-ac_cv_env_LIBS_value=
-ac_cv_env_YACC_set=
-ac_cv_env_YACC_value=
-ac_cv_env_YFLAGS_set=
-ac_cv_env_YFLAGS_value=
-ac_cv_env_build_alias_set=
-ac_cv_env_build_alias_value=
-ac_cv_env_host_alias_set=
-ac_cv_env_host_alias_value=
-ac_cv_env_target_alias_set=
-ac_cv_env_target_alias_value=
-ac_cv_func_alloca_works=yes
-ac_cv_func_dup2=yes
-ac_cv_func_fork=yes
-ac_cv_func_fork_works=yes
-ac_cv_func_getcwd=yes
-ac_cv_func_malloc_0_nonnull=yes
-ac_cv_func_memset=yes
-ac_cv_func_realloc_0_nonnull=yes
-ac_cv_func_setenv=yes
-ac_cv_func_strdup=yes
-ac_cv_func_strstr=yes
-ac_cv_func_vfork=yes
-ac_cv_func_vfork_works=yes
-ac_cv_header_CGAL_Delaunay_triangulation_2_h=no
-ac_cv_header_Python_h=yes
-ac_cv_header_fcgi_stdio_h=yes
-ac_cv_header_fcntl_h=yes
-ac_cv_header_geos_c_h=yes
-ac_cv_header_inttypes_h=yes
-ac_cv_header_jni_h=yes
-ac_cv_header_jsapi_h=yes
-ac_cv_header_libintl_h=yes
-ac_cv_header_libxml_parser_h=yes
-ac_cv_header_libxml_tree_h=yes
-ac_cv_header_libxml_xpathInternals_h=yes
-ac_cv_header_libxml_xpath_h=yes
-ac_cv_header_libxslt_transform_h=yes
-ac_cv_header_libxslt_xsltInternals_h=yes
-ac_cv_header_libxslt_xslt_h=yes
-ac_cv_header_libxslt_xsltutils_h=yes
-ac_cv_header_malloc_h=no
-ac_cv_header_memory_h=yes
-ac_cv_header_module_library_h=yes
-ac_cv_header_otbWrapperApplicationRegistry_h=yes
-ac_cv_header_otbWrapperApplication_h=yes
-ac_cv_header_otbWrapperInputImageListParameter_h=yes
-ac_cv_header_proj_api_h=yes
-ac_cv_header_stdbool_h=yes
-ac_cv_header_stdc=yes
-ac_cv_header_stddef_h=yes
-ac_cv_header_stdint_h=yes
-ac_cv_header_stdlib_h=yes
-ac_cv_header_string_h=yes
-ac_cv_header_strings_h=yes
-ac_cv_header_sys_stat_h=yes
-ac_cv_header_sys_types_h=yes
-ac_cv_header_unistd_h=yes
-ac_cv_header_vfork_h=no
-ac_cv_header_yaml_h=yes
-ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new=yes
-ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform=yes
-ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose=yes
-ac_cv_lib_fcgi_main=yes
-ac_cv_lib_lex=-ll
-ac_cv_lib_mozjs185___JS_CompileFile_JS_CallFunctionName=yes
-ac_cv_lib_python2_7___PyObject_CallObject=yes
-ac_cv_lib_uuid_uuid_generate_time=yes
-ac_cv_lib_xml2_xmlInitParser=yes
-ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan=yes
-ac_cv_objext=o
-ac_cv_path_EGREP='/usr/bin/grep -E'
-ac_cv_path_GREP=/usr/bin/grep
-ac_cv_path_PYTHONCONFIG=/usr/bin/python2.7-config
-ac_cv_path_SED=/usr/bin/sed
-ac_cv_path_XML2CONFIG=/usr/local/bin/xml2-config
-ac_cv_path_XSLTCONFIG=/usr/local/bin/xslt-config
-ac_cv_prog_CPP='gcc -E'
-ac_cv_prog_CXXCPP='g++ -E'
-ac_cv_prog_LEX=flex
-ac_cv_prog_YACC='bison -y'
-ac_cv_prog_ac_ct_CC=gcc
-ac_cv_prog_ac_ct_CXX=g++
-ac_cv_prog_cc_c89=
-ac_cv_prog_cc_g=yes
-ac_cv_prog_cxx_g=yes
-ac_cv_prog_lex_root=lex.yy
-ac_cv_prog_lex_yytext_pointer=yes
-ac_cv_type__Bool=yes
-ac_cv_type_pid_t=yes
-ac_cv_type_size_t=yes
-ac_cv_working_alloca_h=yes
-
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-
-ALLOCA=''
-CC='gcc'
-CFLAGS='-g -O2'
-CGAL_CPPFLAGS='-I/usr/include'
-CGAL_LDFLAGS='-L/usr/lib'
-CGI_DIR='/usr/lib/cgi-bin'
-CPP='gcc -E'
-CPPFLAGS=' -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\"/usr/local//lib/saga\" -D_WX_WXCRTVARARG_H_'
-CXX='g++'
-CXXCPP='g++ -E'
-CXXFLAGS='-g -O2'
-DEB_DEF=''
-DEFAULT_LIBS='-luuid -lcrypto -ldl -lcurl '
-DEFS='-DPACKAGE_NAME=\"ZOO\ Kernel\" -DPACKAGE_TARNAME=\"zoo-kernel\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"ZOO\ Kernel\ 1.5.0\" -DPACKAGE_BUGREPORT=\"bugs at zoo-project.org\" -DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DHAVE_LIBCURL=1 -DHAVE_LIBDL=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBUUID=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H= [...]
-ECHO_C='\c'
-ECHO_N=''
-ECHO_T=''
-EGREP='/usr/bin/grep -E'
-EXEEXT=''
-FCGI_CPPFLAGS='-I/usr/local//include'
-FCGI_LDFLAGS='-L/usr/local//lib'
-GDAL_CFLAGS='-I/Library/Frameworks/GDAL.framework/Versions/1.11/Headers'
-GDAL_CONFIG='/Library/Frameworks/GDAL.framework/unix/bin/gdal-config'
-GDAL_LIBS='-L/Library/Frameworks/GDAL.framework/Versions/1.11/unix/lib -lgdal'
-GEOSCONFIG='/Library/Frameworks/GEOS.framework/unix/bin/geos-config'
-GEOS_CPPFLAGS='-I/Library/Frameworks/GEOS.framework/Versions/3/unix/include'
-GEOS_LDFLAGS='-L/Library/Frameworks/GEOS.framework/Versions/3/unix/lib -lgeos'
-GREP='/usr/bin/grep'
-JAVA_CPPFLAGS='-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/'
-JAVA_ENABLED='-DUSE_JAVA'
-JAVA_FILE='service_internal_java.o'
-JAVA_LDFLAGS='-framework JavaVM'
-JS_CPPFLAGS='-I/usr/local//include/js/'
-JS_ENABLED='-DUSE_JS'
-JS_FILE='service_internal_js.o'
-JS_LDFLAGS='-L/usr/local//lib -lmozjs185 -lm'
-LDFLAGS=''
-LEX='flex'
-LEXLIB='-ll'
-LEX_OUTPUT_ROOT='lex.yy'
-LIBOBJS=''
-LIBS='-luuid -lcrypto -ldl -lcurl  -L/usr/local//lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L/lib -lITKBiasCorrection-4.5 -lITKCommon-4.5 -lITKIOImageBase-4.5 -lITKKLMRegionGrowing-4.5 -lITKLabelMap-4.5 -lITKMesh-4.5 -lITKMetaIO-4.5 -lITKOptimizers-4.5 -lITKPath-4.5 -lITKPolynomials-4.5 -lITKQuadEdgeMesh-4.5 -lITKSpatialObjects-4.5 -lITKStatistics-4.5 -lITKVNLInstantiation-4.5 -lITKWatersheds-4.5 -litkNetlibSlatec-4.5 -litksys-4.5 -litkdouble-conversion-4.5 -litkv3p_lsqr-4.5 -li [...]
-LTLIBOBJS=''
-MS_CFLAGS='-DUSE_MS -I/Library/Frameworks/FreeType.framework/unix/include/freetype2 -I/Library/Frameworks/FreeType.framework/unix/include -Irenderers/agg/include -I/Library/Frameworks/PROJ.framework/unix//include -I/Library/Frameworks/GDAL.framework/Versions/Current/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -I/usr/include/libxml2 -I/Library/Frameworks/cairo.framework/unix/include/cairo/ -I/usr/include/apr-1 -I/usr/include/apache2 -arch i386 -arch x86_64 -Wall - [...]
-MS_FILE='service_internal_ms.o'
-MS_LIBS='-L/Users/djay/MapMint/src/mapserver-6.2.0/ -lmapserver -L/Library/Frameworks/FreeType.framework/unix/lib -lfreetype -lz -lbz2 -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/Library/Frameworks/PROJ.framework/unix//lib -lproj -ljpeg -lpng -L/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib -lgdal -lcurl -L/Library/Frameworks/GEOS.framework/Versions/3/unix/lib -lgeos_c -liconv -lxml2 -lm -ldl -lstdc++ -L/Library/Frameworks/cairo.framework/unix/lib/ -lc [...]
-OBJEXT='o'
-OTB_CPPFLAGS='-I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/CurlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities/otbconfigfile -I/Library/Framewor [...]
-OTB_ENABLED='-DUSE_OTB'
-OTB_FILE='otbZooWatcher.o service_internal_otb.o'
-OTB_LDFLAGS='-L/usr/local//lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L/lib -lITKBiasCorrection-4.5 -lITKCommon-4.5 -lITKIOImageBase-4.5 -lITKKLMRegionGrowing-4.5 -lITKLabelMap-4.5 -lITKMesh-4.5 -lITKMetaIO-4.5 -lITKOptimizers-4.5 -lITKPath-4.5 -lITKPolynomials-4.5 -lITKQuadEdgeMesh-4.5 -lITKSpatialObjects-4.5 -lITKStatistics-4.5 -lITKVNLInstantiation-4.5 -lITKWatersheds-4.5 -litkNetlibSlatec-4.5 -litksys-4.5 -litkdouble-conversion-4.5 -litkv3p_lsqr-4.5 -litkv3p_netlib-4.5 -litk [...]
-PACKAGE_BUGREPORT='bugs at zoo-project.org'
-PACKAGE_NAME='ZOO Kernel'
-PACKAGE_STRING='ZOO Kernel 1.5.0'
-PACKAGE_TARNAME='zoo-kernel'
-PACKAGE_URL=''
-PACKAGE_VERSION='1.5.0'
-PATH_SEPARATOR=':'
-PERLCONFIG=''
-PERL_CPPFLAGS=''
-PERL_ENABLED=''
-PERL_FILE=''
-PERL_LDFLAGS=''
-PHPCONFIG=''
-PHP_CPPFLAGS=''
-PHP_ENABLED=''
-PHP_FILE=''
-PHP_LDFLAGS=''
-PROJ_CPPFLAGS='-I/Library/Frameworks/PROJ.framework/unix/include'
-PROJ_LDFLAGS='-L/Library/Frameworks/PROJ.framework/unix/lib'
-PYTHONCONFIG='/usr/bin/python2.7-config'
-PYTHON_CPPFLAGS='-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
-PYTHON_ENABLED='-DUSE_PYTHON'
-PYTHON_FILE='service_internal_python.o'
-PYTHON_LDFLAGS='-L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7'
-RELY_ON_DB='-DRELY_ON_DB'
-RUBY_CPPFLAGS=''
-RUBY_ENABLED=''
-RUBY_FILE=''
-RUBY_LDFLAGS=''
-SAGA_CPPFLAGS=' -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\"/usr/local//lib/saga\" -D_WX_WXCRTVARARG_H_'
-SAGA_ENABLED='-DUSE_SAGA'
-SAGA_FILE='service_internal_saga.o'
-SAGA_LDFLAGS='-fPIC -L/usr/local/lib   -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau-3.0  -lsaga_api'
-SED='/usr/bin/sed'
-SHELL='/bin/sh'
-XML2CONFIG='/usr/local/bin/xml2-config'
-XML2_CPPFLAGS='-I/usr/local/include/libxml2'
-XML2_LDFLAGS='-L/usr/local/lib -lxml2 -lz -liconv -lm'
-XSLTCONFIG='/usr/local/bin/xslt-config'
-XSLT_CPPFLAGS='-I/usr/local/include -I/usr/local/include/libxml2'
-XSLT_LDFLAGS='-L/usr/local/lib -lxslt -lxml2 -lz -liconv -lm'
-YACC='bison -y'
-YAML_CPPFLAGS='-I/usr/local//include -DYAML'
-YAML_FILE1='zcfg2yaml'
-YAML_FILE='service_yaml.o'
-YAML_LDFLAGS='-L/usr/local//lib -lyaml'
-YFLAGS=''
-ac_ct_CC='gcc'
-ac_ct_CXX='g++'
-bindir='${exec_prefix}/bin'
-build_alias=''
-datadir='${datarootdir}'
-datarootdir='${prefix}/share'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-dvidir='${docdir}'
-exec_prefix='${prefix}'
-host_alias=''
-htmldir='${docdir}'
-includedir='${prefix}/include'
-infodir='${datarootdir}/info'
-libdir='${exec_prefix}/lib'
-libexecdir='${exec_prefix}/libexec'
-localedir='${datarootdir}/locale'
-localstatedir='${prefix}/var'
-mandir='${datarootdir}/man'
-oldincludedir='/usr/include'
-pdfdir='${docdir}'
-prefix='/usr/local'
-program_transform_name='s,x,x,'
-psdir='${docdir}'
-sbindir='${exec_prefix}/sbin'
-sharedstatedir='${prefix}/com'
-sysconfdir='${prefix}/etc'
-target_alias=''
-
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-
-/* confdefs.h */
-#define PACKAGE_NAME "ZOO Kernel"
-#define PACKAGE_TARNAME "zoo-kernel"
-#define PACKAGE_VERSION "1.5.0"
-#define PACKAGE_STRING "ZOO Kernel 1.5.0"
-#define PACKAGE_BUGREPORT "bugs at zoo-project.org"
-#define PACKAGE_URL ""
-#define YYTEXT_POINTER 1
-#define HAVE_LIBCURL 1
-#define HAVE_LIBDL 1
-#define HAVE_LIBCRYPTO 1
-#define HAVE_LIBUUID 1
-#define STDC_HEADERS 1
-#define HAVE_SYS_TYPES_H 1
-#define HAVE_SYS_STAT_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STRING_H 1
-#define HAVE_MEMORY_H 1
-#define HAVE_STRINGS_H 1
-#define HAVE_INTTYPES_H 1
-#define HAVE_STDINT_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_ALLOCA_H 1
-#define HAVE_ALLOCA 1
-#define HAVE_FCNTL_H 1
-#define HAVE_INTTYPES_H 1
-#define HAVE_LIBINTL_H 1
-#define HAVE_STDDEF_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STRING_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE__BOOL 1
-#define HAVE_STDBOOL_H 1
-#define HAVE_FORK 1
-#define HAVE_VFORK 1
-#define HAVE_WORKING_VFORK 1
-#define HAVE_WORKING_FORK 1
-#define HAVE_STDLIB_H 1
-#define HAVE_MALLOC 1
-#define HAVE_STDLIB_H 1
-#define HAVE_REALLOC 1
-#define HAVE_DUP2 1
-#define HAVE_GETCWD 1
-#define HAVE_MEMSET 1
-#define HAVE_SETENV 1
-#define HAVE_STRDUP 1
-#define HAVE_STRSTR 1
-#define HAVE_LIBYAML 1
-#define HAVE_YAML_H 1
-#define HAVE_LIBFCGI 1
-#define HAVE_FCGI_STDIO_H 1
-#define HAVE_LIBXML_TREE_H 1
-#define HAVE_LIBXML_PARSER_H 1
-#define HAVE_LIBXML_XPATH_H 1
-#define HAVE_LIBXML_XPATHINTERNALS_H 1
-#define HAVE_LIBXML2 1
-#define HAVE_LIBXSLT_XSLT_H 1
-#define HAVE_LIBXSLT_XSLTINTERNALS_H 1
-#define HAVE_LIBXSLT_TRANSFORM_H 1
-#define HAVE_LIBXSLT_XSLTUTILS_H 1
-#define HAVE_PROJ_API_H 1
-#define HAVE_GEOS_C_H 1
-#define HAVE_PYTHON_H 1
-#define HAVE_LIBPYTHON2_7 1
-#define HAVE_JSAPI_H 1
-#define HAVE_LIBMOZJS185 1
-#define HAVE_JNI_H 1
-#define HAVE_OTBWRAPPERAPPLICATION_H 1
-#define HAVE_OTBWRAPPERINPUTIMAGELISTPARAMETER_H 1
-#define HAVE_OTBWRAPPERAPPLICATIONREGISTRY_H 1
-#define HAVE_MODULE_LIBRARY_H 1
-
-configure: exit 0
diff --git a/zoo-project/zoo-kernel/config.status b/zoo-project/zoo-kernel/config.status
deleted file mode 100755
index 4147fc0..0000000
--- a/zoo-project/zoo-kernel/config.status
+++ /dev/null
@@ -1,1002 +0,0 @@
-#! /bin/sh
-# Generated by configure.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='	';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -pR'
-  fi
-else
-  as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by ZOO Kernel $as_me 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-# Files that config.status was made for.
-config_files=" Makefile ZOOMakefile.opts"
-
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration.  Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number and configuration settings, then exit
-      --config     print configuration, then exit
-  -q, --quiet, --silent
-                   do not print progress messages
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-      --file=FILE[:TEMPLATE]
-                   instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bugs at zoo-project.org>."
-
-ac_cs_config="'--with-python=yes' '--with-pyvers=2.7' '--with-js=/usr/local/' '--with-mapserver=/Users/djay/MapMint/src/mapserver-6.2.0/' '--with-gdal-config=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config' '--with-proj=/Library/Frameworks/PROJ.framework/unix' '--with-fastcgi=/usr/local/' '--with-yaml=/usr/local/' '--with-java=macos' '--with-geosconfig=/Library/Frameworks/GEOS.framework/unix/bin/geos-config' '--with-otb=/usr/local/' '--with-saga=/usr/local/' '--with-db-backend'"
-ac_cs_version="\
-ZOO Kernel config.status 1.5.0
-configured by ./configure, generated by GNU Autoconf 2.69,
-  with options \"$ac_cs_config\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='/Users/djay/MapMint/zoo-project-1.5.0/trunk/zoo-project/zoo-kernel'
-srcdir='.'
-test -n "$AWK" || AWK=awk
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=?*)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
-    ac_shift=:
-    ;;
-  --*=)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=
-    ac_shift=:
-    ;;
-  *)
-    ac_option=$1
-    ac_optarg=$2
-    ac_shift=shift
-    ;;
-  esac
-
-  case $ac_option in
-  # Handling of the options.
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    ac_cs_recheck=: ;;
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    $as_echo "$ac_cs_version"; exit ;;
-  --config | --confi | --conf | --con | --co | --c )
-    $as_echo "$ac_cs_config"; exit ;;
-  --debug | --debu | --deb | --de | --d | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    $ac_shift
-    case $ac_optarg in
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    '') as_fn_error $? "missing file argument" ;;
-    esac
-    as_fn_append CONFIG_FILES " '$ac_optarg'"
-    ac_need_defaults=false;;
-  --he | --h |  --help | --hel | -h )
-    $as_echo "$ac_cs_usage"; exit ;;
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
-    ac_cs_silent=: ;;
-
-  # This is an error.
-  -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
-  *) as_fn_append ac_config_targets " $1"
-     ac_need_defaults=false ;;
-
-  esac
-  shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
-  exec 6>/dev/null
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-if $ac_cs_recheck; then
-  set X /bin/sh './configure'  '--with-python=yes' '--with-pyvers=2.7' '--with-js=/usr/local/' '--with-mapserver=/Users/djay/MapMint/src/mapserver-6.2.0/' '--with-gdal-config=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config' '--with-proj=/Library/Frameworks/PROJ.framework/unix' '--with-fastcgi=/usr/local/' '--with-yaml=/usr/local/' '--with-java=macos' '--with-geosconfig=/Library/Frameworks/GEOS.framework/unix/bin/geos-config' '--with-otb=/usr/local/' '--with-saga=/usr/local/' '--w [...]
-  shift
-  $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
-  CONFIG_SHELL='/bin/sh'
-  export CONFIG_SHELL
-  exec "$@"
-fi
-
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
-  $as_echo "$ac_log"
-} >&5
-
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
-  case $ac_config_target in
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-    "ZOOMakefile.opts") CONFIG_FILES="$CONFIG_FILES ZOOMakefile.opts" ;;
-
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
-  esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
-  tmp= ac_tmp=
-  trap 'exit_status=$?
-  : "${ac_tmp:=$tmp}"
-  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
-  trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -d "$tmp"
-}  ||
-{
-  tmp=./conf$$-$RANDOM
-  (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
-  eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\\r'
-else
-  ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
-S["LTLIBOBJS"]=""
-S["SAGA_ENABLED"]="-DUSE_SAGA"
-S["SAGA_FILE"]="service_internal_saga.o"
-S["SAGA_LDFLAGS"]="-fPIC -L/usr/local/lib   -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_co"\
-"coau-3.0  -lsaga_api"
-S["SAGA_CPPFLAGS"]=" -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_B"\
-"ITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\\"\
-"\"/usr/local//lib/saga\\\" -D_WX_WXCRTVARARG_H_"
-S["OTB_ENABLED"]="-DUSE_OTB"
-S["OTB_FILE"]="otbZooWatcher.o service_internal_otb.o"
-S["OTB_LDFLAGS"]="-L/usr/local//lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L/lib -lITKBiasCorrection-4.5 -lITKCommon-4.5 -lITKIOImageBase-4.5 -lITKKLMRegionG"\
-"rowing-4.5 -lITKLabelMap-4.5 -lITKMesh-4.5 -lITKMetaIO-4.5 -lITKOptimizers-4.5 -lITKPath-4.5 -lITKPolynomials-4.5 -lITKQuadEdgeMesh-4.5 -lITKSpatial"\
-"Objects-4.5 -lITKStatistics-4.5 -lITKVNLInstantiation-4.5 -lITKWatersheds-4.5 -litkNetlibSlatec-4.5 -litksys-4.5 -litkdouble-conversion-4.5 -litkv3p"\
-"_lsqr-4.5 -litkv3p_netlib-4.5 -litkvcl-4.5 -litkvnl-4.5 -litkvnl_algo-4.5 -litkzlib-4.5"
-S["OTB_CPPFLAGS"]="-I/usr/local//include/otb/ApplicationEngine -I/usr/local//include/otb/Common -I/include/ITK-4.5 -I/usr/local//include/otb/Utilities/ITK -I/usr/local"\
-"//include/otb/ -I/usr/local//include/otb/IO -I/usr/local//include/otb/UtilitiesAdapters/OssimAdapters -I/usr/local//include/otb/UtilitiesAdapters/Cu"\
-"rlAdapters -I/usr/local//include/otb/Utilities/BGL -I/usr/local//include/otb/UtilitiesAdapters/ITKPendingPatches -I/usr/local//include/otb/Utilities"\
-"/otbconfigfile -I/Library/Frameworks/GDAL.framework/Versions/1.11/Headers"
-S["PERL_FILE"]=""
-S["PERL_ENABLED"]=""
-S["PERL_LDFLAGS"]=""
-S["PERL_CPPFLAGS"]=""
-S["PERLCONFIG"]=""
-S["RUBY_FILE"]=""
-S["RUBY_ENABLED"]=""
-S["RUBY_LDFLAGS"]=""
-S["RUBY_CPPFLAGS"]=""
-S["JAVA_FILE"]="service_internal_java.o"
-S["JAVA_ENABLED"]="-DUSE_JAVA"
-S["JAVA_LDFLAGS"]="-framework JavaVM"
-S["JAVA_CPPFLAGS"]="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Ver"\
-"sions/A/Headers/"
-S["PHP_FILE"]=""
-S["PHP_ENABLED"]=""
-S["PHP_LDFLAGS"]=""
-S["PHP_CPPFLAGS"]=""
-S["PHPCONFIG"]=""
-S["JS_FILE"]="service_internal_js.o"
-S["JS_ENABLED"]="-DUSE_JS"
-S["JS_LDFLAGS"]="-L/usr/local//lib -lmozjs185 -lm"
-S["JS_CPPFLAGS"]="-I/usr/local//include/js/"
-S["CXXCPP"]="g++ -E"
-S["PYTHON_FILE"]="service_internal_python.o"
-S["PYTHON_ENABLED"]="-DUSE_PYTHON"
-S["PYTHON_LDFLAGS"]="-L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7"
-S["PYTHON_CPPFLAGS"]="-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/pyth"\
-"on2.7"
-S["PYTHONCONFIG"]="/usr/bin/python2.7-config"
-S["MS_FILE"]="service_internal_ms.o"
-S["MS_LIBS"]="-L/Users/djay/MapMint/src/mapserver-6.2.0/ -lmapserver -L/Library/Frameworks/FreeType.framework/unix/lib -lfreetype -lz -lbz2 -Wl,-framework,CoreSer"\
-"vices -Wl,-framework,ApplicationServices -L/Library/Frameworks/PROJ.framework/unix//lib -lproj -ljpeg -lpng -L/Library/Frameworks/GDAL.framework/Ver"\
-"sions/Current/unix/lib -lgdal -lcurl -L/Library/Frameworks/GEOS.framework/Versions/3/unix/lib -lgeos_c -liconv -lxml2 -lm -ldl -lstdc++ -L/Library/F"\
-"rameworks/cairo.framework/unix/lib/ -lcairo -L/usr/lib -R/usr/lib -lapr-1"
-S["MS_CFLAGS"]="-DUSE_MS -I/Library/Frameworks/FreeType.framework/unix/include/freetype2 -I/Library/Frameworks/FreeType.framework/unix/include -Irenderers/agg/inclu"\
-"de -I/Library/Frameworks/PROJ.framework/unix//include -I/Library/Frameworks/GDAL.framework/Versions/Current/Headers -I/Library/Frameworks/GEOS.frame"\
-"work/Versions/3/unix/include -I/usr/include/libxml2 -I/Library/Frameworks/cairo.framework/unix/include/cairo/ -I/usr/include/apr-1 -I/usr/include/ap"\
-"ache2 -arch i386 -arch x86_64 -Wall -Wdeclaration-after-statement -DNDEBUG -DMOD_WMS_ENABLED -DUSE_CAIRO -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -"\
-"DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DHAVE_SYNC_FETC"\
-"H_AND_ADD -DUSE_PROJ -DUSE_ICONV -DUSE_JPEG -DUSE_PNG -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRRSTR -DDISABLE_CVSID -I/Library/Frameworks/FreeType."\
-"framework/unix/include/freetype2 -I/Library/Frameworks/FreeType.framework/unix/include -Irenderers/agg/include -I/Library/Frameworks/PROJ.framework/"\
-"unix//include -I/Library/Frameworks/GDAL.framework/Versions/Current/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -I/usr/incl"\
-"ude/libxml2 -I/Library/Frameworks/cairo.framework/unix/include/cairo/ -I/usr/include/apr-1 -I/usr/include/apache2 -I/Users/djay/MapMint/src/mapserve"\
-"r-6.2.0/ "
-S["CGAL_LDFLAGS"]="-L/usr/lib"
-S["CGAL_CPPFLAGS"]="-I/usr/include"
-S["GEOS_LDFLAGS"]="-L/Library/Frameworks/GEOS.framework/Versions/3/unix/lib -lgeos"
-S["GEOS_CPPFLAGS"]="-I/Library/Frameworks/GEOS.framework/Versions/3/unix/include"
-S["GEOSCONFIG"]="/Library/Frameworks/GEOS.framework/unix/bin/geos-config"
-S["PROJ_LDFLAGS"]="-L/Library/Frameworks/PROJ.framework/unix/lib"
-S["PROJ_CPPFLAGS"]="-I/Library/Frameworks/PROJ.framework/unix/include"
-S["GDAL_LIBS"]="-L/Library/Frameworks/GDAL.framework/Versions/1.11/unix/lib -lgdal"
-S["GDAL_CFLAGS"]="-I/Library/Frameworks/GDAL.framework/Versions/1.11/Headers"
-S["GDAL_CONFIG"]="/Library/Frameworks/GDAL.framework/unix/bin/gdal-config"
-S["XSLT_LDFLAGS"]="-L/usr/local/lib -lxslt -lxml2 -lz -liconv -lm"
-S["XSLT_CPPFLAGS"]="-I/usr/local/include -I/usr/local/include/libxml2"
-S["XSLTCONFIG"]="/usr/local/bin/xslt-config"
-S["XML2_LDFLAGS"]="-L/usr/local/lib -lxml2 -lz -liconv -lm"
-S["XML2_CPPFLAGS"]="-I/usr/local/include/libxml2"
-S["XML2CONFIG"]="/usr/local/bin/xml2-config"
-S["FCGI_LDFLAGS"]="-L/usr/local//lib"
-S["FCGI_CPPFLAGS"]="-I/usr/local//include"
-S["YAML_FILE1"]="zcfg2yaml"
-S["YAML_FILE"]="service_yaml.o"
-S["YAML_LDFLAGS"]="-L/usr/local//lib -lyaml"
-S["YAML_CPPFLAGS"]="-I/usr/local//include -DYAML"
-S["RELY_ON_DB"]="-DRELY_ON_DB"
-S["CGI_DIR"]="/usr/lib/cgi-bin"
-S["DEB_DEF"]=""
-S["LIBOBJS"]=""
-S["ALLOCA"]=""
-S["EGREP"]="/usr/bin/grep -E"
-S["GREP"]="/usr/bin/grep"
-S["CPP"]="gcc -E"
-S["DEFAULT_LIBS"]="-luuid -lcrypto -ldl -lcurl "
-S["SED"]="/usr/bin/sed"
-S["ac_ct_CXX"]="g++"
-S["CXXFLAGS"]="-g -O2"
-S["CXX"]="g++"
-S["LEXLIB"]="-ll"
-S["LEX_OUTPUT_ROOT"]="lex.yy"
-S["LEX"]="flex"
-S["OBJEXT"]="o"
-S["EXEEXT"]=""
-S["ac_ct_CC"]="gcc"
-S["CPPFLAGS"]=" -fPIC -I/usr/local//include/saga/saga_core/saga_api/ -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_B"\
-"ITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -D_SAGA_UNICODE -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\\"\
-"\"/usr/local//lib/saga\\\" -D_WX_WXCRTVARARG_H_"
-S["LDFLAGS"]=""
-S["CFLAGS"]="-g -O2"
-S["CC"]="gcc"
-S["YFLAGS"]=""
-S["YACC"]="bison -y"
-S["target_alias"]=""
-S["host_alias"]=""
-S["build_alias"]=""
-S["LIBS"]="-luuid -lcrypto -ldl -lcurl  -L/usr/local//lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L/lib -lITKBiasCorrection-4.5 -lITKCommon-4.5 -lITKIO"\
-"ImageBase-4.5 -lITKKLMRegionGrowing-4.5 -lITKLabelMap-4.5 -lITKMesh-4.5 -lITKMetaIO-4.5 -lITKOptimizers-4.5 -lITKPath-4.5 -lITKPolynomials-4.5 -lITK"\
-"QuadEdgeMesh-4.5 -lITKSpatialObjects-4.5 -lITKStatistics-4.5 -lITKVNLInstantiation-4.5 -lITKWatersheds-4.5 -litkNetlibSlatec-4.5 -litksys-4.5 -litkd"\
-"ouble-conversion-4.5 -litkv3p_lsqr-4.5 -litkv3p_netlib-4.5 -litkvcl-4.5 -litkvnl-4.5 -litkvnl_algo-4.5 -litkzlib-4.5"
-S["ECHO_T"]=""
-S["ECHO_N"]=""
-S["ECHO_C"]="\\c"
-S["DEFS"]="-DPACKAGE_NAME=\\\"ZOO\\ Kernel\\\" -DPACKAGE_TARNAME=\\\"zoo-kernel\\\" -DPACKAGE_VERSION=\\\"1.5.0\\\" -DPACKAGE_STRING=\\\"ZOO\\ Kernel\\ 1.5.0\\\" -DPACKAGE_BUGREP"\
-"ORT=\\\"bugs at zoo-project.org\\\" -DPACKAGE_URL=\\\"\\\" -DYYTEXT_POINTER=1 -DHAVE_LIBCURL=1 -DHAVE_LIBDL=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBUUID=1 -DSTDC_HEADER"\
-"S=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD"\
-"INT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_"\
-"H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 "\
-"-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_DUP2=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -"\
-"DHAVE_STRSTR=1 -DHAVE_LIBYAML=1 -DHAVE_YAML_H=1 -DHAVE_LIBFCGI=1 -DHAVE_FCGI_STDIO_H=1 -DHAVE_LIBXML_TREE_H=1 -DHAVE_LIBXML_PARSER_H=1 -DHAVE_LIBXML"\
-"_XPATH_H=1 -DHAVE_LIBXML_XPATHINTERNALS_H=1 -DHAVE_LIBXML2=1 -DHAVE_LIBXSLT_XSLT_H=1 -DHAVE_LIBXSLT_XSLTINTERNALS_H=1 -DHAVE_LIBXSLT_TRANSFORM_H=1 -"\
-"DHAVE_LIBXSLT_XSLTUTILS_H=1 -DHAVE_PROJ_API_H=1 -DHAVE_GEOS_C_H=1 -DHAVE_PYTHON_H=1 -DHAVE_LIBPYTHON2_7=1 -DHAVE_JSAPI_H=1 -DHAVE_LIBMOZJS185=1 -DHA"\
-"VE_JNI_H=1 -DHAVE_OTBWRAPPERAPPLICATION_H=1 -DHAVE_OTBWRAPPERINPUTIMAGELISTPARAMETER_H=1 -DHAVE_OTBWRAPPERAPPLICATIONREGISTRY_H=1 -DHAVE_MODULE_LIBR"\
-"ARY_H=1"
-S["mandir"]="${datarootdir}/man"
-S["localedir"]="${datarootdir}/locale"
-S["libdir"]="${exec_prefix}/lib"
-S["psdir"]="${docdir}"
-S["pdfdir"]="${docdir}"
-S["dvidir"]="${docdir}"
-S["htmldir"]="${docdir}"
-S["infodir"]="${datarootdir}/info"
-S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
-S["oldincludedir"]="/usr/include"
-S["includedir"]="${prefix}/include"
-S["localstatedir"]="${prefix}/var"
-S["sharedstatedir"]="${prefix}/com"
-S["sysconfdir"]="${prefix}/etc"
-S["datadir"]="${datarootdir}"
-S["datarootdir"]="${prefix}/share"
-S["libexecdir"]="${exec_prefix}/libexec"
-S["sbindir"]="${exec_prefix}/sbin"
-S["bindir"]="${exec_prefix}/bin"
-S["program_transform_name"]="s,x,x,"
-S["prefix"]="/usr/local"
-S["exec_prefix"]="${prefix}"
-S["PACKAGE_URL"]=""
-S["PACKAGE_BUGREPORT"]="bugs at zoo-project.org"
-S["PACKAGE_STRING"]="ZOO Kernel 1.5.0"
-S["PACKAGE_VERSION"]="1.5.0"
-S["PACKAGE_TARNAME"]="zoo-kernel"
-S["PACKAGE_NAME"]="ZOO Kernel"
-S["PATH_SEPARATOR"]=":"
-S["SHELL"]="/bin/sh"
-_ACAWK
-cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
-  for (key in S) S_is_set[key] = 1
-  FS = ""
-
-}
-{
-  line = $ 0
-  nfields = split(line, field, "@")
-  substed = 0
-  len = length(field[1])
-  for (i = 2; i < nfields; i++) {
-    key = field[i]
-    keylen = length(key)
-    if (S_is_set[key]) {
-      value = S[key]
-      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
-      len += length(value) + length(field[++i])
-      substed = 1
-    } else
-      len += 1 + keylen
-  }
-
-  print line
-}
-
-_ACAWK
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
-  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
-  cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
-  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X "  :F $CONFIG_FILES      "
-shift
-for ac_tag
-do
-  case $ac_tag in
-  :[FHLC]) ac_mode=$ac_tag; continue;;
-  esac
-  case $ac_mode$ac_tag in
-  :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
-  :[FH]-) ac_tag=-:-;;
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
-  esac
-  ac_save_IFS=$IFS
-  IFS=:
-  set x $ac_tag
-  IFS=$ac_save_IFS
-  shift
-  ac_file=$1
-  shift
-
-  case $ac_mode in
-  :L) ac_source=$1;;
-  :[FH])
-    ac_file_inputs=
-    for ac_f
-    do
-      case $ac_f in
-      -) ac_f="$ac_tmp/stdin";;
-      *) # Look for the file first in the build tree, then in the source tree
-	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
-	 # because $ac_f cannot contain `:'.
-	 test -f "$ac_f" ||
-	   case $ac_f in
-	   [\\/$]*) false;;
-	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
-	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
-      esac
-      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
-      as_fn_append ac_file_inputs " '$ac_f'"
-    done
-
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
-    # use $as_me), people would be surprised to read:
-    #    /* config.h.  Generated by config.status.  */
-    configure_input='Generated from '`
-	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
-	`' by configure.'
-    if test x"$ac_file" != x-; then
-      configure_input="$ac_file.  $configure_input"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
-    fi
-    # Neutralize special characters interpreted by sed in replacement strings.
-    case $configure_input in #(
-    *\&* | *\|* | *\\* )
-       ac_sed_conf_input=`$as_echo "$configure_input" |
-       sed 's/[\\\\&|]/\\\\&/g'`;; #(
-    *) ac_sed_conf_input=$configure_input;;
-    esac
-
-    case $ac_tag in
-    *:-:* | *:-) cat >"$ac_tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
-    esac
-    ;;
-  esac
-
-  ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$ac_file" : 'X\(//\)[^/]' \| \
-	 X"$ac_file" : 'X\(//\)$' \| \
-	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  as_dir="$ac_dir"; as_fn_mkdir_p
-  ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
-  case $ac_mode in
-  :F)
-  #
-  # CONFIG_FILE
-  #
-
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
-  p
-  q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-  ac_datarootdir_hack='
-  s&@datadir@&${datarootdir}&g
-  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
-  s&@infodir@&${datarootdir}/info&g
-  s&@localedir@&${datarootdir}/locale&g
-  s&@mandir@&${datarootdir}/man&g
-  s&\${datarootdir}&${prefix}/share&g' ;;
-esac
-ac_sed_extra="/^[	 ]*VPATH[	 ]*=[	 ]*/{
-h
-s///
-s/^/:/
-s/[	 ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[	 ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[	 ]*$//
-}
-
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
-  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
-      "$ac_tmp/out"`; test -z "$ac_out"; } &&
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&2;}
-
-  rm -f "$ac_tmp/stdin"
-  case $ac_file in
-  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
-  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
-  esac \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
-
-  esac
-
-done # for ac_tag
-
-
-as_fn_exit 0
diff --git a/zoo-project/zoo-kernel/configure b/zoo-project/zoo-kernel/configure
deleted file mode 100755
index f208d33..0000000
--- a/zoo-project/zoo-kernel/configure
+++ /dev/null
@@ -1,8345 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ZOO Kernel 1.5.0.
-#
-# Report bugs to <bugs at zoo-project.org>.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
-  # into an infinite loop, continuously re-executing ourselves.
-  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
-    _as_can_reexec=no; export _as_can_reexec;
-    # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
-  fi
-  # We don't want this to propagate to other subprocesses.
-          { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
-  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
-  setopt NO_GLOB_SUBST
-else
-  case \`(set -o) 2>/dev/null\` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-"
-  as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
-  exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
-  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
-  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
-  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
-  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
-  if (eval "$as_required") 2>/dev/null; then :
-  as_have_required=yes
-else
-  as_have_required=no
-fi
-  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  as_found=:
-  case $as_dir in #(
-	 /*)
-	   for as_base in sh bash ksh sh5; do
-	     # Try only shells that exist, to save several forks.
-	     as_shell=$as_dir/$as_base
-	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  CONFIG_SHELL=$as_shell as_have_required=yes
-		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  break 2
-fi
-fi
-	   done;;
-       esac
-  as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
-	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
-  CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
-      if test "x$CONFIG_SHELL" != x; then :
-  export CONFIG_SHELL
-             # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
-    if test x$as_have_required = xno; then :
-  $as_echo "$0: This script requires a shell more modern than all"
-  $as_echo "$0: the shells that I found on your system."
-  if test x${ZSH_VERSION+set} = xset ; then
-    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
-    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
-  else
-    $as_echo "$0: Please tell bug-autoconf at gnu.org and
-$0: bugs at zoo-project.org about your system, including any
-$0: error possibly output before this message. Then install
-$0: a modern shell, or manually run the script under such a
-$0: shell if you do have one."
-  fi
-  exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
-  as_lineno_1=$LINENO as_lineno_1a=$LINENO
-  as_lineno_2=$LINENO as_lineno_2a=$LINENO
-  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
-  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
-  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' <$as_myself |
-    sed '
-      s/[$]LINENO.*/&-/
-      t lineno
-      b
-      :lineno
-      N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
-      t loop
-      s/-\n.*//
-    ' >$as_me.lineno &&
-  chmod +x "$as_me.lineno" ||
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
-  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
-  # already done that, so ensure we don't try to do so again and fall
-  # in an infinite loop.  This has already happened in practice.
-  _as_can_reexec=no; export _as_can_reexec
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensitive to this).
-  . "./$as_me.lineno"
-  # Exit status is that of the last command.
-  exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='	';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -pR'
-  fi
-else
-  as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='ZOO Kernel'
-PACKAGE_TARNAME='zoo-kernel'
-PACKAGE_VERSION='1.5.0'
-PACKAGE_STRING='ZOO Kernel 1.5.0'
-PACKAGE_BUGREPORT='bugs at zoo-project.org'
-PACKAGE_URL=''
-
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# ifdef HAVE_STDLIB_H
-#  include <stdlib.h>
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-#  include <memory.h>
-# endif
-# include <string.h>
-#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
-
-ac_subst_vars='LTLIBOBJS
-SAGA_ENABLED
-SAGA_FILE
-SAGA_LDFLAGS
-SAGA_CPPFLAGS
-OTB_ENABLED
-OTB_FILE
-OTB_LDFLAGS
-OTB_CPPFLAGS
-PERL_FILE
-PERL_ENABLED
-PERL_LDFLAGS
-PERL_CPPFLAGS
-PERLCONFIG
-RUBY_FILE
-RUBY_ENABLED
-RUBY_LDFLAGS
-RUBY_CPPFLAGS
-JAVA_FILE
-JAVA_ENABLED
-JAVA_LDFLAGS
-JAVA_CPPFLAGS
-PHP_FILE
-PHP_ENABLED
-PHP_LDFLAGS
-PHP_CPPFLAGS
-PHPCONFIG
-JS_FILE
-JS_ENABLED
-JS_LDFLAGS
-JS_CPPFLAGS
-CXXCPP
-PYTHON_FILE
-PYTHON_ENABLED
-PYTHON_LDFLAGS
-PYTHON_CPPFLAGS
-PYTHONCONFIG
-MS_FILE
-MS_LIBS
-MS_CFLAGS
-CGAL_LDFLAGS
-CGAL_CPPFLAGS
-GEOS_LDFLAGS
-GEOS_CPPFLAGS
-GEOSCONFIG
-PROJ_LDFLAGS
-PROJ_CPPFLAGS
-GDAL_LIBS
-GDAL_CFLAGS
-GDAL_CONFIG
-XSLT_LDFLAGS
-XSLT_CPPFLAGS
-XSLTCONFIG
-XML2_LDFLAGS
-XML2_CPPFLAGS
-XML2CONFIG
-FCGI_LDFLAGS
-FCGI_CPPFLAGS
-YAML_FILE1
-YAML_FILE
-YAML_LDFLAGS
-YAML_CPPFLAGS
-RELY_ON_DB
-CGI_DIR
-DEB_DEF
-LIBOBJS
-ALLOCA
-EGREP
-GREP
-CPP
-DEFAULT_LIBS
-SED
-ac_ct_CXX
-CXXFLAGS
-CXX
-LEXLIB
-LEX_OUTPUT_ROOT
-LEX
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-YFLAGS
-YACC
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-with_cgi_dir
-with_db_backend
-with_yaml
-with_fastcgi
-with_xml2config
-with_xsltconfig
-with_gdal_config
-with_proj
-with_geosconfig
-with_cgal
-with_mapserver
-with_python
-with_pyvers
-with_js
-with_php
-with_java
-with_ruby
-with_rvers
-with_perl
-with_itk
-with_itk_version
-with_otb
-with_wx_config
-with_saga
-'
-      ac_precious_vars='build_alias
-host_alias
-target_alias
-YACC
-YFLAGS
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CXX
-CXXFLAGS
-CCC
-CPP
-CXXCPP'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
-  # If the previous option needs an argument, assign it.
-  if test -n "$ac_prev"; then
-    eval $ac_prev=\$ac_option
-    ac_prev=
-    continue
-  fi
-
-  case $ac_option in
-  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *=)   ac_optarg= ;;
-  *)    ac_optarg=yes ;;
-  esac
-
-  # Accept the important Cygnus configure options, so we can diagnose typos.
-
-  case $ac_dashdash$ac_option in
-  --)
-    ac_dashdash=yes ;;
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir=$ac_optarg ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build_alias ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build_alias=$ac_optarg ;;
-
-  -cache-file | --cache-file | --cache-fil | --cache-fi \
-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
-    ac_prev=cache_file ;;
-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file=$ac_optarg ;;
-
-  --config-cache | -C)
-    cache_file=config.cache ;;
-
-  -datadir | --datadir | --datadi | --datad)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=*)
-    datadir=$ac_optarg ;;
-
-  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
-  | --dataroo | --dataro | --datar)
-    ac_prev=datarootdir ;;
-  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
-  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
-    datarootdir=$ac_optarg ;;
-
-  -disable-* | --disable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=no ;;
-
-  -docdir | --docdir | --docdi | --doc | --do)
-    ac_prev=docdir ;;
-  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
-    docdir=$ac_optarg ;;
-
-  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
-    ac_prev=dvidir ;;
-  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
-    dvidir=$ac_optarg ;;
-
-  -enable-* | --enable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=\$ac_optarg ;;
-
-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-  | --exec | --exe | --ex)
-    ac_prev=exec_prefix ;;
-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
-  | --exec=* | --exe=* | --ex=*)
-    exec_prefix=$ac_optarg ;;
-
-  -gas | --gas | --ga | --g)
-    # Obsolete; use --with-gas.
-    with_gas=yes ;;
-
-  -help | --help | --hel | --he | -h)
-    ac_init_help=long ;;
-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
-    ac_init_help=recursive ;;
-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
-    ac_init_help=short ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host_alias ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host_alias=$ac_optarg ;;
-
-  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
-    ac_prev=htmldir ;;
-  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
-  | --ht=*)
-    htmldir=$ac_optarg ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir=$ac_optarg ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir=$ac_optarg ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir=$ac_optarg ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir=$ac_optarg ;;
-
-  -localedir | --localedir | --localedi | --localed | --locale)
-    ac_prev=localedir ;;
-  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
-    localedir=$ac_optarg ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst | --locals)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
-    localstatedir=$ac_optarg ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir=$ac_optarg ;;
-
-  -nfp | --nfp | --nf)
-    # Obsolete; use --without-fp.
-    with_fp=no ;;
-
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n)
-    no_create=yes ;;
-
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    no_recursion=yes ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir=$ac_optarg ;;
-
-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
-    ac_prev=prefix ;;
-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix=$ac_optarg ;;
-
-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
-  | --program-pre | --program-pr | --program-p)
-    ac_prev=program_prefix ;;
-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix=$ac_optarg ;;
-
-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
-  | --program-suf | --program-su | --program-s)
-    ac_prev=program_suffix ;;
-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix=$ac_optarg ;;
-
-  -program-transform-name | --program-transform-name \
-  | --program-transform-nam | --program-transform-na \
-  | --program-transform-n | --program-transform- \
-  | --program-transform | --program-transfor \
-  | --program-transfo | --program-transf \
-  | --program-trans | --program-tran \
-  | --progr-tra | --program-tr | --program-t)
-    ac_prev=program_transform_name ;;
-  -program-transform-name=* | --program-transform-name=* \
-  | --program-transform-nam=* | --program-transform-na=* \
-  | --program-transform-n=* | --program-transform-=* \
-  | --program-transform=* | --program-transfor=* \
-  | --program-transfo=* | --program-transf=* \
-  | --program-trans=* | --program-tran=* \
-  | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name=$ac_optarg ;;
-
-  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
-    ac_prev=pdfdir ;;
-  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
-    pdfdir=$ac_optarg ;;
-
-  -psdir | --psdir | --psdi | --psd | --ps)
-    ac_prev=psdir ;;
-  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
-    psdir=$ac_optarg ;;
-
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil)
-    silent=yes ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir=$ac_optarg ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir=$ac_optarg ;;
-
-  -site | --site | --sit)
-    ac_prev=site ;;
-  -site=* | --site=* | --sit=*)
-    site=$ac_optarg ;;
-
-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
-    ac_prev=srcdir ;;
-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir=$ac_optarg ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir=$ac_optarg ;;
-
-  -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target_alias ;;
-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target_alias=$ac_optarg ;;
-
-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
-    verbose=yes ;;
-
-  -version | --version | --versio | --versi | --vers | -V)
-    ac_init_version=: ;;
-
-  -with-* | --with-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=\$ac_optarg ;;
-
-  -without-* | --without-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
-	 ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=no ;;
-
-  --x)
-    # Obsolete; use --with-x.
-    with_x=yes ;;
-
-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
-  | --x-incl | --x-inc | --x-in | --x-i)
-    ac_prev=x_includes ;;
-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes=$ac_optarg ;;
-
-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
-    ac_prev=x_libraries ;;
-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries=$ac_optarg ;;
-
-  -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
-    ;;
-
-  *=*)
-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
-    # Reject names that are not valid shell variable names.
-    case $ac_envvar in #(
-      '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
-    esac
-    eval $ac_envvar=\$ac_optarg
-    export $ac_envvar ;;
-
-  *)
-    # FIXME: should be removed in autoconf 3.0.
-    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
-    ;;
-
-  esac
-done
-
-if test -n "$ac_prev"; then
-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
-  case $enable_option_checking in
-    no) ;;
-    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
-    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
-  esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
-		datadir sysconfdir sharedstatedir localstatedir includedir \
-		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir
-do
-  eval ac_val=\$$ac_var
-  # Remove trailing slashes.
-  case $ac_val in
-    */ )
-      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
-      eval $ac_var=\$ac_val;;
-  esac
-  # Be sure to have absolute directory names.
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* )  continue;;
-    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
-  esac
-  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
-  if test "x$build_alias" = x; then
-    cross_compiling=maybe
-  elif test "x$build_alias" != "x$host_alias"; then
-    cross_compiling=yes
-  fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_myself" : 'X\(//\)[^/]' \| \
-	 X"$as_myself" : 'X\(//\)$' \| \
-	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  srcdir=$ac_confdir
-  if test ! -r "$srcdir/$ac_unique_file"; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
-  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
-	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
-	pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
-  srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
-  eval ac_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_env_${ac_var}_value=\$${ac_var}
-  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-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 ZOO Kernel 1.5.0 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE.  See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              display this help and exit
-      --help=short        display options specific to this package
-      --help=recursive    display the short help of all the included packages
-  -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking ...' messages
-      --cache-file=FILE   cache test results in FILE [disabled]
-  -C, --config-cache      alias for \`--cache-file=config.cache'
-  -n, --no-create         do not create output files
-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
-
-Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          [$ac_default_prefix]
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                          [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
-  --bindir=DIR            user executables [EPREFIX/bin]
-  --sbindir=DIR           system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR        program executables [EPREFIX/libexec]
-  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --libdir=DIR            object code libraries [EPREFIX/lib]
-  --includedir=DIR        C header files [PREFIX/include]
-  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
-  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR           info documentation [DATAROOTDIR/info]
-  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR            man documentation [DATAROOTDIR/man]
-  --docdir=DIR            documentation root [DATAROOTDIR/doc/zoo-kernel]
-  --htmldir=DIR           html documentation [DOCDIR]
-  --dvidir=DIR            dvi documentation [DOCDIR]
-  --pdfdir=DIR            pdf documentation [DOCDIR]
-  --psdir=DIR             ps documentation [DOCDIR]
-_ACEOF
-
-  cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of ZOO Kernel 1.5.0:";;
-   esac
-  cat <<\_ACEOF
-
-Optional Packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-cgi-dir=PATH     Specifies an alternative cgi directory path (
-                          default: /usr/lib/cgi-bin)
-  --with-db-backend       Relies on a database for storing status messages and
-                          response files
-  --with-yaml=PATH        Specifies an alternative location for the yaml
-                          library
-  --with-fastcgi=PATH     Specifies an alternative location for the fastcgi
-                          library
-  --with-xml2config=FILE  Specifies an alternative xml2-config file
-  --with-xsltconfig=FILE  Specifies an alternative xslt-config file
-  --with-gdal-config=FILE Specifies an alternative gdal-config file
-  --with-proj=PATH        Specifies an alternative location for PROJ4 setup
-  --with-geosconfig=FILE  Specifies an alternative geos-config file
-  --with-cgal=PATH        Specifies an alternative location for CGAL setup
-  --with-mapserver=PATH   Specifies the path for MapServer compiled source
-                          tree
-  --with-python=PATH      To enable python support or Specifies an alternative
-                          directory for python installation, disabled by
-                          default
-  --with-pyvers=NUM       To use a specific python version
-  --with-js=PATH          Specifies --with-js=path-to-js to enable js support,
-                          specify --with-js on linux debian like, js support
-                          is disabled by default
-  --with-php=PATH         To enable php support or specify an alternative
-                          directory for php installation, disabled by default
-  --with-java=PATH        To enable java support, specify a JDK_HOME, disabled
-                          by default
-  --with-ruby=PATH        To enable ruby support or specify an alternative
-                          directory for ruby installation, disabled by default
-  --with-rvers=NUM        To use a specific ruby version
-  --with-perl=PATH        To enable perl support or specify an alternative
-                          directory for perl installation, disabled by default
-  --with-itk=PATH         Specifies an alternative location for the itk
-                          library
-  --with-itk-version=VERSION
-                          Specifies an alternative version for the itk library
-  --with-otb=PATH         Specifies an alternative location for the otb
-                          library
-  --with-wx-config=PATH   Specifies an alternative path for the wx-config tool
-  --with-saga=PATH        Specifies an alternative location for the SAGA-GIS
-                          library
-
-Some influential environment variables:
-  YACC        The `Yet Another Compiler Compiler' implementation to use.
-              Defaults to the first program found out of: `bison -y', `byacc',
-              `yacc'.
-  YFLAGS      The list of arguments that will be passed by default to $YACC.
-              This script will default YFLAGS to the empty string to avoid a
-              default value of `-d' given by some make applications.
-  CC          C compiler command
-  CFLAGS      C compiler flags
-  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
-              nonstandard directory <lib dir>
-  LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
-              you have headers in a nonstandard directory <include dir>
-  CXX         C++ compiler command
-  CXXFLAGS    C++ compiler flags
-  CPP         C preprocessor
-  CXXCPP      C++ preprocessor
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <bugs at zoo-project.org>.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d "$ac_dir" ||
-      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
-      continue
-    ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-    cd "$ac_dir" || { ac_status=$?; continue; }
-    # Check for guested configure.
-    if test -f "$ac_srcdir/configure.gnu"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
-    elif test -f "$ac_srcdir/configure"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure" --help=recursive
-    else
-      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi || ac_status=$?
-    cd "$ac_pwd" || { ac_status=$?; break; }
-  done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
-  cat <<\_ACEOF
-ZOO Kernel configure 1.5.0
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
-  exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext
-  if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-
-# ac_fn_c_try_link LINENO
-# -----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_link
-
-# ac_fn_cxx_try_compile LINENO
-# ----------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext
-  if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_cxx_try_compile
-
-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-# -------------------------------------------
-# Tests whether TYPE exists after having included INCLUDES, setting cache
-# variable VAR accordingly.
-ac_fn_c_check_type ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof ($2))
-	 return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
-	    return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_type
-
-# ac_fn_c_try_cpp LINENO
-# ----------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_cpp
-
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
-# that executables *can* be run.
-ac_fn_c_try_run ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: program exited with status $ac_status" >&5
-       $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=$ac_status
-fi
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_run
-
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_compile
-
-# ac_fn_c_check_func LINENO FUNC VAR
-# ----------------------------------
-# Tests whether FUNC exists, setting the cache variable VAR accordingly
-ac_fn_c_check_func ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $2 innocuous_$2
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $2 (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $2
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $2 ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$2 || defined __stub___$2
-choke me
-#endif
-
-int
-main ()
-{
-return $2 ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_func
-
-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
-# the include files in INCLUDES and setting the cache variable VAR
-# accordingly.
-ac_fn_c_check_header_mongrel ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_header_compiler=yes
-else
-  ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  ac_header_preproc=yes
-else
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
-  yes:no: )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-    ;;
-  no:yes:* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ----------------------------------- ##
-## Report this to bugs at zoo-project.org ##
-## ----------------------------------- ##"
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_mongrel
-
-# ac_fn_c_find_intX_t LINENO BITS VAR
-# -----------------------------------
-# Finds a signed integer type with width BITS, setting cache variable VAR
-# accordingly.
-ac_fn_c_find_intX_t ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
-$as_echo_n "checking for int$2_t... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-     # Order is important - never check a type that is potentially smaller
-     # than half of the expected target width.
-     for ac_type in int$2_t 'int' 'long int' \
-	 'long long int' 'short int' 'signed char'; do
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-	     enum { N = $2 / 2 - 1 };
-int
-main ()
-{
-static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
-test_array [0] = 0;
-return test_array [0];
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-	        enum { N = $2 / 2 - 1 };
-int
-main ()
-{
-static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
-		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
-test_array [0] = 0;
-return test_array [0];
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  case $ac_type in #(
-  int$2_t) :
-    eval "$3=yes" ;; #(
-  *) :
-    eval "$3=\$ac_type" ;;
-esac
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-       if eval test \"x\$"$3"\" = x"no"; then :
-
-else
-  break
-fi
-     done
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_find_intX_t
-
-# ac_fn_c_find_uintX_t LINENO BITS VAR
-# ------------------------------------
-# Finds an unsigned integer type with width BITS, setting cache variable VAR
-# accordingly.
-ac_fn_c_find_uintX_t ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
-$as_echo_n "checking for uint$2_t... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-     # Order is important - never check a type that is potentially smaller
-     # than half of the expected target width.
-     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
-	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-main ()
-{
-static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
-test_array [0] = 0;
-return test_array [0];
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  case $ac_type in #(
-  uint$2_t) :
-    eval "$3=yes" ;; #(
-  *) :
-    eval "$3=\$ac_type" ;;
-esac
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-       if eval test \"x\$"$3"\" = x"no"; then :
-
-else
-  break
-fi
-     done
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_find_uintX_t
-
-# ac_fn_cxx_try_cpp LINENO
-# ------------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
-	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_cxx_try_cpp
-
-# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
-# ---------------------------------------------------------
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
-# the include files in INCLUDES and setting the cache variable VAR
-# accordingly.
-ac_fn_cxx_check_header_mongrel ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_header_compiler=yes
-else
-  ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <$2>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  ac_header_preproc=yes
-else
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
-  yes:no: )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-    ;;
-  no:yes:* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ----------------------------------- ##
-## Report this to bugs at zoo-project.org ##
-## ----------------------------------- ##"
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_cxx_check_header_mongrel
-
-# ac_fn_cxx_try_link LINENO
-# -------------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_cxx_try_link
-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 ZOO Kernel $as_me 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
-
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    $as_echo "PATH: $as_dir"
-  done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
-  for ac_arg
-  do
-    case $ac_arg in
-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-    | -silent | --silent | --silen | --sile | --sil)
-      continue ;;
-    *\'*)
-      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    esac
-    case $ac_pass in
-    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
-    2)
-      as_fn_append ac_configure_args1 " '$ac_arg'"
-      if test $ac_must_keep_next = true; then
-	ac_must_keep_next=false # Got value, back to normal.
-      else
-	case $ac_arg in
-	  *=* | --config-cache | -C | -disable-* | --disable-* \
-	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
-	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
-	  | -with-* | --with-* | -without-* | --without-* | --x)
-	    case "$ac_configure_args0 " in
-	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
-	    esac
-	    ;;
-	  -* ) ac_must_keep_next=true ;;
-	esac
-      fi
-      as_fn_append ac_configure_args " '$ac_arg'"
-      ;;
-    esac
-  done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log.  We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
-  # Save into config.log some information that might help in debugging.
-  {
-    echo
-
-    $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
-    echo
-    # The following way of writing the cache mishandles newlines in values,
-(
-  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-  (set) 2>&1 |
-    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      sed -n \
-	"s/'\''/'\''\\\\'\'''\''/g;
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
-      ;; #(
-    *)
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-)
-    echo
-
-    $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
-    echo
-    for ac_var in $ac_subst_vars
-    do
-      eval ac_val=\$$ac_var
-      case $ac_val in
-      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-      esac
-      $as_echo "$ac_var='\''$ac_val'\''"
-    done | sort
-    echo
-
-    if test -n "$ac_subst_files"; then
-      $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
-      echo
-      for ac_var in $ac_subst_files
-      do
-	eval ac_val=\$$ac_var
-	case $ac_val in
-	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-	esac
-	$as_echo "$ac_var='\''$ac_val'\''"
-      done | sort
-      echo
-    fi
-
-    if test -s confdefs.h; then
-      $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
-      echo
-      cat confdefs.h
-      echo
-    fi
-    test "$ac_signal" != 0 &&
-      $as_echo "$as_me: caught signal $ac_signal"
-    $as_echo "$as_me: exit $exit_status"
-  } >&5
-  rm -f core *.core core.conftest.* &&
-    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
-    exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
-  # We do not want a PATH search for config.site.
-  case $CONFIG_SITE in #((
-    -*)  ac_site_file1=./$CONFIG_SITE;;
-    */*) ac_site_file1=$CONFIG_SITE;;
-    *)   ac_site_file1=./$CONFIG_SITE;;
-  esac
-elif test "x$prefix" != xNONE; then
-  ac_site_file1=$prefix/share/config.site
-  ac_site_file2=$prefix/etc/config.site
-else
-  ac_site_file1=$ac_default_prefix/share/config.site
-  ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
-  test "x$ac_site_file" = xNONE && continue
-  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
-    sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file" \
-      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
-  fi
-done
-
-if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special files
-  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
-  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
-    case $cache_file in
-      [\\/]* | ?:[\\/]* ) . "$cache_file";;
-      *)                      . "./$cache_file";;
-    esac
-  fi
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
-  >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
-  eval ac_new_set=\$ac_env_${ac_var}_set
-  eval ac_old_val=\$ac_cv_env_${ac_var}_value
-  eval ac_new_val=\$ac_env_${ac_var}_value
-  case $ac_old_set,$ac_new_set in
-    set,)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,set)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,);;
-    *)
-      if test "x$ac_old_val" != "x$ac_new_val"; then
-	# differences in whitespace do not lead to failure.
-	ac_old_val_w=`echo x $ac_old_val`
-	ac_new_val_w=`echo x $ac_new_val`
-	if test "$ac_old_val_w" != "$ac_new_val_w"; then
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-	  ac_cache_corrupted=:
-	else
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
-	  eval $ac_var=\$ac_old_val
-	fi
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
-$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
-$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
-      fi;;
-  esac
-  # Pass precious variables to config.status.
-  if test "$ac_new_set" = set; then
-    case $ac_new_val in
-    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
-    *) ac_arg=$ac_var=$ac_new_val ;;
-    esac
-    case " $ac_configure_args " in
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
-    esac
-  fi
-done
-if $ac_cache_corrupted; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-# Checks for programs.
-for ac_prog in 'bison -y' byacc
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_YACC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$YACC"; then
-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
-else
-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_prog_YACC="$ac_prog"
-    $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
-
-fi
-fi
-YACC=$ac_cv_prog_YACC
-if test -n "$YACC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
-$as_echo "$YACC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$YACC" && break
-done
-test -n "$YACC" || YACC="yacc"
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="${ac_tool_prefix}gcc"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
-  ac_ct_CC=$CC
-  # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; 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_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-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_prog_ac_ct_CC="gcc"
-    $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
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-else
-  CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
-          if test -n "$ac_tool_prefix"; then
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="${ac_tool_prefix}cc"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  fi
-fi
-if test -z "$CC"; then
-  # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-  ac_prog_rejected=no
-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
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-       ac_prog_rejected=yes
-       continue
-     fi
-    ac_cv_prog_CC="cc"
-    $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
-
-if test $ac_prog_rejected = yes; then
-  # We found a bogon in the path, so make sure we never use it.
-  set dummy $ac_cv_prog_CC
-  shift
-  if test $# != 0; then
-    # We chose a different compiler from the bogus one.
-    # However, it has the same basename, so the bogon will be chosen
-    # first if we set CC to just the basename; use the full file name.
-    shift
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
-  fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in cl.exe
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-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_prog_CC="$ac_tool_prefix$ac_prog"
-    $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
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CC" && break
-  done
-fi
-if test -z "$CC"; then
-  ac_ct_CC=$CC
-  for ac_prog in cl.exe
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-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_prog_ac_ct_CC="$ac_prog"
-    $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
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CC" && break
-done
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
-  esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link_default") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
-	;;
-    [ab].out )
-	# We found the default executable, but exeext='' is most
-	# certainly right.
-	break;;
-    *.* )
-	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
-	then :; else
-	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	fi
-	# We set ac_cv_exeext here because the later test for it is not
-	# safe: cross compilers may not add the suffix if given an `-o'
-	# argument, so we may need to know it at that point already.
-	# Even if this section looks crufty: it has the advantage of
-	# actually working.
-	break;;
-    * )
-	break;;
-  esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
-  ac_file=''
-fi
-if test -z "$ac_file"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-	  break;;
-    * ) break;;
-  esac
-done
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdio.h>
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
-  { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-  if { ac_try='./conftest$ac_cv_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-	cross_compiling=yes
-    else
-	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  for ac_file in conftest.o conftest.obj conftest.*; do
-  test -f "$ac_file" || continue;
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
-       break;;
-  esac
-done
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GCC=yes
-else
-  GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_prog_cc_g=no
-   CFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-else
-  CFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  ac_c_werror_flag=$ac_save_c_werror_flag
-	 CFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
-  CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
-  if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
-  else
-    CFLAGS="-g"
-  fi
-else
-  if test "$GCC" = yes; then
-    CFLAGS="-O2"
-  else
-    CFLAGS=
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdio.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
-   function prototypes and stuff, but not '\xHH' hex character constants.
-   These don't provoke an error unfortunately, instead are silently treated
-   as 'x'.  The following induces an error, until -std is added to get
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
-   array size at least.  It's necessary to write '\x00'==0 to get something
-   that's true only with -std.  */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
-   inside strings and character constants.  */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
-  ;
-  return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC="$CC $ac_cv_prog_cc_c89"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-for ac_prog in flex lex
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_LEX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LEX"; then
-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
-else
-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_prog_LEX="$ac_prog"
-    $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
-
-fi
-fi
-LEX=$ac_cv_prog_LEX
-if test -n "$LEX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
-$as_echo "$LEX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$LEX" && break
-done
-test -n "$LEX" || LEX=":"
-
-if test "x$LEX" != "x:"; then
-  cat >conftest.l <<_ACEOF
-%%
-a { ECHO; }
-b { REJECT; }
-c { yymore (); }
-d { yyless (1); }
-e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
-    yyless ((input () != 0)); }
-f { unput (yytext[0]); }
-. { BEGIN INITIAL; }
-%%
-#ifdef YYTEXT_POINTER
-extern char *yytext;
-#endif
-int
-main (void)
-{
-  return ! yylex () + ! yywrap ();
-}
-_ACEOF
-{ { ac_try="$LEX conftest.l"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$LEX conftest.l") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
-$as_echo_n "checking lex output file root... " >&6; }
-if ${ac_cv_prog_lex_root+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-if test -f lex.yy.c; then
-  ac_cv_prog_lex_root=lex.yy
-elif test -f lexyy.c; then
-  ac_cv_prog_lex_root=lexyy
-else
-  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
-$as_echo "$ac_cv_prog_lex_root" >&6; }
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
-
-if test -z "${LEXLIB+set}"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
-$as_echo_n "checking lex library... " >&6; }
-if ${ac_cv_lib_lex+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-    ac_save_LIBS=$LIBS
-    ac_cv_lib_lex='none needed'
-    for ac_lib in '' -lfl -ll; do
-      LIBS="$ac_lib $ac_save_LIBS"
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-`cat $LEX_OUTPUT_ROOT.c`
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_lex=$ac_lib
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      test "$ac_cv_lib_lex" != 'none needed' && break
-    done
-    LIBS=$ac_save_LIBS
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
-$as_echo "$ac_cv_lib_lex" >&6; }
-  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
-$as_echo_n "checking whether yytext is a pointer... " >&6; }
-if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  # POSIX says lex can declare yytext either as a pointer or an array; the
-# default is implementation-dependent.  Figure out which it is, since
-# not all implementations provide the %pointer and %array declarations.
-ac_cv_prog_lex_yytext_pointer=no
-ac_save_LIBS=$LIBS
-LIBS="$LEXLIB $ac_save_LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-  #define YYTEXT_POINTER 1
-`cat $LEX_OUTPUT_ROOT.c`
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_prog_lex_yytext_pointer=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_save_LIBS
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
-$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
-if test $ac_cv_prog_lex_yytext_pointer = yes; then
-
-$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
-
-fi
-rm -f conftest.l $LEX_OUTPUT_ROOT.c
-
-fi
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
-  if test -n "$CCC"; then
-    CXX=$CCC
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; 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_prog_CXX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CXX"; then
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-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_prog_CXX="$ac_tool_prefix$ac_prog"
-    $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
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CXX" && break
-  done
-fi
-if test -z "$CXX"; then
-  ac_ct_CXX=$CXX
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_prog_ac_ct_CXX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CXX"; then
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-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_prog_ac_ct_CXX="$ac_prog"
-    $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
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CXX" && break
-done
-
-  if test "x$ac_ct_CXX" = x; then
-    CXX="g++"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CXX=$ac_ct_CXX
-  fi
-fi
-
-  fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if ${ac_cv_cxx_compiler_gnu+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GXX=yes
-else
-  GXX=
-fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if ${ac_cv_prog_cxx_g+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
-   ac_cxx_werror_flag=yes
-   ac_cv_prog_cxx_g=no
-   CXXFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-else
-  CXXFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-
-else
-  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-	 CXXFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
-  CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
-  if test "$GXX" = yes; then
-    CXXFLAGS="-g -O2"
-  else
-    CXXFLAGS="-g"
-  fi
-else
-  if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
-  else
-    CXXFLAGS=
-  fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if ${ac_cv_path_SED+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
-     for ac_i in 1 2 3 4 5 6 7; do
-       ac_script="$ac_script$as_nl$ac_script"
-     done
-     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
-     { ac_script=; unset ac_script;}
-     if test -z "$SED"; then
-  ac_path_SED_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  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_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_SED" || continue
-# Check for GNU ac_path_SED and select it if it is found.
-  # Check for GNU $ac_path_SED
-case `"$ac_path_SED" --version 2>&1` in
-*GNU*)
-  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo '' >> "conftest.nl"
-    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_SED_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_SED="$ac_path_SED"
-      ac_path_SED_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_SED_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_SED"; then
-    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
-  fi
-else
-  ac_cv_path_SED=$SED
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
-$as_echo "$ac_cv_path_SED" >&6; }
- SED="$ac_cv_path_SED"
-  rm -f conftest.sed
-
-
-# Checks for libraries.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform in -lcurl" >&5
-$as_echo_n "checking for curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform in -lcurl... " >&6; }
-if ${ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-int
-main ()
-{
-return curl_easy_init,curl_easy_setopt,curl_easy_cleanup,curl_easy_perform ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform=yes
-else
-  ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" >&5
-$as_echo "$ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" >&6; }
-if test "x$ac_cv_lib_curl_curl_easy_init_curl_easy_setopt_curl_easy_cleanup_curl_easy_perform" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCURL 1
-_ACEOF
-
-  LIBS="-lcurl $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen,dlsym,dlerror,dlclose in -ldl" >&5
-$as_echo_n "checking for dlopen,dlsym,dlerror,dlclose in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen,dlsym,dlerror,dlclose ();
-int
-main ()
-{
-return dlopen,dlsym,dlerror,dlclose ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose=yes
-else
-  ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" >&5
-$as_echo "$ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" >&6; }
-if test "x$ac_cv_lib_dl_dlopen_dlsym_dlerror_dlclose" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBDL 1
-_ACEOF
-
-  LIBS="-ldl $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new in -lcrypto" >&5
-$as_echo_n "checking for EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new in -lcrypto... " >&6; }
-if ${ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypto  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-int
-main ()
-{
-return EVP_DigestInit,EVP_md5,EVP_DigestUpdate,BIO_f_base64,BIO_new ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new=yes
-else
-  ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" >&5
-$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" >&6; }
-if test "x$ac_cv_lib_crypto_EVP_DigestInit_EVP_md5_EVP_DigestUpdate_BIO_f_base64_BIO_new" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCRYPTO 1
-_ACEOF
-
-  LIBS="-lcrypto $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
-$as_echo_n "checking for uuid_generate_time in -luuid... " >&6; }
-if ${ac_cv_lib_uuid_uuid_generate_time+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-luuid  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char uuid_generate_time ();
-int
-main ()
-{
-return uuid_generate_time ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_uuid_uuid_generate_time=yes
-else
-  ac_cv_lib_uuid_uuid_generate_time=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
-$as_echo "$ac_cv_lib_uuid_uuid_generate_time" >&6; }
-if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBUUID 1
-_ACEOF
-
-  LIBS="-luuid $LIBS"
-
-fi
-
-
-DEFAULT_LIBS="$LIBS"
-
-
-
-# Checks for header files.
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-  if ${ac_cv_prog_CPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CPP needs to be expanded
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$GREP"; then
-  ac_path_GREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in grep ggrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'GREP' >> "conftest.nl"
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP="$ac_path_GREP"
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_GREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_GREP"; then
-    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
-   then ac_cv_path_EGREP="$GREP -E"
-   else
-     if test -z "$EGREP"; then
-  ac_path_EGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in egrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'EGREP' >> "conftest.nl"
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP="$ac_path_EGREP"
-      ac_path_EGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_EGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_EGREP=$EGREP
-fi
-
-   fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdc=yes
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then :
-  :
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
-		   (('a' <= (c) && (c) <= 'i') \
-		     || ('j' <= (c) && (c) <= 'r') \
-		     || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
-  int i;
-  for (i = 0; i < 256; i++)
-    if (XOR (islower (i), ISLOWER (i))
-	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-		  inttypes.h stdint.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-
-else
-
-cat >>confdefs.h <<_ACEOF
-#define size_t unsigned int
-_ACEOF
-
-fi
-
-# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
-# for constant arguments.  Useless!
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
-$as_echo_n "checking for working alloca.h... " >&6; }
-if ${ac_cv_working_alloca_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <alloca.h>
-int
-main ()
-{
-char *p = (char *) alloca (2 * sizeof (int));
-			  if (p) return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_working_alloca_h=yes
-else
-  ac_cv_working_alloca_h=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
-$as_echo "$ac_cv_working_alloca_h" >&6; }
-if test $ac_cv_working_alloca_h = yes; then
-
-$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
-$as_echo_n "checking for alloca... " >&6; }
-if ${ac_cv_func_alloca_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#else
-# ifdef _MSC_VER
-#  include <malloc.h>
-#  define alloca _alloca
-# else
-#  ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#  else
-#   ifdef _AIX
- #pragma alloca
-#   else
-#    ifndef alloca /* predefined by HP cc +Olibcalls */
-void *alloca (size_t);
-#    endif
-#   endif
-#  endif
-# endif
-#endif
-
-int
-main ()
-{
-char *p = (char *) alloca (1);
-				    if (p) return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_func_alloca_works=yes
-else
-  ac_cv_func_alloca_works=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
-$as_echo "$ac_cv_func_alloca_works" >&6; }
-
-if test $ac_cv_func_alloca_works = yes; then
-
-$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
-
-else
-  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
-# that cause trouble.  Some versions do not even contain alloca or
-# contain a buggy version.  If you still want to use their alloca,
-# use ar to extract alloca.o from them instead of compiling alloca.c.
-
-ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
-
-$as_echo "#define C_ALLOCA 1" >>confdefs.h
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
-$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
-if ${ac_cv_os_cray+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined CRAY && ! defined CRAY2
-webecray
-#else
-wenotbecray
-#endif
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "webecray" >/dev/null 2>&1; then :
-  ac_cv_os_cray=yes
-else
-  ac_cv_os_cray=no
-fi
-rm -f conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
-$as_echo "$ac_cv_os_cray" >&6; }
-if test $ac_cv_os_cray = yes; then
-  for ac_func in _getb67 GETB67 getb67; do
-    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-
-cat >>confdefs.h <<_ACEOF
-#define CRAY_STACKSEG_END $ac_func
-_ACEOF
-
-    break
-fi
-
-  done
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
-$as_echo_n "checking stack direction for C alloca... " >&6; }
-if ${ac_cv_c_stack_direction+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_c_stack_direction=0
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-find_stack_direction (int *addr, int depth)
-{
-  int dir, dummy = 0;
-  if (! addr)
-    addr = &dummy;
-  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
-  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
-  return dir + dummy;
-}
-
-int
-main (int argc, char **argv)
-{
-  return find_stack_direction (0, argc + !argv + 20) < 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_c_stack_direction=1
-else
-  ac_cv_c_stack_direction=-1
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
-$as_echo "$ac_cv_c_stack_direction" >&6; }
-cat >>confdefs.h <<_ACEOF
-#define STACK_DIRECTION $ac_cv_c_stack_direction
-_ACEOF
-
-
-fi
-
-for ac_header in fcntl.h inttypes.h libintl.h malloc.h stddef.h stdlib.h string.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-# Checks for typedefs, structures, and compiler characteristics.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
-$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
-if ${ac_cv_header_stdbool_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-             #include <stdbool.h>
-             #ifndef bool
-              "error: bool is not defined"
-             #endif
-             #ifndef false
-              "error: false is not defined"
-             #endif
-             #if false
-              "error: false is not 0"
-             #endif
-             #ifndef true
-              "error: true is not defined"
-             #endif
-             #if true != 1
-              "error: true is not 1"
-             #endif
-             #ifndef __bool_true_false_are_defined
-              "error: __bool_true_false_are_defined is not defined"
-             #endif
-
-             struct s { _Bool s: 1; _Bool t; } s;
-
-             char a[true == 1 ? 1 : -1];
-             char b[false == 0 ? 1 : -1];
-             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
-             char d[(bool) 0.5 == true ? 1 : -1];
-             /* See body of main program for 'e'.  */
-             char f[(_Bool) 0.0 == false ? 1 : -1];
-             char g[true];
-             char h[sizeof (_Bool)];
-             char i[sizeof s.t];
-             enum { j = false, k = true, l = false * true, m = true * 256 };
-             /* The following fails for
-                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
-             _Bool n[m];
-             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
-             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
-             /* Catch a bug in an HP-UX C compiler.  See
-                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
-                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
-              */
-             _Bool q = true;
-             _Bool *pq = &q;
-
-int
-main ()
-{
-
-             bool e = &s;
-             *pq |= q;
-             *pq |= ! q;
-             /* Refer to every declared value, to avoid compiler optimizations.  */
-             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
-                     + !m + !n + !o + !p + !q + !pq);
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdbool_h=yes
-else
-  ac_cv_header_stdbool_h=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
-$as_echo "$ac_cv_header_stdbool_h" >&6; }
-   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
-if test "x$ac_cv_type__Bool" = xyes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE__BOOL 1
-_ACEOF
-
-
-fi
-
-
-if test $ac_cv_header_stdbool_h = yes; then
-
-$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
-
-fi
-
-ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
-case $ac_cv_c_int16_t in #(
-  no|yes) ;; #(
-  *)
-
-cat >>confdefs.h <<_ACEOF
-#define int16_t $ac_cv_c_int16_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
-case $ac_cv_c_int32_t in #(
-  no|yes) ;; #(
-  *)
-
-cat >>confdefs.h <<_ACEOF
-#define int32_t $ac_cv_c_int32_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
-case $ac_cv_c_int8_t in #(
-  no|yes) ;; #(
-  *)
-
-cat >>confdefs.h <<_ACEOF
-#define int8_t $ac_cv_c_int8_t
-_ACEOF
-;;
-esac
-
-ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
-if test "x$ac_cv_type_pid_t" = xyes; then :
-
-else
-
-cat >>confdefs.h <<_ACEOF
-#define pid_t int
-_ACEOF
-
-fi
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-
-else
-
-cat >>confdefs.h <<_ACEOF
-#define size_t unsigned int
-_ACEOF
-
-fi
-
-ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
-case $ac_cv_c_uint16_t in #(
-  no|yes) ;; #(
-  *)
-
-
-cat >>confdefs.h <<_ACEOF
-#define uint16_t $ac_cv_c_uint16_t
-_ACEOF
-;;
-  esac
-
-ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
-case $ac_cv_c_uint32_t in #(
-  no|yes) ;; #(
-  *)
-
-$as_echo "#define _UINT32_T 1" >>confdefs.h
-
-
-cat >>confdefs.h <<_ACEOF
-#define uint32_t $ac_cv_c_uint32_t
-_ACEOF
-;;
-  esac
-
-ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
-case $ac_cv_c_uint8_t in #(
-  no|yes) ;; #(
-  *)
-
-$as_echo "#define _UINT8_T 1" >>confdefs.h
-
-
-cat >>confdefs.h <<_ACEOF
-#define uint8_t $ac_cv_c_uint8_t
-_ACEOF
-;;
-  esac
-
-
-# Checks for library functions.
-for ac_header in vfork.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
-if test "x$ac_cv_header_vfork_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_VFORK_H 1
-_ACEOF
-
-fi
-
-done
-
-for ac_func in fork vfork
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-if test "x$ac_cv_func_fork" = xyes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
-$as_echo_n "checking for working fork... " >&6; }
-if ${ac_cv_func_fork_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_fork_works=cross
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-main ()
-{
-
-	  /* By Ruediger Kuhlmann. */
-	  return fork () < 0;
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_fork_works=yes
-else
-  ac_cv_func_fork_works=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
-$as_echo "$ac_cv_func_fork_works" >&6; }
-
-else
-  ac_cv_func_fork_works=$ac_cv_func_fork
-fi
-if test "x$ac_cv_func_fork_works" = xcross; then
-  case $host in
-    *-*-amigaos* | *-*-msdosdjgpp*)
-      # Override, as these systems have only a dummy fork() stub
-      ac_cv_func_fork_works=no
-      ;;
-    *)
-      ac_cv_func_fork_works=yes
-      ;;
-  esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
-$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
-fi
-ac_cv_func_vfork_works=$ac_cv_func_vfork
-if test "x$ac_cv_func_vfork" = xyes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
-$as_echo_n "checking for working vfork... " >&6; }
-if ${ac_cv_func_vfork_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_vfork_works=cross
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-/* Thanks to Paul Eggert for this test.  */
-$ac_includes_default
-#include <sys/wait.h>
-#ifdef HAVE_VFORK_H
-# include <vfork.h>
-#endif
-/* On some sparc systems, changes by the child to local and incoming
-   argument registers are propagated back to the parent.  The compiler
-   is told about this with #include <vfork.h>, but some compilers
-   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
-   static variable whose address is put into a register that is
-   clobbered by the vfork.  */
-static void
-#ifdef __cplusplus
-sparc_address_test (int arg)
-# else
-sparc_address_test (arg) int arg;
-#endif
-{
-  static pid_t child;
-  if (!child) {
-    child = vfork ();
-    if (child < 0) {
-      perror ("vfork");
-      _exit(2);
-    }
-    if (!child) {
-      arg = getpid();
-      write(-1, "", 0);
-      _exit (arg);
-    }
-  }
-}
-
-int
-main ()
-{
-  pid_t parent = getpid ();
-  pid_t child;
-
-  sparc_address_test (0);
-
-  child = vfork ();
-
-  if (child == 0) {
-    /* Here is another test for sparc vfork register problems.  This
-       test uses lots of local variables, at least as many local
-       variables as main has allocated so far including compiler
-       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
-       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
-       reuse the register of parent for one of the local variables,
-       since it will think that parent can't possibly be used any more
-       in this routine.  Assigning to the local variable will thus
-       munge parent in the parent process.  */
-    pid_t
-      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
-      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
-    /* Convince the compiler that p..p7 are live; otherwise, it might
-       use the same hardware register for all 8 local variables.  */
-    if (p != p1 || p != p2 || p != p3 || p != p4
-	|| p != p5 || p != p6 || p != p7)
-      _exit(1);
-
-    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
-       from child file descriptors.  If the child closes a descriptor
-       before it execs or exits, this munges the parent's descriptor
-       as well.  Test for this by closing stdout in the child.  */
-    _exit(close(fileno(stdout)) != 0);
-  } else {
-    int status;
-    struct stat st;
-
-    while (wait(&status) != child)
-      ;
-    return (
-	 /* Was there some problem with vforking?  */
-	 child < 0
-
-	 /* Did the child fail?  (This shouldn't happen.)  */
-	 || status
-
-	 /* Did the vfork/compiler bug occur?  */
-	 || parent != getpid()
-
-	 /* Did the file descriptor bug occur?  */
-	 || fstat(fileno(stdout), &st) != 0
-	 );
-  }
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_vfork_works=yes
-else
-  ac_cv_func_vfork_works=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
-$as_echo "$ac_cv_func_vfork_works" >&6; }
-
-fi;
-if test "x$ac_cv_func_fork_works" = xcross; then
-  ac_cv_func_vfork_works=$ac_cv_func_vfork
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
-$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
-fi
-
-if test "x$ac_cv_func_vfork_works" = xyes; then
-
-$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
-
-else
-
-$as_echo "#define vfork fork" >>confdefs.h
-
-fi
-if test "x$ac_cv_func_fork_works" = xyes; then
-
-$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
-
-fi
-
-for ac_header in stdlib.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STDLIB_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
-$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
-if ${ac_cv_func_malloc_0_nonnull+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_malloc_0_nonnull=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *malloc ();
-#endif
-
-int
-main ()
-{
-return ! malloc (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_malloc_0_nonnull=yes
-else
-  ac_cv_func_malloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
-
-$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
-
-else
-  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
-
-   case " $LIBOBJS " in
-  *" malloc.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "#define malloc rpl_malloc" >>confdefs.h
-
-fi
-
-
-for ac_header in stdlib.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STDLIB_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
-$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
-if ${ac_cv_func_realloc_0_nonnull+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_realloc_0_nonnull=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *realloc ();
-#endif
-
-int
-main ()
-{
-return ! realloc (0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_realloc_0_nonnull=yes
-else
-  ac_cv_func_realloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
-if test $ac_cv_func_realloc_0_nonnull = yes; then :
-
-$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
-
-else
-  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
-
-   case " $LIBOBJS " in
-  *" realloc.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "#define realloc rpl_realloc" >>confdefs.h
-
-fi
-
-
-for ac_func in dup2 getcwd memset setenv strdup strstr
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-
-#============================================================================
-# Detect if run on debian / ubuntu
-#============================================================================
-if test -f "/usr/bin/dpkg"
-then
-	DEB_DEF=-DDEB
-fi
-
-
-
-# Check whether --with-cgi-dir was given.
-if test "${with_cgi_dir+set}" = set; then :
-  withval=$with_cgi_dir; CGI_DIR="$withval"
-else
-  CGI_DIR="/usr/lib/cgi-bin"
-fi
-
-
-
-
-# Check whether --with-db-backend was given.
-if test "${with_db_backend+set}" = set; then :
-  withval=$with_db_backend; RELY_ON_DB="-DRELY_ON_DB"
-else
-  RELY_ON_DB=""
-fi
-
-
-
-
-# ===========================================================================
-# Detect if libyaml is available
-# ===========================================================================
-
-
-# Check whether --with-yaml was given.
-if test "${with_yaml+set}" = set; then :
-  withval=$with_yaml; YAMLPATH="$withval"
-else
-  YAMLPATH=""
-fi
-
-
-if test -z "$YAMLPATH"
-then
-	YAML_LDFLAGS=""
-	YAML_CPPFLAGS=""
-	YAML_FILE=""
-	YAML_FILE1=""
-else
-
-	# Extract the linker and include flags
-	YAML_LDFLAGS="-L$YAMLPATH/lib -lyaml"
-	YAML_CPPFLAGS="-I$YAMLPATH/include -DYAML"
-	YAML_FILE="service_yaml.o"
-	YAML_FILE1="zcfg2yaml"
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$YAML_CPPFLAGS"
-	LIBS_SAVE="$LIBS"
-	LIBS="$YAML_LDFLAGS"
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan in -lyaml" >&5
-$as_echo_n "checking for yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan in -lyaml... " >&6; }
-if ${ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lyaml  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-int
-main ()
-{
-return yaml_parser_initialize,yaml_parser_set_input_file,yaml_parser_scan ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan=yes
-else
-  ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" >&5
-$as_echo "$ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" >&6; }
-if test "x$ac_cv_lib_yaml_yaml_parser_initialize_yaml_parser_set_input_file_yaml_parser_scan" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBYAML 1
-_ACEOF
-
-  LIBS="-lyaml $LIBS"
-
-fi
-
-	for ac_header in yaml.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "yaml.h" "ac_cv_header_yaml_h" "$ac_includes_default"
-if test "x$ac_cv_header_yaml_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_YAML_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to YAML" "$LINENO" 5
-fi
-
-done
-
-	LIBS="$LIBS_SAVE"
-fi
-
-
-
-
-
-# ===========================================================================
-# Detect if fastcgi is available
-# ===========================================================================
-
-
-# Check whether --with-fastcgi was given.
-if test "${with_fastcgi+set}" = set; then :
-  withval=$with_fastcgi; FCGIPATH="$withval"
-else
-  FCGIPATH="/usr"
-fi
-
-
-# Extract the linker and include flags
-FCGI_LDFLAGS="-L$FCGIPATH/lib"
-FCGI_CPPFLAGS="-I$FCGIPATH/include"
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$FCGI_CPPFLAGS"
-LIBS_SAVE="$LIBS"
-LIBS="$FCGI_LDFLAGS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfcgi" >&5
-$as_echo_n "checking for main in -lfcgi... " >&6; }
-if ${ac_cv_lib_fcgi_main+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfcgi  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-
-int
-main ()
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_fcgi_main=yes
-else
-  ac_cv_lib_fcgi_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_main" >&5
-$as_echo "$ac_cv_lib_fcgi_main" >&6; }
-if test "x$ac_cv_lib_fcgi_main" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBFCGI 1
-_ACEOF
-
-  LIBS="-lfcgi $LIBS"
-
-fi
-
-for ac_header in fcgi_stdio.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "fcgi_stdio.h" "ac_cv_header_fcgi_stdio_h" "$ac_includes_default"
-if test "x$ac_cv_header_fcgi_stdio_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FCGI_STDIO_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to fastcgi" "$LINENO" 5
-fi
-
-done
-
-LIBS="$LIBS_SAVE"
-
-
-
-# ===========================================================================
-# Detect if libxml2 is installed
-# ===========================================================================
-
-
-# Check whether --with-xml2config was given.
-if test "${with_xml2config+set}" = set; then :
-  withval=$with_xml2config; XML2CONFIG="$withval"
-else
-  XML2CONFIG=""
-fi
-
-
-if test "x$XML2CONFIG" = "x"; then
-	# XML2CONFIG was not specified, so search within the current path
-	# Extract the first word of "xml2-config", so it can be a program name with args.
-set dummy xml2-config; 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_XML2CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XML2CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XML2CONFIG="$XML2CONFIG" # 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_XML2CONFIG="$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
-XML2CONFIG=$ac_cv_path_XML2CONFIG
-if test -n "$XML2CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2CONFIG" >&5
-$as_echo "$XML2CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find xml2-config, display a warning
-	if test "x$XML2CONFIG" = "x"; then
-		as_fn_error $? "could not find xml2-config from libxml2 within the current path. You may need to try re-running configure with a --with-xml2config parameter." "$LINENO" 5
-	fi
-else
-	# XML2CONFIG was specified; display a message to the user
-	if test "x$XML2CONFIG" = "xyes"; then
-		as_fn_error $? "you must Specifies a parameter to --with-xml2config, e.g. --with-xml2config=/path/to/xml2-config" "$LINENO" 5
-	else
-		if test -f $XML2CONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified xml2-config file: $XML2CONFIG" >&5
-$as_echo "Using user-specified xml2-config file: $XML2CONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified xml2-config file $XML2CONFIG does not exist" "$LINENO" 5
-		fi
-	fi
-fi
-
-# Extract the linker and include flags
-XML2_LDFLAGS=`$XML2CONFIG --libs`
-XML2_CPPFLAGS=`$XML2CONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$XML2_CPPFLAGS"
-for ac_header in libxml/tree.h libxml/parser.h libxml/xpath.h libxml/xpathInternals.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libxml2" "$LINENO" 5
-fi
-
-done
-
-
-# Ensure we can link against libxml2
-LIBS_SAVE="$LIBS"
-LIBS="$XML2_LDFLAGS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlInitParser in -lxml2" >&5
-$as_echo_n "checking for xmlInitParser in -lxml2... " >&6; }
-if ${ac_cv_lib_xml2_xmlInitParser+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lxml2  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char xmlInitParser ();
-int
-main ()
-{
-return xmlInitParser ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_xml2_xmlInitParser=yes
-else
-  ac_cv_lib_xml2_xmlInitParser=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlInitParser" >&5
-$as_echo "$ac_cv_lib_xml2_xmlInitParser" >&6; }
-if test "x$ac_cv_lib_xml2_xmlInitParser" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBXML2 1
-_ACEOF
-
-  LIBS="-lxml2 $LIBS"
-
-else
-  as_fn_error $? "could not find libxml2" "$LINENO" 5
-fi
-
-
-
-
-LIBS="$LIBS_SAVE"
-
-
-# ===========================================================================
-# Detect if libxslt is installed
-# ===========================================================================
-
-
-# Check whether --with-xsltconfig was given.
-if test "${with_xsltconfig+set}" = set; then :
-  withval=$with_xsltconfig; XSLTCONFIG="$withval"
-else
-  XSLTCONFIG=""
-fi
-
-
-if test "x$XSLTCONFIG" = "x"; then
-	# XSLTCONFIG was not specified, so search within the current path
-	# Extract the first word of "xslt-config", so it can be a program name with args.
-set dummy xslt-config; 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_XSLTCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XSLTCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XSLTCONFIG="$XSLTCONFIG" # 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_XSLTCONFIG="$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
-XSLTCONFIG=$ac_cv_path_XSLTCONFIG
-if test -n "$XSLTCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTCONFIG" >&5
-$as_echo "$XSLTCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find xslt-config, display a warning
-	if test "x$XSLTCONFIG" = "x"; then
-		as_fn_error $? "could not find xslt-config from libxslt within the current path. You may need to try re-running configure with a --with-xtltconfig parameter." "$LINENO" 5
-	fi
-else
-	# XSLTCONFIG was specified; display a message to the user
-	if test "x$XSLTCONFIG" = "xyes"; then
-		as_fn_error $? "you must Specifies a parameter to --with-xsltconfig, e.g. --with-xsltconfig=/path/to/xslt-config" "$LINENO" 5
-	else
-		if test -f $XSLTCONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified xslt-config file: $XSLTCONFIG" >&5
-$as_echo "Using user-specified xslt-config file: $XSLTCONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified xslt-config file $XSLTCONFIG does not exist" "$LINENO" 5
-		fi
-	fi
-fi
-
-# Extract the linker and include flags
-XSLT_LDFLAGS=`$XSLTCONFIG --libs`
-XSLT_CPPFLAGS=`$XSLTCONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$XSLT_CPPFLAGS"
-for ac_header in libxslt/xslt.h libxslt/xsltInternals.h libxslt/transform.h libxslt/xsltutils.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libxlst" "$LINENO" 5
-fi
-
-done
-
-
-
-
-
-#============================================================================
-# Detect if gdal is installed
-#============================================================================
-
-
-# Check whether --with-gdal-config was given.
-if test "${with_gdal_config+set}" = set; then :
-  withval=$with_gdal_config; GDAL_CONFIG="$withval"
-else
-  GDAL_CONFIG=""
-fi
-
-if test -z $GDAL_CONFIG;
-then
-	# Extract the first word of "gdal-config", so it can be a program name with args.
-set dummy gdal-config; 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_GDAL_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $GDAL_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_GDAL_CONFIG="$GDAL_CONFIG" # 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_GDAL_CONFIG="$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
-GDAL_CONFIG=$ac_cv_path_GDAL_CONFIG
-if test -n "$GDAL_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDAL_CONFIG" >&5
-$as_echo "$GDAL_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	if test -z $GDAL_CONFIG;
-	then
-		as_fn_error $? "could not find gdal-config from libgdal within the current path. You may need to try re-running configure with a --with-gdal-config parameter." "$LINENO" 5
-	fi
-
-else
-	if test -f $GDAL_CONFIG; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified gdal-config file: $GDAL_CONFIG" >&5
-$as_echo "Using user-specified gdal-config file: $GDAL_CONFIG" >&6; }
-	else
-		as_fn_error $? "the user-specified gdal-config file $GDAL_CONFIG does not exist" "$LINENO" 5
-	fi
-fi
-
-GDAL_CFLAGS="`$GDAL_CONFIG --cflags`"
-GDAL_LIBS="`$GDAL_CONFIG --libs`"
-
-
-
-
-# ===========================================================================
-# Detect if proj is installed
-# ===========================================================================
-
-
-# Check whether --with-proj was given.
-if test "${with_proj+set}" = set; then :
-  withval=$with_proj; PROJPATH="$withval"
-else
-  PROJPATH=""
-fi
-
-
-# Extract the linker and include flags
-PROJ_LDFLAGS="-L$PROJPATH/lib"
-PROJ_CPPFLAGS="-I$PROJPATH/include"
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$PROJ_CPPFLAGS"
-for ac_header in proj_api.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "proj_api.h" "ac_cv_header_proj_api_h" "$ac_includes_default"
-if test "x$ac_cv_header_proj_api_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_PROJ_API_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to PROJ4" "$LINENO" 5
-fi
-
-done
-
-
-
-
-
-# ===========================================================================
-# Detect if libgeos is installed
-# ===========================================================================
-
-
-# Check whether --with-geosconfig was given.
-if test "${with_geosconfig+set}" = set; then :
-  withval=$with_geosconfig; GEOSCONFIG="$withval"
-else
-  GEOSCONFIG=""
-fi
-
-
-if test "x$GEOSCONFIG" = "x"; then
-	# GEOSCONFIG was not specified, so search within the current path
-	# Extract the first word of "geos-config", so it can be a program name with args.
-set dummy geos-config; 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_GEOSCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $GEOSCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_GEOSCONFIG="$GEOSCONFIG" # 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_GEOSCONFIG="$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
-GEOSCONFIG=$ac_cv_path_GEOSCONFIG
-if test -n "$GEOSCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOSCONFIG" >&5
-$as_echo "$GEOSCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-	# If we couldn't find geos-config, display a warning
-	if test "x$GEOSCONFIG" = "x"; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find geos-config from libgeos within the current path. You may need to try re-running configure with a --with-geosconfig parameter." >&5
-$as_echo "$as_me: WARNING: could not find geos-config from libgeos within the current path. You may need to try re-running configure with a --with-geosconfig parameter." >&2;}
-	fi
-else
-	# GEOSCONFIG was specified; display a message to the user
-	if test "x$GEOSCONFIG" = "xyes"; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you must Specifies a parameter to --with-geosconfig, e.g. --with-geosconfig=/path/to/geos-config" >&5
-$as_echo "$as_me: WARNING: you must Specifies a parameter to --with-geosconfig, e.g. --with-geosconfig=/path/to/geos-config" >&2;}
-	else
-		if test -f $GEOSCONFIG; then
-			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified geos-config file: $GEOSCONFIG" >&5
-$as_echo "Using user-specified geos-config file: $GEOSCONFIG" >&6; }
-		else
-			as_fn_error $? "the user-specified geos-config file $GEOSCONFIG does not exist" "$LINENO" 5
-		fi
-	fi
-fi
-
-GEOS_LDFLAGS=`$GEOSCONFIG --libs`
-GEOS_CPPFLAGS=`$GEOSCONFIG --cflags`
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$GEOS_CPPFLAGS"
-for ac_header in geos_c.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "geos_c.h" "ac_cv_header_geos_c_h" "$ac_includes_default"
-if test "x$ac_cv_header_geos_c_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_GEOS_C_H 1
-_ACEOF
-
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find headers include related to libgeos" >&5
-$as_echo "$as_me: WARNING: could not find headers include related to libgeos" >&2;}
-fi
-
-done
-
-
-
-
-
-
-# ===========================================================================
-# Detect if cgal is installed
-# ===========================================================================
-
-
-# Check whether --with-cgal was given.
-if test "${with_cgal+set}" = set; then :
-  withval=$with_cgal; CGALPATH="$withval"
-else
-  CGALPATH="/usr"
-fi
-
-
-
-# Check headers file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$CGAL_CPPFLAGS"
-for ac_header in CGAL/Delaunay_triangulation_2.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "CGAL/Delaunay_triangulation_2.h" "ac_cv_header_CGAL_Delaunay_triangulation_2_h" "$ac_includes_default"
-if test "x$ac_cv_header_CGAL_Delaunay_triangulation_2_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_CGAL_DELAUNAY_TRIANGULATION_2_H 1
-_ACEOF
-
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find headers include related to libCGAL" >&5
-$as_echo "$as_me: WARNING: could not find headers include related to libCGAL" >&2;}
-fi
-
-done
-
-
-# Extract the linker and include flags
-CGAL_LDFLAGS="-L$CGALPATH/lib"
-CGAL_CPPFLAGS="-I$CGALPATH/include"
-
-
-
-
-#============================================================================
-# Detect if mapserver is installed
-#============================================================================
-
-
-# Check whether --with-mapserver was given.
-if test "${with_mapserver+set}" = set; then :
-  withval=$with_mapserver; MS_SRC_PATH="$withval"
-else
-  MS_SRC_PATH=""
-fi
-
-
-if test -z $MS_SRC_PATH;
-then
-	MS_CPPFLAGS=""
-	MS_LDFLAGS=""
-else
-       if test "x$MS_SRC_PATH" = "xmacos";
-       then
-               MS_LDFLAGS="/Library/Frameworks/MapServer.framework//Versions/6.0/MapServer -lintl"
-               MS_CPPFLAGS="-DUSE_MS `/Library/Frameworks/MapServer.framework/Programs/mapserver-config --includes` -I/Library/Frameworks/MapServer.framework/Versions/Current/Headers/ -I../mapserver "
-               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please make sure that ../mapserver exists and contains MapServer source tree" >&5
-$as_echo "$as_me: WARNING: Please make sure that ../mapserver exists and contains MapServer source tree" >&2;}
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using MacOS X Framework for MapServer" >&5
-$as_echo "Using MacOS X Framework for MapServer" >&6; }
-       else
-               if test -d $MS_SRC_PATH; then
-                       MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`"
-                       MS_CPPFLAGS="-DUSE_MS `$MS_SRC_PATH/mapserver-config --includes` `$MS_SRC_PATH/mapserver-config --cflags` -I$MS_SRC_PATH "
-
-                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified MapServer src path: $MS_SRC_PATH" >&5
-$as_echo "Using user-specified MapServer src path: $MS_SRC_PATH" >&6; }
-               else
-                       as_fn_error $? "the user-specified mapserver-config file $MS_SRC_PATH does not exist" "$LINENO" 5
-               fi
-       fi
-       MS_FILE="service_internal_ms.o"
-fi
-
-MS_CFLAGS="$MS_CPPFLAGS"
-MS_LIBS="$MS_LDFLAGS"
-
-
-
-
-
-# ===========================================================================
-# Detect if python is installed
-# ===========================================================================
-
-
-# Check whether --with-python was given.
-if test "${with_python+set}" = set; then :
-  withval=$with_python; PYTHON_PATH="$withval"; PYTHON_ENABLED="-DUSE_PYTHON"
-else
-  PYTHON_ENABLED=""
-fi
-
-
-
-# Check whether --with-pyvers was given.
-if test "${with_pyvers+set}" = set; then :
-  withval=$with_pyvers; PYTHON_VERS="$withval"
-else
-  PYTHON_VERS=""
-fi
-
-
-
-if test -z "$PYTHON_ENABLED"
-then
-	PYTHON_FILE=""
-else
-	PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config"
-	PYTHON_FILE="service_internal_python.o"
-	if test  "$PYTHON_PATH" = "yes"
-	then
-		# PHP was not specified, so search within the current path
-		PYTHONCFG_PATH=`which python${PYTHON_VERS}-config`
-		if test -z "${PYTHONCFG_PATH}" ; then
-		# Extract the first word of "python-config-${PYTHON_VERS}", so it can be a program name with args.
-set dummy python-config-${PYTHON_VERS}; 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_PYTHONCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PYTHONCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # 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_PYTHONCONFIG="$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
-PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
-if test -n "$PYTHONCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
-$as_echo "$PYTHONCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-		else
-		# Extract the first word of "python${PYTHON_VERS}-config", so it can be a program name with args.
-set dummy python${PYTHON_VERS}-config; 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_PYTHONCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PYTHONCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # 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_PYTHONCONFIG="$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
-PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
-if test -n "$PYTHONCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
-$as_echo "$PYTHONCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-		fi
-	else
-		PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config"
-	fi
-
-	# Extract the linker and include flags
-	PYTHON_LDFLAGS=`$PYTHONCONFIG --ldflags`
-	PYTHON_CPPFLAGS=`$PYTHONCONFIG --includes`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PYTHON_CPPFLAGS"
-	for ac_header in Python.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
-if test "x$ac_cv_header_Python_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_PYTHON_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libpython" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$PYTHON_LDFLAGS"
-	PY_LIB=`$PYTHONCONFIG --libs | sed -e 's/^.*\(python2\..\)$/\1/'`
-	as_ac_Lib=`$as_echo "ac_cv_lib_$PY_LIB''_PyObject_CallObject" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PyObject_CallObject in -l$PY_LIB" >&5
-$as_echo_n "checking for PyObject_CallObject in -l$PY_LIB... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$PY_LIB  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char PyObject_CallObject ();
-int
-main ()
-{
-return PyObject_CallObject ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
-else
-  eval "$as_ac_Lib=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_LIB$PY_LIB" | $as_tr_cpp` 1
-_ACEOF
-
-  LIBS="-l$PY_LIB $LIBS"
-
-else
-  as_fn_error $? "could not find libpython" "$LINENO" 5
-fi
-
-
-
-	LIBS="$LIBS_SAVE"
-fi
-
-
-
-
-# ===========================================================================
-# Detect if spidermonkey is installed
-# ===========================================================================
-
-
-# Check whether --with-js was given.
-if test "${with_js+set}" = set; then :
-  withval=$with_js; JSHOME="$withval";JS_ENABLED="-DUSE_JS"
-else
-  JS_ENABLED=""
-fi
-
-
-if test -z "$JS_ENABLED"
-then
-	JS_FILE=""
-else
-	JS_FILE="service_internal_js.o"
-	if test "$JSHOME" = "yes"
-	then
-
-		#on teste si on est sous debian like
-		if test -f "/usr/bin/dpkg"
-		then
-			if test -n "`dpkg -l | grep libmozjs185-dev`"
-			then
-				JS_CPPFLAGS="-I/usr/include/js/"
-                        	JS_LDFLAGS="-L/usr/lib -lmozjs185 -lm"
-                        	JS_LIB="mozjs185"
-			else
-				XUL_VERSION="`dpkg -l | grep xulrunner | grep dev | head -1| awk '{print $3;}' | cut -d'+' -f1`"
-				if test -n "$XUL_VERSION"
-				then
-					JS_CPPFLAGS="-I/usr/include/xulrunner-$XUL_VERSION"
-					JS_LDFLAGS="-L/usr/lib/xulrunner-$XUL_VERSION -lmozjs -lm"
-					JS_LIB="mozjs"
-				else
-					as_fn_error $? "You must install libmozjs185-dev or xulrunner-dev " "$LINENO" 5
-				fi
-			fi
-		else
-			as_fn_error $? "You must  specify your custom install of libmozjs185" "$LINENO" 5
-		fi
-	else
-		JS_CPPFLAGS="-I$JSHOME/include/js/"
-                JS_LDFLAGS="-L$JSHOME/lib -lmozjs185 -lm"
-                JS_LIB="mozjs185"
-
-	fi
-	CPPFLAGS_SAVE="$CPPFLAGS"
-        CPPFLAGS="$JS_CPPFLAGS"
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
-$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
-if test -z "$CXXCPP"; then
-  if ${ac_cv_prog_CXXCPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CXXCPP needs to be expanded
-    for CXXCPP in "$CXX -E" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CXXCPP=$CXXCPP
-
-fi
-  CXXCPP=$ac_cv_prog_CXXCPP
-else
-  ac_cv_prog_CXXCPP=$CXXCPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
-$as_echo "$CXXCPP" >&6; }
-ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
-for ac_header in jsapi.h
-do :
-  ac_fn_cxx_check_header_mongrel "$LINENO" "jsapi.h" "ac_cv_header_jsapi_h" "$ac_includes_default"
-if test "x$ac_cv_header_jsapi_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_JSAPI_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libjs" "$LINENO" 5
-fi
-
-done
-
-
-	ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-	LIBS_SAVE="$LIBS"
-        LIBS="$JS_LDFLAGS"
-
-        as_ac_Lib=`$as_echo "ac_cv_lib_$JS_LIB''_JS_CompileFile,JS_CallFunctionName" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JS_CompileFile,JS_CallFunctionName in -l$JS_LIB" >&5
-$as_echo_n "checking for JS_CompileFile,JS_CallFunctionName in -l$JS_LIB... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$JS_LIB  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char JS_CompileFile,JS_CallFunctionName ();
-int
-main ()
-{
-return JS_CompileFile,JS_CallFunctionName ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
-else
-  eval "$as_ac_Lib=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_LIB$JS_LIB" | $as_tr_cpp` 1
-_ACEOF
-
-  LIBS="-l$JS_LIB $LIBS"
-
-else
-  as_fn_error $? "could not find $JS_LIB" "$LINENO" 5
-fi
-
-	LIBS="$LIBS_SAVE"
-
-
-
-fi
-
-
-
-
-# ===========================================================================
-# Detect if php is installed
-# ===========================================================================
-
-
-# Check whether --with-php was given.
-if test "${with_php+set}" = set; then :
-  withval=$with_php; PHP_PATH="$withval"; PHP_ENABLED="-DUSE_PHP"
-else
-  PHP_ENABLED=""
-fi
-
-
-
-if test -z "$PHP_ENABLED"
-then
-	PHP_FILE=""
-else
-	PHPCONFIG="$PHP_PATH/bin/php-config"
-	PHP_FILE="service_internal_php.o"
-	if test  "$PHP_PATH" = "yes"
-	then
-		# PHP was not specified, so search within the current path
-		# Extract the first word of "php-config", so it can be a program name with args.
-set dummy php-config; 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_PHPCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PHPCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PHPCONFIG="$PHPCONFIG" # 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_PHPCONFIG="$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
-PHPCONFIG=$ac_cv_path_PHPCONFIG
-if test -n "$PHPCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHPCONFIG" >&5
-$as_echo "$PHPCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	else
-		PHPCONFIG="$PHP_PATH/bin/php-config"
-	fi
-
-	# Extract the linker and include flags
-	PHP_LDFLAGS="-L/`$PHPCONFIG --prefix`/lib -lphp5"
-	PHP_CPPFLAGS=`$PHPCONFIG --includes`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PHP_CPPFLAGS"
-	for ac_header in sapi/embed/php_embed.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "sapi/embed/php_embed.h" "ac_cv_header_sapi_embed_php_embed_h" "$ac_includes_default"
-if test "x$ac_cv_header_sapi_embed_php_embed_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SAPI_EMBED_PHP_EMBED_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libphp" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$PHP_LDFLAGS"
-	# Shouldn't we get php here rather than php5 :) ??
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for call_user_function in -lphp5" >&5
-$as_echo_n "checking for call_user_function in -lphp5... " >&6; }
-if ${ac_cv_lib_php5_call_user_function+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lphp5  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char call_user_function ();
-int
-main ()
-{
-return call_user_function ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_php5_call_user_function=yes
-else
-  ac_cv_lib_php5_call_user_function=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_php5_call_user_function" >&5
-$as_echo "$ac_cv_lib_php5_call_user_function" >&6; }
-if test "x$ac_cv_lib_php5_call_user_function" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBPHP5 1
-_ACEOF
-
-  LIBS="-lphp5 $LIBS"
-
-else
-  as_fn_error $? "could not find libphp" "$LINENO" 5
-fi
-
-	LIBS="$LIBS_SAVE"
-
-
-fi
-
-
-
-
-# ===========================================================================
-# Detect if java is installed
-# ===========================================================================
-
-
-# Check whether --with-java was given.
-if test "${with_java+set}" = set; then :
-  withval=$with_java; JDKHOME="$withval"; JAVA_ENABLED="-DUSE_JAVA"
-else
-  JAVA_ENABLED=""
-fi
-
-
-if test -z "$JAVA_ENABLED"
-then
-	JAVA_FILE=""
-else
-	JAVA_FILE="service_internal_java.o"
-	if test "x$JDKHOME" = "x";
-	then
-		as_fn_error $? "could not find java installation path within the current path. You may need to try re-running configure with a --with-java parameter." "$LINENO" 5
-	fi	# JAVA was specified; display a message to the user
-	if test "x$JDKHOME" = "xyes";
-	then
-		as_fn_error $? "you must specify a parameter to --with-java, e.g. --with-java=/path/to/java" "$LINENO" 5
-	fi
-
-	# Extract the linker and include flags
-	if test "x$JDKHOME" = "xmacos";
-	then
-		JAVA_LDFLAGS="-framework JavaVM"
-		JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
-	else
-		if test -d "$JDKHOME/jre/lib/i386";
-		then
-			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/server/ -ljvm -lpthread"
-			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
-		else
-			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread"
-			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
-		fi
-	fi
-
-	# Check headers file (second time we check that in fact)
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$JAVA_CPPFLAGS"
-	for ac_header in jni.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
-if test "x$ac_cv_header_jni_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_JNI_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find jni.h file" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libjava
-	LIBS_SAVE="$LIBS"
-	LIBS="$JAVA_LDFLAGS"
-	if test "x$JDKHOME" != "xmacos";
-	then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JNI_CreateJavaVM in -ljvm" >&5
-$as_echo_n "checking for JNI_CreateJavaVM in -ljvm... " >&6; }
-if ${ac_cv_lib_jvm_JNI_CreateJavaVM+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ljvm  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char JNI_CreateJavaVM ();
-int
-main ()
-{
-return JNI_CreateJavaVM ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_jvm_JNI_CreateJavaVM=yes
-else
-  ac_cv_lib_jvm_JNI_CreateJavaVM=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jvm_JNI_CreateJavaVM" >&5
-$as_echo "$ac_cv_lib_jvm_JNI_CreateJavaVM" >&6; }
-if test "x$ac_cv_lib_jvm_JNI_CreateJavaVM" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBJVM 1
-_ACEOF
-
-  LIBS="-ljvm $LIBS"
-
-else
-  as_fn_error $? "could not find libjvm" "$LINENO" 5
-fi
-
-	fi
-	LIBS="$LIBS_SAVE"
-
-
-
-fi
-
-
-
-
-# ===========================================================================
-# Detect if ruby is installed
-# ===========================================================================
-
-# Check whether --with-ruby was given.
-if test "${with_ruby+set}" = set; then :
-  withval=$with_ruby; RUBY_PATH="$withval"; RUBY_ENABLED="-DUSE_RUBY"
-else
-  RUBY_ENABLED=""
-fi
-
-
-
-# Check whether --with-rvers was given.
-if test "${with_rvers+set}" = set; then :
-  withval=$with_rvers; RUBY_VERS="$withval"
-else
-  RUBY_VERS=""
-fi
-
-
-
-if test -z "$RUBY_ENABLED"
-then
-	RUBY_FILE=""
-else
-	RUBY_FILE="service_internal_ruby.o"
-
-	# Extract the linker and include flags
-	RUBY_LDFLAGS="-lruby"
-	RUBY_CPPFLAGS="-I$RUBY_PATH -I$RUBY_PATH/x86_64-darwin13.0/ -DZRUBY_VERSION=$RUBY_VERS"
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$RUBY_CPPFLAGS"
-	for ac_header in ruby.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
-if test "x$ac_cv_header_ruby_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_RUBY_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libruby" "$LINENO" 5
-fi
-
-done
-
-
-	# Ensure we can link against libphp
-	LIBS_SAVE="$LIBS"
-	LIBS="$RUBY_LDFLAGS"
-	# AC_CHECK_LIB([lruby], [PyObject_CallObject], [], [AC_MSG_ERROR([could not find libpython])], [])
-	LIBS="$LIBS_SAVE"
-
-
-fi
-
-
-
-
-# ===========================================================================
-# Detect if perl is installed
-# ===========================================================================
-
-
-# Check whether --with-perl was given.
-if test "${with_perl+set}" = set; then :
-  withval=$with_perl; PERL_PATH="$withval"; PERL_ENABLED="-DUSE_PERL"
-else
-  PERL_ENABLED=""
-fi
-
-
-
-if test -z "$PERL_ENABLED"
-then
-	PERL_FILE=""
-else
-	PERL_FILE="service_internal_perl.o"
-	if test  "$PERL_PATH" = "yes"
-	then
-		# Perl was not specified, so search within the current path
-		# 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
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PERLCONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PERLCONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERLCONFIG="$PERLCONFIG" # 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_PERLCONFIG="$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
-PERLCONFIG=$ac_cv_path_PERLCONFIG
-if test -n "$PERLCONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERLCONFIG" >&5
-$as_echo "$PERLCONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-	else
-		PERLCONFIG="$PERL_PATH/bin/perl"
-	fi
-
-	# Extract the linker and include flags
-	PERL_LDFLAGS=`$PERLCONFIG -MExtUtils::Embed -e ldopts`
-	PERL_CPPFLAGS=`$PERLCONFIG -MExtUtils::Embed -e ccopts`
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$PERL_CPPFLAGS"
-	for ac_header in EXTERN.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "EXTERN.h" "ac_cv_header_EXTERN_h" "$ac_includes_default"
-if test "x$ac_cv_header_EXTERN_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_EXTERN_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find headers include related to libperl" "$LINENO" 5
-fi
-
-done
-
-
-
-
-fi
-
-
-
-
-# ===========================================================================
-# Detect if otb is available
-# ===========================================================================
-
-
-# Check whether --with-itk was given.
-if test "${with_itk+set}" = set; then :
-  withval=$with_itk; ITKPATH="$withval"
-else
-  ITKPATH=""
-fi
-
-
-
-# Check whether --with-itk-version was given.
-if test "${with_itk_version+set}" = set; then :
-  withval=$with_itk_version; ITKVERS="$withval"
-else
-  ITKVERS=""
-fi
-
-
-
-# Check whether --with-otb was given.
-if test "${with_otb+set}" = set; then :
-  withval=$with_otb; OTBPATH="$withval"
-else
-  OTBPATH=""
-fi
-
-
-if test -z "$OTBPATH"
-then
-	OTB_LDFLAGS=""
-	OTB_CPPFLAGS=""
-	OTB_FILE=""
-	OTB_ENABLED=""
-else
-	if test -z "$ITKVERS"
-    	then
-		ITKVERS="4.5"
-    	fi
-	OTB_ENABLED="-DUSE_OTB"
-	OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKWatersheds-$ITKVERS -litkNetlibSlatec-$ITKVE [...]
-	OTB_CPPFLAGS="-I$OTBPATH/include/otb/ApplicationEngine -I$OTBPATH/include/otb/Common -I$ITKPATH/include/ITK-$ITKVERS -I$OTBPATH/include/otb/Utilities/ITK -I$OTBPATH/include/otb/ -I$OTBPATH/include/otb/IO -I$OTBPATH/include/otb/UtilitiesAdapters/OssimAdapters -I$OTBPATH/include/otb/UtilitiesAdapters/CurlAdapters -I$OTBPATH/include/otb/Utilities/BGL -I$OTBPATH/include/otb/UtilitiesAdapters/ITKPendingPatches -I$OTBPATH/include/otb/Utilities/otbconfigfile $GDAL_CFLAGS"
-	OTB_FILE="otbZooWatcher.o service_internal_otb.o"
-
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$OTB_CPPFLAGS"
-	LDFLAGS_SAVE="$LDFLAGS"
-	LIBS="$LIBS_SAVE $OTB_LDFLAGS"
-	for ac_header in otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find header file $i related to OTB" "$LINENO" 5
-fi
-
-done
-
-	ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	LDFLAGS_SAVE="$LDFLAGS"
-	LDFLAGS="$OTB_LDFLAGS"
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include "otbWrapperApplication.h",std::vector<std::string> list = otb::Wrapwper::ApplicationRegistry::GetAvailableApplication();
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for GetAvailableApplication... yes" >&5
-$as_echo "checking for GetAvailableApplication... yes" >&6; }
-else
-  as_fn_error $? "checking for GetAvailableApplication... failed" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-	LDFLAGS="$LDFLAGS_SAVE"
-
-fi
-
-
-
-
-
-# ===========================================================================
-# Detect if saga-gis is available
-# ===========================================================================
-
-
-# Check whether --with-wx-config was given.
-if test "${with_wx_config+set}" = set; then :
-  withval=$with_wx_config; WXCFG="$withval"
-else
-  WXCFG=""
-fi
-
-
-
-# Check whether --with-saga was given.
-if test "${with_saga+set}" = set; then :
-  withval=$with_saga; SAGAPATH="$withval"
-else
-  SAGAPATH=""
-fi
-
-
-if test -z "$SAGAPATH"
-then
-	SAGA_LDFLAGS=""
-	SAGA_CPPFLAGS=""
-	SAGA_FILE=""
-	SAGA_ENABLED=""
-else
-	if test -z "$WXCFG" ; then
-	   WXCFG="$(which wx-config)"
-	fi
-	if test "`$WXCFG --list | grep unicode`" == "" ; then
-	   as_fn_error $? "SAGA requires a unicode build of wxGTK" "$LINENO" 5
-	fi
-	WX_ISSUE="-D_WX_WXCRTVARARG_H_"
-	SAGA_DEFS="-D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -DMODULE_LIBRARY_PATH=\\\"$SAGAPATH/lib/saga\\\""
-	SAGA_CPPFLAGS=" -fPIC -I$SAGAPATH/include/saga/saga_core/saga_api/ `$WXCFG --unicode=yes --static=no --cxxflags` -D_SAGA_UNICODE $SAGA_DEFS $WX_ISSUE"
-	SAGA_LDFLAGS="-fPIC `$WXCFG --unicode=yes --static=no --libs` -lsaga_api"
-	SAGA_ENABLED="-DUSE_SAGA"
-	SAGA_FILE="service_internal_saga.o"
-
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-	# Check headers file
-	CPPFLAGS_SAVE="$CPPFLAGS"
-	CPPFLAGS="$SAGA_CPPFLAGS"
-	LIBS_SAVE="$LIBS"
-	LIBS="$SAGA_LDFLAGS"
-	for ac_header in module_library.h
-do :
-  ac_fn_cxx_check_header_mongrel "$LINENO" "module_library.h" "ac_cv_header_module_library_h" "$ac_includes_default"
-if test "x$ac_cv_header_module_library_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODULE_LIBRARY_H 1
-_ACEOF
-
-else
-  as_fn_error $? "could not find header file $i related to SAGA-GIS" "$LINENO" 5
-fi
-
-done
-
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include "module_library.h",SG_Get_Module_Library_Manager();
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for SG_Get_Module_Library_Manager... yes" >&5
-$as_echo "checking for SG_Get_Module_Library_Manager... yes" >&6; }
-else
-  as_fn_error $? "checking for SG_Get_Module_Library_Manager... failed" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-	LIBS="$LIBS_SAVE"
-	ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-fi
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-ac_config_files="$ac_config_files ZOOMakefile.opts"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems.  If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
-  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-
-  (set) 2>&1 |
-    case $as_nl`(ac_space=' '; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      # `set' does not quote correctly, so add quotes: double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \.
-      sed -n \
-	"s/'/'\\\\''/g;
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
-      ;; #(
-    *)
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-) |
-  sed '
-     /^ac_cv_env_/b end
-     t clear
-     :clear
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
-     t end
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
-  if test -w "$cache_file"; then
-    if test "x$cache_file" != "x/dev/null"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
-      if test ! -f "$cache_file" || test -h "$cache_file"; then
-	cat confcache >"$cache_file"
-      else
-        case $cache_file in #(
-        */* | ?:*)
-	  mv -f confcache "$cache_file"$$ &&
-	  mv -f "$cache_file"$$ "$cache_file" ;; #(
-        *)
-	  mv -f confcache "$cache_file" ;;
-	esac
-      fi
-    fi
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
-  fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section.  Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
-	g
-	s/^\n//
-	s/\n/ /g
-	p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
-  # 1. Remove the extension, and $U if already installed.
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
-  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
-  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
-  #    will be set to the directory where LIBOBJS objects are built.
-  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
-  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='	';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -pR'
-  fi
-else
-  as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by ZOO Kernel $as_me 1.5.0, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration.  Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number and configuration settings, then exit
-      --config     print configuration, then exit
-  -q, --quiet, --silent
-                   do not print progress messages
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-      --file=FILE[:TEMPLATE]
-                   instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bugs at zoo-project.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-ZOO Kernel config.status 1.5.0
-configured by $0, generated by GNU Autoconf 2.69,
-  with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=?*)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
-    ac_shift=:
-    ;;
-  --*=)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=
-    ac_shift=:
-    ;;
-  *)
-    ac_option=$1
-    ac_optarg=$2
-    ac_shift=shift
-    ;;
-  esac
-
-  case $ac_option in
-  # Handling of the options.
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    ac_cs_recheck=: ;;
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    $as_echo "$ac_cs_version"; exit ;;
-  --config | --confi | --conf | --con | --co | --c )
-    $as_echo "$ac_cs_config"; exit ;;
-  --debug | --debu | --deb | --de | --d | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    $ac_shift
-    case $ac_optarg in
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    '') as_fn_error $? "missing file argument" ;;
-    esac
-    as_fn_append CONFIG_FILES " '$ac_optarg'"
-    ac_need_defaults=false;;
-  --he | --h |  --help | --hel | -h )
-    $as_echo "$ac_cs_usage"; exit ;;
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
-    ac_cs_silent=: ;;
-
-  # This is an error.
-  -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
-  *) as_fn_append ac_config_targets " $1"
-     ac_need_defaults=false ;;
-
-  esac
-  shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
-  exec 6>/dev/null
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
-  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-  shift
-  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
-  CONFIG_SHELL='$SHELL'
-  export CONFIG_SHELL
-  exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
-  $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
-  case $ac_config_target in
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-    "ZOOMakefile.opts") CONFIG_FILES="$CONFIG_FILES ZOOMakefile.opts" ;;
-
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
-  esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
-  tmp= ac_tmp=
-  trap 'exit_status=$?
-  : "${ac_tmp:=$tmp}"
-  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
-  trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -d "$tmp"
-}  ||
-{
-  tmp=./conf$$-$RANDOM
-  (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
-  eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\\r'
-else
-  ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
-  echo "cat >conf$$subs.awk <<_ACEOF" &&
-  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
-  echo "_ACEOF"
-} >conf$$subs.sh ||
-  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
-  . ./conf$$subs.sh ||
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
-  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
-  if test $ac_delim_n = $ac_delim_num; then
-    break
-  elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-  else
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
-  fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
-  N
-  s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
-  for (key in S) S_is_set[key] = 1
-  FS = ""
-
-}
-{
-  line = $ 0
-  nfields = split(line, field, "@")
-  substed = 0
-  len = length(field[1])
-  for (i = 2; i < nfields; i++) {
-    key = field[i]
-    keylen = length(key)
-    if (S_is_set[key]) {
-      value = S[key]
-      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
-      len += length(value) + length(field[++i])
-      substed = 1
-    } else
-      len += 1 + keylen
-  }
-
-  print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
-  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
-  cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
-  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
-h
-s///
-s/^/:/
-s/[	 ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[	 ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[	 ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X "  :F $CONFIG_FILES      "
-shift
-for ac_tag
-do
-  case $ac_tag in
-  :[FHLC]) ac_mode=$ac_tag; continue;;
-  esac
-  case $ac_mode$ac_tag in
-  :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
-  :[FH]-) ac_tag=-:-;;
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
-  esac
-  ac_save_IFS=$IFS
-  IFS=:
-  set x $ac_tag
-  IFS=$ac_save_IFS
-  shift
-  ac_file=$1
-  shift
-
-  case $ac_mode in
-  :L) ac_source=$1;;
-  :[FH])
-    ac_file_inputs=
-    for ac_f
-    do
-      case $ac_f in
-      -) ac_f="$ac_tmp/stdin";;
-      *) # Look for the file first in the build tree, then in the source tree
-	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
-	 # because $ac_f cannot contain `:'.
-	 test -f "$ac_f" ||
-	   case $ac_f in
-	   [\\/$]*) false;;
-	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
-	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
-      esac
-      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
-      as_fn_append ac_file_inputs " '$ac_f'"
-    done
-
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
-    # use $as_me), people would be surprised to read:
-    #    /* config.h.  Generated by config.status.  */
-    configure_input='Generated from '`
-	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
-	`' by configure.'
-    if test x"$ac_file" != x-; then
-      configure_input="$ac_file.  $configure_input"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
-    fi
-    # Neutralize special characters interpreted by sed in replacement strings.
-    case $configure_input in #(
-    *\&* | *\|* | *\\* )
-       ac_sed_conf_input=`$as_echo "$configure_input" |
-       sed 's/[\\\\&|]/\\\\&/g'`;; #(
-    *) ac_sed_conf_input=$configure_input;;
-    esac
-
-    case $ac_tag in
-    *:-:* | *:-) cat >"$ac_tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
-    esac
-    ;;
-  esac
-
-  ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$ac_file" : 'X\(//\)[^/]' \| \
-	 X"$ac_file" : 'X\(//\)$' \| \
-	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  as_dir="$ac_dir"; as_fn_mkdir_p
-  ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
-  case $ac_mode in
-  :F)
-  #
-  # CONFIG_FILE
-  #
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
-  p
-  q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-  ac_datarootdir_hack='
-  s&@datadir@&$datadir&g
-  s&@docdir@&$docdir&g
-  s&@infodir@&$infodir&g
-  s&@localedir@&$localedir&g
-  s&@mandir@&$mandir&g
-  s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
-  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
-      "$ac_tmp/out"`; test -z "$ac_out"; } &&
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&2;}
-
-  rm -f "$ac_tmp/stdin"
-  case $ac_file in
-  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
-  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
-  esac \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
-
-  esac
-
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
-  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded.  So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status.  When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
-  ac_cs_success=:
-  ac_config_status_args=
-  test "$silent" = yes &&
-    ac_config_status_args="$ac_config_status_args --quiet"
-  exec 5>/dev/null
-  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
-  exec 5>>config.log
-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
-  # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/zoo-project/zoo-kernel/configure.ac b/zoo-project/zoo-kernel/configure.ac
index 6978af3..43f9c84 100644
--- a/zoo-project/zoo-kernel/configure.ac
+++ b/zoo-project/zoo-kernel/configure.ac
@@ -39,6 +39,26 @@ AC_FUNC_REALLOC
 AC_CHECK_FUNCS([dup2 getcwd memset setenv strdup strstr])
 
 #============================================================================
+# Detect if openssl is available
+#============================================================================
+
+AC_ARG_WITH([openssl],
+    [AS_HELP_STRING([--with-openssl=PATH], [Specifies an alternative location for the openssl library])],
+    [OPENSSL_DIR="$withval"], [OPENSSL_DIR="/usr/"])
+OPENSSL_CFLAGS="-I$OPENSSL_DIR/include"
+OPENSSL_LDFLAGS="-lcrypto -L$OPENSSL_DIR/lib -lssl"
+CPPFLAGS_SAVE="$CPPFLAGS"
+CPPFLAGS="$OPENSSL_CFLAGS"
+LIBS_SAVE="$LIBS"
+LIBS="$OPENSSL_LDFLAGS"
+AC_CHECK_HEADERS([openssl/md5.h openssl/hmac.h openssl/evp.h openssl/bio.h openssl/buffer.h],
+			[], [AC_MSG_ERROR([could not find header file $i related to openssl])])
+AC_CHECK_LIB(crypto, BIO_f_base64,
+			[], [AC_MSG_ERROR([could not find $i function in openssl library])])
+AC_SUBST([OPENSSL_CFLAGS])
+AC_SUBST([OPENSSL_LDFLAGS])
+
+#============================================================================
 # Detect if run on debian / ubuntu
 #============================================================================
 if test -f "/usr/bin/dpkg"
@@ -104,7 +124,7 @@ AC_ARG_WITH([fastcgi],
         [FCGIPATH="$withval"], [FCGIPATH="/usr"])
 
 # Extract the linker and include flags
-FCGI_LDFLAGS="-L$FCGIPATH/lib"
+FCGI_LDFLAGS="-L$FCGIPATH/lib -lfcgi"
 FCGI_CPPFLAGS="-I$FCGIPATH/include"
 
 # Check headers file
@@ -313,6 +333,7 @@ AC_ARG_WITH([cgal],
 
 # Check headers file
 CPPFLAGS_SAVE="$CPPFLAGS"
+CGAL_CPPFLAGS="-I$CGALPATH/include"
 CPPFLAGS="$CGAL_CPPFLAGS"
 AC_CHECK_HEADERS([CGAL/Delaunay_triangulation_2.h],
          [], [AC_MSG_WARN([could not find headers include related to libCGAL])])
@@ -332,6 +353,10 @@ AC_ARG_WITH([mapserver],
        [AS_HELP_STRING([--with-mapserver=PATH], [Specifies the path for MapServer compiled source tree])], 
        [MS_SRC_PATH="$withval"], [MS_SRC_PATH=""])
 
+AC_ARG_WITH([ms-version], 
+       [AS_HELP_STRING([--with-ms-version=VERSION], [Specifies the MapServer version to build against])], 
+       [MS_VERSION="$withval"], [MS_VERSION=""])
+
 if test -z $MS_SRC_PATH;
 then
 	MS_CPPFLAGS=""
@@ -344,6 +369,12 @@ else
                AC_MSG_WARN([Please make sure that ../mapserver exists and contains MapServer source tree])
                AC_MSG_RESULT([Using MacOS X Framework for MapServer])
        else
+	if test "x$MS_VERSION" = "x7";
+	then
+		MS_LDFLAGS="-L$MS_SRC_PATH/lib -lmapserver"
+		MS_CPPFLAGS="-DUSE_MS -I$MS_SRC_PATH/include/mapserver "
+               	AC_MSG_RESULT([Using user-specified MapServer src path: $MS_SRC_PATH])
+        else
                if test -d $MS_SRC_PATH; then
                        MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`"
                        MS_CPPFLAGS="-DUSE_MS `$MS_SRC_PATH/mapserver-config --includes` `$MS_SRC_PATH/mapserver-config --cflags` -I$MS_SRC_PATH "
@@ -352,6 +383,7 @@ else
                else
                        AC_MSG_ERROR([the user-specified mapserver-config file $MS_SRC_PATH does not exist])
                fi
+        fi
        fi
        MS_FILE="service_internal_ms.o"
 fi
@@ -408,13 +440,14 @@ else
 	# Ensure we can link against libphp
 	LIBS_SAVE="$LIBS"
 	LIBS="$PYTHON_LDFLAGS"
-	PY_LIB=`$PYTHONCONFIG --libs | sed -e 's/^.*\(python2\..\)$/\1/'`
+	PY_LIB=`$PYTHONCONFIG --libs | sed \
+			      -e 's/.*\(python[[0-9]]\.[[0-9]]\).*/\1/'`
 	AC_CHECK_LIB([$PY_LIB], [PyObject_CallObject], [], [AC_MSG_ERROR([could not find libpython])], [])
-	AC_SUBST([PYTHON_CPPFLAGS])
-	AC_SUBST([PYTHON_LDFLAGS])
 	LIBS="$LIBS_SAVE"
 fi
 
+AC_SUBST([PYTHON_CPPFLAGS])
+AC_SUBST([PYTHON_LDFLAGS])
 AC_SUBST([PYTHON_ENABLED])
 AC_SUBST([PYTHON_FILE])
 
@@ -554,24 +587,33 @@ else
 	if test "x$JDKHOME" = "xmacos";
 	then
 		JAVA_LDFLAGS="-framework JavaVM"
-		JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
+		for i in `ls /Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/`; do
+		    JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/$i/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
+		done
 	else
 		if test -d "$JDKHOME/jre/lib/i386";
 		then
 			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/server/ -ljvm -lpthread"
 			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
 		else
-			JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread"
-			JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
+			if test -d "$JDKHOME/jre/lib/amd64"; then
+			   JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread"
+			   JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
+			else
+			   JAVA_LDFLAGS="-L$JDKHOME/jre/lib/server/ -ljvm -lpthread"
+			   JAVA_CPPFLAGS="-I$JDKHOME/include/ -I$JDKHOME/include/darwin"
+			fi
 		fi
 	fi
 
+	AC_LANG([C++])
+	echo $JAVA_CPPFLAGS
 	# Check headers file (second time we check that in fact)
 	CPPFLAGS_SAVE="$CPPFLAGS"
 	CPPFLAGS="$JAVA_CPPFLAGS"
 	AC_CHECK_HEADERS([jni.h],
 			 [], [AC_MSG_ERROR([could not find jni.h file])])
-
+	CPPFLAGS="$CPPFLAGS_SAVE"
 	# Ensure we can link against libjava
 	LIBS_SAVE="$LIBS"
 	LIBS="$JAVA_LDFLAGS"
@@ -683,6 +725,10 @@ AC_ARG_WITH([otb],
         [AS_HELP_STRING([--with-otb=PATH], [Specifies an alternative location for the otb library])],
         [OTBPATH="$withval"], [OTBPATH=""])
 
+AC_ARG_WITH([otb-version],
+        [AS_HELP_STRING([--with-otb-version=PATH], [Specifies an alternative location for the otb library])],
+        [OTBVERS="$withval"], [OTBVERS=""])
+
 if test -z "$OTBPATH"
 then
 	OTB_LDFLAGS=""
@@ -695,8 +741,15 @@ else
 		ITKVERS="4.5"
     	fi
 	OTB_ENABLED="-DUSE_OTB"
-	OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKWatersheds-$ITKVERS -litkNetlibSlatec-$ITKVE [...]
-	OTB_CPPFLAGS="-I$OTBPATH/include/otb/ApplicationEngine -I$OTBPATH/include/otb/Common -I$ITKPATH/include/ITK-$ITKVERS -I$OTBPATH/include/otb/Utilities/ITK -I$OTBPATH/include/otb/ -I$OTBPATH/include/otb/IO -I$OTBPATH/include/otb/UtilitiesAdapters/OssimAdapters -I$OTBPATH/include/otb/UtilitiesAdapters/CurlAdapters -I$OTBPATH/include/otb/Utilities/BGL -I$OTBPATH/include/otb/UtilitiesAdapters/ITKPendingPatches -I$OTBPATH/include/otb/Utilities/otbconfigfile $GDAL_CFLAGS"
+	if test -a "${OTBPATH}/include/OTB-${OTBVERS}" ; then 
+		OTB_RPATH="$OTBPATH/include/OTB-${OTBVERS}/"
+		OTB_CPPFLAGS="-I${OTB_RPATH}ApplicationEngine -I$OTB_RPATH/Common -I$ITKPATH/include/ITK-$ITKVERS -I$OTB_RPATH/Utilities/ITK -I$OTB_RPATH/ -I$OTB_RPATH/IO -I$OTB_RPATH/UtilitiesAdapters/OssimAdapters -I$OTB_RPATH/UtilitiesAdapters/CurlAdapters -I$OTB_RPATH/Utilities/BGL -I$OTB_RPATH/UtilitiesAdapters/ITKPendingPatches -I$OTB_RPATH/Utilities/otbconfigfile $GDAL_CFLAGS"
+		OTB_LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -lOTBImageIO-$OTBVERS -lOTBCommon-$OTBVERS -lOTBApplicationEngine-$OTBVERS -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKW [...]
+	else
+		OTB_CPPFLAGS="-I$OTBPATH/include/otb/ApplicationEngine -I$OTBPATH/include/otb/Common -I$ITKPATH/include/ITK-$ITKVERS -I$OTBPATH/include/otb/Utilities/ITK -I$OTBPATH/include/otb/ -I$OTBPATH/include/otb/IO -I$OTBPATH/include/otb/UtilitiesAdapters/OssimAdapters -I$OTBPATH/include/otb/UtilitiesAdapters/CurlAdapters -I$OTBPATH/include/otb/Utilities/BGL -I$OTBPATH/include/otb/UtilitiesAdapters/ITKPendingPatches -I$OTBPATH/include/otb/Utilities/otbconfigfile $GDAL_CFLAGS"
+		OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKWatersheds-$ITKVERS -litkNetlibSlatec-$ITKV [...]
+
+	fi
 	OTB_FILE="otbZooWatcher.o service_internal_otb.o"
 	
 	AC_LANG_PUSH([C++])
@@ -705,15 +758,17 @@ else
 	CPPFLAGS="$OTB_CPPFLAGS"
 	LDFLAGS_SAVE="$LDFLAGS"
 	LIBS="$LIBS_SAVE $OTB_LDFLAGS"
-	AC_CHECK_HEADERS([otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h],
-			[], [AC_MSG_ERROR([could not find header file $i related to OTB])])
-	AC_LANG_POP([C++])
-	AC_LANG(C++)
+	echo $OTB_CPPFLAGS
+	#AC_CHECK_HEADERS([otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h],
+	#		[], [AC_MSG_ERROR([could not find header file $i related to OTB])])
 	LDFLAGS_SAVE="$LDFLAGS"
 	LDFLAGS="$OTB_LDFLAGS"
+	echo $OTB_LDFLAGS
 	AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "otbWrapperApplication.h"],[std::vector<std::string> list = otb::Wrapwper::ApplicationRegistry::GetAvailableApplication();]])],
 		[AC_MSG_RESULT([checking for GetAvailableApplication... yes])],[AC_MSG_ERROR([checking for GetAvailableApplication... failed])])
 	LDFLAGS="$LDFLAGS_SAVE"
+	AC_LANG_POP([C++])
+	AC_LANG(C++)
 			
 fi
 AC_SUBST([OTB_CPPFLAGS])
diff --git a/zoo-project/zoo-kernel/doc/index.dox b/zoo-project/zoo-kernel/doc/index.dox
index a896125..5c80b1a 100644
--- a/zoo-project/zoo-kernel/doc/index.dox
+++ b/zoo-project/zoo-kernel/doc/index.dox
@@ -12,8 +12,8 @@ Geospatial Foundation</a>.
 
 Home: http://www.zoo-project.org<br>
 Download: 
- <a href="http://zoo-project.org/site/Downloads#Downloads">http at zoo-project.org</a>,
- <a href="http://zoo-project.org/site/Downloads#Fordevelopers">svn at zoo-project.org</a>
+ <a href="http://zoo-project.org/Code/Download">http at zoo-project.org</a>,
+ <a href="http://svn.zoo-project.org/svn/">svn at zoo-project.org</a>
 
 This documentation describes the ZOO-Project C-API. You can start your visit by the Data Structures link above which details all available structures in ZOO-Project. The Files link presents all source files used to generate this documentation.
 
diff --git a/zoo-project/zoo-kernel/locale/po/messages.po.save b/zoo-project/zoo-kernel/locale/po/fr_FR.po
similarity index 54%
rename from zoo-project/zoo-kernel/locale/po/messages.po.save
rename to zoo-project/zoo-kernel/locale/po/fr_FR.po
index 32951ab..78617ed 100644
--- a/zoo-project/zoo-kernel/locale/po/messages.po.save
+++ b/zoo-project/zoo-kernel/locale/po/fr_FR.po
@@ -1,20 +1,23 @@
 # ZOO-Kernel Internationalization.
 # Copyright (C) 2015 GeoLabs SARL
 # This file is distributed under the same license as the PACKAGE package.
-# Gerald Fenoy <gerald.fenoy at geolabs.fr>, 2015.
-#
+# 
+# Translators:
+# Gérald FENOY <gerald.fenoy at geolabs.fr>, 2015-2016
+# Nicolas Bozon <nicolas.bozon at gmail.com>, 2015
 msgid ""
 msgstr ""
-"Project-Id-Version: ZOO-Kernel 1.5.0\n"
+"Project-Id-Version: ZOO-Kernel Internationalization\n"
 "Report-Msgid-Bugs-To: zoo-discuss at lists.osgeo.org\n"
-"POT-Creation-Date: 2015-07-02 17:38+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"Language: \n"
+"POT-Creation-Date: 2015-07-02 18:06+0200\n"
+"PO-Revision-Date: 2016-01-15 15:13+0000\n"
+"Last-Translator: Gérald FENOY <gerald.fenoy at geolabs.fr>\n"
+"Language-Team: French (France) (http://www.transifex.com/zoo-project/zoo-kernel-internationalization/language/fr_FR/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Language: fr_FR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #: caching.c:217 caching.c:235 caching.c:356 request_parser.c:214
 #: request_parser.c:225 request_parser.c:262 request_parser.c:403
@@ -24,43 +27,43 @@ msgstr ""
 #: zoo_service_loader.c:259 zoo_service_loader.c:880 zoo_service_loader.c:1363
 #: zoo_service_loader.c:1559
 msgid "Unable to allocate memory"
-msgstr ""
+msgstr "Impossible d'allouer la mémoire"
 
 #: caching.c:344
 msgid "Unable to download the file."
-msgstr ""
+msgstr "Impossible de télécharger le fichier."
 
 #: request_parser.c:92
 #, c-format
 msgid "The maximum allowed occurrences for <%s> (%i) was exceeded."
-msgstr ""
+msgstr "Le maximum d'occurrences autorisées pour <%s> (%i) a été atteint"
 
 #: request_parser.c:113
 #, c-format
 msgid "ZOO-Kernel was unable to load your data for %s position %s."
-msgstr ""
+msgstr "ZOO-Kernel n'a pas pu charger vos données pour %s position %s."
 
 #: request_parser.c:124
 #, c-format
 msgid "The maximum allowed occurrences for <%s> is one."
-msgstr ""
+msgstr "Le nombre maximum d'occurence pour <%s> est un."
 
 #: request_parser.c:315
 #, c-format
 msgid "Unable to find a valid protocol to download the remote file %s"
-msgstr ""
+msgstr "Impossible de trouver un protocole valable pour télécharger le fichier %s"
 
 #: request_parser.c:613
 msgid "Unable to add a request in the queue."
-msgstr ""
+msgstr "Impossible d'ajouter la requête dans la file d'attente."
 
 #: request_parser.c:1021
 msgid "Unable to append maps to maps."
-msgstr ""
+msgstr "Impossible d'ajouter la maps à la maps."
 
 #: request_parser.c:1291
 msgid "Duplicate <Output> elements in WPS Execute request"
-msgstr ""
+msgstr "Eléments <Output> dupliqués dans la requête WPS Execute"
 
 #: request_parser.c:1487
 #, c-format
@@ -68,261 +71,259 @@ msgid ""
 "The <%s> parameter has a size limit (%s MB) defined in the ZOO "
 "ServicesProvider configuration file, but the reference you provided exceeds "
 "this limit (%f MB)."
-msgstr ""
+msgstr "Le paramètre <%s> possède une limite de taille (%s MB) définie dans le fichier de configuration du ServicesProvider ZOO, mais la référence fournie excède cette limite (%f MB)."
 
 #: request_parser.c:1519
 #, c-format
 msgid ""
 "The <%s> argument was not specified in DataInputs but is required according "
 "to the ZOO ServicesProvider configuration file."
-msgstr ""
+msgstr "L'argument <%s> n'a pas été spécifié en entrée, ce qui est requis selon le fichier de configuration du ServicesProvider ZOO."
 
 #: request_parser.c:1545
 #, c-format
 msgid ""
-"The <%s> argument specified as %s identifier was not recognized (not defined "
-"in the ZOO Configuration File)."
-msgstr ""
+"The <%s> argument specified as %s identifier was not recognized (not defined"
+" in the ZOO Configuration File)."
+msgstr "L'argument <%s> spécifié pour l'identifiant %s n'a pas été reconnu (non défini dans le fichier de configuration du ZOO)."
 
 #: request_parser.c:1663
 #, c-format
 msgid "Mandatory parameter <%s> was not specified"
-msgstr ""
+msgstr "Le paramètre obligatoire <%s> n'as pas été spécifié"
 
 #: request_parser.c:1712
 #, c-format
 msgid "The value <%s> was not recognized, %s %s the only acceptable value."
-msgstr ""
+msgstr "La valeur <%s> n'a pas été reconnue, %s %s est la seule valeur acceptée. "
 
 #: request_parser.c:1715
 msgid "is"
-msgstr ""
+msgstr "est"
 
 #: request_parser.c:1727
 msgid "are"
-msgstr ""
+msgstr "sont"
 
 #: response_print.c:1630
 #, c-format
 msgid "The service \"%s\" ran successfully."
-msgstr ""
+msgstr "Le service \"%s\" s'est exécuté avec succès."
 
 #: response_print.c:1638
 #, c-format
 msgid ""
 "The ZOO service \"%s\" is currently running. Please reload this document to "
 "get the up-to-date status of the service."
-msgstr ""
+msgstr "Le ZOO-Service \"%s\" est actuellement en cours d'exécution. Merci de recharger ce document afin d'obtenir le status mis à jour du service."
 
 #: response_print.c:1644
 #, c-format
 msgid ""
-"The service \"%s\" was accepted by the ZOO kernel and is running as a "
+"The service \"%s\" was accepted by the ZOO-Kernel and is running as a "
 "background task. Please access the URL in the statusLocation attribute "
 "provided in this document to get the up-to-date status and results."
-msgstr ""
+msgstr "Le service \"%s\" a été accepté par le ZOO-Kernel et est en cours d'exécution en tâche de fond. Merci d'utiliser le lien URL fournis dans l'attribut statusLocation de la racine de ce document pour obtenir des informations sur l'état d'éxcution du service."
 
 #: response_print.c:1661
 msgid "No more information available"
-msgstr ""
+msgstr "Pas plus d'infomation disponible"
 
 #: response_print.c:1668
 #, c-format
 msgid "error code not know : %i\n"
-msgstr ""
+msgstr "Code d'erreur inconnu : %i\n"
 
 #: response_print.c:1760
 msgid "Lock failed."
-msgstr ""
+msgstr "Impossible de vérouiller."
 
 #: response_print.c:1773
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the ExecuteResponse."
-msgstr ""
+msgstr "Impossible de créer le fichier \"%s\" pour stocker le fichier ExecuteResponse."
 
 #: response_print.c:2290
 msgid "No debug message available"
-msgstr ""
+msgstr "Pas de message de débugage disponible"
 
 #: response_print.c:2378
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the session maps."
-msgstr ""
+msgstr "Impossible de créer le fichier \"%s\" pour stocker la maps de session."
 
 #: response_print.c:2394
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: "
-msgstr ""
+msgstr "Impossible d'exécuter le service. Le message retourné par le service est : "
 
 #: response_print.c:2395
 #, c-format
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: %s"
-msgstr ""
+msgstr "Impossible d'exécuter le service. Le message retourné par le service est : %s"
 
 #: response_print.c:2398 response_print.c:2399
 msgid ""
 "Unable to run the Service. No more information was returned back by the "
 "Service."
-msgstr ""
+msgstr "Impossible d'exécuter le service. Aucune information n'a été retournée par le service."
 
 #: response_print.c:2486
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the %s final result."
-msgstr ""
+msgstr "Impossible de créer le fichier \"%s\" pour stocker le résultat final : %s."
 
 #: response_print.c:2572
 #, c-format
 msgid ""
 "Wrong RawDataOutput parameter: unable to fetch any result for the given "
 "parameter name: \"%s\"."
-msgstr ""
+msgstr "Paramètre RawDataOutput erroné: Impossible de récupérer un résultat pour le nom de paramètre fourni: \"%s\"."
 
 #: server_internal.c:869 server_internal.c:946
 msgid ""
 "The JobID from the request does not match any of the Jobs running on this "
 "server"
-msgstr ""
+msgstr "Le paramètre JobID de la requête ne correspond à aucun process en cours sur le serveur"
 
 #: server_internal.c:875 server_internal.c:907
 msgid "The result for the requested JobID has not yet been generated. "
-msgstr ""
+msgstr "Le résultat pour le JobID demandé n'as pas encore été généré."
 
 #: server_internal.c:988
 msgid "The job cannot be removed, a file cannot be removed"
-msgstr ""
+msgstr "Le processus ne peut pas être supprimé, un fichier ne peut être supprimé."
 
 #: server_internal.c:1063
 msgid "Unable to open the registry directory."
-msgstr ""
+msgstr "Impossible d'accéder au répertoire du registre."
 
 #: server_internal.c:1082
 msgid "Unable to allocate memory."
-msgstr ""
+msgstr "Impossible d'allouer la mémoire."
 
 #: server_internal.c:1093 zoo_service_loader.c:276 zoo_service_loader.c:1384
 #: zoo_service_loader.c:1427
 #, c-format
 msgid "Unable to parse the ZCFG file: %s (%s)"
-msgstr ""
+msgstr "Impossible d'analyser le fichier ZCFG: %s (%s)"
 
 #: server_internal.c:1096 zoo_service_loader.c:279 zoo_service_loader.c:1389
 #: zoo_service_loader.c:1431
 #, c-format
 msgid "Unable to parse the ZCFG file: %s."
-msgstr ""
+msgstr "Impossible d'analyser le fichier ZCFG: %s."
 
 #: service_internal_ms.c:136
 msgid "Unable to find any mapserverAddress defined in the main.cfg file"
-msgstr ""
+msgstr "Aucun paramètre mapserverAddress trouvé dans le fichier main.cfg"
 
 #: service_internal_php.c:227
 #, c-format
 msgid "Unable to load the PHP file %s"
-msgstr ""
+msgstr "Impossible de charger le fichier PHP %s"
 
 #: service_internal_python.c:316
 #, c-format
 msgid "Python module %s cannot be loaded. Message: %s\n"
-msgstr ""
+msgstr "Le module python %s ne peut être chargé. Message: %s\n"
 
 #: service_internal_python.c:355
 #, c-format
 msgid ""
 "%s\n"
-"Unable to run your python process properly. Please check the following "
-"messages : %s"
-msgstr ""
+"Unable to run your python process properly. Please check the following messages : %s"
+msgstr "%s\nImpossible de charger votre service python correctement. Veuillez vous réferer aux messages suivants : %s"
 
 #: service_internal_python.c:361
 #, c-format
 msgid ""
 "%s \n"
-" Unable to run your python process properly. Unable to provide any futher "
-"informations."
-msgstr ""
+" Unable to run your python process properly. Unable to provide any futher informations."
+msgstr "%s\nImpossible de charger votre service python correctement. Aucune information supplémentaire."
 
 #: zoo_service_loader.c:352
 #, c-format
 msgid "ZOO Kernel failed to process your request, receiving signal %d = %s"
-msgstr ""
+msgstr "ZOO-Kernel n'as pas pu traiter votre requête, recevant un signal %d = %s"
 
 #: zoo_service_loader.c:527
 #, c-format
 msgid "Error occured while running the %s function: %s"
-msgstr ""
+msgstr "Une erreur est survenue pendant l'execution de la %s fonction: %s"
 
 #: zoo_service_loader.c:578
 #, c-format
 msgid "Unable to load C Library %s"
-msgstr ""
+msgstr "Impossible de charger la librairie C %s"
 
 #: zoo_service_loader.c:672
 #, c-format
 msgid ""
-"Programming Language (%s) set in ZCFG file is not currently supported by ZOO "
-"Kernel.\n"
-msgstr ""
+"Programming Language (%s) set in ZCFG file is not currently supported by ZOO"
+" Kernel.\n"
+msgstr "Le langage de programmation (%s) spécifié dans le fichier ZCFG n'est actuellement pas supporté par ZOO-Kernel.\n"
 
 #: zoo_service_loader.c:737
 msgid "Unable to cache HTTP POST Execute request."
-msgstr ""
+msgstr "Impossible de mettre la requête Execute HTTP POST en cache."
 
 #: zoo_service_loader.c:895
 msgid "Unable to load the main.cfg file."
-msgstr ""
+msgstr "Impossible de charger le fichier main.cfg."
 
 #: zoo_service_loader.c:940
 #, c-format
 msgid "The value %s is not supported for the <language> parameter"
-msgstr ""
+msgstr "La valeur %s n'est pas supportée pour le paramètre <language>"
 
 #: zoo_service_loader.c:1238
 msgid "The specified path does not exist."
-msgstr ""
+msgstr "Le chemin spécifié n'existe pas."
 
 #: zoo_service_loader.c:1303
 #, c-format
 msgid ""
 "Unable to parse the ZCFG file for the following ZOO-Service: %s. Message: %s"
-msgstr ""
+msgstr "Impossible de lire correctement le fichier ZCFG pour le ZOO-Service : %s. Message : %s"
 
 #: zoo_service_loader.c:1308
 #, c-format
 msgid "Unable to parse the ZCFG file for the following ZOO-Service: %s."
-msgstr ""
+msgstr "Impossible de lire correctement le fichier ZCFG pour le ZOO-Service : %s."
 
 #: zoo_service_loader.c:1534
 msgid "Unable to run Execute request using the GET HTTP method"
-msgstr ""
+msgstr "Impossible de lancer la requête Execute en utilisant la méthode GET"
 
 #: zoo_service_loader.c:1606
 #, c-format
 msgid ""
-"The value for <identifier> seems to be wrong (%s). Please specify one of the "
-"processes in the list returned by a GetCapabilities request."
-msgstr ""
+"The value for <identifier> seems to be wrong (%s). Please specify one of the"
+" processes in the list returned by a GetCapabilities request."
+msgstr "La valeur d' <identifier> à l'air erronée (%s). Spécifiez s'il vous plait un des services retournés par la requête GetCapabilities."
 
 #: zoo_service_loader.c:1733
 msgid ""
-"The status parameter cannot be set to true if storeExecuteResponse is set to "
-"false. Please modify your request parameters."
-msgstr ""
+"The status parameter cannot be set to true if storeExecuteResponse is set to"
+" false. Please modify your request parameters."
+msgstr "Le paramètre de status ne peut être définit à vrai si storeExecuteResponse est défini à faux. Veuillez s'il vous plaît modifier les paramètres de la requête."
 
 #: zoo_service_loader.c:1761
 msgid "The process does not permit the desired execution mode."
-msgstr ""
+msgstr "Le service ne supporte pas ce mode d'exécution."
 
 #: zoo_service_loader.c:1837
 msgid "No message provided"
-msgstr ""
+msgstr "Pas de message fourni"
 
 #: zoo_service_loader.c:1995
 msgid "Initializing"
-msgstr ""
+msgstr "Initialisation"
 
 #: zoo_service_loader.c:2142
 msgid "Unable to run the child process properly"
-msgstr ""
+msgstr "Impossible de lancer le processus fils"
diff --git a/zoo-project/zoo-kernel/messages.po.new b/zoo-project/zoo-kernel/locale/po/it_IT.po
similarity index 55%
rename from zoo-project/zoo-kernel/messages.po.new
rename to zoo-project/zoo-kernel/locale/po/it_IT.po
index 32951ab..e5e7401 100644
--- a/zoo-project/zoo-kernel/messages.po.new
+++ b/zoo-project/zoo-kernel/locale/po/it_IT.po
@@ -1,20 +1,22 @@
 # ZOO-Kernel Internationalization.
 # Copyright (C) 2015 GeoLabs SARL
 # This file is distributed under the same license as the PACKAGE package.
-# Gerald Fenoy <gerald.fenoy at geolabs.fr>, 2015.
-#
+# 
+# Translators:
+# Luca Delucchi <lucadeluge at gmail.com>, 2015
 msgid ""
 msgstr ""
-"Project-Id-Version: ZOO-Kernel 1.5.0\n"
+"Project-Id-Version: ZOO-Kernel Internationalization\n"
 "Report-Msgid-Bugs-To: zoo-discuss at lists.osgeo.org\n"
-"POT-Creation-Date: 2015-07-02 17:38+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"Language: \n"
+"POT-Creation-Date: 2015-07-02 18:06+0200\n"
+"PO-Revision-Date: 2015-09-30 10:04+0000\n"
+"Last-Translator: Luca Delucchi <lucadeluge at gmail.com>\n"
+"Language-Team: Italian (Italy) (http://www.transifex.com/zoo-project/zoo-kernel-internationalization/language/it_IT/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Language: it_IT\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: caching.c:217 caching.c:235 caching.c:356 request_parser.c:214
 #: request_parser.c:225 request_parser.c:262 request_parser.c:403
@@ -24,43 +26,43 @@ msgstr ""
 #: zoo_service_loader.c:259 zoo_service_loader.c:880 zoo_service_loader.c:1363
 #: zoo_service_loader.c:1559
 msgid "Unable to allocate memory"
-msgstr ""
+msgstr "Impossibile assegnare la memoria"
 
 #: caching.c:344
 msgid "Unable to download the file."
-msgstr ""
+msgstr "Impossibile scaricare il file."
 
 #: request_parser.c:92
 #, c-format
 msgid "The maximum allowed occurrences for <%s> (%i) was exceeded."
-msgstr ""
+msgstr "Le occorrenze massime consentite per <%s> (%i) sono state superate"
 
 #: request_parser.c:113
 #, c-format
 msgid "ZOO-Kernel was unable to load your data for %s position %s."
-msgstr ""
+msgstr "ZOO-Kernel non è stato in grado di caricare i dati per %s posizione %s."
 
 #: request_parser.c:124
 #, c-format
 msgid "The maximum allowed occurrences for <%s> is one."
-msgstr ""
+msgstr "Le occorrenze massime consentite per <%s> è uno"
 
 #: request_parser.c:315
 #, c-format
 msgid "Unable to find a valid protocol to download the remote file %s"
-msgstr ""
+msgstr "Impossibile trovare un protocollo valido per scaricare il file remoto %s"
 
 #: request_parser.c:613
 msgid "Unable to add a request in the queue."
-msgstr ""
+msgstr "Impossibile aggiungere una richiesta nella coda"
 
 #: request_parser.c:1021
 msgid "Unable to append maps to maps."
-msgstr ""
+msgstr "Impossibile aggiungere mappe alle mappe"
 
 #: request_parser.c:1291
 msgid "Duplicate <Output> elements in WPS Execute request"
-msgstr ""
+msgstr "Elementi <Output> duplicati nella richiesta WPS Execute"
 
 #: request_parser.c:1487
 #, c-format
@@ -68,131 +70,131 @@ msgid ""
 "The <%s> parameter has a size limit (%s MB) defined in the ZOO "
 "ServicesProvider configuration file, but the reference you provided exceeds "
 "this limit (%f MB)."
-msgstr ""
+msgstr "Il parametro <%s> ha un limite (%s MB) definito nel file di configurazione del ServicesProvider di ZOO, ma la fonte che è stato fornito eccede questo limite (%f MB)"
 
 #: request_parser.c:1519
 #, c-format
 msgid ""
 "The <%s> argument was not specified in DataInputs but is required according "
 "to the ZOO ServicesProvider configuration file."
-msgstr ""
+msgstr "L'argomento <%s> non è stato specificato nel DataInputs ma è richiesto secondo il file di configurazione del ServicesProvider di ZOO."
 
 #: request_parser.c:1545
 #, c-format
 msgid ""
-"The <%s> argument specified as %s identifier was not recognized (not defined "
-"in the ZOO Configuration File)."
-msgstr ""
+"The <%s> argument specified as %s identifier was not recognized (not defined"
+" in the ZOO Configuration File)."
+msgstr "L'argomento <%s> specificato come l'identificatore %s non è stato riconosciuto (non definito nel File di Configurazione di ZOO)"
 
 #: request_parser.c:1663
 #, c-format
 msgid "Mandatory parameter <%s> was not specified"
-msgstr ""
+msgstr "Il parametro obbligatorio <%s> non è stato specificato"
 
 #: request_parser.c:1712
 #, c-format
 msgid "The value <%s> was not recognized, %s %s the only acceptable value."
-msgstr ""
+msgstr "Il valore <%s> non è stato riconosciuto, %s %s è l'unico valore ammissibile"
 
 #: request_parser.c:1715
 msgid "is"
-msgstr ""
+msgstr "è"
 
 #: request_parser.c:1727
 msgid "are"
-msgstr ""
+msgstr "sono"
 
 #: response_print.c:1630
 #, c-format
 msgid "The service \"%s\" ran successfully."
-msgstr ""
+msgstr "Il servizio \"%s\" è stato eseguito correttamente."
 
 #: response_print.c:1638
 #, c-format
 msgid ""
 "The ZOO service \"%s\" is currently running. Please reload this document to "
 "get the up-to-date status of the service."
-msgstr ""
+msgstr "Il servizio di ZOO \"%s\" è in esecuzione. Ricaricare questo documento per ottenere lo stato aggiornato del servizio"
 
 #: response_print.c:1644
 #, c-format
 msgid ""
-"The service \"%s\" was accepted by the ZOO kernel and is running as a "
+"The service \"%s\" was accepted by the ZOO-Kernel and is running as a "
 "background task. Please access the URL in the statusLocation attribute "
 "provided in this document to get the up-to-date status and results."
-msgstr ""
+msgstr "Il servizio \"%s\" è stato accettato dal ZOO Kernel e sta andando avanti come processo di background. Accedere al URL nell'attributo statusLocation fornito in questo documento per ottenere lo stato aggiornato e risultati."
 
 #: response_print.c:1661
 msgid "No more information available"
-msgstr ""
+msgstr "Nessuna ulteriore informazione disponibile"
 
 #: response_print.c:1668
 #, c-format
 msgid "error code not know : %i\n"
-msgstr ""
+msgstr "Codice dell'errore non conosciuto : %i\n"
 
 #: response_print.c:1760
 msgid "Lock failed."
-msgstr ""
+msgstr "Blocco non riuscito."
 
 #: response_print.c:1773
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the ExecuteResponse."
-msgstr ""
+msgstr "Impossibile creare il file \"%s\" per immagazzinare la ExecuteResponse."
 
 #: response_print.c:2290
 msgid "No debug message available"
-msgstr ""
+msgstr "Nessun messaggio di debug disponibile"
 
 #: response_print.c:2378
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the session maps."
-msgstr ""
+msgstr "Impossibile creare il file \"%s\" per immagazzinare la mappe della sessione."
 
 #: response_print.c:2394
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: "
-msgstr ""
+msgstr "Impossibile eseguire il Servizio. Il messaggio restituito dal Servizio è il seguente:"
 
 #: response_print.c:2395
 #, c-format
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: %s"
-msgstr ""
+msgstr "Impossibile eseguire il Servizio. Il messaggio restituito dal Servizio è il seguente: %s"
 
 #: response_print.c:2398 response_print.c:2399
 msgid ""
 "Unable to run the Service. No more information was returned back by the "
 "Service."
-msgstr ""
+msgstr "Impossibile eseguire il Servizio. Nessun ulteriore informazione è stata restituita dal Servizio."
 
 #: response_print.c:2486
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the %s final result."
-msgstr ""
+msgstr "Impossibile creare il file \"%s\" per immagazzinare il risultato finale %s."
 
 #: response_print.c:2572
 #, c-format
 msgid ""
 "Wrong RawDataOutput parameter: unable to fetch any result for the given "
 "parameter name: \"%s\"."
-msgstr ""
+msgstr "Parametro RawDataOutput errato: impossibile riportare qualsiasi risultato per il parametro name fornito: \"%s\"."
 
 #: server_internal.c:869 server_internal.c:946
 msgid ""
 "The JobID from the request does not match any of the Jobs running on this "
 "server"
-msgstr ""
+msgstr "Il JobID dalla richiesta non corrisponde con nessuno di processi eseguiti su questo server"
 
 #: server_internal.c:875 server_internal.c:907
 msgid "The result for the requested JobID has not yet been generated. "
-msgstr ""
+msgstr "Il risultato per il JobID richiesto non è stato ancora generato."
 
 #: server_internal.c:988
 msgid "The job cannot be removed, a file cannot be removed"
-msgstr ""
+msgstr "Il processo non può essere rimosso, un file non può essere rimosso"
 
 #: server_internal.c:1063
 msgid "Unable to open the registry directory."
@@ -200,129 +202,127 @@ msgstr ""
 
 #: server_internal.c:1082
 msgid "Unable to allocate memory."
-msgstr ""
+msgstr "Impossibile assegnare la memoria."
 
 #: server_internal.c:1093 zoo_service_loader.c:276 zoo_service_loader.c:1384
 #: zoo_service_loader.c:1427
 #, c-format
 msgid "Unable to parse the ZCFG file: %s (%s)"
-msgstr ""
+msgstr "Impossibile analizzare il file ZCFG: %s (%s)"
 
 #: server_internal.c:1096 zoo_service_loader.c:279 zoo_service_loader.c:1389
 #: zoo_service_loader.c:1431
 #, c-format
 msgid "Unable to parse the ZCFG file: %s."
-msgstr ""
+msgstr "Impossibile analizzare il file ZCFG: %s."
 
 #: service_internal_ms.c:136
 msgid "Unable to find any mapserverAddress defined in the main.cfg file"
-msgstr ""
+msgstr "Impossibile trovare nessun mapserverAddress definito nel file main.cfg"
 
 #: service_internal_php.c:227
 #, c-format
 msgid "Unable to load the PHP file %s"
-msgstr ""
+msgstr "Impossibile caricare il file PHP %s"
 
 #: service_internal_python.c:316
 #, c-format
 msgid "Python module %s cannot be loaded. Message: %s\n"
-msgstr ""
+msgstr "Il modulo Python %s non può essere caricato. Message: %s\n"
 
 #: service_internal_python.c:355
 #, c-format
 msgid ""
 "%s\n"
-"Unable to run your python process properly. Please check the following "
-"messages : %s"
-msgstr ""
+"Unable to run your python process properly. Please check the following messages : %s"
+msgstr "%s\nImpossibile eseguire il processo di Python correttamente. Controllare il seguente messaggio: %s"
 
 #: service_internal_python.c:361
 #, c-format
 msgid ""
 "%s \n"
-" Unable to run your python process properly. Unable to provide any futher "
-"informations."
-msgstr ""
+" Unable to run your python process properly. Unable to provide any futher informations."
+msgstr "%s\nImpossibile eseguire il processo di Python correttamente. Impossibile fornire ulteriori informazioni."
 
 #: zoo_service_loader.c:352
 #, c-format
 msgid "ZOO Kernel failed to process your request, receiving signal %d = %s"
-msgstr ""
+msgstr "ZOO Kernel è fallito processando la richiesta, ricevendo il segnale %d = %s"
 
 #: zoo_service_loader.c:527
 #, c-format
 msgid "Error occured while running the %s function: %s"
-msgstr ""
+msgstr "Un errore è avvenuto mentre si stava eseguendo la funzione %s: %s"
 
 #: zoo_service_loader.c:578
 #, c-format
 msgid "Unable to load C Library %s"
-msgstr ""
+msgstr "Impossibile caricare la Libreria C %s"
 
 #: zoo_service_loader.c:672
 #, c-format
 msgid ""
-"Programming Language (%s) set in ZCFG file is not currently supported by ZOO "
-"Kernel.\n"
-msgstr ""
+"Programming Language (%s) set in ZCFG file is not currently supported by ZOO"
+" Kernel.\n"
+msgstr "Il linguaggio di programmazione (%s) impostato nel file ZCFG non è attualmente supportato dal ZOO Kernel.\n"
 
 #: zoo_service_loader.c:737
 msgid "Unable to cache HTTP POST Execute request."
-msgstr ""
+msgstr "Impossibile salvare nella cache la richieste HTTP POST Execute."
 
 #: zoo_service_loader.c:895
 msgid "Unable to load the main.cfg file."
-msgstr ""
+msgstr "Impossibile caricare il file main.cfg"
 
 #: zoo_service_loader.c:940
 #, c-format
 msgid "The value %s is not supported for the <language> parameter"
-msgstr ""
+msgstr "Il valore %s non è supportato per il parametro <language>"
 
 #: zoo_service_loader.c:1238
 msgid "The specified path does not exist."
-msgstr ""
+msgstr "Il percorso specificato non esiste"
 
 #: zoo_service_loader.c:1303
 #, c-format
 msgid ""
 "Unable to parse the ZCFG file for the following ZOO-Service: %s. Message: %s"
-msgstr ""
+msgstr "Imposibile analizzare  il file ZCFG per il seguente Servizio di ZOO: %s. Messaggio: %s"
 
 #: zoo_service_loader.c:1308
 #, c-format
 msgid "Unable to parse the ZCFG file for the following ZOO-Service: %s."
-msgstr ""
+msgstr "Imposibile analizzare  il file ZCFG per il seguente Servizio di ZOO: %s."
 
 #: zoo_service_loader.c:1534
 msgid "Unable to run Execute request using the GET HTTP method"
-msgstr ""
+msgstr "Impossibile eseguire la richiesta Execute usando il metodo GET HTTP"
 
 #: zoo_service_loader.c:1606
 #, c-format
 msgid ""
-"The value for <identifier> seems to be wrong (%s). Please specify one of the "
-"processes in the list returned by a GetCapabilities request."
-msgstr ""
+"The value for <identifier> seems to be wrong (%s). Please specify one of the"
+" processes in the list returned by a GetCapabilities request."
+msgstr "Il valore per <identifier> sembra essere sbagliato (%s). Specificare uno dei processi nella lista ottenuta dalla richiesta GetCapabilities"
 
 #: zoo_service_loader.c:1733
 msgid ""
-"The status parameter cannot be set to true if storeExecuteResponse is set to "
-"false. Please modify your request parameters."
-msgstr ""
+"The status parameter cannot be set to true if storeExecuteResponse is set to"
+" false. Please modify your request parameters."
+msgstr "Il parametro status non può essere settato a true se storeExecuteResponse è impostato su false. Modificare i parametri della richiesta."
 
 #: zoo_service_loader.c:1761
 msgid "The process does not permit the desired execution mode."
-msgstr ""
+msgstr "Il processo non permette il metodo di esecuzione desiderato"
 
 #: zoo_service_loader.c:1837
 msgid "No message provided"
-msgstr ""
+msgstr "Nessun messaggio fornito"
 
 #: zoo_service_loader.c:1995
 msgid "Initializing"
-msgstr ""
+msgstr "Inizializzando"
 
 #: zoo_service_loader.c:2142
 msgid "Unable to run the child process properly"
-msgstr ""
+msgstr "Impossibile eseguire il processo figlio correttamente"
diff --git a/zoo-project/zoo-kernel/locale/po/new.pot b/zoo-project/zoo-kernel/locale/po/ja_JP.po
similarity index 51%
rename from zoo-project/zoo-kernel/locale/po/new.pot
rename to zoo-project/zoo-kernel/locale/po/ja_JP.po
index cdc1413..6659048 100644
--- a/zoo-project/zoo-kernel/locale/po/new.pot
+++ b/zoo-project/zoo-kernel/locale/po/ja_JP.po
@@ -1,21 +1,23 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# ZOO-Kernel Internationalization.
+# Copyright (C) 2015 GeoLabs SARL
 # This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
-#, fuzzy
+# 
+# Translators:
+# Nicolas Bozon <nicolas.bozon at gmail.com>, 2015
+# 林博文 <pica.hayashi at gmail.com>, 2015
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
+"Project-Id-Version: ZOO-Kernel Internationalization\n"
+"Report-Msgid-Bugs-To: zoo-discuss at lists.osgeo.org\n"
 "POT-Creation-Date: 2015-07-02 18:06+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"Language: \n"
+"PO-Revision-Date: 2015-08-30 11:30+0000\n"
+"Last-Translator: 林博文 <pica.hayashi at gmail.com>\n"
+"Language-Team: Japanese (Japan) (http://www.transifex.com/zoo-project/zoo-kernel-internationalization/language/ja_JP/)\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Language: ja_JP\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 #: caching.c:217 caching.c:235 caching.c:356 request_parser.c:214
 #: request_parser.c:225 request_parser.c:262 request_parser.c:403
@@ -25,43 +27,43 @@ msgstr ""
 #: zoo_service_loader.c:259 zoo_service_loader.c:880 zoo_service_loader.c:1363
 #: zoo_service_loader.c:1559
 msgid "Unable to allocate memory"
-msgstr ""
+msgstr "メモリを割り当てられません."
 
 #: caching.c:344
 msgid "Unable to download the file."
-msgstr ""
+msgstr "ファイルをダウンロードできません。"
 
 #: request_parser.c:92
 #, c-format
 msgid "The maximum allowed occurrences for <%s> (%i) was exceeded."
-msgstr ""
+msgstr "<%s> (%i) の発生最大数を超えました。"
 
 #: request_parser.c:113
 #, c-format
 msgid "ZOO-Kernel was unable to load your data for %s position %s."
-msgstr ""
+msgstr "ZOO-Kernel は %s の %sの位置のデータをロードできませんでした。"
 
 #: request_parser.c:124
 #, c-format
 msgid "The maximum allowed occurrences for <%s> is one."
-msgstr ""
+msgstr "<%s> の最大発生数は 1 です。"
 
 #: request_parser.c:315
 #, c-format
 msgid "Unable to find a valid protocol to download the remote file %s"
-msgstr ""
+msgstr "リモートファイル %s をダウントードするための適切なプロトコルが見つかりません。"
 
 #: request_parser.c:613
 msgid "Unable to add a request in the queue."
-msgstr ""
+msgstr "キューにリクエストを追加できません。"
 
 #: request_parser.c:1021
 msgid "Unable to append maps to maps."
-msgstr ""
+msgstr "マップにマップを追加できません。"
 
 #: request_parser.c:1291
 msgid "Duplicate <Output> elements in WPS Execute request"
-msgstr ""
+msgstr "WPS実行リクエストの <Output> 重複 "
 
 #: request_parser.c:1487
 #, c-format
@@ -69,51 +71,51 @@ msgid ""
 "The <%s> parameter has a size limit (%s MB) defined in the ZOO "
 "ServicesProvider configuration file, but the reference you provided exceeds "
 "this limit (%f MB)."
-msgstr ""
+msgstr "<%s> 変数の上限サイズはZOOサービスプロバイダ設定ファイルで (%s MB) に定義されています。与えられた参照はこの上限を超えています (%f MB) 。"
 
 #: request_parser.c:1519
 #, c-format
 msgid ""
 "The <%s> argument was not specified in DataInputs but is required according "
 "to the ZOO ServicesProvider configuration file."
-msgstr ""
+msgstr "ZOOサービスプロバイダ設定ファイルに対して必要とされる <%s> 引数が Datainputs に記述されていませんでした。"
 
 #: request_parser.c:1545
 #, c-format
 msgid ""
-"The <%s> argument specified as %s identifier was not recognized (not defined "
-"in the ZOO Configuration File)."
-msgstr ""
+"The <%s> argument specified as %s identifier was not recognized (not defined"
+" in the ZOO Configuration File)."
+msgstr "記述された <%s> は識別子 %s としては受け入れられません(ZOO設定ファイルに定義されていません)。"
 
 #: request_parser.c:1663
 #, c-format
 msgid "Mandatory parameter <%s> was not specified"
-msgstr ""
+msgstr "必須変数 <%s> が記述されていません。"
 
 #: request_parser.c:1712
 #, c-format
 msgid "The value <%s> was not recognized, %s %s the only acceptable value."
-msgstr ""
+msgstr "値 <%s> は受け入れられません。%s %s のみが受け入れ可能な値です。"
 
 #: request_parser.c:1715
 msgid "is"
-msgstr ""
+msgstr "あります"
 
 #: request_parser.c:1727
 msgid "are"
-msgstr ""
+msgstr "あります"
 
 #: response_print.c:1630
 #, c-format
 msgid "The service \"%s\" ran successfully."
-msgstr ""
+msgstr "%s サービスが動作しました."
 
 #: response_print.c:1638
 #, c-format
 msgid ""
 "The ZOO service \"%s\" is currently running. Please reload this document to "
 "get the up-to-date status of the service."
-msgstr ""
+msgstr "現在,ZOOサービス \"%s\" が動作しています. このサービスのステータスを最新のものにするためにこのドキュメントを再読込してください."
 
 #: response_print.c:1644
 #, c-format
@@ -121,209 +123,207 @@ msgid ""
 "The service \"%s\" was accepted by the ZOO-Kernel and is running as a "
 "background task. Please access the URL in the statusLocation attribute "
 "provided in this document to get the up-to-date status and results."
-msgstr ""
+msgstr "サービス %s はZOO-Kernelに受け入れられ、バックグラウンドタスクとして実行中です。最新の状態および結果を得るためにはこのドキュメントで提供されるstatusLocationの属性のURLにアクセスしてください。"
 
 #: response_print.c:1661
 msgid "No more information available"
-msgstr ""
+msgstr "情報はありません."
 
 #: response_print.c:1668
 #, c-format
 msgid "error code not know : %i\n"
-msgstr ""
+msgstr "エラーコードが見つかりません : %i\n"
 
 #: response_print.c:1760
 msgid "Lock failed."
-msgstr ""
+msgstr "ロックに失敗しました。"
 
 #: response_print.c:1773
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the ExecuteResponse."
-msgstr ""
+msgstr "実行レスポンスとして格納される \"%s\" ファイルのが生成できませんでした。"
 
 #: response_print.c:2290
 msgid "No debug message available"
-msgstr ""
+msgstr "デバッグメッセージはありません."
 
 #: response_print.c:2378
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the session maps."
-msgstr ""
+msgstr "セッションマップとして格納される \"%s\" ファイルのが生成できませんでした。"
 
 #: response_print.c:2394
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: "
-msgstr ""
+msgstr "サービスを実行できません。サービスから返されたメッセージは次の通り :"
 
 #: response_print.c:2395
 #, c-format
 msgid ""
 "Unable to run the Service. The message returned back by the Service was the "
 "following: %s"
-msgstr ""
+msgstr "サービスを開始することができませんでした.このサービスによって返されたメッセージは  %s です。"
 
 #: response_print.c:2398 response_print.c:2399
 msgid ""
 "Unable to run the Service. No more information was returned back by the "
 "Service."
-msgstr ""
+msgstr "サービスを開始できませんでした.このサービスによって返された情報はありません ."
 
 #: response_print.c:2486
 #, c-format
 msgid "Unable to create the file \"%s\" for storing the %s final result."
-msgstr ""
+msgstr "最終結果 %s として格納される \"%s\" ファイルのが生成できませんでした。"
 
 #: response_print.c:2572
 #, c-format
 msgid ""
 "Wrong RawDataOutput parameter: unable to fetch any result for the given "
 "parameter name: \"%s\"."
-msgstr ""
+msgstr "誤った RawDataOutput 変数  : 与えられた引数名のどの結果からも取り出せません: \"%s\""
 
 #: server_internal.c:869 server_internal.c:946
 msgid ""
 "The JobID from the request does not match any of the Jobs running on this "
 "server"
-msgstr ""
+msgstr "リクエストされた JobID はサーバで実行中のどのJobとも一致しません。"
 
 #: server_internal.c:875 server_internal.c:907
 msgid "The result for the requested JobID has not yet been generated. "
-msgstr ""
+msgstr "リクエストされた JobID の結果はまだ生成されていませんでした。"
 
 #: server_internal.c:988
 msgid "The job cannot be removed, a file cannot be removed"
-msgstr ""
+msgstr "ジョブが削除されません、ファイルが削除されません。"
 
 #: server_internal.c:1063
 msgid "Unable to open the registry directory."
-msgstr ""
+msgstr "レジストリディレクトリをオープンできません。"
 
 #: server_internal.c:1082
 msgid "Unable to allocate memory."
-msgstr ""
+msgstr "メモリを割り当てられません."
 
 #: server_internal.c:1093 zoo_service_loader.c:276 zoo_service_loader.c:1384
 #: zoo_service_loader.c:1427
 #, c-format
 msgid "Unable to parse the ZCFG file: %s (%s)"
-msgstr ""
+msgstr "ZCFG ファイルをパースできません : %s (%s)"
 
 #: server_internal.c:1096 zoo_service_loader.c:279 zoo_service_loader.c:1389
 #: zoo_service_loader.c:1431
 #, c-format
 msgid "Unable to parse the ZCFG file: %s."
-msgstr ""
+msgstr "ZCFG ファイルをパースできません : %s 。"
 
 #: service_internal_ms.c:136
 msgid "Unable to find any mapserverAddress defined in the main.cfg file"
-msgstr ""
+msgstr "main.cfg ファイルに定義されたどの mapserverAddress も見つかりません。"
 
 #: service_internal_php.c:227
 #, c-format
 msgid "Unable to load the PHP file %s"
-msgstr ""
+msgstr "PHPファイル %s をロードできません"
 
 #: service_internal_python.c:316
 #, c-format
 msgid "Python module %s cannot be loaded. Message: %s\n"
-msgstr ""
+msgstr "Python モジュール %s がロードされません。メッセージ : %s\n"
 
 #: service_internal_python.c:355
 #, c-format
 msgid ""
 "%s\n"
-"Unable to run your python process properly. Please check the following "
-"messages : %s"
-msgstr ""
+"Unable to run your python process properly. Please check the following messages : %s"
+msgstr "%s\nユーザーPythonプロセスを正しく実行できません。次のメッセージをチェックしてください : %s"
 
 #: service_internal_python.c:361
 #, c-format
 msgid ""
 "%s \n"
-" Unable to run your python process properly. Unable to provide any futher "
-"informations."
-msgstr ""
+" Unable to run your python process properly. Unable to provide any futher informations."
+msgstr "%s\nユーザーPythonプロセスを正しく実行できません。より詳しい情報は提供されていません。"
 
 #: zoo_service_loader.c:352
 #, c-format
 msgid "ZOO Kernel failed to process your request, receiving signal %d = %s"
-msgstr ""
+msgstr "ZOOカーネルはリクエストを処理することができませんでした.受け取ったシグナルは %d : %s です."
 
 #: zoo_service_loader.c:527
 #, c-format
 msgid "Error occured while running the %s function: %s"
-msgstr ""
+msgstr "%s ファンクションを実行中にエラーが発生しました : %s"
 
 #: zoo_service_loader.c:578
 #, c-format
 msgid "Unable to load C Library %s"
-msgstr ""
+msgstr "C Library %s をロードできません"
 
 #: zoo_service_loader.c:672
 #, c-format
 msgid ""
-"Programming Language (%s) set in ZCFG file is not currently supported by ZOO "
-"Kernel.\n"
-msgstr ""
+"Programming Language (%s) set in ZCFG file is not currently supported by ZOO"
+" Kernel.\n"
+msgstr "ZCFG ファイルで設定されたプログラミング言語 (%s) は現在 ZOOカーネルでサポートされていません。\n"
 
 #: zoo_service_loader.c:737
 msgid "Unable to cache HTTP POST Execute request."
-msgstr ""
+msgstr "HTTP POST 実行リクエストをキャッシュできません。"
 
 #: zoo_service_loader.c:895
 msgid "Unable to load the main.cfg file."
-msgstr ""
+msgstr "main.cfg ファイルをロードできません。"
 
 #: zoo_service_loader.c:940
 #, c-format
 msgid "The value %s is not supported for the <language> parameter"
-msgstr ""
+msgstr "値 %s は <language>変数としてサポートされていません"
 
 #: zoo_service_loader.c:1238
 msgid "The specified path does not exist."
-msgstr ""
+msgstr "記述されたパスが存在しません。"
 
 #: zoo_service_loader.c:1303
 #, c-format
 msgid ""
 "Unable to parse the ZCFG file for the following ZOO-Service: %s. Message: %s"
-msgstr ""
+msgstr "次のZOO-Service :%s のZCFG ファイルをパースできません。メッセージ: %s"
 
 #: zoo_service_loader.c:1308
 #, c-format
 msgid "Unable to parse the ZCFG file for the following ZOO-Service: %s."
-msgstr ""
+msgstr "次のZOO-Service :%s のZCFG ファイルをパースできません。"
 
 #: zoo_service_loader.c:1534
 msgid "Unable to run Execute request using the GET HTTP method"
-msgstr ""
+msgstr "GET HTTP メソッドを使用した実行リクエストを実行できません"
 
 #: zoo_service_loader.c:1606
 #, c-format
 msgid ""
-"The value for <identifier> seems to be wrong (%s). Please specify one of the "
-"processes in the list returned by a GetCapabilities request."
-msgstr ""
+"The value for <identifier> seems to be wrong (%s). Please specify one of the"
+" processes in the list returned by a GetCapabilities request."
+msgstr "<identifier> についての値が不正です(%s). GetCapabilitiesによりそのプロセスが存在しているか確認してください."
 
 #: zoo_service_loader.c:1733
 msgid ""
-"The status parameter cannot be set to true if storeExecuteResponse is set to "
-"false. Please modify your request parameters."
-msgstr ""
+"The status parameter cannot be set to true if storeExecuteResponse is set to"
+" false. Please modify your request parameters."
+msgstr "storeExecuteResponse が false に設定されている場合 status 変数を true に設定できません。リクエスト変数を変更してください。"
 
 #: zoo_service_loader.c:1761
 msgid "The process does not permit the desired execution mode."
-msgstr ""
+msgstr "プロセスは要求された実行モードは許可されません。"
 
 #: zoo_service_loader.c:1837
 msgid "No message provided"
-msgstr ""
+msgstr "メッセージは提供されません"
 
 #: zoo_service_loader.c:1995
 msgid "Initializing"
-msgstr ""
+msgstr "初期化中"
 
 #: zoo_service_loader.c:2142
 msgid "Unable to run the child process properly"
-msgstr ""
+msgstr "子プロセスを開始することができません."
diff --git a/zoo-project/zoo-kernel/locale/po/messages.po.orig b/zoo-project/zoo-kernel/locale/po/messages.po.orig
deleted file mode 100644
index 0bfccb6..0000000
--- a/zoo-project/zoo-kernel/locale/po/messages.po.orig
+++ /dev/null
@@ -1,364 +0,0 @@
-# ZOO-Kernel Internationalization.
-# Copyright (C) 2015 GeoLabs SARL
-# This file is distributed under the same license as the PACKAGE package.
-# Gerald Fenoy <gerald.fenoy at geolabs.fr>, 2015.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: ZOO-Kernel Internationalization\n"
-"Report-Msgid-Bugs-To: zoo-discuss at lists.osgeo.org\n"
-"POT-Creation-Date: 2015-07-01 22:23+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: caching.c:217 caching.c:235 caching.c:356 request_parser.c:214
-#: request_parser.c:225 request_parser.c:262 request_parser.c:441
-#: request_parser.c:537 request_parser.c:562 request_parser.c:665
-#: request_parser.c:782 request_parser.c:1112 request_parser.c:1204
-#: server_internal.c:1077 zcfg2yaml.c:38 zoo_service_loader.c:259
-#: zoo_service_loader.c:880 zoo_service_loader.c:1363
-#: zoo_service_loader.c:1559 server_internal.c:1082
-msgid "Unable to allocate memory."
-msgstr "Unable to allocate memory."
-
-#: caching.c:344
-msgid "Unable to download the file."
-msgstr "Unable to download the file."
-
-#: request_parser.c:92
-#, c-format
-msgid "The maximum allowed occurrences for <%s> (%i) was exceeded."
-msgstr "The maximum allowed occurrences for <%s> (%i) was exceeded."
-
-#: request_parser.c:113
-#, c-format
-msgid "ZOO-Kernel was unable to load your data for %s position %s."
-msgstr "ZOO-Kernel was unable to load your data for %s position %s."
-
-#: request_parser.c:124
-#, c-format
-msgid "The maximum allowed occurrences for <%s> is one."
-msgstr "The maximum allowed occurrences for <%s> is one."
-
-#: request_parser.c:315
-#, c-format
-msgid "Unable to find a valid protocol to download the remote file %s"
-msgstr "Unable to find a valid protocol to download the remote file %s"
-
-#: request_parser.c:403 request_parser.c:414
-msgid "Unable to allocate memory"
-msgstr "Unable to allocate memory"
-
-#: request_parser.c:613
-msgid "Unable to add a request in the queue."
-msgstr "Unable to add a request in the queue."
-
-#: request_parser.c:1021
-msgid "Unable to append maps to maps."
-msgstr "Unable to append maps to maps."
-
-#: request_parser.c:1291
-msgid "Duplicate <Output> elements in WPS Execute request"
-msgstr "Duplicate <Output> elements in WPS Execute request"
-
-#: request_parser.c:1487
-#, c-format
-msgid ""
-"The <%s> parameter has a size limit (%s MB) defined in the ZOO "
-"ServicesProvider configuration file, but the reference you provided exceeds "
-"this limit (%f MB)."
-msgstr ""
-"The <%s> parameter has a size limit (%s MB) defined in the ZOO "
-"ServicesProvider configuration file, but the reference you provided exceeds "
-"this limit (%f MB)."
-
-#: request_parser.c:1519
-#, c-format
-msgid ""
-"The <%s> argument was not specified in DataInputs but is required according "
-"to the ZOO ServicesProvider configuration file."
-msgstr ""
-"The <%s> argument was not specified in DataInputs but is required according "
-"to the ZOO ServicesProvider configuration file."
-
-#: request_parser.c:1545
-#, c-format
-msgid ""
-"The <%s> argument specified as %s identifier was not recognized (not defined "
-"in the ZOO Configuration File)."
-msgstr ""
-"The <%s> argument specified as %s identifier was not recognized (not defined "
-"in the ZOO Configuration File)."
-
-#: request_parser.c:1663
-#, c-format
-msgid "Mandatory parameter <%s> was not specified"
-msgstr "Mandatory parameter <%s> was not specified"
-
-#: request_parser.c:1712
-#, c-format
-msgid "The value <%s> was not recognized, %s %s the only acceptable value."
-msgstr "The value <%s> was not recognized, %s %s the only acceptable value."
-
-#: request_parser.c:1715
-msgid "is"
-msgstr "is"
-
-#: request_parser.c:1727
-msgid "are"
-msgstr "are"
-
-#: response_print.c:1628
-#, c-format
-msgid "The service \"%s\" ran successfully."
-msgstr "The service \"%s\" ran successfully."
-
-#: response_print.c:1636
-#, c-format
-msgid ""
-"The ZOO service \"%s\" is currently running. Please reload this document to "
-"get the up-to-date status of the service."
-msgstr ""
-"The ZOO service \"%s\" is currently running. Please reload this document to "
-"get the up-to-date status of the service."
-
-#: response_print.c:1642
-#, c-format
-msgid ""
-"The service \"%s\" was accepted by the ZOO kernel and is running as a "
-"background task. Please access the URL in the statusLocation attribute "
-"provided in this document to get the up-to-date status and results."
-msgstr ""
-"The service \"%s\" was accepted by the ZOO kernel and is running as a "
-"background task. Please access the URL in the statusLocation attribute "
-"provided in this document to get the up-to-date status and results."
-
-#: response_print.c:1659
-msgid "No more information available"
-msgstr "No more information available"
-
-#: response_print.c:1666
-#, c-format
-msgid "error code not know : %i\n"
-msgstr "error code not know : %i\n"
-
-#: response_print.c:1758
-msgid "Lock failed."
-msgstr "Lock failed."
-
-#: response_print.c:1771
-#, c-format
-msgid "Unable to create the file \"%s\" for storing the ExecuteResponse."
-msgstr "Unable to create the file \"%s\" for storing the ExecuteResponse."
-
-#: response_print.c:2288
-msgid "No debug message available"
-msgstr "No debug message available"
-
-#: response_print.c:2376
-#, c-format
-msgid "Unable to create the file \"%s\" for storing the session maps."
-msgstr "Unable to create the file \"%s\" for storing the session maps."
-
-#: response_print.c:2392
-msgid ""
-"Unable to run the Service. The message returned back by the Service was the "
-"following: "
-msgstr ""
-"Unable to run the Service. The message returned back by the Service was the "
-"following: "
-
-#: response_print.c:2393
-#, c-format
-msgid ""
-"Unable to run the Service. The message returned back by the Service was the "
-"following: %s"
-msgstr ""
-"Unable to run the Service. The message returned back by the Service was the "
-"following: %s"
-
-#: response_print.c:2396 response_print.c:2397
-msgid ""
-"Unable to run the Service. No more information was returned back by the "
-"Service."
-msgstr ""
-"Unable to run the Service. No more information was returned back by the "
-"Service."
-
-#: response_print.c:2484
-#, c-format
-msgid "Unable to create the file \"%s\" for storing the %s final result."
-msgstr "Unable to create the file \"%s\" for storing the %s final result."
-
-#: response_print.c:2570
-#, c-format
-msgid ""
-"Wrong RawDataOutput parameter: unable to fetch any result for the given "
-"parameter name: \"%s\"."
-msgstr ""
-"Wrong RawDataOutput parameter: unable to fetch any result for the given "
-"parameter name: \"%s\"."
-
-#: server_internal.c:869 server_internal.c:946
-msgid ""
-"The JobID from the request does not match any of the Jobs running on this "
-"server"
-msgstr ""
-"The JobID from the request does not match any of the Jobs running on this "
-"server"
-
-#: server_internal.c:875 server_internal.c:907
-msgid "The result for the requested JobID has not yet been generated. "
-msgstr "The result for the requested JobID has not yet been generated. "
-
-#: server_internal.c:988
-msgid "The job cannot be removed, a file cannot be removed"
-msgstr "The job cannot be removed, a file cannot be removed"
-
-#: server_internal.c:1088 zoo_service_loader.c:276 zoo_service_loader.c:1384
-#: zoo_service_loader.c:1427 server_internal.c:1093
-#, c-format
-msgid "Unable to parse the ZCFG file: %s (%s)"
-msgstr "Unable to parse the ZCFG file: %s (%s)"
-
-#: server_internal.c:1091 zoo_service_loader.c:279 zoo_service_loader.c:1389
-#: zoo_service_loader.c:1431 server_internal.c:1096
-#, c-format
-msgid "Unable to parse the ZCFG file: %s."
-msgstr "Unable to parse the ZCFG file: %s."
-
-#: service_internal_ms.c:136
-msgid "Unable to find any mapserverAddress defined in the main.cfg file"
-msgstr "Unable to find any mapserverAddress defined in the main.cfg file"
-
-#: service_internal_php.c:227
-#, c-format
-msgid "Unable to load the PHP file %s"
-msgstr "Unable to load the PHP file %s"
-
-#: service_internal_python.c:316
-#, c-format
-msgid "Python module %s cannot be loaded. Message: %s\n"
-msgstr "Python module %s cannot be loaded. Message: %s\n"
-
-#: service_internal_python.c:355
-#, c-format
-msgid ""
-"%s\n"
-"Unable to run your python process properly. Please check the following "
-"messages : %s"
-msgstr ""
-"%s\n"
-"Unable to run your python process properly. Please check the following "
-"messages : %s"
-
-#: service_internal_python.c:361
-#, c-format
-msgid ""
-"%s \n"
-" Unable to run your python process properly. Unable to provide any futher "
-"informations."
-msgstr ""
-"%s \n"
-" Unable to run your python process properly. Unable to provide any futher "
-"informations."
-
-#: zoo_service_loader.c:352
-#, c-format
-msgid "ZOO Kernel failed to process your request, receiving signal %d = %s"
-msgstr "ZOO Kernel failed to process your request, receiving signal %d = %s"
-
-#: zoo_service_loader.c:527
-#, c-format
-msgid "Error occured while running the %s function: %s"
-msgstr "Error occured while running the %s function: %s"
-
-#: zoo_service_loader.c:578
-#, c-format
-msgid "Unable to load C Library %s"
-msgstr "Unable to load C Library %s"
-
-#: zoo_service_loader.c:672
-#, c-format
-msgid ""
-"Programming Language (%s) set in ZCFG file is not currently supported by ZOO "
-"Kernel.\n"
-msgstr ""
-"Programming Language (%s) set in ZCFG file is not currently supported by ZOO "
-"Kernel.\n"
-
-#: zoo_service_loader.c:737
-msgid "Unable to cache HTTP POST Execute request."
-msgstr "Unable to cache HTTP POST Execute request."
-
-#: zoo_service_loader.c:895
-msgid "Unable to load the main.cfg file."
-msgstr "Unable to load the main.cfg file."
-
-#: zoo_service_loader.c:940
-#, c-format
-msgid "The value %s is not supported for the <language> parameter"
-msgstr "The value %s is not supported for the <language> parameter"
-
-#: zoo_service_loader.c:1238
-msgid "The specified path path does not exist."
-msgstr "The specified path path does not exist."
-
-#: zoo_service_loader.c:1303
-#, c-format
-msgid ""
-"Unable to parse the ZCFG file for the following ZOO-Service: %s. Message: %s"
-msgstr ""
-"Unable to parse the ZCFG file for the following ZOO-Service: %s. Message: %s"
-
-#: zoo_service_loader.c:1308
-#, c-format
-msgid "Unable to parse the ZCFG file for the following ZOO-Service: %s."
-msgstr "Unable to parse the ZCFG file for the following ZOO-Service: %s."
-
-#: zoo_service_loader.c:1534
-msgid "Unable to run Execute request using the GET HTTP method"
-msgstr "Unable to run Execute request using the GET HTTP method"
-
-#: zoo_service_loader.c:1606
-#, c-format
-msgid ""
-"The value for <identifier> seems to be wrong (%s). Please specify one of the "
-"processes in the list returned by a GetCapabilities request."
-msgstr ""
-"The value for <identifier> seems to be wrong (%s). Please specify one of the "
-"processes in the list returned by a GetCapabilities request."
-
-#: zoo_service_loader.c:1733
-msgid ""
-"The status parameter cannot be set to true if storeExecuteResponse is set to "
-"false. Please modify your request parameters."
-msgstr ""
-"The status parameter cannot be set to true if storeExecuteResponse is set to "
-"false. Please modify your request parameters."
-
-#: zoo_service_loader.c:1761
-msgid "The process does not permit the desired execution mode."
-msgstr "The process does not permit the desired execution mode."
-
-#: zoo_service_loader.c:1837
-msgid "No message provided"
-msgstr "No message provided"
-
-#: zoo_service_loader.c:1995
-msgid "Initializing"
-msgstr "Initializing"
-
-#: zoo_service_loader.c:2142
-msgid "Unable to run the child process properly"
-msgstr "Unable to run the child process properly"
-
-#: server_internal.c:1063
-msgid "Unable to open the registry directory."
-msgstr ""
diff --git a/zoo-project/zoo-kernel/main.cfg b/zoo-project/zoo-kernel/main.cfg
index 8386482..92b6305 100644
--- a/zoo-project/zoo-kernel/main.cfg
+++ b/zoo-project/zoo-kernel/main.cfg
@@ -2,6 +2,7 @@
 encoding = utf-8
 version = 1.0.0
 serverAddress = http://www.zoo-project.org/zoo/
+language = en-US
 lang = fr-FR,en-CA,en-US
 tmpPath=/tmp/
 tmpUrl = ../mpPathRelativeToServerAdress/
diff --git a/zoo-project/zoo-kernel/main_conf_read.l b/zoo-project/zoo-kernel/main_conf_read.l
index da3ed46..610cc9a 100644
--- a/zoo-project/zoo-kernel/main_conf_read.l
+++ b/zoo-project/zoo-kernel/main_conf_read.l
@@ -33,7 +33,7 @@ static int affichetrace = 0 ;
 
 %}
 
-attname	[a-zA-Z0-9_\-:]+
+attname	[a-zA-Z0-9_\-:.]+
 
 attvalue1	[%\*,;@a-zA-Z0-9_\-.:" "\"\'/\\\(\)\+\x41-\xff?&=]+
 
diff --git a/zoo-project/zoo-kernel/nmake.opt b/zoo-project/zoo-kernel/nmake.opt
index 9d9f6ad..93e982c 100755
--- a/zoo-project/zoo-kernel/nmake.opt
+++ b/zoo-project/zoo-kernel/nmake.opt
@@ -10,20 +10,29 @@ CPP=cl /TP $(CFLAGS)
 #PHP_DIR=C:\php-sdk\phpdev\vc12\x86\php-5.5.10-src
 #PHP_LIB=$(PHP_DIR)\Release_TS\php5embed.lib
 
-!IF DEFINED(MS_DIR)
-MS_BASE=$(MS_DIR)
-!INCLUDE $(MS_DIR)\nmake.opt
-!ENDIF
+#!IF DEFINED(MS_DIR)
+#MS_BASE=$(MS_DIR)
+#!INCLUDE $(MS_DIR)\nmake.opt
+#!ENDIF
 
 !IFDEF JS_DIR
-JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR)
+JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) -I$(JS_DIR)/dist/include
 JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib
 JS_FILE=service_internal_js.obj
 !ENDIF
 
+!IFDEF JS_CFG
+#!INCLUDE $(JS_CFG)
+#JS_CFLAGS=-DXP_WIN -DUSE_JS $(JS_CONFIG_CFLAGS)
+#JS_LDFLAGS=$(JS_CONFIG_LDFLAGS)
+JS_CFLAGS=-DXP_WIN -DUSE_JS -include c:/mozilla-build/msys/local/include/mozjs-24/js/RequiredDefines.h -Ic:/mozilla-build/msys/local/include/mozjs-24 -IC:/mozilla-build/msys/local/include
+JS_LDFLAGS=c:/mozilla-build/msys/local/lib/mozjs-24.lib  kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib psapi.lib 
+JS_FILE=service_internal_js.obj
+!ENDIF
+
 !IFDEF MS_DIR
-MS_CFLAGS=-DUSE_MS -I$(MS_DIR)
-MS_LDFLAGS=$(MS_DIR)/mapserver_i.lib
+MS_CFLAGS=-DUSE_MS -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -I$(MS_DIR)/include
+MS_LDFLAGS=$(MS_DIR)/lib/mapserver_i.lib
 MS_FILE=service_internal_ms.obj
 !ENDIF
 
diff --git a/zoo-project/zoo-kernel/request_parser.c b/zoo-project/zoo-kernel/request_parser.c
index 8ccb1a8..19de60a 100644
--- a/zoo-project/zoo-kernel/request_parser.c
+++ b/zoo-project/zoo-kernel/request_parser.c
@@ -482,6 +482,28 @@ int kvpParseOutputs(maps** main_conf,map *request_inputs,maps** request_output){
 }
 
 /**
+ * Create a "missingIdentifier" maps in case it is NULL.
+ *
+ * @param main_conf the conf maps containing the main.cfg settings
+ * @param mymaps the maps to update
+ * @return 0 on success, 4 on failure
+ */
+int defineMissingIdentifier(maps** main_conf,maps** mymaps){
+  if (*mymaps == NULL){
+    *mymaps = (maps *) malloc (MAPS_SIZE);
+    if (*mymaps == NULL){
+      return errorException (*main_conf,
+			     _("Unable to allocate memory"),
+			     "InternalError", NULL);
+    }
+    (*mymaps)->name = zStrdup ("missingIndetifier");
+    (*mymaps)->content = NULL;
+    (*mymaps)->next = NULL;
+  }
+  return 0;
+}
+
+/**
  * Parse inputs from XML nodes and store them in a maps.
  *
  * @param main_conf the conf maps containing the main.cfg settings
@@ -527,7 +549,7 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 		{
 		  xmlChar *val =
 		    xmlNodeListGetString (doc, cur2->xmlChildrenNode, 1);
-		  if (tmpmaps == NULL)
+		  if (tmpmaps == NULL && val!=NULL)
 		    {
 		      tmpmaps = (maps *) malloc (MAPS_SIZE);
 		      if (tmpmaps == NULL)
@@ -540,8 +562,8 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 		      tmpmaps->name = zStrdup ((char *) val);
 		      tmpmaps->content = NULL;
 		      tmpmaps->next = NULL;
+		      xmlFree (val);
 		    }
-		  xmlFree (val);
 		}
 	      // Title, Asbtract
 	      if (xmlStrncasecmp
@@ -552,35 +574,21 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 		{
 		  xmlChar *val =
 		    xmlNodeListGetString (doc, cur2->xmlChildrenNode, 1);
-		  if (tmpmaps == NULL)
-		    {
-		      tmpmaps = (maps *) malloc (MAPS_SIZE);
-		      if (tmpmaps == NULL)
-			{
-			  return errorException (*main_conf,
-						 _
-						 ("Unable to allocate memory"),
-						 "InternalError", NULL);
-			}
-		      tmpmaps->name = zStrdup ("missingIndetifier");
+		  defineMissingIdentifier(main_conf,&tmpmaps);
+		  if(val!=NULL){
+		    if (tmpmaps->content != NULL)
+		      addToMap (tmpmaps->content,
+				(char *) cur2->name, (char *) val);
+		    else
 		      tmpmaps->content =
 			createMap ((char *) cur2->name, (char *) val);
-		      tmpmaps->next = NULL;
-		    }
-		  else
-		    {
-		      if (tmpmaps->content != NULL)
-			addToMap (tmpmaps->content,
-				  (char *) cur2->name, (char *) val);
-		      else
-			tmpmaps->content =
-			  createMap ((char *) cur2->name, (char *) val);
-		    }
-		  xmlFree (val);
+		    xmlFree (val);
+		  }
 		}
 	      // InputDataFormChoice (Reference or Data ?) 
 	      if (xmlStrcasecmp (cur2->name, BAD_CAST "Reference") == 0)
 		{
+		  defineMissingIdentifier(main_conf,&tmpmaps);
 		  // Get every attribute from a Reference node
 		  // mimeType, encoding, schema, href, method
 		  // Header and Body gesture should be added here
@@ -720,8 +728,8 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 				      tmp = (char *) malloc ((bsize + 1) * sizeof (char));
 
 				      sprintf (tmp, "%s", (char*) btmps);
-					  
-				      xmlFreeDoc (bdoc);
+
+				      //xmlFreeDoc (bdoc);
 					  
 				      map *btmp =
 					getMap (tmpmaps->content, "Reference");
@@ -814,6 +822,7 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 		}
 	      else if (xmlStrcasecmp (cur2->name, BAD_CAST "Data") == 0)
 		{
+		  defineMissingIdentifier(main_conf,&tmpmaps);
 		  xmlNodePtr cur4 = cur2->children;
 		  if(vid==1){
 		    // Get every dataEncodingAttributes from a Data node:
@@ -945,6 +954,8 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 				     && cur5->type != XML_ELEMENT_NODE
 				     && cur5->type != XML_CDATA_SECTION_NODE)
 				cur5 = cur5->next;
+			      fprintf(stderr,"%s %d\n",__FILE__,__LINE__);
+			      fflush(stderr);
 			      if (cur5 != NULL
 				  && cur5->type != XML_CDATA_SECTION_NODE)
 				{
@@ -952,24 +963,22 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 				  xmlDocDumpFormatMemoryEnc (doc1, &mv,
 							     &buffersize,
 							     "utf-8", 0);
-				  addIntToMap (tmpmaps->content, "size",
-					       buffersize);
-				  xmlFreeDoc (doc1);
 				}
 			      else
 				{
 				  if (cur5 != NULL
 				      && cur5->type == XML_CDATA_SECTION_NODE){
-				    xmlDocPtr doc2 = xmlParseMemory((const char*)cur5->content,xmlStrlen(cur5->content));
-				    xmlDocSetRootElement (doc1,xmlDocGetRootElement(doc2));
-				    xmlDocDumpFormatMemoryEnc (doc1, &mv,
+				    xmlDocPtr doc2 = xmlReadMemory((const char*)cur5->content,xmlStrlen(cur5->content),
+								   "input_content.xml", NULL, XML_PARSE_RECOVER);
+				    xmlDocDumpFormatMemoryEnc (doc2, &mv,
 							       &buffersize,
 							       "utf-8", 0);
-				    addIntToMap(tmpmaps->content, "size",buffersize);
 				    xmlFreeDoc (doc2);
-				    xmlFreeDoc (doc1);
 				  }
 				}
+			      addIntToMap (tmpmaps->content, "size",
+					   buffersize);
+			      xmlFreeDoc (doc1);
 			    }else{
 			    xmlNodePtr cur5 = cur4->children;
 			    while (cur5 != NULL
@@ -1007,6 +1016,9 @@ int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr d
 	      }
 	    }
 	  {
+	    map* test=getMap(tmpmaps->content,"value");
+	    if(test==NULL)
+	      addToMap(tmpmaps->content,"value","");
 	    maps *testPresence =
 	      getMaps (*request_output, tmpmaps->name);
 	    if (testPresence != NULL)
@@ -1323,7 +1335,7 @@ int xmlParseRequest(maps** main_conf,const char* post,map** request_inputs,servi
   int vid=getVersionId(version->value);
 
   xmlInitParser ();
-  xmlDocPtr doc = xmlParseMemory (post, cgiContentLength);
+  xmlDocPtr doc = xmlReadMemory (post, cgiContentLength, "input_request.xml", NULL, XML_PARSE_RECOVER);
 
   /**
    * Extract Input nodes from the XML Request.
@@ -1675,7 +1687,7 @@ void checkValidValue(map* request,map** res,const char* toCheck,const char** ava
 	}
 	setMapArray(lres,"text",length,message);
 	setMapArray(lres,"locator",length,toCheck);
-	setMapArray(lres,"code",length,"MissingParameter");
+	setMapArray(lres,"code",length,"MissingParameterValue");
       }
       free(message);
     }
@@ -1741,7 +1753,7 @@ void checkValidValue(map* request,map** res,const char* toCheck,const char** ava
 	locator=r_inputs->value;
       }
       if(lres==NULL){
-	lres=createMap("code","InvalidParameterValue");
+	lres=createMap("code",code);
 	addToMap(lres,"text",message);
 	addToMap(lres,"locator",locator);       
       }else{
@@ -1752,7 +1764,7 @@ void checkValidValue(map* request,map** res,const char* toCheck,const char** ava
 	}
 	setMapArray(lres,"text",length,message);
 	setMapArray(lres,"locator",length,locator);
-	setMapArray(lres,"code",length,"InvalidParameterValue");
+	setMapArray(lres,"code",length,code);
       }
     }
   }
diff --git a/zoo-project/zoo-kernel/request_parser.h b/zoo-project/zoo-kernel/request_parser.h
index 4ebcdc0..93c0bb1 100644
--- a/zoo-project/zoo-kernel/request_parser.h
+++ b/zoo-project/zoo-kernel/request_parser.h
@@ -30,11 +30,12 @@
 #include "service.h"
 #include "ulinet.h"
 
+#include <libxml/parser.h>
+#include <libxml/xpath.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-#include <libxml/parser.h>
-#include <libxml/xpath.h>
 
   xmlXPathObjectPtr extractFromDoc (xmlDocPtr, const char *);
   int appendMapsToMaps (maps*, maps*, maps*, elements*);
diff --git a/zoo-project/zoo-kernel/response_print.c b/zoo-project/zoo-kernel/response_print.c
index d08505a..6acbf71 100644
--- a/zoo-project/zoo-kernel/response_print.c
+++ b/zoo-project/zoo-kernel/response_print.c
@@ -709,7 +709,7 @@ void printGetCapabilitiesForProcess(registry *reg, maps* m,xmlNodePtr nc,service
  * @param vid the version identifier (0 for 1.0.0 and 1 for 2.0.0)
  */
 void attachAttributes(xmlNodePtr n,xmlNsPtr ns,map* content,int vid){
-  int limit=(vid==1?7:3);
+  int limit=7;
   for(int i=1;i<limit;i+=2){
     map* tmp1=getMap(content,capabilities[vid][i]);
     if(tmp1!=NULL){
@@ -719,11 +719,19 @@ void attachAttributes(xmlNodePtr n,xmlNsPtr ns,map* content,int vid){
 	xmlNewNsProp(n,ns,BAD_CAST capabilities[vid][i],BAD_CAST val);
 	free(val);
       }
+      else{
+	if(vid==0 && i>=2)
+	  xmlNewProp(n,BAD_CAST capabilities[vid][i],BAD_CAST tmp1->value);
+	else
+	  xmlNewNsProp(n,ns,BAD_CAST capabilities[vid][i],BAD_CAST tmp1->value);
+      }
+    }
+    else{
+      if(vid==0 && i>=2)
+	xmlNewProp(n,BAD_CAST capabilities[vid][i],BAD_CAST capabilities[vid][i+1]);
       else
-	xmlNewNsProp(n,ns,BAD_CAST capabilities[vid][i],BAD_CAST tmp1->value);
+	xmlNewNsProp(n,ns,BAD_CAST capabilities[vid][i],BAD_CAST capabilities[vid][i+1]);
     }
-    else
-      xmlNewNsProp(n,ns,BAD_CAST capabilities[vid][i],BAD_CAST capabilities[vid][i+1]);
   }
 }
 
@@ -785,7 +793,8 @@ void addInheritedMetadata(xmlNodePtr n,xmlNsPtr ns_ows,xmlNsPtr ns_xlink,registr
  */
 void printDescribeProcessForProcess(registry *reg, maps* m,xmlNodePtr nc,service* serv){
   xmlNsPtr ns,ns_ows,ns_xlink;
-  xmlNodePtr n,nc1,nc2;
+  xmlNodePtr n,nc1;
+  xmlNodePtr nc2 = NULL;
   map* version=getMapFromMaps(m,"main","rversion");
   int vid=getVersionId(version->value);
 
@@ -871,7 +880,7 @@ void printDescribeProcessForProcess(registry *reg, maps* m,xmlNodePtr nc,service
   }
   if(vid==0)
     xmlAddChild(n,nc);
-  else{
+  else if (nc2 != NULL) {	  
     xmlAddChild(nc2,nc);
     xmlAddChild(n,nc2);
   }
@@ -2242,7 +2251,9 @@ xmlNodePtr createExceptionReportNode(maps* m,map* s,int use_ns){
   }
   n = xmlNewNode(ns, BAD_CAST "ExceptionReport");
   map* version=getMapFromMaps(m,"main","rversion");
-  int vid=getVersionId(version->value);
+  int vid=-1;
+  if(version!=NULL)
+    vid=getVersionId(version->value);
   if(vid<0)
     vid=0;
   if(use_ns==1){
diff --git a/zoo-project/zoo-kernel/response_print.h b/zoo-project/zoo-kernel/response_print.h
index dc14d06..98ba1cd 100644
--- a/zoo-project/zoo-kernel/response_print.h
+++ b/zoo-project/zoo-kernel/response_print.h
@@ -91,12 +91,12 @@
 #include <openssl/bio.h>
 #include <openssl/buffer.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
 #include <libxml/parser.h>
 #include <libxml/xpath.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
   /**
    * Maximum number of XML namespaces
    */
diff --git a/zoo-project/zoo-kernel/server_internal.c b/zoo-project/zoo-kernel/server_internal.c
index 0f64322..57a87e4 100644
--- a/zoo-project/zoo-kernel/server_internal.c
+++ b/zoo-project/zoo-kernel/server_internal.c
@@ -236,24 +236,41 @@ char *url_decode(char *str) {
  * @return 1 if the specific language is listed, -1 in other case.
  */
 int isValidLang(maps* conf,const char *str){
-  map *tmpMap=getMapFromMaps(conf,"main","lang");
-  char *tmp=zStrdup(tmpMap->value);
+  map *tmpMap=getMapFromMaps(conf,"main","language");
+  char *tmp0=NULL,*tmp=NULL,*tmp1=NULL;
+  if(tmpMap!=NULL)
+    tmp0=zStrdup(tmpMap->value);
+  tmpMap=getMapFromMaps(conf,"main","lang");
+  if(tmpMap!=NULL)
+    tmp=zStrdup(tmpMap->value);
+  if(tmp0!=NULL && tmp!=NULL){
+    tmp1=(char*)malloc((strlen(tmp0)+strlen(tmp)+2)*sizeof(char));
+    sprintf(tmp1,"%s,%s",tmp0,tmp);
+    free(tmp0);
+    free(tmp);
+  }else{
+    if(tmp!=NULL){
+      tmp1==zStrdup(tmp);
+      free(tmp);
+    }else{
+      if(tmp0!=NULL){
+	tmp1==zStrdup(tmp0);
+	free(tmp0);
+      }
+    }
+  }
   char *pToken,*saveptr;
-  pToken=strtok_r(tmp,",",&saveptr);
+  pToken=strtok_r(tmp1,",",&saveptr);
   int res=-1;
-  char *pToken1,*saveptr1;
-  pToken1=strtok_r(tmp,",",&saveptr1);
-  while(pToken1!=NULL){
-    while(pToken!=NULL){
-      if(strcasecmp(pToken1,pToken)==0){
-	res=1;
-	break;
-      }
-      pToken=strtok_r(NULL,",",&saveptr);
+  while(pToken!=NULL){
+    if(strcasecmp(str,pToken)==0){
+      res=1;
+      break;
     }
-    pToken1=strtok_r(NULL,",",&saveptr1);
+    pToken=strtok_r(NULL,",",&saveptr);
   }
-  free(tmp);
+  if(tmp1!=NULL)
+    free(tmp1);
   return res;
 }
 
diff --git a/zoo-project/zoo-kernel/server_internal.h b/zoo-project/zoo-kernel/server_internal.h
index 6ff451b..3997d24 100644
--- a/zoo-project/zoo-kernel/server_internal.h
+++ b/zoo-project/zoo-kernel/server_internal.h
@@ -37,11 +37,12 @@
 
 extern   int conf_read(const char*,maps*);
 
+#include <libxml/parser.h>
+#include <libxml/xpath.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-#include <libxml/parser.h>
-#include <libxml/xpath.h>
 
   char *get_uuid();  
   char *base64(const char*,int);
diff --git a/zoo-project/zoo-kernel/service.c b/zoo-project/zoo-kernel/service.c
index e66d0cd..d3b9f3c 100644
--- a/zoo-project/zoo-kernel/service.c
+++ b/zoo-project/zoo-kernel/service.c
@@ -24,7 +24,8 @@
 
 #include "service.h"
 
-#ifdef _MSC_VER
+
+#if defined(_MSC_VER) && _MSC_VER < 1800
 #include <stdarg.h>
 /**
  * snprintf for Visual Studio compiler.
@@ -454,8 +455,9 @@ void addIntToMap(map* m,const char* n,const int v){
  * @param n the key to add
  * @param v the corresponding value to add
  * @param size the size of the given value
+ * @return a pointer to the updated map m
  */
-void addToMapWithSize(map* m,const char* n,const char* v,int size){
+map* addToMapWithSize(map* m,const char* n,const char* v,int size){
   if(hasKey(m,n)==false){
     map* _cursor=m;
     if(_cursor!=NULL){
@@ -476,6 +478,7 @@ void addToMapWithSize(map* m,const char* n,const char* v,int size){
   char sin[128];
   sprintf(sin,"%d",size);
   addToMap(m,sname,sin);
+  return m;
 }
 
 /**
diff --git a/zoo-project/zoo-kernel/service.h b/zoo-project/zoo-kernel/service.h
index f865819..ae08956 100644
--- a/zoo-project/zoo-kernel/service.h
+++ b/zoo-project/zoo-kernel/service.h
@@ -34,11 +34,10 @@
 #endif
 
 #ifdef WIN32
-#ifndef USE_MS
 #define strncasecmp _strnicmp
 #define strcasecmp _stricmp
-//#else
-//#define snprintf sprintf_s
+#if defined(_MSC_VER) && _MSC_VER < 1900
+#define snprintf _snprintf
 #endif
 #define zStrdup _strdup
 #define zMkdir _mkdir
@@ -112,19 +111,7 @@ extern "C" {
 #include <string.h>
 #ifndef WIN32
 #include <ctype.h>
-#ifndef bool
-#define bool int
-#endif
-#ifndef true
-  /**
-   * Local true definition
-   */
-#define true 1
-  /**
-   * Local false definition
-   */
-#define false 0
-#endif
+#include <stdbool.h>
 #endif
 
 /**
@@ -291,7 +278,7 @@ extern "C" {
   ZOO_DLL_EXPORT void freeService(service**);
   ZOO_DLL_EXPORT void addToMap(map*,const char*,const char*);
   ZOO_DLL_EXPORT void addIntToMap(map*,const char*,const int);
-  ZOO_DLL_EXPORT void addToMapWithSize(map*,const char*,const char*,int);
+  ZOO_DLL_EXPORT map* addToMapWithSize(map*,const char*,const char*,int);
   ZOO_DLL_EXPORT void addMapToMap(map**,map*);
   ZOO_DLL_EXPORT void addMapToIoType(iotype**,map*);
   ZOO_DLL_EXPORT map* getMapOrFill(map**,const char*,const char*);
@@ -323,11 +310,11 @@ extern "C" {
   ZOO_DLL_EXPORT void inheritance(registry*,service**);
   ZOO_DLL_EXPORT void mapsToCharXXX(maps*,char***);
   ZOO_DLL_EXPORT void charxxxToMaps(char***,maps**);
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1800
   // snprintf for Visual Studio compiler;
   // it is also used by services (e.g., GetStatus), therefore exported to shared library
   ZOO_DLL_EXPORT int snprintf(char *buffer, size_t n, const char *format, ...);
-#endif  
+#endif
 #ifdef __cplusplus
 }
 #endif
diff --git a/zoo-project/zoo-kernel/service_internal.c b/zoo-project/zoo-kernel/service_internal.c
index f6c238f..d7ee8a4 100644
--- a/zoo-project/zoo-kernel/service_internal.c
+++ b/zoo-project/zoo-kernel/service_internal.c
@@ -188,8 +188,8 @@ char* _getStatus(maps* conf,char* lid){
     malloc ((strlen (r_inputs->value) + strlen (lid) + 9) * sizeof (char));
   sprintf (fbkpid, "%s/%s.status", r_inputs->value, lid);
   FILE* f0 = fopen (fbkpid, "r");
-  if(f0!=NULL){
-    semid lockid;
+  if(f0!=NULL){    
+    semid lockid = NULL;
     char* stat;
     long flen;
     stat=getStatusId(conf,lid);
@@ -269,8 +269,8 @@ int _updateStatus(maps *conf){
   map* msg=getMapFromMaps(conf,"lenv","message");
   if(status!=NULL && msg!=NULL &&
      status->value!=NULL && msg->value!=NULL && 
-     strlen(status->value)>0 && strlen(msg->value)>1){
-    semid lockid;
+     strlen(status->value)>0 && strlen(msg->value)>1){    
+    semid lockid = NULL;
     char* stat=getStatusId(conf,sid->value);
     if(stat!=NULL){
       lockid=acquireLock(conf);
diff --git a/zoo-project/zoo-kernel/service_internal_java.c b/zoo-project/zoo-kernel/service_internal_java.c
index bac3a4d..e120651 100644
--- a/zoo-project/zoo-kernel/service_internal_java.c
+++ b/zoo-project/zoo-kernel/service_internal_java.c
@@ -39,8 +39,10 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
   maps* m=*main_conf;
   maps* inputs=*real_inputs;
   maps* outputs=*real_outputs;
-  char ntmp[1024];
-  getcwd(ntmp,1024);
+  map* cwdMap=getMapFromMaps(*main_conf,"lenv","cwd");
+  char *ntmp=NULL;
+  if(cwdMap!=NULL)
+    ntmp=zStrdup(cwdMap->value);
   map* tmp=getMap(request,"metapath");
   char *classpath;
   char *oclasspath;
@@ -76,31 +78,40 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
       oclasspath=(char*) malloc((strlen(ntmp)+20)*sizeof(char));
       sprintf(classpath,"%s/",ntmp);
     }
-
   }
   sprintf(oclasspath,"-Djava.class.path=%s",classpath);
-
 #ifdef DEBUG
   fprintf(stderr,"CLASSPATH=%s\n",classpath);
   fprintf(stderr,"(%s)\n",oclasspath);
 #endif
-
-  int nb=1;
-  int nbc0=0;
-  maps* javaXXMap=getMaps(*main_conf,"javaxx");
-  if(javaXXMap!=NULL){
-    nbc0+=count(javaXXMap->content);
+#ifndef USE_JDB
+  int njdb=0;
+#else
+  int njdb=2;
+#endif
+#ifndef WIN32
+  int nb=2+njdb;
+#endif
+  int nbs[3]={0,0,0};
+  maps* javaMap=getMaps(*main_conf,"java");
+  if(javaMap!=NULL){
+    nbs[0]+=count(javaMap->content);
   }
   int nbc1=0;
   maps* javaXMap=getMaps(*main_conf,"javax");
   if(javaXMap!=NULL){
-    nbc1+=count(javaXMap->content);
+    nbs[1]+=count(javaXMap->content);
+  }
+  int nbc0=0;
+  maps* javaXXMap=getMaps(*main_conf,"javaxx");
+  if(javaXXMap!=NULL){
+    nbs[2]+=count(javaXXMap->content);
   }
 #ifdef WIN32
-  nb=2+nbc0+nbc1;
-  JavaVMOption options[nb];
+  const int nb=2+nbs[1]+nbs[2]+nbs[0];
+  JavaVMOption *options=(JavaVMOption*)malloc(nb*sizeof(JavaVMOption));
 #else
-  JavaVMOption options[nb+nbc0+nbc1];
+  JavaVMOption options[nb+nbs[1]+nbs[2]+nbs[0]+1];
 #endif
   JavaVMInitArgs vm_args;
   JavaVM *jvm;
@@ -114,36 +125,55 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
   jclass cls_gr;
 #endif
   int i,start;
-  map *cursorxx=NULL;
-  if(javaXXMap!=NULL)
-    cursorxx=javaXXMap->content;
-  map *cursorx=NULL;
-  if(javaXMap!=NULL)
-    cursorx=javaXMap->content;
   options[0].optionString = oclasspath;
+  options[0].extraInfo=NULL;
+  options[1].optionString = "-server";
+  options[1].extraInfo=NULL;
+#ifdef USE_JDB
+  options[2].optionString = "-Xdebug";
+  options[2].extraInfo=NULL;
+  options[3].optionString = "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896";
+  options[3].extraInfo=NULL;
+#endif
 #ifdef WIN32
   start=2;
   options[1].optionString = "-Xmx512m";
 #else
-  start=1;
+  start=2+njdb;
 #endif
-  for(i=0;i<nbc0;i++){
-    char *tmp=parseJVMXXOption(cursorxx);
-    options[start+i].optionString = tmp;
+  map *cursors[3]={NULL,NULL,NULL};
+  if(javaMap!=NULL)
+    cursors[0]=javaMap->content;
+  if(javaXMap!=NULL)
+    cursors[1]=javaXMap->content;
+  if(javaXXMap!=NULL)
+    cursors[2]=javaXXMap->content;
+  for(i=0;i<nbs[0];i++){
+    char *tmp=parseJVMOption(cursors[0]);
+    options[start+i].optionString = zStrdup(tmp);
+    options[start+i].extraInfo=NULL;
     free(tmp);
-    cursorxx=cursorxx->next;
+    cursors[0]=cursors[0]->next;
   }
-  for(;i<nbc1+nbc0;i++){
-    char *tmp=parseJVMXOption(cursorx);
-    options[start+i].optionString = tmp;
+  for(;i<nbs[0]+nbs[1];i++){
+    char *tmp=parseJVMXOption(cursors[1]);
+    options[start+i].optionString = zStrdup(tmp);
+    options[start+i].extraInfo=NULL;
     free(tmp);
-    cursorx=cursorx->next;
+    cursors[1]=cursors[1]->next;
+  }
+  for(;i<nbs[0]+nbs[2]+nbs[1];i++){
+    char *tmp=parseJVMXXOption(cursors[2]);
+    options[start+i].optionString = zStrdup(tmp);
+    options[start+i].extraInfo=NULL;
+    free(tmp);
+    cursors[2]=cursors[2]->next;
   }
 
   JNI_GetDefaultJavaVMInitArgs(&vm_args);
   vm_args.version = JNI_VERSION_1_6;
   vm_args.options = options;
-  vm_args.nOptions = start+nbc0+nbc1;
+  vm_args.nOptions = start+nbs[0]+nbs[1]+nbs[2];
   vm_args.ignoreUnrecognized = JNI_TRUE;
 
   result = JNI_CreateJavaVM(&jvm,(void **)&env, &vm_args);
@@ -158,11 +188,9 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
 
   tmp=getMap(s->content,"serviceProvider");
 #ifdef JAVA7
-  cls = env->FindClass(tmp->value);
-  cls_gr = env->NewGlobalRef(cls);
+  cls = (*env).FindClass(tmp->value);
 #else
   cls = (*env)->FindClass(env,tmp->value);
-  cls_gr = (*env)->NewGlobalRef(env, cls);
 #endif
   if( cls == NULL ) {
     displayStack(env,*main_conf);
@@ -178,10 +206,15 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
     fprintf(stderr,"%s loaded\n",tmp->value);
   }
 #endif
+#ifdef JAVA7
+  cls_gr = (*env)NewGlobalRef(cls);
+#else
+  cls_gr = (*env)->NewGlobalRef(env, cls);
+#endif
 
   if (cls != NULL) {
 #ifdef JAVA7
-    (*env).ExceptionClear();
+@    (*env).ExceptionClear();
     pmid=(*env).GetStaticMethodID(cls, s->name, "(Ljava/util/HashMap;Ljava/util/HashMap;Ljava/util/HashMap;)I");
 #else
     (*env)->ExceptionClear(env);
@@ -240,6 +273,7 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
     else{
       displayStack(env,*main_conf);
 #ifdef JAVA7
+      (*env).ExceptionDescribe();
       (*jvm).DestroyJavaVM();
 #else
       (*jvm)->DestroyJavaVM(jvm);
@@ -252,6 +286,12 @@ int zoo_java_support(maps** main_conf,map* request,service* s,maps **real_inputs
 #else
   (*jvm)->DestroyJavaVM(jvm);
 #endif
+  for(i=0;i<nbs[2]+nbs[1]+nbs[0];i++){
+    free(options[start+i].optionString);
+  }
+#ifdef WIN32
+  free(options);
+#endif
   return res;
 }
 
@@ -299,6 +339,19 @@ void displayStack(JNIEnv *env,maps* main_conf){
 }
 
 /**
+ * Create a string containing the JVM -D* options for a given map
+ * The result will be : -Dname=value
+ *
+ * @param m the map containing the option
+ * @return a char* containing the valide JVM option (-D*)
+ */
+char *parseJVMOption(map* m){
+  char *res=(char*)malloc((strlen(m->name)+strlen(m->value)+4)*sizeof(char));
+  sprintf(res,"-D%s=%s",m->name,m->value);
+  return res;
+}
+
+/**
  * Create a string containing the JVM -XX:* option for a given map
  * Depending on the map' name:
  *  - in case the value is minus then the result will be : -XX:-name
@@ -309,10 +362,10 @@ void displayStack(JNIEnv *env,maps* main_conf){
  * @return a char* containing the valide JVM option (-XX:*)
  */
 char *parseJVMXXOption(map* m){
-  char *res=(char*)malloc((strlen(m->name)+strlen(m->value)+5)*sizeof(char));
+  char *res=(char*)malloc((strlen(m->name)+strlen(m->value)+6)*sizeof(char));
   if(strncasecmp(m->value,"minus",5)==0)
     sprintf(res,"-XX:-%s",m->name);
-  else if(strncasecmp(m->value,"plus",5)==0)
+  else if(strncasecmp(m->value,"plus",4)==0)
     sprintf(res,"-XX:+%s",m->name);
   else
     sprintf(res,"-XX:%s=%s",m->name,m->value);
@@ -381,10 +434,10 @@ jobject HashMap_FromMaps(JNIEnv *env,maps* t,jclass scHashMapClass,jclass scHash
 #ifdef JAVA7
 	      jbyteArray tmpData=(*env).NewByteArray(atoi(sizeV->value));
 	      (*env).SetByteArrayRegion(tmpData,0,atoi(sizeV->value),(const jbyte *)tmp1->value);
-	      (*env).CallObjectMethod(scObject1, put_mid, (*env).NewStringUTF(tmp1->name), tmpData);
+	      (*env).CallObjectMethod(env,scObject1, put_mid, (*env).NewStringUTF(env,tmp1->name), tmpData);
 #else
 	      jbyteArray tmpData=(*env)->NewByteArray(env,atoi(sizeV->value));
-	      (*env)->SetByteArrayRegion(env,tmpData,0,atoi(sizeV->value),tmp1->value);
+	      (*env)->SetByteArrayRegion(env,tmpData,0,atoi(sizeV->value),(jbyte*) tmp1->value);
 	      (*env)->CallObjectMethod(env,scObject1, put_mid, (*env)->NewStringUTF(env,tmp1->name), tmpData);
 #endif
 	    }else
@@ -423,7 +476,7 @@ jobject HashMap_FromMaps(JNIEnv *env,maps* t,jclass scHashMapClass,jclass scHash
 	    int i;
 	    
 	    for(i=0;i<alen1;i++){
-	      map* vMap=getMapArray(tmp->content,"value",i);	    
+	      map* vMap=getMapArray(tmp->content,"value",i);
 	      map* sMap=getMapArray(tmp->content,"size",i);
 	      map* mMap=getMapArray(tmp->content,tmap->value,i);
 	      
diff --git a/zoo-project/zoo-kernel/service_internal_java.h b/zoo-project/zoo-kernel/service_internal_java.h
index e26b87b..26eab76 100644
--- a/zoo-project/zoo-kernel/service_internal_java.h
+++ b/zoo-project/zoo-kernel/service_internal_java.h
@@ -44,6 +44,8 @@ extern "C" {
 
   char *parseJVMXOption(map*);
 
+  char *parseJVMOption(map*);
+
   int zoo_java_support(maps**,map*,service*,maps**,maps**);
 
 #ifdef __cplusplus
diff --git a/zoo-project/zoo-kernel/service_internal_js.c b/zoo-project/zoo-kernel/service_internal_js.c
index c6822cf..33488f6 100644
--- a/zoo-project/zoo-kernel/service_internal_js.c
+++ b/zoo-project/zoo-kernel/service_internal_js.c
@@ -457,7 +457,7 @@ JSObject* JSObject_FromMap(JSContext *cx,map* t){
 #endif
   while(isArray==NULL && tmpm!=NULL){
     jsval jsstr;
-    if((isBinary!=NULL && strncasecmp(tmpm->name,"value",5)==0))
+    if(isBinary!=NULL && strncasecmp(tmpm->name,"value",5)==0)
       jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm->value,atoi(isBinary->value)));
     else
       jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm->value,strlen(tmpm->value)));
@@ -472,13 +472,18 @@ JSObject* JSObject_FromMap(JSContext *cx,map* t){
     int cnt=atoi(len->value);
     JSObject* values=JS_NewArrayObject( cx, cnt, NULL );
     JSObject* mvalues=JS_NewArrayObject( cx, cnt, NULL );
-    map *tmpm1,*tmpm2;
+    map *tmpm1,*tmpm2,*tmpm3;
     int i=0;
     for(i=0;i<cnt;i++){
       tmpm1=getMapArray(t,"value",i);
       tmpm2=getMapArray(t,tmap->name,i);
+      tmpm3=getMapArray(t,"size",i);
       if(tmpm1!=NULL){
-	jsval jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm1->value,strlen(tmpm1->value)));
+	jsval jsstr;
+	if(tmpm3!=NULL)
+	  jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm1->value,atoi(tmpm3->value)));
+	else
+	  jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm1->value,strlen(tmpm1->value)));
 	JS_SetElement( cx, values, i, &jsstr );
       }
       if(tmpm2!=NULL){
@@ -490,6 +495,16 @@ JSObject* JSObject_FromMap(JSContext *cx,map* t){
     jsval jmvalues=OBJECT_TO_JSVAL(mvalues);
     JS_SetProperty(cx, res,"value",&jvalues);
     JS_SetProperty(cx, res,tmap->name,&jmvalues);
+    while(tmpm!=NULL){
+      if(strncasecmp(tmpm->name,"value",5)!=0 && strncasecmp(tmpm->name,"size",4)!=0 && strncasecmp(tmpm->name,tmap->name,strlen(tmap->name))!=0){
+	jsval jsstr = STRING_TO_JSVAL(JS_NewStringCopyN(cx,tmpm->value,strlen(tmpm->value)));
+	JS_SetProperty(cx, res, tmpm->name,&jsstr);
+      }
+#ifdef JS_DEBUG
+      fprintf(stderr,"[JS] %s => %s\n",tmpm->name,tmpm->value);
+#endif
+      tmpm=tmpm->next;
+    }
   }
   return res;
 }
diff --git a/zoo-project/zoo-kernel/service_internal_ms.c b/zoo-project/zoo-kernel/service_internal_ms.c
index 4bd79ac..5e66323 100644
--- a/zoo-project/zoo-kernel/service_internal_ms.c
+++ b/zoo-project/zoo-kernel/service_internal_ms.c
@@ -261,7 +261,7 @@ void setSrsInformations(maps* output,mapObj* m,layerObj* myLayer,
 	msLoadProjectionStringEPSG(&myLayer->projection,tmpSrs);
 	
 	char tmpSrss[256];
-	sprintf(tmpSrss,"EPSG:4326 EPSG:900913 %s",tmpSrs);
+	sprintf(tmpSrss,"EPSG:4326 EPSG:900913 EPSG:3857 %s",tmpSrs);
 	
 	msInsertHashTable(&(m->web.metadata), "ows_srs", tmpSrss);
 	msInsertHashTable(&(myLayer->metadata), "ows_srs", tmpSrss);
@@ -304,8 +304,8 @@ void setSrsInformations(maps* output,mapObj* m,layerObj* myLayer,
 	  addToMap(output->content,"crs","EPSG:4326");
 	  addToMap(output->content,"real_extent","true");
 	}
-	msInsertHashTable(&(m->web.metadata),"ows_srs", "EPSG:4326 EPSG:900913");
-	msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913");
+	msInsertHashTable(&(m->web.metadata),"ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
+	msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
       }
     }
   }
@@ -317,14 +317,14 @@ void setSrsInformations(maps* output,mapObj* m,layerObj* myLayer,
       msLoadProjectionStringEPSG(&m->projection,msSrs->value);
       msLoadProjectionStringEPSG(&myLayer->projection,msSrs->value);
       char tmpSrs[128];
-      sprintf(tmpSrs,"%s EPSG:4326 EPSG:900913",msSrs->value);
+      sprintf(tmpSrs,"%s EPSG:4326 EPSG:900913 EPSG:3857",msSrs->value);
       msInsertHashTable(&(m->web.metadata),"ows_srs",tmpSrs);
       msInsertHashTable(&(myLayer->metadata),"ows_srs",tmpSrs);
     }else{
       msLoadProjectionStringEPSG(&m->projection,"EPSG:4326");
       msLoadProjectionStringEPSG(&myLayer->projection,"EPSG:4326");
-      msInsertHashTable(&(m->web.metadata),"ows_srs","EPSG:4326 EPSG:900913");
-      msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913");
+      msInsertHashTable(&(m->web.metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
+      msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
     }
     if(output!=NULL){
       addToMap(output->content,"crs",msSrs->value);
@@ -633,8 +633,8 @@ int tryOgr(maps* conf,maps* output,mapObj* m){
       addToMap(output->content,"crs","EPSG:4326");
       addToMap(output->content,"crs_isGeographic","true");
       msLoadProjectionStringEPSG(&m->projection,"EPSG:4326");
-      msInsertHashTable(&(m->web.metadata), "ows_srs", "EPSG:4326 EPSG:900913");
-      msInsertHashTable(&(myLayer->metadata), "ows_srs", "EPSG:4326 EPSG:900913");
+      msInsertHashTable(&(m->web.metadata), "ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
+      msInsertHashTable(&(myLayer->metadata), "ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
     }
 
     OGREnvelope oExt;
@@ -668,7 +668,6 @@ int tryOgr(maps* conf,maps* output,mapObj* m){
       return -1;
     if(initClass((myLayer->CLASS[myLayer->numclasses])) == -1)
       return -1;
-    myLayer->CLASS[myLayer->numclasses]->type = myLayer->type;
     if(msGrowClassStyles(myLayer->CLASS[myLayer->numclasses]) == NULL)
       return -1;
     if(initStyle(myLayer->CLASS[myLayer->numclasses]->styles[myLayer->CLASS[myLayer->numclasses]->numstyles]) == -1)
@@ -917,7 +916,6 @@ int tryGdal(maps* conf,maps* output,mapObj* m){
 	      return -1;
 	    if(initClass((myLayer->CLASS[myLayer->numclasses])) == -1)
 	      return -1;
-	    myLayer->CLASS[myLayer->numclasses]->type = myLayer->type;
 	    if(msGrowClassStyles(myLayer->CLASS[myLayer->numclasses]) == NULL)
 	      return -1;
 	    if(initStyle(myLayer->CLASS[myLayer->numclasses]->styles[myLayer->CLASS[myLayer->numclasses]->numstyles]) == -1)
@@ -957,6 +955,14 @@ int tryGdal(maps* conf,maps* output,mapObj* m){
 	  
 	}
       }
+      else{
+	if(nBandsI==1){
+	  myLayer->offsite.red=0;
+	  myLayer->offsite.green=0;
+	  myLayer->offsite.blue=0;
+	}
+	msLayerAddProcessing(myLayer,"RESAMPLE=BILINEAR");
+      }
     }
     if( strlen(GDALGetRasterUnitType(hBand)) > 0 ){
       char tmpU[21];
diff --git a/zoo-project/zoo-kernel/service_internal_php.c b/zoo-project/zoo-kernel/service_internal_php.c
index b59d135..30dbde1 100644
--- a/zoo-project/zoo-kernel/service_internal_php.c
+++ b/zoo-project/zoo-kernel/service_internal_php.c
@@ -431,8 +431,8 @@ map* php_map_from_HasTable(HashTable* t){
     INIT_PZVAL(&tmpcopy); 
     convert_to_string(&tmpcopy);
     if(strncmp(key,"value",5)==0){
-      len=Z_STRLEN_P(&tmpcopy);
-      addToMapWithSize(final_res,key,Z_STRVAL_P(&tmpcopy),len);
+      len=Z_STRLEN_P(&tmpcopy);      
+	  final_res = addToMapWithSize(final_res,key,Z_STRVAL_P(&tmpcopy),len);
     }
     else{
       if(final_res==NULL){
diff --git a/zoo-project/zoo-kernel/service_internal_python.c b/zoo-project/zoo-kernel/service_internal_python.c
index 38a0e70..c93d439 100644
--- a/zoo-project/zoo-kernel/service_internal_python.c
+++ b/zoo-project/zoo-kernel/service_internal_python.c
@@ -562,6 +562,45 @@ maps* mapsFromPyDict(PyDictObject* t){
 }
 
 /**
+ * Convert a Python dictionary to a maps 
+ *
+ * @param t the PyDictObject to convert
+ * @return a new maps containing the converted PyDictObject
+ * @warning make sure to free resources returned by this function
+ */
+maps* _mapsFromPyDict(PyDictObject* t){
+	
+	PyObject* list = PyDict_Keys((PyObject*)t); // new ref	
+	int nb = PyList_Size(list);	
+	
+	if (nb < 1) {
+		Py_DECREF(list);
+		return NULL;
+	}
+
+	maps* ptr = (maps*) malloc(MAPS_SIZE);
+	maps* res = ptr;	
+	
+	PyObject* key;
+	PyObject* value;
+	
+	for(int i = 0; i < nb; i++) {
+		
+		key = PyList_GetItem(list,i); // borrowed ref
+		value = PyDict_GetItem((PyObject*) t, key); // borrowed ref
+		
+		ptr->name = zStrdup(PyString_AsString(key));
+		ptr->content = mapFromPyDict((PyDictObject*) value);
+		
+		ptr->next = i < nb - 1 ? (maps*) malloc(MAPS_SIZE) : NULL;
+		ptr = ptr->next;
+	}
+	Py_DECREF(list);
+
+	return res;
+} // mapsFromPyDict
+
+/**
  * Convert a Python dictionary to a map 
  *
  * @param t the PyDictObject to convert
@@ -596,13 +635,15 @@ map* mapFromPyDict(PyDictObject* t){
 	  buffer=PyUnicode_AsUTF8AndSize(value,&size);
 	}
 	else{
+#ifdef DEBUG
 	  fprintf(stderr,"Unsupported return value.");
+#endif
 	  return NULL;
 	}
 #else
       PyString_AsStringAndSize(value,&buffer,&size);
-#endif
-      addToMapWithSize(res,PyString_AsString(key),buffer,size);
+#endif      
+	  res = addToMapWithSize(res,PyString_AsString(key),buffer,size);
     }else{
       char* lkey=PyString_AsString(key);
       char* lvalue=PyString_AsString(value);
@@ -621,6 +662,79 @@ map* mapFromPyDict(PyDictObject* t){
 }
 
 /**
+ * Convert a Python dictionary to a map 
+ *
+ * @param t the PyDictObject to convert
+ * @return a new map containing the converted PyDictObject
+ * @warning make sure to free resources returned by this function
+ */
+map* _mapFromPyDict(PyDictObject* t) {
+	
+	PyObject* list = PyDict_Keys((PyObject*) t); // new ref
+	int nb = PyList_Size(list);
+	
+	if (nb < 1) {
+		Py_DECREF(list);
+		return NULL;
+	}	
+	
+	map* ptr = (map*) malloc(MAP_SIZE);
+	map* res = ptr;
+	
+	PyObject* key;
+	PyObject* value;
+	char *buffer = NULL;
+	Py_ssize_t size;
+	for(int i = 0; i < nb; i++) {
+		
+		key = PyList_GetItem(list, i); // borrowed ref
+		value = PyDict_GetItem((PyObject*) t, key); // borrowed ref		
+				
+		ptr->name = zStrdup(PyString_AsString(key));		
+		map* msize = NULL;
+		
+	#if PY_MAJOR_VERSION >= 3
+		if (PyBytes_Check(value)) {
+		// value is byte array
+			size = PyBytes_Size(value);				
+			buffer = PyBytes_AsString(value); // pointer to internal buffer
+			char sz[32];
+			sprintf(sz, "%d", (int) size);	
+			msize = createMap("size", sz);			
+		}
+		else if (PyUnicode_Check(value) && PyUnicode_READY(value) == 0) {
+		// value is string object		
+			buffer = PyUnicode_AsUTF8AndSize(value, &size);
+			size++;
+		}
+		else {
+			printf("Type not recognized\n");
+			// error handling
+			// ...
+		}
+	#else	
+		PyString_AsStringAndSize(value, &buffer, &size);
+		size++;
+		// to do: handle byte arrays
+	#endif
+		
+		ptr->value = (char*) malloc(size); // check for NULL pointer
+		memmove(ptr->value, buffer, size);
+			
+		if (msize != NULL) {
+			ptr->next = msize;
+			ptr = ptr->next;
+		}						
+		
+		ptr->next = i < nb - 1 ? (map*) malloc(MAP_SIZE) : NULL;
+		ptr = ptr->next;
+	}	
+	Py_DECREF(list);
+			
+	return res;
+} // mapFromPyDict
+
+/**
  * Use the ZOO-Services messages translation function from the Python
  * environment
  *
diff --git a/zoo-project/zoo-kernel/service_internal_saga.c b/zoo-project/zoo-kernel/service_internal_saga.c
index 7aa8c6d..6962a99 100644
--- a/zoo-project/zoo-kernel/service_internal_saga.c
+++ b/zoo-project/zoo-kernel/service_internal_saga.c
@@ -442,7 +442,6 @@ bool sagaSaveOutputs(CSG_Parameters *params,maps* main_conf,maps** outputs)
 		  int nFileNames = param->asList()->Get_Count() <= fileNames.Get_Count() ? fileNames.Get_Count() : fileNames.Get_Count() - 1;
 		  for(int i=0; i<param->asList()->Get_Count(); i++)
 		    {
-		      fileNames[i].Trim();
 		      if( i < nFileNames )
 			{
 			  param->asList()->asDataObject(i)->Save(fileNames[i]);
@@ -558,7 +557,11 @@ int sagaExportOGR(maps** conf, maps** in){
     addToMap(arg,"FORMAT","GeoJSON");
   }
   else{
+#ifdef HAVE_LIBKML
     addToMap(arg,"FORMAT","LIBKML");
+#else
+    addToMap(arg,"FORMAT","KML");
+#endif
   }
   free(fext);
   free(gfile->value);
diff --git a/zoo-project/zoo-kernel/service_yaml.c b/zoo-project/zoo-kernel/service_yaml.c
index d587e09..5c5ced7 100644
--- a/zoo-project/zoo-kernel/service_yaml.c
+++ b/zoo-project/zoo-kernel/service_yaml.c
@@ -45,7 +45,7 @@ extern "C" {
  * @return 1 on success, -1 if error occured
  */
 int getServiceFromYAML(maps* conf, char* file,service** service,char *name){
-  FILE *fh = fopen("test.yml", "r");
+  FILE *fh;
   if(current_content!=NULL){
     freeMap(&current_content);
     free(current_content);
diff --git a/zoo-project/zoo-kernel/zcfg2yaml b/zoo-project/zoo-kernel/zcfg2yaml
deleted file mode 100755
index 2c9d418..0000000
Binary files a/zoo-project/zoo-kernel/zcfg2yaml and /dev/null differ
diff --git a/zoo-project/zoo-kernel/zoo_loader.c b/zoo-project/zoo-kernel/zoo_loader.c
index 204909f..999e495 100644
--- a/zoo-project/zoo-kernel/zoo_loader.c
+++ b/zoo-project/zoo-kernel/zoo_loader.c
@@ -215,7 +215,7 @@ int cgiMain(){
     if(t1!=NULL && strncasecmp(t1->value,"<",1)==0) {
       addToMap(tmpMap,"xrequest",t1->value);
       xmlInitParser();
-      xmlDocPtr doc = xmlParseMemory(t1->value,cgiContentLength);
+      xmlDocPtr doc = xmlReadMemory(t1->value, cgiContentLength, "input_request.xml", NULL, XML_PARSE_RECOVER);
       {
 	xmlXPathObjectPtr reqptr=extractFromDoc(doc,"/*[local-name()='Envelope']/*[local-name()='Body']/*");
 	if(reqptr!=NULL){
diff --git a/zoo-project/zoo-kernel/zoo_loader.cgi b/zoo-project/zoo-kernel/zoo_loader.cgi
deleted file mode 100755
index 75b64e8..0000000
Binary files a/zoo-project/zoo-kernel/zoo_loader.cgi and /dev/null differ
diff --git a/zoo-project/zoo-kernel/zoo_service_loader.c b/zoo-project/zoo-kernel/zoo_service_loader.c
index cb13df5..563d6f1 100644
--- a/zoo-project/zoo-kernel/zoo_service_loader.c
+++ b/zoo-project/zoo-kernel/zoo_service_loader.c
@@ -27,20 +27,15 @@ extern "C" int crlex ();
 
 #ifdef USE_OTB
 #include "service_internal_otb.h"
-#else
-#define length(x) (sizeof(x) / sizeof(x[0]))
 #endif
 
 #include "cgic.h"
 
-extern "C"
-{
 #include <libxml/tree.h>
 #include <libxml/xmlmemory.h>
 #include <libxml/parser.h>
 #include <libxml/xpath.h>
 #include <libxml/xpathInternals.h>
-}
 
 #include "ulinet.h"
 
@@ -105,6 +100,10 @@ extern "C"
 #include <time.h>
 #include <stdarg.h>
 
+#ifndef WIN32
+extern char **environ;
+#endif
+
 #ifdef WIN32
 extern "C"
 {
@@ -163,6 +162,40 @@ translateChar (char *str, char toReplace, char toReplaceBy)
 }
 
 /**
+ * Dump back the final file fbkp1 to fbkp
+ *
+ * @param m the conf maps containing the main.cfg settings
+ * @param fbkp the string corresponding to the name of the file
+ * @param fbkp1 the string corresponding to the name of the file
+ */
+int dumpBackFinalFile(maps* m,char* fbkp,char* fbkp1)
+{
+  FILE *f2 = fopen (fbkp1, "rb");
+#ifndef RELY_ON_DB
+  semid lid = getShmLockId (m, 1);
+  if (lid < 0)
+    return -1;
+  lockShm (lid);
+#endif
+  FILE *f3 = fopen (fbkp, "wb+");
+  free (fbkp);
+  fseek (f2, 0, SEEK_END);
+  long flen = ftell (f2);
+  fseek (f2, 0, SEEK_SET);
+  char *tmps1 = (char *) malloc ((flen + 1) * sizeof (char));
+  fread (tmps1, flen, 1, f2);
+#ifdef WIN32
+  char *pchr=strrchr(tmps1,'>');
+  flen=strlen(tmps1)-strlen(pchr)+1;
+  tmps1[flen]=0;
+#endif
+  fwrite (tmps1, 1, flen, f3);
+  fclose (f2);
+  fclose (f3);
+  return 1;
+}
+
+/**
  * Recursivelly parse zcfg starting from the ZOO-Kernel cwd.
  * Call the func function given in arguments after parsing the ZCFG file.
  *
@@ -960,7 +993,7 @@ runRequest (map ** inputs)
 #ifndef WIN32
       setenv ("LC_ALL", tmp, 1);
 #else
-      char tmp1[12];
+      char tmp1[13];
       sprintf (tmp1, "LC_ALL=%s", tmp);
       putenv (tmp1);
 #endif
@@ -972,13 +1005,20 @@ runRequest (map ** inputs)
 #ifndef WIN32
       setenv ("LC_ALL", "en_US", 1);
 #else
-      char tmp1[12];
+      char tmp1[13];
       sprintf (tmp1, "LC_ALL=en_US");
       putenv (tmp1);
 #endif
       setMapInMaps (m, "main", "language", "en-US");
     }
-  setlocale (LC_NUMERIC, "en_US");
+  setlocale (LC_NUMERIC, "C");
+#ifndef WIN32
+  setenv ("LC_NUMERIC", "C", 1);
+#else
+  char tmp1[17];
+  sprintf (tmp1, "LC_NUMERIC=C");
+  putenv (tmp1);
+#endif
   bind_textdomain_codeset ("zoo-kernel", "UTF-8");
   textdomain ("zoo-kernel");
   bind_textdomain_codeset ("zoo-services", "UTF-8");
@@ -1017,6 +1057,21 @@ runRequest (map ** inputs)
       setMapInMaps(m,"main","serverAddress",tmpUrl);
     }
 
+  // CORS Support
+  if(strncasecmp(cgiRequestMethod,"OPTIONS",7)==0){
+    map* cors=getMapFromMaps(m,"main","cors");
+    if(cors!=NULL && strncasecmp(cors->value,"true",4)==0){
+      char *encoding=getEncoding(m);
+      printHeaders(m);
+      printf("Content-Type: text/plain; charset=%s\r\nStatus: 200 OK\r\n\r\n",encoding);
+      printf(_("CORS is enabled.\r\n"));
+      freeMaps (&m);
+      free (m);
+      fflush (stdout);
+      return 3;
+    }
+  }
+
   //Check for minimum inputs
   map* version=getMap(request_inputs,"version");
   if(version==NULL)
@@ -1472,8 +1527,9 @@ runRequest (map ** inputs)
 	else if (strncasecmp (REQUEST, "Execute", strlen (REQUEST)) != 0)
 	  {
 	    map* version=getMapFromMaps(m,"main","rversion");
-	    int vid=getVersionId(version->value);
-	    int len,j=0;
+	    int vid=getVersionId(version->value);	    
+		int len = 0;
+		int j = 0;
 	    for(j=0;j<nbSupportedRequests;j++){
 	      if(requests[vid][j]!=NULL)
 		len+=strlen(requests[vid][j])+2;
@@ -1664,11 +1720,11 @@ runRequest (map ** inputs)
         {
 #ifndef WIN32
           setenv (mapcs->name, mapcs->value, 1);
-#else
 #ifdef DEBUG
           fprintf (stderr, "[ZOO: setenv (%s=%s)]\n", mapcs->name,
                    mapcs->value);
 #endif
+#else
           if (mapcs->value[strlen (mapcs->value) - 2] == '\r')
             {
 #ifdef DEBUG
@@ -1688,8 +1744,6 @@ runRequest (map ** inputs)
               fprintf (stderr, "setting variable... %s\n", "OK");
             }
 #else
-
-
           SetEnvironmentVariable (mapcs->name, mapcs->value);
 #endif
           char *toto =
@@ -1921,6 +1975,33 @@ runRequest (map ** inputs)
 #ifdef DEBUG
   dumpMap (request_inputs);
 #endif
+
+  int ei = 1;
+  char *s = 
+#ifdef WIN32
+    GetEnvironmentStrings();
+#else
+    *environ;
+#endif
+  _tmpMaps = (maps *) malloc (MAPS_SIZE);
+  _tmpMaps->name = zStrdup ("renv");
+  _tmpMaps->content = NULL;
+  _tmpMaps->next = NULL;
+  for (; s; ei++) {
+    char* tmpName=zStrdup(s);
+    char* tmpValue=strstr(s,"=")+1;
+    tmpName[strlen(tmpName)-strlen(tmpValue)-1]=0;
+    if(_tmpMaps->content == NULL)
+      _tmpMaps->content = createMap (tmpName,tmpValue);
+    else
+      addToMap (_tmpMaps->content,tmpName,tmpValue);
+    free(tmpName);
+    s = *(environ+ei);
+  }
+  addMapsToMaps (&m, _tmpMaps);
+  freeMaps (&_tmpMaps);
+  free (_tmpMaps);
+
 #ifdef WIN32
   char *cgiSidL = NULL;
   if (getenv ("CGISID") != NULL)
@@ -2038,6 +2119,7 @@ runRequest (map ** inputs)
             malloc ((strlen (r_inputs->value) +
                      strlen (usid->value) + 7) * sizeof (char));
           sprintf (fbkpid, "%s/%s.pid", r_inputs->value, usid->value);
+	  setMapInMaps (m, "lenv", "file.pid", fbkpid);
 
           f0 = freopen (fbkpid, "w+",stdout);
 	  printf("%d",getpid());
@@ -2049,6 +2131,7 @@ runRequest (map ** inputs)
             malloc ((strlen (r_inputs->value) + strlen (r_inputs1->value) +
                      strlen (usid->value) + 7) * sizeof (char));
           sprintf (fbkp, "%s/%s.sid", r_inputs->value, usid->value);
+	  setMapInMaps (m, "lenv", "file.sid", fbkp);
           FILE* f2 = freopen (fbkp, "w+",stdout);
 	  printf("%s",tmpm->value);
 	  fflush(f2);
@@ -2060,12 +2143,14 @@ runRequest (map ** inputs)
                      strlen (usid->value) + 7) * sizeof (char));
           sprintf (fbkp, "%s/%s_%s.xml", r_inputs->value, r_inputs1->value,
                    usid->value);
+	  setMapInMaps (m, "lenv", "file.responseInit", fbkp);
           flog =
             (char *)
             malloc ((strlen (r_inputs->value) + strlen (r_inputs1->value) +
                      strlen (usid->value) + 13) * sizeof (char));
           sprintf (flog, "%s/%s_%s_error.log", r_inputs->value,
                    r_inputs1->value, usid->value);
+	  setMapInMaps (m, "lenv", "file.log", flog);
 #ifdef DEBUG
           fprintf (stderr, "RUN IN BACKGROUND MODE \n");
           fprintf (stderr, "son pid continue (origin %d) %d ...\n", cpid,
@@ -2107,12 +2192,19 @@ runRequest (map ** inputs)
                      strlen (usid->value) + 13) * sizeof (char));
           sprintf (fbkp1, "%s/%s_final_%s.xml", r_inputs->value,
                    r_inputs1->value, usid->value);
+	  setMapInMaps (m, "lenv", "file.responseFinal", fbkp1);
 
           f1 = freopen (fbkp1, "w+", stdout);
 
 	  if(validateRequest(&m,s1,request_inputs, &request_input_real_format,&request_output_real_format,&hInternet)<0){
 	    freeService (&s1);
 	    free (s1);
+	    fclose (f0);
+	    fclose (f1);
+	    if(dumpBackFinalFile(m,fbkp,fbkp1)<0)
+	      return -1;
+	    unlink (fbkpid);
+	    unhandleStatus (m);
 	    freeMaps (&m);
 	    free (m);
 	    free (REQUEST);
@@ -2125,7 +2217,6 @@ runRequest (map ** inputs)
 	    free (tmpmaps);
 	    fflush (stdout);
 	    fflush (stderr);
-	    unhandleStatus (m);
 	    return -1;
 	  }
           loadServiceAndRun (&m, s1, request_inputs,
@@ -2166,38 +2257,18 @@ runRequest (map ** inputs)
   signal (SIGFPE, donothing);
   signal (SIGABRT, donothing);
 #endif
+  
   if (((int) getpid ()) != cpid || cgiSid != NULL)
     {
       fclose (stdout);
       fclose (stderr);
-      /**
-       * Dump back the final file fbkp1 to fbkp
-       */
+
       fclose (f0);
       fclose (f1);
 
-      FILE *f2 = fopen (fbkp1, "rb");
-#ifndef RELY_ON_DB
-      semid lid = getShmLockId (m, 1);
-      if (lid < 0)
-        return -1;
-      lockShm (lid);
-#endif
-      FILE *f3 = fopen (fbkp, "wb+");
-      free (fbkp);
-      fseek (f2, 0, SEEK_END);
-      long flen = ftell (f2);
-      fseek (f2, 0, SEEK_SET);
-      char *tmps1 = (char *) malloc ((flen + 1) * sizeof (char));
-      fread (tmps1, flen, 1, f2);
-#ifdef WIN32
-      char *pchr=strrchr(tmps1,'>');
-      flen=strlen(tmps1)-strlen(pchr)+1;
-      tmps1[flen]=0;
-#endif
-      fwrite (tmps1, 1, flen, f3);
-      fclose (f2);
-      fclose (f3);
+      if(dumpBackFinalFile(m,fbkp,fbkp1)<0)
+	return -1;
+
       unlink (fbkpid);
       switch(eres){
       default:
diff --git a/zoo-project/zoo-services/cgal/Makefile b/zoo-project/zoo-services/cgal/Makefile
index 6d3a4ec..2e82544 100644
--- a/zoo-project/zoo-services/cgal/Makefile
+++ b/zoo-project/zoo-services/cgal/Makefile
@@ -1,12 +1,12 @@
 ZRPATH=../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/cgal_service.zo: delaunay.c voronoi.c cgal_service.o
 	g++ ${CFLAGS} -c ./delaunay.c
 	g++ ${CFLAGS} -c ./voronoi.c
-	g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} ${CGAL_LDFLAGS} -lCGAL -lgmp -lgdal -lzoo_service
+	g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} ${CGAL_LDFLAGS} -lCGAL -lgmp ${GDAL_LIBS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 cgal_service.o: cgal_service.c cgal_service.h
 	g++ ${CFLAGS} -c ./cgal_service.c
diff --git a/zoo-project/zoo-services/cgal/cgal_service.c b/zoo-project/zoo-services/cgal/cgal_service.c
index bf34f63..2350650 100644
--- a/zoo-project/zoo-services/cgal/cgal_service.c
+++ b/zoo-project/zoo-services/cgal/cgal_service.c
@@ -28,10 +28,21 @@ int parseInput(maps* conf,maps* inputs, std::vector<Point>* points,char* filenam
   tmpm=getMapFromMaps(inputs,"InputPoints","value");
   VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmpm->value,strlen(tmpm->value),FALSE);
   VSIFCloseL(ifile);
+#if GDAL_VERSION_MAJOR >= 2
+  GDALDataset *ipoDS =
+    (GDALDataset*) GDALOpenEx( filename,
+			       GDAL_OF_READONLY | GDAL_OF_VECTOR,
+			       NULL, NULL, NULL );
+#else
   OGRDataSource* ipoDS = OGRSFDriverRegistrar::Open(filename,FALSE);
+#endif
   if( ipoDS == NULL )
     {
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDriverManager* poR=GetGDALDriverManager();
+#else
       OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+#endif
       
       fprintf( stderr, "FAILURE:\n"
 	       "Unable to open datasource `%s' with the following drivers.\n",
@@ -39,7 +50,11 @@ int parseInput(maps* conf,maps* inputs, std::vector<Point>* points,char* filenam
       
       for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
         {
-	  fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
         }
       char tmp[1024];
       sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
diff --git a/zoo-project/zoo-services/cgal/delaunay.c b/zoo-project/zoo-services/cgal/delaunay.c
index 29ae586..cc4e9f2 100644
--- a/zoo-project/zoo-services/cgal/delaunay.c
+++ b/zoo-project/zoo-services/cgal/delaunay.c
@@ -49,12 +49,16 @@ extern "C" {
     /* -------------------------------------------------------------------- */
     /*      Try opening the output datasource as an existing, writable      */
     /* -------------------------------------------------------------------- */
-    OGRDataSource       *poODS;
-    
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+    GDALDriverManager* poR=GetGDALDriverManager();
+    GDALDriver          *poDriver = NULL;
+#else
+    OGRDataSource       *poODS;    
     OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
     OGRSFDriver          *poDriver = NULL;
+#endif
     int                  iDriver;
-
     map *tmpMap=getMapFromMaps(outputs,"Result","mimeType");
     const char *oDriver;
     oDriver="GeoJSON";
@@ -69,9 +73,20 @@ extern "C" {
 	 iDriver++ )
       {
 #ifdef DEBUG
+#if GDAL_VERSION_MAJOR >= 2
+	fprintf(stderr,"D:%s\n",poR->GetDriver(iDriver)->GetDescription());
+#else
 	fprintf(stderr,"D:%s\n",poR->GetDriver(iDriver)->GetName());
 #endif
-	if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver) )
+#endif
+	if( EQUAL(
+#if GDAL_VERSION_MAJOR >= 2
+		  poR->GetDriver(iDriver)->GetDescription()
+#else
+		  poR->GetDriver(iDriver)->GetName()
+#endif
+		  ,
+		  oDriver) )
 	  {
 	    poDriver = poR->GetDriver(iDriver);
 	  }
@@ -85,7 +100,11 @@ extern "C" {
         
 	for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 
 	setMapInMaps(conf,"lenv","message",emessage);
@@ -93,13 +112,18 @@ extern "C" {
 
       }
 
-    if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
-      char emessage[1024];
-      sprintf( emessage,  "%s driver does not support data source creation.\n",
-	       "json" );
-      setMapInMaps(conf,"lenv","message",emessage);
-      return SERVICE_FAILED;
-    }
+#if GDAL_VERSION_MAJOR >=2
+    if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+    if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+      {
+	char emessage[1024];
+	sprintf( emessage,  "%s driver does not support data source creation.\n",
+		 "json" );
+	setMapInMaps(conf,"lenv","message",emessage);
+	return SERVICE_FAILED;
+      }
 
     /* -------------------------------------------------------------------- */
     /*      Create the output data source.                                  */
@@ -107,7 +131,11 @@ extern "C" {
     char *pszDestDataSource=(char*)malloc(100);
     char **papszDSCO=NULL;
     sprintf(pszDestDataSource,"/vsimem/result_%d",getpid());
+#if GDAL_VERSION_MAJOR >=2
+    poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
     poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
     if( poODS == NULL ){
       char emessage[1024];      
       sprintf( emessage,  "%s driver failed to create %s\n", 
diff --git a/zoo-project/zoo-services/cgal/voronoi.c b/zoo-project/zoo-services/cgal/voronoi.c
index 22feb0d..f128ed9 100644
--- a/zoo-project/zoo-services/cgal/voronoi.c
+++ b/zoo-project/zoo-services/cgal/voronoi.c
@@ -66,12 +66,16 @@ extern "C" {
     /* -------------------------------------------------------------------- */
     /*      Try opening the output datasource as an existing, writable      */
     /* -------------------------------------------------------------------- */
-    OGRDataSource       *poODS;
-    
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+    GDALDriverManager* poR=GetGDALDriverManager();
+    GDALDriver          *poDriver = NULL;
+#else
+    OGRDataSource       *poODS;    
     OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
     OGRSFDriver          *poDriver = NULL;
+#endif
     int                  iDriver;
-
     map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
     const char *oDriver;
     oDriver="GeoJSON";
@@ -86,9 +90,20 @@ extern "C" {
 	 iDriver++ )
       {
 #ifdef DEBUG
+#if GDAL_VERSION_MAJOR >= 2
+	fprintf(stderr,"D:%s\n",poR->GetDriver(iDriver)->GetDescription());
+#else
 	fprintf(stderr,"D:%s\n",poR->GetDriver(iDriver)->GetName());
 #endif
-	if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver) )
+#endif
+	if( EQUAL(
+#if GDAL_VERSION_MAJOR >= 2
+		  poR->GetDriver(iDriver)->GetDescription()
+#else
+		  poR->GetDriver(iDriver)->GetName()
+#endif
+		  ,
+		  oDriver) )
 	  {
 	    poDriver = poR->GetDriver(iDriver);
 	  }
@@ -102,7 +117,11 @@ extern "C" {
         
 	for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 
 	setMapInMaps(conf,"lenv","message",emessage);
@@ -110,13 +129,18 @@ extern "C" {
 
       }
 
-    if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
-      char emessage[1024];
-      sprintf( emessage,  "%s driver does not support data source creation.\n",
-	       "json" );
-      setMapInMaps(conf,"lenv","message",emessage);
-      return SERVICE_FAILED;
-    }
+#if GDAL_VERSION_MAJOR >=2
+    if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+    if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+      {
+	char emessage[1024];
+	sprintf( emessage,  "%s driver does not support data source creation.\n",
+		 "json" );
+	setMapInMaps(conf,"lenv","message",emessage);
+	return SERVICE_FAILED;
+      }
 
     /* -------------------------------------------------------------------- */
     /*      Create the output data source.                                  */
@@ -125,7 +149,11 @@ extern "C" {
     char *pszDestDataSource=(char*)malloc(100);
     char **papszDSCO=NULL;
     sprintf(pszDestDataSource,"/vsimem/result_%d.json",tpath->value,getpid());
+#if GDAL_VERSION_MAJOR >=2
+    poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
     poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
     if( poODS == NULL ){
       char emessage[1024];      
       sprintf( emessage,  "%s driver failed to create %s\n", 
diff --git a/zoo-project/zoo-services/data-api/__init__.py b/zoo-project/zoo-services/data-api/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/zoo-project/zoo-services/data-api/cgi-env/__init__.py b/zoo-project/zoo-services/data-api/cgi-env/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/zoo-project/zoo-services/data-api/cgi-env/query.zcfg b/zoo-project/zoo-services/data-api/cgi-env/query.zcfg
new file mode 100644
index 0000000..44326dd
--- /dev/null
+++ b/zoo-project/zoo-services/data-api/cgi-env/query.zcfg
@@ -0,0 +1,30 @@
+[query]
+ Title = Execute a query using DataAPI
+ Abstract = Execute a query through DataAPI.
+ processVersion = 2
+ storeSupported = true
+ statusSupported = true
+ serviceProvider = service
+ serviceType = Python
+ <DataInputs>
+  [query]
+   Title = JSON Query
+   Abstract = The query to be executed in JSON format.
+   minOccurs = 1
+   maxOccurs = 1
+   <LiteralData>
+    dataType = string
+    <Default />
+   </LiteralData>
+ </DataInputs>
+ <DataOutputs>
+  [Result]
+   Title = Response
+   Abstract = The response to the DataAPI query.
+   <ComplexData>
+    <Default>
+    mimeType = application/json
+    encoding = utf-8
+    </Default>
+   </ComplexData>
+ </DataOutputs>
diff --git a/zoo-project/zoo-services/data-api/cgi-env/service.py b/zoo-project/zoo-services/data-api/cgi-env/service.py
new file mode 100644
index 0000000..2661b0e
--- /dev/null
+++ b/zoo-project/zoo-services/data-api/cgi-env/service.py
@@ -0,0 +1,54 @@
+#!/usr/bin/python
+
+import zoo
+
+import logging
+import logging.config
+import sys
+import errno
+import os
+import json
+import geojson
+import csv
+import argparse
+
+from publicamundi.data.api import *
+
+ERROR_OK = 0
+ERROR_UNKNOWN = 1
+
+def configure_logging(filename):
+    if filename is None:
+        print 'Logging is not configured.'
+    else:
+        logging.config.fileConfig(filename)
+
+def parse_query(filename, text):
+    if not filename is None and os.path.isfile(filename):
+        with open(filename) as query_file:    
+            return json.load(query_file, cls=ShapelyJsonDecoder, encoding='utf-8')
+    if not text is None:
+        return json.loads(text, cls=ShapelyJsonDecoder, encoding='utf-8')
+        
+    return {}
+
+def query(conf,inputs,outputs):    
+    config = {
+        CONFIG_SQL_CATALOG : conf["data-api"]["catalog"],
+        CONFIG_SQL_DATA : conf["data-api"]["vectorstore"],
+        CONFIG_SQL_TIMEOUT : int(conf["data-api"]["timeout"]) * 1000
+    }
+
+    if inputs.keys().count("timeout")>0:
+        config["CONFIG_SQL_TIMEOUT"]=int(inputs["timeout"]["value"]) * 1000
+    
+    metadata = {}
+
+    configure_logging(conf["lenv"]["cwd"]+"/"+conf["lenv"]["metapath"]+"/service.ini")
+    
+    query_executor = QueryExecutor()
+    result = query_executor.execute(config, parse_query(None,inputs["query"]["value"]) )
+    
+    outputs["Result"]["value"]=geojson.dumps(result['data'][0], cls=ShapelyGeoJsonEncoder, encoding='utf-8')
+    return zoo.SERVICE_SUCCEEDED
+        
diff --git a/zoo-project/zoo-services/data-api/query.zcfg b/zoo-project/zoo-services/data-api/query.zcfg
new file mode 100644
index 0000000..44326dd
--- /dev/null
+++ b/zoo-project/zoo-services/data-api/query.zcfg
@@ -0,0 +1,30 @@
+[query]
+ Title = Execute a query using DataAPI
+ Abstract = Execute a query through DataAPI.
+ processVersion = 2
+ storeSupported = true
+ statusSupported = true
+ serviceProvider = service
+ serviceType = Python
+ <DataInputs>
+  [query]
+   Title = JSON Query
+   Abstract = The query to be executed in JSON format.
+   minOccurs = 1
+   maxOccurs = 1
+   <LiteralData>
+    dataType = string
+    <Default />
+   </LiteralData>
+ </DataInputs>
+ <DataOutputs>
+  [Result]
+   Title = Response
+   Abstract = The response to the DataAPI query.
+   <ComplexData>
+    <Default>
+    mimeType = application/json
+    encoding = utf-8
+    </Default>
+   </ComplexData>
+ </DataOutputs>
diff --git a/zoo-project/zoo-services/data-api/service.py b/zoo-project/zoo-services/data-api/service.py
new file mode 100644
index 0000000..2661b0e
--- /dev/null
+++ b/zoo-project/zoo-services/data-api/service.py
@@ -0,0 +1,54 @@
+#!/usr/bin/python
+
+import zoo
+
+import logging
+import logging.config
+import sys
+import errno
+import os
+import json
+import geojson
+import csv
+import argparse
+
+from publicamundi.data.api import *
+
+ERROR_OK = 0
+ERROR_UNKNOWN = 1
+
+def configure_logging(filename):
+    if filename is None:
+        print 'Logging is not configured.'
+    else:
+        logging.config.fileConfig(filename)
+
+def parse_query(filename, text):
+    if not filename is None and os.path.isfile(filename):
+        with open(filename) as query_file:    
+            return json.load(query_file, cls=ShapelyJsonDecoder, encoding='utf-8')
+    if not text is None:
+        return json.loads(text, cls=ShapelyJsonDecoder, encoding='utf-8')
+        
+    return {}
+
+def query(conf,inputs,outputs):    
+    config = {
+        CONFIG_SQL_CATALOG : conf["data-api"]["catalog"],
+        CONFIG_SQL_DATA : conf["data-api"]["vectorstore"],
+        CONFIG_SQL_TIMEOUT : int(conf["data-api"]["timeout"]) * 1000
+    }
+
+    if inputs.keys().count("timeout")>0:
+        config["CONFIG_SQL_TIMEOUT"]=int(inputs["timeout"]["value"]) * 1000
+    
+    metadata = {}
+
+    configure_logging(conf["lenv"]["cwd"]+"/"+conf["lenv"]["metapath"]+"/service.ini")
+    
+    query_executor = QueryExecutor()
+    result = query_executor.execute(config, parse_query(None,inputs["query"]["value"]) )
+    
+    outputs["Result"]["value"]=geojson.dumps(result['data'][0], cls=ShapelyGeoJsonEncoder, encoding='utf-8')
+    return zoo.SERVICE_SUCCEEDED
+        
diff --git a/zoo-project/zoo-services/gdal/contour/Makefile b/zoo-project/zoo-services/gdal/contour/Makefile
index a5a558d..f5f9202 100644
--- a/zoo-project/zoo-services/gdal/contour/Makefile
+++ b/zoo-project/zoo-services/gdal/contour/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/contour_service.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service ${FCGI_LDFLAGS}
 install:
 	install -d ${CGI_DIR}/gdal/contour
 	install cgi-env/* ${CGI_DIR}/gdal/contour
diff --git a/zoo-project/zoo-services/gdal/contour/makefile.vc b/zoo-project/zoo-services/gdal/contour/makefile.vc
index cad41d0..616860b 100644
--- a/zoo-project/zoo-services/gdal/contour/makefile.vc
+++ b/zoo-project/zoo-services/gdal/contour/makefile.vc
@@ -1,21 +1,7 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IF DEFINED(MS_DIR)
-MS_BASE=$(MS_DIR)
-!INCLUDE $(MS_DIR)\nmake.opt
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/contour_service.zo: service.c
 	$(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/vrt -I$(GDAL_DIR)/alg $(CFLAGS) /c service.c
diff --git a/zoo-project/zoo-services/gdal/contour/service.c b/zoo-project/zoo-services/gdal/contour/service.c
index 72e1e95..70f8e5f 100644
--- a/zoo-project/zoo-services/gdal/contour/service.c
+++ b/zoo-project/zoo-services/gdal/contour/service.c
@@ -35,6 +35,7 @@
 #include "ogr_srs_api.h"
 #ifdef ZOO_SERVICE
 #include "service.h"
+#include "service_internal.h"
 #endif
 CPL_CVSID("$Id: gdal_contour.cpp 25643 2013-02-12 13:50:42Z bishop $");
 
@@ -73,6 +74,24 @@ static void Usage(const char* pszErrorMsg = NULL)
     exit( 1 );
 }
 
+#ifdef ZOO_SERVICE
+  int pfnProgress1( double dfComplete, const char *pszMessage, void *pData)
+  {
+    maps* conf=(maps*)pData;
+    map* tmpMap=getMapFromMaps(conf,"lenv","status");
+    char tmpStr[4];
+    sprintf(tmpStr,"%d",(int) (dfComplete*100));
+    if(tmpMap!=NULL && strcmp(tmpMap->value,tmpStr)!=0){
+      if( pszMessage != NULL && strlen(pszMessage)>1){
+	updateStatus(conf,(int) (dfComplete*100), pszMessage);
+      }      
+      else
+	updateStatus(conf,(int) (dfComplete*100), "Processing...");
+    }
+    return TRUE;
+  }
+#endif
+
 /************************************************************************/
 /*                                main()                                */
 /************************************************************************/
@@ -105,9 +124,6 @@ __declspec(dllexport)
     int    nFixedLevelCount = 0;
     const char *pszNewLayerName = "contour";
     int bQuiet = FALSE;
-    GDALProgressFunc pfnProgress = NULL;
-    fprintf(stderr,"DEBUG HELLO %f %d\n",__FILE__,__LINE__);
-    fflush(stderr);
 #ifndef ZOO_SERVICE
     /* Check that we are running against at least GDAL 1.4 */
     /* Note to developers : if we use newer API, please change the requirement */
@@ -261,9 +277,9 @@ __declspec(dllexport)
         Usage("Missing destination filename.");
     }
     
-    if (!bQuiet)
-        pfnProgress = GDALTermProgress;
-
+    /*if (!bQuiet)
+      pfnProgress = GDALTermProgress;*/
+    //pfnProgress = GDALTermProgress;
 /* -------------------------------------------------------------------- */
 /*      Open source raster file.                                        */
 /* -------------------------------------------------------------------- */
@@ -371,7 +387,7 @@ __declspec(dllexport)
                          (pszElevAttrib == NULL) ? -1 :
                                  OGR_FD_GetFieldIndex( OGR_L_GetLayerDefn( hLayer ), 
                                                        pszElevAttrib ), 
-                         pfnProgress, NULL );
+				(GDALProgressFunc)pfnProgress1, conf );
 
     OGR_DS_Destroy( hDS );
     GDALClose( hSrcDS );
diff --git a/zoo-project/zoo-services/gdal/dem/Makefile b/zoo-project/zoo-services/gdal/dem/Makefile
index 219a157..ad73ac5 100644
--- a/zoo-project/zoo-services/gdal/dem/Makefile
+++ b/zoo-project/zoo-services/gdal/dem/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/dem_service.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/gdal/dem
diff --git a/zoo-project/zoo-services/gdal/dem/makefile.vc b/zoo-project/zoo-services/gdal/dem/makefile.vc
index e92552b..0df16de 100644
--- a/zoo-project/zoo-services/gdal/dem/makefile.vc
+++ b/zoo-project/zoo-services/gdal/dem/makefile.vc
@@ -1,19 +1,7 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IFDEF MS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/dem_service.zo: service.c
 	$(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/vrt $(CFLAGS) /c service.c
diff --git a/zoo-project/zoo-services/gdal/grid/Makefile b/zoo-project/zoo-services/gdal/grid/Makefile
index 60a5151..729644a 100644
--- a/zoo-project/zoo-services/gdal/grid/Makefile
+++ b/zoo-project/zoo-services/gdal/grid/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/service.zo: service.c
-	g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/gdal/grid
diff --git a/zoo-project/zoo-services/gdal/grid/makefile.vc b/zoo-project/zoo-services/gdal/grid/makefile.vc
new file mode 100644
index 0000000..4107522
--- /dev/null
+++ b/zoo-project/zoo-services/gdal/grid/makefile.vc
@@ -0,0 +1,11 @@
+TROOT= $(ZOOK_DIR)
+!INCLUDE $(ZOOK_DIR)/nmake.opt
+
+FILES=$(ZOOK_DIR)/libzoo_service.lib
+
+cgi-env/gdal_grid_service.zo: service.c
+	$(CPP)  /DOGR_ENABLED /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/ -I$(GDAL_DIR)/alg/ $(CFLAGS) /c service.c
+	link /dll /out:cgi-env/gdal_grid_service.zo  $(FILES) ./service.obj $(LDFLAGS) /FORCE:MULTIPLE
+
+clean:
+	erase cgi-env\gdal_grid_service.*
diff --git a/zoo-project/zoo-services/gdal/profile/Makefile b/zoo-project/zoo-services/gdal/profile/Makefile
index 0fe82a8..4a522f1 100755
--- a/zoo-project/zoo-services/gdal/profile/Makefile
+++ b/zoo-project/zoo-services/gdal/profile/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/profile_service.zo: service.c
-	g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/gdal/profile
diff --git a/zoo-project/zoo-services/gdal/profile/makefile.vc b/zoo-project/zoo-services/gdal/profile/makefile.vc
index a9efa01..6a69a06 100644
--- a/zoo-project/zoo-services/gdal/profile/makefile.vc
+++ b/zoo-project/zoo-services/gdal/profile/makefile.vc
@@ -1,23 +1,11 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)/nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IFDEF MS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/profile_service.zo: service.c
 	$(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/ $(CFLAGS) /c service.c
 	link /dll /out:cgi-env/profile_service.zo  $(FILES) ./service.obj $(LDFLAGS) /FORCE:MULTIPLE
 
 clean:
-	erase cgi-env\gdal_service.*
+	erase cgi-env\profile_service.*
diff --git a/zoo-project/zoo-services/gdal/translate/Makefile b/zoo-project/zoo-services/gdal/translate/Makefile
index ebfe32e..6ae0aed 100644
--- a/zoo-project/zoo-services/gdal/translate/Makefile
+++ b/zoo-project/zoo-services/gdal/translate/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/translate_service.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/gdal/translate
diff --git a/zoo-project/zoo-services/gdal/translate/makefile.vc b/zoo-project/zoo-services/gdal/translate/makefile.vc
index c296b48..4d068ec 100644
--- a/zoo-project/zoo-services/gdal/translate/makefile.vc
+++ b/zoo-project/zoo-services/gdal/translate/makefile.vc
@@ -1,19 +1,7 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)/nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IFDEF MS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/translate_service.zo: service.c
 	$(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/vrt $(CFLAGS) /c service.c
diff --git a/zoo-project/zoo-services/gdal/warp/Makefile b/zoo-project/zoo-services/gdal/warp/Makefile
index f251075..86161b5 100644
--- a/zoo-project/zoo-services/gdal/warp/Makefile
+++ b/zoo-project/zoo-services/gdal/warp/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/warp_service.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/gdal/warp
diff --git a/zoo-project/zoo-services/gdal/warp/makefile.vc b/zoo-project/zoo-services/gdal/warp/makefile.vc
index 269a2b0..b104bdc 100644
--- a/zoo-project/zoo-services/gdal/warp/makefile.vc
+++ b/zoo-project/zoo-services/gdal/warp/makefile.vc
@@ -1,19 +1,7 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)/nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IFDEF MS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/warp_service.zo: service.c
 	$(CPP)  /DOGR_ENABLED /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/ -I$(GDAL_DIR)/alg/ $(CFLAGS) /c service.c
diff --git a/zoo-project/zoo-services/hello-java/HelloJava.java b/zoo-project/zoo-services/hello-java/HelloJava.java
index 9680fa1..f13958e 100644
--- a/zoo-project/zoo-services/hello-java/HelloJava.java
+++ b/zoo-project/zoo-services/hello-java/HelloJava.java
@@ -24,13 +24,14 @@
 
 import java.lang.*;
 import java.util.*;
+import org.zoo_project.*;
 
 public class HelloJava {
     public static int HelloWorldJava(HashMap conf,HashMap inputs, HashMap outputs) {
         HashMap tmp=(HashMap)(inputs.get("S"));
         String v=tmp.get("value").toString();
         HashMap hm1 = (HashMap)(outputs.get("Result"));
-        hm1.put("value",ZOO._("Hello "+v+" from JAVA World !!"));
+        hm1.put("value",ZOO.translate("Hello "+v+" from JAVA World !!"));
         return ZOO.SERVICE_SUCCEEDED;
     }
     public static int JavaLongProcess(HashMap conf,HashMap inputs, HashMap outputs) {
@@ -46,7 +47,7 @@ public class HelloJava {
 	    }
 	}
         HashMap hm1 = (HashMap)(outputs.get("Result"));
-        hm1.put("value",ZOO._("Hello "+v+" from JAVA World !!"));
+        hm1.put("value",ZOO.translate("Hello "+v+" from JAVA World !!"));
         return ZOO.SERVICE_SUCCEEDED;
     }
 }
diff --git a/zoo-project/zoo-services/hello-py/cgi-env/test_service.py b/zoo-project/zoo-services/hello-py/cgi-env/test_service.py
index be35875..a927651 100644
--- a/zoo-project/zoo-services/hello-py/cgi-env/test_service.py
+++ b/zoo-project/zoo-services/hello-py/cgi-env/test_service.py
@@ -29,3 +29,10 @@ def HelloPy(conf,inputs,outputs):
 	outputs["Result"]["value"]="Hello "+inputs["a"]["value"]+" from Python World !"
 	return zoo.SERVICE_SUCCEEDED
 
+def geopaposm(conf,inputs,outputs):
+	outputs["result"]["value"]=inputs["inputvector"]["value"]
+	return zoo.SERVICE_SUCCEEDED
+    
+def publish(conf,inputs,outputs):
+    outputs["Result"]["value"]=inputs["in"]["value"]
+    return zoo.SERVICE_SUCCEEDED
diff --git a/zoo-project/zoo-services/ogr/base-vect-ops/Makefile b/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
index ef6c150..92043ce 100644
--- a/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
+++ b/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
@@ -9,7 +9,7 @@ else
 endif
 
 cgi-env/ogr_service.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} -lfcgi  -lpthread -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} -lfcgi  -lpthread -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/ogr/base-vect-ops
diff --git a/zoo-project/zoo-services/ogr/base-vect-ops/makefile.vc b/zoo-project/zoo-services/ogr/base-vect-ops/makefile.vc
index 5936fa6..928a855 100644
--- a/zoo-project/zoo-services/ogr/base-vect-ops/makefile.vc
+++ b/zoo-project/zoo-services/ogr/base-vect-ops/makefile.vc
@@ -1,25 +1,12 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)/nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 
-!IFDEF JS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
-!ENDIF
-!IFDEF JDK_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
-!ENDIF
-!IFDEF PY_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
-!ENDIF
-!IFDEF MS_DIR
-FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
-!ENDIF
+FILES=$(ZOOK_DIR)/libzoo_service.lib
 
 cgi-env/ogr_service.zo: service.c
 	$(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/ $(CFLAGS) /c service.c
-	link /dll /out:cgi-env/ogr_service.zo  $(FILES) ./service.obj $(LDFLAGS) $(GEOS_DIR)/src/geos_c_i.lib /FORCE:MULTIPLE
+	link /dll /out:cgi-env/ogr_service.zo  ./service.obj $(FILES) $(LDFLAGS) $(GEOS_DIR)/lib/geos_c.lib /FORCE:MULTIPLE
 
 clean:
 	erase cgi-env\ogr_service.*
 
-#	link /dll /out:cgi-env/ogr_service.zo ../../../zoo-kernel/service_internal.obj ./service.obj -L$(TOOLS)/lib/libssl32.dll.a $(GEODIR)/lib/libxml2.lib $(GEODIR)/lib/gdal_i.lib $(GEODIR)/lib/geos_c_i.lib $(TPATH)/lib/libeay32.dll.a $(TPATH)/lib/libcrypto.a $(TPATH)/lib/libssl32.dll.a $(LIBINTL_CPATH)/lib/libintl.lib 
diff --git a/zoo-project/zoo-services/ogr/base-vect-ops/service.c b/zoo-project/zoo-services/ogr/base-vect-ops/service.c
index 02d39cc..c830d05 100644
--- a/zoo-project/zoo-services/ogr/base-vect-ops/service.c
+++ b/zoo-project/zoo-services/ogr/base-vect-ops/service.c
@@ -25,6 +25,9 @@
 #include "cpl_conv.h"
 #include "ogr_api.h"
 #include "ogr_geometry.h"
+#if GDAL_VERSION_MAJOR >= 2
+#include <gdal_priv.h>
+#endif
 
 #include "cpl_minixml.h"
 #include "ogr_api.h"
@@ -40,11 +43,12 @@ extern "C" {
 #include <libxml/xpath.h>
 #include <libxml/xpathInternals.h>
 
-#include <openssl/sha.h>
+/*#include <openssl/sha.h>
 #include <openssl/hmac.h>
 #include <openssl/evp.h>
 #include <openssl/bio.h>
 #include <openssl/buffer.h>
+*/
 
   void printExceptionReportResponse(maps*,map*);
   char *base64(const char *input, int length);
@@ -118,7 +122,11 @@ extern "C" {
     OGRGeometry *res;
     OGRLayer *poDstLayer;
     const char *oDriver1;
-    OGRDataSource       *poODS;
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+#else
+    OGRDataSource *poODS;
+#endif
     map* tmp=getMapFromMaps(inputs,"InputPolygon","value");
     if(!tmp){
       setMapInMaps(conf,"lenv","message",_ss("Unable to parse the input geometry from InputPolygon"));
@@ -137,19 +145,34 @@ extern "C" {
     }
     VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
     VSIFCloseL(ifile);
-    OGRDataSource* ipoDS = OGRSFDriverRegistrar::Open(filename,FALSE);
+
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *ipoDS =
+	(GDALDataset*) GDALOpenEx( filename,
+				   GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				   NULL, NULL, NULL );
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* ipoDS = 
+	OGRSFDriverRegistrar::Open(filename,FALSE);
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
     char pszDestDataSource[100];
     if( ipoDS == NULL )
       {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
-	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
 		 filename );
 	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
 	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
@@ -172,9 +195,7 @@ extern "C" {
 	  }
 	
 	OGRFeature  *poFeature;
-	
-	OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
-	OGRSFDriver          *poDriver = NULL;
+
 	int                  iDriver;
 	
 	map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
@@ -191,7 +212,11 @@ extern "C" {
 	     iDriver < poR->GetDriverCount() && poDriver == NULL;
 	     iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >=2
+	    if( EQUAL(poR->GetDriver(iDriver)->GetDescription(),oDriver1) )
+#else
 	    if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver1) )
+#endif
 	      {
 		poDriver = poR->GetDriver(iDriver);
 	      }
@@ -205,7 +230,11 @@ extern "C" {
 	    
 	    for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	      {
+#if GDAL_VERSION_MAJOR >=2
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 	      }
 	    
 	    setMapInMaps(conf,"lenv","message",emessage);
@@ -213,16 +242,25 @@ extern "C" {
 	    
 	  }
 	
-	if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
-	  char emessage[1024];
-	  sprintf( emessage,  "%s driver does not support data source creation.\n",
-		   "json" );
-	  setMapInMaps(conf,"lenv","message",emessage);
-	  return SERVICE_FAILED;
-	}
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+	  {
+	    char emessage[1024];
+	    sprintf( emessage,  "%s driver does not support data source creation.\n",
+	      "json" );
+	    setMapInMaps(conf,"lenv","message",emessage);
+	    return SERVICE_FAILED;
+	  }
 	
 	char **papszDSCO=NULL;
+#if GDAL_VERSION_MAJOR >=2
+        poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
 	poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
 	if( poODS == NULL ){
 	  char emessage[1024];      
 	  sprintf( emessage,  "%s driver failed to create %s\n", 
@@ -325,18 +363,23 @@ extern "C" {
     free(res1);
 
     OGRCleanupAll();
+    dumpMaps(outputs);
     return SERVICE_SUCCEEDED;
 
 }
 
-  int applyOne(maps*& conf,maps*& inputs,maps*& outputs,OGRGeometry* (OGRGeometry::*myFunc)() const,const char* schema){
+int applyOne(maps*& conf,maps*& inputs,maps*& outputs,OGRGeometry* (OGRGeometry::*myFunc)() const,const char* schema){
     OGRRegisterAll();
 
     maps* cursor=inputs;
     OGRGeometryH geometry,res;
     OGRLayer *poDstLayer;
     const char *oDriver1;
-    OGRDataSource       *poODS;
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+#else
+    OGRDataSource *poODS;
+#endif
     map* tmp=getMapFromMaps(inputs,"InputPolygon","value");
     if(!tmp){
       setMapInMaps(conf,"lenv","message",_ss("Unable to parse the input geometry from InputPolygon"));
@@ -355,25 +398,42 @@ extern "C" {
     }
     VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
     VSIFCloseL(ifile);
-    OGRDataSource* ipoDS = OGRSFDriverRegistrar::Open(filename,FALSE);
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *ipoDS =
+      (GDALDataset*) GDALOpenEx( filename,
+				 GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				 NULL, NULL, NULL );
+    GDALDriverManager* poR=GetGDALDriverManager();
+    GDALDriver          *poDriver = NULL;
+#else
+    OGRDataSource* ipoDS = 
+      OGRSFDriverRegistrar::Open(filename,FALSE);
+    OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+    OGRSFDriver          *poDriver = NULL;
+#endif
     char pszDestDataSource[100];
     if( ipoDS == NULL )
       {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
-	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
 		 filename );
-	
+	char emessage[1024];	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
-	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#if GDAL_VERSION_MAJOR >=2
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+		fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+		fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
-	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
+	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.\n%s",filename,emessage);
 	setMapInMaps(conf,"lenv","message",tmp);
 	return SERVICE_FAILED;
       }
+
     for( int iLayer = 0; iLayer < ipoDS->GetLayerCount();
 	 iLayer++ )
       {
@@ -395,8 +455,6 @@ extern "C" {
 	/*      Try opening the output datasource as an existing, writable      */
 	/* -------------------------------------------------------------------- */
 	
-	OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
-	OGRSFDriver          *poDriver = NULL;
 	int                  iDriver;
 	
 	map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
@@ -413,7 +471,14 @@ extern "C" {
 	     iDriver < poR->GetDriverCount() && poDriver == NULL;
 	     iDriver++ )
 	  {
-	    if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver1) )
+
+	    if( EQUAL(
+#if GDAL_VERSION_MAJOR >=2
+		      poR->GetDriver(iDriver)->GetDescription()
+#else
+		      poR->GetDriver(iDriver)->GetName()
+#endif
+		      ,oDriver1) )
 	      {
 		poDriver = poR->GetDriver(iDriver);
 	      }
@@ -424,10 +489,13 @@ extern "C" {
 	    char emessage[8192];
 	    sprintf( emessage, "Unable to find driver `%s'.\n", oDriver );
 	    sprintf( emessage,  "%sThe following drivers are available:\n",emessage );
-	    
-	    for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
+	    for( iDriver = 0;iDriver < poR->GetDriverCount();iDriver++ )	    
 	      {
+#if GDAL_VERSION_MAJOR >=2
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 	      }
 	    
 	    setMapInMaps(conf,"lenv","message",emessage);
@@ -435,7 +503,12 @@ extern "C" {
 	    
 	  }
 	
-	if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+	{
 	  char emessage[1024];
 	  sprintf( emessage,  "%s driver does not support data source creation.\n",
 		   "json" );
@@ -448,7 +521,11 @@ extern "C" {
 	/* -------------------------------------------------------------------- */
 	//map* tpath=getMapFromMaps(conf,"main","tmpPath");
 	char **papszDSCO=NULL;
+#if GDAL_VERSION_MAJOR >=2
+        poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
 	poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
 	if( poODS == NULL ){
 	  char emessage[1024];      
 	  sprintf( emessage,  "%s driver failed to create %s\n", 
@@ -470,7 +547,6 @@ extern "C" {
 	    return SERVICE_FAILED;
 	  }
 	
-	//CPLErrorReset();
 	
 	poDstLayer = poODS->CreateLayer( "Result", NULL,wkbUnknown,NULL);
 	if( poDstLayer == NULL ){
@@ -565,7 +641,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     OGRGeometryH geometry,res;
     OGRLayer *poDstLayer;
     const char *oDriver1;
-    OGRDataSource       *poODS;
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+#else
+    OGRDataSource *poODS;
+#endif
     map* tmp=getMapFromMaps(inputs,"InputPolygon","value");
     if(!tmp){
       setMapInMaps(conf,"lenv","message",_ss("Unable to parse the input geometry from InputPolygon"));
@@ -584,11 +664,22 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     }
     VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
     VSIFCloseL(ifile);
-    OGRDataSource* ipoDS = OGRSFDriverRegistrar::Open(filename,FALSE);
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *ipoDS =
+	(GDALDataset*) GDALOpenEx( filename,
+				   GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				   NULL, NULL, NULL );
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* ipoDS = 
+	OGRSFDriverRegistrar::Open(filename,FALSE);
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
     char pszDestDataSource[100];
     if( ipoDS == NULL )
       {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
 	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
@@ -596,7 +687,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
 	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
@@ -624,8 +719,6 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	/*      Try opening the output datasource as an existing, writable      */
 	/* -------------------------------------------------------------------- */
 	
-	OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
-	OGRSFDriver          *poDriver = NULL;
 	int                  iDriver;
 	
 	map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
@@ -642,7 +735,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	     iDriver < poR->GetDriverCount() && poDriver == NULL;
 	     iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >=2
+	    if( EQUAL(poR->GetDriver(iDriver)->GetDescription(),oDriver1) )
+#else
 	    if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver1) )
+#endif
 	      {
 		poDriver = poR->GetDriver(iDriver);
 	      }
@@ -656,7 +753,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	    
 	    for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	      {
+#if GDAL_VERSION_MAJOR >=2
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 	      }
 	    
 	    setMapInMaps(conf,"lenv","message",emessage);
@@ -664,7 +765,12 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	    
 	  }
 	
-	if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+	{
 	  char emessage[1024];
 	  sprintf( emessage,  "%s driver does not support data source creation.\n",
 		   "json" );
@@ -677,7 +783,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	/* -------------------------------------------------------------------- */
 	//map* tpath=getMapFromMaps(conf,"main","tmpPath");
 	char **papszDSCO=NULL;
+#if GDAL_VERSION_MAJOR >=2
+        poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
 	poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
 	if( poODS == NULL ){
 	  char emessage[1024];      
 	  sprintf( emessage,  "%s driver failed to create %s\n", 
@@ -778,6 +888,261 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 #ifdef WIN32
   __declspec(dllexport)
 #endif
+int Centroid(maps*& conf,maps*& inputs,maps*& outputs){
+    OGRRegisterAll();
+
+    maps* cursor=inputs;
+    OGRGeometryH geometry,res;
+    OGRLayer *poDstLayer;
+    const char *oDriver1;
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+#else
+    OGRDataSource *poODS;
+#endif
+    map* tmp=getMapFromMaps(inputs,"InputPolygon","value");
+    if(!tmp){
+      setMapInMaps(conf,"lenv","message",_ss("Unable to parse the input geometry from InputPolygon"));
+      return SERVICE_FAILED;
+    }
+    char filename[1024];
+    map* tmp1=getMapFromMaps(inputs,"InputPolygon","mimeType");
+    const char *oDriver;
+    oDriver="GeoJSON";
+    sprintf(filename,"/vsimem/input_%d.json",getpid());
+    if(tmp1!=NULL){
+      if(strcmp(tmp1->value,"text/xml")==0){
+	sprintf(filename,"/vsimem/input_%d.xml",getpid());
+	oDriver="GML";
+      }
+    }
+    VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
+    VSIFCloseL(ifile);
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *ipoDS =
+	(GDALDataset*) GDALOpenEx( filename,
+				   GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				   NULL, NULL, NULL );
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* ipoDS = 
+	OGRSFDriverRegistrar::Open(filename,FALSE);
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
+    char pszDestDataSource[100];
+    if( ipoDS == NULL )
+      {
+	
+	fprintf( stderr, "FAILURE:\n"
+		 "Unable to open datasource `%s' with the following drivers.\n",
+		 filename );
+	
+	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
+	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
+	  }
+	char tmp[1024];
+	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
+	setMapInMaps(conf,"lenv","message",tmp);
+	return SERVICE_FAILED;
+      }
+    for( int iLayer = 0; iLayer < ipoDS->GetLayerCount();
+	 iLayer++ )
+      {
+	OGRLayer        *poLayer = ipoDS->GetLayer(iLayer);
+	
+	if( poLayer == NULL )
+	  {
+	    fprintf( stderr, "FAILURE: Couldn't fetch advertised layer %d!\n",
+		     iLayer );
+	    char tmp[1024];
+	    sprintf(tmp,"Couldn't fetch advertised layer %d!",iLayer);
+	    setMapInMaps(conf,"lenv","message",tmp);
+	    return SERVICE_FAILED;
+	  }
+	
+	OGRFeature  *poFeature;
+
+	/* -------------------------------------------------------------------- */
+	/*      Try opening the output datasource as an existing, writable      */
+	/* -------------------------------------------------------------------- */
+	
+	int                  iDriver;
+	
+	map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
+	oDriver1="GeoJSON";
+	sprintf(pszDestDataSource,"/vsimem/result_%d.json",getpid());
+	if(tmpMap!=NULL){
+	  if(strcmp(tmpMap->value,"text/xml")==0){
+	    sprintf(pszDestDataSource,"/vsimem/result_%d.xml",getpid());
+	    oDriver1="GML";
+	  }
+	}
+	
+	for( iDriver = 0;
+	     iDriver < poR->GetDriverCount() && poDriver == NULL;
+	     iDriver++ )
+	  {
+#if GDAL_VERSION_MAJOR >=2
+	    if( EQUAL(poR->GetDriver(iDriver)->GetDescription(),oDriver1) )
+#else
+	    if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver1) )
+#endif
+	      {
+		poDriver = poR->GetDriver(iDriver);
+	      }
+	  }
+	
+	if( poDriver == NULL )
+	  {
+	    char emessage[8192];
+	    sprintf( emessage, "Unable to find driver `%s'.\n", oDriver );
+	    sprintf( emessage,  "%sThe following drivers are available:\n",emessage );
+	    
+	    for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
+	      {
+#if GDAL_VERSION_MAJOR >=2
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
+		sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
+	      }
+	    
+	    setMapInMaps(conf,"lenv","message",emessage);
+	    return SERVICE_FAILED;
+	    
+	  }
+	
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+	{
+	  char emessage[1024];
+	  sprintf( emessage,  "%s driver does not support data source creation.\n",
+		   "json" );
+	  setMapInMaps(conf,"lenv","message",emessage);
+	  return SERVICE_FAILED;
+	}
+	
+	/* -------------------------------------------------------------------- */
+	/*      Create the output data source.                                  */
+	/* -------------------------------------------------------------------- */
+	//map* tpath=getMapFromMaps(conf,"main","tmpPath");
+	char **papszDSCO=NULL;
+#if GDAL_VERSION_MAJOR >=2
+        poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
+	poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
+	if( poODS == NULL ){
+	  char emessage[1024];      
+	  sprintf( emessage,  "%s driver failed to create %s\n", 
+		   "json", pszDestDataSource );
+	  setMapInMaps(conf,"lenv","message",emessage);
+	  return SERVICE_FAILED;
+	}
+	
+	/* -------------------------------------------------------------------- */
+	/*      Create the layer.                                               */
+	/* -------------------------------------------------------------------- */
+	if( !poODS->TestCapability( ODsCCreateLayer ) )
+	  {
+	    char emessage[1024];
+	    sprintf( emessage, 
+		     "Layer %s not found, and CreateLayer not supported by driver.", 
+		     "Result" );
+	    setMapInMaps(conf,"lenv","message",emessage);
+	    return SERVICE_FAILED;
+	  }
+
+	poDstLayer = poODS->CreateLayer( "Result", NULL,wkbUnknown,NULL);
+	if( poDstLayer == NULL ){
+	  setMapInMaps(conf,"lenv","message","Layer creation failed.\n");
+	  return SERVICE_FAILED;
+	}
+	
+	OGRFeatureDefn *poFDefn = poLayer->GetLayerDefn();
+	int iField;
+	int hasMmField=0;
+	
+	for( iField = 0; iField < poFDefn->GetFieldCount(); iField++ )
+	  {
+	    OGRFieldDefn *tmp=poFDefn->GetFieldDefn(iField);
+            if (iField >= 0)
+                poDstLayer->CreateField( poFDefn->GetFieldDefn(iField) );
+            else
+            {
+                fprintf( stderr, "Field '%s' not found in source layer.\n", 
+                        iField );
+		return SERVICE_FAILED;
+            }
+	  }
+
+	while(TRUE){
+	  OGRFeature      *poDstFeature = NULL;
+	  poFeature = poLayer->GetNextFeature();
+	  if( poFeature == NULL )
+	    break;
+	  if(poFeature->GetGeometryRef() != NULL){
+	    poDstFeature = OGRFeature::CreateFeature( poDstLayer->GetLayerDefn() );
+	    if( poDstFeature->SetFrom( poFeature, TRUE ) != OGRERR_NONE )
+	      {
+		char tmpMsg[1024];
+		sprintf( tmpMsg,"Unable to translate feature %ld from layer %s.\n",
+			 poFeature->GetFID(), poFDefn->GetName() );
+		
+		OGRFeature::DestroyFeature( poFeature );
+		OGRFeature::DestroyFeature( poDstFeature );
+		return SERVICE_FAILED;
+	      }
+	    OGRPoint* poPoint=new OGRPoint();
+	    poDstFeature->GetGeometryRef()->Centroid(poPoint);
+	    if(poDstFeature->SetGeometryDirectly(poPoint)!= OGRERR_NONE ){
+	      char tmpMsg[1024];
+	      sprintf( tmpMsg,"Unable to translate feature %ld from layer %s.\n",
+		       poFeature->GetFID(), poFDefn->GetName() );
+	      
+	      OGRFeature::DestroyFeature( poFeature );
+	      OGRFeature::DestroyFeature( poDstFeature );
+	      return SERVICE_FAILED;
+	    }
+	    OGRFeature::DestroyFeature( poFeature );
+	    if( poDstLayer->CreateFeature( poDstFeature ) != OGRERR_NONE )
+	      {		
+		OGRFeature::DestroyFeature( poDstFeature );
+		return SERVICE_FAILED;
+	      }
+	    OGRFeature::DestroyFeature( poDstFeature );
+	  }
+	}
+
+      }
+
+    delete poODS;
+    delete ipoDS;
+
+    char *res1=readVSIFile(conf,pszDestDataSource);
+    if(res1==NULL)
+      return SERVICE_FAILED;
+    setMapInMaps(outputs,"Result","value",res1);
+    free(res1);
+
+    OGRCleanupAll();
+    return SERVICE_SUCCEEDED;
+
+}
+
+#ifdef WIN32
+  __declspec(dllexport)
+#endif
   int Boundary(maps*& conf,maps*& inputs,maps*& outputs){
     return applyOne(conf,inputs,outputs,&OGRGeometry::Boundary,"http://fooa/gml/3.1.0/polygon.xsd");
   }
@@ -789,8 +1154,12 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     return applyOne(conf,inputs,outputs,&OGRGeometry::ConvexHull,"http://fooa/gml/3.1.0/polygon.xsd");
   }
 
-
-  OGRDataSource* loadEntity(maps* conf,maps* inputs,char **filename,const char **oDriver,const char *entity,int iter){
+#if GDAL_VERSION_MAJOR >= 2
+GDALDataset*
+#else
+OGRDataSource* 
+#endif
+  loadEntity(maps* conf,maps* inputs,char **filename,const char **oDriver,const char *entity,int iter){
     map* tmp=getMapFromMaps(inputs,entity,"value");
     map* tmp1=getMapFromMaps(inputs,entity,"mimeType");
     *oDriver="GeoJSON";
@@ -803,7 +1172,13 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     }
     VSILFILE *ifile=VSIFileFromMemBuffer(*filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
     VSIFCloseL(ifile);
+#if GDAL_VERSION_MAJOR >= 2
+    return (GDALDataset*) GDALOpenEx( *filename,
+				      GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				      NULL, NULL, NULL );
+#else
     return OGRSFDriverRegistrar::Open(*filename,FALSE);    
+#endif
   }
 
   int applyOneBool(maps*& conf,maps*& inputs,maps*& outputs,OGRBoolean (OGRGeometry::*myFunc)() const){
@@ -838,19 +1213,34 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     }
     VSILFILE *ifile=VSIFileFromMemBuffer(filename,(GByte*)tmp->value,strlen(tmp->value),FALSE);
     VSIFCloseL(ifile);
-    OGRDataSource* ipoDS = OGRSFDriverRegistrar::Open(filename,FALSE);
+
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *ipoDS =
+	(GDALDataset*) GDALOpenEx( filename,
+				   GDAL_OF_READONLY | GDAL_OF_VECTOR,
+				   NULL, NULL, NULL );
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* ipoDS = 
+	OGRSFDriverRegistrar::Open(filename,FALSE);
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
     char pszDestDataSource[100];
     if( ipoDS == NULL )
-      {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
-	
+      {	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
 		 filename );
 	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
 	sprintf(tmp,"Unable to open datasource `%s' with the following drivers.",filename);
@@ -932,23 +1322,39 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     OGRGeometryH geometry,res;
     OGRLayer *poDstLayer;
     //const char *oDriver1;
-    OGRDataSource       *poODS;
 #ifdef DEBUG
     dumpMaps(cursor);
 #endif
 
     char *filename=(char*)malloc(1024*sizeof(char));
     const char *oDriver1;
-    OGRDataSource* ipoDS1 = loadEntity(conf,inputs,&filename,&oDriver1,"InputEntity1",1);
-
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset*
+#else
+    OGRDataSource* 
+#endif
+      ipoDS1 = loadEntity(conf,inputs,&filename,&oDriver1,"InputEntity1",1);
     char *filename1=(char*)malloc(1024*sizeof(char));
     const char *oDriver2;
-    OGRDataSource* ipoDS2 = loadEntity(conf,inputs,&filename1,&oDriver2,"InputEntity2",2);
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset*
+#else
+    OGRDataSource* 
+#endif
+      ipoDS2 = loadEntity(conf,inputs,&filename1,&oDriver2,"InputEntity2",2);
     const char *oDriver3;
     char pszDestDataSource[100];
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+      GDALDataset *poODS;
+#else
+      OGRDataSource       *poODS;
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
     if( ipoDS1 == NULL || ipoDS2 == NULL )
       {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
 	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
@@ -956,7 +1362,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
 	if( ipoDS1 == NULL )
@@ -1002,8 +1412,6 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 	    /*      Try opening the output datasource as an existing, writable      */
 	    /* -------------------------------------------------------------------- */
 	    
-	    OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
-	    OGRSFDriver          *poDriver = NULL;
 	    int                  iDriver;
 	    
 	    map* tmpMap=getMapFromMaps(outputs,"Result","mimeType");
@@ -1015,15 +1423,16 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 		oDriver3="GML";
 	      }
 	    }
-	    
+
 	    for( iDriver = 0;
 		 iDriver < poR->GetDriverCount() && poDriver == NULL;
 		 iDriver++ )
 	      {
-#ifdef DEBUG
-		fprintf(stderr,"D:%s\n",poR->GetDriver(iDriver)->GetName());
-#endif
+#if GDAL_VERSION_MAJOR >=2
+		if( EQUAL(poR->GetDriver(iDriver)->GetDescription(),oDriver3) )
+#else
 		if( EQUAL(poR->GetDriver(iDriver)->GetName(),oDriver3) )
+#endif
 		  {
 		    poDriver = poR->GetDriver(iDriver);
 		  }
@@ -1037,7 +1446,11 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 		
 		for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 		  {
+#if GDAL_VERSION_MAJOR >= 2
+		    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetDescription() );
+#else
 		    sprintf( emessage,  "%s  -> `%s'\n", emessage, poR->GetDriver(iDriver)->GetName() );
+#endif
 		  }
 		
 		setMapInMaps(conf,"lenv","message",emessage);
@@ -1045,20 +1458,29 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
 		
 	      }
 	    
-	    if( !poDriver->TestCapability( ODrCCreateDataSource ) ){
-	      char emessage[1024];
-	      sprintf( emessage,  "%s driver does not support data source creation.\n",
-		       "json" );
-	      setMapInMaps(conf,"lenv","message",emessage);
-	      return SERVICE_FAILED;
-	    }
+#if GDAL_VERSION_MAJOR >= 2
+	    if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	    if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+	      {
+		char emessage[1024];
+		sprintf( emessage,  "%s driver does not support data source creation.\n",
+			 "json" );
+		setMapInMaps(conf,"lenv","message",emessage);
+		return SERVICE_FAILED;
+	      }
 	    
 	    /* -------------------------------------------------------------------- */
 	    /*      Create the output data source.                                  */
 	    /* -------------------------------------------------------------------- */
 	    //map* tpath=getMapFromMaps(conf,"main","tmpPath");
 	    char **papszDSCO=NULL;
+#if GDAL_VERSION_MAJOR >= 2
+	    poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
 	    poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
 	    if( poODS == NULL ){
 	      char emessage[1024];      
 	      sprintf( emessage,  "%s driver failed to create %s\n", 
@@ -1203,28 +1625,52 @@ int Buffer(maps*& conf,maps*& inputs,maps*& outputs){
     maps* cursor=inputs;
     OGRGeometryH geometry,res;
     OGRLayer *poDstLayer;
-    OGRDataSource       *poODS;
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset *poODS;
+#else
+    OGRDataSource *poODS;
+#endif
 
     char *filename=(char*)malloc(1024*sizeof(char));
     const char *oDriver1;
-    OGRDataSource* ipoDS1 = loadEntity(conf,inputs,&filename,&oDriver1,"InputEntity1",1);
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset*
+#else
+    OGRDataSource*
+#endif
+      ipoDS1 = loadEntity(conf,inputs,&filename,&oDriver1,"InputEntity1",1);
 
     char *filename1=(char*)malloc(1024*sizeof(char));
     const char *oDriver2;
-    OGRDataSource* ipoDS2 = loadEntity(conf,inputs,&filename1,&oDriver2,"InputEntity2",2);
+#if GDAL_VERSION_MAJOR >= 2
+    GDALDataset*
+#else
+    OGRDataSource*
+#endif
+      ipoDS2 = loadEntity(conf,inputs,&filename1,&oDriver2,"InputEntity2",2);
     const char *oDriver3;
     char pszDestDataSource[100];
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
+
     if( ipoDS1 == NULL || ipoDS2 == NULL )
       {
-	OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
-	
 	fprintf( stderr, "FAILURE:\n"
 		 "Unable to open datasource `%s' with the following drivers.\n",
 		 filename );
 	
 	for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
 	  {
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
 	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
 	  }
 	char tmp[1024];
 	if( ipoDS1 == NULL )
diff --git a/zoo-project/zoo-services/ogr/ogr2ogr/Makefile b/zoo-project/zoo-services/ogr/ogr2ogr/Makefile
index 5a02ce0..bfb1e17 100644
--- a/zoo-project/zoo-services/ogr/ogr2ogr/Makefile
+++ b/zoo-project/zoo-services/ogr/ogr2ogr/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-DZOO_SERVICE -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS)
-	g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $<  -o $@ ${GDAL_LIBS} -lzoo_service
+	g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $<  -o $@ ${GDAL_LIBS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}/ogr/ogr2ogr
diff --git a/zoo-project/zoo-services/ogr/ogr2ogr/makefile.vc b/zoo-project/zoo-services/ogr/ogr2ogr/makefile.vc
index c402fc0..097c356 100644
--- a/zoo-project/zoo-services/ogr/ogr2ogr/makefile.vc
+++ b/zoo-project/zoo-services/ogr/ogr2ogr/makefile.vc
@@ -1,11 +1,14 @@
-GEODIR=c:/OSGeo4W/
-TOOLS=c:/Users/djay/GeoLabs/tools/
+TROOT= $(ZOOK_DIR)
+!INCLUDE $(ZOOK_DIR)/nmake.opt
+
+FILES=$(ZOOK_DIR)/libzoo_service.lib
+
 CFLAGS=-I$(GEODIR)/include -I$(TOOLS)/include -I../../../zoo-kernel/ -I./ -DGDAL_1_5_0 -DZOO_SERVICE -DLINUX_FREE_ISSUE -DDEBUG
 CPP=cl /TP 
 
 cgi-env/ogr2ogr_service.zo: service.c
 	$(CPP) $(CFLAGS) /c service.c
-	link /dll /out:cgi-env/ogr2ogr_service.zo ../../../zoo-kernel/service_internal.obj ./service.obj -L$(TOOLS)/lib/libssl32.dll.a $(GEODIR)/lib/libxml2.lib $(GEODIR)/lib/gdal_i.lib $(TOOLS)/lib/libeay32.dll.a $(TOOLS)/lib/libcrypto.a $(TOOLS)/lib/libssl32.dll.a 
+	link /dll /out:cgi-env/ogr2ogr_service.zo ./service.obj  $(FILES) $(LDFLAGS)
 
 clean:
-	rm -f cgi-env/ogr_service.zso
+	rm -f cgi-env/ogr2ogr_service.zso
diff --git a/zoo-project/zoo-services/ogr/ogr2ogr/service.c b/zoo-project/zoo-services/ogr/ogr2ogr/service.c
index 3553d8c..b941d53 100644
--- a/zoo-project/zoo-services/ogr/ogr2ogr/service.c
+++ b/zoo-project/zoo-services/ogr/ogr2ogr/service.c
@@ -32,6 +32,9 @@
 #include "cpl_conv.h"
 #include "cpl_string.h"
 #include "ogr_api.h"
+#if GDAL_VERSION_MAJOR >= 2
+#include <gdal_priv.h>
+#endif
 #ifdef ZOO_SERVICE
 #include "service.h"
 #endif
@@ -49,19 +52,31 @@ extern "C" {
 
 static void Usage();
 
-static int TranslateLayer( OGRDataSource *poSrcDS, 
-                           OGRLayer * poSrcLayer,
-                           OGRDataSource *poDstDS,
-                           char ** papszLSCO,
-                           const char *pszNewLayerName,
-                           int bTransform, 
-                           OGRSpatialReference *poOutputSRS,
-                           OGRSpatialReference *poSourceSRS,
-                           char **papszSelFields,
-                           int bAppend, int eGType,
-                           int bOverwrite,
-                           double dfMaxSegmentLength);
-
+static int TranslateLayer(
+#if GDAL_VERSION_MAJOR >= 2
+			  GDALDataset
+#else 
+			  OGRDataSource 
+#endif
+			  *poSrcDS, 
+			  OGRLayer * poSrcLayer,
+#if GDAL_VERSION_MAJOR >= 2
+			  GDALDataset
+#else 
+			  OGRDataSource 
+#endif
+			  *poDstDS,
+			  char ** papszLSCO,
+			  const char *pszNewLayerName,
+			  int bTransform, 
+			  OGRSpatialReference *poOutputSRS,
+			  OGRSpatialReference *poSourceSRS,
+			  char **papszSelFields,
+			  int bAppend, int eGType,
+			  int bOverwrite,
+			  double dfMaxSegmentLength
+			   );
+  
 static int bSkipFailures = FALSE;
 static int nGroupTransactions = 200;
 static int bPreserveFID = TRUE;
@@ -574,24 +589,34 @@ int main( int nArgc, char ** papszArgv )
 /* -------------------------------------------------------------------- */
 /*      Open data source.                                               */
 /* -------------------------------------------------------------------- */
-    OGRDataSource       *poDS;
-        
-    poDS = OGRSFDriverRegistrar::Open( pszDataSource, FALSE );
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *poDS;
+      GDALDataset *poODS;
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* poDS;
+      OGRDataSource *poODS;
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
 
 /* -------------------------------------------------------------------- */
 /*      Report failure                                                  */
 /* -------------------------------------------------------------------- */
     if( poDS == NULL )
     {
-        OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
-        
         fprintf( stderr, "FAILURE:\n"
                 "Unable to open datasource `%s' with the following drivers.\n",
                 pszDataSource );
 
         for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
         {
-            fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
+	    fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
         }
 #ifdef ZOO_SERVICE
 	char tmp[1024];
@@ -606,11 +631,17 @@ int main( int nArgc, char ** papszArgv )
 /* -------------------------------------------------------------------- */
 /*      Try opening the output datasource as an existing, writable      */
 /* -------------------------------------------------------------------- */
-    OGRDataSource       *poODS;
-    
     if( bUpdate )
     {
-        poODS = OGRSFDriverRegistrar::Open( pszDestDataSource, TRUE );
+        poODS = 
+#if GDAL_VERSION_MAJOR >= 2
+	  (GDALDataset*) GDALOpenEx( pszDestDataSource,
+				     GDAL_OF_UPDATE | GDAL_OF_VECTOR,
+				     NULL, NULL, NULL )
+#else
+	  OGRSFDriverRegistrar::Open( pszDestDataSource, TRUE )
+#endif
+	  ;
         if( poODS == NULL )
         {
             fprintf( stderr, "FAILURE:\n"
@@ -638,15 +669,17 @@ int main( int nArgc, char ** papszArgv )
 /* -------------------------------------------------------------------- */
     else
     {
-        OGRSFDriverRegistrar *poR = OGRSFDriverRegistrar::GetRegistrar();
-        OGRSFDriver          *poDriver = NULL;
         int                  iDriver;
 
         for( iDriver = 0;
              iDriver < poR->GetDriverCount() && poDriver == NULL;
              iDriver++ )
         {
-            if( EQUAL(poR->GetDriver(iDriver)->GetName(),pszFormat) )
+#if GDAL_VERSION_MAJOR >=2
+	    if( EQUAL(poR->GetDriver(iDriver)->GetDescription(),pszFormat) )
+#else
+	    if( EQUAL(poR->GetDriver(iDriver)->GetName(),pszFormat) )
+#endif
             {
                 poDriver = poR->GetDriver(iDriver);
             }
@@ -659,7 +692,11 @@ int main( int nArgc, char ** papszArgv )
         
             for( iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
             {
-                fprintf( stderr,  "  -> `%s'\n", poR->GetDriver(iDriver)->GetName() );
+#if GDAL_VERSION_MAJOR >= 2
+	      fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetDescription() );
+#else
+	      fprintf( stderr, "  -> %s\n", poR->GetDriver(iDriver)->GetName() );
+#endif
             }
 #ifdef ZOO_SERVICE
 	    char tmp[1024];
@@ -671,7 +708,11 @@ int main( int nArgc, char ** papszArgv )
 #endif
         }
 
-        if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
         {
             fprintf( stderr,  "%s driver does not support data source creation.\n",
                     pszFormat );
@@ -688,7 +729,11 @@ int main( int nArgc, char ** papszArgv )
 /* -------------------------------------------------------------------- */
 /*      Create the output data source.                                  */
 /* -------------------------------------------------------------------- */
-        poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#if GDAL_VERSION_MAJOR >=2
+        poODS = poDriver->Create( pszDestDataSource, 0, 0, 0, GDT_Unknown, papszDSCO );
+#else
+	poODS = poDriver->CreateDataSource( pszDestDataSource, papszDSCO );
+#endif
         if( poODS == NULL )
         {
             fprintf( stderr,  "%s driver failed to create %s\n", 
@@ -886,7 +931,17 @@ int main( int nArgc, char ** papszArgv )
 static void Usage()
 
 {
-    OGRSFDriverRegistrar        *poR = OGRSFDriverRegistrar::GetRegistrar();
+#if GDAL_VERSION_MAJOR >= 2
+      GDALDataset *poDS;
+      GDALDataset *poODS;
+      GDALDriverManager* poR=GetGDALDriverManager();
+      GDALDriver          *poDriver = NULL;
+#else
+      OGRDataSource* poDS;
+      OGRDataSource *poODS;
+      OGRSFDriverRegistrar    *poR = OGRSFDriverRegistrar::GetRegistrar();
+      OGRSFDriver          *poDriver = NULL;
+#endif
 
 #ifdef ZOO_SERVICE
 	fprintf(stderr,
@@ -907,10 +962,18 @@ static void Usage()
     
     for( int iDriver = 0; iDriver < poR->GetDriverCount(); iDriver++ )
     {
-        OGRSFDriver *poDriver = poR->GetDriver(iDriver);
+        poDriver = poR->GetDriver(iDriver);
 
-        if( poDriver->TestCapability( ODrCCreateDataSource ) )
-            printf( "     -f \"%s\"\n", poDriver->GetName() );
+#if GDAL_VERSION_MAJOR >=2
+	if( !CPLTestBool( CSLFetchNameValueDef(poDriver->GetMetadata(), GDAL_DCAP_CREATE, "FALSE") ) )
+#else
+	if( !poDriver->TestCapability( ODrCCreateDataSource ) )
+#endif
+#if GDAL_VERSION_MAJOR >= 2
+	    fprintf( stderr, "  -> %s\n", poDriver->GetDescription() );
+#else
+	    fprintf( stderr, "  -> %s\n", poDriver->GetName() );
+#endif
     }
 
 #ifdef ZOO_SERVICE
@@ -961,17 +1024,28 @@ static void Usage()
 /*                           TranslateLayer()                           */
 /************************************************************************/
 
-static int TranslateLayer( OGRDataSource *poSrcDS, 
-                           OGRLayer * poSrcLayer,
-                           OGRDataSource *poDstDS,
-                           char **papszLCO,
-                           const char *pszNewLayerName,
-                           int bTransform, 
-                           OGRSpatialReference *poOutputSRS,
-                           OGRSpatialReference *poSourceSRS,
-                           char **papszSelFields,
-                           int bAppend, int eGType, int bOverwrite,
-                           double dfMaxSegmentLength)
+static int TranslateLayer(
+#if GDAL_VERSION_MAJOR >= 2
+			  GDALDataset
+#else 
+			  OGRDataSource 
+#endif
+			  *poSrcDS, 
+			  OGRLayer * poSrcLayer,
+#if GDAL_VERSION_MAJOR >= 2
+			  GDALDataset
+#else 
+			  OGRDataSource 
+#endif
+			  *poDstDS,
+			  char **papszLCO,
+			  const char *pszNewLayerName,
+			  int bTransform, 
+			  OGRSpatialReference *poOutputSRS,
+			  OGRSpatialReference *poSourceSRS,
+			  char **papszSelFields,
+			  int bAppend, int eGType, int bOverwrite,
+			  double dfMaxSegmentLength)
 		
 {
     OGRLayer    *poDstLayer;
diff --git a/zoo-project/zoo-services/qrencode/Makefile b/zoo-project/zoo-services/qrencode/Makefile
index 710c69e..f38368b 100644
--- a/zoo-project/zoo-services/qrencode/Makefile
+++ b/zoo-project/zoo-services/qrencode/Makefile
@@ -1,10 +1,10 @@
 ZRPATH=../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 CC=gcc
 
 cgi-env/qrencode.zo: qrenc-service.c
-	g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} -lpng ${MACOS_LD_FLAGS}
+	g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} -lpng ${MACOS_LD_FLAGS} -L${INST_LIB} -lzoo_service
 
 clean:
 	rm -f cgi-env/*.zo
diff --git a/zoo-project/zoo-services/qrencode/qrenc-service.c b/zoo-project/zoo-services/qrencode/qrenc-service.c
index f98f40c..ac75bd0 100644
--- a/zoo-project/zoo-services/qrencode/qrenc-service.c
+++ b/zoo-project/zoo-services/qrencode/qrenc-service.c
@@ -24,10 +24,12 @@
 #if HAVE_CONFIG_H
 # include "config.h"
 #endif
+#include "string.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <png.h>
 #include <getopt.h>
+#include "qrencode.h"
 
 #ifdef ZOO_SERVICE_PROVIDER
 #define bzero(b,len) (memset((b), '\0', (len)), (void) 0)
@@ -40,7 +42,6 @@
 #include <unistd.h>
 #endif
 
-#include "qrencode.h"
 
 #define INCHES_PER_METER (100.0/2.54)
 
diff --git a/zoo-project/zoo-services/utils/registry/Makefile b/zoo-project/zoo-services/utils/registry/Makefile
index 8941249..650b621 100644
--- a/zoo-project/zoo-services/utils/registry/Makefile
+++ b/zoo-project/zoo-services/utils/registry/Makefile
@@ -15,7 +15,7 @@ else
 endif
 
 cgi-env/wps_registry.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_registry.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi -lzoo_service ${ZRPATH}/zoo-kernel/server_internal.o ${ZRPATH}/zoo-kernel/lex.cr.o ${ZRPATH}/zoo-kernel/lex.sr.o ${ZRPATH}/zoo-kernel/service_conf.tab.o ${ZRPATH}/zoo-kernel/main_conf_read.tab.o ${ZRPATH}/zoo-kernel/response_print.o ${YAML_FILES} ${MS_FILES} ${MS_LDFLAGS} ${YAML_LDFLAGS}
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_registry.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi -L${ZRPATH}/zoo-kernel/ -lzoo_service ${ZRPATH}/zoo-kernel/server_internal.o ${ZRPATH}/zoo-kernel/lex.cr.o ${ZRPATH}/zoo-kernel/lex.sr.o ${ZRPATH}/zoo-kernel/service_conf.tab.o ${ZRPATH}/zoo-kernel/main_conf_read.tab.o ${ZRPATH}/zoo-kernel/response_print.o ${YAML_FILES} ${MS_FILES} ${MS_LDFLAGS} ${YAML_LDFLAGS}
 
 install:
 	install -d ${CGI_DIR}
diff --git a/zoo-project/zoo-services/utils/registry/makefile.vc b/zoo-project/zoo-services/utils/registry/makefile.vc
index a44cf52..3d45811 100755
--- a/zoo-project/zoo-services/utils/registry/makefile.vc
+++ b/zoo-project/zoo-services/utils/registry/makefile.vc
@@ -1,7 +1,8 @@
 TROOT= $(ZOOK_DIR)
 !INCLUDE $(ZOOK_DIR)/nmake.opt
 
-FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj
+FILES=$(ZOOK_DIR)/libzoo_service.lib $(ZOOK_DIR)/server_internal.obj $(ZOOK_DIR)/response_print.obj $(ZOOK_DIR)/lex.cr.obj $(ZOOK_DIR)/lex.sr.obj $(ZOOK_DIR)/service_conf.tab.obj $(ZOOK_DIR)/service_conf.tab.obj $(ZOOK_DIR)/main_conf_read.tab.obj
+
 !IFDEF JS_DIR
 FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
 !ENDIF
diff --git a/zoo-project/zoo-services/utils/registry/service.c b/zoo-project/zoo-services/utils/registry/service.c
index 8b787ea..03889ed 100644
--- a/zoo-project/zoo-services/utils/registry/service.c
+++ b/zoo-project/zoo-services/utils/registry/service.c
@@ -27,7 +27,6 @@
 #include "server_internal.h"
 #include "response_print.h"
 
-extern "C" {
 #include <libxml/tree.h>
 #include <libxml/parser.h>
 #include <libxml/xpath.h>
@@ -39,6 +38,7 @@ extern "C" {
 #include <libxslt/xsltutils.h>
 
 #include <dirent.h>
+extern "C" {
 
   /**
    * GetFromRegistry ZOO Service :
diff --git a/zoo-project/zoo-services/utils/status/Makefile b/zoo-project/zoo-services/utils/status/Makefile
index 198dd6d..0d9d913 100644
--- a/zoo-project/zoo-services/utils/status/Makefile
+++ b/zoo-project/zoo-services/utils/status/Makefile
@@ -1,9 +1,9 @@
 ZRPATH=../../..
 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
-CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
+CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
 
 cgi-env/wps_status.zo: service.c
-	g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi -lzoo_service
+	g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} ${FCGI_LDFLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
 
 install:
 	install -d ${CGI_DIR}
diff --git a/zoo-project/zoo-services/utils/status/service.c b/zoo-project/zoo-services/utils/status/service.c
index 1d8e1b0..ed697a9 100644
--- a/zoo-project/zoo-services/utils/status/service.c
+++ b/zoo-project/zoo-services/utils/status/service.c
@@ -25,7 +25,6 @@
 #include "service.h"
 #include "service_internal.h"
 
-extern "C" {
 #include <libxml/tree.h>
 #include <libxml/parser.h>
 #include <libxml/xpath.h>
@@ -37,6 +36,7 @@ extern "C" {
 #include <libxslt/xsltutils.h>
 
 #include <dirent.h>
+extern "C" {
 
   /**
    * GetStatus ZOO Service :
diff --git a/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.py b/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.py
new file mode 100644
index 0000000..5ea7ea0
--- /dev/null
+++ b/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.py
@@ -0,0 +1,109 @@
+# -*- coding: utf-8 -*-
+#
+# Author : Vlad Merticariu <merticariu at rasdaman.com>
+#
+# Copyright 2015 rasdaman GmbH. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including with
+# out limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+import zoo
+import requests
+
+WCPS_REQUEST_TEMPLATE = "%endPoint%?service=WCS&version=2.0.1&request=ProcessCoverages&query=%query%"
+
+def WCPS(conf,inputs,outputs):
+	end_point = validate_end_point(inputs["endPoint"]["value"])
+        query = get_correct_query(inputs["query"]["value"],outputs["Response"]["mimeType"])
+        response_data_type = get_data_type(query)
+        status, response = execute_wcps_request(end_point, query)
+	import sys    
+	print >> sys.stderr,query
+	#handle errors
+	if status:
+		conf["lenv"]["message"] = zoo._("The end point at " + end_point + " could not be reached.")
+		return zoo.SERVICE_FAILED
+ 	if "ows:ExceptionReport" in response:
+		conf["lenv"]["message"] = parse_error_message(response)
+		return zoo.SERVICE_FAILED
+		
+	#no errors, everything ok 	
+        outputs["Response"]["value"] = remove_trailing_characters(response, response_data_type)
+        #outputs["Response"]["mimeType"] = response_data_type
+        #outputs["Response"]["encoding"] = get_encoding(outputs["Response"]["mimeType"])
+	return zoo.SERVICE_SUCCEEDED
+
+def parse_error_message(response):
+	return response.split("<ows:ExceptionText>")[1].split("</ows:ExceptionText>")[0]
+
+def validate_end_point(end_point):
+	ret = end_point
+	if not end_point.startswith("http"):
+        	ret = "http://" + end_point
+	return ret
+
+def get_data_type(query):
+	ret = "text/plain"
+	if "\"png\"" in query:
+		ret = "image/png"
+	if "\"csv\"" in query:
+		ret = "text/csv"
+	if "\"tiff\"" in query:
+		ret = "image/tiff"
+	if "\"jpeg\"" in query or "\"jpg\"" in query:
+		ret = "image/jpeg"
+	return ret
+
+def get_correct_query(query,mimeType):
+    return query.replace("[format]",get_data_ext(mimeType))
+
+def get_data_ext(mimeType):
+	ret = "csv"
+	for i in ["png","csv","tiff","jpeg"]:
+		if i in mimeType:
+			ret = i
+			break
+	return ret
+
+def get_encoding(data_type):
+	ret = "utf-8"
+	if data_type.startswith("image"):
+		ret = "base64"
+	return ret
+
+def remove_trailing_characters(response, data_type):
+        response_start = 27
+        if data_type.startswith("image"):
+		response_start += len(data_type)
+	else:
+		response_start += 10
+        ret = response[response_start:-17]
+	return ret
+
+def execute_wcps_request(end_point, query):
+        composed_url = WCPS_REQUEST_TEMPLATE.replace("%endPoint%", end_point).replace("%query%", query) 
+	try:
+		response = requests.get(composed_url)
+	except:
+		#can not open url
+		return 1, ""
+	#all ok
+	return 0, response.content
+
+    
diff --git a/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.zcfg b/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.zcfg
new file mode 100644
index 0000000..3fd0ab0
--- /dev/null
+++ b/zoo-project/zoo-services/wcps-proxy/cgi-env/WCPS.zcfg
@@ -0,0 +1,54 @@
+[WCPS]
+ Title = Execute WCPS queries
+ Abstract = Execute a Web Coverage Processing Service request, through a WPS process.
+ processVersion = 2
+ storeSupported = true
+ statusSupported = true
+ serviceProvider = WCPS
+ serviceType = Python
+ <MetaData>
+   title = WCPS
+ </MetaData>
+ <DataInputs>
+  [endPoint]
+   Title = WCPS End Point
+   Abstract = The WCPS End Point against which the WCPS query is executed.
+   minOccurs = 1
+   maxOccurs = 1
+   <LiteralData>
+    dataType = string
+    <Default />
+   </LiteralData>
+  [query]
+   Title = WCPS Query
+   Abstract = The query to be executed at the provided end point.
+   minOccurs = 1
+   maxOccurs = 1
+   <LiteralData>
+    dataType = string
+    <Default />
+   </LiteralData>
+ </DataInputs>
+ <DataOutputs>
+  [Response]
+   Title = WCPS Response
+   Abstract = The response to the WCPS query.
+   <ComplexData>
+    <Default>
+    mimeType = text/csv
+    encoding = utf-8
+    </Default>
+    <Supported>
+    mimeType = image/png
+    encoding = base64
+    </Supported>
+    <Supported>
+    mimeType = image/tiff
+    encoding = base64
+    </Supported>
+    <Supported>
+    mimeType = image/jpeg
+    encoding = base64
+    </Supported>
+   </ComplexData>
+ </DataOutputs>
diff --git a/zoo-project/zoo-services/wcps-proxy/cgi-env/__init__.py b/zoo-project/zoo-services/wcps-proxy/cgi-env/__init__.py
new file mode 100644
index 0000000..e69de29

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/zoo-project.git



More information about the Pkg-grass-devel mailing list