Bladeren bron

fixed typo in struct UA_DiagnosticInfo

Leon Urbas 11 jaren geleden
bovenliggende
commit
31902a7e03
67 gewijzigde bestanden met toevoegingen van 619 en 12516 verwijderingen
  1. 38 0
      .cproject
  2. 4 0
      .gitignore
  3. 66 0
      .project
  4. 2 7
      INSTALL
  5. 0 733
      Makefile
  6. 0 733
      Makefile.in
  7. 9 3
      README.md
  8. 0 9812
      aclocal.m4
  9. BIN
      bin/exampleServer
  10. 0 41
      build-test/bin/libOpen62541.la
  11. 0 1
      build-test/lib/libopen62541.a
  12. 0 1
      build-test/lib/libopen62541.so
  13. BIN
      build-test/src/.libs/libopen62541.a
  14. 0 1
      build-test/src/.libs/libopen62541.la
  15. BIN
      build-test/src/.libs/libopen62541.so
  16. BIN
      build-test/src/.libs/opcua_binaryEncDec.o
  17. BIN
      build-test/src/.libs/opcua_builtInDatatypes.o
  18. BIN
      build-test/src/.libs/opcua_encodingLayer.o
  19. BIN
      build-test/src/.libs/opcua_memory.o
  20. BIN
      build-test/src/.libs/opcua_secureChannelLayer.o
  21. BIN
      build-test/src/.libs/opcua_time.o
  22. BIN
      build-test/src/.libs/opcua_transportLayer.o
  23. 0 41
      build-test/src/libOpen62541.la
  24. 0 41
      build-test/src/libstack.la
  25. 0 41
      build-test/src/libtransport.la
  26. 0 12
      build-test/src/opcua_binaryEncDec.lo
  27. BIN
      build-test/src/opcua_binaryEncDec.o
  28. 0 12
      build-test/src/opcua_builtInDatatypes.lo
  29. BIN
      build-test/src/opcua_builtInDatatypes.o
  30. 0 12
      build-test/src/opcua_encodingLayer.lo
  31. BIN
      build-test/src/opcua_encodingLayer.o
  32. 0 12
      build-test/src/opcua_memory.lo
  33. BIN
      build-test/src/opcua_memory.o
  34. 0 12
      build-test/src/opcua_secureChannelLayer.lo
  35. BIN
      build-test/src/opcua_secureChannelLayer.o
  36. 0 12
      build-test/src/opcua_time.lo
  37. BIN
      build-test/src/opcua_time.o
  38. 0 12
      build-test/src/opcua_transportLayer.lo
  39. BIN
      build-test/src/opcua_transportLayer.o
  40. BIN
      build-test/tests/check_stack-check_stack.o
  41. 14 181
      compile
  42. 67 122
      configure
  43. 1 1
      configure.ac
  44. 8 66
      depcomp
  45. 14 37
      examples/src/.deps/opcuaServer.Po
  46. 22 27
      examples/src/Makefile
  47. 8 13
      examples/src/Makefile.in
  48. 11 18
      install-sh
  49. 53 71
      libtool
  50. 38 57
      ltmain.sh
  51. 49 4
      missing
  52. 24 45
      src/.deps/opcua_binaryEncDec.Plo
  53. 19 19
      src/.deps/opcua_builtInDatatypes.Plo
  54. 6 30
      src/.deps/opcua_encodingLayer.Plo
  55. 5 11
      src/.deps/opcua_memory.Plo
  56. 15 39
      src/.deps/opcua_secureChannelLayer.Plo
  57. 15 34
      src/.deps/opcua_time.Plo
  58. 18 40
      src/.deps/opcua_transportLayer.Plo
  59. 16 32
      src/.deps/tcp_layer.Plo
  60. 2 2
      build-test/src/libopen62541.la
  61. 26 37
      src/Makefile
  62. 8 19
      src/Makefile.in
  63. 16 16
      src/opcua_binaryEncDec.c
  64. 1 1
      src/opcua_builtInDatatypes.h
  65. 2 1
      src/opcua_secureChannelLayer.c
  66. 28 34
      tests/Makefile
  67. 14 20
      tests/Makefile.in

+ 38 - 0
.cproject

@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+	<storageModule moduleId="org.eclipse.cdt.core.settings">
+		<cconfiguration id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1043521583">
+			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1043521583" moduleId="org.eclipse.cdt.core.settings" name="Build (GNU)">
+				<externalSettings/>
+				<extensions>
+					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+					<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+					<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+				</extensions>
+			</storageModule>
+			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+				<configuration buildProperties="" id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1043521583" name="Build (GNU)" parent="org.eclipse.cdt.build.core.emptycfg">
+					<folderInfo id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1043521583.1046590170" name="/" resourcePath="">
+						<toolChain id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.2017443029" name="org.eclipse.linuxtools.cdt.autotools.core.toolChain" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolChain">
+							<targetPlatform id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform.610569263" isAbstract="false" name="GNU Autotools Target Platform" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform"/>
+							<builder id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder.1036511035" managedBuildOn="false" name="null.Build (GNU)" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder"/>
+							<tool id="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure.1499693344" name="configure" superClass="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure"/>
+							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen.727155142" name="autogen.sh" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen"/>
+							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc.1316375198" name="GCC C Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc"/>
+							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp.1439138253" name="GCC C++ Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp"/>
+						</toolChain>
+					</folderInfo>
+				</configuration>
+			</storageModule>
+			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+		</cconfiguration>
+	</storageModule>
+	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+		<project id="open62541.null.1924258988" name="open62541"/>
+	</storageModule>
+	<storageModule moduleId="scannerConfiguration">
+		<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+	</storageModule>
+</cproject>

+ 4 - 0
.gitignore

@@ -5,6 +5,10 @@
     .sub
     .sub
     .status
     .status
     .m4
     .m4
+    .lo
+    .o
+    .a
+    .la
     /m4
     /m4
     /autom4te.cache
     /autom4te.cache
     Makefile
     Makefile

+ 66 - 0
.project

@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>open62541</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+			<triggers>clean,full,incremental,</triggers>
+			<arguments>
+				<dictionary>
+					<key>?name?</key>
+					<value></value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.append_environment</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.buildArguments</key>
+					<value></value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.buildCommand</key>
+					<value>make</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.contents</key>
+					<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+					<value>false</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.enableFullBuild</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.stopOnError</key>
+					<value>true</value>
+				</dictionary>
+				<dictionary>
+					<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+					<value>true</value>
+				</dictionary>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+			<triggers>full,incremental,</triggers>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.cdt.core.cnature</nature>
+		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+	</natures>
+</projectDescription>

+ 2 - 7
INSTALL

@@ -1,8 +1,8 @@
 Installation Instructions
 Installation Instructions
 *************************
 *************************
 
 
-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
-Inc.
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 
    Copying and distribution of this file, with or without modification,
    Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 are permitted in any medium without royalty provided the copyright
@@ -226,11 +226,6 @@ order to use an ANSI C compiler:
 
 
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
 
-   HP-UX `make' updates targets which have the same time stamps as
-their prerequisites, which makes it generally unusable when shipped
-generated files such as `configure' are involved.  Use GNU `make'
-instead.
-
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
 parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
 parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
 a workaround.  If GNU CC is not installed, it is therefore recommended

+ 0 - 733
Makefile

