1
0
Prechádzať zdrojové kódy

调整文件结构,db、websocket调整为静态库

zzj 6 rokov pred
rodič
commit
0e5c26419d
85 zmenil súbory, kde vykonal 30668 pridanie a 2058 odobranie
  1. 21 2
      .gitignore
  2. 340 406
      Makefile
  3. 20 16
      Makefile.am
  4. 327 393
      Makefile.in
  5. 1 3
      autom4te.cache/output.0
  6. 1 3
      autom4te.cache/output.1
  7. 39 39
      autom4te.cache/traces.0
  8. 160 160
      autom4te.cache/traces.1
  9. 82 901
      card.cpp
  10. 5 85
      card.h
  11. 14 0
      card_area.cpp
  12. 16 0
      card_area.h
  13. 156 0
      card_base.cpp
  14. 114 0
      card_base.h
  15. 135 0
      card_car.cpp
  16. 47 0
      card_car.h
  17. 174 0
      card_message_handle.cpp
  18. 26 0
      card_message_handle.h
  19. 141 0
      card_person.cpp
  20. 33 0
      card_person.h
  21. 6 1
      common_tool.h
  22. 4 0
      config.ini
  23. 1 3
      configure
  24. 1 3
      configure.ac
  25. 1 0
      db/COPYING
  26. 1 0
      db/INSTALL
  27. 14 0
      db/Makefile.am
  28. 697 0
      db/Makefile.in
  29. 944 0
      db/aclocal.m4
  30. 4081 0
      db/autom4te.cache/output.0
  31. 5126 0
      db/autom4te.cache/output.1
  32. 5126 0
      db/autom4te.cache/output.2
  33. 225 0
      db/autom4te.cache/requests
  34. 227 0
      db/autom4te.cache/traces.0
  35. 830 0
      db/autom4te.cache/traces.1
  36. 373 0
      db/autom4te.cache/traces.2
  37. 213 0
      db/autoscan.log
  38. 5126 0
      db/configure
  39. 20 0
      db/configure.ac
  40. 28 0
      db/configure.scan
  41. 0 0
      db_api/CDBCommon.h
  42. 0 0
      db/db_api/CDBConnPool.cpp
  43. 0 0
      db_api/CDBConnPool.h
  44. 0 0
      db/db_api/CDBConnect.cpp
  45. 0 0
      db/db_api/CDBConnect.h
  46. 0 0
      db/db_api/CDBHelper.cpp
  47. 0 0
      db/db_api/CDBHelper.h
  48. 0 0
      db/db_api/CDBResultSet.cpp
  49. 0 0
      db/db_api/CDBResultSet.h
  50. 0 0
      db/db_api/CDBSingletonDefine.h
  51. 0 0
      db/db_api/CjasonCommon.h
  52. 0 0
      db/db_api/mysqltest01.cpp
  53. 0 0
      db/db_area.cpp
  54. 8 0
      db/db_area.h
  55. 201 0
      db/db_card.cpp
  56. 17 0
      db/db_card.h
  57. 0 0
      db/db_history.cpp
  58. 15 0
      db/db_history.h
  59. 64 0
      db/db_tool.cpp
  60. 14 0
      db/db_tool.h
  61. 127 0
      db/load_c
  62. 2 0
      his_location.h
  63. 1 1
      mine.h
  64. 2 2
      module_service/module_area.h
  65. 3 3
      module_service/module_attendance_person.h
  66. 3 2
      module_service/module_attendance_vehicle.h
  67. 5 0
      module_service/module_call.cpp
  68. 1 0
      module_service/module_call.h
  69. 1 0
      module_service/module_meta_date_changed.h
  70. 1 1
      site_area.h
  71. 131 0
      tool_time.h
  72. 14 0
      websocket/Makefile.am
  73. 5126 0
      websocket/configure
  74. 20 0
      websocket/configure.ac
  75. 12 33
      websocket/jsonBuilder.cpp
  76. 0 0
      websocket/sio/internal/sio_client_impl.cpp
  77. 0 0
      websocket/sio/internal/sio_client_impl.h
  78. 0 0
      websocket/sio/internal/sio_packet.cpp
  79. 0 0
      websocket/sio/internal/sio_packet.h
  80. 0 0
      websocket/sio/sio_client.cpp
  81. 0 0
      websocket/sio/sio_client.h
  82. 0 0
      websocket/sio/sio_message.h
  83. 0 0
      websocket/sio/sio_socket.cpp
  84. 0 0
      websocket/sio/sio_socket.h
  85. 4 1
      ya_event.h

+ 21 - 2
.gitignore

@@ -6,8 +6,6 @@
 *.raw
 /.deps/
 /bak/
-/autom4te.cache/
-Makefile
 config.log
 config.status
 test
@@ -19,4 +17,25 @@ CMakeFiles/
 .idea/
 .git/
 .vscode/
+*/*/output.*
+*/output.*
+*/*/traces.*
+*/traces.*
+output.*
+traces.*
+Makefile.in
+aclocal.m4
+*/aclocal.m4
+*/COPYING
+*/INSTALL
+autom4te.cache/*
+db/autom4te.cache/*
+*/autom4te.cache/*
+db/autom4te.cache/*.*
+traces.*
+output.*
+db/autom4te.cache/output.0
+
+
+
 

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 340 - 406
Makefile


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 20 - 16
Makefile.am


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 327 - 393
Makefile.in


+ 1 - 3
autom4te.cache/output.0

@@ -4259,8 +4259,6 @@ fi
 
 
 
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lev':
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lev" >&5
 $as_echo_n "checking for main in -lev... " >&6; }
@@ -4301,7 +4299,6 @@ _ACEOF
 
 fi
 
-# FIXME: Replace `main' with a function in `-lzlog':
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzlog" >&5
 $as_echo_n "checking for main in -lzlog... " >&6; }
 if ${ac_cv_lib_zlog_main+:} false; then :
@@ -6452,3 +6449,4 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
 
+

+ 1 - 3
autom4te.cache/output.1

@@ -4259,8 +4259,6 @@ fi
 
 
 
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lev':
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lev" >&5
 $as_echo_n "checking for main in -lev... " >&6; }
@@ -4301,7 +4299,6 @@ _ACEOF
 
 fi
 
-# FIXME: Replace `main' with a function in `-lzlog':
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzlog" >&5
 $as_echo_n "checking for main in -lzlog... " >&6; }
 if ${ac_cv_lib_zlog_main+:} false; then :
@@ -6452,3 +6449,4 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
 
+

+ 39 - 39
autom4te.cache/traces.0

@@ -823,42 +823,42 @@ m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
 m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
 m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
 m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:17: -1- m4_pattern_allow([^HAVE_LIBEV$])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^HAVE_LIBZLOG$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE__BOOL$])
-m4trace:configure.ac:27: -1- m4_pattern_allow([^int16_t$])
-m4trace:configure.ac:28: -1- m4_pattern_allow([^int32_t$])
-m4trace:configure.ac:29: -1- m4_pattern_allow([^int64_t$])
-m4trace:configure.ac:30: -1- m4_pattern_allow([^int8_t$])
-m4trace:configure.ac:31: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^uint16_t$])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^_UINT32_T$])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^uint32_t$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^_UINT64_T$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^uint64_t$])
-m4trace:configure.ac:35: -1- m4_pattern_allow([^_UINT8_T$])
-m4trace:configure.ac:35: -1- m4_pattern_allow([^uint8_t$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^malloc$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^realloc$])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:43: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:43: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_LIBEV$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_LIBZLOG$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^int16_t$])
+m4trace:configure.ac:25: -1- m4_pattern_allow([^int32_t$])
+m4trace:configure.ac:26: -1- m4_pattern_allow([^int64_t$])
+m4trace:configure.ac:27: -1- m4_pattern_allow([^int8_t$])
+m4trace:configure.ac:28: -1- m4_pattern_allow([^size_t$])
+m4trace:configure.ac:29: -1- m4_pattern_allow([^uint16_t$])
+m4trace:configure.ac:30: -1- m4_pattern_allow([^_UINT32_T$])
+m4trace:configure.ac:30: -1- m4_pattern_allow([^uint32_t$])
+m4trace:configure.ac:31: -1- m4_pattern_allow([^_UINT64_T$])
+m4trace:configure.ac:31: -1- m4_pattern_allow([^uint64_t$])
+m4trace:configure.ac:32: -1- m4_pattern_allow([^_UINT8_T$])
+m4trace:configure.ac:32: -1- m4_pattern_allow([^uint8_t$])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^malloc$])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^realloc$])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:40: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:40: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS

+ 160 - 160
autom4te.cache/traces.1

@@ -349,225 +349,225 @@ m4trace:configure.ac:13: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
 m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
 m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
 m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:17: -1- AH_OUTPUT([HAVE_LIBEV], [/* Define to 1 if you have the `ev\' library (-lev). */
+m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_LIBEV], [/* Define to 1 if you have the `ev\' library (-lev). */
 @%:@undef HAVE_LIBEV])
-m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBEV])
-m4trace:configure.ac:17: -1- m4_pattern_allow([^HAVE_LIBEV$])
-m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_LIBZLOG], [/* Define to 1 if you have the `zlog\' library (-lzlog). */
+m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBEV])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_LIBEV$])
+m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_LIBZLOG], [/* Define to 1 if you have the `zlog\' library (-lzlog). */
 @%:@undef HAVE_LIBZLOG])
-m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZLOG])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^HAVE_LIBZLOG$])
-m4trace:configure.ac:22: -1- AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdint.h string.h sys/socket.h unistd.h])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
+m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZLOG])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_LIBZLOG$])
+m4trace:configure.ac:19: -1- AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdint.h string.h sys/socket.h unistd.h])
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
 @%:@undef HAVE_ARPA_INET_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
 @%:@undef HAVE_FCNTL_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
 @%:@undef HAVE_NETINET_IN_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
 @%:@undef HAVE_STDINT_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
 @%:@undef HAVE_STRING_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
 @%:@undef HAVE_SYS_SOCKET_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
 @%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:22: -1- AC_PROG_CPP
-m4trace:configure.ac:22: -1- AC_SUBST([CPP])
-m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:22: -1- AC_SUBST([CPP])
-m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:22: -1- AC_SUBST([GREP])
-m4trace:configure.ac:22: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:22: -1- AC_SUBST([EGREP])
-m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:22: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
+m4trace:configure.ac:19: -1- AC_PROG_CPP
+m4trace:configure.ac:19: -1- AC_SUBST([CPP])
+m4trace:configure.ac:19: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:19: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:19: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:19: -1- AC_SUBST([CPP])
+m4trace:configure.ac:19: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:19: -1- AC_SUBST([GREP])
+m4trace:configure.ac:19: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:19: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:19: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
+m4trace:configure.ac:19: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:19: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
 @%:@undef STDC_HEADERS])
-m4trace:configure.ac:22: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+m4trace:configure.ac:19: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 		  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
 @%:@undef HAVE_SYS_TYPES_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
 @%:@undef HAVE_SYS_STAT_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
 @%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
 @%:@undef HAVE_STRING_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
 @%:@undef HAVE_MEMORY_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
 @%:@undef HAVE_STRINGS_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
 @%:@undef HAVE_INTTYPES_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
 @%:@undef HAVE_STDINT_H])
-m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+m4trace:configure.ac:19: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
 @%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:25: -1- AC_CHECK_HEADER_STDBOOL
-m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE__BOOL$])
-m4trace:configure.ac:25: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
+m4trace:configure.ac:22: -1- AC_CHECK_HEADER_STDBOOL
+m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
+m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$])
+m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
 @%:@undef HAVE__BOOL])
-m4trace:configure.ac:26: -1- AC_C_INLINE
-m4trace:configure.ac:26: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
+m4trace:configure.ac:23: -1- AC_C_INLINE
+m4trace:configure.ac:23: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
    calls it, or to nothing if \'inline\' is not supported under any name.  */
 #ifndef __cplusplus
 #undef inline
 #endif])
-m4trace:configure.ac:27: -1- AC_TYPE_INT16_T
-m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([int16_t])
-m4trace:configure.ac:27: -1- m4_pattern_allow([^int16_t$])
-m4trace:configure.ac:27: -1- AH_OUTPUT([int16_t], [/* Define to the type of a signed integer type of width exactly 16 bits if
+m4trace:configure.ac:24: -1- AC_TYPE_INT16_T
+m4trace:configure.ac:24: -1- AC_DEFINE_TRACE_LITERAL([int16_t])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^int16_t$])
+m4trace:configure.ac:24: -1- AH_OUTPUT([int16_t], [/* Define to the type of a signed integer type of width exactly 16 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef int16_t])
-m4trace:configure.ac:28: -1- AC_TYPE_INT32_T
-m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
-m4trace:configure.ac:28: -1- m4_pattern_allow([^int32_t$])
-m4trace:configure.ac:28: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
+m4trace:configure.ac:25: -1- AC_TYPE_INT32_T
+m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
+m4trace:configure.ac:25: -1- m4_pattern_allow([^int32_t$])
+m4trace:configure.ac:25: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef int32_t])
-m4trace:configure.ac:29: -1- AC_TYPE_INT64_T
-m4trace:configure.ac:29: -1- AC_DEFINE_TRACE_LITERAL([int64_t])
-m4trace:configure.ac:29: -1- m4_pattern_allow([^int64_t$])
-m4trace:configure.ac:29: -1- AH_OUTPUT([int64_t], [/* Define to the type of a signed integer type of width exactly 64 bits if
+m4trace:configure.ac:26: -1- AC_TYPE_INT64_T
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([int64_t])
+m4trace:configure.ac:26: -1- m4_pattern_allow([^int64_t$])
+m4trace:configure.ac:26: -1- AH_OUTPUT([int64_t], [/* Define to the type of a signed integer type of width exactly 64 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef int64_t])
-m4trace:configure.ac:30: -1- AC_TYPE_INT8_T
-m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([int8_t])
-m4trace:configure.ac:30: -1- m4_pattern_allow([^int8_t$])
-m4trace:configure.ac:30: -1- AH_OUTPUT([int8_t], [/* Define to the type of a signed integer type of width exactly 8 bits if such
+m4trace:configure.ac:27: -1- AC_TYPE_INT8_T
+m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([int8_t])
+m4trace:configure.ac:27: -1- m4_pattern_allow([^int8_t$])
+m4trace:configure.ac:27: -1- AH_OUTPUT([int8_t], [/* Define to the type of a signed integer type of width exactly 8 bits if such
    a type exists and the standard includes do not define it. */
 @%:@undef int8_t])
-m4trace:configure.ac:31: -1- AC_TYPE_SIZE_T
-m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([size_t])
-m4trace:configure.ac:31: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:31: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
+m4trace:configure.ac:28: -1- AC_TYPE_SIZE_T
+m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([size_t])
+m4trace:configure.ac:28: -1- m4_pattern_allow([^size_t$])
+m4trace:configure.ac:28: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
 @%:@undef size_t])
-m4trace:configure.ac:32: -1- AC_TYPE_UINT16_T
-m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^uint16_t$])
-m4trace:configure.ac:32: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
+m4trace:configure.ac:29: -1- AC_TYPE_UINT16_T
+m4trace:configure.ac:29: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
+m4trace:configure.ac:29: -1- m4_pattern_allow([^uint16_t$])
+m4trace:configure.ac:29: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef uint16_t])
-m4trace:configure.ac:33: -1- AC_TYPE_UINT32_T
-m4trace:configure.ac:33: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^_UINT32_T$])
-m4trace:configure.ac:33: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
+m4trace:configure.ac:30: -1- AC_TYPE_UINT32_T
+m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
+m4trace:configure.ac:30: -1- m4_pattern_allow([^_UINT32_T$])
+m4trace:configure.ac:30: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    @%:@define below would cause a syntax error. */
 @%:@undef _UINT32_T])
-m4trace:configure.ac:33: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
-m4trace:configure.ac:33: -1- m4_pattern_allow([^uint32_t$])
-m4trace:configure.ac:33: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
+m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
+m4trace:configure.ac:30: -1- m4_pattern_allow([^uint32_t$])
+m4trace:configure.ac:30: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef uint32_t])
-m4trace:configure.ac:34: -1- AC_TYPE_UINT64_T
-m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([_UINT64_T])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^_UINT64_T$])
-m4trace:configure.ac:34: -1- AH_OUTPUT([_UINT64_T], [/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
+m4trace:configure.ac:31: -1- AC_TYPE_UINT64_T
+m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([_UINT64_T])
+m4trace:configure.ac:31: -1- m4_pattern_allow([^_UINT64_T$])
+m4trace:configure.ac:31: -1- AH_OUTPUT([_UINT64_T], [/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    @%:@define below would cause a syntax error. */
 @%:@undef _UINT64_T])
-m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([uint64_t])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^uint64_t$])
-m4trace:configure.ac:34: -1- AH_OUTPUT([uint64_t], [/* Define to the type of an unsigned integer type of width exactly 64 bits if
+m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([uint64_t])
+m4trace:configure.ac:31: -1- m4_pattern_allow([^uint64_t$])
+m4trace:configure.ac:31: -1- AH_OUTPUT([uint64_t], [/* Define to the type of an unsigned integer type of width exactly 64 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef uint64_t])
-m4trace:configure.ac:35: -1- AC_TYPE_UINT8_T
-m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
-m4trace:configure.ac:35: -1- m4_pattern_allow([^_UINT8_T$])
-m4trace:configure.ac:35: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
+m4trace:configure.ac:32: -1- AC_TYPE_UINT8_T
+m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
+m4trace:configure.ac:32: -1- m4_pattern_allow([^_UINT8_T$])
+m4trace:configure.ac:32: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    @%:@define below would cause a syntax error. */
 @%:@undef _UINT8_T])