@@ -1,733 +0,0 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
-# Makefile.  Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-
-pkgdatadir = $(datadir)/opcuaserver
-pkgincludedir = $(includedir)/opcuaserver
-pkglibdir = $(libdir)/opcuaserver
-pkglibexecdir = $(libexecdir)/opcuaserver
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = i686-pc-linux-gnu
-host_triplet = i686-pc-linux-gnu
-target_triplet = i686-pc-linux-gnu
-subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
-	$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
-	ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \
-	install-sh ltmain.sh missing
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-	$(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-	html-recursive info-recursive install-data-recursive \
-	install-dvi-recursive install-exec-recursive \
-	install-html-recursive install-info-recursive \
-	install-pdf-recursive install-ps-recursive install-recursive \
-	installcheck-recursive installdirs-recursive pdf-recursive \
-	ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-	distdir dist dist-all distcheck
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = src . tests examples/src
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
-  if test -d "$(distdir)"; then \
-    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-      && rm -rf "$(distdir)" \
-      || { sleep 5 && rm -rf "$(distdir)"; }; \
-  else :; fi
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
-  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = ${SHELL} /home/opcua/git/open62541/missing --run aclocal-1.11
-AMTAR = $${TAR-tar}
-AR = ar
-AS = as
-AUTOCONF = ${SHELL} /home/opcua/git/open62541/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/opcua/git/open62541/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/opcua/git/open62541/missing --run automake-1.11
-AWK = mawk
-CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -O2
-CHECK_CFLAGS = -pthread -I/usr/local/include  
-CHECK_LIBS = -L/usr/local/lib -lcheck  
-CPP = gcc -E
-CPPFLAGS = 
-CYGPATH_W = echo
-DEFS = -DPACKAGE_NAME=\"OPCUAServer\" -DPACKAGE_TARNAME=\"opcuaserver\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"OPCUAServer\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"opcuaserver\" -DVERSION=\"1.0\" -DHAVE_LIBM=1 -DLINUX=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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DEPDIR = .deps
-DLLTOOL = dlltool
-DSYMUTIL = 
-DUMPBIN = 
-ECHO_C = 
-ECHO_N = -n
-ECHO_T = 
-EGREP = /bin/grep -E
-EXEEXT = 
-FGREP = /bin/grep -F
-GREP = /bin/grep
-INSTALL = /usr/bin/install -c
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL}
-INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
-LD = /usr/bin/ld
-LDFLAGS = 
-LIBOBJS = 
-LIBS = -lm 
-LIBTOOL = $(SHELL) $(top_builddir)/libtool
-LIPO = 
-LN_S = ln -s
-LTLIBOBJS = 
-MAKEINFO = ${SHELL} /home/opcua/git/open62541/missing --run makeinfo
-MANIFEST_TOOL = :
-MKDIR_P = /bin/mkdir -p
-NM = /usr/bin/nm -B
-NMEDIT = 
-OBJDUMP = objdump
-OBJEXT = o
-OTOOL = 
-OTOOL64 = 
-PACKAGE = opcuaserver
-PACKAGE_BUGREPORT = 
-PACKAGE_NAME = OPCUAServer
-PACKAGE_STRING = OPCUAServer 1.0
-PACKAGE_TARNAME = opcuaserver
-PACKAGE_URL = 
-PACKAGE_VERSION = 1.0
-PATH_SEPARATOR = :
-PKG_CONFIG = /usr/bin/pkg-config
-PKG_CONFIG_LIBDIR = 
-PKG_CONFIG_PATH = 
-RANLIB = ranlib
-SED = /bin/sed
-SET_MAKE = 
-SHELL = /bin/bash
-STRIP = strip
-VERSION = 1.0
-abs_builddir = /home/opcua/git/open62541
-abs_srcdir = /home/opcua/git/open62541
-abs_top_builddir = /home/opcua/git/open62541
-abs_top_srcdir = /home/opcua/git/open62541
-ac_ct_AR = ar
-ac_ct_CC = gcc
-ac_ct_DUMPBIN = 
-am__include = include
-am__leading_dot = .
-am__quote = 
-am__tar = $${TAR-tar} chof - "$$tardir"
-am__untar = $${TAR-tar} xf -
-bindir = ${exec_prefix}/bin
-build = i686-pc-linux-gnu
-build_alias = 
-build_cpu = i686
-build_os = linux-gnu
-build_vendor = pc
-builddir = .
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host = i686-pc-linux-gnu
-host_alias = 
-host_cpu = i686
-host_os = linux-gnu
-host_vendor = pc
-htmldir = ${docdir}
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = ${SHELL} /home/opcua/git/open62541/install-sh
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /usr/local
-program_transform_name = s,x,x,
-psdir = ${docdir}
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-srcdir = .
-sysconfdir = ${prefix}/etc
-target = i686-pc-linux-gnu
-target_alias = 
-target_cpu = i686
-target_os = linux-gnu
-target_vendor = pc
-top_build_prefix = 
-top_builddir = .
-top_srcdir = .
-#SUBS = src .
-SUBS = src . tests .
-SUBDIRS = $(SUBS) examples/src	
-all: all-recursive
-
-.SUFFIXES:
-am--refresh: Makefile
-	@:
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
-	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
-		&& exit 0; \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
-	$(am__cd) $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	@case '$?' in \
-	  *config.status*) \
-	    echo ' $(SHELL) ./config.status'; \
-	    $(SHELL) ./config.status;; \
-	  *) \
-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
-	esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-	$(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure:  $(am__configure_deps)
-	$(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
-	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-	-rm -f *.lo
-
-clean-libtool:
-	-rm -rf .libs _libs
-
-distclean-libtool:
-	-rm -f libtool config.lt
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	target=`echo $@ | sed s/-recursive//`; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    dot_seen=yes; \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done; \
-	if test "$$dot_seen" = "no"; then \
-	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-	fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
-	done; \
-	rev="$$rev ."; \
-	target=`echo $@ | sed s/-recursive//`; \
-	for subdir in $$rev; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done && test -z "$$fail"
-tags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-	done
-ctags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-	done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	set x; \
-	here=`pwd`; \
-	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-	  include_option=--etags-include; \
-	  empty_fix=.; \
-	else \
-	  include_option=--include; \
-	  empty_fix=; \
-	fi; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test ! -f $$subdir/TAGS || \
-	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-	  fi; \
-	done; \
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	shift; \
-	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-	  test -n "$$unique" || unique=$$empty_fix; \
-	  if test $$# -gt 0; then \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      "$$@" $$unique; \
-	  else \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      $$unique; \
-	  fi; \
-	fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	test -z "$(CTAGS_ARGS)$$unique" \
-	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$unique
-
-GTAGS:
-	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && $(am__cd) $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-	$(am__remove_distdir)
-	test -d "$(distdir)" || mkdir "$(distdir)"
-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	list='$(DISTFILES)'; \
-	  dist_files=`for file in $$list; do echo $$file; done | \
-	  sed -e "s|^$$srcdirstrip/||;t" \
-	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-	case $$dist_files in \
-	  */*) $(MKDIR_P) `echo "$$dist_files" | \
-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-			   sort -u` ;; \
-	esac; \
-	for file in $$dist_files; do \
-	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-	  if test -d $$d/$$file; then \
-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-	    if test -d "$(distdir)/$$file"; then \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-	  else \
-	    test -f "$(distdir)/$$file" \
-	    || cp -p $$d/$$file "$(distdir)/$$file" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test -d "$(distdir)/$$subdir" \
-	    || $(MKDIR_P) "$(distdir)/$$subdir" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-	    $(am__relativize); \
-	    new_distdir=$$reldir; \
-	    dir1=$$subdir; dir2="$(top_distdir)"; \
-	    $(am__relativize); \
-	    new_top_distdir=$$reldir; \
-	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-	    ($(am__cd) $$subdir && \
-	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$$new_top_distdir" \
-	        distdir="$$new_distdir" \
-		am__remove_distdir=: \
-		am__skip_length_check=: \
-		am__skip_mode_fix=: \
-	        distdir) \
-	      || exit 1; \
-	  fi; \
-	done
-	-test -n "$(am__skip_mode_fix)" \
-	|| find "$(distdir)" -type d ! -perm -755 \
-		-exec chmod u+rwx,go+rx {} \; -o \
-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
-	|| chmod -R a+r "$(distdir)"
-dist-gzip: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-dist-bzip2: distdir
-	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
-	$(am__remove_distdir)
-
-dist-lzip: distdir
-	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
-	$(am__remove_distdir)
-
-dist-lzma: distdir
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
-	$(am__remove_distdir)
-
-dist-xz: distdir
-	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
-	$(am__remove_distdir)
-
-dist-tarZ: distdir
-	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
-	$(am__remove_distdir)
-
-dist-shar: distdir
-	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
-	$(am__remove_distdir)
-
-dist-zip: distdir
-	-rm -f $(distdir).zip
-	zip -rq $(distdir).zip $(distdir)
-	$(am__remove_distdir)
-
-dist dist-all: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-	case '$(DIST_ARCHIVES)' in \
-	*.tar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
-	*.tar.bz2*) \
-	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
-	*.tar.lzma*) \
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
-	*.tar.lz*) \
-	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
-	*.tar.xz*) \
-	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
-	*.tar.Z*) \
-	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
-	*.shar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
-	*.zip*) \
-	  unzip $(distdir).zip ;;\
-	esac
-	chmod -R a-w $(distdir); chmod a+w $(distdir)
-	mkdir $(distdir)/_build
-	mkdir $(distdir)/_inst
-	chmod a-w $(distdir)
-	test -d $(distdir)/_build || exit 0; \
-	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
-	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
-	  && am__cwd=`pwd` \
-	  && $(am__cd) $(distdir)/_build \
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
-	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
-	    $(DISTCHECK_CONFIGURE_FLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
-	  && $(MAKE) $(AM_MAKEFLAGS) check \
-	  && $(MAKE) $(AM_MAKEFLAGS) install \
-	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
-	        distuninstallcheck \
-	  && chmod -R a-w "$$dc_install_base" \
-	  && ({ \
-	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
-	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
-	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
-	  && rm -rf "$$dc_destdir" \
-	  && $(MAKE) $(AM_MAKEFLAGS) dist \
-	  && rm -rf $(DIST_ARCHIVES) \
-	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
-	  && cd "$$am__cwd" \
-	  || exit 1
-	$(am__remove_distdir)
-	@(echo "$(distdir) archives ready for distribution: "; \
-	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
-	@test -n '$(distuninstallcheck_dir)' || { \
-	  echo 'ERROR: trying to run $@ with an empty' \
-	       '$$(distuninstallcheck_dir)' >&2; \
-	  exit 1; \
-	}; \
-	$(am__cd) '$(distuninstallcheck_dir)' || { \
-	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
-	  exit 1; \
-	}; \
-	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
-	   || { echo "ERROR: files left after uninstall:" ; \
-	        if test -n "$(DESTDIR)"; then \
-	          echo "  (check DESTDIR support)"; \
-	        fi ; \
-	        $(distuninstallcheck_listfiles) ; \
-	        exit 1; } >&2
-distcleancheck: distclean
-	@if test '$(srcdir)' = . ; then \
-	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
-	  exit 1 ; \
-	fi
-	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
-	  || { echo "ERROR: files left in build directory after distclean:" ; \
-	       $(distcleancheck_listfiles) ; \
-	       exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool \
-	distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -rf $(top_srcdir)/autom4te.cache
-	-rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-	install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-	all all-am am--refresh check check-am clean clean-generic \
-	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
-	dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
-	dist-zip distcheck distclean distclean-generic \
-	distclean-libtool distclean-tags distcleancheck distdir \
-	distuninstallcheck dvi dvi-am html html-am info info-am \
-	install install-am install-data install-data-am install-dvi \
-	install-dvi-am install-exec install-exec-am install-html \
-	install-html-am install-info install-info-am install-man \
-	install-pdf install-pdf-am install-ps install-ps-am \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-	ps ps-am tags tags-recursive uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:

+ 0 - 733
Makefile.in

@@ -1,733 +0,0 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-target_triplet = @target@
-subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
-	$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
-	ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \
-	install-sh ltmain.sh missing
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-	$(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-	html-recursive info-recursive install-data-recursive \
-	install-dvi-recursive install-exec-recursive \
-	install-html-recursive install-info-recursive \
-	install-pdf-recursive install-ps-recursive install-recursive \
-	installcheck-recursive installdirs-recursive pdf-recursive \
-	ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-	distdir dist dist-all distcheck
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = src . tests examples/src
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
-  if test -d "$(distdir)"; then \
-    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-      && rm -rf "$(distdir)" \
-      || { sleep 5 && rm -rf "$(distdir)"; }; \
-  else :; fi
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
-  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AR = @AR@
-AS = @AS@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CHECK_CFLAGS = @CHECK_CFLAGS@
-CHECK_LIBS = @CHECK_LIBS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-GREP = @GREP@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
-PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
-RANLIB = @RANLIB@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-@HAVE_CHECK_FALSE@SUBS = src .
-@HAVE_CHECK_TRUE@SUBS = src . tests .
-SUBDIRS = $(SUBS) examples/src	
-all: all-recursive
-
-.SUFFIXES:
-am--refresh: Makefile
-	@:
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
-	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
-		&& exit 0; \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
-	$(am__cd) $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	@case '$?' in \
-	  *config.status*) \
-	    echo ' $(SHELL) ./config.status'; \
-	    $(SHELL) ./config.status;; \
-	  *) \
-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
-	esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-	$(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure:  $(am__configure_deps)
-	$(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
-	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-	-rm -f *.lo
-
-clean-libtool:
-	-rm -rf .libs _libs
-
-distclean-libtool:
-	-rm -f libtool config.lt
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	target=`echo $@ | sed s/-recursive//`; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    dot_seen=yes; \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done; \
-	if test "$$dot_seen" = "no"; then \
-	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-	fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
-	done; \
-	rev="$$rev ."; \
-	target=`echo $@ | sed s/-recursive//`; \
-	for subdir in $$rev; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done && test -z "$$fail"
-tags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-	done
-ctags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-	done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	set x; \
-	here=`pwd`; \
-	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-	  include_option=--etags-include; \
-	  empty_fix=.; \
-	else \
-	  include_option=--include; \
-	  empty_fix=; \
-	fi; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test ! -f $$subdir/TAGS || \
-	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-	  fi; \
-	done; \
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	shift; \
-	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-	  test -n "$$unique" || unique=$$empty_fix; \
-	  if test $$# -gt 0; then \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      "$$@" $$unique; \
-	  else \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      $$unique; \
-	  fi; \
-	fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	test -z "$(CTAGS_ARGS)$$unique" \
-	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$unique
-
-GTAGS:
-	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && $(am__cd) $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-	$(am__remove_distdir)
-	test -d "$(distdir)" || mkdir "$(distdir)"
-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	list='$(DISTFILES)'; \
-	  dist_files=`for file in $$list; do echo $$file; done | \
-	  sed -e "s|^$$srcdirstrip/||;t" \
-	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-	case $$dist_files in \
-	  */*) $(MKDIR_P) `echo "$$dist_files" | \
-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-			   sort -u` ;; \
-	esac; \
-	for file in $$dist_files; do \
-	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-	  if test -d $$d/$$file; then \
-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-	    if test -d "$(distdir)/$$file"; then \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-	  else \
-	    test -f "$(distdir)/$$file" \
-	    || cp -p $$d/$$file "$(distdir)/$$file" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test -d "$(distdir)/$$subdir" \
-	    || $(MKDIR_P) "$(distdir)/$$subdir" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-	    $(am__relativize); \
-	    new_distdir=$$reldir; \
-	    dir1=$$subdir; dir2="$(top_distdir)"; \
-	    $(am__relativize); \
-	    new_top_distdir=$$reldir; \
-	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-	    ($(am__cd) $$subdir && \
-	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$$new_top_distdir" \
-	        distdir="$$new_distdir" \
-		am__remove_distdir=: \
-		am__skip_length_check=: \
-		am__skip_mode_fix=: \
-	        distdir) \
-	      || exit 1; \
-	  fi; \
-	done
-	-test -n "$(am__skip_mode_fix)" \
-	|| find "$(distdir)" -type d ! -perm -755 \
-		-exec chmod u+rwx,go+rx {} \; -o \
-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
-	|| chmod -R a+r "$(distdir)"
-dist-gzip: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-dist-bzip2: distdir
-	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
-	$(am__remove_distdir)
-
-dist-lzip: distdir
-	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
-	$(am__remove_distdir)
-
-dist-lzma: distdir
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
-	$(am__remove_distdir)
-
-dist-xz: distdir
-	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
-	$(am__remove_distdir)
-
-dist-tarZ: distdir
-	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
-	$(am__remove_distdir)
-
-dist-shar: distdir
-	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
-	$(am__remove_distdir)
-
-dist-zip: distdir
-	-rm -f $(distdir).zip
-	zip -rq $(distdir).zip $(distdir)
-	$(am__remove_distdir)
-
-dist dist-all: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-	case '$(DIST_ARCHIVES)' in \
-	*.tar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
-	*.tar.bz2*) \
-	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
-	*.tar.lzma*) \
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
-	*.tar.lz*) \
-	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
-	*.tar.xz*) \
-	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
-	*.tar.Z*) \
-	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
-	*.shar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
-	*.zip*) \
-	  unzip $(distdir).zip ;;\
-	esac
-	chmod -R a-w $(distdir); chmod a+w $(distdir)
-	mkdir $(distdir)/_build
-	mkdir $(distdir)/_inst
-	chmod a-w $(distdir)
-	test -d $(distdir)/_build || exit 0; \
-	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
-	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
-	  && am__cwd=`pwd` \
-	  && $(am__cd) $(distdir)/_build \
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
-	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
-	    $(DISTCHECK_CONFIGURE_FLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
-	  && $(MAKE) $(AM_MAKEFLAGS) check \
-	  && $(MAKE) $(AM_MAKEFLAGS) install \
-	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
-	        distuninstallcheck \
-	  && chmod -R a-w "$$dc_install_base" \
-	  && ({ \
-	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
-	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
-	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
-	  && rm -rf "$$dc_destdir" \
-	  && $(MAKE) $(AM_MAKEFLAGS) dist \
-	  && rm -rf $(DIST_ARCHIVES) \
-	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
-	  && cd "$$am__cwd" \
-	  || exit 1
-	$(am__remove_distdir)
-	@(echo "$(distdir) archives ready for distribution: "; \
-	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
-	@test -n '$(distuninstallcheck_dir)' || { \
-	  echo 'ERROR: trying to run $@ with an empty' \
-	       '$$(distuninstallcheck_dir)' >&2; \
-	  exit 1; \
-	}; \
-	$(am__cd) '$(distuninstallcheck_dir)' || { \
-	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
-	  exit 1; \
-	}; \
-	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
-	   || { echo "ERROR: files left after uninstall:" ; \
-	        if test -n "$(DESTDIR)"; then \
-	          echo "  (check DESTDIR support)"; \
-	        fi ; \
-	        $(distuninstallcheck_listfiles) ; \
-	        exit 1; } >&2
-distcleancheck: distclean
-	@if test '$(srcdir)' = . ; then \
-	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
-	  exit 1 ; \
-	fi
-	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
-	  || { echo "ERROR: files left in build directory after distclean:" ; \
-	       $(distcleancheck_listfiles) ; \
-	       exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool \
-	distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -rf $(top_srcdir)/autom4te.cache
-	-rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-	install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-	all all-am am--refresh check check-am clean clean-generic \
-	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
-	dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
-	dist-zip distcheck distclean distclean-generic \
-	distclean-libtool distclean-tags distcleancheck distdir \
-	distuninstallcheck dvi dvi-am html html-am info info-am \
-	install install-am install-data install-data-am install-dvi \
-	install-dvi-am install-exec install-exec-am install-html \
-	install-html-am install-info install-info-am install-man \
-	install-pdf install-pdf-am install-ps install-ps-am \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-	ps ps-am tags tags-recursive uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:

+ 9 - 3
README.md

@@ -6,7 +6,7 @@ An open-source communication stack implementation of OPC UA licensed under LGPL
 ### Ubuntu
 ### Ubuntu
 ##### Getting gcc toolchain:
 ##### Getting gcc toolchain:
 ```bash
 ```bash
-sudo apt-get install build-essential subversion git
+sudo apt-get install build-essential subversion git autoconf libtool texinfo
 ```
 ```
 ##### Getting and installing check 0.9.12
 ##### Getting and installing check 0.9.12
 ```bash
 ```bash
@@ -45,9 +45,15 @@ $ make
 $ make install
 $ make install
 ```
 ```
 
 
-# Building
+# Clone open62541
 ```bash
 ```bash
-$ cd OPCUAServer
+$ git clone git://github.com/acplt/open62541.git
+```
+
+# Building (autoreconf only first time)
+```bash
+$ cd open62541
+$ autoreconf --force --install
 $ ./configure
 $ ./configure
 $ make
 $ make
 $ make check
 $ make check

File diff suppressed because it is too large
+ 0 - 9812
aclocal.m4


BIN
bin/exampleServer


+ 0 - 41
build-test/bin/libOpen62541.la

@@ -1,41 +0,0 @@
-# libOpen62541.la - a libtool library file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname=''
-
-# Names of this library.
-library_names=''
-
-# The name of the static archive.
-old_library='libOpen62541.a'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags=''
-
-# Libraries that this one depends upon.
-dependency_libs=' -lm'
-
-# Names of additional weak libraries provided by this library
-weak_library_names=''
-
-# Version information for libOpen62541.
-current=
-age=
-revision=
-
-# Is this an already installed library?
-installed=no
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir=''

+ 0 - 1
build-test/lib/libopen62541.a

@@ -1 +0,0 @@
-/home/opcua/git/opcUaStack/OPCUAServer/build-test/src/.libs/libopen62541.a

+ 0 - 1
build-test/lib/libopen62541.so

@@ -1 +0,0 @@
-/home/opcua/git/opcUaStack/OPCUAServer/build-test/src/.libs/libopen62541.so

BIN
build-test/src/.libs/libopen62541.a


+ 0 - 1
build-test/src/.libs/libopen62541.la

@@ -1 +0,0 @@
-../libopen62541.la

BIN
build-test/src/.libs/libopen62541.so


BIN
build-test/src/.libs/opcua_binaryEncDec.o


BIN
build-test/src/.libs/opcua_builtInDatatypes.o


BIN
build-test/src/.libs/opcua_encodingLayer.o


BIN
build-test/src/.libs/opcua_memory.o


BIN
build-test/src/.libs/opcua_secureChannelLayer.o


BIN
build-test/src/.libs/opcua_time.o


BIN
build-test/src/.libs/opcua_transportLayer.o


+ 0 - 41
build-test/src/libOpen62541.la

@@ -1,41 +0,0 @@
-# libOpen62541.la - a libtool library file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libOpen62541.so.0'
-
-# Names of this library.
-library_names='libOpen62541.so.0.0.0 libOpen62541.so.0 libOpen62541.so'
-
-# The name of the static archive.
-old_library='libOpen62541.a'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags=''
-
-# Libraries that this one depends upon.
-dependency_libs=' -lm'
-
-# Names of additional weak libraries provided by this library
-weak_library_names=''
-
-# Version information for libOpen62541.
-current=0
-age=0
-revision=0
-
-# Is this an already installed library?
-installed=no
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='/usr/local/lib'

+ 0 - 41
build-test/src/libstack.la

@@ -1,41 +0,0 @@
-# libstack.la - a libtool library file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libstack.so.0'
-
-# Names of this library.
-library_names='libstack.so.0.0.0 libstack.so.0 libstack.so'
-
-# The name of the static archive.
-old_library='libstack.a'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags=''
-
-# Libraries that this one depends upon.
-dependency_libs=' -lm'
-
-# Names of additional weak libraries provided by this library
-weak_library_names=''
-
-# Version information for libstack.
-current=0
-age=0
-revision=0
-
-# Is this an already installed library?
-installed=no
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='/usr/local/lib'

+ 0 - 41
build-test/src/libtransport.la

@@ -1,41 +0,0 @@
-# libtransport.la - a libtool library file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libtransport.so.0'
-
-# Names of this library.
-library_names='libtransport.so.0.0.0 libtransport.so.0 libtransport.so'
-
-# The name of the static archive.
-old_library='libtransport.a'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags=''
-
-# Libraries that this one depends upon.
-dependency_libs=''
-
-# Names of additional weak libraries provided by this library
-weak_library_names=''
-
-# Version information for libtransport.
-current=0
-age=0
-revision=0
-
-# Is this an already installed library?
-installed=no
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='/usr/local/lib'

+ 0 - 12
build-test/src/opcua_binaryEncDec.lo

@@ -1,12 +0,0 @@
-# opcua_binaryEncDec.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_binaryEncDec.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_binaryEncDec.o'
-

BIN
build-test/src/opcua_binaryEncDec.o


+ 0 - 12
build-test/src/opcua_builtInDatatypes.lo

@@ -1,12 +0,0 @@
-# opcua_builtInDatatypes.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_builtInDatatypes.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_builtInDatatypes.o'
-

BIN
build-test/src/opcua_builtInDatatypes.o


+ 0 - 12
build-test/src/opcua_encodingLayer.lo

@@ -1,12 +0,0 @@
-# opcua_encodingLayer.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_encodingLayer.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_encodingLayer.o'
-

BIN
build-test/src/opcua_encodingLayer.o


+ 0 - 12
build-test/src/opcua_memory.lo

@@ -1,12 +0,0 @@
-# opcua_memory.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_memory.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_memory.o'
-

BIN
build-test/src/opcua_memory.o


+ 0 - 12
build-test/src/opcua_secureChannelLayer.lo

@@ -1,12 +0,0 @@
-# opcua_secureChannelLayer.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_secureChannelLayer.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_secureChannelLayer.o'
-

BIN
build-test/src/opcua_secureChannelLayer.o


+ 0 - 12
build-test/src/opcua_time.lo

@@ -1,12 +0,0 @@
-# opcua_time.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_time.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_time.o'
-

BIN
build-test/src/opcua_time.o


+ 0 - 12
build-test/src/opcua_transportLayer.lo

@@ -1,12 +0,0 @@
-# opcua_transportLayer.lo - a libtool object file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/opcua_transportLayer.o'
-
-# Name of the non-PIC object
-non_pic_object='opcua_transportLayer.o'
-

BIN
build-test/src/opcua_transportLayer.o


BIN
build-test/tests/check_stack-check_stack.o


+ 14 - 181
compile

@@ -1,10 +1,10 @@
 #! /bin/sh
 #! /bin/sh
-# Wrapper for compilers which do not understand '-c -o'.
+# Wrapper for compilers which do not understand `-c -o'.
 
 
-scriptversion=2012-01-04.17; # UTC
+scriptversion=2009-10-06.20; # UTC
 
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
-# Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009  Free Software
+# Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 #
 # This program is free software; you can redistribute it and/or modify
 # This program is free software; you can redistribute it and/or modify
@@ -29,186 +29,21 @@ scriptversion=2012-01-04.17; # UTC
 # bugs to <bug-automake@gnu.org> or send patches to
 # bugs to <bug-automake@gnu.org> or send patches to
 # <automake-patches@gnu.org>.
 # <automake-patches@gnu.org>.
 
 
-nl='
-'
-
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent tools from complaining about whitespace usage.
-IFS=" ""	$nl"
-
-file_conv=
-
-# func_file_conv build_file lazy
-# Convert a $build file to $host form and store it in $file
-# Currently only supports Windows hosts. If the determined conversion
-# type is listed in (the comma separated) LAZY, no conversion will
-# take place.
-func_file_conv ()
-{
-  file=$1
-  case $file in
-    / | /[!/]*) # absolute file, and not a UNC file
-      if test -z "$file_conv"; then
-	# lazily determine how to convert abs files
-	case `uname -s` in
-	  MINGW*)
-	    file_conv=mingw
-	    ;;
-	  CYGWIN*)
-	    file_conv=cygwin
-	    ;;
-	  *)
-	    file_conv=wine
-	    ;;
-	esac
-      fi
-      case $file_conv/,$2, in
-	*,$file_conv,*)
-	  ;;
-	mingw/*)
-	  file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
-	  ;;
-	cygwin/*)
-	  file=`cygpath -m "$file" || echo "$file"`
-	  ;;
-	wine/*)
-	  file=`winepath -w "$file" || echo "$file"`
-	  ;;
-      esac
-      ;;
-  esac
-}
-
-# func_cl_wrapper cl arg...
-# Adjust compile command to suit cl
-func_cl_wrapper ()
-{
-  # Assume a capable shell
-  lib_path=
-  shared=:
-  linker_opts=
-  for arg
-  do
-    if test -n "$eat"; then
-      eat=
-    else
-      case $1 in
-	-o)
-	  # configure might choose to run compile as 'compile cc -o foo foo.c'.
-	  eat=1
-	  case $2 in
-	    *.o | *.[oO][bB][jJ])
-	      func_file_conv "$2"
-	      set x "$@" -Fo"$file"
-	      shift
-	      ;;
-	    *)
-	      func_file_conv "$2"
-	      set x "$@" -Fe"$file"
-	      shift
-	      ;;
-	  esac
-	  ;;
-	-I*)
-	  func_file_conv "${1#-I}" mingw
-	  set x "$@" -I"$file"
-	  shift
-	  ;;
-	-l*)
-	  lib=${1#-l}
-	  found=no
-	  save_IFS=$IFS
-	  IFS=';'
-	  for dir in $lib_path $LIB
-	  do
-	    IFS=$save_IFS
-	    if $shared && test -f "$dir/$lib.dll.lib"; then
-	      found=yes
-	      set x "$@" "$dir/$lib.dll.lib"
-	      break
-	    fi
-	    if test -f "$dir/$lib.lib"; then
-	      found=yes
-	      set x "$@" "$dir/$lib.lib"
-	      break
-	    fi
-	  done
-	  IFS=$save_IFS
-
-	  test "$found" != yes && set x "$@" "$lib.lib"
-	  shift
-	  ;;
-	-L*)
-	  func_file_conv "${1#-L}"
-	  if test -z "$lib_path"; then
-	    lib_path=$file
-	  else
-	    lib_path="$lib_path;$file"
-	  fi
-	  linker_opts="$linker_opts -LIBPATH:$file"
-	  ;;
-	-static)
-	  shared=false
-	  ;;
-	-Wl,*)
-	  arg=${1#-Wl,}
-	  save_ifs="$IFS"; IFS=','
-	  for flag in $arg; do
-	    IFS="$save_ifs"
-	    linker_opts="$linker_opts $flag"
-	  done
-	  IFS="$save_ifs"
-	  ;;
-	-Xlinker)
-	  eat=1
-	  linker_opts="$linker_opts $2"
-	  ;;
-	-*)
-	  set x "$@" "$1"
-	  shift
-	  ;;
-	*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
-	  func_file_conv "$1"
-	  set x "$@" -Tp"$file"
-	  shift
-	  ;;
-	*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
-	  func_file_conv "$1" mingw
-	  set x "$@" "$file"
-	  shift
-	  ;;
-	*)
-	  set x "$@" "$1"
-	  shift
-	  ;;
-      esac
-    fi
-    shift
-  done
-  if test -n "$linker_opts"; then
-    linker_opts="-link$linker_opts"
-  fi
-  exec "$@" $linker_opts
-  exit 1
-}
-
-eat=
-
 case $1 in
 case $1 in
   '')
   '')
-     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
      exit 1;
      exit 1;
      ;;
      ;;
   -h | --h*)
   -h | --h*)
     cat <<\EOF
     cat <<\EOF
 Usage: compile [--help] [--version] PROGRAM [ARGS]
 Usage: compile [--help] [--version] PROGRAM [ARGS]
 
 
-Wrapper for compilers which do not understand '-c -o'.
-Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+Wrapper for compilers which do not understand `-c -o'.
+Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
 arguments, and rename the output as expected.
 arguments, and rename the output as expected.
 
 
 If you are trying to build a whole package this is not the
 If you are trying to build a whole package this is not the
-right script to run: please start by reading the file 'INSTALL'.
+right script to run: please start by reading the file `INSTALL'.
 
 
 Report bugs to <bug-automake@gnu.org>.
 Report bugs to <bug-automake@gnu.org>.
 EOF
 EOF
@@ -218,13 +53,11 @@ EOF
     echo "compile $scriptversion"
     echo "compile $scriptversion"
     exit $?
     exit $?
     ;;
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
-    func_cl_wrapper "$@"      # Doesn't return...
-    ;;
 esac
 esac
 
 
 ofile=
 ofile=
 cfile=
 cfile=
+eat=
 
 
 for arg
 for arg
 do
 do
@@ -233,8 +66,8 @@ do
   else
   else
     case $1 in
     case $1 in
       -o)
       -o)
-	# configure might choose to run compile as 'compile cc -o foo foo.c'.
-	# So we strip '-o arg' only if arg is an object.
+	# configure might choose to run compile as `compile cc -o foo foo.c'.
+	# So we strip `-o arg' only if arg is an object.
 	eat=1
 	eat=1
 	case $2 in
 	case $2 in
 	  *.o | *.obj)
 	  *.o | *.obj)
@@ -261,10 +94,10 @@ do
 done
 done
 
 
 if test -z "$ofile" || test -z "$cfile"; then
 if test -z "$ofile" || test -z "$cfile"; then
-  # If no '-o' option was seen then we might have been invoked from a
+  # If no `-o' option was seen then we might have been invoked from a
   # pattern rule where we don't need one.  That is ok -- this is a
   # pattern rule where we don't need one.  That is ok -- this is a
   # normal compilation that the losing compiler can handle.  If no
   # normal compilation that the losing compiler can handle.  If no
-  # '.c' file was seen then we are probably linking.  That is also
+  # `.c' file was seen then we are probably linking.  That is also
   # ok.
   # ok.
   exec "$@"
   exec "$@"
 fi
 fi
@@ -273,7 +106,7 @@ fi
 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
 
 
 # Create the lock directory.
 # Create the lock directory.
-# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# Note: use `[/\\:.-]' here to ensure that we don't use the same name
 # that we are using for the .o file.  Also, base the name on the expected
 # that we are using for the .o file.  Also, base the name on the expected
 # object file name, since that is what matters with a parallel build.
 # object file name, since that is what matters with a parallel build.
 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d

+ 67 - 122
configure

@@ -651,7 +651,6 @@ LN_S
 am__fastdepCC_FALSE
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
 am__fastdepCC_TRUE
 CCDEPMODE
 CCDEPMODE
-am__nodep
 AMDEPBACKSLASH
 AMDEPBACKSLASH
 AMDEP_FALSE
 AMDEP_FALSE
 AMDEP_TRUE
 AMDEP_TRUE
@@ -1398,7 +1397,7 @@ Optional Features:
 Optional Packages:
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
+  --with-pic              try to use only PIC/non-PIC objects [default=use
                           both]
                           both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot=DIR Search for dependent libraries within DIR
   --with-sysroot=DIR Search for dependent libraries within DIR
@@ -2724,11 +2723,11 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 
 # We need awk for the "check" target.  The system "awk" is bad on
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 # some platforms.
-# Always define AMTAR for backward compatibility.  Yes, it's still used
-# in the wild :-(  We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
+# Always define AMTAR for backward compatibility.
 
 
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
 
 
 
 
 
@@ -2766,7 +2765,7 @@ $as_echo "no" >&6; }
 fi
 fi
 
 
 if test -z $CFLAGS; then
 if test -z $CFLAGS; then
-    CFLAGS='-O2'
+    CFLAGS='-O0'
 fi
 fi
 ac_ext=c
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_cpp='$CPP $CPPFLAGS'
@@ -3609,7 +3608,6 @@ fi
 if test "x$enable_dependency_tracking" != xno; then
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
   AMDEPBACKSLASH='\'
-  am__nodep='_no'
 fi
 fi
  if test "x$enable_dependency_tracking" != xno; then
  if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=
   AMDEP_TRUE=
@@ -3634,7 +3632,6 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
   # in D'.
-  rm -rf conftest.dir
   mkdir conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
   # using a relative directory.
@@ -3694,7 +3691,7 @@ else
 	break
 	break
       fi
       fi
       ;;
       ;;
-    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+    msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
       # so weak that their functioning should not be impacted.
@@ -4154,12 +4151,12 @@ else
 fi
 fi
 
 
 #adding platform-dependent information to compile flags
 #adding platform-dependent information to compile flags
-if test -z "$TARGET_WIN_TRUE"; then :
+if test "${host_os}" = "mingw32"; then
   $as_echo "#define WINDOWS 1" >>confdefs.h
   $as_echo "#define WINDOWS 1" >>confdefs.h
 
 
 fi #define WINDOWS is accessible from pre-processor
 fi #define WINDOWS is accessible from pre-processor
 
 
-if test -z "$TARGET_LINUX_TRUE"; then :
+if test "${host_os}" = "linux-gnu" || test "${host_os}" = "linux"; then
   $as_echo "#define LINUX 1" >>confdefs.h
   $as_echo "#define LINUX 1" >>confdefs.h
 
 
 fi
 fi
@@ -4496,8 +4493,8 @@ esac
 
 
 
 
 
 
-macro_version='2.4.2'
-macro_revision='1.3337'
+macro_version='2.4'
+macro_revision='1.3293'
 
 
 
 
 
 
@@ -5260,11 +5257,6 @@ else
     lt_cv_sys_max_cmd_len=196608
     lt_cv_sys_max_cmd_len=196608
     ;;
     ;;
 
 
-  os2*)
-    # The test takes a long time on OS/2.
-    lt_cv_sys_max_cmd_len=8192
-    ;;
-
   osf*)
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -5304,7 +5296,7 @@ else
       # If test is not a shell built-in, we'll probably end up computing a
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
       # we can't tell.
-      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
 	      test $i != 17 # 1/2 MB should be enough
       do
       do
@@ -5730,7 +5722,7 @@ irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all
   lt_cv_deplibs_check_method=pass_all
   ;;
   ;;
 
 
-# This must be glibc/ELF.
+# This must be Linux ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all
   lt_cv_deplibs_check_method=pass_all
   ;;
   ;;
@@ -6367,13 +6359,13 @@ old_postuninstall_cmds=
 if test -n "$RANLIB"; then
 if test -n "$RANLIB"; then
   case $host_os in
   case $host_os in
   openbsd*)
   openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     ;;
     ;;
   *)
   *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
     ;;
     ;;
   esac
   esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 fi
 fi
 
 
 case $host_os in
 case $host_os in
@@ -6520,7 +6512,6 @@ for ac_symprfx in "" "_"; do
     # which start with @ or ?.
     # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK '"\
     lt_cv_sys_global_symbol_pipe="$AWK '"\
 "     {last_section=section; section=\$ 3};"\
 "     {last_section=section; section=\$ 3};"\
-"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -6909,7 +6900,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
     CFLAGS="$SAVE_CFLAGS"
     CFLAGS="$SAVE_CFLAGS"
   fi
   fi
   ;;
   ;;
-*-*solaris*)
+sparc*-*solaris*)
   # Find out which ABI we are using.
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   echo 'int i;' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -6920,20 +6911,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
     case `/usr/bin/file conftest.o` in
     case `/usr/bin/file conftest.o` in
     *64-bit*)
     *64-bit*)
       case $lt_cv_prog_gnu_ld in
       case $lt_cv_prog_gnu_ld in
-      yes*)
-        case $host in
-        i?86-*-solaris*)
-          LD="${LD-ld} -m elf_x86_64"
-          ;;
-        sparc*-*-solaris*)
-          LD="${LD-ld} -m elf64_sparc"
-          ;;
-        esac
-        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
-        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
-          LD="${LD-ld}_sol2"
-        fi
-        ;;
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
       *)
       *)
 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 	  LD="${LD-ld} -64"
 	  LD="${LD-ld} -64"
@@ -7573,13 +7551,7 @@ else
 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?
         _lt_result=$?
-	# If there is a non-empty error log, and "single_module"
-	# appears in it, assume the flag caused a linker warning
-        if test -s conftest.err && $GREP single_module conftest.err; then
-	  cat conftest.err >&5
-	# Otherwise, if the output was created with a 0 exit code from
-	# the compiler, it worked.
-	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
+	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 	  lt_cv_apple_cc_single_mod=yes
 	  lt_cv_apple_cc_single_mod=yes
 	else
 	else
 	  cat conftest.err >&5
 	  cat conftest.err >&5
@@ -7590,7 +7562,6 @@ else
 fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
-
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 if ${lt_cv_ld_exported_symbols_list+:} false; then :
 if ${lt_cv_ld_exported_symbols_list+:} false; then :
@@ -7623,7 +7594,6 @@ rm -f core conftest.err conftest.$ac_objext \
 fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
-
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 $as_echo_n "checking for -force_load linker flag... " >&6; }
 $as_echo_n "checking for -force_load linker flag... " >&6; }
 if ${lt_cv_ld_force_load+:} false; then :
 if ${lt_cv_ld_force_load+:} false; then :
@@ -7645,9 +7615,7 @@ _LT_EOF
       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
       _lt_result=$?
       _lt_result=$?
-      if test -s conftest.err && $GREP force_load conftest.err; then
-	cat conftest.err >&5
-      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 	lt_cv_ld_force_load=yes
 	lt_cv_ld_force_load=yes
       else
       else
 	cat conftest.err >&5
 	cat conftest.err >&5
@@ -8050,22 +8018,7 @@ fi
 
 
 # Check whether --with-pic was given.
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; lt_p=${PACKAGE-default}
-    case $withval in
-    yes|no) pic_mode=$withval ;;
-    *)
-      pic_mode=default
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for lt_pkg in $withval; do
-	IFS="$lt_save_ifs"
-	if test "X$lt_pkg" = "X$lt_p"; then
-	  pic_mode=yes
-	fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac
+  withval=$with_pic; pic_mode="$withval"
 else
 else
   pic_mode=default
   pic_mode=default
 fi
 fi
@@ -8138,10 +8091,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
 
 
 
 
 
-
-
-
-
 
 
 
 
 
 
@@ -8602,9 +8551,7 @@ lt_prog_compiler_static=
     case $cc_basename in
     case $cc_basename in
     nvcc*) # Cuda Compiler Driver 2.2
     nvcc*) # Cuda Compiler Driver 2.2
       lt_prog_compiler_wl='-Xlinker '
       lt_prog_compiler_wl='-Xlinker '
-      if test -n "$lt_prog_compiler_pic"; then
-        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
-      fi
+      lt_prog_compiler_pic='-Xcompiler -fPIC'
       ;;
       ;;
     esac
     esac
   else
   else
@@ -8695,33 +8642,18 @@ lt_prog_compiler_static=
 	;;
 	;;
       *)
       *)
 	case `$CC -V 2>&1 | sed 5q` in
 	case `$CC -V 2>&1 | sed 5q` in
-	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+	*Sun\ F* | *Sun*Fortran*)
 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 	  lt_prog_compiler_pic='-KPIC'
 	  lt_prog_compiler_pic='-KPIC'
 	  lt_prog_compiler_static='-Bstatic'
 	  lt_prog_compiler_static='-Bstatic'
 	  lt_prog_compiler_wl=''
 	  lt_prog_compiler_wl=''
 	  ;;
 	  ;;
-	*Sun\ F* | *Sun*Fortran*)
-	  lt_prog_compiler_pic='-KPIC'
-	  lt_prog_compiler_static='-Bstatic'
-	  lt_prog_compiler_wl='-Qoption ld '
-	  ;;
 	*Sun\ C*)
 	*Sun\ C*)
 	  # Sun C 5.9
 	  # Sun C 5.9
 	  lt_prog_compiler_pic='-KPIC'
 	  lt_prog_compiler_pic='-KPIC'
 	  lt_prog_compiler_static='-Bstatic'
 	  lt_prog_compiler_static='-Bstatic'
 	  lt_prog_compiler_wl='-Wl,'
 	  lt_prog_compiler_wl='-Wl,'
 	  ;;
 	  ;;
-        *Intel*\ [CF]*Compiler*)
-	  lt_prog_compiler_wl='-Wl,'
-	  lt_prog_compiler_pic='-fPIC'
-	  lt_prog_compiler_static='-static'
-	  ;;
-	*Portland\ Group*)
-	  lt_prog_compiler_wl='-Wl,'
-	  lt_prog_compiler_pic='-fpic'
-	  lt_prog_compiler_static='-Bstatic'
-	  ;;
 	esac
 	esac
 	;;
 	;;
       esac
       esac
@@ -9083,6 +9015,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   hardcode_direct=no
   hardcode_direct=no
   hardcode_direct_absolute=no
   hardcode_direct_absolute=no
   hardcode_libdir_flag_spec=
   hardcode_libdir_flag_spec=
+  hardcode_libdir_flag_spec_ld=
   hardcode_libdir_separator=
   hardcode_libdir_separator=
   hardcode_minus_L=no
   hardcode_minus_L=no
   hardcode_shlibpath_var=unsupported
   hardcode_shlibpath_var=unsupported
@@ -9335,7 +9268,8 @@ _LT_EOF
 	xlf* | bgf* | bgxlf* | mpixlf*)
 	xlf* | bgf* | bgxlf* | mpixlf*)
 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
-	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+	  hardcode_libdir_flag_spec=
+	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 	  if test "x$supports_anon_versioning" = xyes; then
 	  if test "x$supports_anon_versioning" = xyes; then
 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
@@ -9715,7 +9649,6 @@ fi
 	# The linker will not automatically build a static lib if we build a DLL.
 	# The linker will not automatically build a static lib if we build a DLL.
 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 	enable_shared_with_static_runtimes=yes
 	enable_shared_with_static_runtimes=yes
-	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 	# Don't use ranlib
 	# Don't use ranlib
 	old_postinstall_cmds='chmod 644 $oldlib'
 	old_postinstall_cmds='chmod 644 $oldlib'
@@ -9761,7 +9694,6 @@ fi
   hardcode_shlibpath_var=unsupported
   hardcode_shlibpath_var=unsupported
   if test "$lt_cv_ld_force_load" = "yes"; then
   if test "$lt_cv_ld_force_load" = "yes"; then
     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
-
   else
   else
     whole_archive_flag_spec=''
     whole_archive_flag_spec=''
   fi
   fi
@@ -9790,6 +9722,10 @@ fi
       hardcode_shlibpath_var=no
       hardcode_shlibpath_var=no
       ;;
       ;;
 
 
+    freebsd1*)
+      ld_shlibs=no
+      ;;
+
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
     # does not break anything, and helps significantly (at the cost of a little
@@ -9802,7 +9738,7 @@ fi
       ;;
       ;;
 
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2.*)
+    freebsd2*)
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       hardcode_direct=yes
       hardcode_direct=yes
       hardcode_minus_L=yes
       hardcode_minus_L=yes
@@ -9841,6 +9777,7 @@ fi
       fi
       fi
       if test "$with_gnu_ld" = no; then
       if test "$with_gnu_ld" = no; then
 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+	hardcode_libdir_flag_spec_ld='+b $libdir'
 	hardcode_libdir_separator=:
 	hardcode_libdir_separator=:
 	hardcode_direct=yes
 	hardcode_direct=yes
 	hardcode_direct_absolute=yes
 	hardcode_direct_absolute=yes
@@ -10458,6 +10395,11 @@ esac
 
 
 
 
 
 
+
+
+
+
+
 
 
 
 
 
 
@@ -10553,7 +10495,7 @@ need_version=unknown
 
 
 case $host_os in
 case $host_os in
 aix3*)
 aix3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
   shlibpath_var=LIBPATH
 
 
@@ -10562,7 +10504,7 @@ aix3*)
   ;;
   ;;
 
 
 aix[4-9]*)
 aix[4-9]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   hardcode_into_libs=yes
   hardcode_into_libs=yes
@@ -10627,7 +10569,7 @@ beos*)
   ;;
   ;;
 
 
 bsdi[45]*)
 bsdi[45]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -10766,7 +10708,7 @@ darwin* | rhapsody*)
   ;;
   ;;
 
 
 dgux*)
 dgux*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -10774,6 +10716,10 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_var=LD_LIBRARY_PATH
   ;;
   ;;
 
 
+freebsd1*)
+  dynamic_linker=no
+  ;;
+
 freebsd* | dragonfly*)
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
   # versioning mechanism, adjust this.
@@ -10781,7 +10727,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
     objformat=`/usr/bin/objformat`
   else
   else
     case $host_os in
     case $host_os in
-    freebsd[23].*) objformat=aout ;;
+    freebsd[123]*) objformat=aout ;;
     *) objformat=elf ;;
     *) objformat=elf ;;
     esac
     esac
   fi
   fi
@@ -10799,7 +10745,7 @@ freebsd* | dragonfly*)
   esac
   esac
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
   case $host_os in
-  freebsd2.*)
+  freebsd2*)
     shlibpath_overrides_runpath=yes
     shlibpath_overrides_runpath=yes
     ;;
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -10819,7 +10765,7 @@ freebsd* | dragonfly*)
   ;;
   ;;
 
 
 gnu*)
 gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
@@ -10830,7 +10776,7 @@ gnu*)
   ;;
   ;;
 
 
 haiku*)
 haiku*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   dynamic_linker="$host_os runtime_loader"
   dynamic_linker="$host_os runtime_loader"
@@ -10891,7 +10837,7 @@ hpux9* | hpux10* | hpux11*)
   ;;
   ;;
 
 
 interix[3-9]*)
 interix[3-9]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -10907,7 +10853,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     nonstopux*) version_type=nonstopux ;;
     *)
     *)
 	if test "$lt_cv_prog_gnu_ld" = yes; then
 	if test "$lt_cv_prog_gnu_ld" = yes; then
-		version_type=linux # correct to gnu/linux during the next big refactor
+		version_type=linux
 	else
 	else
 		version_type=irix
 		version_type=irix
 	fi ;;
 	fi ;;
@@ -10944,9 +10890,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   dynamic_linker=no
   ;;
   ;;
 
 
-# This must be glibc/ELF.
+# This must be Linux ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -11040,7 +10986,7 @@ netbsd*)
   ;;
   ;;
 
 
 newsos6)
 newsos6)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
   shlibpath_overrides_runpath=yes
@@ -11109,7 +11055,7 @@ rdos*)
   ;;
   ;;
 
 
 solaris*)
 solaris*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -11134,7 +11080,7 @@ sunos4*)
   ;;
   ;;
 
 
 sysv4 | sysv4.3*)
 sysv4 | sysv4.3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_var=LD_LIBRARY_PATH
@@ -11158,7 +11104,7 @@ sysv4 | sysv4.3*)
 
 
 sysv4*MP*)
 sysv4*MP*)
   if test -d /usr/nec ;then
   if test -d /usr/nec ;then
-    version_type=linux # correct to gnu/linux during the next big refactor
+    version_type=linux
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_var=LD_LIBRARY_PATH
@@ -11189,7 +11135,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
 tpf*)
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   need_lib_prefix=no
   need_lib_prefix=no
   need_version=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -11199,7 +11145,7 @@ tpf*)
   ;;
   ;;
 
 
 uts4*)
 uts4*)
-  version_type=linux # correct to gnu/linux during the next big refactor
+  version_type=linux
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_var=LD_LIBRARY_PATH
@@ -11981,8 +11927,6 @@ CC="$lt_save_CC"
 
 
 
 
 
 
-
-
         ac_config_commands="$ac_config_commands libtool"
         ac_config_commands="$ac_config_commands libtool"
 
 
 
 
@@ -12766,7 +12710,6 @@ pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
-PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
@@ -12847,6 +12790,7 @@ with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
@@ -12905,7 +12849,6 @@ DLLTOOL \
 OBJDUMP \
 OBJDUMP \
 SHELL \
 SHELL \
 ECHO \
 ECHO \
-PATH_SEPARATOR \
 SED \
 SED \
 GREP \
 GREP \
 EGREP \
 EGREP \
@@ -12954,6 +12897,7 @@ with_gnu_ld \
 allow_undefined_flag \
 allow_undefined_flag \
 no_undefined_flag \
 no_undefined_flag \
 hardcode_libdir_flag_spec \
 hardcode_libdir_flag_spec \
+hardcode_libdir_flag_spec_ld \
 hardcode_libdir_separator \
 hardcode_libdir_separator \
 exclude_expsyms \
 exclude_expsyms \
 include_expsyms \
 include_expsyms \
@@ -13585,8 +13529,8 @@ $as_echo X"$file" |
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-#                 Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+#                 Inc.
 #   Written by Gordon Matzigkeit, 1996
 #   Written by Gordon Matzigkeit, 1996
 #
 #
 #   This file is part of GNU Libtool.
 #   This file is part of GNU Libtool.
@@ -13649,9 +13593,6 @@ SHELL=$lt_SHELL
 # An echo program that protects backslashes.
 # An echo program that protects backslashes.
 ECHO=$lt_ECHO
 ECHO=$lt_ECHO
 
 
-# The PATH separator for the build system.
-PATH_SEPARATOR=$lt_PATH_SEPARATOR
-
 # The host system.
 # The host system.
 host_alias=$host_alias
 host_alias=$host_alias
 host=$host
 host=$host
@@ -13947,6 +13888,10 @@ no_undefined_flag=$lt_no_undefined_flag
 # This must work even if \$libdir does not exist
 # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
 
+# If ld is used when linking, flag to hardcode \$libdir into a binary
+# during linking.  This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
+
 # Whether we need a single "-rpath" flag with a separated argument.
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator
 hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
 

+ 1 - 1
configure.ac

@@ -8,7 +8,7 @@ AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE()
 AM_INIT_AUTOMAKE()
 AC_PROG_MAKE_SET
 AC_PROG_MAKE_SET
 if test -z $CFLAGS; then
 if test -z $CFLAGS; then
-    CFLAGS='-O2'
+    CFLAGS='-O0'
 fi
 fi
 AC_PROG_CC
 AC_PROG_CC
 AC_PROG_LN_S
 AC_PROG_LN_S

+ 8 - 66
depcomp

@@ -1,10 +1,10 @@
 #! /bin/sh
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 # depcomp - compile a program generating dependencies as side-effects
 
 
-scriptversion=2011-12-04.11; # UTC
+scriptversion=2009-04-28.21; # UTC
 
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
+# Software Foundation, Inc.
 
 
 # This program is free software; you can redistribute it and/or modify
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ Environment variables:
   object      Object file output by `PROGRAMS ARGS'.
   object      Object file output by `PROGRAMS ARGS'.
   DEPDIR      directory where to store dependencies.
   DEPDIR      directory where to store dependencies.
   depfile     Dependency file to output.
   depfile     Dependency file to output.
-  tmpdepfile  Temporary file to use when outputting dependencies.
+  tmpdepfile  Temporary file to use when outputing dependencies.
   libtool     Whether libtool is used (yes/no).
   libtool     Whether libtool is used (yes/no).
 
 
 Report bugs to <bug-automake@gnu.org>.
 Report bugs to <bug-automake@gnu.org>.
@@ -90,18 +90,10 @@ if test "$depmode" = msvcmsys; then
    # This is just like msvisualcpp but w/o cygpath translation.
    # This is just like msvisualcpp but w/o cygpath translation.
    # Just convert the backslash-escaped backslashes to single forward
    # Just convert the backslash-escaped backslashes to single forward
    # slashes to satisfy depend.m4
    # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
+   cygpath_u="sed s,\\\\\\\\,/,g"
    depmode=msvisualcpp
    depmode=msvisualcpp
 fi
 fi
 
 
-if test "$depmode" = msvc7msys; then
-   # This is just like msvc7 but w/o cygpath translation.
-   # Just convert the backslash-escaped backslashes to single forward
-   # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
-   depmode=msvc7
-fi
-
 case "$depmode" in
 case "$depmode" in
 gcc3)
 gcc3)
 ## gcc 3 implements dependency tracking that does exactly what
 ## gcc 3 implements dependency tracking that does exactly what
@@ -166,12 +158,10 @@ gcc)
 ' < "$tmpdepfile" |
 ' < "$tmpdepfile" |
 ## Some versions of gcc put a space before the `:'.  On the theory
 ## Some versions of gcc put a space before the `:'.  On the theory
 ## that the space means something, we add a space to the output as
 ## that the space means something, we add a space to the output as
-## well.  hp depmode also adds that space, but also prefixes the VPATH
-## to the object.  Take care to not repeat it in the output.
+## well.
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
 ## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
-      | sed -e 's/$/ :/' >> "$depfile"
+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   rm -f "$tmpdepfile"
   ;;
   ;;
 
 
@@ -415,52 +405,6 @@ tru64)
    rm -f "$tmpdepfile"
    rm -f "$tmpdepfile"
    ;;
    ;;
 
 
-msvc7)
-  if test "$libtool" = yes; then
-    showIncludes=-Wc,-showIncludes
-  else
-    showIncludes=-showIncludes
-  fi
-  "$@" $showIncludes > "$tmpdepfile"
-  stat=$?
-  grep -v '^Note: including file: ' "$tmpdepfile"
-  if test "$stat" = 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-  echo "$object : \\" > "$depfile"
-  # The first sed program below extracts the file names and escapes
-  # backslashes for cygpath.  The second sed program outputs the file
-  # name when reading, but also accumulates all include files in the
-  # hold buffer in order to output them again at the end.  This only
-  # works with sed implementations that can handle large buffers.
-  sed < "$tmpdepfile" -n '
-/^Note: including file:  *\(.*\)/ {
-  s//\1/
-  s/\\/\\\\/g
-  p
-}' | $cygpath_u | sort -u | sed -n '
-s/ /\\ /g
-s/\(.*\)/	\1 \\/p
-s/.\(.*\) \\/\1:/
-H
-$ {
-  s/.*/	/
-  G
-  p
-}' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-msvc7msys)
-  # This case exists only to let depend.m4 do its work.  It works by
-  # looking at the text of this script.  This case will never be run,
-  # since it is checked for above.
-  exit 1
-  ;;
-
 #nosideeffect)
 #nosideeffect)
   # This comment above is used by automake to tell side-effect
   # This comment above is used by automake to tell side-effect
   # dependency tracking mechanisms from slower ones.
   # dependency tracking mechanisms from slower ones.
@@ -559,9 +503,7 @@ makedepend)
   touch "$tmpdepfile"
   touch "$tmpdepfile"
   ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
   ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
   rm -f "$depfile"
   rm -f "$depfile"
-  # makedepend may prepend the VPATH from the source file name to the object.
-  # No need to regex-escape $object, excess matching of '.' is harmless.
-  sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+  cat < "$tmpdepfile" > "$depfile"
   sed '1,2d' "$tmpdepfile" | tr ' ' '
   sed '1,2d' "$tmpdepfile" | tr ' ' '
 ' | \
 ' | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## Some versions of the HPUX 10.20 sed can't process this invocation

+ 14 - 37
examples/src/.deps/opcuaServer.Po

@@ -4,15 +4,13 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
  /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
- /usr/include/i386-linux-gnu/bits/sys_errlist.h \
- /usr/include/i386-linux-gnu/bits/stdio.h \
- /usr/include/i386-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \
+ /usr/include/i386-linux-gnu/bits/sys_errlist.h /usr/include/stdlib.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
  /usr/include/i386-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
  /usr/include/i386-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
  /usr/include/i386-linux-gnu/bits/endian.h \
  /usr/include/i386-linux-gnu/bits/endian.h \
@@ -22,20 +20,16 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/i386-linux-gnu/bits/select2.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
- /usr/include/i386-linux-gnu/bits/stdlib.h ../../src/opcua_binaryEncDec.h \
- ../../src/opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ ../../src/opcua_binaryEncDec.h ../../src/opcua_builtInDatatypes.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/include/xlocale.h /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h \
- /usr/include/i386-linux-gnu/bits/string3.h \
- ../../src/opcua_advancedDatatypes.h ../../src/opcua_types.h \
- ../../src/opcua_builtInDatatypes.h ../../src/opcua_transportLayer.h \
- ../../src/opcua_binaryEncDec.h ../../src/opcua_connectionHelper.h \
- ../../src/tcp_layer.h /usr/include/i386-linux-gnu/sys/socket.h \
+ /usr/include/xlocale.h ../../src/opcua_advancedDatatypes.h \
+ ../../src/opcua_types.h ../../src/opcua_builtInDatatypes.h \
+ ../../src/opcua_transportLayer.h ../../src/opcua_binaryEncDec.h \
+ ../../src/opcua_connectionHelper.h ../../src/tcp_layer.h \
+ /usr/include/i386-linux-gnu/sys/socket.h \
  /usr/include/i386-linux-gnu/sys/uio.h \
  /usr/include/i386-linux-gnu/sys/uio.h \
  /usr/include/i386-linux-gnu/bits/uio.h \
  /usr/include/i386-linux-gnu/bits/uio.h \
  /usr/include/i386-linux-gnu/bits/socket.h \
  /usr/include/i386-linux-gnu/bits/socket.h \