-m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
-m4trace:configure.ac:35: -1- m4_pattern_allow([^uint8_t$])
-m4trace:configure.ac:35: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
+m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
+m4trace:configure.ac:32: -1- m4_pattern_allow([^uint8_t$])
+m4trace:configure.ac:32: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
    such a type exists and the standard includes do not define it. */
 @%:@undef uint8_t])
-m4trace:configure.ac:38: -1- AC_FUNC_MALLOC
-m4trace:configure.ac:38: -1- AC_CHECK_HEADERS([stdlib.h])
-m4trace:configure.ac:38: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+m4trace:configure.ac:35: -1- AC_FUNC_MALLOC
+m4trace:configure.ac:35: -1- AC_CHECK_HEADERS([stdlib.h])
+m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
 @%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:38: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
    to 0 otherwise. */
 @%:@undef HAVE_MALLOC])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:38: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
-m4trace:configure.ac:38: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:38: -1- AC_LIBSOURCE([malloc.c])
-m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([malloc])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^malloc$])
-m4trace:configure.ac:38: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:35: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:35: -1- AC_LIBSOURCE([malloc.c])
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([malloc])
+m4trace:configure.ac:35: -1- m4_pattern_allow([^malloc$])
+m4trace:configure.ac:35: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
 @%:@undef malloc])
-m4trace:configure.ac:39: -1- AC_FUNC_REALLOC
-m4trace:configure.ac:39: -1- AC_CHECK_HEADERS([stdlib.h])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+m4trace:configure.ac:36: -1- AC_FUNC_REALLOC
+m4trace:configure.ac:36: -1- AC_CHECK_HEADERS([stdlib.h])
+m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
 @%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:39: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
+m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
    and to 0 otherwise. */
 @%:@undef HAVE_REALLOC])
-m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_REALLOC$])
-m4trace:configure.ac:39: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:39: -1- AC_LIBSOURCE([realloc.c])
-m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([realloc])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^realloc$])
-m4trace:configure.ac:39: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
+m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:36: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
+m4trace:configure.ac:36: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:36: -1- AC_LIBSOURCE([realloc.c])
+m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([realloc])
+m4trace:configure.ac:36: -1- m4_pattern_allow([^realloc$])
+m4trace:configure.ac:36: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
 @%:@undef realloc])
-m4trace:configure.ac:40: -1- AC_CHECK_FUNCS([inet_ntoa memset socket])
-m4trace:configure.ac:40: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */
+m4trace:configure.ac:37: -1- AC_CHECK_FUNCS([inet_ntoa memset socket])
+m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */
 @%:@undef HAVE_INET_NTOA])
-m4trace:configure.ac:40: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
+m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
 @%:@undef HAVE_MEMSET])
-m4trace:configure.ac:40: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
+m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
 @%:@undef HAVE_SOCKET])
-m4trace:configure.ac:42: -1- AC_CONFIG_FILES([Makefile])
-m4trace:configure.ac:43: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:43: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:43: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:43: -1- AC_PREREQ([2.52])
-m4trace:configure.ac:43: -1- AC_SUBST([am__EXEEXT_TRUE])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:43: -1- AC_SUBST([am__EXEEXT_FALSE])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:39: -1- AC_CONFIG_FILES([Makefile])
+m4trace:configure.ac:40: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:40: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:40: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:40: -1- AC_PREREQ([2.52])
+m4trace:configure.ac:40: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:40: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:40: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([MKDIR_P])

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 82 - 901
card.cpp


+ 5 - 85
card.h

@@ -1,93 +1,13 @@
 #ifndef _CARD_HPP_
 #define _CARD_HPP_
-#include <message.h>
-#include <ev++.h>
-#include "point.h"
-#include "write-copy.h"
-#include "websocket/ws_common.h"
-#include "common.h"
-#include "area.h"
-#include "site_area.h"
-#include "loc_message.h"
-#include "thread"
-#define CARD_LOST_TIME_OUT (30*1000)
-
-struct task;
-template<typename T> struct zloop;
-struct select_tool;
-struct smooth_tool;
-struct monkey_person;
-struct card_message_handle;
-struct mine_tool;
-struct location_card;
-struct card_pos;
-struct card:point
-{
-	card(uint32_t id,uint16_t dis,uint64_t type,int32_t deptid,int32_t level_id,uint32_t cid)
-		:m_id(id)
-		,m_cid(cid)
-		,m_type(type)
-		,m_display(dis)
-		,m_speed(0)
-		,m_is_attendance(0)
-		,m_stat(0)
-		,m_ct(0)
-		,m_time(0)
-		,m_deptid(deptid)
-		,m_level_id(level_id)
-	{}
-	uint64_t type_(){return m_type;}
-	uint64_t time_(){return m_time;}
-	uint32_t m_id;				//卡号
-	uint32_t m_cid;				//标识id 人staff_id 车 vehicle_id
-	uint64_t  m_type;			//类型
-	uint16_t m_display;			//1显示0不显示,往前端推送
-	double   m_speed;			//速度
-	int      m_is_attendance;	//井上井下状态  0初始状态 1 井上 2 井下
-	int		 m_stat;			//运动静止状态
-	uint16_t m_ct;				//ct
-    uint64_t m_time;			//时间戳 ms
-	int32_t  m_deptid;			//部门编号
-	int32_t  m_level_id;		//部门级别
-};
-struct card_location_base:card
-{
-    std::unique_ptr<select_tool> m_sel_tool;
-    std::unique_ptr<smooth_tool> m_smo_tool;
-	std::unique_ptr<card_message_handle> m_message_handle;
-	std::unique_ptr<location_card> m_his_location_card;
-  //  ev::dynamic_loop * m_loop = nullptr;
- //   ev::timer m_timer;
-
-    card_location_base()=default;
-    card_location_base(std::string type,uint32_t id,uint16_t dis,int16_t t,int32_t,int32_t,uint32_t );
 
-	virtual void do_business(const point &pt,double acc)=0;
-//	virtual void set(ev::dynamic_loop * loop)=0;
-	virtual void on_timer()=0;
-	virtual void site_hover(int sid)=0;
-    virtual std::shared_ptr<area_hover> get_area_hover()=0;
-    virtual std::shared_ptr<mine_tool> get_mine_tool()=0;
-    virtual std::shared_ptr<site_area_hover> get_site_area()=0;
 
-    virtual void clear();
-
-	virtual void reset(std::shared_ptr<monkey_person> mp){}
-    virtual int get_vehicle_type_id(){return  0;}
-
-    void on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history);
-    void on_location(const std::vector<point>&vp,const std::vector<loc_message> &lm );
-    void do_status(STATUS_CARD st);
-	void upt_card_pos(YA::_CARD_POS_ &,const point &pt);
-	void del_card_pos();
-	int get_stat();
-	void put_three_rates(card_pos &);
-
-    bool is_person() const;
-    bool is_vehicle() const;
+#include <thread>
+#include <ev++.h>
+#include "card_base.h"
+#include "write-copy.h"
 
-	virtual ~card_location_base();
-};
+#define CARD_LOST_TIME_OUT (30*1000)
 
 struct card_list:single_base<card_list,uint64_t,std::shared_ptr<card_location_base>>
 {

+ 14 - 0
card_area.cpp

@@ -0,0 +1,14 @@
+
+#include "area.h"
+#include "mine.h"
+#include "site_area.h"
+
+#include "card_area.h"
+
+card_area::card_area()
+{
+	m_site_area.reset(new site_area_hover);
+	m_area_tool.reset(new area_tool);
+	m_mine_tool.reset(new mine_tool);
+}
+

+ 16 - 0
card_area.h

@@ -0,0 +1,16 @@
+#ifndef _card_area_h_
+#define _card_area_h_
+
+struct site_area_hover;
+struct area_tool;
+struct mine_tool;
+struct card_area
+{
+	card_area();
+	std::shared_ptr<site_area_hover> m_site_area=nullptr;
+	std::shared_ptr<area_tool> m_area_tool=nullptr;
+    std::shared_ptr<mine_tool> m_mine_tool=nullptr;
+};
+
+#endif
+

+ 156 - 0
card_base.cpp

@@ -0,0 +1,156 @@
+
+#include <memory>
+#include <message.h>
+
+#include "card_message_handle.h"
+#include "card_person.h"
+#include "card_car.h"
+#include "config_file.h"
+#include "select_tool.h"
+#include "module_service/module_mgr.h"
+#include "websocket/wsClientMgr.h"
+#include "websocket/wsTimerThread.h"
+#include "three_rates.h"
+#include "his_location.h"
+
+extern config_file config;
+
+card_location_base::card_location_base(std::string type,uint32_t id,uint16_t dis,int16_t t,int32_t deptid,int32_t level_id,uint32_t cid)
+	:card(id,dis,t,deptid,level_id,cid)
+{
+    select_tool_manage::instance()->create_tool(type,m_sel_tool,m_smo_tool);
+}
+
+void card_location_base::do_status(int st)
+{
+    module_mgr::do_status((STATUS_CARD)st, m_id, m_type);
+}
+
+void card_location_base::on_location(const std::vector<point>&vp,const std::vector<loc_message> &lm )
+{
+	//ct timestamp;
+	//m_ct = lm[0].m_card_ct;
+	//m_time = lm[0].m_loc_time;
+
+    loc_point pt = m_sel_tool->select_solution(vp,lm);
+	pt.y=-pt.y;
+	if(pt.m_useless)
+	{
+		x = pt.x;
+		y = pt.y;
+
+		//Msg m;
+		//m.type=m_type;m.x=(int)x;m.y=(int)y;m.cmd=CMD_HANDLE;m.cardid=m_type<<32|m_id;
+		//cardMgr::instance()->tryPut(m);
+		double acc = lm[0].m_acc;
+		log_info("useful:card_id:%d,ct:%d,timestamp:%llu, loc_point,x:%.2f,y:%.2f acc:%.2f",m_id,m_ct,m_time,pt.x,pt.y,acc);
+		do_business(pt,acc);
+	}
+}
+
+void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history)
+{
+	m_ct = loc.m_card_ct;
+	m_time = loc.m_time_stamp;
+	m_message_handle->on_message(loop,loc,is_history);
+}
+
+//前端推送位置函数.
+void card_location_base::upt_card_pos(YA::_CARD_POS_&cp, const point &pt)
+{
+//	YA::_CARD_POS_ cp;
+	cp.x = pt.x;
+	cp.y = pt.y;
+	cp.z = pt.z;
+
+	cp.Type=m_type;
+	cp.ID = m_id;
+	cp.speed = abs(ceil(m_speed));
+	cp.running_stat = m_stat;
+	cp.dept_id = m_deptid;
+	cp.display=m_display;
+	cp.rec_time=m_time;
+	cp.level_id = m_level_id;
+
+	swsTimerThrd.upt_card_pos(cp);
+}
+void card_location_base::del_card_pos()
+{
+	YA::_CARD_POS_ cp;
+	cp.ID = m_id;
+	cp.Type=m_type;
+	swsTimerThrd.del_card_pos(cp);
+}
+int  card_location_base::get_stat()
+{
+	//盲区>呼救>呼叫>超时>超速>正常
+    uint64_t now = time(0)*1000;
+    if(now-m_time>CARD_LOST_TIME_OUT)
+    {
+        return STATUS_LOST;
+    }
+    else if(auto ev_ptr = event_list::instance()->get_event_card(m_id, m_type, ET_CARD_HELP))
+    {
+        return  (ES_DEAL_HELP == ev_ptr->m_status) ?  STATUS_HELP_DEALED : STATUS_HELP;
+    }
+    else if(CALL_NONE != get_mine_tool()->m_status_call)
+    {
+        return  STATUS_CALL;
+    }
+    else if(event_list::instance()->get_event_card(m_id, m_type,
+                is_person()? ET_CARD_AREA_OVER_TIME_PERSON: ET_CARD_AREA_OVER_TIME_VEHICLE))
+    {
+        return  STATUS_AREA_OVER_TIME;
+    }
+    else if(event_list::instance()->get_event_card(m_id, m_type, ET_CARD_OVER_SPEED))
+    {
+        return  STATUS_OVER_SPEED;
+    }
+
+    return STATUS_NORMAL;
+}
+
+void  card_location_base::clear()
+{
+//	uint16_t m_display;			//1显示0不显示,往前端推送
+    m_speed=0;			//速度
+    m_is_attendance=0;	//井上井下状态  0初始状态 1 井上 2 井下
+    m_stat=0;			//运动静止状态
+    //m_ct;				//ct
+    m_time=0;			//时间戳
+}
+void card_location_base::put_three_rates(card_pos & cp)
+{
+	cp.rec_time=m_time;cp.type=m_type;cp.id=m_id;
+	cp.identifier_id=m_cid;cp.running_stat=m_stat;cp.final_v=m_speed;
+	log_info("three_rates:type:%d,id:%d,cid:%d",cp.type,cp.id,cp.identifier_id);
+	three_rates::get_instance()->put(cp);
+}
+
+bool card_location_base::is_person() const
+{
+    return tool_other::is_person(m_type);
+}
+
+bool card_location_base::is_vehicle() const
+{
+    return tool_other::is_vehicle(m_type);
+}
+
+card_location_base::~card_location_base()
+{
+}
+
+std::shared_ptr<card_location_base> card_location_base::make_person(const std::string&type,uint32_t cardid,uint16_t needdisplay,int16_t t,
+		int32_t deptid,int32_t level_id,uint32_t cid,int wl)
+{
+	return std::make_shared<person>(type,cardid,needdisplay,t, deptid,level_id,cid,wl);
+}
+
+std::shared_ptr<card_location_base> card_location_base::make_car(const std::string&type,uint32_t cardid,uint16_t needdisplay,int16_t t,
+		int32_t deptid, int32_t categoryid, int type_id,int32_t level_id,uint32_t cid)
+{
+	return std::make_shared<car>(type,cardid,needdisplay,t, deptid, categoryid, type_id,level_id,cid);
+}
+
+

+ 114 - 0
card_base.h

@@ -0,0 +1,114 @@
+#ifndef _CARD_BASE_HPP_
+#define _CARD_BASE_HPP_
+
+#include <vector>
+#include <memory>
+#include "point.h"
+
+#define CARD_LOST_TIME_OUT (30*1000)
+
+struct task;
+template<typename T> struct zloop;
+struct select_tool;
+struct smooth_tool;
+struct monkey_person;
+struct card_message_handle;
+struct card_location_base;
+struct message_locinfo;
+struct loc_message;
+struct mine_tool;
+struct location_card;
+struct card_pos;
+struct area_hover;
+struct site_area_hover;
+
+namespace YA{struct _CARD_POS_;}
+
+struct card:point
+{
+	card(uint32_t id,uint16_t dis,uint64_t type,int32_t deptid,int32_t level_id,uint32_t cid)
+		:m_id(id)
+		,m_cid(cid)
+		,m_type(type)
+		,m_display(dis)
+		,m_speed(0)
+		,m_is_attendance(0)
+		,m_stat(0)
+		,m_ct(0)
+		,m_time(0)
+		,m_deptid(deptid)
+		,m_level_id(level_id)
+	{}
+	uint64_t type_(){return m_type;}
+	uint64_t time_(){return m_time;}
+	uint32_t m_id;				//卡号
+	uint32_t m_cid;				//标识id 人staff_id 车 vehicle_id
+	uint64_t  m_type;			//类型
+	uint16_t m_display;			//1显示0不显示,往前端推送
+	double   m_speed;			//速度
+	int      m_is_attendance;	//井上井下状态  0初始状态 1 井上 2 井下
+	int		 m_stat;			//运动静止状态
+	uint16_t m_ct;				//ct
+    uint64_t m_time;			//时间戳 ms
+	int32_t  m_deptid;			//部门编号
+	int32_t  m_level_id;		//部门级别
+
+	uint64_t id64()const
+	{
+		return (m_type<<32)|m_id;
+	}
+
+	std::string id64_str()const
+	{
+		char buf[32];
+		int n=sprintf(buf,"%03lu%010u",0xff&m_type,m_id);
+
+		return std::string(buf,n);
+	}
+};
+
+struct card_location_base:card
+{
+    std::unique_ptr<select_tool> m_sel_tool;
+    std::unique_ptr<smooth_tool> m_smo_tool;
+	std::unique_ptr<card_message_handle> m_message_handle;
+	std::unique_ptr<location_card> m_his_location_card;
+
+    card_location_base()=default;
+    card_location_base(std::string type,uint32_t id,uint16_t dis,int16_t t,int32_t,int32_t,uint32_t );
+
+	virtual void do_business(const point &pt,double acc)=0;
+	virtual void on_timer()=0;
+	virtual void site_hover(int sid)=0;
+    virtual std::shared_ptr<area_hover> get_area_hover()=0;
+    virtual std::shared_ptr<mine_tool> get_mine_tool()=0;
+    virtual std::shared_ptr<site_area_hover> get_site_area()=0;
+
+    virtual void clear();
+
+	virtual void reset(std::shared_ptr<monkey_person> mp){}
+    virtual int get_vehicle_type_id(){return  0;}
+
+    void on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history);
+    void on_location(const std::vector<point>&vp,const std::vector<loc_message> &lm );
+    void do_status(int st);
+	void upt_card_pos(YA::_CARD_POS_&cp, const point &pt);
+	void del_card_pos();
+	int get_stat();
+	void put_three_rates(card_pos &);
+
+    bool is_person() const;
+    bool is_vehicle() const;
+
+	virtual ~card_location_base();
+
+    static std::shared_ptr<card_location_base> make_person(const std::string&type,uint32_t cardid,uint16_t needdisplay,int16_t t,
+			int32_t deptid,int32_t level_id,uint32_t cid,int wl);
+
+    static std::shared_ptr<card_location_base> make_car(const std::string&type,uint32_t cardid,uint16_t needdisplay,int16_t t,
+			int32_t deptid, int32_t categoryid, int type_id,int32_t level_id,uint32_t cid);
+
+};
+
+#endif
+