@@ -43,8 +37,7 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
- /usr/include/asm-generic/sockios.h \
- /usr/include/i386-linux-gnu/bits/socket2.h /usr/include/netinet/in.h \
+ /usr/include/asm-generic/sockios.h /usr/include/netinet/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/sys/socketvar.h ../../src/opcua_types.h
  /usr/include/i386-linux-gnu/sys/socketvar.h ../../src/opcua_types.h
 
 
@@ -62,7 +55,7 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
 
 
 /usr/include/i386-linux-gnu/gnu/stubs-32.h:
 /usr/include/i386-linux-gnu/gnu/stubs-32.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/i386-linux-gnu/bits/types.h:
 /usr/include/i386-linux-gnu/bits/types.h:
 
 
@@ -74,16 +67,12 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
 
 
 /usr/include/wchar.h:
 /usr/include/wchar.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:
 
 
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 
 
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 
 
-/usr/include/i386-linux-gnu/bits/stdio.h:
-
-/usr/include/i386-linux-gnu/bits/stdio2.h:
-
 /usr/include/stdlib.h:
 /usr/include/stdlib.h:
 
 
 /usr/include/i386-linux-gnu/bits/waitflags.h:
 /usr/include/i386-linux-gnu/bits/waitflags.h:
@@ -108,21 +97,17 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
 
 
 /usr/include/i386-linux-gnu/bits/time.h:
 /usr/include/i386-linux-gnu/bits/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/select2.h:
-
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 
 
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 
 
 /usr/include/alloca.h:
 /usr/include/alloca.h:
 
 
-/usr/include/i386-linux-gnu/bits/stdlib.h:
-
 ../../src/opcua_binaryEncDec.h:
 ../../src/opcua_binaryEncDec.h:
 
 
 ../../src/opcua_builtInDatatypes.h:
 ../../src/opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -132,12 +117,6 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
 ../../src/opcua_advancedDatatypes.h:
 ../../src/opcua_advancedDatatypes.h:
 
 
 ../../src/opcua_types.h:
 ../../src/opcua_types.h:
@@ -170,8 +149,6 @@ opcuaServer.o: opcuaServer.c /usr/include/stdio.h /usr/include/features.h \
 
 
 /usr/include/asm-generic/sockios.h:
 /usr/include/asm-generic/sockios.h:
 
 
-/usr/include/i386-linux-gnu/bits/socket2.h:
-
 /usr/include/netinet/in.h:
 /usr/include/netinet/in.h:
 
 
 /usr/include/i386-linux-gnu/bits/in.h:
 /usr/include/i386-linux-gnu/bits/in.h:

+ 22 - 27
examples/src/Makefile

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # examples/src/Makefile.  Generated from Makefile.in by configure.
 # examples/src/Makefile.  Generated from Makefile.in by configure.
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -75,17 +75,17 @@ DIST_SOURCES = $(__top_builddir__bin_exampleServer_SOURCES)
 ETAGS = etags
 ETAGS = etags
 CTAGS = ctags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /home/opcua/git/open62541/missing --run aclocal-1.11
-AMTAR = $${TAR-tar}
+ACLOCAL = ${SHELL} /home/mrt/opcua/open62541/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/mrt/opcua/open62541/missing --run tar
 AR = ar
 AR = ar
 AS = as
 AS = as
-AUTOCONF = ${SHELL} /home/opcua/git/open62541/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/opcua/git/open62541/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/opcua/git/open62541/missing --run automake-1.11
+AUTOCONF = ${SHELL} /home/mrt/opcua/open62541/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/mrt/opcua/open62541/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/mrt/opcua/open62541/missing --run automake-1.11
 AWK = mawk
 AWK = mawk
 CC = gcc
 CC = gcc
 CCDEPMODE = depmode=gcc3
 CCDEPMODE = depmode=gcc3
-CFLAGS = -O2
+CFLAGS = -O0
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CPP = gcc -E
 CPP = gcc -E
@@ -116,7 +116,7 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool
 LIPO = 
 LIPO = 
 LN_S = ln -s
 LN_S = ln -s
 LTLIBOBJS = 
 LTLIBOBJS = 
-MAKEINFO = ${SHELL} /home/opcua/git/open62541/missing --run makeinfo
+MAKEINFO = ${SHELL} /home/mrt/opcua/open62541/missing --run makeinfo
 MANIFEST_TOOL = :
 MANIFEST_TOOL = :
 MKDIR_P = /bin/mkdir -p
 MKDIR_P = /bin/mkdir -p
 NM = /usr/bin/nm -B
 NM = /usr/bin/nm -B
@@ -142,18 +142,18 @@ SET_MAKE =
 SHELL = /bin/bash
 SHELL = /bin/bash
 STRIP = strip
 STRIP = strip
 VERSION = 1.0
 VERSION = 1.0
-abs_builddir = /home/opcua/git/open62541/examples/src
-abs_srcdir = /home/opcua/git/open62541/examples/src
-abs_top_builddir = /home/opcua/git/open62541
-abs_top_srcdir = /home/opcua/git/open62541
+abs_builddir = /home/mrt/opcua/open62541/examples/src
+abs_srcdir = /home/mrt/opcua/open62541/examples/src
+abs_top_builddir = /home/mrt/opcua/open62541
+abs_top_srcdir = /home/mrt/opcua/open62541
 ac_ct_AR = ar
 ac_ct_AR = ar
 ac_ct_CC = gcc
 ac_ct_CC = gcc
 ac_ct_DUMPBIN = 
 ac_ct_DUMPBIN = 
 am__include = include
 am__include = include
 am__leading_dot = .
 am__leading_dot = .
 am__quote = 
 am__quote = 
-am__tar = $${TAR-tar} chof - "$$tardir"
-am__untar = $${TAR-tar} xf -
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
 bindir = ${exec_prefix}/bin
 bindir = ${exec_prefix}/bin
 build = i686-pc-linux-gnu
 build = i686-pc-linux-gnu
 build_alias = 
 build_alias = 
@@ -174,7 +174,7 @@ host_vendor = pc
 htmldir = ${docdir}
 htmldir = ${docdir}
 includedir = ${prefix}/include
 includedir = ${prefix}/include
 infodir = ${datarootdir}/info
 infodir = ${datarootdir}/info
-install_sh = ${SHELL} /home/opcua/git/open62541/install-sh
+install_sh = ${SHELL} /home/mrt/opcua/open62541/install-sh
 libdir = ${exec_prefix}/lib
 libdir = ${exec_prefix}/lib
 libexecdir = ${exec_prefix}/libexec
 libexecdir = ${exec_prefix}/libexec
 localedir = ${datarootdir}/locale
 localedir = ${datarootdir}/locale
@@ -281,7 +281,7 @@ clean-binPROGRAMS:
 $(top_builddir)/bin/$(am__dirstamp):
 $(top_builddir)/bin/$(am__dirstamp):
 	@$(MKDIR_P) $(top_builddir)/bin
 	@$(MKDIR_P) $(top_builddir)/bin
 	@: > $(top_builddir)/bin/$(am__dirstamp)
 	@: > $(top_builddir)/bin/$(am__dirstamp)
-$(top_builddir)/bin/exampleServer$(EXEEXT): $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_DEPENDENCIES) $(EXTRA___top_builddir__bin_exampleServer_DEPENDENCIES) $(top_builddir)/bin/$(am__dirstamp)
+$(top_builddir)/bin/exampleServer$(EXEEXT): $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_DEPENDENCIES) $(top_builddir)/bin/$(am__dirstamp)
 	@rm -f $(top_builddir)/bin/exampleServer$(EXEEXT)
 	@rm -f $(top_builddir)/bin/exampleServer$(EXEEXT)
 	$(__top_builddir__bin_exampleServer_LINK) $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_LDADD) $(LIBS)
 	$(__top_builddir__bin_exampleServer_LINK) $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_LDADD) $(LIBS)
 
 
@@ -420,15 +420,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic:

+ 8 - 13
examples/src/Makefile.in

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 # @configure_input@
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -281,7 +281,7 @@ clean-binPROGRAMS:
 $(top_builddir)/bin/$(am__dirstamp):
 $(top_builddir)/bin/$(am__dirstamp):
 	@$(MKDIR_P) $(top_builddir)/bin
 	@$(MKDIR_P) $(top_builddir)/bin
 	@: > $(top_builddir)/bin/$(am__dirstamp)
 	@: > $(top_builddir)/bin/$(am__dirstamp)
-$(top_builddir)/bin/exampleServer$(EXEEXT): $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_DEPENDENCIES) $(EXTRA___top_builddir__bin_exampleServer_DEPENDENCIES) $(top_builddir)/bin/$(am__dirstamp)
+$(top_builddir)/bin/exampleServer$(EXEEXT): $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_DEPENDENCIES) $(top_builddir)/bin/$(am__dirstamp)
 	@rm -f $(top_builddir)/bin/exampleServer$(EXEEXT)
 	@rm -f $(top_builddir)/bin/exampleServer$(EXEEXT)
 	$(__top_builddir__bin_exampleServer_LINK) $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_LDADD) $(LIBS)
 	$(__top_builddir__bin_exampleServer_LINK) $(__top_builddir__bin_exampleServer_OBJECTS) $(__top_builddir__bin_exampleServer_LDADD) $(LIBS)
 
 
@@ -420,15 +420,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic:

+ 11 - 18
install-sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 #!/bin/sh
 # install - install a program, script, or datafile
 # install - install a program, script, or datafile
 
 
-scriptversion=2011-01-19.21; # UTC
+scriptversion=2009-04-28.21; # UTC
 
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -156,10 +156,6 @@ while test $# -ne 0; do
     -s) stripcmd=$stripprog;;
     -s) stripcmd=$stripprog;;
 
 
     -t) dst_arg=$2
     -t) dst_arg=$2
-	# Protect names problematic for `test' and other utilities.
-	case $dst_arg in
-	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
-	esac
 	shift;;
 	shift;;
 
 
     -T) no_target_directory=true;;
     -T) no_target_directory=true;;
@@ -190,10 +186,6 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
     fi
     fi
     shift # arg
     shift # arg
     dst_arg=$arg
     dst_arg=$arg
-    # Protect names problematic for `test' and other utilities.
-    case $dst_arg in
-      -* | [=\(\)!]) dst_arg=./$dst_arg;;
-    esac
   done
   done
 fi
 fi
 
 
@@ -208,11 +200,7 @@ if test $# -eq 0; then
 fi
 fi
 
 
 if test -z "$dir_arg"; then
 if test -z "$dir_arg"; then
-  do_exit='(exit $ret); exit $ret'
-  trap "ret=129; $do_exit" 1
-  trap "ret=130; $do_exit" 2
-  trap "ret=141; $do_exit" 13
-  trap "ret=143; $do_exit" 15
+  trap '(exit $?); exit' 1 2 13 15
 
 
   # Set umask so as not to create temps with too-generous modes.
   # Set umask so as not to create temps with too-generous modes.
   # However, 'strip' requires both read and write access to temps.
   # However, 'strip' requires both read and write access to temps.
@@ -240,9 +228,9 @@ fi
 
 
 for src
 for src
 do
 do
-  # Protect names problematic for `test' and other utilities.
+  # Protect names starting with `-'.
   case $src in
   case $src in
-    -* | [=\(\)!]) src=./$src;;
+    -*) src=./$src;;
   esac
   esac
 
 
   if test -n "$dir_arg"; then
   if test -n "$dir_arg"; then
@@ -264,7 +252,12 @@ do
       echo "$0: no destination specified." >&2
       echo "$0: no destination specified." >&2
       exit 1
       exit 1
     fi
     fi
+
     dst=$dst_arg
     dst=$dst_arg
+    # Protect names starting with `-'.
+    case $dst in
+      -*) dst=./$dst;;
+    esac
 
 
     # If destination is a directory, append the input filename; won't work
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
     # if double slashes aren't ignored.