+ 135 - 0
card_car.cpp

@@ -0,0 +1,135 @@
+
+#include "card_car.h"
+#include "card_message_handle.h"
+#include "his_location.h"
+#include "area.h"
+#include "mine.h"
+#include "site_area.h"
+#include "three_rates.h"
+#include "select_tool.h"
+#include "websocket/ws_common.h"
+#include "special_area.h"
+#include "websocket/wsClientMgr.h"
+
+car::car(std::string type,uint32_t cardid,uint16_t needdisplay,int16_t t,int32_t deptid,
+		int32_t categoryid, int type_id,int32_t level_id,uint32_t cid)
+	:card_location_base(type,cardid,needdisplay,t,deptid,level_id,cid)
+	,m_vehicle_category_id(categoryid)
+	 ,m_vehicle_type_id(type_id)
+{
+	m_message_handle.reset(new card_message_handle(this));
+	m_his_location_card.reset(new location_vehicle(m_id,m_type));
+}
+
+car::~car(){}
+
+void car::site_hover(int sid)
+{
+	if(m_time<=0)
+	{
+		return;
+	}
+	m_site_area->on_point(m_id,sid,0, m_type);
+}
+
+std::shared_ptr<area_hover> car::get_area_hover()
+{
+	return m_area_tool->m_area_hover;
+}
+
+std::shared_ptr<mine_tool> car::get_mine_tool()
+{
+	return m_mine_tool;
+}
+
+std::shared_ptr<site_area_hover> car::get_site_area()
+{
+	return m_site_area;
+}
+
+void car::do_business(const point &pt,double acc)
+{
+	m_acc=acc;
+	m_area_tool->on_point(m_id,pt,m_speed,m_type);
+	m_site_area->on_point(m_id,0,this, m_type);
+	m_mine_tool->on_point(m_id, m_type, m_vehicle_category_id);
+	handle_three_rates(pt);
+}
+
+int car::get_vehicle_type_id()
+{
+	return  m_vehicle_type_id;
+}
+
+void car::handle_three_rates(const point &pt)
+{
+	card_pos cp;
+	cp.biz_stat = get_stat();
+	cp.x=pt.x;cp.y=pt.y;cp.z=pt.z;	
+	const auto lm = m_area_tool->getLandmark();
+	cp.enter_time = std::get<0>(lm)*1000;
+	cp.area_id = std::get<3>(lm);
+	cp.map_id = std::get<2>(lm);
+	cp.vibration=m_acc;
+	put_three_rates(cp);
+}
+
+void car::on_timer()
+
+{
+	make_package();
+
+}
+int car::statbiz(int32_t special_id)
+{
+	int status = get_stat();
+	if(status == STATUS_LOST)
+	{
+		if(!m_area_tool->special_area())			
+		{
+			special_id = special_area_list::instance()->get_special_id(m_id,*this,m_vehicle_category_id);
+			log_info("enter_special_area:%.2f,%2.f,id:%d,special_area_id:%d",x,y,m_id,special_id);
+			if(special_id != -1)
+				m_area_tool->change_area(m_id,m_speed,m_type,special_id);//自动拖车
+		}
+	}
+	return status;
+}
+void car::make_package()
+{
+	int32_t special_id=-1;
+	YA::_CARD_POS_ cp;
+	loc_point pt = getSmoothPoint();
+
+	const auto lm = m_area_tool->getLandmark();
+	cp.enter_area_time = std::get<0>(lm);
+	cp.rec_time = std::get<1>(lm);
+	uint32_t map_id = std::get<2>(lm);
+	uint32_t area_id = std::get<3>(lm);
+	cp.map_id =map_id;cp.area_id=area_id;
+	cp.landmark_id = std::get<4>(lm);
+	cp.lm_direction = std::get<5>(lm);
+	cp.landmark_dis=std::get<6>(lm);
+	int32_t biz_stat=statbiz(special_id);
+	cp.biz_stat=biz_stat;
+	cp.down_time = m_mine_tool->get_down_time();
+	cp.work_time = m_mine_tool->get_work_time();
+	//for now
+	cp.is_on_duty=m_mine_tool->is_on_duty();
+	upt_card_pos(cp,pt);
+	m_his_location_card->push(pt.m_time,pt,area_id,map_id);
+	if(biz_stat==STATUS_LOST && special_id != -1 && m_display==1)
+	{
+		cp.area_id = special_id;
+		swsClientMgr.SendSpecialAreaProcess(cp);
+	}
+}
+loc_point car::getSmoothPoint()
+{
+	loc_point lp = m_smo_tool->smooth_strategy();
+	m_speed = lp.m_speed;
+	m_stat  = lp.m_stat;
+	lp.y = -lp.y;
+	return lp;
+}
+

+ 47 - 0
card_car.h

@@ -0,0 +1,47 @@
+#ifndef _card_car_h_
+#define _card_car_h_
+
+#include <string>
+#include <memory>
+
+#include "point.h"
+#include "loc_point.h"
+
+#include "card_base.h"
+#include "card_area.h"
+
+struct area_hover;
+struct mine_tool;
+struct site_area_hover;
+
+struct car:card_location_base,card_area
+{
+	int m_vehicle_category_id=0;
+    int m_vehicle_type_id=0;
+	double m_acc =0;
+
+public:
+
+    car(std::string type,uint32_t cardid,uint16_t needdisplay,int16_t t,int32_t deptid,
+        int32_t categoryid, int type_id,int32_t level_id,uint32_t cid);
+	~car();
+
+	virtual void site_hover(int sid);
+    virtual std::shared_ptr<area_hover> get_area_hover();
+    virtual std::shared_ptr<mine_tool> get_mine_tool();
+    virtual std::shared_ptr<site_area_hover> get_site_area();
+	virtual void do_business(const point &pt,double acc);
+    int get_vehicle_type_id();
+
+private:
+	void handle_three_rates(const point &pt);
+	void on_timer();
+	int statbiz(int32_t special_id);
+	void make_package();
+	loc_point getSmoothPoint();
+};
+
+
+#endif
+
+

+ 174 - 0
card_message_handle.cpp

@@ -0,0 +1,174 @@
+#include <vector>
+
+#include <ev++.h>
+
+#include "card_base.h"
+#include "loc_tool.h"
+#include "message.h"
+#include "zloop.h"
+
+#include "card_message_handle.h"
+
+//一张卡一个ct的所有不同天线的信息
+struct one_ct_message_handle
+{
+	static loc_tool_main m_loc_tool;
+	ev::timer m_min_timer,m_max_timer;
+    //loc_message.
+	std::vector<loc_message> m_msg_list;
+	card_location_base*m_card;
+	const algo_config*m_ac=nullptr;
+	int  m_ct;
+	bool m_min_timeout=false;
+    ev::dynamic_loop * m_loop = nullptr;
+	one_ct_message_handle(card_location_base*card)
+	{
+		m_card=card;
+		m_ct=-1;
+	}
+
+	void reset()
+	{
+		m_ct=-1;
+		m_min_timeout=false;
+		m_msg_list.clear();
+	}
+
+	void on_min_timer()
+	{
+		m_min_timer.stop();
+
+		if((int)m_msg_list.size()>=m_ac->best_msg_cnt)
+		{
+			m_max_timer.stop();
+			calc_location();
+            return;
+		}
+		m_min_timeout=true;
+	}
+
+	void on_max_timer()
+	{
+		m_max_timer.stop();
+		calc_location();
+	}
+
+    void set(ev::dynamic_loop * loop)
+    {
+        m_loop = loop;
+
+        m_min_timer.set(*m_loop);
+	    m_min_timer.set<one_ct_message_handle,&one_ct_message_handle::on_min_timer>(this);
+	    m_max_timer.set(*m_loop);
+	    m_max_timer.set<one_ct_message_handle,&one_ct_message_handle::on_max_timer>(this);
+    }
+
+	void on_message(ev::dynamic_loop *loop,const message_locinfo&loc)
+	{
+        if(m_loop == nullptr && loop!=nullptr)
+            set(loop);
+        else if(loop == nullptr)
+          return;
+   		if(!m_msg_list.empty()&& m_ct!=loc.m_card_ct)
+		{
+			m_msg_list.clear();
+		}
+		auto sitPtr = sit_list::instance()->get(loc.m_site_id);
+		if(sitPtr==nullptr)
+		{
+			log_warn("分站信息缺失,SitId:%d",loc.m_site_id);
+			return;
+		}
+		const site &s=*(sit_list::instance()->get(loc.m_site_id));
+		if(m_msg_list.empty())
+		{
+			m_ct=loc.m_card_ct;
+			m_ac=&s.config();
+			m_min_timeout=false;
+            //这里构造loc_message 保存数据
+			m_msg_list.push_back(loc_message(s,loc.m_tof,loc.m_time_stamp,loc.m_card_id,
+							loc.m_card_ct,loc.m_card_type,loc.m_ant_id,loc.m_rav,loc.m_acc,
+							loc.m_sync_ct,loc.m_rssi));
+
+			//启动本CT的最小、最大两个定时器
+			m_min_timer.start(m_ac->min_wait_time);
+			m_max_timer.start(m_ac->min_wait_time);
+			return;
+		}
+
+		m_msg_list.push_back(loc_message(s,loc.m_tof,loc.m_time_stamp,loc.m_card_id,
+						loc.m_card_ct,loc.m_card_type,loc.m_ant_id,loc.m_rav,loc.m_acc,
+						loc.m_sync_ct,loc.m_rssi));
+
+		if(m_min_timeout && (int)m_msg_list.size()>=m_ac->best_msg_cnt)
+		{
+			calc_location();
+			m_max_timer.stop();
+		}
+	}
+
+    void calc_location()
+	{
+		log_info("calc_location:%d begin",m_card->m_id);
+        auto v = m_msg_list;
+
+		std::vector<point> rc=std::move(m_loc_tool.calc_location(v));
+        
+		if(!rc.empty()) m_card->on_location(std::move(rc),v);
+
+		reset();
+		log_info("calc_location:%d end",m_card->m_id);
+	}
+};
+
+loc_tool_main one_ct_message_handle::m_loc_tool;
+
+card_message_handle::card_message_handle(card_location_base*card)
+{
+	m_card=card;
+
+	for(size_t i=0;i<m_ct_list.size();i++)
+	{
+		m_ct_list[i]=new one_ct_message_handle(card);
+	}
+}
+
+card_message_handle::~card_message_handle()
+{
+	for(auto&it:m_ct_list)
+	{
+		delete it;
+	}
+}
+
+void card_message_handle::on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history)
+{
+	if(is_history)
+	{
+		log_warn("%s","当前代码没有处理历史消息记录。");
+		return;
+	}
+	//
+	m_card->site_hover(loc.m_site_id);
+
+	if(loc.m_batty_status == 2)
+	{
+		m_card->do_status(STATUS_POWER_LOWER_SERIOUS);
+	}
+	else
+	{
+		m_card->do_status(STATUS_POWER_NOMARL);
+	}
+
+	if(loc.m_callinfo & 0x80)
+	{
+		m_card->do_status(STATUS_HELP);
+	}
+	if((loc.m_callinfo & 0x01) || (loc.m_callinfo & 0x02))
+	{
+		m_card->do_status(STATUS_CALL);
+	}
+
+	m_ct_list[loc.m_card_ct&(m_ct_list.size()-1)]->on_message(loop,loc);
+}
+

+ 26 - 0
card_message_handle.h

@@ -0,0 +1,26 @@
+
+#ifndef _card_message_handle_h_
+#define _card_message_handle_h_
+
+//一张卡一个ct的所有不同天线的信息
+
+struct card_location_base;
+struct one_ct_message_handle;
+struct message_locinfo;
+struct task;
+template<typename NT> struct zloop;
+
+struct card_message_handle
+{
+	card_location_base*m_card;
+	std::array<one_ct_message_handle*,16> m_ct_list;
+
+	card_message_handle(card_location_base*card);
+	~card_message_handle();
+	
+	void on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history);
+};
+
+#endif
+
+

+ 141 - 0
card_person.cpp

@@ -0,0 +1,141 @@
+
+#include <string>
+#include <thread>
+
+#include "card_person.h"
+#include "loc_point.h"
+#include "card_message_handle.h"
+#include "area.h"
+#include "mine.h"
+#include "site_area.h"
+#include "his_location.h"
+#include "three_rates.h"
+#include "select_tool.h"
+#include "monkey_car/monkeycar_person.h"
+#include "websocket/ws_common.h"
+
+person::person(std::string type,uint32_t cardid,uint16_t needdisplay,int16_t t,int32_t deptid,int32_t level_id,uint32_t cid,int wl)
+	:card_location_base(type,cardid,needdisplay,t,deptid,level_id,cid)
+	,m_workLine(wl)
+{
+	m_message_handle.reset(new card_message_handle(this));
+	m_his_location_card.reset(new location_staff(m_id,m_type));
+}
+
+person::~person()
+{
+}
+
+void person::on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history)
+{
+	m_message_handle->on_message(loop,loc,is_history);
+}
+
+void person::clear()
+{
+	//m_site_area.reset(new site_area_hover);
+	m_area_tool.reset(new area_tool);
+	m_mine_tool.reset(new mine_tool);
+
+	card_location_base::clear();
+}
+
+void person::site_hover(int sid)
+{
+	if(m_time<=0)
+	{
+		return;
+	}
+	log_info("__thread_id site_hover:%d,%x  [%x]",m_id,std::this_thread::get_id(),m_site_area.get());
+	m_site_area->on_point(m_id,sid,nullptr, m_type);
+}
+
+std::shared_ptr<area_hover> person::get_area_hover()
+{
+	return m_area_tool->m_area_hover;
+}
+
+std::shared_ptr<mine_tool> person::get_mine_tool()
+{
+	return m_mine_tool;
+}
+
+std::shared_ptr<site_area_hover> person::get_site_area()
+{
+	return m_site_area;
+}
+
+void person::do_business(const point &pt,double acc)
+{
+	m_area_tool->on_point(m_id,pt,m_speed,m_type);
+	m_site_area->on_point(m_id,0,this, m_type);
+	handle_three_rates(pt);
+}
+
+void person::reset(std::shared_ptr<monkey_person> mp)
+{
+	m_monkeyPerson = mp;
+}
+
+void person::handle_three_rates(const point & pt)
+{
+	card_pos cp;
+	cp.work_line=m_workLine;
+	cp.biz_stat = get_stat();
+	cp.x=pt.x;cp.y=pt.y;cp.z=pt.z;	
+	const auto lm = m_area_tool->getLandmark();
+	cp.enter_time = std::get<0>(lm)*1000;
+	cp.area_id = std::get<3>(lm);
+	put_three_rates(cp);
+}
+
+void person::on_timer()
+{    
+	if(!m_mine_tool->is_attendance())
+		return;
+	YA::_CARD_POS_ cp;
+
+	uint64_t _time=0;
+	point pt = getSmoothPoint(_time);
+	const auto lm = m_area_tool->getLandmark();
+
+	cp.enter_area_time = std::get<0>(lm)*1000;
+	cp.rec_time = std::get<1>(lm);
+
+	int32_t map_id = std::get<2>(lm);
+	int32_t area_id = std::get<3>(lm);
+	cp.map_id=map_id;cp.area_id=area_id;
+	cp.landmark_id = std::get<4>(lm);
+	cp.lm_direction = std::get<5>(lm);
+	cp.landmark_dis=std::get<6>(lm);
+
+	cp.biz_stat = get_stat();
+	cp.down_time = m_mine_tool->get_down_time();
+	cp.work_time = m_mine_tool->get_work_time();
+	cp.is_on_duty= m_mine_tool->is_on_duty();
+	log_info("on_timer here ...%d,%lld,%.2f,%.2f,%d,%d",m_id,_time,pt.x,pt.y,area_id,map_id);
+	m_his_location_card->push(_time,pt,area_id,map_id);
+	upt_card_pos(cp,pt);
+}
+
+point person::getSmoothPoint(uint64_t& t)
+{
+	point pt;
+	loc_point lp = m_smo_tool->smooth_strategy();
+	m_speed = lp.m_speed;
+	m_stat  = lp.m_stat;
+	pt.x = lp.x;
+	pt.y = -lp.y;
+	t=lp.m_time;
+	if(auto  p = m_monkeyPerson.lock() )
+	{
+		if(p->is_on_bus())
+		{
+			m_stat = 7;
+			pt = p->getPoint(t);	
+			log_info("getpoint_oncar:%d,%lld",m_id,t);
+		}
+	}
+	return pt;
+}
+

+ 33 - 0
card_person.h

@@ -0,0 +1,33 @@
+#ifndef _card_person_h_
+#define _card_person_h_
+
+#include "card_base.h"
+#include "card_area.h"
+
+struct person:card_location_base, card_area
+{
+	std::weak_ptr<monkey_person> m_monkeyPerson;
+	int m_workLine=0;
+
+	person(std::string type,uint32_t cardid,uint16_t needdisplay,int16_t t,int32_t deptid,int32_t level_id,uint32_t cid,int wl);
+	~person();
+
+	void on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history);
+
+    void clear();
+	void reset(std::shared_ptr<monkey_person> mp);
+	void handle_three_rates(const point & pt);
+	void on_timer();
+	point getSmoothPoint(uint64_t& t);
+
+	virtual void site_hover(int sid);
+    virtual std::shared_ptr<area_hover> get_area_hover();
+    virtual std::shared_ptr<mine_tool> get_mine_tool();
+    virtual std::shared_ptr<site_area_hover> get_site_area();
+	virtual void do_business(const point &pt,double acc);
+};
+
+#endif
+
+
+

+ 6 - 1
common_tool.h

@@ -17,6 +17,7 @@
 #include "card.h"
 #include "mine.h"
 
+#if 0
 class tool_time
 {
 public:
@@ -85,7 +86,7 @@ public:
         return t_;
     }
 
-    ////"%d-%02d-%02d %02d:%02d:%02d.%03d"
+    //"%d-%02d-%02d %02d:%02d:%02d.%03d"
     static std::chrono::system_clock::time_point to_time_ex(std::string str)
     {
         uint64_t pos = str.length()-3;
@@ -140,6 +141,7 @@ public:
         return std::string(_time);
     }
 };
+#endif
 
 class tool_other
 {
@@ -198,6 +200,7 @@ public:
 };
 
 
+#if 0
 class tool_db
 {
 public:
@@ -251,6 +254,8 @@ public:
     }
 };
 
+#endif
+
 class tool_map
 {
 public:

+ 4 - 0
config.ini

@@ -6,6 +6,7 @@ dbname=yaxt
 encoding=gb2312
 port=3306
 usedb=0
+
 [SETTING]
 ;一人带多卡告警时间。单位小时
 TimeAlarm_Closer=0.1
@@ -53,3 +54,6 @@ z_offset=0.000000
 coor_error=0.000000
 ranging_error=0.000000
 moving_error=0.000000
+
+
+

+ 1 - 3
configure

@@ -4259,8 +4259,6 @@ fi
 
 
 
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lev':
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lev" >&5
 $as_echo_n "checking for main in -lev... " >&6; }
@@ -4301,7 +4299,6 @@ _ACEOF
 
 fi
 
-# FIXME: Replace `main' with a function in `-lzlog':
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzlog" >&5
 $as_echo_n "checking for main in -lzlog... " >&6; }
 if ${ac_cv_lib_zlog_main+:} false; then :
@@ -6452,3 +6449,4 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
 
+

+ 1 - 3
configure.ac

@@ -12,10 +12,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_PROG_CXX
 AC_PROG_CC
 
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lev':
 AC_CHECK_LIB([ev], [main])
-# FIXME: Replace `main' with a function in `-lzlog':
 AC_CHECK_LIB([zlog], [main])
 
 # Checks for header files.
@@ -42,3 +39,4 @@ AC_CHECK_FUNCS([inet_ntoa memset socket])
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
 
+

+ 1 - 0
db/COPYING

@@ -0,0 +1 @@
+/usr/share/automake-1.12/COPYING

+ 1 - 0
db/INSTALL

@@ -0,0 +1 @@
+/usr/share/automake-1.12/INSTALL

+ 14 - 0
db/Makefile.am

@@ -0,0 +1,14 @@
+AUTOMAKE_OPTIONS=foreign
+
+noinst_LIBRARIES=libyadb.a
+
+AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11  -I${prefix}/include -I/usr/local/mysql/include -I. -I..
+AM_LDFLAGS =-Wall -pthread -m64 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib
+
+libyadb_a_SOURCES= db_card.cpp db_api/CDBResultSet.cpp db_api/CDBConnect.cpp \
+		db_api/CDBHelper.cpp db_api/CDBConnPool.cpp db_tool.cpp db_area.cpp db_history.cpp
+
+DEFS= 
+EXTRA_DIST=
+
+

+ 697 - 0
db/Makefile.in