@@ -392,7 +385,7 @@ do
 
 
       case $dstdir in
       case $dstdir in
 	/*) prefix='/';;
 	/*) prefix='/';;
-	[-=\(\)!]*) prefix='./';;
+	-*) prefix='./';;
 	*)  prefix='';;
 	*)  prefix='';;
       esac
       esac
 
 
@@ -410,7 +403,7 @@ do
 
 
       for d
       for d
       do
       do
-	test X"$d" = X && continue
+	test -z "$d" && continue
 
 
 	prefix=$prefix$d
 	prefix=$prefix$d
 	if test -d "$prefix"; then
 	if test -d "$prefix"; then

+ 53 - 71
libtool

@@ -2,12 +2,12 @@
 
 
 # libtool - Provide generalized library-building support services.
 # libtool - Provide generalized library-building support services.
 # Generated automatically by config.status (opcuaserver) 1.0
 # Generated automatically by config.status (opcuaserver) 1.0
-# Libtool was configured on host opcua-VirtualBox:
+# Libtool was configured on host mrt-VirtualBox:
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-#                 Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+#                 Inc.
 #   Written by Gordon Matzigkeit, 1996
 #   Written by Gordon Matzigkeit, 1996
 #
 #
 #   This file is part of GNU Libtool.
 #   This file is part of GNU Libtool.
@@ -49,8 +49,8 @@ DLLTOOL="dlltool"
 OBJDUMP="objdump"
 OBJDUMP="objdump"
 
 
 # Which release of libtool.m4 was used?
 # Which release of libtool.m4 was used?
-macro_version=2.4.2
-macro_revision=1.3337
+macro_version=2.4
+macro_revision=1.3293
 
 
 # Whether or not to build shared libraries.
 # Whether or not to build shared libraries.
 build_libtool_libs=yes
 build_libtool_libs=yes
@@ -70,9 +70,6 @@ SHELL="/bin/bash"
 # An echo program that protects backslashes.
 # An echo program that protects backslashes.
 ECHO="printf %s\\n"
 ECHO="printf %s\\n"
 
 
-# The PATH separator for the build system.
-PATH_SEPARATOR=":"
-
 # The host system.
 # The host system.
 host_alias=
 host_alias=
 host=i686-pc-linux-gnu
 host=i686-pc-linux-gnu
@@ -105,7 +102,7 @@ NM="/usr/bin/nm -B"
 LN_S="ln -s"
 LN_S="ln -s"
 
 
 # What is the maximum length of a command?
 # What is the maximum length of a command?
-max_cmd_len=1572864
+max_cmd_len=805306365
 
 
 # Object file suffix (normally "o").
 # Object file suffix (normally "o").
 objext=o
 objext=o
@@ -157,7 +154,7 @@ STRIP="strip"
 
 
 # Commands used to install an old-style archive.
 # Commands used to install an old-style archive.
 RANLIB="ranlib"
 RANLIB="ranlib"
-old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
+old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
 old_postuninstall_cmds=""
 old_postuninstall_cmds=""
 
 
 # Whether to use a lock for old archive extraction.
 # Whether to use a lock for old archive extraction.
@@ -167,7 +164,7 @@ lock_old_archive_extraction=no
 LTCC="gcc"
 LTCC="gcc"
 
 
 # LTCC compiler flags.
 # LTCC compiler flags.
-LTCFLAGS="-O2"
+LTCFLAGS="-O0"
 
 
 # Take the output of nm and produce a listing of raw symbols and C names.
 # Take the output of nm and produce a listing of raw symbols and C names.
 global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
 global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
@@ -275,10 +272,10 @@ finish_eval=""
 hardcode_into_libs=yes
 hardcode_into_libs=yes
 
 
 # Compile-time system search path for libraries.
 # Compile-time system search path for libraries.
-sys_lib_search_path_spec="/usr/lib/gcc/i686-linux-gnu/4.6 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib "
+sys_lib_search_path_spec="/usr/lib/gcc/i686-linux-gnu/4.6.1 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib "
 
 
 # Run-time system search path for libraries.
 # Run-time system search path for libraries.
-sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib "
+sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /usr/local/lib "
 
 
 # Whether dlopen is supported.
 # Whether dlopen is supported.
 dlopen_support=unknown
 dlopen_support=unknown
@@ -302,7 +299,7 @@ reload_flag=" -r"
 reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
 reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
 
 
 # Commands used to build an old-style archive.
 # Commands used to build an old-style archive.
-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
 
 
 # A language specific compiler.
 # A language specific compiler.
 CC="gcc"
 CC="gcc"
@@ -371,6 +368,10 @@ no_undefined_flag=""
 # This must work even if $libdir does not exist
 # This must work even if $libdir does not exist
 hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
 hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
 
 
+# If ld is used when linking, flag to hardcode $libdir into a binary
+# during linking.  This must work even if $libdir does not exist.
+hardcode_libdir_flag_spec_ld=""
+
 # Whether we need a single "-rpath" flag with a separated argument.
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=""
 hardcode_libdir_separator=""
 
 
@@ -431,11 +432,11 @@ hardcode_action=immediate
 # ### END LIBTOOL CONFIG
 # ### END LIBTOOL CONFIG
 
 
 
 
-# libtool (GNU libtool) 2.4.2
+# libtool (GNU libtool) 2.4
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
-# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 
@@ -473,7 +474,6 @@ hardcode_action=immediate
 #       --quiet, --silent    don't print informational messages
 #       --quiet, --silent    don't print informational messages
 #       --no-quiet, --no-silent
 #       --no-quiet, --no-silent
 #                            print informational messages (default)
 #                            print informational messages (default)
-#       --no-warn            don't display warning messages
 #       --tag=TAG            use configuration variables from tag TAG
 #       --tag=TAG            use configuration variables from tag TAG
 #   -v, --verbose            print more informational messages than default
 #   -v, --verbose            print more informational messages than default
 #       --no-verbose         don't print the extra informational messages
 #       --no-verbose         don't print the extra informational messages
@@ -502,7 +502,7 @@ hardcode_action=immediate
 #         compiler:		$LTCC
 #         compiler:		$LTCC
 #         compiler flags:		$LTCFLAGS
 #         compiler flags:		$LTCFLAGS
 #         linker:		$LD (gnu? $with_gnu_ld)
 #         linker:		$LD (gnu? $with_gnu_ld)
-#         $progname:	(GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+#         $progname:	(GNU libtool) 2.4 Debian-2.4-2ubuntu1
 #         automake:	$automake_version
 #         automake:	$automake_version
 #         autoconf:	$autoconf_version
 #         autoconf:	$autoconf_version
 #
 #
@@ -512,9 +512,9 @@ hardcode_action=immediate
 
 
 PROGRAM=libtool
 PROGRAM=libtool
 PACKAGE=libtool
 PACKAGE=libtool
-VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
+VERSION="2.4 Debian-2.4-2ubuntu1"
 TIMESTAMP=""
 TIMESTAMP=""
-package_revision=1.3337
+package_revision=1.3293
 
 
 # Be Bourne compatible
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -569,10 +569,15 @@ progpath="$0"
 
 
 : ${CP="cp -f"}
 : ${CP="cp -f"}
 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
+: ${EGREP="/bin/grep -E"}
+: ${FGREP="/bin/grep -F"}
+: ${GREP="/bin/grep"}
+: ${LN_S="ln -s"}
 : ${MAKE="make"}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
 : ${RM="rm -f"}
+: ${SED="/bin/sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 : ${Xsed="$SED -e 1s/^X//"}
 
 
@@ -811,7 +816,7 @@ case $progpath in
      ;;
      ;;
   *)
   *)
      save_IFS="$IFS"
      save_IFS="$IFS"
-     IFS=${PATH_SEPARATOR-:}
+     IFS=:
      for progdir in $PATH; do
      for progdir in $PATH; do
        IFS="$save_IFS"
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
        test -x "$progdir/$progname" && break
@@ -1195,8 +1200,8 @@ func_help ()
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LD*'"$LD"'*
 	s*\$LD*'"$LD"'*
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
-	s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
-	s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
+	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
+	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
 	p
 	p
 	d
 	d
      }
      }
@@ -1473,7 +1478,6 @@ opt_finish=false
 opt_help=false
 opt_help=false
 opt_help_all=false
 opt_help_all=false
 opt_silent=:
 opt_silent=:
-opt_warning=:
 opt_verbose=:
 opt_verbose=:
 opt_silent=false
 opt_silent=false
 opt_verbose=false
 opt_verbose=false
@@ -1540,10 +1544,6 @@ esac
 			;;
 			;;
       --no-silent|--no-quiet)
       --no-silent|--no-quiet)
 			opt_silent=false
 			opt_silent=false
-preserve_args+=" $opt"
-			;;
-      --no-warning|--no-warn)
-			opt_warning=false
 preserve_args+=" $opt"
 preserve_args+=" $opt"
 			;;
 			;;
       --no-verbose)
       --no-verbose)
@@ -2485,7 +2485,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
+    *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       func_xform "$libobj"
       libobj=$func_xform_result
       libobj=$func_xform_result
       ;;
       ;;
@@ -3627,13 +3627,11 @@ func_mode_install ()
 
 
       # Set up the ranlib parameters.
       # Set up the ranlib parameters.
       oldlib="$destdir/$name"
       oldlib="$destdir/$name"
-      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-      tool_oldlib=$func_to_tool_file_result
 
 
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
 
 
       if test -n "$stripme" && test -n "$old_striplib"; then
       if test -n "$stripme" && test -n "$old_striplib"; then
-	func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
+	func_show_eval "$old_striplib $oldlib" 'exit $?'
       fi
       fi
 
 
       # Do each command in the postinstall commands.
       # Do each command in the postinstall commands.
@@ -3898,7 +3896,7 @@ static const void *lt_preloaded_setup() {
 	  # linked before any other PIC object.  But we must not use
 	  # linked before any other PIC object.  But we must not use
 	  # pic_flag when linking with -static.  The problem exists in
 	  # pic_flag when linking with -static.  The problem exists in
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-	  *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	  *-*-hpux*)
 	  *-*-hpux*)
 	    pic_flag_for_symtable=" $pic_flag"  ;;
 	    pic_flag_for_symtable=" $pic_flag"  ;;
@@ -4410,17 +4408,14 @@ func_exec_program_core ()
 # launches target application with the remaining arguments.
 # launches target application with the remaining arguments.
 func_exec_program ()
 func_exec_program ()
 {
 {
-  case \" \$* \" in
-  *\\ --lt-*)
-    for lt_wr_arg
-    do
-      case \$lt_wr_arg in
-      --lt-*) ;;
-      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
-      esac
-      shift
-    done ;;
-  esac
+  for lt_wr_arg
+  do
+    case \$lt_wr_arg in
+    --lt-*) ;;
+    *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+    esac
+    shift
+  done
   func_exec_program_core \${1+\"\$@\"}
   func_exec_program_core \${1+\"\$@\"}
 }
 }
 
 
@@ -5488,15 +5483,9 @@ void lt_dump_script (FILE* f)
 {
 {
 EOF
 EOF
 	    func_emit_wrapper yes |
 	    func_emit_wrapper yes |
-	      $SED -n -e '
-s/^\(.\{79\}\)\(..*\)/\1\
-\2/
-h
-s/\([\\"]\)/\\\1/g
-s/$/\\n/
-s/\([^\n]*\).*/  fputs ("\1", f);/p
-g
-D'
+              $SED -e 's/\([\\"]\)/\\\1/g' \
+	           -e 's/^/  fputs ("/' -e 's/$/\\n", f);/'
+
             cat <<"EOF"
             cat <<"EOF"
 }
 }
 EOF
 EOF
@@ -6080,8 +6069,7 @@ func_mode_link ()
 	continue
 	continue
 	;;
 	;;
 
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
 	compiler_flags+=" $arg"
 	compiler_flags+=" $arg"
 	compile_command+=" $arg"
 	compile_command+=" $arg"
 	finalize_command+=" $arg"
 	finalize_command+=" $arg"
@@ -6588,8 +6576,7 @@ func_mode_link ()
 	lib=
 	lib=
 	found=no
 	found=no
 	case $deplib in
 	case $deplib in
-	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
@@ -7273,7 +7260,7 @@ func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 	         test "$hardcode_direct_absolute" = no; then
 		add="$dir/$linklib"
 		add="$dir/$linklib"
 	      elif test "$hardcode_minus_L" = yes; then
 	      elif test "$hardcode_minus_L" = yes; then
-		add_dir="-L$absdir"
+		add_dir="-L$dir"
 		# Try looking first in the location we're being installed to.
 		# Try looking first in the location we're being installed to.
 		if test -n "$inst_prefix_dir"; then
 		if test -n "$inst_prefix_dir"; then
 		  case $libdir in
 		  case $libdir in
@@ -7758,7 +7745,6 @@ func_mode_link ()
 	  # which has an extra 1 added just for fun
 	  # which has an extra 1 added just for fun
 	  #
 	  #
 	  case $version_type in
 	  case $version_type in
-	  # correct linux to gnu/linux during the next big refactor
 	  darwin|linux|osf|windows|none)
 	  darwin|linux|osf|windows|none)
 	    func_arith $number_major + $number_minor
 	    func_arith $number_major + $number_minor
 	    current=$func_arith_result
 	    current=$func_arith_result
@@ -7878,7 +7864,7 @@ func_mode_link ()
 	  versuffix="$major.$revision"
 	  versuffix="$major.$revision"
 	  ;;
 	  ;;
 
 
-	linux) # correct to gnu/linux during the next big refactor
+	linux)
 	  func_arith $current - $age
 	  func_arith $current - $age
 	  major=.$func_arith_result
 	  major=.$func_arith_result
 	  versuffix="$major.$age.$revision"
 	  versuffix="$major.$age.$revision"
@@ -8466,11 +8452,6 @@ EOF
 
 
       # Test again, we may have decided not to build it any more
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
       if test "$build_libtool_libs" = yes; then
-	# Remove ${wl} instances when linking with ld.
-	# FIXME: should test the right _cmds variable.
-	case $archive_cmds in
-	  *\$LD\ *) wl= ;;
-        esac
 	if test "$hardcode_into_libs" = yes; then
 	if test "$hardcode_into_libs" = yes; then
 	  # Hardcode the library paths
 	  # Hardcode the library paths
 	  hardcode_libdirs=
 	  hardcode_libdirs=
@@ -8501,7 +8482,7 @@ EOF
 	    elif test -n "$runpath_var"; then
 	    elif test -n "$runpath_var"; then
 	      case "$perm_rpath " in
 	      case "$perm_rpath " in
 	      *" $libdir "*) ;;
 	      *" $libdir "*) ;;
-	      *) perm_rpath+=" $libdir" ;;
+	      *) func_apped perm_rpath " $libdir" ;;
 	      esac
 	      esac
 	    fi
 	    fi
 	  done
 	  done
@@ -8509,7 +8490,11 @@ EOF
 	  if test -n "$hardcode_libdir_separator" &&
 	  if test -n "$hardcode_libdir_separator" &&
 	     test -n "$hardcode_libdirs"; then
 	     test -n "$hardcode_libdirs"; then
 	    libdir="$hardcode_libdirs"
 	    libdir="$hardcode_libdirs"
-	    eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
+	    if test -n "$hardcode_libdir_flag_spec_ld"; then
+	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
+	    else
+	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
+	    fi
 	  fi
 	  fi
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	    # We should set the runpath_var.
 	    # We should set the runpath_var.
@@ -9599,8 +9584,6 @@ EOF
 	    esac
 	    esac
 	  done
 	  done
 	fi
 	fi
-	func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-	tool_oldlib=$func_to_tool_file_result
 	eval cmds=\"$old_archive_cmds\"
 	eval cmds=\"$old_archive_cmds\"
 
 
 	func_len " $cmds"
 	func_len " $cmds"
@@ -9710,8 +9693,7 @@ EOF
 	      *.la)
 	      *.la)
 		func_basename "$deplib"
 		func_basename "$deplib"
 		name="$func_basename_result"
 		name="$func_basename_result"
-		func_resolve_sysroot "$deplib"
-		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
 		test -z "$libdir" && \
 		test -z "$libdir" && \
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
 		newdependency_libs+=" ${lt_sysroot:+=}$libdir/$name"
 		newdependency_libs+=" ${lt_sysroot:+=}$libdir/$name"

+ 38 - 57
ltmain.sh

@@ -1,9 +1,9 @@
 
 
-# libtool (GNU libtool) 2.4.2
+# libtool (GNU libtool) 2.4
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
-# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 
@@ -41,7 +41,6 @@
 #       --quiet, --silent    don't print informational messages
 #       --quiet, --silent    don't print informational messages
 #       --no-quiet, --no-silent
 #       --no-quiet, --no-silent
 #                            print informational messages (default)
 #                            print informational messages (default)
-#       --no-warn            don't display warning messages
 #       --tag=TAG            use configuration variables from tag TAG
 #       --tag=TAG            use configuration variables from tag TAG
 #   -v, --verbose            print more informational messages than default
 #   -v, --verbose            print more informational messages than default
 #       --no-verbose         don't print the extra informational messages
 #       --no-verbose         don't print the extra informational messages
@@ -70,7 +69,7 @@
 #         compiler:		$LTCC
 #         compiler:		$LTCC
 #         compiler flags:		$LTCFLAGS
 #         compiler flags:		$LTCFLAGS
 #         linker:		$LD (gnu? $with_gnu_ld)
 #         linker:		$LD (gnu? $with_gnu_ld)
-#         $progname:	(GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+#         $progname:	(GNU libtool) 2.4 Debian-2.4-2ubuntu1
 #         automake:	$automake_version
 #         automake:	$automake_version
 #         autoconf:	$autoconf_version
 #         autoconf:	$autoconf_version
 #
 #
@@ -80,9 +79,9 @@
 
 
 PROGRAM=libtool
 PROGRAM=libtool
 PACKAGE=libtool
 PACKAGE=libtool
-VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
+VERSION="2.4 Debian-2.4-2ubuntu1"
 TIMESTAMP=""
 TIMESTAMP=""
-package_revision=1.3337
+package_revision=1.3293
 
 
 # Be Bourne compatible
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -137,10 +136,15 @@ progpath="$0"
 
 
 : ${CP="cp -f"}
 : ${CP="cp -f"}
 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
+: ${EGREP="/bin/grep -E"}
+: ${FGREP="/bin/grep -F"}
+: ${GREP="/bin/grep"}
+: ${LN_S="ln -s"}
 : ${MAKE="make"}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
 : ${RM="rm -f"}
+: ${SED="/bin/sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 : ${Xsed="$SED -e 1s/^X//"}
 
 
@@ -383,7 +387,7 @@ case $progpath in
      ;;
      ;;
   *)
   *)
      save_IFS="$IFS"
      save_IFS="$IFS"
-     IFS=${PATH_SEPARATOR-:}
+     IFS=:
      for progdir in $PATH; do
      for progdir in $PATH; do
        IFS="$save_IFS"
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
        test -x "$progdir/$progname" && break
@@ -767,8 +771,8 @@ func_help ()
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LD*'"$LD"'*
 	s*\$LD*'"$LD"'*
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
-	s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
-	s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
+	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
+	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
 	p
 	p
 	d
 	d
      }
      }
@@ -1048,7 +1052,6 @@ opt_finish=false
 opt_help=false
 opt_help=false
 opt_help_all=false
 opt_help_all=false
 opt_silent=:
 opt_silent=:
-opt_warning=:
 opt_verbose=:
 opt_verbose=:
 opt_silent=false
 opt_silent=false
 opt_verbose=false
 opt_verbose=false
@@ -1115,10 +1118,6 @@ esac
 			;;
 			;;
       --no-silent|--no-quiet)
       --no-silent|--no-quiet)
 			opt_silent=false
 			opt_silent=false
-func_append preserve_args " $opt"
-			;;
-      --no-warning|--no-warn)
-			opt_warning=false
 func_append preserve_args " $opt"
 func_append preserve_args " $opt"
 			;;
 			;;
       --no-verbose)
       --no-verbose)
@@ -2060,7 +2059,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
+    *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       func_xform "$libobj"
       libobj=$func_xform_result
       libobj=$func_xform_result
       ;;
       ;;
@@ -3202,13 +3201,11 @@ func_mode_install ()
 
 
       # Set up the ranlib parameters.
       # Set up the ranlib parameters.
       oldlib="$destdir/$name"
       oldlib="$destdir/$name"
-      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-      tool_oldlib=$func_to_tool_file_result
 
 
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
 
 
       if test -n "$stripme" && test -n "$old_striplib"; then
       if test -n "$stripme" && test -n "$old_striplib"; then
-	func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
+	func_show_eval "$old_striplib $oldlib" 'exit $?'
       fi
       fi
 
 
       # Do each command in the postinstall commands.
       # Do each command in the postinstall commands.
@@ -3473,7 +3470,7 @@ static const void *lt_preloaded_setup() {
 	  # linked before any other PIC object.  But we must not use
 	  # linked before any other PIC object.  But we must not use
 	  # pic_flag when linking with -static.  The problem exists in
 	  # pic_flag when linking with -static.  The problem exists in
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-	  *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	  *-*-hpux*)
 	  *-*-hpux*)
 	    pic_flag_for_symtable=" $pic_flag"  ;;
 	    pic_flag_for_symtable=" $pic_flag"  ;;
@@ -3985,17 +3982,14 @@ func_exec_program_core ()
 # launches target application with the remaining arguments.
 # launches target application with the remaining arguments.
 func_exec_program ()
 func_exec_program ()
 {
 {
-  case \" \$* \" in
-  *\\ --lt-*)
-    for lt_wr_arg
-    do
-      case \$lt_wr_arg in
-      --lt-*) ;;
-      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
-      esac
-      shift
-    done ;;
-  esac
+  for lt_wr_arg
+  do
+    case \$lt_wr_arg in
+    --lt-*) ;;
+    *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+    esac
+    shift
+  done
   func_exec_program_core \${1+\"\$@\"}
   func_exec_program_core \${1+\"\$@\"}
 }
 }
 
 
@@ -5063,15 +5057,9 @@ void lt_dump_script (FILE* f)
 {
 {
 EOF
 EOF
 	    func_emit_wrapper yes |
 	    func_emit_wrapper yes |
-	      $SED -n -e '
-s/^\(.\{79\}\)\(..*\)/\1\
-\2/
-h
-s/\([\\"]\)/\\\1/g
-s/$/\\n/
-s/\([^\n]*\).*/  fputs ("\1", f);/p
-g
-D'
+              $SED -e 's/\([\\"]\)/\\\1/g' \
+	           -e 's/^/  fputs ("/' -e 's/$/\\n", f);/'
+
             cat <<"EOF"
             cat <<"EOF"
 }
 }
 EOF
 EOF
@@ -5655,8 +5643,7 @@ func_mode_link ()
 	continue
 	continue
 	;;
 	;;
 
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
 	func_append compiler_flags " $arg"
 	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
 	func_append finalize_command " $arg"
@@ -6163,8 +6150,7 @@ func_mode_link ()
 	lib=
 	lib=
 	found=no
 	found=no
 	case $deplib in
 	case $deplib in
-	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
@@ -6848,7 +6834,7 @@ func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 	         test "$hardcode_direct_absolute" = no; then
 		add="$dir/$linklib"
 		add="$dir/$linklib"
 	      elif test "$hardcode_minus_L" = yes; then
 	      elif test "$hardcode_minus_L" = yes; then
-		add_dir="-L$absdir"
+		add_dir="-L$dir"
 		# Try looking first in the location we're being installed to.
 		# Try looking first in the location we're being installed to.
 		if test -n "$inst_prefix_dir"; then
 		if test -n "$inst_prefix_dir"; then
 		  case $libdir in
 		  case $libdir in
@@ -7333,7 +7319,6 @@ func_mode_link ()
 	  # which has an extra 1 added just for fun
 	  # which has an extra 1 added just for fun
 	  #
 	  #
 	  case $version_type in
 	  case $version_type in
-	  # correct linux to gnu/linux during the next big refactor
 	  darwin|linux|osf|windows|none)
 	  darwin|linux|osf|windows|none)
 	    func_arith $number_major + $number_minor
 	    func_arith $number_major + $number_minor
 	    current=$func_arith_result
 	    current=$func_arith_result
@@ -7453,7 +7438,7 @@ func_mode_link ()
 	  versuffix="$major.$revision"
 	  versuffix="$major.$revision"
 	  ;;
 	  ;;
 
 
-	linux) # correct to gnu/linux during the next big refactor
+	linux)
 	  func_arith $current - $age
 	  func_arith $current - $age
 	  major=.$func_arith_result
 	  major=.$func_arith_result
 	  versuffix="$major.$age.$revision"
 	  versuffix="$major.$age.$revision"
@@ -8041,11 +8026,6 @@ EOF
 
 
       # Test again, we may have decided not to build it any more
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
       if test "$build_libtool_libs" = yes; then
-	# Remove ${wl} instances when linking with ld.
-	# FIXME: should test the right _cmds variable.
-	case $archive_cmds in
-	  *\$LD\ *) wl= ;;
-        esac
 	if test "$hardcode_into_libs" = yes; then
 	if test "$hardcode_into_libs" = yes; then
 	  # Hardcode the library paths
 	  # Hardcode the library paths
 	  hardcode_libdirs=
 	  hardcode_libdirs=
@@ -8076,7 +8056,7 @@ EOF
 	    elif test -n "$runpath_var"; then
 	    elif test -n "$runpath_var"; then
 	      case "$perm_rpath " in
 	      case "$perm_rpath " in
 	      *" $libdir "*) ;;
 	      *" $libdir "*) ;;
-	      *) func_append perm_rpath " $libdir" ;;
+	      *) func_apped perm_rpath " $libdir" ;;
 	      esac
 	      esac
 	    fi
 	    fi
 	  done
 	  done
@@ -8084,7 +8064,11 @@ EOF
 	  if test -n "$hardcode_libdir_separator" &&
 	  if test -n "$hardcode_libdir_separator" &&
 	     test -n "$hardcode_libdirs"; then
 	     test -n "$hardcode_libdirs"; then
 	    libdir="$hardcode_libdirs"
 	    libdir="$hardcode_libdirs"
-	    eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
+	    if test -n "$hardcode_libdir_flag_spec_ld"; then
+	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
+	    else
+	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
+	    fi
 	  fi
 	  fi
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	    # We should set the runpath_var.
 	    # We should set the runpath_var.
@@ -9174,8 +9158,6 @@ EOF
 	    esac
 	    esac
 	  done
 	  done
 	fi
 	fi
-	func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-	tool_oldlib=$func_to_tool_file_result
 	eval cmds=\"$old_archive_cmds\"
 	eval cmds=\"$old_archive_cmds\"
 
 
 	func_len " $cmds"
 	func_len " $cmds"
@@ -9285,8 +9267,7 @@ EOF
 	      *.la)
 	      *.la)
 		func_basename "$deplib"
 		func_basename "$deplib"
 		name="$func_basename_result"
 		name="$func_basename_result"
-		func_resolve_sysroot "$deplib"
-		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
 		test -z "$libdir" && \
 		test -z "$libdir" && \
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
 		func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
 		func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"

+ 49 - 4
missing

@@ -1,10 +1,10 @@
 #! /bin/sh
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 # Common stub for a few missing GNU programs while installing.
 
 
-scriptversion=2012-01-06.13; # UTC
+scriptversion=2009-04-28.21; # UTC
 
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# 2008, 2009 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 
 
 # This program is free software; you can redistribute it and/or modify
 # This program is free software; you can redistribute it and/or modify
@@ -84,6 +84,7 @@ Supported PROGRAM values:
   help2man     touch the output file
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
   makeinfo     touch the output file
+  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -121,6 +122,15 @@ case $1 in
     # Not GNU programs, they don't have --version.
     # Not GNU programs, they don't have --version.
     ;;
     ;;
 
 
+  tar*)
+    if test -n "$run"; then
+       echo 1>&2 "ERROR: \`tar' requires --run"
+       exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       exit 1
+    fi
+    ;;
+
   *)
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
        # We have it, but it failed.