@@ -0,0 +1,697 @@
+# Makefile.in generated by automake 1.12.3 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2012 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@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+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 = :
+subdir = .
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(top_srcdir)/../depcomp \
+	$(top_srcdir)/../install-sh $(top_srcdir)/../missing \
+	$(top_srcdir)/configure COPYING INSTALL
+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 =
+LIBRARIES = $(noinst_LIBRARIES)
+AR = ar
+ARFLAGS = cru
+libyadb_a_AR = $(AR) $(ARFLAGS)
+libyadb_a_LIBADD =
+am_libyadb_a_OBJECTS = db_card.$(OBJEXT) CDBResultSet.$(OBJEXT) \
+	CDBConnect.$(OBJEXT) CDBHelper.$(OBJEXT) CDBConnPool.$(OBJEXT) \
+	db_tool.$(OBJEXT) db_area.$(OBJEXT) db_history.$(OBJEXT)
+libyadb_a_OBJECTS = $(am_libyadb_a_OBJECTS)
+DEFAULT_INCLUDES = -I.@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/../depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+	-o $@
+SOURCES = $(libyadb_a_SOURCES)
+DIST_SOURCES = $(libyadb_a_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+AM_RECURSIVE_TARGETS = cscope
+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__post_remove_distdir = $(am__remove_distdir)
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+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@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = 
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EXEEXT = @EXEEXT@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+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@
+RANLIB = @RANLIB@
+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_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+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_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+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_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = foreign
+noinst_LIBRARIES = libyadb.a
+AM_CPPFLAGS = -Wall -pthread -m64 -std=c++11  -I${prefix}/include -I/usr/local/mysql/include -I. -I..
+AM_LDFLAGS = -Wall -pthread -m64 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib
+libyadb_a_SOURCES = db_card.cpp db_api/CDBResultSet.cpp db_api/CDBConnect.cpp \
+		db_api/CDBHelper.cpp db_api/CDBConnPool.cpp db_tool.cpp db_area.cpp db_history.cpp
+
+EXTRA_DIST = 
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+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) --foreign'; \
+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign 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):
+
+clean-noinstLIBRARIES:
+	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+libyadb.a: $(libyadb_a_OBJECTS) $(libyadb_a_DEPENDENCIES) $(EXTRA_libyadb_a_DEPENDENCIES) 
+	-rm -f libyadb.a
+	$(libyadb_a_AR) libyadb.a $(libyadb_a_OBJECTS) $(libyadb_a_LIBADD)
+	$(RANLIB) libyadb.a
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CDBConnPool.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CDBConnect.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CDBHelper.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CDBResultSet.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/db_area.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/db_card.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/db_history.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/db_tool.Po@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+CDBResultSet.o: db_api/CDBResultSet.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBResultSet.o -MD -MP -MF $(DEPDIR)/CDBResultSet.Tpo -c -o CDBResultSet.o `test -f 'db_api/CDBResultSet.cpp' || echo '$(srcdir)/'`db_api/CDBResultSet.cpp
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBResultSet.Tpo $(DEPDIR)/CDBResultSet.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBResultSet.cpp' object='CDBResultSet.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBResultSet.o `test -f 'db_api/CDBResultSet.cpp' || echo '$(srcdir)/'`db_api/CDBResultSet.cpp
+
+CDBResultSet.obj: db_api/CDBResultSet.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBResultSet.obj -MD -MP -MF $(DEPDIR)/CDBResultSet.Tpo -c -o CDBResultSet.obj `if test -f 'db_api/CDBResultSet.cpp'; then $(CYGPATH_W) 'db_api/CDBResultSet.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBResultSet.cpp'; fi`
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBResultSet.Tpo $(DEPDIR)/CDBResultSet.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBResultSet.cpp' object='CDBResultSet.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBResultSet.obj `if test -f 'db_api/CDBResultSet.cpp'; then $(CYGPATH_W) 'db_api/CDBResultSet.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBResultSet.cpp'; fi`
+
+CDBConnect.o: db_api/CDBConnect.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBConnect.o -MD -MP -MF $(DEPDIR)/CDBConnect.Tpo -c -o CDBConnect.o `test -f 'db_api/CDBConnect.cpp' || echo '$(srcdir)/'`db_api/CDBConnect.cpp
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBConnect.Tpo $(DEPDIR)/CDBConnect.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBConnect.cpp' object='CDBConnect.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBConnect.o `test -f 'db_api/CDBConnect.cpp' || echo '$(srcdir)/'`db_api/CDBConnect.cpp
+
+CDBConnect.obj: db_api/CDBConnect.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBConnect.obj -MD -MP -MF $(DEPDIR)/CDBConnect.Tpo -c -o CDBConnect.obj `if test -f 'db_api/CDBConnect.cpp'; then $(CYGPATH_W) 'db_api/CDBConnect.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBConnect.cpp'; fi`
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBConnect.Tpo $(DEPDIR)/CDBConnect.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBConnect.cpp' object='CDBConnect.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBConnect.obj `if test -f 'db_api/CDBConnect.cpp'; then $(CYGPATH_W) 'db_api/CDBConnect.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBConnect.cpp'; fi`
+
+CDBHelper.o: db_api/CDBHelper.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBHelper.o -MD -MP -MF $(DEPDIR)/CDBHelper.Tpo -c -o CDBHelper.o `test -f 'db_api/CDBHelper.cpp' || echo '$(srcdir)/'`db_api/CDBHelper.cpp
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBHelper.Tpo $(DEPDIR)/CDBHelper.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBHelper.cpp' object='CDBHelper.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBHelper.o `test -f 'db_api/CDBHelper.cpp' || echo '$(srcdir)/'`db_api/CDBHelper.cpp
+
+CDBHelper.obj: db_api/CDBHelper.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBHelper.obj -MD -MP -MF $(DEPDIR)/CDBHelper.Tpo -c -o CDBHelper.obj `if test -f 'db_api/CDBHelper.cpp'; then $(CYGPATH_W) 'db_api/CDBHelper.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBHelper.cpp'; fi`
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBHelper.Tpo $(DEPDIR)/CDBHelper.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBHelper.cpp' object='CDBHelper.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBHelper.obj `if test -f 'db_api/CDBHelper.cpp'; then $(CYGPATH_W) 'db_api/CDBHelper.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBHelper.cpp'; fi`
+
+CDBConnPool.o: db_api/CDBConnPool.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBConnPool.o -MD -MP -MF $(DEPDIR)/CDBConnPool.Tpo -c -o CDBConnPool.o `test -f 'db_api/CDBConnPool.cpp' || echo '$(srcdir)/'`db_api/CDBConnPool.cpp
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBConnPool.Tpo $(DEPDIR)/CDBConnPool.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBConnPool.cpp' object='CDBConnPool.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBConnPool.o `test -f 'db_api/CDBConnPool.cpp' || echo '$(srcdir)/'`db_api/CDBConnPool.cpp
+
+CDBConnPool.obj: db_api/CDBConnPool.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT CDBConnPool.obj -MD -MP -MF $(DEPDIR)/CDBConnPool.Tpo -c -o CDBConnPool.obj `if test -f 'db_api/CDBConnPool.cpp'; then $(CYGPATH_W) 'db_api/CDBConnPool.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBConnPool.cpp'; fi`
+@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/CDBConnPool.Tpo $(DEPDIR)/CDBConnPool.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='db_api/CDBConnPool.cpp' object='CDBConnPool.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o CDBConnPool.obj `if test -f 'db_api/CDBConnPool.cpp'; then $(CYGPATH_W) 'db_api/CDBConnPool.cpp'; else $(CYGPATH_W) '$(srcdir)/db_api/CDBConnPool.cpp'; fi`
+
+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:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	set x; \
+	here=`pwd`; \
+	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:  $(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"
+
+cscope: cscope.files
+	test ! -s cscope.files \
+	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+
+clean-cscope:
+	-rm -f cscope.files
+
+cscope.files: clean-cscope  cscopelist
+
+cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS) $(LISP)'; \
+	case "$(srcdir)" in \
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+	  *) sdir=$(subdir)/$(srcdir) ;; \
+	esac; \
+	for i in $$list; do \
+	  if test -f "$$i"; then \
+	    echo "$(subdir)/$$i"; \
+	  else \
+	    echo "$$sdir/$$i"; \
+	  fi; \
+	done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+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
+	-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__post_remove_distdir)
+
+dist-bzip2: distdir
+	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+	$(am__post_remove_distdir)
+
+dist-lzip: distdir
+	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+	$(am__post_remove_distdir)
+
+dist-xz: distdir
+	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+	$(am__post_remove_distdir)
+
+dist-tarZ: distdir
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+	$(am__post_remove_distdir)
+
+dist-shar: distdir
+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+	$(am__post_remove_distdir)
+
+dist-zip: distdir
+	-rm -f $(distdir).zip
+	zip -rq $(distdir).zip $(distdir)
+	$(am__post_remove_distdir)
+
+dist dist-all:
+	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+	$(am__post_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.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 u+w $(distdir)
+	mkdir $(distdir)/_build $(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__post_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-am
+all-am: Makefile $(LIBRARIES)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+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-am
+
+clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+	-rm -rf $(top_srcdir)/autom4te.cache
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
+	clean-cscope clean-generic clean-noinstLIBRARIES cscope \
+	cscopelist ctags dist dist-all dist-bzip2 dist-gzip dist-lzip \
+	dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
+	distclean-compile distclean-generic 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 maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic pdf pdf-am ps ps-am tags 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:

+ 944 - 0
db/aclocal.m4

@@ -0,0 +1,944 @@
+# generated automatically by aclocal 1.12.3 -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+
+# This file 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.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.12'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version.  Point them to the right macro.
+m4_if([$1], [1.12.3], [],
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too.  Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.12.3])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+#    fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#    fails if $ac_aux_dir is absolute,
+#    fails when called from a subdirectory in a VPATH build with
+#          a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH.  The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL                                            -*- Autoconf -*-
+
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery.  Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
+      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
+      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
+      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                    [depcc="$$1"   am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+               [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # 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
+  # in D".
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_$1_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+  fi
+  am__universal=false
+  m4_case([$1], [CC],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac],
+    [CXX],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac])
+
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+      # Solaris 10 /bin/sh.
+      echo '/* dummy */' > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle '-M -o', and we need to detect this.  Also, some Intel
+    # versions had trouble with output in subdirs.
+    am__obj=sub/conftest.${OBJEXT-o}
+    am__minus_obj="-o $am__obj"
+    case $depmode in
+    gcc)
+      # This depmode causes a compiler race in universal mode.
+      test "$am__universal" = false || continue
+      ;;
+    nosideeffect)
+      # After this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested.
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+      # 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
+      # so weak that their functioning should not be impacted.
+      am__obj=conftest.${OBJEXT-o}
+      am__minus_obj=
+      ;;
+    none) break ;;
+    esac
+    if depmode=$depmode \
+       source=sub/conftest.c object=$am__obj \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_$1_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+  [--enable-dependency-tracking],
+  [do not reject slow dependency extractors])
+AS_HELP_STRING(
+  [--disable-dependency-tracking],
+  [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+  am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
+  # are listed without --file.  Let's play safe and only enable the eval
+  # if we detect the quoting.
+  case $CONFIG_FILES in
+  *\'*) eval set x "$CONFIG_FILES" ;;
+  *)   set x $CONFIG_FILES ;;
+  esac
+  shift
+  for mf
+  do
+    # Strip MF so we end up with the name of the file.
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
+    # Check whether this is an Automake generated Makefile or not.
+    # We used to match only the files named 'Makefile.in', but
+    # some people rename them; so instead we look at the file content.
+    # Grep'ing the first line is not enough: some people post-process
+    # each Makefile.in and add a new line on top of each file to say so.
+    # Grep'ing the whole file is not good either: AIX grep has a line
+    # limit of 2048, but all sed's we know have understand at least 4000.
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+      dirpart=`AS_DIRNAME("$mf")`
+    else
+      continue
+    fi
+    # Extract the definition of DEPDIR, am__include, and am__quote
+    # from the Makefile without running 'make'.
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+    test -z "$DEPDIR" && continue
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
+    test -z "am__include" && continue
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+    # Find all dependency output files, they are included files with
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
+    # simplest approach to changing $(DEPDIR) to its actual value in the
+    # expansion.
+    for file in `sed -n "
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+      # Make sure the directory exists.
+      test -f "$dirpart/$file" && continue
+      fdir=`AS_DIRNAME(["$file"])`
+      AS_MKDIR_P([$dirpart/$fdir])
+      # echo "creating $dirpart/$file"
+      echo '# dummy' > "$dirpart/$file"
+    done
+  done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled.  FIXME.  This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake.                             -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+#
+# This file 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 macro actually does too much.  Some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition.  After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+  # is not polluted with repeated "-I."
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+  # test to see if srcdir already configured
+  if test -f $srcdir/config.status; then
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+  fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+[$0: two- and three-arguments forms are deprecated.  For more info, see:
+http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+  [ok:ok],,
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+			     [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+		  [_AM_DEPENDENCIES([CC])],
+		  [m4_define([AC_PROG_CC],
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+		  [_AM_DEPENDENCIES([CXX])],
+		  [m4_define([AC_PROG_CXX],
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+		  [_AM_DEPENDENCIES([OBJC])],
+		  [m4_define([AC_PROG_OBJC],
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+dnl Support for Objective C++ was only introduced in Autoconf 2.65,
+dnl but we still cater to Autoconf 2.62.
+m4_ifdef([AC_PROG_OBJCXX],
+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+		  [_AM_DEPENDENCIES([OBJCXX])],
+		  [m4_define([AC_PROG_OBJCXX],
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $_am_arg | $_am_arg:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot.  For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+  am__include=include
+  am__quote=
+  _am_result=GNU
+  ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   case `$am_make -s -f confmf 2> /dev/null` in #(
+   *the\ am__doit\ target*)
+     am__include=.include
+     am__quote="\""
+     _am_result=BSD
+     ;;
+   esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
+
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
+else
+  am_missing_run=
+  AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling.                     -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME.  Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   am_has_slept=no
+   for am_try in 1 2; do
+     echo "timestamp, slept: $am_has_slept" > conftest.file
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+     if test "$[*]" = "X"; then
+	# -L didn't work.
+	set X `ls -t "$srcdir/configure" conftest.file`
+     fi
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
+	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+	# If neither matched, then we have a broken ls.  This can happen
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
+	# broken ls alias from the environment.  This has actually
+	# happened.  Such a system could not be considered "sane".
+	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+  alias in your environment])
+     fi
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
+       break
+     fi
+     # Just in case.
+     sleep 1
+     am_has_slept=yes
+   done
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+  ( sleep 1 ) &
+  am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+  [AC_MSG_CHECKING([that generated files are newer than configure])
+   if test -n "$am_sleep_pid"; then
+     # Hide warnings about reused PIDs.
+     wait $am_sleep_pid 2>/dev/null
+   fi
+   AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries.  This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip".  However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball.                            -*- Autoconf -*-
+
+# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+#
+# This file 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.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+#     tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+#     $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4_if([$1], [v7],
+     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+     [m4_case([$1], [ustar],, [pax],,
+              [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of '-'.
+for _am_tool in $_am_tools
+do
+  case $_am_tool in
+  gnutar)
+    for _am_tar in tar gnutar gtar;
+    do
+      AM_RUN_LOG([$_am_tar --version]) && break
+    done
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+    am__untar="$_am_tar -xf -"
+    ;;
+  plaintar)
+    # Must skip GNU tar: if it does not support --format= it doesn't create
+    # ustar tarball either.
+    (tar --version) >/dev/null 2>&1 && continue
+    am__tar='tar chf - "$$tardir"'
+    am__tar_='tar chf - "$tardir"'
+    am__untar='tar xf -'
+    ;;
+  pax)
+    am__tar='pax -L -x $1 -w "$$tardir"'
+    am__tar_='pax -L -x $1 -w "$tardir"'
+    am__untar='pax -r'
+    ;;
+  cpio)
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
+    ;;
+  none)
+    am__tar=false
+    am__tar_=false
+    am__untar=false
+    ;;
+  esac
+
+  # If the value was cached, stop now.  We just wanted to have am__tar
+  # and am__untar set.
+  test -n "${am_cv_prog_tar_$1}" && break
+
+  # tar/untar a dummy directory, and stop if the command works
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  echo GrepMe > conftest.dir/file
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+  rm -rf conftest.dir
+  if test -s conftest.tar; then
+    AM_RUN_LOG([$am__untar <conftest.tar])
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+  fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 4081 - 0
db/autom4te.cache/output.0


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 5126 - 0
db/autom4te.cache/output.1


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 5126 - 0
db/autom4te.cache/output.2


+ 225 - 0
db/autom4te.cache/requests

@@ -0,0 +1,225 @@
+# This file was generated.
+# It contains the lists of macros which have been traced.
+# It can be safely removed.
+
+@request = (
+             bless( [
+                      '0',
+                      1,
+                      [
+                        '/usr/share/autoconf'
+                      ],
+                      [
+                        '/usr/share/autoconf/autoconf/autoconf.m4f',
+                        'configure.ac'
+                      ],
+                      {
+                        '_LT_AC_TAGCONFIG' => 1,
+                        'AM_PROG_F77_C_O' => 1,
+                        'AC_INIT' => 1,
+                        'm4_pattern_forbid' => 1,
+                        '_AM_COND_IF' => 1,
+                        'AC_CANONICAL_TARGET' => 1,
+                        'AC_SUBST' => 1,
+                        'AC_CONFIG_LIBOBJ_DIR' => 1,
+                        'AC_FC_SRCEXT' => 1,
+                        'AC_CANONICAL_HOST' => 1,
+                        'AC_PROG_LIBTOOL' => 1,
+                        'AM_PROG_MKDIR_P' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        'AM_PATH_GUILE' => 1,
+                        'AC_CONFIG_SUBDIRS' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
+                        'AC_CHECK_HEADERS' => 1,
+                        'LT_CONFIG_LTDL_DIR' => 1,
+                        'AC_REQUIRE_AUX_FILE' => 1,
+                        'AC_CONFIG_LINKS' => 1,
+                        'm4_sinclude' => 1,
+                        'LT_SUPPORTED_TAG' => 1,
+                        'AC_PROG_CXX' => 1,
+                        'AM_MAINTAINER_MODE' => 1,
+                        'AM_NLS' => 1,
+                        'AC_TYPE_UINT32_T' => 1,
+                        'AC_FC_PP_DEFINE' => 1,
+                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+                        'AM_MAKEFILE_INCLUDE' => 1,
+                        '_m4_warn' => 1,
+                        'AC_PREREQ' => 1,
+                        'AM_PROG_CXX_C_O' => 1,
+                        '_AM_COND_ENDIF' => 1,
+                        '_AM_MAKEFILE_INCLUDE' => 1,
+                        'AM_ENABLE_MULTILIB' => 1,
+                        'AM_PROG_MOC' => 1,
+                        'AM_SILENT_RULES' => 1,
+                        'AC_CONFIG_FILES' => 1,
+                        'include' => 1,
+                        'LT_INIT' => 1,
+                        'AC_TYPE_INT64_T' => 1,
+                        'AM_PROG_AR' => 1,
+                        'AM_GNU_GETTEXT' => 1,
+                        'AC_LIBSOURCE' => 1,
+                        'AM_PROG_FC_C_O' => 1,
+                        'AC_CANONICAL_BUILD' => 1,
+                        'AC_FC_FREEFORM' => 1,
+                        'AH_OUTPUT' => 1,
+                        'AC_FC_PP_SRCEXT' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
+                        'AC_CONFIG_AUX_DIR' => 1,
+                        'sinclude' => 1,
+                        'AM_PROG_CC_C_O' => 1,
+                        'm4_pattern_allow' => 1,
+                        'AM_XGETTEXT_OPTION' => 1,
+                        'AC_CANONICAL_SYSTEM' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        'AC_CONFIG_HEADERS' => 1,
+                        'AC_TYPE_UINT64_T' => 1,
+                        'AC_DEFINE_TRACE_LITERAL' => 1,
+                        'AM_POT_TOOLS' => 1,
+                        'm4_include' => 1,
+                        'AC_PROG_CC' => 1,
+                        '_AM_COND_ELSE' => 1,
+                        'AC_CHECK_HEADER_STDBOOL' => 1,
+                        'AC_CHECK_FUNCS' => 1,
+                        'AC_SUBST_TRACE' => 1
+                      }
+                    ], 'Autom4te::Request' ),
+             bless( [
+                      '1',
+                      1,
+                      [
+                        '/usr/share/autoconf'
+                      ],
+                      [
+                        '/usr/share/autoconf/autoconf/autoconf.m4f',
+                        '/usr/share/aclocal-1.12/amversion.m4',
+                        '/usr/share/aclocal-1.12/auxdir.m4',
+                        '/usr/share/aclocal-1.12/cond.m4',
+                        '/usr/share/aclocal-1.12/depend.m4',
+                        '/usr/share/aclocal-1.12/depout.m4',
+                        '/usr/share/aclocal-1.12/init.m4',
+                        '/usr/share/aclocal-1.12/install-sh.m4',
+                        '/usr/share/aclocal-1.12/lead-dot.m4',
+                        '/usr/share/aclocal-1.12/make.m4',
+                        '/usr/share/aclocal-1.12/missing.m4',
+                        '/usr/share/aclocal-1.12/options.m4',
+                        '/usr/share/aclocal-1.12/runlog.m4',
+                        '/usr/share/aclocal-1.12/sanity.m4',
+                        '/usr/share/aclocal-1.12/silent.m4',
+                        '/usr/share/aclocal-1.12/strip.m4',
+                        '/usr/share/aclocal-1.12/substnot.m4',
+                        '/usr/share/aclocal-1.12/tar.m4',
+                        'configure.ac'
+                      ],
+                      {
+                        'm4_pattern_forbid' => 1,
+                        'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+                        '_AM_SET_OPTION' => 1,
+                        'AC_DEFUN' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
+                        'AM_MISSING_HAS_RUN' => 1,
+                        'AM_SUBST_NOTMAKE' => 1,
+                        'AM_MISSING_PROG' => 1,
+                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+                        'AC_DEFUN_ONCE' => 1,
+                        'AM_PROG_INSTALL_STRIP' => 1,
+                        '_m4_warn' => 1,
+                        'AM_SANITY_CHECK' => 1,
+                        'AM_SILENT_RULES' => 1,
+                        'include' => 1,
+                        '_AM_PROG_TAR' => 1,
+                        'AM_AUX_DIR_EXPAND' => 1,
+                        'AM_DEP_TRACK' => 1,
+                        '_AM_SET_OPTIONS' => 1,
+                        'AM_RUN_LOG' => 1,
+                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+                        '_AM_IF_OPTION' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
+                        '_AM_AUTOCONF_VERSION' => 1,
+                        'm4_pattern_allow' => 1,
+                        '_AM_MANGLE_OPTION' => 1,
+                        'AM_SET_LEADING_DOT' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        'AM_SET_DEPDIR' => 1,
+                        '_AM_DEPENDENCIES' => 1,
+                        'm4_include' => 1,
+                        'AM_PROG_INSTALL_SH' => 1,
+                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+                        'AU_DEFUN' => 1,
+                        'AM_MAKE_INCLUDE' => 1
+                      }
+                    ], 'Autom4te::Request' ),
+             bless( [
+                      '2',
+                      1,
+                      [
+                        '/usr/share/autoconf'
+                      ],
+                      [
+                        '/usr/share/autoconf/autoconf/autoconf.m4f',
+                        'aclocal.m4',
+                        'configure.ac'
+                      ],
+                      {
+                        'AM_PROG_F77_C_O' => 1,
+                        '_LT_AC_TAGCONFIG' => 1,
+                        'm4_pattern_forbid' => 1,
+                        'AC_INIT' => 1,
+                        '_AM_COND_IF' => 1,
+                        'AC_CANONICAL_TARGET' => 1,
+                        'AC_SUBST' => 1,
+                        'AC_CONFIG_LIBOBJ_DIR' => 1,
+                        'AC_FC_SRCEXT' => 1,
+                        'AC_CANONICAL_HOST' => 1,
+                        'AC_PROG_LIBTOOL' => 1,
+                        'AM_PROG_MKDIR_P' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        'AM_PATH_GUILE' => 1,
+                        'AC_CONFIG_SUBDIRS' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
+                        'LT_CONFIG_LTDL_DIR' => 1,
+                        'AC_CONFIG_LINKS' => 1,
+                        'AC_REQUIRE_AUX_FILE' => 1,
+                        'm4_sinclude' => 1,
+                        'LT_SUPPORTED_TAG' => 1,
+                        'AM_MAINTAINER_MODE' => 1,
+                        'AM_NLS' => 1,
+                        'AC_FC_PP_DEFINE' => 1,
+                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+                        'AM_MAKEFILE_INCLUDE' => 1,
+                        '_m4_warn' => 1,
+                        'AM_PROG_CXX_C_O' => 1,
+                        '_AM_MAKEFILE_INCLUDE' => 1,
+                        '_AM_COND_ENDIF' => 1,
+                        'AM_ENABLE_MULTILIB' => 1,
+                        'AM_PROG_MOC' => 1,
+                        'AM_SILENT_RULES' => 1,
+                        'AC_CONFIG_FILES' => 1,
+                        'LT_INIT' => 1,
+                        'include' => 1,
+                        'AM_GNU_GETTEXT' => 1,
+                        'AM_PROG_AR' => 1,
+                        'AC_LIBSOURCE' => 1,
+                        'AM_PROG_FC_C_O' => 1,
+                        'AC_CANONICAL_BUILD' => 1,
+                        'AC_FC_FREEFORM' => 1,
+                        'AH_OUTPUT' => 1,
+                        'AC_FC_PP_SRCEXT' => 1,
+                        'AC_CONFIG_AUX_DIR' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
+                        'm4_pattern_allow' => 1,
+                        'sinclude' => 1,
+                        'AM_PROG_CC_C_O' => 1,
+                        'AM_XGETTEXT_OPTION' => 1,
+                        'AC_CANONICAL_SYSTEM' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        'AC_CONFIG_HEADERS' => 1,
+                        'AC_DEFINE_TRACE_LITERAL' => 1,
+                        'AM_POT_TOOLS' => 1,
+                        'm4_include' => 1,
+                        '_AM_COND_ELSE' => 1,
+                        'AC_SUBST_TRACE' => 1
+                      }
+                    ], 'Autom4te::Request' )
+           );
+

+ 227 - 0
db/autom4te.cache/traces.0

@@ -0,0 +1,227 @@
+m4trace:configure.ac:4: -1- AC_PREREQ([2.69])
+m4trace:configure.ac:5: -1- AC_INIT([libyadb.a], [1.0], [BUG-REPORT-ADDRESS])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- AC_SUBST([SHELL])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL],       ['AC_PACKAGE_URL'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
+				     ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
+				     ['${datarootdir}/doc/${PACKAGE}'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
+@%:@undef PACKAGE_NAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
+@%:@undef PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
+@%:@undef PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
+@%:@undef PACKAGE_STRING])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
+@%:@undef PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
+@%:@undef PACKAGE_URL])
+m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:12: -1- AC_PROG_CXX
+m4trace:configure.ac:12: -1- AC_SUBST([CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([CXXFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXXFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EXEEXT])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:12: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJEXT])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:13: -1- AC_PROG_CC
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:13: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:15: -1- AC_SUBST([RANLIB])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([RANLIB])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:17: -1- AC_CONFIG_FILES([Makefile])
+m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:18: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_top_builddir])

+ 830 - 0
db/autom4te.cache/traces.1

@@ -0,0 +1,830 @@
+m4trace:/usr/share/aclocal-1.12/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.12'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version.  Point them to the right macro.
+m4_if([$1], [1.12.3], [],
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+m4trace:/usr/share/aclocal-1.12/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.12.3])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+m4trace:/usr/share/aclocal-1.12/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+m4trace:/usr/share/aclocal-1.12/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+m4trace:/usr/share/aclocal-1.12/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
+      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
+      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
+      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                    [depcc="$$1"   am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+               [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # 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
+  # in D".
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_$1_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+  fi
+  am__universal=false
+  m4_case([$1], [CC],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac],
+    [CXX],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac])
+
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+      # Solaris 10 /bin/sh.
+      echo '/* dummy */' > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle '-M -o', and we need to detect this.  Also, some Intel
+    # versions had trouble with output in subdirs.
+    am__obj=sub/conftest.${OBJEXT-o}
+    am__minus_obj="-o $am__obj"
+    case $depmode in
+    gcc)
+      # This depmode causes a compiler race in universal mode.
+      test "$am__universal" = false || continue
+      ;;
+    nosideeffect)
+      # After this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested.
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+      # 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
+      # so weak that their functioning should not be impacted.
+      am__obj=conftest.${OBJEXT-o}
+      am__minus_obj=
+      ;;
+    none) break ;;
+    esac
+    if depmode=$depmode \
+       source=sub/conftest.c object=$am__obj \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_$1_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+m4trace:/usr/share/aclocal-1.12/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+m4trace:/usr/share/aclocal-1.12/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+  [--enable-dependency-tracking],
+  [do not reject slow dependency extractors])
+AS_HELP_STRING(
+  [--disable-dependency-tracking],
+  [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+  am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+m4trace:/usr/share/aclocal-1.12/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
+  # are listed without --file.  Let's play safe and only enable the eval
+  # if we detect the quoting.
+  case $CONFIG_FILES in
+  *\'*) eval set x "$CONFIG_FILES" ;;
+  *)   set x $CONFIG_FILES ;;
+  esac
+  shift
+  for mf
+  do
+    # Strip MF so we end up with the name of the file.
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
+    # Check whether this is an Automake generated Makefile or not.
+    # We used to match only the files named 'Makefile.in', but
+    # some people rename them; so instead we look at the file content.
+    # Grep'ing the first line is not enough: some people post-process
+    # each Makefile.in and add a new line on top of each file to say so.
+    # Grep'ing the whole file is not good either: AIX grep has a line
+    # limit of 2048, but all sed's we know have understand at least 4000.
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+      dirpart=`AS_DIRNAME("$mf")`
+    else
+      continue
+    fi
+    # Extract the definition of DEPDIR, am__include, and am__quote
+    # from the Makefile without running 'make'.
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+    test -z "$DEPDIR" && continue
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
+    test -z "am__include" && continue
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+    # Find all dependency output files, they are included files with
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
+    # simplest approach to changing $(DEPDIR) to its actual value in the
+    # expansion.
+    for file in `sed -n "
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+      # Make sure the directory exists.
+      test -f "$dirpart/$file" && continue
+      fdir=`AS_DIRNAME(["$file"])`
+      AS_MKDIR_P([$dirpart/$fdir])
+      # echo "creating $dirpart/$file"
+      echo '# dummy' > "$dirpart/$file"
+    done
+  done
+}
+])
+m4trace:/usr/share/aclocal-1.12/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+m4trace:/usr/share/aclocal-1.12/init.m4:23: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+  # is not polluted with repeated "-I."
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+  # test to see if srcdir already configured
+  if test -f $srcdir/config.status; then
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+  fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+[$0: two- and three-arguments forms are deprecated.  For more info, see:
+http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+  [ok:ok],,
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+			     [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+		  [_AM_DEPENDENCIES([CC])],
+		  [m4_define([AC_PROG_CC],
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+		  [_AM_DEPENDENCIES([CXX])],
+		  [m4_define([AC_PROG_CXX],
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+		  [_AM_DEPENDENCIES([OBJC])],
+		  [m4_define([AC_PROG_OBJC],
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+dnl Support for Objective C++ was only introduced in Autoconf 2.65,
+dnl but we still cater to Autoconf 2.62.
+m4_ifdef([AC_PROG_OBJCXX],
+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+		  [_AM_DEPENDENCIES([OBJCXX])],
+		  [m4_define([AC_PROG_OBJCXX],
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+m4trace:/usr/share/aclocal-1.12/init.m4:140: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $_am_arg | $_am_arg:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+m4trace:/usr/share/aclocal-1.12/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
+AC_SUBST([install_sh])])
+m4trace:/usr/share/aclocal-1.12/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+m4trace:/usr/share/aclocal-1.12/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+  am__include=include
+  am__quote=
+  _am_result=GNU
+  ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   case `$am_make -s -f confmf 2> /dev/null` in #(
+   *the\ am__doit\ target*)
+     am__include=.include
+     am__quote="\""
+     _am_result=BSD
+     ;;
+   esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+m4trace:/usr/share/aclocal-1.12/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+m4trace:/usr/share/aclocal-1.12/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
+else
+  am_missing_run=
+  AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+m4trace:/usr/share/aclocal-1.12/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+m4trace:/usr/share/aclocal-1.12/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+m4trace:/usr/share/aclocal-1.12/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+m4trace:/usr/share/aclocal-1.12/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+m4trace:/usr/share/aclocal-1.12/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   (exit $ac_status); }])
+m4trace:/usr/share/aclocal-1.12/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   am_has_slept=no
+   for am_try in 1 2; do
+     echo "timestamp, slept: $am_has_slept" > conftest.file
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+     if test "$[*]" = "X"; then
+	# -L didn't work.
+	set X `ls -t "$srcdir/configure" conftest.file`
+     fi
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
+	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+	# If neither matched, then we have a broken ls.  This can happen
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
+	# broken ls alias from the environment.  This has actually
+	# happened.  Such a system could not be considered "sane".
+	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+  alias in your environment])
+     fi
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
+       break
+     fi
+     # Just in case.
+     sleep 1
+     am_has_slept=yes
+   done
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+  ( sleep 1 ) &
+  am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+  [AC_MSG_CHECKING([that generated files are newer than configure])
+   if test -n "$am_sleep_pid"; then
+     # Hide warnings about reused PIDs.
+     wait $am_sleep_pid 2>/dev/null
+   fi
+   AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+m4trace:/usr/share/aclocal-1.12/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+  [--enable-silent-rules],
+  [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+  [--disable-silent-rules],
+  [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+  yes) AM_DEFAULT_VERBOSITY=0;;
+   no) AM_DEFAULT_VERBOSITY=1;;
+    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+   [am_cv_make_support_nested_variables],
+   [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+	@$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+  dnl Using '$V' instead of '$(V)' breaks IRIX make.
+  AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+m4trace:/usr/share/aclocal-1.12/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip".  However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+m4trace:/usr/share/aclocal-1.12/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
+m4trace:/usr/share/aclocal-1.12/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+m4trace:/usr/share/aclocal-1.12/tar.m4:22: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4_if([$1], [v7],
+     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+     [m4_case([$1], [ustar],, [pax],,
+              [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of '-'.
+for _am_tool in $_am_tools
+do
+  case $_am_tool in
+  gnutar)
+    for _am_tar in tar gnutar gtar;
+    do
+      AM_RUN_LOG([$_am_tar --version]) && break
+    done
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+    am__untar="$_am_tar -xf -"
+    ;;
+  plaintar)
+    # Must skip GNU tar: if it does not support --format= it doesn't create
+    # ustar tarball either.
+    (tar --version) >/dev/null 2>&1 && continue
+    am__tar='tar chf - "$$tardir"'
+    am__tar_='tar chf - "$tardir"'
+    am__untar='tar xf -'
+    ;;
+  pax)
+    am__tar='pax -L -x $1 -w "$$tardir"'
+    am__tar_='pax -L -x $1 -w "$tardir"'
+    am__untar='pax -r'
+    ;;
+  cpio)
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
+    ;;
+  none)
+    am__tar=false
+    am__tar_=false
+    am__untar=false
+    ;;
+  esac
+
+  # If the value was cached, stop now.  We just wanted to have am__tar
+  # and am__untar set.
+  test -n "${am_cv_prog_tar_$1}" && break
+
+  # tar/untar a dummy directory, and stop if the command works
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  echo GrepMe > conftest.dir/file
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+  rm -rf conftest.dir
+  if test -s conftest.tar; then
+    AM_RUN_LOG([$am__untar <conftest.tar])
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+  fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:8: -1- AM_INIT_AUTOMAKE
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:8: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
+m4trace:configure.ac:8: -1- AM_AUTOMAKE_VERSION([1.12.3])
+m4trace:configure.ac:8: -1- _AM_AUTOCONF_VERSION([2.69])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:8: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:8: -1- _AM_SET_OPTIONS([])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([no-define])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:8: -1- AM_SANITY_CHECK
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+m4trace:configure.ac:8: -1- AM_MISSING_HAS_RUN
+m4trace:configure.ac:8: -1- AM_AUX_DIR_EXPAND
+m4trace:configure.ac:8: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:8: -1- AM_PROG_INSTALL_SH
+m4trace:configure.ac:8: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:8: -1- AM_PROG_INSTALL_STRIP
+m4trace:configure.ac:8: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:8: -1- AM_SET_LEADING_DOT
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+			     [_AM_PROG_TAR([v7])])])
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([tar-ustar])
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([tar-pax])
+m4trace:configure.ac:8: -1- _AM_PROG_TAR([v7])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
+		  [_AM_DEPENDENCIES([CC])],
+		  [m4_define([AC_PROG_CC],
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+		  [_AM_DEPENDENCIES([CXX])],
+		  [m4_define([AC_PROG_CXX],
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+		  [_AM_DEPENDENCIES([OBJC])],
+		  [m4_define([AC_PROG_OBJC],
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+dnl Support for Objective C++ was only introduced in Autoconf 2.65,
+dnl but we still cater to Autoconf 2.62.
+m4_ifdef([AC_PROG_OBJCXX],
+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+		  [_AM_DEPENDENCIES([OBJCXX])],
+		  [m4_define([AC_PROG_OBJCXX],
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+])
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([no-dependencies])
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([silent-rules])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:12: -1- _AM_DEPENDENCIES([CXX])
+m4trace:configure.ac:12: -1- AM_SET_DEPDIR
+m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:12: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:12: -1- AM_MAKE_INCLUDE
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:12: -1- AM_DEP_TRACK
+m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__nodep$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__nodep])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCXX], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:13: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:13: -1- AM_CONDITIONAL([am__fastdepCC], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:18: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:18: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS

+ 373 - 0
db/autom4te.cache/traces.2

@@ -0,0 +1,373 @@
+m4trace:configure.ac:5: -1- AC_INIT([libyadb.a], [1.0], [BUG-REPORT-ADDRESS])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- AC_SUBST([SHELL])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL],       ['AC_PACKAGE_URL'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
+				     ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
+				     ['${datarootdir}/doc/${PACKAGE}'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
+@%:@undef PACKAGE_NAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
+@%:@undef PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
+@%:@undef PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
+@%:@undef PACKAGE_STRING])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
+@%:@undef PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
+@%:@undef PACKAGE_URL])
+m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:8: -1- AM_INIT_AUTOMAKE
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:8: -1- AM_AUTOMAKE_VERSION([1.12.3])
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_PROGRAM])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_SCRIPT])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_DATA])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_DATA])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:8: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__isrc])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:8: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:8: -1- AC_SUBST([CYGPATH_W])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([CYGPATH_W])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:8: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([PACKAGE])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:8: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([VERSION])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:8: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
+@%:@undef PACKAGE])
+m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:8: -1- AH_OUTPUT([VERSION], [/* Version number of package */
+@%:@undef VERSION])
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([missing])
+m4trace:configure.ac:8: -1- AC_SUBST([ACLOCAL])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([ACLOCAL])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOCONF])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOCONF])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOMAKE])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOMAKE])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOHEADER])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOHEADER])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:8: -1- AC_SUBST([MAKEINFO])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([MAKEINFO])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:8: -1- AC_SUBST([install_sh])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([install_sh])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:8: -1- AC_SUBST([STRIP])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([STRIP])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:8: -1- AC_SUBST([MKDIR_P])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:8: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([mkdir_p])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:8: -1- AC_SUBST([AWK])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AWK])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:8: -1- AC_SUBST([SET_MAKE])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([SET_MAKE])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:8: -1- AC_SUBST([am__leading_dot])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__leading_dot])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:8: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AMTAR])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:8: -1- AC_SUBST([am__tar])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__tar])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:8: -1- AC_SUBST([am__untar])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__untar])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:12: -1- AC_SUBST([CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([CXXFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXXFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:12: -1- AC_SUBST([CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CXX])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CXX])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:12: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([EXEEXT])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:12: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([OBJEXT])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:12: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DEPDIR])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:12: -1- AC_SUBST([am__include])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__include])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:12: -1- AC_SUBST([am__quote])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__quote])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_TRUE])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_TRUE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_FALSE])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_FALSE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:12: -1- AC_SUBST([AMDEPBACKSLASH])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:12: -1- AC_SUBST([am__nodep])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__nodep])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__nodep$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__nodep])
+m4trace:configure.ac:12: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CXXDEPMODE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCXX], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCXX_TRUE])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCXX_FALSE])
+m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:13: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:13: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([CCDEPMODE])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:13: -1- AM_CONDITIONAL([am__fastdepCC], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:13: -1- AC_SUBST([am__fastdepCC_TRUE])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:13: -1- AC_SUBST([am__fastdepCC_FALSE])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:15: -1- AC_SUBST([RANLIB])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([RANLIB])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:17: -1- AC_CONFIG_FILES([Makefile])
+m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:18: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:18: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:18: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:18: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([MKDIR_P])

+ 213 - 0
db/autoscan.log

@@ -0,0 +1,213 @@
+autoscan: warning: missing AC_CHECK_FUNCS([memset]) wanted by: 
+	db_api/mysqltest01.cpp:108
+	db_api/mysqltest01.cpp:124
+	db_api/mysqltest01.cpp:152
+	db_api/mysqltest01.cpp:182
+	db_api/mysqltest01.cpp:215
+	db_api/mysqltest01.cpp:254
+	db_api/mysqltest01.cpp:258
+	db_api/mysqltest01.cpp:448
+	db_api/CDBResultSet.cpp:217
+autoscan: warning: missing AC_CHECK_HEADERS([string.h]) wanted by: 
+	db_api/mysqltest01.cpp:10
+	db_api/CDBResultSet.cpp:2
+	db_api/CDBConnect.cpp:2
+	db_api/CDBHelper.cpp:3
+autoscan: warning: missing AC_CHECK_HEADER_STDBOOL wanted by: 
+	db_api/CjasonCommon.h:110
+	db_api/CjasonCommon.h:144
+	db_api/mysqltest01.cpp:365
+	db_api/CDBResultSet.cpp:37
+	db_api/CDBResultSet.cpp:72
+	db_api/CDBResultSet.cpp:85
+	db_api/CDBResultSet.cpp:117
+	db_api/CDBResultSet.cpp:117
+	db_api/CDBResultSet.cpp:142
+	db_api/CDBResultSet.cpp:146
+	db_api/CDBResultSet.cpp:160
+	db_api/CDBResultSet.cpp:164
+	db_api/CDBResultSet.cpp:178
+	db_api/CDBResultSet.cpp:182
+	db_api/CDBResultSet.cpp:196
+	db_api/CDBResultSet.cpp:201
+	db_api/CDBResultSet.cpp:215
+	db_api/CDBResultSet.cpp:220
+	db_api/CDBResultSet.cpp:234
+	db_api/CDBResultSet.cpp:234
+	db_api/CDBResultSet.cpp:238
+	db_api/CDBResultSet.cpp:252
+	db_api/CDBResultSet.cpp:256
+	db_api/CDBResultSet.cpp:270
+	db_api/CDBResultSet.cpp:274
+	db_api/CDBResultSet.cpp:288
+	db_api/CDBResultSet.cpp:292
+	db_api/CDBResultSet.cpp:321
+	db_api/CDBResultSet.cpp:333
+	db_api/CDBResultSet.cpp:345
+	db_api/CDBResultSet.cpp:357
+	db_api/CDBResultSet.cpp:369
+	db_api/CDBResultSet.cpp:381
+	db_api/CDBResultSet.cpp:381
+	db_api/CDBResultSet.cpp:393
+	db_api/CDBResultSet.cpp:405
+	db_api/CDBResultSet.cpp:417
+	db_api/CDBConnPool.h:47
+	db_api/CDBConnPool.h:48
+	db_api/CDBConnPool.h:69
+	db_api/CDBConnPool.h:173
+	db_api/CDBConnPool.h:174
+	db_api/CDBConnPool.h:174
+	db_api/CDBConnPool.h:242
+	db_api/CDBConnPool.h:262
+	db_api/CDBConnect.cpp:6
+	db_api/CDBConnect.cpp:19
+	db_api/CDBConnect.cpp:91
+	db_api/CDBConnect.cpp:227
+	db_api/CDBConnect.cpp:232
+	db_api/CDBConnect.cpp:255
+	db_api/CDBResultSet.h:77
+	db_api/CDBResultSet.h:77
+	db_api/CDBResultSet.h:99
+	db_api/CDBResultSet.h:134
+	db_api/CDBResultSet.h:152
+	db_api/CDBResultSet.h:190
+	db_api/CDBResultSet.h:210
+	db_api/CDBResultSet.h:230
+	db_api/CDBResultSet.h:250
+	db_api/CDBResultSet.h:271
+	db_api/CDBResultSet.h:291
+	db_api/CDBResultSet.h:291
+	db_api/CDBResultSet.h:311
+	db_api/CDBResultSet.h:331
+	db_api/CDBResultSet.h:351
+	db_api/CDBResultSet.h:390
+	db_api/CDBResultSet.h:410
+	db_api/CDBResultSet.h:430
+	db_api/CDBResultSet.h:450
+	db_api/CDBResultSet.h:471
+	db_api/CDBResultSet.h:491
+	db_api/CDBResultSet.h:491
+	db_api/CDBResultSet.h:511
+	db_api/CDBResultSet.h:531
+	db_api/CDBResultSet.h:551
+	db_api/CDBConnPool.cpp:18
+	db_api/CDBConnPool.cpp:46
+	db_api/CDBConnPool.cpp:51
+	db_api/CDBConnPool.cpp:51
+	db_api/CDBConnPool.cpp:317
+	db_api/CDBConnPool.cpp:329
+	db_api/CDBConnect.h:37
+	db_api/CDBConnect.h:40
+	db_api/CDBConnect.h:60
+	db_api/CDBConnect.h:113
+	db_api/CDBConnect.h:275
+	db_api/CDBConnect.h:294
+	db_api/CDBConnect.h:314
+	db_api/CjasonCommon.h:118
+	db_api/CjasonCommon.h:153
+	db_api/mysqltest01.cpp:230
+	db_api/mysqltest01.cpp:230
+	db_api/mysqltest01.cpp:365
+	db_api/CDBResultSet.cpp:50
+	db_api/CDBResultSet.cpp:77
+	db_api/CDBResultSet.cpp:90
+	db_api/CDBResultSet.cpp:100
+	db_api/CDBResultSet.cpp:119
+	db_api/CDBResultSet.cpp:124
+	db_api/CDBResultSet.cpp:130
+	db_api/CDBResultSet.cpp:146
+	db_api/CDBResultSet.cpp:149
+	db_api/CDBResultSet.cpp:164
+	db_api/CDBResultSet.cpp:167
+	db_api/CDBResultSet.cpp:182
+	db_api/CDBResultSet.cpp:185
+	db_api/CDBResultSet.cpp:201
+	db_api/CDBResultSet.cpp:204
+	db_api/CDBResultSet.cpp:220
+	db_api/CDBResultSet.cpp:223
+	db_api/CDBResultSet.cpp:236
+	db_api/CDBResultSet.cpp:238
+	db_api/CDBResultSet.cpp:241
+	db_api/CDBResultSet.cpp:256
+	db_api/CDBResultSet.cpp:259
+	db_api/CDBResultSet.cpp:274
+	db_api/CDBResultSet.cpp:277
+	db_api/CDBResultSet.cpp:292
+	db_api/CDBResultSet.cpp:295
+	db_api/CDBResultSet.cpp:330
+	db_api/CDBResultSet.cpp:342
+	db_api/CDBResultSet.cpp:354
+	db_api/CDBResultSet.cpp:366
+	db_api/CDBResultSet.cpp:378
+	db_api/CDBResultSet.cpp:390
+	db_api/CDBResultSet.cpp:402
+	db_api/CDBResultSet.cpp:414
+	db_api/CDBResultSet.cpp:426
+	db_api/CDBConnPool.h:48
+	db_api/CDBConnPool.h:69
+	db_api/CDBConnect.cpp:30
+	db_api/CDBConnect.cpp:39
+	db_api/CDBConnect.cpp:48
+	db_api/CDBConnect.cpp:249
+	db_api/CDBConnect.cpp:260
+	db_api/CDBConnect.cpp:267
+	db_api/CDBConnect.cpp:274
+	db_api/CDBHelper.cpp:21
+	db_api/CDBHelper.cpp:41
+	db_api/CDBConnPool.cpp:58
+	db_api/CDBConnPool.cpp:64
+	db_api/CDBConnPool.cpp:73
+	db_api/CDBConnPool.cpp:266
+	db_api/CDBConnPool.cpp:322
+	db_api/CDBConnPool.cpp:334
+	db_api/CDBConnect.h:40
+	db_api/CjasonCommon.h:124
+	db_api/CjasonCommon.h:159
+	db_api/mysqltest01.cpp:246
+	db_api/mysqltest01.cpp:246
+	db_api/CDBResultSet.cpp:55
+	db_api/CDBResultSet.cpp:82
+	db_api/CDBResultSet.cpp:95
+	db_api/CDBResultSet.cpp:103
+	db_api/CDBResultSet.cpp:136
+	db_api/CDBResultSet.cpp:139
+	db_api/CDBResultSet.cpp:157
+	db_api/CDBResultSet.cpp:175
+	db_api/CDBResultSet.cpp:193
+	db_api/CDBResultSet.cpp:212
+	db_api/CDBResultSet.cpp:231
+	db_api/CDBResultSet.cpp:249
+	db_api/CDBResultSet.cpp:267
+	db_api/CDBResultSet.cpp:285
+	db_api/CDBResultSet.cpp:303
+	db_api/CDBConnPool.h:47
+	db_api/CDBConnect.cpp:54
+	db_api/CDBConnect.cpp:252
+	db_api/CDBConnect.cpp:282
+	db_api/CDBConnPool.cpp:48
+	db_api/CDBConnPool.cpp:84
+	db_api/CDBConnPool.cpp:137
+	db_api/CDBConnPool.cpp:255
+autoscan: warning: missing AC_TYPE_INT64_T wanted by: 
+	db_card.cpp:26
+	db_card.cpp:122
+	db_card.h:11
+	db_card.h:12
+autoscan: warning: missing AC_TYPE_UINT32_T wanted by: 
+	db_card.cpp:21
+	db_card.cpp:76
+	db_card.cpp:165
+autoscan: warning: missing AC_TYPE_UINT64_T wanted by: 
+	db_card.cpp:13
+	db_card.cpp:21
+	db_card.cpp:21
+	db_card.cpp:26
+	db_card.cpp:41
+	db_card.cpp:110
+	db_card.cpp:122
+	db_card.cpp:132
+	db_card.cpp:192
+	db_card.h:11
+	db_card.h:12
+	db_api/CDBConnect.cpp:255
+	db_api/CDBConnect.h:314

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 5126 - 0
db/configure


+ 20 - 0
db/configure.ac

@@ -0,0 +1,20 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([libyadb.a], [1.0], [BUG-REPORT-ADDRESS])
+AC_CONFIG_SRCDIR([db_tool.cpp])
+
+AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIR([m4])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+
+AC_PROG_RANLIB
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
+

+ 28 - 0
db/configure.scan

@@ -0,0 +1,28 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
+AC_CONFIG_SRCDIR([db_card.cpp])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
+AC_TYPE_INT64_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+
+# Checks for library functions.
+AC_CHECK_FUNCS([memset])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

+ 0 - 0
db_api/CDBCommon.h


db_api/CDBConnPool.cpp → db/db_api/CDBConnPool.cpp


+ 0 - 0
db_api/CDBConnPool.h


db_api/CDBConnect.cpp → db/db_api/CDBConnect.cpp


db_api/CDBConnect.h → db/db_api/CDBConnect.h


db_api/CDBHelper.cpp → db/db_api/CDBHelper.cpp


db_api/CDBHelper.h → db/db_api/CDBHelper.h


db_api/CDBResultSet.cpp → db/db_api/CDBResultSet.cpp


db_api/CDBResultSet.h → db/db_api/CDBResultSet.h


db_api/CDBSingletonDefine.h → db/db_api/CDBSingletonDefine.h


db_api/CjasonCommon.h → db/db_api/CjasonCommon.h


db_api/mysqltest01.cpp → db/db_api/mysqltest01.cpp


+ 0 - 0
db/db_area.cpp


+ 8 - 0
db/db_area.h

@@ -0,0 +1,8 @@
+
+
+namespace db_area
+{
+	
+
+}
+

+ 201 - 0
db/db_card.cpp

@@ -0,0 +1,201 @@
+
+#include <memory>
+#include <unordered_map>
+#include "log.h"
+
+#include "db_api/CDBResultSet.h"
+#include "db_api/CDBSingletonDefine.h"
+
+#include "../card_base.h"
+
+namespace db_card
+{
+	static std::string to13str(uint64_t data)
+	{
+		char ss[20]={0};
+		sprintf(ss, "%013ld", data);
+
+		return std::string(ss);
+	}
+
+	static uint64_t getId(uint32_t cardid,uint64_t type)
+	{
+	    return type<<32|cardid;
+	}
+
+	std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> load_car(int64_t id64,const std::string&strategy)
+	{
+		std::string sql = "SELECT ve.vehicle_id, ve.card_id, c.card_type_id, \
+						   ve.dept_id, ve.group_id, v.vehicle_type_id, vt.vehicle_level_id, \
+						   vt.is_railroad AS vt_is_railroad,ve.need_display ,ve.power_alarm,\
+						   vt.vehicle_category_id,v.bigger_car_flag,vc.over_speed \
+						   FROM dat_vehicle_extend ve \
+						   LEFT JOIN dat_vehicle v ON ve.vehicle_id = v.vehicle_id \
+						   LEFT JOIN dat_card c ON ve.card_id = c.card_id \
+						   LEFT JOIN dat_dept d ON ve.dept_id = d.dept_id \
+						   LEFT JOIN dat_group g ON ve.group_id = g.group_id \
+						   LEFT JOIN dat_vehicle_type vt ON v.vehicle_type_id = vt.vehicle_type_id \
+						   LEFT JOIN dat_vehicle_category vc ON vc.vehicle_category_id = vt.vehicle_category_id \
+						   WHERE c.state_id = 0";
+
+		std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> map;
+
+		std::string card_id_str = to13str(id64);
+
+		if(-1 == id64)
+		{
+			sql.append(";");
+		}
+		else
+		{
+			sql.append(" AND ve.card_id ='");
+			sql.append(card_id_str);
+			sql.append("';");
+
+			log_info("基础数据 增加或修改车卡 sql=%s", sql.c_str());
+		}
+
+		std::string Error;
+		YADB::CDBResultSet DBRes;
+		sDBConnPool.Query(sql.c_str(),DBRes,Error);
+		int nCount = DBRes.GetRecordCount( Error );
+		if (nCount < 1)
+		{
+			log_error("增加或修改失败,数据库中找不到: card_id=%s", card_id_str.c_str());
+			return map;
+		}
+
+		while ( DBRes.GetNextRecod(Error) )
+		{
+			unsigned int vehicle_id  = 0;
+			DBRes.GetField( "vehicle_id",vehicle_id, Error );
+
+			std::string card_id;
+			DBRes.GetField( "card_id",card_id, Error );
+
+			uint32_t vsid = atoi(card_id.substr(3).c_str());
+
+			unsigned int card_type_id  = 0;
+			DBRes.GetField( "card_type_id",card_type_id, Error );
+
+			int dept_id = 0;
+			DBRes.GetField( "dept_id",dept_id, Error );
+
+			int group_id = 0;
+			DBRes.GetField( "group_id",group_id, Error );
+
+			int vehicle_type_id = 0;
+			DBRes.GetField( "vehicle_type_id",vehicle_type_id, Error );
+
+			int vehicle_level_id = 0;
+			DBRes.GetField( "vehicle_level_id",vehicle_level_id, Error );
+
+			int need_display = 0;
+			DBRes.GetField( "need_display",need_display, Error );
+
+			int power_alarm = 0;
+			DBRes.GetField( "power_alarm",power_alarm, Error );
+
+			int vehicle_category_id = 0;
+			DBRes.GetField( "vehicle_category_id",vehicle_category_id, Error );
+
+			int bigger_car_flag= 0;
+			DBRes.GetField( "bigger_car_flag",bigger_car_flag, Error );
+
+			double over_speed= 0;
+			DBRes.GetField( "over_speed",over_speed, Error );
+
+			auto clb = card_location_base::make_car(strategy,vsid,need_display,card_type_id,
+					dept_id,vehicle_category_id, vehicle_type_id,vehicle_level_id,vehicle_id);
+			uint64_t cardid = getId(vsid,card_type_id);
+			log_info("cardId:%llu,id:%d dept_id:%d,need_display:%d-cardid:%s,categoryid:%d,vchile_id:%d,type:%d",
+					cardid,vsid,dept_id,need_display,card_id.c_str(),vehicle_category_id,vehicle_id,card_type_id);
+			map.insert({cardid,clb});
+
+			log_info("基础数据 增加或修改车卡成功:卡id:%ld, dept_id:%d,need_display:%d,categoryid:%d",
+					id64,dept_id,need_display,vehicle_category_id);
+		}
+
+		return map;
+	}
+
+	std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> load_person(int64_t id64,const std::string&strategy)
+	{
+		std::string sql = "SELECT staff_id, s.card_id, c.card_type_id, s.dept_id, s.group_id, s.occupation_id, \
+						   ol.occupation_level_id,s.worktype_id,s.need_display,s.work_line\
+						   FROM dat_staff_extend s \
+						   LEFT JOIN dat_card c ON s.card_id = c.card_id \
+						   LEFT JOIN dat_occupation o ON s.occupation_id = o.occupation_id \
+						   LEFT JOIN dat_occupation_level ol ON ol.occupation_level_id = o.occupation_level_id \
+						   WHERE s.duty_id = 0 AND c.state_id = 0";
+
+		std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> map;
+		std::string card_id_str = to13str(id64);
+		if(-1 == id64)
+		{
+			sql.append(";");
+		}
+		else
+		{
+			sql.append(" AND s.card_id = '");
+			sql.append(card_id_str);
+			sql.append("';");
+
+			log_info("基础数据 增加或修改人卡 sql=%s", sql.c_str());
+		}
+
+		std::string Error;
+		YADB::CDBResultSet DBRes;
+		sDBConnPool.Query(sql.c_str(),DBRes,Error);
+		int nCount = DBRes.GetRecordCount( Error );
+		if (nCount < 1)
+		{
+			log_error("增加或修改失败,数据库中找不到: card_id=%s", card_id_str.c_str());
+			return map;
+		}
+
+		while ( DBRes.GetNextRecod(Error) )
+		{
+			unsigned int staff_id  = 0;
+			DBRes.GetField( "staff_id",staff_id, Error );
+
+			std::string card_id;
+			DBRes.GetField( "card_id",card_id, Error );
+
+			uint32_t vsid = atoi(card_id.substr(3).c_str());
+
+			unsigned int card_type_id  = 0;
+			DBRes.GetField( "card_type_id",card_type_id, Error );
+
+			int dept_id = 0;
+			DBRes.GetField( "dept_id",dept_id, Error );
+
+			int group_id = 0;
+			DBRes.GetField( "group_id",group_id, Error );
+
+			int occupation_id = 0;
+			DBRes.GetField( "occupation_id",occupation_id, Error );
+
+			int occupation_level_id = 0;
+			DBRes.GetField( "occupation_level_id",occupation_level_id, Error );
+
+			int need_display = 0;
+			DBRes.GetField( "need_display",need_display, Error );
+
+			int work_line = 0;
+			DBRes.GetField( "work_line",work_line, Error );
+			//for now;
+			//staff_id = vsid;
+
+			std::shared_ptr<card_location_base> clb = card_location_base::make_person(strategy,vsid,need_display,card_type_id,
+															dept_id,occupation_level_id,staff_id,work_line);
+			uint64_t cardid = getId(vsid,card_type_id);
+			log_info("cardId:%llu,id:%d dept_id:%d,need_display:%d,card:%s:work_line:%d,staff_id:%d,type:%d",
+						cardid,vsid,dept_id,need_display,card_id.c_str(),work_line,staff_id,card_type_id);
+			map.insert({cardid,clb});
+		}
+
+		return map;
+	}
+
+}

+ 17 - 0
db/db_card.h

@@ -0,0 +1,17 @@
+
+#ifndef _db_card_h_
+#define _db_card_h_
+
+struct card_location_base;
+#include <unordered_map>
+
+namespace db_card
+{
+
+	std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> load_person(int64_t id64,const std::string&); 
+	std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> load_car(int64_t id64,const std::string&); 
+
+}
+
+#endif
+

+ 0 - 0
db/db_history.cpp


+ 15 - 0
db/db_history.h

@@ -0,0 +1,15 @@
+
+#ifndef _db_history_h_
+#define _db_history_h_
+
+namespace db_history
+{
+
+
+
+
+
+}
+
+#endif
+

+ 64 - 0
db/db_tool.cpp

@@ -0,0 +1,64 @@
+
+#include "log.h"
+#include "db_api/CDBSingletonDefine.h"
+#include "card_base.h"
+
+#include "mine.h"
+#include "area.h"
+
+#include "tool_time.h"
+#include "db_tool.h"
+
+namespace db_tool
+{
+    void PushAsync(char* sql)
+    {
+        if(!sDBConnPool.PushAsync(sql))
+        {
+            log_error( "PushAsync记录到队列中失败\n");
+        }
+    }
+
+    void save_attendance(const std::shared_ptr<card_location_base>& card_ptr)
+    {
+        char sql[LENGTH_SQL] = {0};
+
+        std::string call("add_att_staff");
+        if(card_ptr->is_vehicle())//车卡
+        {
+            call="add_att_vehicle";
+        }
+
+        auto mine_tool_ptr = card_ptr->get_mine_tool();
+
+        auto start = mine_tool_ptr->m_attendance_start_time;
+        auto end = mine_tool_ptr->m_attendance_start_time;
+        if(!mine_tool_ptr->is_attendance())//考勤结束时间
+        {
+            end = std::chrono::system_clock::now();
+        }
+
+        std::string start_str = tool_time::to_str(start);
+        std::string end_str = tool_time::to_str(end);
+
+        int landmarkid = 0;
+        int landmarkdirect=0;
+        double landmarkdist=0;
+        auto area_hover_ptr = card_ptr->get_area_hover();
+        if(area_hover_ptr)
+        {
+            landmarkid = area_hover_ptr->landmark_id;
+            landmarkdirect = area_hover_ptr->landmark_dir;
+            landmarkdist = area_hover_ptr->landmark_dis;
+        }
+
+        sprintf(sql, "CALL %s(%s, %d, '%s', '%s', %d, %d, %.3f);", call.c_str(),
+                card_ptr->id64_str().c_str(),
+                card_ptr->m_id, start_str.c_str(), end_str.c_str(),
+                landmarkid, landmarkdirect, landmarkdist);
+
+        PushAsync(sql);
+    }
+}
+
+

+ 14 - 0
db/db_tool.h

@@ -0,0 +1,14 @@
+#ifndef _tool_db_h_
+#define _tool_db_h_
+
+#include <memory>
+struct card_location_base;
+namespace db_tool
+{
+    void PushAsync(char* sql);
+    void save_attendance(const std::shared_ptr<card_location_base>& card_ptr);
+}
+
+#endif
+
+

+ 127 - 0
db/load_c

@@ -0,0 +1,127 @@
+void card_list::init_vehicle(int64_t id64)
+{
+    std::string strategy = config.get("car.strategy","car1");
+    std::string sql = "SELECT ve.vehicle_id, ve.card_id, c.card_type_id, \
+                        ve.dept_id, ve.group_id, v.vehicle_type_id, vt.vehicle_level_id, \
+                        vt.is_railroad AS vt_is_railroad,ve.need_display ,ve.power_alarm,\
+                        vt.vehicle_category_id,v.bigger_car_flag,vc.over_speed \
+                        FROM dat_vehicle_extend ve \
+                        LEFT JOIN dat_vehicle v ON ve.vehicle_id = v.vehicle_id \
+                        LEFT JOIN dat_card c ON ve.card_id = c.card_id \
+                        LEFT JOIN dat_dept d ON ve.dept_id = d.dept_id \
+                        LEFT JOIN dat_group g ON ve.group_id = g.group_id \
+                        LEFT JOIN dat_vehicle_type vt ON v.vehicle_type_id = vt.vehicle_type_id \
+                        LEFT JOIN dat_vehicle_category vc ON vc.vehicle_category_id = vt.vehicle_category_id \
+                        WHERE c.state_id = 0";
+
+    std::string card_id_str = tool_other::to13str(id64);
+    if(-1 == id64)
+    {
+        sql.append(";");
+    }
+    else
+    {
+        sql.append(" AND ve.card_id ='");
+        sql.append(card_id_str);
+        sql.append("';");
+
+        std_debug("基础数据 增加或修改车卡 sql=%s", sql.c_str());
+        log_info("基础数据 增加或修改车卡 sql=%s", sql.c_str());
+    }
+
+    std::string Error;
+    YADB::CDBResultSet DBRes;
+    sDBConnPool.Query(sql.c_str(),DBRes,Error);
+    int nCount = DBRes.GetRecordCount( Error );
+    if (nCount < 1)
+    {
+        log_error("增加或修改失败,数据库中找不到: card_id=%s", card_id_str.c_str());
+        return ;
+    }
+
+    std::unordered_map<uint64_t,std::shared_ptr<card_location_base>> map;
+    while ( DBRes.GetNextRecod(Error) )
+    {
+        unsigned int vehicle_id  = 0;
+        DBRes.GetField( "vehicle_id",vehicle_id, Error );
+
+        std::string card_id;
+        DBRes.GetField( "card_id",card_id, Error );
+
+        uint32_t vsid = atoi(card_id.substr(3).c_str());
+
+        unsigned int card_type_id  = 0;
+        DBRes.GetField( "card_type_id",card_type_id, Error );
+
+        int dept_id = 0;
+        DBRes.GetField( "dept_id",dept_id, Error );
+
+        int group_id = 0;
+        DBRes.GetField( "group_id",group_id, Error );
+
+        int vehicle_type_id = 0;
+        DBRes.GetField( "vehicle_type_id",vehicle_type_id, Error );
+
+        int vehicle_level_id = 0;
+        DBRes.GetField( "vehicle_level_id",vehicle_level_id, Error );
+
+        int need_display = 0;
+        DBRes.GetField( "need_display",need_display, Error );
+
+        int power_alarm = 0;
+        DBRes.GetField( "power_alarm",power_alarm, Error );
+
+        int vehicle_category_id = 0;
+        DBRes.GetField( "vehicle_category_id",vehicle_category_id, Error );
+
+        int bigger_car_flag= 0;
+        DBRes.GetField( "bigger_car_flag",bigger_car_flag, Error );
+
+        double over_speed= 0;
+        DBRes.GetField( "over_speed",over_speed, Error );
+
+        //for now
+        //vehicle_id = vsid;
+
+        if(-1 == id64)
+        {
+            auto clb = std::make_shared<car>(strategy,vsid,need_display,card_type_id,
+                                             dept_id,vehicle_category_id, vehicle_type_id,vehicle_level_id,vehicle_id);
+            uint64_t cardid = getId(vsid,card_type_id);
+            log_info("cardId:%llu,id:%d dept_id:%d,need_display:%d-cardid:%s,categoryid:%d,vchile_id:%d,type:%d",
+                     cardid,vsid,dept_id,need_display,card_id.c_str(),vehicle_category_id,vehicle_id,card_type_id);
+            map.insert({cardid,clb});
+        }
+        else
+        {
+            auto card_id64 = card_list::to_id64(card_type_id, tool_other::id64_to_id(card_id));
+            auto card_ptr = card_list::instance()->get(card_id64);
+            if(card_ptr)
+            {
+                car* tmp_ptr= static_cast<car*>(card_ptr.get());
+                tmp_ptr->m_display = static_cast<uint16_t>(need_display);
+                tmp_ptr->m_deptid = dept_id;
+                tmp_ptr->m_vehicle_category_id = vehicle_category_id;
+                tmp_ptr->m_vehicle_type_id = vehicle_type_id;
+                tmp_ptr->m_level_id = vehicle_level_id;
+            }
+            else
+            {
+                auto clb = std::make_shared<car>(strategy,vsid,need_display,card_type_id,dept_id,
+                                                 vehicle_category_id, vehicle_type_id,vehicle_level_id,vehicle_id);
+                card_list::instance()->add(card_id64, clb);
+            }
+
+            log_info("基础数据 增加或修改车卡成功:卡id:%ld, dept_id:%d,need_display:%d,categoryid:%d",
+                     id64,dept_id,need_display,vehicle_category_id);
+            std_debug("基础数据 增加或修改车卡成功:卡id:%ld, dept_id:%d,need_display:%d,categoryid:%d",
+                     id64,dept_id,need_display,vehicle_category_id);
+        }
+    }
+
+    if(-1 == id64)
+    {
+        log_info( "init_vehicle. The record count=%d\n", nCount );
+        card_list::instance()->add(map);
+    }
+}

+ 2 - 0
his_location.h

@@ -4,6 +4,8 @@
 #include <queue>
 #include "point.h"
 #include "log.h"
+#include "tool_time.h"
+#include "card_path.h"
 #include "db_api/CDBSingletonDefine.h"
 //速度
 //区域 地图变换

+ 1 - 1
mine.h

@@ -8,8 +8,8 @@
  */
 
 #include <unordered_map>
-#include "db_api/CDBSingletonDefine.h"
 #include <log.h>
+#include <chrono>
 #include "common.h"
 struct mine_tool
 {

+ 2 - 2
module_service/module_area.h

@@ -145,7 +145,7 @@ public:
                 card_list::to_id64_str(card_ptr->m_type, card_ptr->m_id).c_str(),
                 card_ptr->m_id, area_hover_ptr->id(), area_hover_ptr->mapid(), start_str.c_str(), start_str.c_str());
 
-        tool_db::PushAsync(sql);
+        db_tool::PushAsync(sql);
     }
 
     ///入库
@@ -168,7 +168,7 @@ public:
                 card_list::to_id64_str(card_ptr->m_type, card_ptr->m_id).c_str(),
                 card_ptr->m_id, area_hover_ptr->id(), area_hover_ptr->mapid(), start_str.c_str(), end_str.c_str());
 
-        tool_db::PushAsync(sql);
+        db_tool::PushAsync(sql);
     }
 };
 

+ 3 - 3
module_service/module_attendance_person.h

@@ -58,7 +58,7 @@ public:
                 mine_tool_ptr->m_attendance_start_time=std::chrono::system_clock::now();
 
                 //作为一条开始考勤记录保存到数据库
-                tool_db::save_attendance(card_ptr);
+                db_tool::save_attendance(card_ptr);
 
                 log_info("人卡考勤开始:卡id=%d,卡type=%d,分站id=%d,分站reader_type_id=%d,stat_attendance=%d",
                          card_ptr->m_id, card_ptr->m_type,
@@ -91,7 +91,7 @@ public:
         mine_tool_ptr->m_stat_attendance=AS_NOT_ATTENDANCE;
 
         //作为一条结束考勤记录保存到数据库
-        tool_db::save_attendance(card_ptr);
+        db_tool::save_attendance(card_ptr);
 
         rapidjson::Document doc(rapidjson::kObjectType);
         rapidjson::Value datas(rapidjson::kArrayType);
@@ -165,7 +165,7 @@ public:
                     mine_tool_ptr->m_stat_attendance=AS_NOT_ATTENDANCE;
 
                     //作为一条结束考勤记录保存到数据库
-                    tool_db::save_attendance(card_ptr);
+                    db_tool::save_attendance(card_ptr);
                 }
 
                 auto area_hover_ptr = card_ptr->get_area_hover();

+ 3 - 2
module_service/module_attendance_vehicle.h

@@ -18,6 +18,7 @@
 #include "module_const.h"
 #include "common_tool.h"
 #include"module_meta_date_changed.h"
+#include "db_tool.h"
 
 /**
  * @brief 车辆进入某些特定区域,结束考勤;从特定区域进入其他区域,开始考勤, 单例
@@ -50,7 +51,7 @@ public:
                 mine_tool_ptr->m_attendance_start_time=std::chrono::system_clock::now();
 
                 //作为一条开始考勤记录保存到数据库
-                tool_db::save_attendance(card_ptr);
+                db_tool::save_attendance(card_ptr);
 
                 log_info("车卡考勤开始:卡id=%d,卡type=%d,区域id=%d, stat_attendance=%d",
                           card_ptr->m_id, card_ptr->m_type,
@@ -113,7 +114,7 @@ public:
         mine_tool_ptr->m_stat_attendance=AS_NOT_ATTENDANCE;
 
         //作为一条结束考勤记录保存到数据库
-        tool_db::save_attendance(card_ptr);
+        db_tool::save_attendance(card_ptr);
 
         if(area_ptr)
         {

+ 5 - 0
module_service/module_call.cpp

@@ -7,6 +7,11 @@
 #include <chrono>
 #include<algorithm>
 
+#include <area.h>
+#include <site_area.h>
+
+
+
 
 void module_call::run()
 {

+ 1 - 0
module_service/module_call.h

@@ -18,6 +18,7 @@
 #include "rapidjson/prettywriter.h"
 #include"module_const.h"
 #include"module_web.h"
+#include"ant.h"
 
 /**
  * @brief 呼叫类型 全员 定员

+ 1 - 0
module_service/module_meta_date_changed.h

@@ -7,6 +7,7 @@
  */
 
 #include"module_const.h"
+#include "ant.h"
 
 
 

+ 1 - 1
site_area.h

@@ -1,7 +1,7 @@
 #ifndef __SITE_AREA_HOVER_HPP__
 #define __SITE_AREA_HOVER_HPP__
 #include <point.h>
-#include<chrono>
+#include <chrono>
 #include "common.h"
 
 //每张卡包含这样一个对象,保存最后一个分站区域;只有tof一维有这个需求

+ 131 - 0
tool_time.h

@@ -0,0 +1,131 @@
+#ifndef _tool_time_h_
+#define _tool_time_h_
+
+
+#include <chrono>
+class tool_time
+{
+public:
+    static uint32_t elapse_seconds(std::chrono::system_clock::time_point &start)
+    {
+        return static_cast<uint32_t>( std::chrono::duration_cast<std::chrono::seconds>
+                (std::chrono::system_clock::now() - start).count() );
+    }
+
+    static uint64_t elapse_ms(std::chrono::system_clock::time_point &start)
+    {
+        return static_cast<uint64_t>( std::chrono::duration_cast<std::chrono::milliseconds>
+                (std::chrono::system_clock::now() - start).count() );
+    }
+
+    static uint32_t now_to_seconds()
+    {
+        return static_cast<uint32_t>( std::chrono::duration_cast<std::chrono::seconds>
+                (std::chrono::system_clock::now().time_since_epoch()).count() );
+    }
+
+    static uint64_t now_to_ms()
+    {
+        return static_cast<uint64_t>( std::chrono::duration_cast<std::chrono::milliseconds>
+                (std::chrono::system_clock::now().time_since_epoch()).count() );
+    }
+
+    static uint64_t now_to_us()
+    {
+        return static_cast<uint64_t>( std::chrono::duration_cast<std::chrono::microseconds>
+                (std::chrono::system_clock::now().time_since_epoch()).count() );
+    }
+
+    static uint64_t to_ms(const std::chrono::system_clock::time_point &time)
+    {
+        return static_cast<uint64_t>( std::chrono::duration_cast<std::chrono::milliseconds>
+                (time.time_since_epoch()).count() );
+    }
+
+    static std::string to_str(const std::chrono::system_clock::time_point &time)
+    {
+        char _time[25] = {0};
+        time_t tt = std::chrono::system_clock::to_time_t(time);
+        struct tm local_time;
+        localtime_r(&tt, &local_time);
+        strftime(_time, 22, "%Y-%m-%d %H:%M:%S", &local_time);
+
+        return std::string(_time);
+    }
+	static uint64_t morning_of_today_ms()
+	{
+		std::time_t now = time(0);
+		struct tm * loc_t = localtime(&now);
+		loc_t->tm_hour=0;loc_t->tm_min=0;loc_t->tm_sec=0;
+		now = mktime(loc_t);
+		return now*1000;
+	}
+    //"%Y-%m-%d %H:%M:%S"
+    static time_t to_time(std::string str)
+    {
+        time_t t_;
+        tm tm_;
+        strptime(str.c_str(), "%Y-%m-%d %H:%M:%S", &tm_); //将字符串转换为tm时间
+        t_ = mktime(&tm_); //将tm时间转换为秒时间
+
+        return t_;
+    }
+
+    ////"%d-%02d-%02d %02d:%02d:%02d.%03d"
+    static std::chrono::system_clock::time_point to_time_ex(std::string str)
+    {
+        uint64_t pos = str.length()-3;
+
+        time_t t_;
+        tm tm_;
+        strptime(str.substr(0,pos).c_str(), "%Y-%m-%d %H:%M:%S", &tm_); //将字符串转换为tm时间
+        t_ = mktime(&tm_); //将tm时间转换为秒时间
+
+        int milli = std::stoi(str.substr(pos));
+
+        return std::chrono::system_clock::time_point(std::chrono::milliseconds(t_*1000 + milli));
+    }
+
+    //"%d-%02d-%02d %02d:%02d:%02d.%03d"
+    static std::string to_str_ex(uint64_t ms)
+    {
+        int32_t mill = ms%1000;
+
+        char _time[25] = {0};
+        time_t tt = ms/1000;
+        struct tm *local_time=localtime(&tt);
+        //strftime(_time, 22, "%Y-%m-%d %H:%M:%S", local_time);
+        sprintf(_time, "%d-%02d-%02d %02d:%02d:%02d.%03d", local_time->tm_year+1900,
+                local_time->tm_mon+1, local_time->tm_mday, local_time->tm_hour,
+                local_time->tm_min, local_time->tm_sec, mill);
+
+        return std::string(_time);
+    }
+
+    //"%d-%02d-%02d %02d:%02d:%02d.%03d"
+    static std::string to_str_ex(std::chrono::system_clock::time_point time)
+    {
+        return to_str_ex(to_ms(time));
+    }
+
+    static int elapse_seconds(time_t &start)
+    {
+        time_t now;
+        time(&now);
+        return static_cast<int>(std::difftime(now, start));
+    }
+
+    //"%Y-%m-%d %H:%M:%S"
+    static std::string to_str(const std::time_t &time)
+    {
+        char _time[25] = {0};
+        struct tm local_time;
+        localtime_r(&time, &local_time);
+        strftime(_time, 22, "%Y-%m-%d %H:%M:%S", &local_time);
+
+        return std::string(_time);
+    }
+};
+
+#endif
+

+ 14 - 0
websocket/Makefile.am

@@ -0,0 +1,14 @@
+AUTOMAKE_OPTIONS=foreign
+
+noinst_LIBRARIES=libwebsocket.a
+
+AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11  -I${prefix}/include -I. -I.. -I./sio
+AM_LDFLAGS =-Wall -pthread -m64 -std=c++11  -L${prefix}/lib  
+
+libwebsocket_a_SOURCES= jsonBuilder.cpp wsClient.cpp wsClientMgr.cpp wsTimerThread.cpp \
+					 sio/sio_client.cpp sio/sio_socket.cpp  \
+					 sio/internal/sio_client_impl.cpp sio/internal/sio_packet.cpp
+
+DEFS= 
+EXTRA_DIST=
+

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 5126 - 0
websocket/configure


+ 20 - 0
websocket/configure.ac

@@ -0,0 +1,20 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([libwebsocket.a], [1.0], [BUG-REPORT-ADDRESS])
+AC_CONFIG_SRCDIR([wsClient.cpp])
+
+AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIR([m4])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+
+AC_PROG_RANLIB
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
+

+ 12 - 33
websocket/jsonBuilder.cpp

@@ -20,27 +20,11 @@ namespace YA
 
 	std::string jsonBuilder::__FmtCardID( const _BASE_CARD_ & CardPos )
 	{
-		std::string ID;
-
 		char szID[32] = { 0 };
 
-		switch ( CardPos.Type )
-		{
-			case 1://人卡
-			{
-				sprintf( szID, "001%.10d", CardPos.ID );
-			}
-			break;
-			case 2://车卡
-			{
-				sprintf( szID, "002%.10d", CardPos.ID );
-			}
-			break;
-		}
-
-		ID = szID;
+		sprintf( szID, "%03d%.10d", CardPos.Type, CardPos.ID );
 
-		return ID;
+		return szID;
 	}
 
 	void jsonBuilder::__AddVersion( rapidjson::Value& root, rapidjson::Document::AllocatorType& Allocator )
@@ -393,22 +377,17 @@ namespace YA
 				continue;
 			}
 			
-			switch ( mit_card->second.Type )
+			if( mit_card->second.Type == 1)
+			{
+				s_Detail.PushBack( DetailItem, Allocator );
+				__CreateDeptMap( mit_card->second, s_dept_map );
+				__CreateDeptItem(  mit_card->second, s_glbl_item );
+			}
+			else //车卡、采煤机等等
 			{
-				case 1://人卡
-				{
-					s_Detail.PushBack( DetailItem, Allocator );
-					__CreateDeptMap( mit_card->second, s_dept_map );
-					__CreateDeptItem(  mit_card->second, s_glbl_item );
-				}
-				break;
-				case 2://车卡
-				{
-					v_Detail.PushBack( DetailItem, Allocator );
-					__CreateDeptMap( mit_card->second, v_dept_map );
-					__CreateDeptItem(  mit_card->second, v_glbl_item );
-				}
-				break;
+				v_Detail.PushBack( DetailItem, Allocator );
+				__CreateDeptMap( mit_card->second, v_dept_map );
+				__CreateDeptItem(  mit_card->second, v_glbl_item );
 			}
 		}
 

src/internal/sio_client_impl.cpp → websocket/sio/internal/sio_client_impl.cpp


src/internal/sio_client_impl.h → websocket/sio/internal/sio_client_impl.h


src/internal/sio_packet.cpp → websocket/sio/internal/sio_packet.cpp


src/internal/sio_packet.h → websocket/sio/internal/sio_packet.h


src/sio_client.cpp → websocket/sio/sio_client.cpp


src/sio_client.h → websocket/sio/sio_client.h


src/sio_message.h → websocket/sio/sio_message.h


src/sio_socket.cpp → websocket/sio/sio_socket.cpp


src/sio_socket.h → websocket/sio/sio_socket.h


+ 4 - 1
ya_event.h

@@ -15,6 +15,9 @@
 #include "db_api/CDBSingletonDefine.h"
 #include"card.h"
 #include"common_tool.h"
+#include "tool_time.h"
+#include "db_tool.h"
+#include <area.h>
 
 /**
  * @brief 事件状态
@@ -216,7 +219,7 @@ public:
                 _time.c_str(), ev_ptr->m_desc.c_str(),
                 ev_ptr->m_landmarkid, ev_ptr->m_landmarkdist, ev_ptr->m_landmarkdirect);
 
-        tool_db::PushAsync(sql);
+        db_tool::PushAsync(sql);
     }
 
     ~event_list(){}