@@ -216,7 +226,7 @@ WARNING: \`$1' $msg.  You should only need it if
          \`Bison' from any GNU archive site."
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
     if test $# -ne 1; then
-        eval LASTARG=\${$#}
+        eval LASTARG="\${$#}"
 	case $LASTARG in
 	case $LASTARG in
 	*.y)
 	*.y)
 	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
 	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -246,7 +256,7 @@ WARNING: \`$1' is $msg.  You should only need it if
          \`Flex' from any GNU archive site."
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     rm -f lex.yy.c
     if test $# -ne 1; then
     if test $# -ne 1; then
-        eval LASTARG=\${$#}
+        eval LASTARG="\${$#}"
 	case $LASTARG in
 	case $LASTARG in
 	*.l)
 	*.l)
 	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
 	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -308,6 +318,41 @@ WARNING: \`$1' is $msg.  You should only need it if
     touch $file
     touch $file
     ;;
     ;;
 
 
+  tar*)
+    shift
+
+    # We have already tried tar in the generic part.
+    # Look for gnutar/gtar before invocation to avoid ugly error
+    # messages.
+    if (gnutar --version > /dev/null 2>&1); then
+       gnutar "$@" && exit 0
+    fi
+    if (gtar --version > /dev/null 2>&1); then
+       gtar "$@" && exit 0
+    fi
+    firstarg="$1"
+    if shift; then
+	case $firstarg in
+	*o*)
+	    firstarg=`echo "$firstarg" | sed s/o//`
+	    tar "$firstarg" "$@" && exit 0
+	    ;;
+	esac
+	case $firstarg in
+	*h*)
+	    firstarg=`echo "$firstarg" | sed s/h//`
+	    tar "$firstarg" "$@" && exit 0
+	    ;;
+	esac
+    fi
+
+    echo 1>&2 "\
+WARNING: I can't seem to be able to run \`tar' with the given arguments.
+         You may want to install GNU tar or Free paxutils, or check the
+         command line arguments."
+    exit 1
+    ;;
+
   *)
   *)
     echo 1>&2 "\
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.
 WARNING: \`$1' is needed, and is $msg.

+ 24 - 45
src/.deps/opcua_binaryEncDec.Plo

@@ -1,44 +1,37 @@
 opcua_binaryEncDec.lo: opcua_binaryEncDec.c opcua_binaryEncDec.h \
 opcua_binaryEncDec.lo: opcua_binaryEncDec.c opcua_binaryEncDec.h \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
- /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_advancedDatatypes.h \
- opcua_types.h /usr/include/stdio.h /usr/include/libio.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h opcua_advancedDatatypes.h opcua_types.h \
+ /usr/include/stdio.h /usr/include/i386-linux-gnu/bits/types.h \
+ /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
- /usr/include/i386-linux-gnu/bits/sys_errlist.h \
- /usr/include/i386-linux-gnu/bits/stdio.h \
- /usr/include/i386-linux-gnu/bits/stdio2.h \
+ /usr/include/i386-linux-gnu/bits/sys_errlist.h /usr/include/stdlib.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
- /usr/include/i386-linux-gnu/bits/waitstatus.h \
+ /usr/include/i386-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/i386-linux-gnu/bits/endian.h \
+ /usr/include/i386-linux-gnu/bits/byteswap.h \
  /usr/include/i386-linux-gnu/sys/types.h /usr/include/time.h \
  /usr/include/i386-linux-gnu/sys/types.h /usr/include/time.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/i386-linux-gnu/bits/select2.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
- /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
- /usr/include/i386-linux-gnu/bits/stdlib.h
+ /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h
 
 
 opcua_binaryEncDec.h:
 opcua_binaryEncDec.h:
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -58,54 +51,44 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
+opcua_advancedDatatypes.h:
 
 
-/usr/include/i386-linux-gnu/bits/endian.h:
+opcua_types.h:
 
 
-/usr/include/i386-linux-gnu/bits/byteswap.h:
+/usr/include/stdio.h:
 
 
 /usr/include/i386-linux-gnu/bits/types.h:
 /usr/include/i386-linux-gnu/bits/types.h:
 
 
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 
 
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
-opcua_advancedDatatypes.h:
-
-opcua_types.h:
-
-/usr/include/stdio.h:
-
 /usr/include/libio.h:
 /usr/include/libio.h:
 
 
 /usr/include/_G_config.h:
 /usr/include/_G_config.h:
 
 
 /usr/include/wchar.h:
 /usr/include/wchar.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:
 
 
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 
 
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 
 
-/usr/include/i386-linux-gnu/bits/stdio.h:
-
-/usr/include/i386-linux-gnu/bits/stdio2.h:
+/usr/include/stdlib.h:
 
 
 /usr/include/i386-linux-gnu/bits/waitflags.h:
 /usr/include/i386-linux-gnu/bits/waitflags.h:
 
 
 /usr/include/i386-linux-gnu/bits/waitstatus.h:
 /usr/include/i386-linux-gnu/bits/waitstatus.h:
 
 
+/usr/include/endian.h:
+
+/usr/include/i386-linux-gnu/bits/endian.h:
+
+/usr/include/i386-linux-gnu/bits/byteswap.h:
+
 /usr/include/i386-linux-gnu/sys/types.h:
 /usr/include/i386-linux-gnu/sys/types.h:
 
 
 /usr/include/time.h:
 /usr/include/time.h:
@@ -118,12 +101,8 @@ opcua_types.h:
 
 
 /usr/include/i386-linux-gnu/bits/time.h:
 /usr/include/i386-linux-gnu/bits/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/select2.h:
-
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 
 
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 
 
 /usr/include/alloca.h:
 /usr/include/alloca.h:
-
-/usr/include/i386-linux-gnu/bits/stdlib.h:

+ 19 - 19
src/.deps/opcua_builtInDatatypes.Plo

@@ -1,24 +1,24 @@
 opcua_builtInDatatypes.lo: opcua_builtInDatatypes.c \
 opcua_builtInDatatypes.lo: opcua_builtInDatatypes.c \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h /usr/include/stdio.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h
+ /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h \
+ /usr/include/i386-linux-gnu/bits/stdio_lim.h \
+ /usr/include/i386-linux-gnu/bits/sys_errlist.h
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -38,24 +38,24 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
+/usr/include/stdio.h:
 
 
-/usr/include/i386-linux-gnu/bits/string2.h:
+/usr/include/i386-linux-gnu/bits/types.h:
 
 
-/usr/include/endian.h:
+/usr/include/i386-linux-gnu/bits/typesizes.h:
 
 
-/usr/include/i386-linux-gnu/bits/endian.h:
+/usr/include/libio.h:
 
 
-/usr/include/i386-linux-gnu/bits/byteswap.h:
+/usr/include/_G_config.h:
 
 
-/usr/include/i386-linux-gnu/bits/types.h:
+/usr/include/wchar.h:
 
 
-/usr/include/i386-linux-gnu/bits/typesizes.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:
 
 
-/usr/include/stdlib.h:
+/usr/include/i386-linux-gnu/bits/stdio_lim.h:
 
 
-/usr/include/i386-linux-gnu/bits/string3.h:
+/usr/include/i386-linux-gnu/bits/sys_errlist.h:

+ 6 - 30
src/.deps/opcua_encodingLayer.Plo

@@ -1,27 +1,21 @@
 opcua_encodingLayer.lo: opcua_encodingLayer.c opcua_encodingLayer.h \
 opcua_encodingLayer.lo: opcua_encodingLayer.c opcua_encodingLayer.h \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
- /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_advancedDatatypes.h \
- opcua_types.h opcua_binaryEncDec.h
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h opcua_advancedDatatypes.h opcua_types.h \
+ opcua_binaryEncDec.h
 
 
 opcua_encodingLayer.h:
 opcua_encodingLayer.h:
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -41,28 +35,10 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
-
-/usr/include/i386-linux-gnu/bits/endian.h:
-
-/usr/include/i386-linux-gnu/bits/byteswap.h:
-
-/usr/include/i386-linux-gnu/bits/types.h:
-
-/usr/include/i386-linux-gnu/bits/typesizes.h:
-
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
 opcua_advancedDatatypes.h:
 opcua_advancedDatatypes.h:
 
 
 opcua_types.h:
 opcua_types.h:

+ 5 - 11
src/.deps/opcua_memory.Plo

@@ -1,12 +1,12 @@
 opcua_memory.lo: opcua_memory.c opcua_memory.h \
 opcua_memory.lo: opcua_memory.c opcua_memory.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/stdlib.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/stdlib.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
  /usr/include/i386-linux-gnu/bits/waitflags.h \
  /usr/include/i386-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
  /usr/include/i386-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
  /usr/include/i386-linux-gnu/bits/endian.h \
  /usr/include/i386-linux-gnu/bits/endian.h \
@@ -18,14 +18,12 @@ opcua_memory.lo: opcua_memory.c opcua_memory.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/i386-linux-gnu/bits/select2.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
- /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
- /usr/include/i386-linux-gnu/bits/stdlib.h
+ /usr/include/i386-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h
 
 
 opcua_memory.h:
 opcua_memory.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -45,7 +43,7 @@ opcua_memory.h:
 
 
 /usr/include/stdlib.h:
 /usr/include/stdlib.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/i386-linux-gnu/bits/waitflags.h:
 /usr/include/i386-linux-gnu/bits/waitflags.h:
 
 
@@ -73,12 +71,8 @@ opcua_memory.h:
 
 
 /usr/include/i386-linux-gnu/bits/time.h:
 /usr/include/i386-linux-gnu/bits/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/select2.h:
-
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 
 
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 
 
 /usr/include/alloca.h:
 /usr/include/alloca.h:
-
-/usr/include/i386-linux-gnu/bits/stdlib.h:

+ 15 - 39
src/.deps/opcua_secureChannelLayer.Plo

@@ -1,28 +1,22 @@
 opcua_secureChannelLayer.lo: opcua_secureChannelLayer.c \
 opcua_secureChannelLayer.lo: opcua_secureChannelLayer.c \
  opcua_secureChannelLayer.h opcua_advancedDatatypes.h \
  opcua_secureChannelLayer.h opcua_advancedDatatypes.h \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h opcua_encodingLayer.h opcua_types.h \
+ opcua_connectionHelper.h /usr/include/stdio.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_encodingLayer.h \
- opcua_types.h opcua_connectionHelper.h /usr/include/stdio.h \
- /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h \
+ /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
- /usr/include/i386-linux-gnu/bits/sys_errlist.h \
- /usr/include/i386-linux-gnu/bits/stdio.h \
- /usr/include/i386-linux-gnu/bits/stdio2.h
+ /usr/include/i386-linux-gnu/bits/sys_errlist.h
 
 
 opcua_secureChannelLayer.h:
 opcua_secureChannelLayer.h:
 
 
@@ -30,7 +24,7 @@ opcua_advancedDatatypes.h:
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -50,28 +44,10 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
-
-/usr/include/i386-linux-gnu/bits/endian.h:
-
-/usr/include/i386-linux-gnu/bits/byteswap.h:
-
-/usr/include/i386-linux-gnu/bits/types.h:
-
-/usr/include/i386-linux-gnu/bits/typesizes.h:
-
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
 opcua_encodingLayer.h:
 opcua_encodingLayer.h:
 
 
 opcua_types.h:
 opcua_types.h:
@@ -80,18 +56,18 @@ opcua_connectionHelper.h:
 
 
 /usr/include/stdio.h:
 /usr/include/stdio.h:
 
 
+/usr/include/i386-linux-gnu/bits/types.h:
+
+/usr/include/i386-linux-gnu/bits/typesizes.h:
+
 /usr/include/libio.h:
 /usr/include/libio.h:
 
 
 /usr/include/_G_config.h:
 /usr/include/_G_config.h:
 
 
 /usr/include/wchar.h:
 /usr/include/wchar.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:
 
 
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 
 
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
-
-/usr/include/i386-linux-gnu/bits/stdio.h:
-
-/usr/include/i386-linux-gnu/bits/stdio2.h:

+ 15 - 34
src/.deps/opcua_time.Plo

@@ -1,29 +1,24 @@
 opcua_time.lo: opcua_time.c opcua_builtInDatatypes.h \
 opcua_time.lo: opcua_time.c opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h opcua_advancedDatatypes.h /usr/include/time.h \
+ /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_advancedDatatypes.h \
- /usr/include/time.h /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/assert.h /usr/include/errno.h \
- /usr/include/i386-linux-gnu/bits/errno.h /usr/include/linux/errno.h \
- /usr/include/i386-linux-gnu/asm/errno.h /usr/include/asm-generic/errno.h \
- /usr/include/asm-generic/errno-base.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h
+ /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/assert.h \
+ /usr/include/errno.h /usr/include/i386-linux-gnu/bits/errno.h \
+ /usr/include/linux/errno.h /usr/include/i386-linux-gnu/asm/errno.h \
+ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -43,34 +38,20 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
+opcua_advancedDatatypes.h:
 
 
-/usr/include/i386-linux-gnu/bits/endian.h:
+/usr/include/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/byteswap.h:
+/usr/include/i386-linux-gnu/bits/time.h:
 
 
 /usr/include/i386-linux-gnu/bits/types.h:
 /usr/include/i386-linux-gnu/bits/types.h:
 
 
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 
 
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
-opcua_advancedDatatypes.h:
-
-/usr/include/time.h:
-
-/usr/include/i386-linux-gnu/bits/time.h:
-
 /usr/include/assert.h:
 /usr/include/assert.h:
 
 
 /usr/include/errno.h:
 /usr/include/errno.h:
@@ -85,4 +66,4 @@ opcua_advancedDatatypes.h:
 
 
 /usr/include/asm-generic/errno-base.h:
 /usr/include/asm-generic/errno-base.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:

+ 18 - 40
src/.deps/opcua_transportLayer.Plo

@@ -5,30 +5,25 @@ opcua_transportLayer.lo: opcua_transportLayer.c opcua_transportLayer.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
  /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/libio.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
  /usr/include/_G_config.h /usr/include/wchar.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
  /usr/include/i386-linux-gnu/bits/stdio_lim.h \
- /usr/include/i386-linux-gnu/bits/sys_errlist.h \
- /usr/include/i386-linux-gnu/bits/stdio.h \
- /usr/include/i386-linux-gnu/bits/stdio2.h opcua_binaryEncDec.h \
+ /usr/include/i386-linux-gnu/bits/sys_errlist.h opcua_binaryEncDec.h \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/include/xlocale.h /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_advancedDatatypes.h \
- opcua_types.h opcua_connectionHelper.h tcp_layer.h \
+ /usr/include/xlocale.h opcua_advancedDatatypes.h opcua_types.h \
+ opcua_connectionHelper.h tcp_layer.h \
  /usr/include/i386-linux-gnu/sys/types.h /usr/include/time.h \
  /usr/include/i386-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/endian.h /usr/include/i386-linux-gnu/bits/endian.h \
+ /usr/include/i386-linux-gnu/bits/byteswap.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/i386-linux-gnu/bits/select2.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h \
  /usr/include/i386-linux-gnu/sys/socket.h \
  /usr/include/i386-linux-gnu/sys/socket.h \
@@ -39,8 +34,7 @@ opcua_transportLayer.lo: opcua_transportLayer.c opcua_transportLayer.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
- /usr/include/asm-generic/sockios.h \
- /usr/include/i386-linux-gnu/bits/socket2.h /usr/include/netinet/in.h \
+ /usr/include/asm-generic/sockios.h /usr/include/netinet/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/sys/socketvar.h
  /usr/include/i386-linux-gnu/sys/socketvar.h
 
 
@@ -60,7 +54,7 @@ opcua_transportLayer.h:
 
 
 /usr/include/i386-linux-gnu/gnu/stubs-32.h:
 /usr/include/i386-linux-gnu/gnu/stubs-32.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/i386-linux-gnu/bits/types.h:
 /usr/include/i386-linux-gnu/bits/types.h:
 
 
@@ -72,21 +66,17 @@ opcua_transportLayer.h:
 
 
 /usr/include/wchar.h:
 /usr/include/wchar.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdarg.h:
 
 
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 /usr/include/i386-linux-gnu/bits/stdio_lim.h:
 
 
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 /usr/include/i386-linux-gnu/bits/sys_errlist.h:
 
 
-/usr/include/i386-linux-gnu/bits/stdio.h:
-
-/usr/include/i386-linux-gnu/bits/stdio2.h:
-
 opcua_binaryEncDec.h:
 opcua_binaryEncDec.h:
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -96,20 +86,6 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
-
-/usr/include/i386-linux-gnu/bits/endian.h:
-
-/usr/include/i386-linux-gnu/bits/byteswap.h:
-
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
-
 opcua_advancedDatatypes.h:
 opcua_advancedDatatypes.h:
 
 
 opcua_types.h:
 opcua_types.h:
@@ -122,6 +98,12 @@ tcp_layer.h:
 
 
 /usr/include/time.h:
 /usr/include/time.h:
 
 
+/usr/include/endian.h:
+
+/usr/include/i386-linux-gnu/bits/endian.h:
+
+/usr/include/i386-linux-gnu/bits/byteswap.h:
+
 /usr/include/i386-linux-gnu/sys/select.h:
 /usr/include/i386-linux-gnu/sys/select.h:
 
 
 /usr/include/i386-linux-gnu/bits/select.h:
 /usr/include/i386-linux-gnu/bits/select.h:
@@ -130,8 +112,6 @@ tcp_layer.h:
 
 
 /usr/include/i386-linux-gnu/bits/time.h:
 /usr/include/i386-linux-gnu/bits/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/select2.h:
-
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 
 
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
@@ -154,8 +134,6 @@ tcp_layer.h:
 
 
 /usr/include/asm-generic/sockios.h:
 /usr/include/asm-generic/sockios.h:
 
 
-/usr/include/i386-linux-gnu/bits/socket2.h:
-
 /usr/include/netinet/in.h:
 /usr/include/netinet/in.h:
 
 
 /usr/include/i386-linux-gnu/bits/in.h:
 /usr/include/i386-linux-gnu/bits/in.h:

+ 16 - 32
src/.deps/tcp_layer.Plo

@@ -1,26 +1,23 @@
 tcp_layer.lo: tcp_layer.c tcp_layer.h opcua_connectionHelper.h \
 tcp_layer.lo: tcp_layer.c tcp_layer.h opcua_connectionHelper.h \
  opcua_builtInDatatypes.h \
  opcua_builtInDatatypes.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h /usr/include/stdint.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/features.h /usr/include/i386-linux-gnu/bits/predefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/sys/cdefs.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/bits/wordsize.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/gnu/stubs-32.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
  /usr/include/i386-linux-gnu/bits/wchar.h /usr/include/string.h \
- /usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h /usr/include/xlocale.h \
- /usr/include/i386-linux-gnu/bits/string.h \
- /usr/include/i386-linux-gnu/bits/string2.h /usr/include/endian.h \
- /usr/include/i386-linux-gnu/bits/endian.h \
- /usr/include/i386-linux-gnu/bits/byteswap.h \
+ /usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h \
+ /usr/include/xlocale.h opcua_types.h \
+ /usr/include/i386-linux-gnu/sys/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
  /usr/include/i386-linux-gnu/bits/types.h \
- /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \
- /usr/include/i386-linux-gnu/bits/string3.h opcua_types.h \
- /usr/include/i386-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/i386-linux-gnu/bits/typesizes.h /usr/include/time.h \
+ /usr/include/endian.h /usr/include/i386-linux-gnu/bits/endian.h \
+ /usr/include/i386-linux-gnu/bits/byteswap.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/sys/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/select.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/sigset.h \
  /usr/include/i386-linux-gnu/bits/time.h \
  /usr/include/i386-linux-gnu/bits/time.h \
- /usr/include/i386-linux-gnu/bits/select2.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/sys/sysmacros.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h \
  /usr/include/i386-linux-gnu/bits/pthreadtypes.h \
  /usr/include/i386-linux-gnu/sys/socket.h \
  /usr/include/i386-linux-gnu/sys/socket.h \
@@ -31,8 +28,7 @@ tcp_layer.lo: tcp_layer.c tcp_layer.h opcua_connectionHelper.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/i386-linux-gnu/asm/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/asm-generic/socket.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
  /usr/include/i386-linux-gnu/asm/sockios.h \
- /usr/include/asm-generic/sockios.h \
- /usr/include/i386-linux-gnu/bits/socket2.h /usr/include/netinet/in.h \
+ /usr/include/asm-generic/sockios.h /usr/include/netinet/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/bits/in.h \
  /usr/include/i386-linux-gnu/sys/socketvar.h
  /usr/include/i386-linux-gnu/sys/socketvar.h
 
 
@@ -42,7 +38,7 @@ opcua_connectionHelper.h:
 
 
 opcua_builtInDatatypes.h:
 opcua_builtInDatatypes.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stdint.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stdint.h:
 
 
 /usr/include/stdint.h:
 /usr/include/stdint.h:
 
 
@@ -62,33 +58,25 @@ opcua_builtInDatatypes.h:
 
 
 /usr/include/string.h:
 /usr/include/string.h:
 
 
-/usr/lib/gcc/i686-linux-gnu/4.6/include/stddef.h:
+/usr/lib/gcc/i686-linux-gnu/4.6.1/include/stddef.h:
 
 
 /usr/include/xlocale.h:
 /usr/include/xlocale.h:
 
 
-/usr/include/i386-linux-gnu/bits/string.h:
-
-/usr/include/i386-linux-gnu/bits/string2.h:
-
-/usr/include/endian.h:
-
-/usr/include/i386-linux-gnu/bits/endian.h:
+opcua_types.h:
 
 
-/usr/include/i386-linux-gnu/bits/byteswap.h:
+/usr/include/i386-linux-gnu/sys/types.h:
 
 
 /usr/include/i386-linux-gnu/bits/types.h:
 /usr/include/i386-linux-gnu/bits/types.h:
 
 
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 /usr/include/i386-linux-gnu/bits/typesizes.h:
 
 
-/usr/include/stdlib.h:
-
-/usr/include/i386-linux-gnu/bits/string3.h:
+/usr/include/time.h:
 
 
-opcua_types.h:
+/usr/include/endian.h:
 
 
-/usr/include/i386-linux-gnu/sys/types.h:
+/usr/include/i386-linux-gnu/bits/endian.h:
 
 
-/usr/include/time.h:
+/usr/include/i386-linux-gnu/bits/byteswap.h:
 
 
 /usr/include/i386-linux-gnu/sys/select.h:
 /usr/include/i386-linux-gnu/sys/select.h:
 
 
@@ -98,8 +86,6 @@ opcua_types.h:
 
 
 /usr/include/i386-linux-gnu/bits/time.h:
 /usr/include/i386-linux-gnu/bits/time.h:
 
 
-/usr/include/i386-linux-gnu/bits/select2.h:
-
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 /usr/include/i386-linux-gnu/sys/sysmacros.h:
 
 
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
 /usr/include/i386-linux-gnu/bits/pthreadtypes.h:
@@ -122,8 +108,6 @@ opcua_types.h:
 
 
 /usr/include/asm-generic/sockios.h:
 /usr/include/asm-generic/sockios.h:
 
 
-/usr/include/i386-linux-gnu/bits/socket2.h:
-
 /usr/include/netinet/in.h:
 /usr/include/netinet/in.h:
 
 
 /usr/include/i386-linux-gnu/bits/in.h:
 /usr/include/i386-linux-gnu/bits/in.h:

+ 2 - 2
build-test/src/libopen62541.la

@@ -1,5 +1,5 @@
 # libopen62541.la - a libtool library file
 # libopen62541.la - a libtool library file
-# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+# Generated by libtool (GNU libtool) 2.4 Debian-2.4-2ubuntu1
 #
 #
 # Please DO NOT delete this file!
 # Please DO NOT delete this file!
 # It is necessary for linking the library.
 # It is necessary for linking the library.
@@ -28,7 +28,7 @@ age=0
 revision=0
 revision=0
 
 
 # Is this an already installed library?
 # Is this an already installed library?
-installed=no
+installed=yes
 
 
 # Should we warn about portability when linking against -modules?
 # Should we warn about portability when linking against -modules?
 shouldnotlink=no
 shouldnotlink=no

+ 26 - 37
src/Makefile

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # src/Makefile.  Generated from Makefile.in by configure.
 # src/Makefile.  Generated from Makefile.in by configure.
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -77,12 +77,6 @@ am__nobase_list = $(am__nobase_strip_setup); \
 am__base_list = \
 am__base_list = \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
 am__installdirs = "$(DESTDIR)$(libdir)"
 am__installdirs = "$(DESTDIR)$(libdir)"
 LTLIBRARIES = $(lib_LTLIBRARIES)
 LTLIBRARIES = $(lib_LTLIBRARIES)
 libopen62541_la_LIBADD =
 libopen62541_la_LIBADD =
@@ -112,17 +106,17 @@ DIST_SOURCES = $(libopen62541_la_SOURCES)
 ETAGS = etags
 ETAGS = etags
 CTAGS = ctags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /home/opcua/git/open62541/missing --run aclocal-1.11
-AMTAR = $${TAR-tar}
+ACLOCAL = ${SHELL} /home/mrt/opcua/open62541/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/mrt/opcua/open62541/missing --run tar
 AR = ar
 AR = ar
 AS = as
 AS = as
-AUTOCONF = ${SHELL} /home/opcua/git/open62541/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/opcua/git/open62541/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/opcua/git/open62541/missing --run automake-1.11
+AUTOCONF = ${SHELL} /home/mrt/opcua/open62541/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/mrt/opcua/open62541/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/mrt/opcua/open62541/missing --run automake-1.11
 AWK = mawk
 AWK = mawk
 CC = gcc
 CC = gcc
 CCDEPMODE = depmode=gcc3
 CCDEPMODE = depmode=gcc3
-CFLAGS = -O2
+CFLAGS = -O0
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CPP = gcc -E
 CPP = gcc -E
@@ -153,7 +147,7 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool
 LIPO = 
 LIPO = 
 LN_S = ln -s
 LN_S = ln -s
 LTLIBOBJS = 
 LTLIBOBJS = 
-MAKEINFO = ${SHELL} /home/opcua/git/open62541/missing --run makeinfo
+MAKEINFO = ${SHELL} /home/mrt/opcua/open62541/missing --run makeinfo
 MANIFEST_TOOL = :
 MANIFEST_TOOL = :
 MKDIR_P = /bin/mkdir -p
 MKDIR_P = /bin/mkdir -p
 NM = /usr/bin/nm -B
 NM = /usr/bin/nm -B
@@ -179,18 +173,18 @@ SET_MAKE =
 SHELL = /bin/bash
 SHELL = /bin/bash
 STRIP = strip
 STRIP = strip
 VERSION = 1.0
 VERSION = 1.0
-abs_builddir = /home/opcua/git/open62541/src
-abs_srcdir = /home/opcua/git/open62541/src
-abs_top_builddir = /home/opcua/git/open62541
-abs_top_srcdir = /home/opcua/git/open62541
+abs_builddir = /home/mrt/opcua/open62541/src
+abs_srcdir = /home/mrt/opcua/open62541/src
+abs_top_builddir = /home/mrt/opcua/open62541
+abs_top_srcdir = /home/mrt/opcua/open62541
 ac_ct_AR = ar
 ac_ct_AR = ar
 ac_ct_CC = gcc
 ac_ct_CC = gcc
 ac_ct_DUMPBIN = 
 ac_ct_DUMPBIN = 
 am__include = include
 am__include = include
 am__leading_dot = .
 am__leading_dot = .
 am__quote = 
 am__quote = 
-am__tar = $${TAR-tar} chof - "$$tardir"
-am__untar = $${TAR-tar} xf -
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
 bindir = ${exec_prefix}/bin
 bindir = ${exec_prefix}/bin
 build = i686-pc-linux-gnu
 build = i686-pc-linux-gnu
 build_alias = 
 build_alias = 
@@ -211,7 +205,7 @@ host_vendor = pc
 htmldir = ${docdir}
 htmldir = ${docdir}
 includedir = ${prefix}/include
 includedir = ${prefix}/include
 infodir = ${datarootdir}/info
 infodir = ${datarootdir}/info
-install_sh = ${SHELL} /home/opcua/git/open62541/install-sh
+install_sh = ${SHELL} /home/mrt/opcua/open62541/install-sh
 libdir = ${exec_prefix}/lib
 libdir = ${exec_prefix}/lib
 libexecdir = ${exec_prefix}/libexec
 libexecdir = ${exec_prefix}/libexec
 localedir = ${datarootdir}/locale
 localedir = ${datarootdir}/locale
@@ -263,14 +257,14 @@ libopen62541_la_SOURCES = opcua_builtInDatatypes.c\
 						opcua_time.h\
 						opcua_time.h\
 						tcp_layer.h						
 						tcp_layer.h						
 
 
-AM_CFLAGS = -O2
+#AM_CFLAGS = -O2
 
 
 #bin_PROGRAMS= $(top_builddir)/bin/open62541.out
 #bin_PROGRAMS= $(top_builddir)/bin/open62541.out
 #__top_builddir__bin_libOpen62541_out_SOURCES = opcuaServer.c
 #__top_builddir__bin_libOpen62541_out_SOURCES = opcuaServer.c
 #libOpen62541_la_LIBADD = ../lib/libOpen62541.la		  										
 #libOpen62541_la_LIBADD = ../lib/libOpen62541.la		  										
-#AM_CFLAGS = -g -O0
-AM_CXXFLAGS = -O2
-#AM_CXXFLAGS = -g -O0
+AM_CFLAGS = -g -O0
+#AM_CXXFLAGS = -O2
+AM_CXXFLAGS = -g -O0
 all: all-am
 all: all-am
 
 
 .SUFFIXES:
 .SUFFIXES:
@@ -336,7 +330,7 @@ clean-libLTLIBRARIES:
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  rm -f "$${dir}/so_locations"; \
 	  rm -f "$${dir}/so_locations"; \
 	done
 	done
-libopen62541.la: $(libopen62541_la_OBJECTS) $(libopen62541_la_DEPENDENCIES) $(EXTRA_libopen62541_la_DEPENDENCIES) 
+libopen62541.la: $(libopen62541_la_OBJECTS) $(libopen62541_la_DEPENDENCIES) 
 	$(libopen62541_la_LINK) -rpath $(libdir) $(libopen62541_la_OBJECTS) $(libopen62541_la_LIBADD) $(LIBS)
 	$(libopen62541_la_LINK) -rpath $(libdir) $(libopen62541_la_OBJECTS) $(libopen62541_la_LIBADD) $(LIBS)
 
 
 mostlyclean-compile:
 mostlyclean-compile:
@@ -480,15 +474,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic:

+ 8 - 19
src/Makefile.in

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 # @configure_input@
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -77,12 +77,6 @@ am__nobase_list = $(am__nobase_strip_setup); \
 am__base_list = \
 am__base_list = \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
 am__installdirs = "$(DESTDIR)$(libdir)"
 am__installdirs = "$(DESTDIR)$(libdir)"
 LTLIBRARIES = $(lib_LTLIBRARIES)
 LTLIBRARIES = $(lib_LTLIBRARIES)
 libopen62541_la_LIBADD =
 libopen62541_la_LIBADD =
@@ -336,7 +330,7 @@ clean-libLTLIBRARIES:
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  rm -f "$${dir}/so_locations"; \
 	  rm -f "$${dir}/so_locations"; \
 	done
 	done
-libopen62541.la: $(libopen62541_la_OBJECTS) $(libopen62541_la_DEPENDENCIES) $(EXTRA_libopen62541_la_DEPENDENCIES) 
+libopen62541.la: $(libopen62541_la_OBJECTS) $(libopen62541_la_DEPENDENCIES) 
 	$(libopen62541_la_LINK) -rpath $(libdir) $(libopen62541_la_OBJECTS) $(libopen62541_la_LIBADD) $(LIBS)
 	$(libopen62541_la_LINK) -rpath $(libdir) $(libopen62541_la_OBJECTS) $(libopen62541_la_LIBADD) $(LIBS)
 
 
 mostlyclean-compile:
 mostlyclean-compile:
@@ -480,15 +474,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic:

+ 16 - 16
src/opcua_binaryEncDec.c

@@ -527,7 +527,7 @@ Int32 encode_builtInDatatypeArray(void *data, Int32 size, Int32 type,
 	return UA_NO_ERROR;
 	return UA_NO_ERROR;
 }
 }
 
 
-Int32 decodeBoolean(char const * const buf, Int32 *pos, Boolean *dst)
+Int32 decodeBoolean(char const * buf, Int32 *pos, Boolean *dst)
 {
 {
 	*dst = ((Boolean) (buf[*pos]) > 0) ? UA_TRUE : UA_FALSE;
 	*dst = ((Boolean) (buf[*pos]) > 0) ? UA_TRUE : UA_FALSE;
 	return UA_NO_ERROR;
 	return UA_NO_ERROR;
@@ -538,7 +538,7 @@ void encodeBoolean(Boolean value, Int32 *pos, char *dstBuf)
 	memcpy(&(dstBuf[*pos]), &tmpBool, sizeof(Boolean));
 	memcpy(&(dstBuf[*pos]), &tmpBool, sizeof(Boolean));
 }
 }
 
 
-Int32 decodeSByte(char const * const buf, Int32 *pos, SByte *dst)
+Int32 decodeSByte(char const * buf, Int32 *pos, SByte *dst)
 {
 {
 	*pos = (*pos) + 1;
 	*pos = (*pos) + 1;
 	*dst = (SByte) buf[(*pos) - 1];
 	*dst = (SByte) buf[(*pos) - 1];
@@ -551,7 +551,7 @@ void encodeSByte(SByte value, Int32 *pos, char *dstBuf)
 	*pos = (*pos) + 1;
 	*pos = (*pos) + 1;
 
 
 }
 }
-Int32 decodeByte(char const * const buf, Int32 *pos, Byte* dst)
+Int32 decodeByte(char const * buf, Int32 *pos, Byte* dst)
 {
 {
 	*pos = (*pos) + 1;
 	*pos = (*pos) + 1;
 	*dst = (Byte) buf[(*pos) - 1];
 	*dst = (Byte) buf[(*pos) - 1];
@@ -564,7 +564,7 @@ void encodeByte(Byte value, Int32 *pos, char *dstBuf)
 	*pos = (*pos) + 1;
 	*pos = (*pos) + 1;
 }
 }
 
 
-Int32 decodeUInt16(char const * const buf, Int32 *pos, UInt16 *dst)
+Int32 decodeUInt16(char const * buf, Int32 *pos, UInt16 *dst)
 {
 {
 	Byte t1 = buf[*pos];
 	Byte t1 = buf[*pos];
 	UInt16 t2 = (UInt16) (buf[*pos + 1] << 8);
 	UInt16 t2 = (UInt16) (buf[*pos + 1] << 8);
@@ -578,7 +578,7 @@ void encodeUInt16(UInt16 value, Int32 *pos, char* dstBuf)
 	*pos = (*pos) + sizeof(UInt16);
 	*pos = (*pos) + sizeof(UInt16);
 }
 }
 
 
-Int32 decodeInt16(char const * const buf, Int32 *pos, Int16 *dst)
+Int32 decodeInt16(char const * buf, Int32 *pos, Int16 *dst)
 {
 {
 	SByte t1 = buf[*pos];
 	SByte t1 = buf[*pos];
 	Int32 t2 = (Int16) (buf[*pos + 1] << 8);
 	Int32 t2 = (Int16) (buf[*pos + 1] << 8);
@@ -592,7 +592,7 @@ void encodeInt16(Int16 value, Int32 *pos, char *dstBuf)
 	*pos = (*pos) + sizeof(Int16);
 	*pos = (*pos) + sizeof(Int16);
 }
 }
 
 
-Int32 decodeInt32(char const * const buf, Int32 *pos, Int32 *dst)
+Int32 decodeInt32(char const * buf, Int32 *pos, Int32 *dst)
 {
 {
 	Int32 t1 = (SByte) buf[*pos];
 	Int32 t1 = (SByte) buf[*pos];
 	Int32 t2 = (Int32) (((SByte) (buf[*pos + 1]) & 0xFF) << 8);
 	Int32 t2 = (Int32) (((SByte) (buf[*pos + 1]) & 0xFF) << 8);
@@ -608,7 +608,7 @@ void encodeInt32(Int32 value, Int32 *pos, char *dstBuf)
 	*pos = (*pos) + sizeof(Int32);
 	*pos = (*pos) + sizeof(Int32);
 }
 }
 
 
-Int32 decodeUInt32(char const * const buf, Int32 *pos, UInt32 *dst)
+Int32 decodeUInt32(char const * buf, Int32 *pos, UInt32 *dst)
 {
 {
 	Byte t1 = buf[*pos];
 	Byte t1 = buf[*pos];
 	UInt32 t2 = (UInt32) buf[*pos + 1] << 8;
 	UInt32 t2 = (UInt32) buf[*pos + 1] << 8;
@@ -781,7 +781,7 @@ Int32 UAGuid_calcSize(UA_Guid *guid)
 			+ UAByteString_calcSize(&(guid->Data4));
 			+ UAByteString_calcSize(&(guid->Data4));
 }
 }
 
 
-Int32 decodeUAByteString(char const * const buf, Int32* pos,
+Int32 decodeUAByteString(char const * buf, Int32* pos,
 		UA_ByteString *dstBytestring)
 		UA_ByteString *dstBytestring)
 {
 {
 
 
@@ -933,7 +933,7 @@ void encodeIntegerId(UA_AD_IntegerId integerId, Int32 *pos, char *buf)
 	encodeInt32(integerId, pos, buf);
 	encodeInt32(integerId, pos, buf);
 }
 }
 
 
-Int32 decodeExpandedNodeId(char const * const buf, Int32 *pos,
+Int32 decodeExpandedNodeId(char const * buf, Int32 *pos,
 		UA_ExpandedNodeId *nodeId)
 		UA_ExpandedNodeId *nodeId)
 {
 {
 
 
@@ -1081,7 +1081,7 @@ Int32 decodeUAStatusCode(char const * buf, Int32 *pos, UA_StatusCode* dst)
 
 
 }
 }
 
 
-Int32 decodeQualifiedName(char const * const buf, Int32 *pos,
+Int32 decodeQualifiedName(char const * buf, Int32 *pos,
 		UA_QualifiedName *dstQualifiedName)
 		UA_QualifiedName *dstQualifiedName)
 {
 {
 	//TODO memory management for ua string
 	//TODO memory management for ua string
@@ -1110,7 +1110,7 @@ Int32 QualifiedName_calcSize(UA_QualifiedName *qualifiedName)
 	return length;
 	return length;
 }
 }
 
 
-Int32 decodeLocalizedText(char const * const buf, Int32 *pos,
+Int32 decodeLocalizedText(char const * buf, Int32 *pos,
 		UA_LocalizedText *dstLocalizedText)
 		UA_LocalizedText *dstLocalizedText)
 {
 {
 	//TODO memory management for ua string
 	//TODO memory management for ua string
@@ -1154,7 +1154,7 @@ Int32 LocalizedText_calcSize(UA_LocalizedText *localizedText)
 	return length;
 	return length;
 }
 }
 
 
-Int32 decodeExtensionObject(char const * const buf, Int32 *pos,
+Int32 decodeExtensionObject(char const * buf, Int32 *pos,
 		UA_ExtensionObject *dstExtensionObject)
 		UA_ExtensionObject *dstExtensionObject)
 {
 {
 	//TODO to be implemented
 	//TODO to be implemented
@@ -1217,7 +1217,7 @@ Int32 ExtensionObject_calcSize(UA_ExtensionObject *extensionObject)
 	return length;
 	return length;
 }
 }
 
 
-Int32 decodeVariant(char const * const buf, Int32 *pos, UA_Variant *dstVariant)
+Int32 decodeVariant(char const * buf, Int32 *pos, UA_Variant *dstVariant)
 {
 {
 	decoder_decodeBuiltInDatatype(buf, BYTE, pos, &(dstVariant->EncodingMask));
 	decoder_decodeBuiltInDatatype(buf, BYTE, pos, &(dstVariant->EncodingMask));
 
 
@@ -1294,7 +1294,7 @@ Int32 Variant_calcSize(UA_Variant *variant)
 	return length;
 	return length;
 }
 }
 
 
-Int32 decodeDataValue(char const * const buf, Int32 *pos, UA_DataValue *dstDataValue)
+Int32 decodeDataValue(char const * buf, Int32 *pos, UA_DataValue *dstDataValue)
 {
 {
 
 
 	decoder_decodeBuiltInDatatype(buf, BYTE, pos,
 	decoder_decodeBuiltInDatatype(buf, BYTE, pos,
@@ -1406,7 +1406,7 @@ Int32 DataValue_calcSize(UA_DataValue *dataValue)
  * Chapter: 7.9
  * Chapter: 7.9
  * Page: 116
  * Page: 116
  */
  */
-Int32 decodeDiagnosticInfo(char const * const buf, Int32 *pos,
+Int32 decodeDiagnosticInfo(char const * buf, Int32 *pos,
 		UA_DiagnosticInfo *dstDiagnosticInfo)
 		UA_DiagnosticInfo *dstDiagnosticInfo)
 {
 {
 
 
@@ -1569,7 +1569,7 @@ Int32 decodeRequestHeader(const AD_RawMessage *srcRaw, Int32 *pos,
 	return decoder_decodeRequestHeader(srcRaw->message, pos, dstRequestHeader);
 	return decoder_decodeRequestHeader(srcRaw->message, pos, dstRequestHeader);
 }
 }
 
 
-Int32 decoder_decodeRequestHeader(char const * const message, Int32 *pos,
+Int32 decoder_decodeRequestHeader(char const * message, Int32 *pos,
 		UA_AD_RequestHeader *dstRequestHeader)
 		UA_AD_RequestHeader *dstRequestHeader)
 {
 {
 
 

+ 1 - 1
src/opcua_builtInDatatypes.h

@@ -318,7 +318,7 @@ typedef struct UA_DiagnosticInfo
 	Int32 Locale;
 	Int32 Locale;
 	UA_String AdditionalInfo;
 	UA_String AdditionalInfo;
 	UA_StatusCode InnerStatusCode;
 	UA_StatusCode InnerStatusCode;
-	struct _UA_DiagnosticInfo* InnerDiagnosticInfo;
+	struct UA_DiagnosticInfo* InnerDiagnosticInfo;
 }
 }
 UA_DiagnosticInfo;
 UA_DiagnosticInfo;
 
 

+ 2 - 1
src/opcua_secureChannelLayer.c

@@ -8,7 +8,6 @@
 #include <stdio.h>
 #include <stdio.h>
 
 
 
 
-
 /*
 /*
  * opens a secureChannel (server side)
  * opens a secureChannel (server side)
  */
  */
@@ -188,9 +187,11 @@ void SL_receive(UA_connection *connection, UA_ByteString *serviceMessage)
 
 
 		case packetType_OPN : /* openSecureChannel Message received */
 		case packetType_OPN : /* openSecureChannel Message received */
 				decodeAASHeader(&secureChannelPacket,&pos,&AAS_Header);
 				decodeAASHeader(&secureChannelPacket,&pos,&AAS_Header);
+#if DEBUG
 				UA_String_printf("AAS_Header.ReceiverThumbprint=", &(AAS_Header.ReceiverThumbprint));
 				UA_String_printf("AAS_Header.ReceiverThumbprint=", &(AAS_Header.ReceiverThumbprint));
 				UA_String_printf("AAS_Header.SecurityPolicyUri=", &(AAS_Header.SecurityPolicyUri));
 				UA_String_printf("AAS_Header.SecurityPolicyUri=", &(AAS_Header.SecurityPolicyUri));
 				UA_String_printf("AAS_Header.SenderCertificate=", &(AAS_Header.SenderCertificate));
 				UA_String_printf("AAS_Header.SenderCertificate=", &(AAS_Header.SenderCertificate));
+#endif
 				if(SCM_Header.SecureChannelId != 0)
 				if(SCM_Header.SecureChannelId != 0)
 				{
 				{
 
 

+ 28 - 34
tests/Makefile

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # tests/Makefile.  Generated from Makefile.in by configure.
 # tests/Makefile.  Generated from Makefile.in by configure.
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -71,17 +71,17 @@ CTAGS = ctags
 am__tty_colors = \
 am__tty_colors = \
 red=; grn=; lgn=; blu=; std=
 red=; grn=; lgn=; blu=; std=
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /home/opcua/git/open62541/missing --run aclocal-1.11
-AMTAR = $${TAR-tar}
+ACLOCAL = ${SHELL} /home/mrt/opcua/open62541/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/mrt/opcua/open62541/missing --run tar
 AR = ar
 AR = ar
 AS = as
 AS = as
-AUTOCONF = ${SHELL} /home/opcua/git/open62541/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/opcua/git/open62541/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/opcua/git/open62541/missing --run automake-1.11
+AUTOCONF = ${SHELL} /home/mrt/opcua/open62541/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/mrt/opcua/open62541/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/mrt/opcua/open62541/missing --run automake-1.11
 AWK = mawk
 AWK = mawk
 CC = gcc
 CC = gcc
 CCDEPMODE = depmode=gcc3
 CCDEPMODE = depmode=gcc3
-CFLAGS = -O2
+CFLAGS = -O0
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_CFLAGS = -pthread -I/usr/local/include  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CHECK_LIBS = -L/usr/local/lib -lcheck  
 CPP = gcc -E
 CPP = gcc -E
@@ -112,7 +112,7 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool
 LIPO = 
 LIPO = 
 LN_S = ln -s
 LN_S = ln -s
 LTLIBOBJS = 
 LTLIBOBJS = 
-MAKEINFO = ${SHELL} /home/opcua/git/open62541/missing --run makeinfo
+MAKEINFO = ${SHELL} /home/mrt/opcua/open62541/missing --run makeinfo
 MANIFEST_TOOL = :
 MANIFEST_TOOL = :
 MKDIR_P = /bin/mkdir -p
 MKDIR_P = /bin/mkdir -p
 NM = /usr/bin/nm -B
 NM = /usr/bin/nm -B
@@ -138,18 +138,18 @@ SET_MAKE =
 SHELL = /bin/bash
 SHELL = /bin/bash
 STRIP = strip
 STRIP = strip
 VERSION = 1.0
 VERSION = 1.0
-abs_builddir = /home/opcua/git/open62541/tests
-abs_srcdir = /home/opcua/git/open62541/tests
-abs_top_builddir = /home/opcua/git/open62541
-abs_top_srcdir = /home/opcua/git/open62541
+abs_builddir = /home/mrt/opcua/open62541/tests
+abs_srcdir = /home/mrt/opcua/open62541/tests
+abs_top_builddir = /home/mrt/opcua/open62541
+abs_top_srcdir = /home/mrt/opcua/open62541
 ac_ct_AR = ar
 ac_ct_AR = ar
 ac_ct_CC = gcc
 ac_ct_CC = gcc
 ac_ct_DUMPBIN = 
 ac_ct_DUMPBIN = 
 am__include = include
 am__include = include
 am__leading_dot = .
 am__leading_dot = .
 am__quote = 
 am__quote = 
-am__tar = $${TAR-tar} chof - "$$tardir"
-am__untar = $${TAR-tar} xf -
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
 bindir = ${exec_prefix}/bin
 bindir = ${exec_prefix}/bin
 build = i686-pc-linux-gnu
 build = i686-pc-linux-gnu
 build_alias = 
 build_alias = 
@@ -170,7 +170,7 @@ host_vendor = pc
 htmldir = ${docdir}
 htmldir = ${docdir}
 includedir = ${prefix}/include
 includedir = ${prefix}/include
 infodir = ${datarootdir}/info
 infodir = ${datarootdir}/info
-install_sh = ${SHELL} /home/opcua/git/open62541/install-sh
+install_sh = ${SHELL} /home/mrt/opcua/open62541/install-sh
 libdir = ${exec_prefix}/lib
 libdir = ${exec_prefix}/lib
 libexecdir = ${exec_prefix}/libexec
 libexecdir = ${exec_prefix}/libexec
 localedir = ${datarootdir}/locale
 localedir = ${datarootdir}/locale
@@ -240,7 +240,7 @@ clean-checkPROGRAMS:
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	echo " rm -f" $$list; \
 	echo " rm -f" $$list; \
 	rm -f $$list
 	rm -f $$list
-check_stack$(EXEEXT): $(check_stack_OBJECTS) $(check_stack_DEPENDENCIES) $(EXTRA_check_stack_DEPENDENCIES) 
+check_stack$(EXEEXT): $(check_stack_OBJECTS) $(check_stack_DEPENDENCIES) 
 	@rm -f check_stack$(EXEEXT)
 	@rm -f check_stack$(EXEEXT)
 	$(check_stack_LINK) $(check_stack_OBJECTS) $(check_stack_LDADD) $(LIBS)
 	$(check_stack_LINK) $(check_stack_OBJECTS) $(check_stack_LDADD) $(LIBS)
 
 
@@ -426,15 +426,14 @@ check-TESTS: $(TESTS)
 	  fi; \
 	  fi; \
 	  dashes=`echo "$$dashes" | sed s/./=/g`; \
 	  dashes=`echo "$$dashes" | sed s/./=/g`; \
 	  if test "$$failed" -eq 0; then \
 	  if test "$$failed" -eq 0; then \
-	    col="$$grn"; \
+	    echo "$$grn$$dashes"; \
 	  else \
 	  else \
-	    col="$$red"; \
+	    echo "$$red$$dashes"; \
 	  fi; \
 	  fi; \
-	  echo "$${col}$$dashes$${std}"; \
-	  echo "$${col}$$banner$${std}"; \
-	  test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
-	  test -z "$$report" || echo "$${col}$$report$${std}"; \
-	  echo "$${col}$$dashes$${std}"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes$$std"; \
 	  test "$$failed" -eq 0; \
 	  test "$$failed" -eq 0; \
 	else :; fi
 	else :; fi
 
 
@@ -484,15 +483,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic:

+ 14 - 20
tests/Makefile.in

@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 # @configure_input@
 
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # with or without modifications, as long as this notice is preserved.
@@ -240,7 +240,7 @@ clean-checkPROGRAMS:
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	echo " rm -f" $$list; \
 	echo " rm -f" $$list; \
 	rm -f $$list
 	rm -f $$list
-check_stack$(EXEEXT): $(check_stack_OBJECTS) $(check_stack_DEPENDENCIES) $(EXTRA_check_stack_DEPENDENCIES) 
+check_stack$(EXEEXT): $(check_stack_OBJECTS) $(check_stack_DEPENDENCIES) 
 	@rm -f check_stack$(EXEEXT)
 	@rm -f check_stack$(EXEEXT)
 	$(check_stack_LINK) $(check_stack_OBJECTS) $(check_stack_LDADD) $(LIBS)
 	$(check_stack_LINK) $(check_stack_OBJECTS) $(check_stack_LDADD) $(LIBS)
 
 
@@ -426,15 +426,14 @@ check-TESTS: $(TESTS)
 	  fi; \
 	  fi; \
 	  dashes=`echo "$$dashes" | sed s/./=/g`; \
 	  dashes=`echo "$$dashes" | sed s/./=/g`; \
 	  if test "$$failed" -eq 0; then \
 	  if test "$$failed" -eq 0; then \
-	    col="$$grn"; \
+	    echo "$$grn$$dashes"; \
 	  else \
 	  else \
-	    col="$$red"; \
+	    echo "$$red$$dashes"; \
 	  fi; \
 	  fi; \
-	  echo "$${col}$$dashes$${std}"; \
-	  echo "$${col}$$banner$${std}"; \
-	  test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
-	  test -z "$$report" || echo "$${col}$$report$${std}"; \
-	  echo "$${col}$$dashes$${std}"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes$$std"; \
 	  test "$$failed" -eq 0; \
 	  test "$$failed" -eq 0; \
 	else :; fi
 	else :; fi
 
 
@@ -484,15 +483,10 @@ install-am: all-am
 
 
 installcheck: installcheck-am
 installcheck: installcheck-am
 install-strip:
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 mostlyclean-generic:
 
 
 clean-generic:
 clean-generic: