nutcracker 0.4.0.16 → 0.4.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -3
  3. data/ext/nutcracker/ChangeLog +33 -8
  4. data/ext/nutcracker/Makefile.in +34 -21
  5. data/ext/nutcracker/README.md +61 -26
  6. data/ext/nutcracker/aclocal.m4 +34 -31
  7. data/ext/nutcracker/autom4te.cache/output.0 +1875 -1330
  8. data/ext/nutcracker/autom4te.cache/output.1 +1875 -1330
  9. data/ext/nutcracker/autom4te.cache/requests +232 -451
  10. data/ext/nutcracker/autom4te.cache/traces.0 +2256 -2129
  11. data/ext/nutcracker/autom4te.cache/traces.1 +73 -59
  12. data/ext/nutcracker/config.h.in +1 -2
  13. data/ext/nutcracker/config.h.in~ +333 -0
  14. data/ext/nutcracker/config/compile +1 -1
  15. data/ext/nutcracker/config/config.guess +13 -160
  16. data/ext/nutcracker/config/config.sub +25 -11
  17. data/ext/nutcracker/config/depcomp +1 -1
  18. data/ext/nutcracker/config/install-sh +170 -196
  19. data/ext/nutcracker/config/ltmain.sh +3509 -2018
  20. data/ext/nutcracker/config/missing +1 -1
  21. data/ext/nutcracker/configure +1874 -1329
  22. data/ext/nutcracker/configure.ac +3 -2
  23. data/ext/nutcracker/contrib/Makefile.in +18 -5
  24. data/ext/nutcracker/contrib/yaml-0.1.4/LICENSE +19 -0
  25. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.am +20 -0
  26. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +832 -0
  27. data/ext/nutcracker/contrib/yaml-0.1.4/README +27 -0
  28. data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +1157 -0
  29. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +13342 -0
  30. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +14611 -0
  31. data/ext/nutcracker/{autom4te.cache → contrib/yaml-0.1.4/autom4te.cache}/output.2 +3465 -8761
  32. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +516 -0
  33. data/ext/nutcracker/{autom4te.cache/traces.2 → contrib/yaml-0.1.4/autom4te.cache/traces.0} +662 -698
  34. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +577 -0
  35. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +2721 -0
  36. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in +79 -0
  37. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +80 -0
  38. data/ext/nutcracker/contrib/yaml-0.1.4/config/compile +347 -0
  39. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +1421 -0
  40. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +1807 -0
  41. data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +791 -0
  42. data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +501 -0
  43. data/ext/nutcracker/contrib/yaml-0.1.4/config/ltmain.sh +11147 -0
  44. data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +215 -0
  45. data/ext/nutcracker/contrib/yaml-0.1.4/config/test-driver +148 -0
  46. data/ext/nutcracker/contrib/yaml-0.1.4/configure +14611 -0
  47. data/ext/nutcracker/contrib/yaml-0.1.4/configure.ac +75 -0
  48. data/ext/nutcracker/contrib/yaml-0.1.4/doc/doxygen.cfg +222 -0
  49. data/ext/nutcracker/contrib/yaml-0.1.4/include/yaml.h +1971 -0
  50. data/ext/nutcracker/contrib/yaml-0.1.4/m4/libtool.m4 +8369 -0
  51. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltoptions.m4 +437 -0
  52. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltsugar.m4 +124 -0
  53. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltversion.m4 +23 -0
  54. data/ext/nutcracker/contrib/yaml-0.1.4/m4/lt~obsolete.m4 +99 -0
  55. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.am +4 -0
  56. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +600 -0
  57. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.c +1392 -0
  58. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.c +394 -0
  59. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.c +2329 -0
  60. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.c +432 -0
  61. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.c +1374 -0
  62. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.c +465 -0
  63. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.c +3570 -0
  64. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.c +141 -0
  65. data/ext/nutcracker/contrib/yaml-0.1.4/src/yaml_private.h +640 -0
  66. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.am +8 -0
  67. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +1083 -0
  68. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.c +800 -0
  69. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.c +1130 -0
  70. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.c +217 -0
  71. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.c +202 -0
  72. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.c +311 -0
  73. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.c +327 -0
  74. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.c +63 -0
  75. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.c +63 -0
  76. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.c +63 -0
  77. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-reader.c +354 -0
  78. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-version.c +29 -0
  79. data/ext/nutcracker/m4/libtool.m4 +1474 -1087
  80. data/ext/nutcracker/m4/ltoptions.m4 +90 -37
  81. data/ext/nutcracker/m4/ltsugar.m4 +4 -3
  82. data/ext/nutcracker/m4/ltversion.m4 +6 -6
  83. data/ext/nutcracker/m4/lt~obsolete.m4 +4 -3
  84. data/ext/nutcracker/man/nutcracker.8 +1 -1
  85. data/ext/nutcracker/notes/memcache.md +162 -0
  86. data/ext/nutcracker/notes/recommendation.md +10 -5
  87. data/ext/nutcracker/notes/redis.md +23 -9
  88. data/ext/nutcracker/scripts/nutcracker.init +10 -0
  89. data/ext/nutcracker/scripts/nutcracker.init.debian +83 -0
  90. data/ext/nutcracker/scripts/nutcracker.spec +36 -2
  91. data/ext/nutcracker/scripts/redis-check.sh +4 -0
  92. data/ext/nutcracker/src/Makefile.am +6 -1
  93. data/ext/nutcracker/src/Makefile.in +26 -12
  94. data/ext/nutcracker/src/event/Makefile.in +19 -6
  95. data/ext/nutcracker/src/hashkit/Makefile.in +19 -6
  96. data/ext/nutcracker/src/hashkit/nc_jenkins.c +1 -1
  97. data/ext/nutcracker/src/hashkit/nc_ketama.c +3 -3
  98. data/ext/nutcracker/src/nc.c +1 -1
  99. data/ext/nutcracker/src/nc_conf.c +67 -19
  100. data/ext/nutcracker/src/nc_conf.h +9 -4
  101. data/ext/nutcracker/src/nc_connection.c +35 -2
  102. data/ext/nutcracker/src/nc_connection.h +53 -47
  103. data/ext/nutcracker/src/nc_core.c +8 -1
  104. data/ext/nutcracker/src/nc_message.c +23 -7
  105. data/ext/nutcracker/src/nc_message.h +24 -1
  106. data/ext/nutcracker/src/nc_proxy.c +14 -3
  107. data/ext/nutcracker/src/nc_rbtree.c +1 -5
  108. data/ext/nutcracker/src/nc_request.c +58 -10
  109. data/ext/nutcracker/src/nc_response.c +27 -4
  110. data/ext/nutcracker/src/nc_server.c +33 -5
  111. data/ext/nutcracker/src/nc_server.h +10 -9
  112. data/ext/nutcracker/src/nc_string.h +17 -0
  113. data/ext/nutcracker/src/nc_util.c +5 -1
  114. data/ext/nutcracker/src/proto/Makefile.in +19 -6
  115. data/ext/nutcracker/src/proto/nc_memcache.c +76 -12
  116. data/ext/nutcracker/src/proto/nc_proto.h +9 -0
  117. data/ext/nutcracker/src/proto/nc_redis.c +400 -18
  118. data/lib/nutcracker.rb +1 -1
  119. data/lib/nutcracker/version.rb +1 -1
  120. metadata +61 -6
  121. data/ext/nutcracker/notes/memcache.txt +0 -123
@@ -1,20 +1,19 @@
1
- m4trace:/usr/local/share/aclocal/argz.m4:76: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
2
-
1
+ m4trace:/usr/local/share/aclocal/ltargz.m4:74: -1- AC_DEFUN([LT_FUNC_ARGZ], [
3
2
  AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
4
3
 
5
4
  AC_CHECK_TYPES([error_t],
6
5
  [],
7
6
  [AC_DEFINE([error_t], [int],
8
- [Define to a type to use for `error_t' if it is not otherwise available.])
7
+ [Define to a type to use for 'error_t' if it is not otherwise available.])
9
8
  AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
10
9
  does not typedef error_t.])],
11
10
  [#if defined(HAVE_ARGZ_H)
12
11
  # include <argz.h>
13
12
  #endif])
14
13
 
15
- ARGZ_H=
14
+ LT_ARGZ_H=
16
15
  AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
17
- argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
16
+ argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
18
17
 
19
18
  dnl if have system argz functions, allow forced use of
20
19
  dnl libltdl-supplied implementation (and default to do so
@@ -25,14 +24,14 @@ dnl provides them, yet they are broken, is cygwin
25
24
  dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
26
25
  dnl So, it's more straightforward simply to special case
27
26
  dnl this for known bad systems.
28
- AS_IF([test -z "$ARGZ_H"],
27
+ AS_IF([test -z "$LT_ARGZ_H"],
29
28
  [AC_CACHE_CHECK(
30
29
  [if argz actually works],
31
30
  [lt_cv_sys_argz_works],
32
31
  [[case $host_os in #(
33
32
  *cygwin*)
34
33
  lt_cv_sys_argz_works=no
35
- if test "$cross_compiling" != no; then
34
+ if test no != "$cross_compiling"; then
36
35
  lt_cv_sys_argz_works="guessing no"
37
36
  else
38
37
  lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
@@ -43,2283 +42,2400 @@ AS_IF([test -z "$ARGZ_H"],
43
42
  lt_os_major=${2-0}
44
43
  lt_os_minor=${3-0}
45
44
  lt_os_micro=${4-0}
46
- if test "$lt_os_major" -gt 1 \
47
- || { test "$lt_os_major" -eq 1 \
48
- && { test "$lt_os_minor" -gt 5 \
49
- || { test "$lt_os_minor" -eq 5 \
50
- && test "$lt_os_micro" -gt 24; }; }; }; then
45
+ if test 1 -lt "$lt_os_major" \
46
+ || { test 1 -eq "$lt_os_major" \
47
+ && { test 5 -lt "$lt_os_minor" \
48
+ || { test 5 -eq "$lt_os_minor" \
49
+ && test 24 -lt "$lt_os_micro"; }; }; }; then
51
50
  lt_cv_sys_argz_works=yes
52
51
  fi
53
52
  fi
54
53
  ;; #(
55
54
  *) lt_cv_sys_argz_works=yes ;;
56
55
  esac]])
57
- AS_IF([test "$lt_cv_sys_argz_works" = yes],
56
+ AS_IF([test yes = "$lt_cv_sys_argz_works"],
58
57
  [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
59
58
  [This value is set to 1 to indicate that the system argz facility works])],
60
- [ARGZ_H=argz.h
61
- AC_LIBOBJ([argz])])])
59
+ [LT_ARGZ_H=lt__argz.h
60
+ AC_LIBOBJ([lt__argz])])])
62
61
 
63
- AC_SUBST([ARGZ_H])
62
+ AC_SUBST([LT_ARGZ_H])
64
63
  ])
65
- m4trace:/usr/local/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
66
- m4trace:/usr/local/share/aclocal/libtool.m4:104: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
67
- AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
68
- AC_BEFORE([$0], [LT_LANG])dnl
69
- AC_BEFORE([$0], [LT_OUTPUT])dnl
70
- AC_BEFORE([$0], [LTDL_INIT])dnl
71
- m4_require([_LT_CHECK_BUILDDIR])dnl
72
-
73
- dnl Autoconf doesn't catch unexpanded LT_ macros by default:
74
- m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
75
- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
76
- dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
77
- dnl unless we require an AC_DEFUNed macro:
78
- AC_REQUIRE([LTOPTIONS_VERSION])dnl
79
- AC_REQUIRE([LTSUGAR_VERSION])dnl
80
- AC_REQUIRE([LTVERSION_VERSION])dnl
81
- AC_REQUIRE([LTOBSOLETE_VERSION])dnl
82
- m4_require([_LT_PROG_LTMAIN])dnl
83
-
84
- _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
85
-
86
- dnl Parse OPTIONS
87
- _LT_SET_OPTIONS([$0], [$1])
88
-
89
- # This can be used to rebuild libtool when needed
90
- LIBTOOL_DEPS="$ltmain"
91
-
92
- # Always use our own libtool.
93
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
94
- AC_SUBST(LIBTOOL)dnl
95
-
96
- _LT_SETUP
97
-
98
- # Only expand once:
99
- m4_define([LT_INIT])
64
+ m4trace:/usr/local/share/aclocal/ltdl.m4:19: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
65
+ _$0($*)
66
+ ])
67
+ m4trace:/usr/local/share/aclocal/ltdl.m4:77: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
68
+ dnl Although the argument is deprecated and no longer documented,
69
+ dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
70
+ dnl here make sure it is the same as any other declaration of libltdl's
71
+ dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
72
+ dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
73
+ m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
74
+ _$0()
100
75
  ])
101
- m4trace:/usr/local/share/aclocal/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102
- m4trace:/usr/local/share/aclocal/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
76
+ m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
77
+ _LTDL_CONVENIENCE])
78
+ m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
103
79
  You should run autoupdate.])dnl
104
- m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105
- m4trace:/usr/local/share/aclocal/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
106
- m4trace:/usr/local/share/aclocal/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
80
+ _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
81
+ _LTDL_CONVENIENCE])
82
+ m4trace:/usr/local/share/aclocal/ltdl.m4:133: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
83
+ dnl Although the argument is deprecated and no longer documented,
84
+ dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
85
+ dnl here make sure it is the same as any other declaration of libltdl's
86
+ dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
87
+ dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
88
+ m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
89
+ _$0()
90
+ ])
91
+ m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
92
+ _LTDL_INSTALLABLE])
93
+ m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
107
94
  You should run autoupdate.])dnl
108
- m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
109
- m4trace:/usr/local/share/aclocal/libtool.m4:694: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
110
- AC_MSG_NOTICE([creating $CONFIG_LT])
111
- _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
112
- [# Run this file to recreate a libtool stub with the current configuration.])
95
+ _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
96
+ _LTDL_INSTALLABLE])
97
+ m4trace:/usr/local/share/aclocal/ltdl.m4:216: -1- AC_DEFUN([_LT_LIBOBJ], [
98
+ m4_pattern_allow([^_LT_LIBOBJS$])
99
+ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
100
+ ])
101
+ m4trace:/usr/local/share/aclocal/ltdl.m4:349: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
102
+ _LT_SET_OPTIONS([$0], [$1])
113
103
 
114
- cat >>"$CONFIG_LT" <<\_LTEOF
115
- lt_cl_silent=false
116
- exec AS_MESSAGE_LOG_FD>>config.log
117
- {
118
- echo
119
- AS_BOX([Running $as_me.])
120
- } >&AS_MESSAGE_LOG_FD
104
+ dnl We need to keep our own list of libobjs separate from our parent project,
105
+ dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
106
+ dnl we look for our own LIBOBJs.
107
+ m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
108
+ m4_pushdef([AC_LIBSOURCES])
121
109
 
122
- lt_cl_help="\
123
- \`$as_me' creates a local libtool stub from the current configuration,
124
- for use in further configure time tests before the real libtool is
125
- generated.
110
+ dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
111
+ m4_if(_LTDL_MODE, [],
112
+ [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
113
+ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
114
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
126
115
 
127
- Usage: $[0] [[OPTIONS]]
116
+ AC_ARG_WITH([included_ltdl],
117
+ [AS_HELP_STRING([--with-included-ltdl],
118
+ [use the GNU ltdl sources included here])])
128
119
 
129
- -h, --help print this help, then exit
130
- -V, --version print version number, then exit
131
- -q, --quiet do not print progress messages
132
- -d, --debug don't remove temporary files
120
+ if test yes != "$with_included_ltdl"; then
121
+ # We are not being forced to use the included libltdl sources, so
122
+ # decide whether there is a useful installed version we can use.
123
+ AC_CHECK_HEADER([ltdl.h],
124
+ [AC_CHECK_DECL([lt_dlinterface_register],
125
+ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
126
+ [with_included_ltdl=no],
127
+ [with_included_ltdl=yes])],
128
+ [with_included_ltdl=yes],
129
+ [AC_INCLUDES_DEFAULT
130
+ #include <ltdl.h>])],
131
+ [with_included_ltdl=yes],
132
+ [AC_INCLUDES_DEFAULT]
133
+ )
134
+ fi
133
135
 
134
- Report bugs to <bug-libtool@gnu.org>."
136
+ dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
137
+ dnl was called yet, then for old times' sake, we assume libltdl is in an
138
+ dnl eponymous directory:
139
+ AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
135
140
 
136
- lt_cl_version="\
137
- m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
138
- m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
139
- configured by $[0], generated by m4_PACKAGE_STRING.
141
+ AC_ARG_WITH([ltdl_include],
142
+ [AS_HELP_STRING([--with-ltdl-include=DIR],
143
+ [use the ltdl headers installed in DIR])])
140
144
 
141
- Copyright (C) 2011 Free Software Foundation, Inc.
142
- This config.lt script is free software; the Free Software Foundation
143
- gives unlimited permision to copy, distribute and modify it."
145
+ if test -n "$with_ltdl_include"; then
146
+ if test -f "$with_ltdl_include/ltdl.h"; then :
147
+ else
148
+ AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
149
+ fi
150
+ else
151
+ with_ltdl_include=no
152
+ fi
144
153
 
145
- while test $[#] != 0
146
- do
147
- case $[1] in
148
- --version | --v* | -V )
149
- echo "$lt_cl_version"; exit 0 ;;
150
- --help | --h* | -h )
151
- echo "$lt_cl_help"; exit 0 ;;
152
- --debug | --d* | -d )
153
- debug=: ;;
154
- --quiet | --q* | --silent | --s* | -q )
155
- lt_cl_silent=: ;;
154
+ AC_ARG_WITH([ltdl_lib],
155
+ [AS_HELP_STRING([--with-ltdl-lib=DIR],
156
+ [use the libltdl.la installed in DIR])])
156
157
 
157
- -*) AC_MSG_ERROR([unrecognized option: $[1]
158
- Try \`$[0] --help' for more information.]) ;;
158
+ if test -n "$with_ltdl_lib"; then
159
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
160
+ else
161
+ AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
162
+ fi
163
+ else
164
+ with_ltdl_lib=no
165
+ fi
159
166
 
160
- *) AC_MSG_ERROR([unrecognized argument: $[1]
161
- Try \`$[0] --help' for more information.]) ;;
162
- esac
163
- shift
164
- done
167
+ case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
168
+ ,yes,no,no,)
169
+ m4_case(m4_default(_LTDL_TYPE, [convenience]),
170
+ [convenience], [_LTDL_CONVENIENCE],
171
+ [installable], [_LTDL_INSTALLABLE],
172
+ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
173
+ ;;
174
+ ,no,no,no,)
175
+ # If the included ltdl is not to be used, then use the
176
+ # preinstalled libltdl we found.
177
+ AC_DEFINE([HAVE_LTDL], [1],
178
+ [Define this if a modern libltdl is already installed])
179
+ LIBLTDL=-lltdl
180
+ LTDLDEPS=
181
+ LTDLINCL=
182
+ ;;
183
+ ,no*,no,*)
184
+ AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
185
+ ;;
186
+ *) with_included_ltdl=no
187
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
188
+ LTDLDEPS=
189
+ LTDLINCL=-I$with_ltdl_include
190
+ ;;
191
+ esac
192
+ INCLTDL=$LTDLINCL
165
193
 
166
- if $lt_cl_silent; then
167
- exec AS_MESSAGE_FD>/dev/null
168
- fi
169
- _LTEOF
194
+ # Report our decision...
195
+ AC_MSG_CHECKING([where to find libltdl headers])
196
+ AC_MSG_RESULT([$LTDLINCL])
197
+ AC_MSG_CHECKING([where to find libltdl library])
198
+ AC_MSG_RESULT([$LIBLTDL])
170
199
 
171
- cat >>"$CONFIG_LT" <<_LTEOF
172
- _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
173
- _LTEOF
200
+ _LTDL_SETUP
174
201
 
175
- cat >>"$CONFIG_LT" <<\_LTEOF
176
- AC_MSG_NOTICE([creating $ofile])
177
- _LT_OUTPUT_LIBTOOL_COMMANDS
178
- AS_EXIT(0)
179
- _LTEOF
180
- chmod +x "$CONFIG_LT"
202
+ dnl restore autoconf definition.
203
+ m4_popdef([AC_LIBOBJ])
204
+ m4_popdef([AC_LIBSOURCES])
181
205
 
182
- # configure is writing to config.log, but config.lt does its own redirection,
183
- # appending to config.log, which fails on DOS, as config.log is still kept
184
- # open by configure. Here we exec the FD to /dev/null, effectively closing
185
- # config.log, so it can be properly (re)opened and appended to by config.lt.
186
- lt_cl_success=:
187
- test "$silent" = yes &&
188
- lt_config_lt_args="$lt_config_lt_args --quiet"
189
- exec AS_MESSAGE_LOG_FD>/dev/null
190
- $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
191
- exec AS_MESSAGE_LOG_FD>>config.log
192
- $lt_cl_success || AS_EXIT(1)
206
+ AC_CONFIG_COMMANDS_PRE([
207
+ _ltdl_libobjs=
208
+ _ltdl_ltlibobjs=
209
+ if test -n "$_LT_LIBOBJS"; then
210
+ # Remove the extension.
211
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
212
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
213
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
214
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
215
+ done
216
+ fi
217
+ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
218
+ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
193
219
  ])
194
- m4trace:/usr/local/share/aclocal/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
195
- m4trace:/usr/local/share/aclocal/libtool.m4:814: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
196
- m4_case([$1],
197
- [C], [_LT_LANG(C)],
198
- [C++], [_LT_LANG(CXX)],
199
- [Go], [_LT_LANG(GO)],
200
- [Java], [_LT_LANG(GCJ)],
201
- [Fortran 77], [_LT_LANG(F77)],
202
- [Fortran], [_LT_LANG(FC)],
203
- [Windows Resource], [_LT_LANG(RC)],
204
- [m4_ifdef([_LT_LANG_]$1[_CONFIG],
205
- [_LT_LANG($1)],
206
- [m4_fatal([$0: unsupported language: "$1"])])])dnl
220
+
221
+ # Only expand once:
222
+ m4_define([LTDL_INIT])
207
223
  ])
208
- m4trace:/usr/local/share/aclocal/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
209
- m4trace:/usr/local/share/aclocal/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
224
+ m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
225
+ m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
210
226
  You should run autoupdate.])dnl
211
- LT_LANG(C++)])
212
- m4trace:/usr/local/share/aclocal/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
213
- m4trace:/usr/local/share/aclocal/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
227
+ LTDL_INIT($@)])
228
+ m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
229
+ m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
214
230
  You should run autoupdate.])dnl
215
- LT_LANG(Fortran 77)])
216
- m4trace:/usr/local/share/aclocal/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
217
- m4trace:/usr/local/share/aclocal/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
231
+ LTDL_INIT($@)])
232
+ m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
233
+ m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
218
234
  You should run autoupdate.])dnl
219
- LT_LANG(Fortran)])
220
- m4trace:/usr/local/share/aclocal/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
221
- m4trace:/usr/local/share/aclocal/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
222
- You should run autoupdate.])dnl
223
- LT_LANG(Java)])
224
- m4trace:/usr/local/share/aclocal/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
225
- m4trace:/usr/local/share/aclocal/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
226
- You should run autoupdate.])dnl
227
- LT_LANG(Windows Resource)])
228
- m4trace:/usr/local/share/aclocal/libtool.m4:1254: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
229
- AC_ARG_WITH([sysroot],
230
- [ --with-sysroot[=DIR] Search for dependent libraries within DIR
231
- (or the compiler's sysroot if not specified).],
232
- [], [with_sysroot=no])
233
-
234
- dnl lt_sysroot will always be passed unquoted. We quote it here
235
- dnl in case the user passed a directory name.
236
- lt_sysroot=
237
- case ${with_sysroot} in #(
238
- yes)
239
- if test "$GCC" = yes; then
240
- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
241
- fi
242
- ;; #(
243
- /*)
244
- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
245
- ;; #(
246
- no|'')
247
- ;; #(
248
- *)
249
- AC_MSG_RESULT([${with_sysroot}])
250
- AC_MSG_ERROR([The sysroot must be an absolute path.])
251
- ;;
252
- esac
235
+ LTDL_INIT($@)])
236
+ m4trace:/usr/local/share/aclocal/ltdl.m4:421: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
237
+ AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
238
+ AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
239
+ AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
240
+ AC_REQUIRE([LT_LIB_DLLOAD])dnl
241
+ AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
242
+ AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
243
+ AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
244
+ AC_REQUIRE([LT_FUNC_ARGZ])dnl
253
245
 
254
- AC_MSG_RESULT([${lt_sysroot:-no}])
255
- _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
256
- [dependent libraries, and in which our libraries should be installed.])])
257
- m4trace:/usr/local/share/aclocal/libtool.m4:1541: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
246
+ m4_require([_LT_CHECK_OBJDIR])dnl
247
+ m4_require([_LT_HEADER_DLFCN])dnl
248
+ m4_require([_LT_CHECK_DLPREOPEN])dnl
258
249
  m4_require([_LT_DECL_SED])dnl
259
- AC_CACHE_CHECK([$1], [$2],
260
- [$2=no
261
- m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
262
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
263
- lt_compiler_flag="$3"
264
- # Insert the option either (1) after the last *FLAGS variable, or
265
- # (2) before a word containing "conftest.", or (3) at the end.
266
- # Note that $ac_compile itself does not contain backslashes and begins
267
- # with a dollar sign (not a hyphen), so the echo should work correctly.
268
- # The option is referenced via a variable to avoid confusing sed.
269
- lt_compile=`echo "$ac_compile" | $SED \
270
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
271
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
272
- -e 's:$: $lt_compiler_flag:'`
273
- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
274
- (eval "$lt_compile" 2>conftest.err)
275
- ac_status=$?
276
- cat conftest.err >&AS_MESSAGE_LOG_FD
277
- echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
278
- if (exit $ac_status) && test -s "$ac_outfile"; then
279
- # The compiler can only warn and ignore the option if not recognized
280
- # So say no if there are warnings other than the usual output.
281
- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
282
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
283
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
284
- $2=yes
285
- fi
286
- fi
287
- $RM conftest*
288
- ])
289
250
 
290
- if test x"[$]$2" = xyes; then
291
- m4_if([$5], , :, [$5])
292
- else
293
- m4_if([$6], , :, [$6])
294
- fi
295
- ])
296
- m4trace:/usr/local/share/aclocal/libtool.m4:1544: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
297
- m4trace:/usr/local/share/aclocal/libtool.m4:1544: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
298
- You should run autoupdate.])dnl
299
- m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
300
- m4trace:/usr/local/share/aclocal/libtool.m4:1585: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
301
- m4_require([_LT_DECL_SED])dnl
302
- AC_CACHE_CHECK([$1], [$2],
303
- [$2=no
304
- save_LDFLAGS="$LDFLAGS"
305
- LDFLAGS="$LDFLAGS $3"
306
- echo "$lt_simple_link_test_code" > conftest.$ac_ext
307
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
308
- # The linker can only warn and ignore the option if not recognized
309
- # So say no if there are warnings
310
- if test -s conftest.err; then
311
- # Append any errors to the config.log.
312
- cat conftest.err 1>&AS_MESSAGE_LOG_FD
313
- $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
314
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
315
- if diff conftest.exp conftest.er2 >/dev/null; then
316
- $2=yes
317
- fi
318
- else
319
- $2=yes
320
- fi
321
- fi
322
- $RM -r conftest*
323
- LDFLAGS="$save_LDFLAGS"
324
- ])
251
+ dnl Don't require this, or it will be expanded earlier than the code
252
+ dnl that sets the variables it relies on:
253
+ _LT_ENABLE_INSTALL
325
254
 
326
- if test x"[$]$2" = xyes; then
327
- m4_if([$4], , :, [$4])
328
- else
329
- m4_if([$5], , :, [$5])
330
- fi
331
- ])
332
- m4trace:/usr/local/share/aclocal/libtool.m4:1588: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
333
- m4trace:/usr/local/share/aclocal/libtool.m4:1588: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
334
- You should run autoupdate.])dnl
335
- m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
336
- m4trace:/usr/local/share/aclocal/libtool.m4:1730: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
337
- # find the maximum length of command line arguments
338
- AC_MSG_CHECKING([the maximum length of command line arguments])
339
- AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
340
- i=0
341
- teststring="ABCD"
255
+ dnl _LTDL_MODE specific code must be called at least once:
256
+ _LTDL_MODE_DISPATCH
342
257
 
343
- case $build_os in
344
- msdosdjgpp*)
345
- # On DJGPP, this test can blow up pretty badly due to problems in libc
346
- # (any single argument exceeding 2000 bytes causes a buffer overrun
347
- # during glob expansion). Even if it were fixed, the result of this
348
- # check would be larger than it should be.
349
- lt_cv_sys_max_cmd_len=12288; # 12K is about right
350
- ;;
258
+ # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
259
+ # the user used. This is so that ltdl.h can pick up the parent projects
260
+ # config.h file, The first file in AC_CONFIG_HEADERS must contain the
261
+ # definitions required by ltdl.c.
262
+ # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
263
+ AC_CONFIG_COMMANDS_PRE([dnl
264
+ m4_pattern_allow([^LT_CONFIG_H$])dnl
265
+ m4_ifset([AH_HEADER],
266
+ [LT_CONFIG_H=AH_HEADER],
267
+ [m4_ifset([AC_LIST_HEADERS],
268
+ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
269
+ [])])])
270
+ AC_SUBST([LT_CONFIG_H])
351
271
 
352
- gnu*)
353
- # Under GNU Hurd, this test is not required because there is
354
- # no limit to the length of command line arguments.
355
- # Libtool will interpret -1 as no limit whatsoever
356
- lt_cv_sys_max_cmd_len=-1;
357
- ;;
272
+ AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
273
+ [], [], [AC_INCLUDES_DEFAULT])
358
274
 
359
- cygwin* | mingw* | cegcc*)
360
- # On Win9x/ME, this test blows up -- it succeeds, but takes
361
- # about 5 minutes as the teststring grows exponentially.
362
- # Worse, since 9x/ME are not pre-emptively multitasking,
363
- # you end up with a "frozen" computer, even though with patience
364
- # the test eventually succeeds (with a max line length of 256k).
365
- # Instead, let's just punt: use the minimum linelength reported by
366
- # all of the supported platforms: 8192 (on NT/2K/XP).
367
- lt_cv_sys_max_cmd_len=8192;
368
- ;;
275
+ AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
276
+ AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
369
277
 
370
- mint*)
371
- # On MiNT this can take a long time and run out of memory.
372
- lt_cv_sys_max_cmd_len=8192;
373
- ;;
278
+ m4_pattern_allow([LT_LIBEXT])dnl
279
+ AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
280
+
281
+ name=
282
+ eval "lt_libprefix=\"$libname_spec\""
283
+ m4_pattern_allow([LT_LIBPREFIX])dnl
284
+ AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
374
285
 
286
+ name=ltdl
287
+ eval "LTDLOPEN=\"$libname_spec\""
288
+ AC_SUBST([LTDLOPEN])
289
+ ])
290
+ m4trace:/usr/local/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
291
+ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
292
+ [lt_cv_sys_dlopen_deplibs],
293
+ [# PORTME does your system automatically load deplibs for dlopen?
294
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
295
+ # For now, we just catch OSes we know something about -- in the
296
+ # future, we'll try test this programmatically.
297
+ lt_cv_sys_dlopen_deplibs=unknown
298
+ case $host_os in
299
+ aix3*|aix4.1.*|aix4.2.*)
300
+ # Unknown whether this is true for these versions of AIX, but
301
+ # we want this 'case' here to explicitly catch those versions.
302
+ lt_cv_sys_dlopen_deplibs=unknown
303
+ ;;
304
+ aix[[4-9]]*)
305
+ lt_cv_sys_dlopen_deplibs=yes
306
+ ;;
375
307
  amigaos*)
376
- # On AmigaOS with pdksh, this test takes hours, literally.
377
- # So we just punt and use a minimum line length of 8192.
378
- lt_cv_sys_max_cmd_len=8192;
308
+ case $host_cpu in
309
+ powerpc)
310
+ lt_cv_sys_dlopen_deplibs=no
311
+ ;;
312
+ esac
379
313
  ;;
380
-
381
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
382
- # This has been around since 386BSD, at least. Likely further.
383
- if test -x /sbin/sysctl; then
384
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
385
- elif test -x /usr/sbin/sysctl; then
386
- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
387
- else
388
- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
389
- fi
390
- # And add a safety zone
391
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
392
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
314
+ bitrig*)
315
+ lt_cv_sys_dlopen_deplibs=yes
393
316
  ;;
394
-
395
- interix*)
396
- # We know the value 262144 and hardcode it with a safety zone (like BSD)
397
- lt_cv_sys_max_cmd_len=196608
317
+ darwin*)
318
+ # Assuming the user has installed a libdl from somewhere, this is true
319
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
320
+ lt_cv_sys_dlopen_deplibs=yes
398
321
  ;;
399
-
400
- os2*)
401
- # The test takes a long time on OS/2.
402
- lt_cv_sys_max_cmd_len=8192
322
+ freebsd* | dragonfly*)
323
+ lt_cv_sys_dlopen_deplibs=yes
403
324
  ;;
404
-
405
- osf*)
406
- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
407
- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
408
- # nice to cause kernel panics so lets avoid the loop below.
409
- # First set a reasonable default.
410
- lt_cv_sys_max_cmd_len=16384
411
- #
412
- if test -x /sbin/sysconfig; then
413
- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
414
- *1*) lt_cv_sys_max_cmd_len=-1 ;;
415
- esac
416
- fi
325
+ gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
326
+ # GNU and its variants, using gnu ld.so (Glibc)
327
+ lt_cv_sys_dlopen_deplibs=yes
417
328
  ;;
418
- sco3.2v5*)
419
- lt_cv_sys_max_cmd_len=102400
329
+ hpux10*|hpux11*)
330
+ lt_cv_sys_dlopen_deplibs=yes
420
331
  ;;
421
- sysv5* | sco5v6* | sysv4.2uw2*)
422
- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
423
- if test -n "$kargmax"; then
424
- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
425
- else
426
- lt_cv_sys_max_cmd_len=32768
427
- fi
332
+ interix*)
333
+ lt_cv_sys_dlopen_deplibs=yes
428
334
  ;;
429
- *)
430
- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
431
- if test -n "$lt_cv_sys_max_cmd_len"; then
432
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
433
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
434
- else
435
- # Make teststring a little bigger before we do anything with it.
436
- # a 1K string should be a reasonable start.
437
- for i in 1 2 3 4 5 6 7 8 ; do
438
- teststring=$teststring$teststring
439
- done
440
- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
441
- # If test is not a shell built-in, we'll probably end up computing a
442
- # maximum length that is only half of the actual maximum length, but
443
- # we can't tell.
444
- while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
445
- = "X$teststring$teststring"; } >/dev/null 2>&1 &&
446
- test $i != 17 # 1/2 MB should be enough
447
- do
448
- i=`expr $i + 1`
449
- teststring=$teststring$teststring
450
- done
451
- # Only check the string length outside the loop.
452
- lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
453
- teststring=
454
- # Add a significant safety factor because C++ compilers can tack on
455
- # massive amounts of additional arguments before passing them to the
456
- # linker. It appears as though 1/2 is a usable value.
457
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
458
- fi
335
+ irix[[12345]]*|irix6.[[01]]*)
336
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
337
+ # know how it worked for any of those versions.
338
+ lt_cv_sys_dlopen_deplibs=unknown
459
339
  ;;
460
- esac
461
- ])
462
- if test -n $lt_cv_sys_max_cmd_len ; then
463
- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
464
- else
465
- AC_MSG_RESULT(none)
466
- fi
467
- max_cmd_len=$lt_cv_sys_max_cmd_len
468
- _LT_DECL([], [max_cmd_len], [0],
469
- [What is the maximum length of a command?])
470
- ])
471
- m4trace:/usr/local/share/aclocal/libtool.m4:1733: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
472
- m4trace:/usr/local/share/aclocal/libtool.m4:1733: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
473
- You should run autoupdate.])dnl
474
- m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
475
- m4trace:/usr/local/share/aclocal/libtool.m4:1958: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
476
- if test "x$enable_dlopen" != xyes; then
477
- enable_dlopen=unknown
478
- enable_dlopen_self=unknown
479
- enable_dlopen_self_static=unknown
480
- else
481
- lt_cv_dlopen=no
482
- lt_cv_dlopen_libs=
483
-
484
- case $host_os in
485
- beos*)
486
- lt_cv_dlopen="load_add_on"
487
- lt_cv_dlopen_libs=
488
- lt_cv_dlopen_self=yes
340
+ irix*)
341
+ # The case above catches anything before 6.2, and it's known that
342
+ # at 6.2 and later dlopen does load deplibs.
343
+ lt_cv_sys_dlopen_deplibs=yes
489
344
  ;;
490
-
491
- mingw* | pw32* | cegcc*)
492
- lt_cv_dlopen="LoadLibrary"
493
- lt_cv_dlopen_libs=
345
+ netbsd*)
346
+ lt_cv_sys_dlopen_deplibs=yes
494
347
  ;;
495
-
496
- cygwin*)
497
- lt_cv_dlopen="dlopen"
498
- lt_cv_dlopen_libs=
348
+ openbsd*)
349
+ lt_cv_sys_dlopen_deplibs=yes
499
350
  ;;
500
-
501
- darwin*)
502
- # if libdl is installed we need to link against it
503
- AC_CHECK_LIB([dl], [dlopen],
504
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
505
- lt_cv_dlopen="dyld"
506
- lt_cv_dlopen_libs=
507
- lt_cv_dlopen_self=yes
508
- ])
351
+ osf[[1234]]*)
352
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
353
+ # it did *not* use an RPATH in a shared library to find objects the
354
+ # library depends on, so we explicitly say 'no'.
355
+ lt_cv_sys_dlopen_deplibs=no
509
356
  ;;
510
-
511
- *)
512
- AC_CHECK_FUNC([shl_load],
513
- [lt_cv_dlopen="shl_load"],
514
- [AC_CHECK_LIB([dld], [shl_load],
515
- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
516
- [AC_CHECK_FUNC([dlopen],
517
- [lt_cv_dlopen="dlopen"],
518
- [AC_CHECK_LIB([dl], [dlopen],
519
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
520
- [AC_CHECK_LIB([svld], [dlopen],
521
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
522
- [AC_CHECK_LIB([dld], [dld_link],
523
- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
524
- ])
525
- ])
526
- ])
527
- ])
528
- ])
357
+ osf5.0|osf5.0a|osf5.1)
358
+ # dlopen *does* load deplibs and with the right loader patch applied
359
+ # it even uses RPATH in a shared library to search for shared objects
360
+ # that the library depends on, but there's no easy way to know if that
361
+ # patch is installed. Since this is the case, all we can really
362
+ # say is unknown -- it depends on the patch being installed. If
363
+ # it is, this changes to 'yes'. Without it, it would be 'no'.
364
+ lt_cv_sys_dlopen_deplibs=unknown
529
365
  ;;
530
- esac
531
-
532
- if test "x$lt_cv_dlopen" != xno; then
533
- enable_dlopen=yes
534
- else
535
- enable_dlopen=no
536
- fi
537
-
538
- case $lt_cv_dlopen in
539
- dlopen)
540
- save_CPPFLAGS="$CPPFLAGS"
541
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
542
-
543
- save_LDFLAGS="$LDFLAGS"
544
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
545
-
546
- save_LIBS="$LIBS"
547
- LIBS="$lt_cv_dlopen_libs $LIBS"
548
-
549
- AC_CACHE_CHECK([whether a program can dlopen itself],
550
- lt_cv_dlopen_self, [dnl
551
- _LT_TRY_DLOPEN_SELF(
552
- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
553
- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
554
- ])
555
-
556
- if test "x$lt_cv_dlopen_self" = xyes; then
557
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
558
- AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
559
- lt_cv_dlopen_self_static, [dnl
560
- _LT_TRY_DLOPEN_SELF(
561
- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
562
- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
563
- ])
564
- fi
565
-
566
- CPPFLAGS="$save_CPPFLAGS"
567
- LDFLAGS="$save_LDFLAGS"
568
- LIBS="$save_LIBS"
366
+ osf*)
367
+ # the two cases above should catch all versions of osf <= 5.1. Read
368
+ # the comments above for what we know about them.
369
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
370
+ # is used to find them so we can finally say 'yes'.
371
+ lt_cv_sys_dlopen_deplibs=yes
372
+ ;;
373
+ qnx*)
374
+ lt_cv_sys_dlopen_deplibs=yes
375
+ ;;
376
+ solaris*)
377
+ lt_cv_sys_dlopen_deplibs=yes
378
+ ;;
379
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
380
+ libltdl_cv_sys_dlopen_deplibs=yes
569
381
  ;;
570
382
  esac
571
-
572
- case $lt_cv_dlopen_self in
573
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
574
- *) enable_dlopen_self=unknown ;;
575
- esac
576
-
577
- case $lt_cv_dlopen_self_static in
578
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
579
- *) enable_dlopen_self_static=unknown ;;
580
- esac
383
+ ])
384
+ if test yes != "$lt_cv_sys_dlopen_deplibs"; then
385
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
386
+ [Define if the OS needs help to load dependent libraries for dlopen().])
581
387
  fi
582
- _LT_DECL([dlopen_support], [enable_dlopen], [0],
583
- [Whether dlopen is supported])
584
- _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
585
- [Whether dlopen of programs is supported])
586
- _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
587
- [Whether dlopen of statically linked programs is supported])
588
388
  ])
589
- m4trace:/usr/local/share/aclocal/libtool.m4:1961: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
590
- m4trace:/usr/local/share/aclocal/libtool.m4:1961: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
389
+ m4trace:/usr/local/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
390
+ m4trace:/usr/local/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
591
391
  You should run autoupdate.])dnl
592
- m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
593
- m4trace:/usr/local/share/aclocal/libtool.m4:2989: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
594
- AC_MSG_CHECKING([for $1])
595
- AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
596
- [case $MAGIC_CMD in
597
- [[\\/*] | ?:[\\/]*])
598
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
599
- ;;
600
- *)
601
- lt_save_MAGIC_CMD="$MAGIC_CMD"
602
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
603
- dnl $ac_dummy forces splitting on constant user-supplied paths.
604
- dnl POSIX.2 word splitting is done only on the output of word expansions,
605
- dnl not every word. This closes a longstanding sh security hole.
606
- ac_dummy="m4_if([$2], , $PATH, [$2])"
607
- for ac_dir in $ac_dummy; do
608
- IFS="$lt_save_ifs"
609
- test -z "$ac_dir" && ac_dir=.
610
- if test -f $ac_dir/$1; then
611
- lt_cv_path_MAGIC_CMD="$ac_dir/$1"
612
- if test -n "$file_magic_test_file"; then
613
- case $deplibs_check_method in
614
- "file_magic "*)
615
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
616
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
617
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
618
- $EGREP "$file_magic_regex" > /dev/null; then
619
- :
620
- else
621
- cat <<_LT_EOF 1>&2
622
-
623
- *** Warning: the command libtool uses to detect shared libraries,
624
- *** $file_magic_cmd, produces output that libtool cannot recognize.
625
- *** The result is that libtool may fail to recognize shared libraries
626
- *** as such. This will affect the creation of libtool libraries that
627
- *** depend on shared libraries, but programs linked with such libtool
628
- *** libraries will work regardless of this problem. Nevertheless, you
629
- *** may want to report the problem to your system manager and/or to
630
- *** bug-libtool@gnu.org
631
-
632
- _LT_EOF
633
- fi ;;
634
- esac
635
- fi
636
- break
392
+ m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
393
+ m4trace:/usr/local/share/aclocal/ltdl.m4:577: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
394
+ AC_CACHE_CHECK([what extension is used for runtime loadable modules],
395
+ [libltdl_cv_shlibext],
396
+ [
397
+ module=yes
398
+ eval libltdl_cv_shlibext=$shrext_cmds
399
+ module=no
400
+ eval libltdl_cv_shrext=$shrext_cmds
401
+ ])
402
+ if test -n "$libltdl_cv_shlibext"; then
403
+ m4_pattern_allow([LT_MODULE_EXT])dnl
404
+ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
405
+ [Define to the extension used for runtime loadable modules, say, ".so".])
406
+ fi
407
+ if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
408
+ m4_pattern_allow([LT_SHARED_EXT])dnl
409
+ AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
410
+ [Define to the shared library suffix, say, ".dylib".])
411
+ fi
412
+ if test -n "$shared_archive_member_spec"; then
413
+ m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
414
+ AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
415
+ [Define to the shared archive member specification, say "(shr.o)".])
416
+ fi
417
+ ])
418
+ m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
419
+ m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
420
+ You should run autoupdate.])dnl
421
+ m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
422
+ m4trace:/usr/local/share/aclocal/ltdl.m4:596: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
423
+ AC_CACHE_CHECK([what variable specifies run-time module search path],
424
+ [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
425
+ if test -n "$lt_cv_module_path_var"; then
426
+ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
427
+ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
428
+ [Define to the name of the environment variable that determines the run-time module search path.])
429
+ fi
430
+ ])
431
+ m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
432
+ m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
433
+ You should run autoupdate.])dnl
434
+ m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
435
+ m4trace:/usr/local/share/aclocal/ltdl.m4:624: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
436
+ AC_CACHE_CHECK([for the default library search path],
437
+ [lt_cv_sys_dlsearch_path],
438
+ [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
439
+ if test -n "$lt_cv_sys_dlsearch_path"; then
440
+ sys_dlsearch_path=
441
+ for dir in $lt_cv_sys_dlsearch_path; do
442
+ if test -z "$sys_dlsearch_path"; then
443
+ sys_dlsearch_path=$dir
444
+ else
445
+ sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
637
446
  fi
638
447
  done
639
- IFS="$lt_save_ifs"
640
- MAGIC_CMD="$lt_save_MAGIC_CMD"
641
- ;;
642
- esac])
643
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
644
- if test -n "$MAGIC_CMD"; then
645
- AC_MSG_RESULT($MAGIC_CMD)
646
- else
647
- AC_MSG_RESULT(no)
448
+ m4_pattern_allow([LT_DLSEARCH_PATH])dnl
449
+ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
450
+ [Define to the system default library search path.])
648
451
  fi
649
- _LT_DECL([], [MAGIC_CMD], [0],
650
- [Used to examine libraries when file_magic_cmd begins with "file"])dnl
651
452
  ])
652
- m4trace:/usr/local/share/aclocal/libtool.m4:2992: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
653
- m4trace:/usr/local/share/aclocal/libtool.m4:2992: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
453
+ m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
454
+ m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
654
455
  You should run autoupdate.])dnl
655
- m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
656
- m4trace:/usr/local/share/aclocal/libtool.m4:3101: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
657
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
658
- AC_REQUIRE([AC_CANONICAL_BUILD])dnl
659
- m4_require([_LT_DECL_SED])dnl
660
- m4_require([_LT_DECL_EGREP])dnl
661
- m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
456
+ m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
457
+ m4trace:/usr/local/share/aclocal/ltdl.m4:745: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
458
+ LT_DLLOADERS=
459
+ AC_SUBST([LT_DLLOADERS])
662
460
 
663
- AC_ARG_WITH([gnu-ld],
664
- [AS_HELP_STRING([--with-gnu-ld],
665
- [assume the C compiler uses GNU ld @<:@default=no@:>@])],
666
- [test "$withval" = no || with_gnu_ld=yes],
667
- [with_gnu_ld=no])dnl
461
+ AC_LANG_PUSH([C])
462
+ lt_dlload_save_LIBS=$LIBS
668
463
 
669
- ac_prog=ld
670
- if test "$GCC" = yes; then
671
- # Check if gcc -print-prog-name=ld gives a path.
672
- AC_MSG_CHECKING([for ld used by $CC])
673
- case $host in
674
- *-*-mingw*)
675
- # gcc leaves a trailing carriage return which upsets mingw
676
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
677
- *)
678
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
679
- esac
680
- case $ac_prog in
681
- # Accept absolute paths.
682
- [[\\/]]* | ?:[[\\/]]*)
683
- re_direlt='/[[^/]][[^/]]*/\.\./'
684
- # Canonicalize the pathname of ld
685
- ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
686
- while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
687
- ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
688
- done
689
- test -z "$LD" && LD="$ac_prog"
690
- ;;
691
- "")
692
- # If it fails, then pretend we aren't using GCC.
693
- ac_prog=ld
694
- ;;
695
- *)
696
- # If it is relative, then search for the first ld in PATH.
697
- with_gnu_ld=unknown
698
- ;;
699
- esac
700
- elif test "$with_gnu_ld" = yes; then
701
- AC_MSG_CHECKING([for GNU ld])
702
- else
703
- AC_MSG_CHECKING([for non-GNU ld])
464
+ LIBADD_DLOPEN=
465
+ AC_SEARCH_LIBS([dlopen], [dl],
466
+ [AC_DEFINE([HAVE_LIBDL], [1],
467
+ [Define if you have the libdl library or equivalent.])
468
+ if test "$ac_cv_search_dlopen" != "none required"; then
469
+ LIBADD_DLOPEN=-ldl
470
+ fi
471
+ libltdl_cv_lib_dl_dlopen=yes
472
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
473
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
474
+ # include <dlfcn.h>
475
+ #endif
476
+ ]], [[dlopen(0, 0);]])],
477
+ [AC_DEFINE([HAVE_LIBDL], [1],
478
+ [Define if you have the libdl library or equivalent.])
479
+ libltdl_cv_func_dlopen=yes
480
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
481
+ [AC_CHECK_LIB([svld], [dlopen],
482
+ [AC_DEFINE([HAVE_LIBDL], [1],
483
+ [Define if you have the libdl library or equivalent.])
484
+ LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
485
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
486
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
487
+ then
488
+ lt_save_LIBS=$LIBS
489
+ LIBS="$LIBS $LIBADD_DLOPEN"
490
+ AC_CHECK_FUNCS([dlerror])
491
+ LIBS=$lt_save_LIBS
704
492
  fi
705
- AC_CACHE_VAL(lt_cv_path_LD,
706
- [if test -z "$LD"; then
707
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
708
- for ac_dir in $PATH; do
709
- IFS="$lt_save_ifs"
710
- test -z "$ac_dir" && ac_dir=.
711
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
712
- lt_cv_path_LD="$ac_dir/$ac_prog"
713
- # Check to see if the program is GNU ld. I'd rather use --version,
714
- # but apparently some variants of GNU ld only accept -v.
715
- # Break only if it was the GNU/non-GNU ld that we prefer.
716
- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
717
- *GNU* | *'with BFD'*)
718
- test "$with_gnu_ld" != no && break
719
- ;;
720
- *)
721
- test "$with_gnu_ld" != yes && break
722
- ;;
723
- esac
724
- fi
493
+ AC_SUBST([LIBADD_DLOPEN])
494
+
495
+ LIBADD_SHL_LOAD=
496
+ AC_CHECK_FUNC([shl_load],
497
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
498
+ [Define if you have the shl_load function.])
499
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
500
+ [AC_CHECK_LIB([dld], [shl_load],
501
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
502
+ [Define if you have the shl_load function.])
503
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
504
+ LIBADD_SHL_LOAD=-ldld])])
505
+ AC_SUBST([LIBADD_SHL_LOAD])
506
+
507
+ case $host_os in
508
+ darwin[[1567]].*)
509
+ # We only want this for pre-Mac OS X 10.4.
510
+ AC_CHECK_FUNC([_dyld_func_lookup],
511
+ [AC_DEFINE([HAVE_DYLD], [1],
512
+ [Define if you have the _dyld_func_lookup function.])
513
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
514
+ ;;
515
+ beos*)
516
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
517
+ ;;
518
+ cygwin* | mingw* | pw32*)
519
+ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
520
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
521
+ ;;
522
+ esac
523
+
524
+ AC_CHECK_LIB([dld], [dld_link],
525
+ [AC_DEFINE([HAVE_DLD], [1],
526
+ [Define if you have the GNU dld library.])
527
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
528
+ AC_SUBST([LIBADD_DLD_LINK])
529
+
530
+ m4_pattern_allow([^LT_DLPREOPEN$])
531
+ LT_DLPREOPEN=
532
+ if test -n "$LT_DLLOADERS"
533
+ then
534
+ for lt_loader in $LT_DLLOADERS; do
535
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
725
536
  done
726
- IFS="$lt_save_ifs"
727
- else
728
- lt_cv_path_LD="$LD" # Let the user override the test with a path.
729
- fi])
730
- LD="$lt_cv_path_LD"
731
- if test -n "$LD"; then
732
- AC_MSG_RESULT($LD)
733
- else
734
- AC_MSG_RESULT(no)
537
+ AC_DEFINE([HAVE_LIBDLLOADER], [1],
538
+ [Define if libdlloader will be built on this platform])
735
539
  fi
736
- test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
737
- _LT_PATH_LD_GNU
738
- AC_SUBST([LD])
540
+ AC_SUBST([LT_DLPREOPEN])
739
541
 
740
- _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
542
+ dnl This isn't used anymore, but set it for backwards compatibility
543
+ LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
544
+ AC_SUBST([LIBADD_DL])
545
+
546
+ LIBS=$lt_dlload_save_LIBS
547
+ AC_LANG_POP
741
548
  ])
742
- m4trace:/usr/local/share/aclocal/libtool.m4:3104: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
743
- m4trace:/usr/local/share/aclocal/libtool.m4:3104: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
744
- You should run autoupdate.])dnl
745
- m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
746
- m4trace:/usr/local/share/aclocal/libtool.m4:3105: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
747
- m4trace:/usr/local/share/aclocal/libtool.m4:3105: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
549
+ m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
550
+ m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
748
551
  You should run autoupdate.])dnl
749
- m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
750
- m4trace:/usr/local/share/aclocal/libtool.m4:3486: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
751
- AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
752
- [if test -n "$NM"; then
753
- # Let the user override the test.
754
- lt_cv_path_NM="$NM"
755
- else
756
- lt_nm_to_check="${ac_tool_prefix}nm"
757
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
758
- lt_nm_to_check="$lt_nm_to_check nm"
759
- fi
760
- for lt_tmp_nm in $lt_nm_to_check; do
761
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
762
- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
763
- IFS="$lt_save_ifs"
764
- test -z "$ac_dir" && ac_dir=.
765
- tmp_nm="$ac_dir/$lt_tmp_nm"
766
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
767
- # Check to see if the nm accepts a BSD-compat flag.
768
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
769
- # nm: unknown option "B" ignored
770
- # Tru64's nm complains that /dev/null is an invalid object file
771
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
772
- */dev/null* | *'Invalid file or object type'*)
773
- lt_cv_path_NM="$tmp_nm -B"
774
- break
775
- ;;
776
- *)
777
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
778
- */dev/null*)
779
- lt_cv_path_NM="$tmp_nm -p"
780
- break
781
- ;;
782
- *)
783
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
784
- continue # so that we can try to find one that supports BSD flags
785
- ;;
786
- esac
787
- ;;
788
- esac
552
+ m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
553
+ m4trace:/usr/local/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
554
+ AC_CACHE_CHECK([for _ prefix in compiled symbols],
555
+ [lt_cv_sys_symbol_underscore],
556
+ [lt_cv_sys_symbol_underscore=no
557
+ cat > conftest.$ac_ext <<_LT_EOF
558
+ void nm_test_func(){}
559
+ int main(){nm_test_func;return 0;}
560
+ _LT_EOF
561
+ if AC_TRY_EVAL(ac_compile); then
562
+ # Now try to grab the symbols.
563
+ ac_nlist=conftest.nm
564
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
565
+ # See whether the symbols have a leading underscore.
566
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
567
+ lt_cv_sys_symbol_underscore=yes
568
+ else
569
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
570
+ :
571
+ else
572
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
573
+ fi
789
574
  fi
790
- done
791
- IFS="$lt_save_ifs"
792
- done
793
- : ${lt_cv_path_NM=no}
794
- fi])
795
- if test "$lt_cv_path_NM" != "no"; then
796
- NM="$lt_cv_path_NM"
797
- else
798
- # Didn't find any BSD compatible name lister, look for dumpbin.
799
- if test -n "$DUMPBIN"; then :
800
- # Let the user override the test.
575
+ else
576
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
577
+ fi
801
578
  else
802
- AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
803
- case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
804
- *COFF*)
805
- DUMPBIN="$DUMPBIN -symbols"
806
- ;;
807
- *)
808
- DUMPBIN=:
809
- ;;
810
- esac
579
+ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
580
+ cat conftest.c >&AS_MESSAGE_LOG_FD
811
581
  fi
812
- AC_SUBST([DUMPBIN])
813
- if test "$DUMPBIN" != ":"; then
814
- NM="$DUMPBIN"
582
+ rm -rf conftest*
583
+ ])
584
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
585
+ AC_SUBST([sys_symbol_underscore])
586
+ ])
587
+ m4trace:/usr/local/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
588
+ m4trace:/usr/local/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
589
+ You should run autoupdate.])dnl
590
+ m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
591
+ m4trace:/usr/local/share/aclocal/ltdl.m4:904: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
592
+ AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
593
+ AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
594
+ if test yes = "$lt_cv_sys_symbol_underscore"; then
595
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
596
+ AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
597
+ [libltdl_cv_need_uscore],
598
+ [libltdl_cv_need_uscore=unknown
599
+ dlsym_uscore_save_LIBS=$LIBS
600
+ LIBS="$LIBS $LIBADD_DLOPEN"
601
+ libname=conftmod # stay within 8.3 filename limits!
602
+ cat >$libname.$ac_ext <<_LT_EOF
603
+ [#line $LINENO "configure"
604
+ #include "confdefs.h"
605
+ /* When -fvisibility=hidden is used, assume the code has been annotated
606
+ correspondingly for the symbols needed. */
607
+ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
608
+ int fnord () __attribute__((visibility("default")));
609
+ #endif
610
+ int fnord () { return 42; }]
611
+ _LT_EOF
612
+
613
+ # ltfn_module_cmds module_cmds
614
+ # Execute tilde-delimited MODULE_CMDS with environment primed for
615
+ # $module_cmds or $archive_cmds type content.
616
+ ltfn_module_cmds ()
617
+ {( # subshell avoids polluting parent global environment
618
+ module_cmds_save_ifs=$IFS; IFS='~'
619
+ for cmd in @S|@1; do
620
+ IFS=$module_cmds_save_ifs
621
+ libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
622
+ rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
623
+ major=; versuffix=; verstring=; deplibs=
624
+ ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
625
+ eval $cmd
626
+ done
627
+ IFS=$module_cmds_save_ifs
628
+ )}
629
+
630
+ # Compile a loadable module using libtool macro expansion results.
631
+ $CC $pic_flag -c $libname.$ac_ext
632
+ ltfn_module_cmds "${module_cmds:-$archive_cmds}"
633
+
634
+ # Try to fetch fnord with dlsym().
635
+ libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
636
+ cat >conftest.$ac_ext <<_LT_EOF
637
+ [#line $LINENO "configure"
638
+ #include "confdefs.h"
639
+ #if HAVE_DLFCN_H
640
+ #include <dlfcn.h>
641
+ #endif
642
+ #include <stdio.h>
643
+ #ifndef RTLD_GLOBAL
644
+ # ifdef DL_GLOBAL
645
+ # define RTLD_GLOBAL DL_GLOBAL
646
+ # else
647
+ # define RTLD_GLOBAL 0
648
+ # endif
649
+ #endif
650
+ #ifndef RTLD_NOW
651
+ # ifdef DL_NOW
652
+ # define RTLD_NOW DL_NOW
653
+ # else
654
+ # define RTLD_NOW 0
655
+ # endif
656
+ #endif
657
+ int main () {
658
+ void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
659
+ int status = $libltdl_dlunknown;
660
+ if (handle) {
661
+ if (dlsym (handle, "fnord"))
662
+ status = $libltdl_dlnouscore;
663
+ else {
664
+ if (dlsym (handle, "_fnord"))
665
+ status = $libltdl_dluscore;
666
+ else
667
+ puts (dlerror ());
668
+ }
669
+ dlclose (handle);
670
+ } else
671
+ puts (dlerror ());
672
+ return status;
673
+ }]
674
+ _LT_EOF
675
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
676
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
677
+ libltdl_status=$?
678
+ case x$libltdl_status in
679
+ x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
680
+ x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
681
+ x*) libltdl_cv_need_uscore=unknown ;;
682
+ esac
683
+ fi
684
+ rm -rf conftest* $libname*
685
+ LIBS=$dlsym_uscore_save_LIBS
686
+ ])
815
687
  fi
816
688
  fi
817
- test -z "$NM" && NM=nm
818
- AC_SUBST([NM])
819
- _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
820
689
 
821
- AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
822
- [lt_cv_nm_interface="BSD nm"
823
- echo "int some_variable = 0;" > conftest.$ac_ext
824
- (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
825
- (eval "$ac_compile" 2>conftest.err)
826
- cat conftest.err >&AS_MESSAGE_LOG_FD
827
- (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
828
- (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
829
- cat conftest.err >&AS_MESSAGE_LOG_FD
830
- (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
831
- cat conftest.out >&AS_MESSAGE_LOG_FD
832
- if $GREP 'External.*some_variable' conftest.out > /dev/null; then
833
- lt_cv_nm_interface="MS dumpbin"
834
- fi
835
- rm -f conftest*])
690
+ if test yes = "$libltdl_cv_need_uscore"; then
691
+ AC_DEFINE([NEED_USCORE], [1],
692
+ [Define if dlsym() requires a leading underscore in symbol names.])
693
+ fi
836
694
  ])
837
- m4trace:/usr/local/share/aclocal/libtool.m4:3489: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
838
- m4trace:/usr/local/share/aclocal/libtool.m4:3489: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
839
- You should run autoupdate.])dnl
840
- m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
841
- m4trace:/usr/local/share/aclocal/libtool.m4:3490: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
842
- m4trace:/usr/local/share/aclocal/libtool.m4:3490: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
695
+ m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
696
+ m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
843
697
  You should run autoupdate.])dnl
844
- m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
845
- m4trace:/usr/local/share/aclocal/libtool.m4:3576: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
846
- LIBM=
847
- case $host in
848
- *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
849
- # These system don't have libm, or don't need it
850
- ;;
851
- *-ncr-sysv4.3*)
852
- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
853
- AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
854
- ;;
855
- *)
856
- AC_CHECK_LIB(m, cos, LIBM="-lm")
857
- ;;
858
- esac
859
- AC_SUBST([LIBM])
698
+ m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
699
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
700
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
701
+ dnl require some minimum version. Point them to the right macro.
702
+ m4_if([$1], [1.15], [],
703
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
860
704
  ])
861
- m4trace:/usr/local/share/aclocal/libtool.m4:3579: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
862
- m4trace:/usr/local/share/aclocal/libtool.m4:3579: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
863
- You should run autoupdate.])dnl
864
- m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
865
- m4trace:/usr/local/share/aclocal/libtool.m4:7628: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
866
- [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
867
- [AC_CHECK_TOOL(GCJ, gcj,)
868
- test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
869
- AC_SUBST(GCJFLAGS)])])[]dnl
705
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl
706
+ m4_ifndef([AC_AUTOCONF_VERSION],
707
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
708
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
709
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/auxdir.m4:51: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
710
+ # Expand $ac_aux_dir to an absolute path.
711
+ am_aux_dir=`cd "$ac_aux_dir" && pwd`
870
712
  ])
871
- m4trace:/usr/local/share/aclocal/libtool.m4:7631: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
872
- m4trace:/usr/local/share/aclocal/libtool.m4:7631: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
873
- You should run autoupdate.])dnl
874
- m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
875
- m4trace:/usr/local/share/aclocal/libtool.m4:7640: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
876
- ])
877
- m4trace:/usr/local/share/aclocal/libtool.m4:7647: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
878
- ])
879
- m4trace:/usr/local/share/aclocal/libtool.m4:7650: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
880
- m4trace:/usr/local/share/aclocal/libtool.m4:7650: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
881
- You should run autoupdate.])dnl
882
- m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
883
- m4trace:/usr/local/share/aclocal/libtool.m4:7770: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
884
- m4trace:/usr/local/share/aclocal/libtool.m4:7770: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
885
- You should run autoupdate.])dnl
886
- m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
887
- m4trace:/usr/local/share/aclocal/ltdl.m4:19: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
888
- _$0($*)
889
- ])
890
- m4trace:/usr/local/share/aclocal/ltdl.m4:77: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
891
- dnl Although the argument is deprecated and no longer documented,
892
- dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
893
- dnl here make sure it is the same as any other declaration of libltdl's
894
- dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
895
- dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
896
- m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
897
- _$0()
898
- ])
899
- m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
900
- _LTDL_CONVENIENCE])
901
- m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
902
- You should run autoupdate.])dnl
903
- _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
904
- _LTDL_CONVENIENCE])
905
- m4trace:/usr/local/share/aclocal/ltdl.m4:133: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
906
- dnl Although the argument is deprecated and no longer documented,
907
- dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
908
- dnl here make sure it is the same as any other declaration of libltdl's
909
- dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
910
- dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
911
- m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
912
- _$0()
913
- ])
914
- m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
915
- _LTDL_INSTALLABLE])
916
- m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
917
- You should run autoupdate.])dnl
918
- _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
919
- _LTDL_INSTALLABLE])
920
- m4trace:/usr/local/share/aclocal/ltdl.m4:216: -1- AC_DEFUN([_LT_LIBOBJ], [
921
- m4_pattern_allow([^_LT_LIBOBJS$])
922
- _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
923
- ])
924
- m4trace:/usr/local/share/aclocal/ltdl.m4:349: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
925
- _LT_SET_OPTIONS([$0], [$1])
926
-
927
- dnl We need to keep our own list of libobjs separate from our parent project,
928
- dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
929
- dnl we look for our own LIBOBJs.
930
- m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
931
- m4_pushdef([AC_LIBSOURCES])
932
-
933
- dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
934
- m4_if(_LTDL_MODE, [],
935
- [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
936
- m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
937
- [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
938
-
939
- AC_ARG_WITH([included_ltdl],
940
- [AS_HELP_STRING([--with-included-ltdl],
941
- [use the GNU ltdl sources included here])])
942
-
943
- if test "x$with_included_ltdl" != xyes; then
944
- # We are not being forced to use the included libltdl sources, so
945
- # decide whether there is a useful installed version we can use.
946
- AC_CHECK_HEADER([ltdl.h],
947
- [AC_CHECK_DECL([lt_dlinterface_register],
948
- [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
949
- [with_included_ltdl=no],
950
- [with_included_ltdl=yes])],
951
- [with_included_ltdl=yes],
952
- [AC_INCLUDES_DEFAULT
953
- #include <ltdl.h>])],
954
- [with_included_ltdl=yes],
955
- [AC_INCLUDES_DEFAULT]
956
- )
713
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
714
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
715
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
716
+ AC_SUBST([$1_TRUE])dnl
717
+ AC_SUBST([$1_FALSE])dnl
718
+ _AM_SUBST_NOTMAKE([$1_TRUE])dnl
719
+ _AM_SUBST_NOTMAKE([$1_FALSE])dnl
720
+ m4_define([_AM_COND_VALUE_$1], [$2])dnl
721
+ if $2; then
722
+ $1_TRUE=
723
+ $1_FALSE='#'
724
+ else
725
+ $1_TRUE='#'
726
+ $1_FALSE=
957
727
  fi
728
+ AC_CONFIG_COMMANDS_PRE(
729
+ [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
730
+ AC_MSG_ERROR([[conditional "$1" was never defined.
731
+ Usually this means the macro was only invoked conditionally.]])
732
+ fi])])
733
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/depend.m4:156: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
734
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
735
+ AC_REQUIRE([AM_MAKE_INCLUDE])dnl
736
+ AC_REQUIRE([AM_DEP_TRACK])dnl
958
737
 
959
- dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
960
- dnl was called yet, then for old times' sake, we assume libltdl is in an
961
- dnl eponymous directory:
962
- AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
738
+ m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
739
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
740
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
741
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
742
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
743
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
744
+ [depcc="$$1" am_compiler_list=])
963
745
 
964
- AC_ARG_WITH([ltdl_include],
965
- [AS_HELP_STRING([--with-ltdl-include=DIR],
966
- [use the ltdl headers installed in DIR])])
746
+ AC_CACHE_CHECK([dependency style of $depcc],
747
+ [am_cv_$1_dependencies_compiler_type],
748
+ [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
749
+ # We make a subdir and do the tests there. Otherwise we can end up
750
+ # making bogus files that we don't know about and never remove. For
751
+ # instance it was reported that on HP-UX the gcc test will end up
752
+ # making a dummy file named 'D' -- because '-MD' means "put the output
753
+ # in D".
754
+ rm -rf conftest.dir
755
+ mkdir conftest.dir
756
+ # Copy depcomp to subdir because otherwise we won't find it if we're
757
+ # using a relative directory.
758
+ cp "$am_depcomp" conftest.dir
759
+ cd conftest.dir
760
+ # We will build objects and dependencies in a subdirectory because
761
+ # it helps to detect inapplicable dependency modes. For instance
762
+ # both Tru64's cc and ICC support -MD to output dependencies as a
763
+ # side effect of compilation, but ICC will put the dependencies in
764
+ # the current directory while Tru64 will put them in the object
765
+ # directory.
766
+ mkdir sub
967
767
 
968
- if test -n "$with_ltdl_include"; then
969
- if test -f "$with_ltdl_include/ltdl.h"; then :
970
- else
971
- AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
768
+ am_cv_$1_dependencies_compiler_type=none
769
+ if test "$am_compiler_list" = ""; then
770
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
972
771
  fi
973
- else
974
- with_ltdl_include=no
975
- fi
772
+ am__universal=false
773
+ m4_case([$1], [CC],
774
+ [case " $depcc " in #(
775
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
776
+ esac],
777
+ [CXX],
778
+ [case " $depcc " in #(
779
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
780
+ esac])
976
781
 
977
- AC_ARG_WITH([ltdl_lib],
978
- [AS_HELP_STRING([--with-ltdl-lib=DIR],
979
- [use the libltdl.la installed in DIR])])
782
+ for depmode in $am_compiler_list; do
783
+ # Setup a source with many dependencies, because some compilers
784
+ # like to wrap large dependency lists on column 80 (with \), and
785
+ # we should not choose a depcomp mode which is confused by this.
786
+ #
787
+ # We need to recreate these files for each test, as the compiler may
788
+ # overwrite some of them when testing with obscure command lines.
789
+ # This happens at least with the AIX C compiler.
790
+ : > sub/conftest.c
791
+ for i in 1 2 3 4 5 6; do
792
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
793
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
794
+ # Solaris 10 /bin/sh.
795
+ echo '/* dummy */' > sub/conftst$i.h
796
+ done
797
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
980
798
 
981
- if test -n "$with_ltdl_lib"; then
982
- if test -f "$with_ltdl_lib/libltdl.la"; then :
983
- else
984
- AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
985
- fi
799
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
800
+ # mode. It turns out that the SunPro C++ compiler does not properly
801
+ # handle '-M -o', and we need to detect this. Also, some Intel
802
+ # versions had trouble with output in subdirs.
803
+ am__obj=sub/conftest.${OBJEXT-o}
804
+ am__minus_obj="-o $am__obj"
805
+ case $depmode in
806
+ gcc)
807
+ # This depmode causes a compiler race in universal mode.
808
+ test "$am__universal" = false || continue
809
+ ;;
810
+ nosideeffect)
811
+ # After this tag, mechanisms are not by side-effect, so they'll
812
+ # only be used when explicitly requested.
813
+ if test "x$enable_dependency_tracking" = xyes; then
814
+ continue
815
+ else
816
+ break
817
+ fi
818
+ ;;
819
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
820
+ # This compiler won't grok '-c -o', but also, the minuso test has
821
+ # not run yet. These depmodes are late enough in the game, and
822
+ # so weak that their functioning should not be impacted.
823
+ am__obj=conftest.${OBJEXT-o}
824
+ am__minus_obj=
825
+ ;;
826
+ none) break ;;
827
+ esac
828
+ if depmode=$depmode \
829
+ source=sub/conftest.c object=$am__obj \
830
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
831
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
832
+ >/dev/null 2>conftest.err &&
833
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
834
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
835
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
836
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
837
+ # icc doesn't choke on unknown options, it will just issue warnings
838
+ # or remarks (even with -Werror). So we grep stderr for any message
839
+ # that says an option was ignored or not supported.
840
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
841
+ # icc: Command line warning: ignoring option '-M'; no argument required
842
+ # The diagnosis changed in icc 8.0:
843
+ # icc: Command line remark: option '-MP' not supported
844
+ if (grep 'ignoring option' conftest.err ||
845
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
846
+ am_cv_$1_dependencies_compiler_type=$depmode
847
+ break
848
+ fi
849
+ fi
850
+ done
851
+
852
+ cd ..
853
+ rm -rf conftest.dir
986
854
  else
987
- with_ltdl_lib=no
855
+ am_cv_$1_dependencies_compiler_type=none
988
856
  fi
989
-
990
- case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
991
- ,yes,no,no,)
992
- m4_case(m4_default(_LTDL_TYPE, [convenience]),
993
- [convenience], [_LTDL_CONVENIENCE],
994
- [installable], [_LTDL_INSTALLABLE],
995
- [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
996
- ;;
997
- ,no,no,no,)
998
- # If the included ltdl is not to be used, then use the
999
- # preinstalled libltdl we found.
1000
- AC_DEFINE([HAVE_LTDL], [1],
1001
- [Define this if a modern libltdl is already installed])
1002
- LIBLTDL=-lltdl
1003
- LTDLDEPS=
1004
- LTDLINCL=
1005
- ;;
1006
- ,no*,no,*)
1007
- AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
1008
- ;;
1009
- *) with_included_ltdl=no
1010
- LIBLTDL="-L$with_ltdl_lib -lltdl"
1011
- LTDLDEPS=
1012
- LTDLINCL="-I$with_ltdl_include"
1013
- ;;
1014
- esac
1015
- INCLTDL="$LTDLINCL"
1016
-
1017
- # Report our decision...
1018
- AC_MSG_CHECKING([where to find libltdl headers])
1019
- AC_MSG_RESULT([$LTDLINCL])
1020
- AC_MSG_CHECKING([where to find libltdl library])
1021
- AC_MSG_RESULT([$LIBLTDL])
1022
-
1023
- _LTDL_SETUP
1024
-
1025
- dnl restore autoconf definition.
1026
- m4_popdef([AC_LIBOBJ])
1027
- m4_popdef([AC_LIBSOURCES])
1028
-
1029
- AC_CONFIG_COMMANDS_PRE([
1030
- _ltdl_libobjs=
1031
- _ltdl_ltlibobjs=
1032
- if test -n "$_LT_LIBOBJS"; then
1033
- # Remove the extension.
1034
- _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1035
- for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
1036
- _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
1037
- _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
1038
- done
857
+ ])
858
+ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
859
+ AM_CONDITIONAL([am__fastdep$1], [
860
+ test "x$enable_dependency_tracking" != xno \
861
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
862
+ ])
863
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/depend.m4:166: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
864
+ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
865
+ ])
866
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/depend.m4:189: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
867
+ AS_HELP_STRING(
868
+ [--enable-dependency-tracking],
869
+ [do not reject slow dependency extractors])
870
+ AS_HELP_STRING(
871
+ [--disable-dependency-tracking],
872
+ [speeds up one-time build])])
873
+ if test "x$enable_dependency_tracking" != xno; then
874
+ am_depcomp="$ac_aux_dir/depcomp"
875
+ AMDEPBACKSLASH='\'
876
+ am__nodep='_no'
877
+ fi
878
+ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
879
+ AC_SUBST([AMDEPBACKSLASH])dnl
880
+ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
881
+ AC_SUBST([am__nodep])dnl
882
+ _AM_SUBST_NOTMAKE([am__nodep])dnl
883
+ ])
884
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/depout.m4:61: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
885
+ # Older Autoconf quotes --file arguments for eval, but not when files
886
+ # are listed without --file. Let's play safe and only enable the eval
887
+ # if we detect the quoting.
888
+ case $CONFIG_FILES in
889
+ *\'*) eval set x "$CONFIG_FILES" ;;
890
+ *) set x $CONFIG_FILES ;;
891
+ esac
892
+ shift
893
+ for mf
894
+ do
895
+ # Strip MF so we end up with the name of the file.
896
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
897
+ # Check whether this is an Automake generated Makefile or not.
898
+ # We used to match only the files named 'Makefile.in', but
899
+ # some people rename them; so instead we look at the file content.
900
+ # Grep'ing the first line is not enough: some people post-process
901
+ # each Makefile.in and add a new line on top of each file to say so.
902
+ # Grep'ing the whole file is not good either: AIX grep has a line
903
+ # limit of 2048, but all sed's we know have understand at least 4000.
904
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
905
+ dirpart=`AS_DIRNAME("$mf")`
906
+ else
907
+ continue
1039
908
  fi
1040
- AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
1041
- AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
909
+ # Extract the definition of DEPDIR, am__include, and am__quote
910
+ # from the Makefile without running 'make'.
911
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
912
+ test -z "$DEPDIR" && continue
913
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
914
+ test -z "$am__include" && continue
915
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
916
+ # Find all dependency output files, they are included files with
917
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
918
+ # simplest approach to changing $(DEPDIR) to its actual value in the
919
+ # expansion.
920
+ for file in `sed -n "
921
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
922
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
923
+ # Make sure the directory exists.
924
+ test -f "$dirpart/$file" && continue
925
+ fdir=`AS_DIRNAME(["$file"])`
926
+ AS_MKDIR_P([$dirpart/$fdir])
927
+ # echo "creating $dirpart/$file"
928
+ echo '# dummy' > "$dirpart/$file"
929
+ done
930
+ done
931
+ }
1042
932
  ])
1043
-
1044
- # Only expand once:
1045
- m4_define([LTDL_INIT])
933
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
934
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
935
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1046
936
  ])
1047
- m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
1048
- m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
1049
- You should run autoupdate.])dnl
1050
- LTDL_INIT($@)])
1051
- m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1052
- m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1053
- You should run autoupdate.])dnl
1054
- LTDL_INIT($@)])
1055
- m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1056
- m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1057
- You should run autoupdate.])dnl
1058
- LTDL_INIT($@)])
1059
- m4trace:/usr/local/share/aclocal/ltdl.m4:421: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1060
- AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1061
- AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1062
- AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1063
- AC_REQUIRE([LT_LIB_DLLOAD])dnl
1064
- AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1065
- AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1066
- AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1067
- AC_REQUIRE([gl_FUNC_ARGZ])dnl
937
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/init.m4:171: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
938
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
939
+ dnl the ones we care about.
940
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
941
+ AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
942
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
943
+ if test "`cd $srcdir && pwd`" != "`pwd`"; then
944
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
945
+ # is not polluted with repeated "-I."
946
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
947
+ # test to see if srcdir already configured
948
+ if test -f $srcdir/config.status; then
949
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
950
+ fi
951
+ fi
1068
952
 
1069
- m4_require([_LT_CHECK_OBJDIR])dnl
1070
- m4_require([_LT_HEADER_DLFCN])dnl
1071
- m4_require([_LT_CHECK_DLPREOPEN])dnl
1072
- m4_require([_LT_DECL_SED])dnl
953
+ # test whether we have cygpath
954
+ if test -z "$CYGPATH_W"; then
955
+ if (cygpath --version) >/dev/null 2>/dev/null; then
956
+ CYGPATH_W='cygpath -w'
957
+ else
958
+ CYGPATH_W=echo
959
+ fi
960
+ fi
961
+ AC_SUBST([CYGPATH_W])
1073
962
 
1074
- dnl Don't require this, or it will be expanded earlier than the code
1075
- dnl that sets the variables it relies on:
1076
- _LT_ENABLE_INSTALL
963
+ # Define the identity of the package.
964
+ dnl Distinguish between old-style and new-style calls.
965
+ m4_ifval([$2],
966
+ [AC_DIAGNOSE([obsolete],
967
+ [$0: two- and three-arguments forms are deprecated.])
968
+ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
969
+ AC_SUBST([PACKAGE], [$1])dnl
970
+ AC_SUBST([VERSION], [$2])],
971
+ [_AM_SET_OPTIONS([$1])dnl
972
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
973
+ m4_if(
974
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
975
+ [ok:ok],,
976
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
977
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
978
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1077
979
 
1078
- dnl _LTDL_MODE specific code must be called at least once:
1079
- _LTDL_MODE_DISPATCH
980
+ _AM_IF_OPTION([no-define],,
981
+ [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
982
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1080
983
 
1081
- # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1082
- # the user used. This is so that ltdl.h can pick up the parent projects
1083
- # config.h file, The first file in AC_CONFIG_HEADERS must contain the
1084
- # definitions required by ltdl.c.
1085
- # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1086
- AC_CONFIG_COMMANDS_PRE([dnl
1087
- m4_pattern_allow([^LT_CONFIG_H$])dnl
1088
- m4_ifset([AH_HEADER],
1089
- [LT_CONFIG_H=AH_HEADER],
1090
- [m4_ifset([AC_LIST_HEADERS],
1091
- [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1092
- [])])])
1093
- AC_SUBST([LT_CONFIG_H])
984
+ # Some tools Automake needs.
985
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
986
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
987
+ AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
988
+ AM_MISSING_PROG([AUTOCONF], [autoconf])
989
+ AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
990
+ AM_MISSING_PROG([AUTOHEADER], [autoheader])
991
+ AM_MISSING_PROG([MAKEINFO], [makeinfo])
992
+ AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
993
+ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
994
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
995
+ # For better backward compatibility. To be removed once Automake 1.9.x
996
+ # dies out for good. For more background, see:
997
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
998
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
999
+ AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1000
+ # We need awk for the "check" target (and possibly the TAP driver). The
1001
+ # system "awk" is bad on some platforms.
1002
+ AC_REQUIRE([AC_PROG_AWK])dnl
1003
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1004
+ AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1005
+ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1006
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1007
+ [_AM_PROG_TAR([v7])])])
1008
+ _AM_IF_OPTION([no-dependencies],,
1009
+ [AC_PROVIDE_IFELSE([AC_PROG_CC],
1010
+ [_AM_DEPENDENCIES([CC])],
1011
+ [m4_define([AC_PROG_CC],
1012
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1013
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
1014
+ [_AM_DEPENDENCIES([CXX])],
1015
+ [m4_define([AC_PROG_CXX],
1016
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1017
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1018
+ [_AM_DEPENDENCIES([OBJC])],
1019
+ [m4_define([AC_PROG_OBJC],
1020
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1021
+ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1022
+ [_AM_DEPENDENCIES([OBJCXX])],
1023
+ [m4_define([AC_PROG_OBJCXX],
1024
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1025
+ ])
1026
+ AC_REQUIRE([AM_SILENT_RULES])dnl
1027
+ dnl The testsuite driver may need to know about EXEEXT, so add the
1028
+ dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1029
+ dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1030
+ AC_CONFIG_COMMANDS_PRE(dnl
1031
+ [m4_provide_if([_AM_COMPILER_EXEEXT],
1032
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1094
1033
 
1095
- AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1096
- [], [], [AC_INCLUDES_DEFAULT])
1034
+ # POSIX will say in a future version that running "rm -f" with no argument
1035
+ # is OK; and we want to be able to make that assumption in our Makefile
1036
+ # recipes. So use an aggressive probe to check that the usage we want is
1037
+ # actually supported "in the wild" to an acceptable degree.
1038
+ # See automake bug#10828.
1039
+ # To make any issue more visible, cause the running configure to be aborted
1040
+ # by default if the 'rm' program in use doesn't match our expectations; the
1041
+ # user can still override this though.
1042
+ if rm -f && rm -fr && rm -rf; then : OK; else
1043
+ cat >&2 <<'END'
1044
+ Oops!
1097
1045
 
1098
- AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1099
- AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1046
+ Your 'rm' program seems unable to run without file operands specified
1047
+ on the command line, even when the '-f' option is present. This is contrary
1048
+ to the behaviour of most rm programs out there, and not conforming with
1049
+ the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1100
1050
 
1101
- m4_pattern_allow([LT_LIBEXT])dnl
1102
- AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1051
+ Please tell bug-automake@gnu.org about your system, including the value
1052
+ of your $PATH and any error possibly output before this message. This
1053
+ can help us improve future automake versions.
1103
1054
 
1104
- name=
1105
- eval "lt_libprefix=\"$libname_spec\""
1106
- m4_pattern_allow([LT_LIBPREFIX])dnl
1107
- AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
1055
+ END
1056
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1057
+ echo 'Configuration will proceed anyway, since you have set the' >&2
1058
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1059
+ echo >&2
1060
+ else
1061
+ cat >&2 <<'END'
1062
+ Aborting the configuration process, to ensure you take notice of the issue.
1108
1063
 
1109
- name=ltdl
1110
- eval "LTDLOPEN=\"$libname_spec\""
1111
- AC_SUBST([LTDLOPEN])
1064
+ You can download and install GNU coreutils to get an 'rm' implementation
1065
+ that behaves properly: <http://www.gnu.org/software/coreutils/>.
1066
+
1067
+ If you want to complete the configuration process using your problematic
1068
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1069
+ to "yes", and re-run configure.
1070
+
1071
+ END
1072
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1073
+ fi
1074
+ fi
1075
+ dnl The trailing newline in this macro's definition is deliberate, for
1076
+ dnl backward compatibility and to allow trailing 'dnl'-style comments
1077
+ dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1112
1078
  ])
1113
- m4trace:/usr/local/share/aclocal/ltdl.m4:539: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1114
- AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1115
- [lt_cv_sys_dlopen_deplibs],
1116
- [# PORTME does your system automatically load deplibs for dlopen?
1117
- # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1118
- # For now, we just catch OSes we know something about -- in the
1119
- # future, we'll try test this programmatically.
1120
- lt_cv_sys_dlopen_deplibs=unknown
1121
- case $host_os in
1122
- aix3*|aix4.1.*|aix4.2.*)
1123
- # Unknown whether this is true for these versions of AIX, but
1124
- # we want this `case' here to explicitly catch those versions.
1125
- lt_cv_sys_dlopen_deplibs=unknown
1126
- ;;
1127
- aix[[4-9]]*)
1128
- lt_cv_sys_dlopen_deplibs=yes
1129
- ;;
1130
- amigaos*)
1131
- case $host_cpu in
1132
- powerpc)
1133
- lt_cv_sys_dlopen_deplibs=no
1134
- ;;
1135
- esac
1136
- ;;
1137
- darwin*)
1138
- # Assuming the user has installed a libdl from somewhere, this is true
1139
- # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1140
- lt_cv_sys_dlopen_deplibs=yes
1141
- ;;
1142
- freebsd* | dragonfly*)
1143
- lt_cv_sys_dlopen_deplibs=yes
1144
- ;;
1145
- gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
1146
- # GNU and its variants, using gnu ld.so (Glibc)
1147
- lt_cv_sys_dlopen_deplibs=yes
1148
- ;;
1149
- hpux10*|hpux11*)
1150
- lt_cv_sys_dlopen_deplibs=yes
1151
- ;;
1152
- interix*)
1153
- lt_cv_sys_dlopen_deplibs=yes
1154
- ;;
1155
- irix[[12345]]*|irix6.[[01]]*)
1156
- # Catch all versions of IRIX before 6.2, and indicate that we don't
1157
- # know how it worked for any of those versions.
1158
- lt_cv_sys_dlopen_deplibs=unknown
1159
- ;;
1160
- irix*)
1161
- # The case above catches anything before 6.2, and it's known that
1162
- # at 6.2 and later dlopen does load deplibs.
1163
- lt_cv_sys_dlopen_deplibs=yes
1164
- ;;
1165
- netbsd*)
1166
- lt_cv_sys_dlopen_deplibs=yes
1167
- ;;
1168
- openbsd*)
1169
- lt_cv_sys_dlopen_deplibs=yes
1170
- ;;
1171
- osf[[1234]]*)
1172
- # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1173
- # it did *not* use an RPATH in a shared library to find objects the
1174
- # library depends on, so we explicitly say `no'.
1175
- lt_cv_sys_dlopen_deplibs=no
1176
- ;;
1177
- osf5.0|osf5.0a|osf5.1)
1178
- # dlopen *does* load deplibs and with the right loader patch applied
1179
- # it even uses RPATH in a shared library to search for shared objects
1180
- # that the library depends on, but there's no easy way to know if that
1181
- # patch is installed. Since this is the case, all we can really
1182
- # say is unknown -- it depends on the patch being installed. If
1183
- # it is, this changes to `yes'. Without it, it would be `no'.
1184
- lt_cv_sys_dlopen_deplibs=unknown
1185
- ;;
1186
- osf*)
1187
- # the two cases above should catch all versions of osf <= 5.1. Read
1188
- # the comments above for what we know about them.
1189
- # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1190
- # is used to find them so we can finally say `yes'.
1191
- lt_cv_sys_dlopen_deplibs=yes
1192
- ;;
1193
- qnx*)
1194
- lt_cv_sys_dlopen_deplibs=yes
1195
- ;;
1196
- solaris*)
1197
- lt_cv_sys_dlopen_deplibs=yes
1198
- ;;
1199
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1200
- libltdl_cv_sys_dlopen_deplibs=yes
1201
- ;;
1079
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/init.m4:198: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1080
+ _am_arg=$1
1081
+ _am_stamp_count=1
1082
+ for _am_header in $config_headers :; do
1083
+ case $_am_header in
1084
+ $_am_arg | $_am_arg:* )
1085
+ break ;;
1086
+ * )
1087
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1088
+ esac
1089
+ done
1090
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1091
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/install-sh.m4:21: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1092
+ if test x"${install_sh+set}" != xset; then
1093
+ case $am_aux_dir in
1094
+ *\ * | *\ *)
1095
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1096
+ *)
1097
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
1202
1098
  esac
1203
- ])
1204
- if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1205
- AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1206
- [Define if the OS needs help to load dependent libraries for dlopen().])
1207
1099
  fi
1208
- ])
1209
- m4trace:/usr/local/share/aclocal/ltdl.m4:542: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1210
- m4trace:/usr/local/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1211
- You should run autoupdate.])dnl
1212
- m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1213
- m4trace:/usr/local/share/aclocal/ltdl.m4:569: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1214
- AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1215
- [libltdl_cv_shlibext],
1216
- [
1217
- module=yes
1218
- eval libltdl_cv_shlibext=$shrext_cmds
1219
- module=no
1220
- eval libltdl_cv_shrext=$shrext_cmds
1221
- ])
1222
- if test -n "$libltdl_cv_shlibext"; then
1223
- m4_pattern_allow([LT_MODULE_EXT])dnl
1224
- AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1225
- [Define to the extension used for runtime loadable modules, say, ".so".])
1100
+ AC_SUBST([install_sh])])
1101
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/lead-dot.m4:19: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1102
+ mkdir .tst 2>/dev/null
1103
+ if test -d .tst; then
1104
+ am__leading_dot=.
1105
+ else
1106
+ am__leading_dot=_
1226
1107
  fi
1227
- if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1228
- m4_pattern_allow([LT_SHARED_EXT])dnl
1229
- AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
1230
- [Define to the shared library suffix, say, ".dylib".])
1108
+ rmdir .tst 2>/dev/null
1109
+ AC_SUBST([am__leading_dot])])
1110
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/make.m4:49: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1111
+ cat > confinc << 'END'
1112
+ am__doit:
1113
+ @echo this is the am__doit target
1114
+ .PHONY: am__doit
1115
+ END
1116
+ # If we don't find an include directive, just comment out the code.
1117
+ AC_MSG_CHECKING([for style of include used by $am_make])
1118
+ am__include="#"
1119
+ am__quote=
1120
+ _am_result=none
1121
+ # First try GNU make style include.
1122
+ echo "include confinc" > confmf
1123
+ # Ignore all kinds of additional output from 'make'.
1124
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1125
+ *the\ am__doit\ target*)
1126
+ am__include=include
1127
+ am__quote=
1128
+ _am_result=GNU
1129
+ ;;
1130
+ esac
1131
+ # Now try BSD make style include.
1132
+ if test "$am__include" = "#"; then
1133
+ echo '.include "confinc"' > confmf
1134
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1135
+ *the\ am__doit\ target*)
1136
+ am__include=.include
1137
+ am__quote="\""
1138
+ _am_result=BSD
1139
+ ;;
1140
+ esac
1231
1141
  fi
1142
+ AC_SUBST([am__include])
1143
+ AC_SUBST([am__quote])
1144
+ AC_MSG_RESULT([$_am_result])
1145
+ rm -f confinc confmf
1232
1146
  ])
1233
- m4trace:/usr/local/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1234
- m4trace:/usr/local/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1235
- You should run autoupdate.])dnl
1236
- m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1237
- m4trace:/usr/local/share/aclocal/ltdl.m4:588: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1238
- AC_CACHE_CHECK([which variable specifies run-time module search path],
1239
- [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1240
- if test -n "$lt_cv_module_path_var"; then
1241
- m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1242
- AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1243
- [Define to the name of the environment variable that determines the run-time module search path.])
1147
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1148
+ $1=${$1-"${am_missing_run}$2"}
1149
+ AC_SUBST($1)])
1150
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/missing.m4:38: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1151
+ AC_REQUIRE_AUX_FILE([missing])dnl
1152
+ if test x"${MISSING+set}" != xset; then
1153
+ case $am_aux_dir in
1154
+ *\ * | *\ *)
1155
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1156
+ *)
1157
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
1158
+ esac
1159
+ fi
1160
+ # Use eval to expand $SHELL
1161
+ if eval "$MISSING --is-lightweight"; then
1162
+ am_missing_run="$MISSING "
1163
+ else
1164
+ am_missing_run=
1165
+ AC_MSG_WARN(['missing' script is too old or missing])
1244
1166
  fi
1245
1167
  ])
1246
- m4trace:/usr/local/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1247
- m4trace:/usr/local/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1248
- You should run autoupdate.])dnl
1249
- m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1250
- m4trace:/usr/local/share/aclocal/ltdl.m4:616: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1251
- AC_CACHE_CHECK([for the default library search path],
1252
- [lt_cv_sys_dlsearch_path],
1253
- [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1254
- if test -n "$lt_cv_sys_dlsearch_path"; then
1255
- sys_dlsearch_path=
1256
- for dir in $lt_cv_sys_dlsearch_path; do
1257
- if test -z "$sys_dlsearch_path"; then
1258
- sys_dlsearch_path="$dir"
1168
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/options.m4:12: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1169
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/options.m4:18: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1170
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/options.m4:24: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1171
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/options.m4:30: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1172
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/prog-cc-c-o.m4:44: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1173
+ AC_REQUIRE_AUX_FILE([compile])dnl
1174
+ AC_LANG_PUSH([C])dnl
1175
+ AC_CACHE_CHECK(
1176
+ [whether $CC understands -c and -o together],
1177
+ [am_cv_prog_cc_c_o],
1178
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1179
+ # Make sure it works both with $CC and with simple cc.
1180
+ # Following AC_PROG_CC_C_O, we do the test twice because some
1181
+ # compilers refuse to overwrite an existing .o file with -o,
1182
+ # though they will create one.
1183
+ am_cv_prog_cc_c_o=yes
1184
+ for am_i in 1 2; do
1185
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1186
+ && test -f conftest2.$ac_objext; then
1187
+ : OK
1259
1188
  else
1260
- sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1189
+ am_cv_prog_cc_c_o=no
1190
+ break
1261
1191
  fi
1262
1192
  done
1263
- m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1264
- AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1265
- [Define to the system default library search path.])
1193
+ rm -f core conftest*
1194
+ unset am_i])
1195
+ if test "$am_cv_prog_cc_c_o" != yes; then
1196
+ # Losing compiler, so override with the script.
1197
+ # FIXME: It is wrong to rewrite CC.
1198
+ # But if we don't then we get into trouble of one sort or another.
1199
+ # A longer-term fix would be to have automake use am__CC in this case,
1200
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1201
+ CC="$am_aux_dir/compile $CC"
1266
1202
  fi
1267
- ])
1268
- m4trace:/usr/local/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1269
- m4trace:/usr/local/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1270
- You should run autoupdate.])dnl
1271
- m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1272
- m4trace:/usr/local/share/aclocal/ltdl.m4:735: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1273
- LT_DLLOADERS=
1274
- AC_SUBST([LT_DLLOADERS])
1275
-
1276
- AC_LANG_PUSH([C])
1277
-
1278
- LIBADD_DLOPEN=
1279
- AC_SEARCH_LIBS([dlopen], [dl],
1280
- [AC_DEFINE([HAVE_LIBDL], [1],
1281
- [Define if you have the libdl library or equivalent.])
1282
- if test "$ac_cv_search_dlopen" != "none required" ; then
1283
- LIBADD_DLOPEN="-ldl"
1284
- fi
1285
- libltdl_cv_lib_dl_dlopen="yes"
1286
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1287
- [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1288
- # include <dlfcn.h>
1289
- #endif
1290
- ]], [[dlopen(0, 0);]])],
1291
- [AC_DEFINE([HAVE_LIBDL], [1],
1292
- [Define if you have the libdl library or equivalent.])
1293
- libltdl_cv_func_dlopen="yes"
1294
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1295
- [AC_CHECK_LIB([svld], [dlopen],
1296
- [AC_DEFINE([HAVE_LIBDL], [1],
1297
- [Define if you have the libdl library or equivalent.])
1298
- LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1299
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1300
- if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1301
- then
1302
- lt_save_LIBS="$LIBS"
1303
- LIBS="$LIBS $LIBADD_DLOPEN"
1304
- AC_CHECK_FUNCS([dlerror])
1305
- LIBS="$lt_save_LIBS"
1306
- fi
1307
- AC_SUBST([LIBADD_DLOPEN])
1308
-
1309
- LIBADD_SHL_LOAD=
1310
- AC_CHECK_FUNC([shl_load],
1311
- [AC_DEFINE([HAVE_SHL_LOAD], [1],
1312
- [Define if you have the shl_load function.])
1313
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1314
- [AC_CHECK_LIB([dld], [shl_load],
1315
- [AC_DEFINE([HAVE_SHL_LOAD], [1],
1316
- [Define if you have the shl_load function.])
1317
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1318
- LIBADD_SHL_LOAD="-ldld"])])
1319
- AC_SUBST([LIBADD_SHL_LOAD])
1320
-
1321
- case $host_os in
1322
- darwin[[1567]].*)
1323
- # We only want this for pre-Mac OS X 10.4.
1324
- AC_CHECK_FUNC([_dyld_func_lookup],
1325
- [AC_DEFINE([HAVE_DYLD], [1],
1326
- [Define if you have the _dyld_func_lookup function.])
1327
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1328
- ;;
1329
- beos*)
1330
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1331
- ;;
1332
- cygwin* | mingw* | os2* | pw32*)
1333
- AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1334
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1335
- ;;
1203
+ AC_LANG_POP([C])])
1204
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1205
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1206
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1207
+ ac_status=$?
1208
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1209
+ (exit $ac_status); }])
1210
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/sanity.m4:82: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1211
+ # Reject unsafe characters in $srcdir or the absolute working directory
1212
+ # name. Accept space and tab only in the latter.
1213
+ am_lf='
1214
+ '
1215
+ case `pwd` in
1216
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
1217
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
1218
+ esac
1219
+ case $srcdir in
1220
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1221
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1336
1222
  esac
1337
1223
 
1338
- AC_CHECK_LIB([dld], [dld_link],
1339
- [AC_DEFINE([HAVE_DLD], [1],
1340
- [Define if you have the GNU dld library.])
1341
- LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1342
- AC_SUBST([LIBADD_DLD_LINK])
1224
+ # Do 'set' in a subshell so we don't clobber the current shell's
1225
+ # arguments. Must try -L first in case configure is actually a
1226
+ # symlink; some systems play weird games with the mod time of symlinks
1227
+ # (eg FreeBSD returns the mod time of the symlink's containing
1228
+ # directory).
1229
+ if (
1230
+ am_has_slept=no
1231
+ for am_try in 1 2; do
1232
+ echo "timestamp, slept: $am_has_slept" > conftest.file
1233
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1234
+ if test "$[*]" = "X"; then
1235
+ # -L didn't work.
1236
+ set X `ls -t "$srcdir/configure" conftest.file`
1237
+ fi
1238
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
1239
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
1343
1240
 
1344
- m4_pattern_allow([^LT_DLPREOPEN$])
1345
- LT_DLPREOPEN=
1346
- if test -n "$LT_DLLOADERS"
1241
+ # If neither matched, then we have a broken ls. This can happen
1242
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
1243
+ # broken ls alias from the environment. This has actually
1244
+ # happened. Such a system could not be considered "sane".
1245
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1246
+ alias in your environment])
1247
+ fi
1248
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
1249
+ break
1250
+ fi
1251
+ # Just in case.
1252
+ sleep 1
1253
+ am_has_slept=yes
1254
+ done
1255
+ test "$[2]" = conftest.file
1256
+ )
1347
1257
  then
1348
- for lt_loader in $LT_DLLOADERS; do
1349
- LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1350
- done
1351
- AC_DEFINE([HAVE_LIBDLLOADER], [1],
1352
- [Define if libdlloader will be built on this platform])
1353
- fi
1354
- AC_SUBST([LT_DLPREOPEN])
1355
-
1356
- dnl This isn't used anymore, but set it for backwards compatibility
1357
- LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1358
- AC_SUBST([LIBADD_DL])
1359
-
1360
- AC_LANG_POP
1361
- ])
1362
- m4trace:/usr/local/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1363
- m4trace:/usr/local/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1364
- You should run autoupdate.])dnl
1365
- m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1366
- m4trace:/usr/local/share/aclocal/ltdl.m4:780: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1367
- AC_CACHE_CHECK([for _ prefix in compiled symbols],
1368
- [lt_cv_sys_symbol_underscore],
1369
- [lt_cv_sys_symbol_underscore=no
1370
- cat > conftest.$ac_ext <<_LT_EOF
1371
- void nm_test_func(){}
1372
- int main(){nm_test_func;return 0;}
1373
- _LT_EOF
1374
- if AC_TRY_EVAL(ac_compile); then
1375
- # Now try to grab the symbols.
1376
- ac_nlist=conftest.nm
1377
- if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1378
- # See whether the symbols have a leading underscore.
1379
- if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1380
- lt_cv_sys_symbol_underscore=yes
1381
- else
1382
- if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1383
- :
1384
- else
1385
- echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1386
- fi
1387
- fi
1388
- else
1389
- echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1390
- fi
1391
- else
1392
- echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1393
- cat conftest.c >&AS_MESSAGE_LOG_FD
1394
- fi
1395
- rm -rf conftest*
1396
- ])
1397
- sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1398
- AC_SUBST([sys_symbol_underscore])
1399
- ])
1400
- m4trace:/usr/local/share/aclocal/ltdl.m4:783: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1401
- m4trace:/usr/local/share/aclocal/ltdl.m4:783: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1402
- You should run autoupdate.])dnl
1403
- m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1404
- m4trace:/usr/local/share/aclocal/ltdl.m4:812: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1405
- if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1406
- if test x"$libltdl_cv_func_dlopen" = xyes ||
1407
- test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1408
- AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1409
- [libltdl_cv_need_uscore],
1410
- [libltdl_cv_need_uscore=unknown
1411
- save_LIBS="$LIBS"
1412
- LIBS="$LIBS $LIBADD_DLOPEN"
1413
- _LT_TRY_DLOPEN_SELF(
1414
- [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1415
- [], [libltdl_cv_need_uscore=cross])
1416
- LIBS="$save_LIBS"
1417
- ])
1418
- fi
1258
+ # Ok.
1259
+ :
1260
+ else
1261
+ AC_MSG_ERROR([newly created file is older than distributed files!
1262
+ Check your system clock])
1419
1263
  fi
1420
-
1421
- if test x"$libltdl_cv_need_uscore" = xyes; then
1422
- AC_DEFINE([NEED_USCORE], [1],
1423
- [Define if dlsym() requires a leading underscore in symbol names.])
1264
+ AC_MSG_RESULT([yes])
1265
+ # If we didn't sleep, we still need to ensure time stamps of config.status and
1266
+ # generated files are strictly newer.
1267
+ am_sleep_pid=
1268
+ if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1269
+ ( sleep 1 ) &
1270
+ am_sleep_pid=$!
1424
1271
  fi
1272
+ AC_CONFIG_COMMANDS_PRE(
1273
+ [AC_MSG_CHECKING([that generated files are newer than configure])
1274
+ if test -n "$am_sleep_pid"; then
1275
+ # Hide warnings about reused PIDs.
1276
+ wait $am_sleep_pid 2>/dev/null
1277
+ fi
1278
+ AC_MSG_RESULT([done])])
1279
+ rm -f conftest.file
1425
1280
  ])
1426
- m4trace:/usr/local/share/aclocal/ltdl.m4:815: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1427
- m4trace:/usr/local/share/aclocal/ltdl.m4:815: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1428
- You should run autoupdate.])dnl
1429
- m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1430
- m4trace:/usr/local/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1431
- m4trace:/usr/local/share/aclocal/ltoptions.m4:116: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1432
- AC_DIAGNOSE([obsolete],
1433
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1434
- put the `dlopen' option into LT_INIT's first parameter.])
1435
- ])
1436
- m4trace:/usr/local/share/aclocal/ltoptions.m4:116: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1437
- You should run autoupdate.])dnl
1438
- _LT_SET_OPTION([LT_INIT], [dlopen])
1439
- AC_DIAGNOSE([obsolete],
1440
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1441
- put the `dlopen' option into LT_INIT's first parameter.])
1442
- ])
1443
- m4trace:/usr/local/share/aclocal/ltoptions.m4:152: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1444
- _LT_SET_OPTION([LT_INIT], [win32-dll])
1445
- AC_DIAGNOSE([obsolete],
1446
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1447
- put the `win32-dll' option into LT_INIT's first parameter.])
1448
- ])
1449
- m4trace:/usr/local/share/aclocal/ltoptions.m4:152: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1450
- You should run autoupdate.])dnl
1451
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
1452
- _LT_SET_OPTION([LT_INIT], [win32-dll])
1453
- AC_DIAGNOSE([obsolete],
1454
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1455
- put the `win32-dll' option into LT_INIT's first parameter.])
1456
- ])
1457
- m4trace:/usr/local/share/aclocal/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1458
- ])
1459
- m4trace:/usr/local/share/aclocal/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1460
- ])
1461
- m4trace:/usr/local/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1462
- m4trace:/usr/local/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1463
- You should run autoupdate.])dnl
1464
- AC_ENABLE_SHARED($@)])
1465
- m4trace:/usr/local/share/aclocal/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1466
- m4trace:/usr/local/share/aclocal/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1467
- You should run autoupdate.])dnl
1468
- AC_DISABLE_SHARED($@)])
1469
- m4trace:/usr/local/share/aclocal/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1470
- ])
1471
- m4trace:/usr/local/share/aclocal/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1281
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/silent.m4:60: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
1282
+ AS_HELP_STRING(
1283
+ [--enable-silent-rules],
1284
+ [less verbose build output (undo: "make V=1")])
1285
+ AS_HELP_STRING(
1286
+ [--disable-silent-rules],
1287
+ [verbose build output (undo: "make V=0")])dnl
1472
1288
  ])
1473
- m4trace:/usr/local/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1474
- m4trace:/usr/local/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1475
- You should run autoupdate.])dnl
1476
- AC_ENABLE_STATIC($@)])
1477
- m4trace:/usr/local/share/aclocal/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1478
- m4trace:/usr/local/share/aclocal/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1479
- You should run autoupdate.])dnl
1480
- AC_DISABLE_STATIC($@)])
1481
- m4trace:/usr/local/share/aclocal/ltoptions.m4:308: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1482
- AC_DIAGNOSE([obsolete],
1483
- [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1484
- the `fast-install' option into LT_INIT's first parameter.])
1289
+ case $enable_silent_rules in @%:@ (((
1290
+ yes) AM_DEFAULT_VERBOSITY=0;;
1291
+ no) AM_DEFAULT_VERBOSITY=1;;
1292
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1293
+ esac
1294
+ dnl
1295
+ dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1296
+ dnl do not support nested variable expansions.
1297
+ dnl See automake bug#9928 and bug#10237.
1298
+ am_make=${MAKE-make}
1299
+ AC_CACHE_CHECK([whether $am_make supports nested variables],
1300
+ [am_cv_make_support_nested_variables],
1301
+ [if AS_ECHO([['TRUE=$(BAR$(V))
1302
+ BAR0=false
1303
+ BAR1=true
1304
+ V=1
1305
+ am__doit:
1306
+ @$(TRUE)
1307
+ .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1308
+ am_cv_make_support_nested_variables=yes
1309
+ else
1310
+ am_cv_make_support_nested_variables=no
1311
+ fi])
1312
+ if test $am_cv_make_support_nested_variables = yes; then
1313
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
1314
+ AM_V='$(V)'
1315
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1316
+ else
1317
+ AM_V=$AM_DEFAULT_VERBOSITY
1318
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1319
+ fi
1320
+ AC_SUBST([AM_V])dnl
1321
+ AM_SUBST_NOTMAKE([AM_V])dnl
1322
+ AC_SUBST([AM_DEFAULT_V])dnl
1323
+ AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1324
+ AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1325
+ AM_BACKSLASH='\'
1326
+ AC_SUBST([AM_BACKSLASH])dnl
1327
+ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1485
1328
  ])
1486
- m4trace:/usr/local/share/aclocal/ltoptions.m4:308: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1487
- You should run autoupdate.])dnl
1488
- _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1489
- AC_DIAGNOSE([obsolete],
1490
- [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1491
- the `fast-install' option into LT_INIT's first parameter.])
1492
- ])
1493
- m4trace:/usr/local/share/aclocal/ltoptions.m4:315: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1494
- AC_DIAGNOSE([obsolete],
1495
- [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1496
- the `disable-fast-install' option into LT_INIT's first parameter.])
1497
- ])
1498
- m4trace:/usr/local/share/aclocal/ltoptions.m4:315: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1499
- You should run autoupdate.])dnl
1500
- _LT_SET_OPTION([LT_INIT], [disable-fast-install])
1501
- AC_DIAGNOSE([obsolete],
1502
- [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1503
- the `disable-fast-install' option into LT_INIT's first parameter.])
1504
- ])
1505
- m4trace:/usr/local/share/aclocal/ltoptions.m4:363: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1506
- AC_DIAGNOSE([obsolete],
1507
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1508
- put the `pic-only' option into LT_INIT's first parameter.])
1509
- ])
1510
- m4trace:/usr/local/share/aclocal/ltoptions.m4:363: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1511
- You should run autoupdate.])dnl
1512
- _LT_SET_OPTION([LT_INIT], [pic-only])
1513
- AC_DIAGNOSE([obsolete],
1514
- [$0: Remove this warning and the call to _LT_SET_OPTION when you
1515
- put the `pic-only' option into LT_INIT's first parameter.])
1516
- ])
1517
- m4trace:/usr/local/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1518
- m4trace:/usr/local/share/aclocal/ltversion.m4:23: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
1519
- macro_revision='1.3337'
1520
- _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1521
- _LT_DECL(, macro_revision, 0)
1522
- ])
1523
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1524
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1525
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1526
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1527
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1528
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1529
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1530
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1531
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1532
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1533
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1534
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1535
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1536
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1537
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1538
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1539
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1540
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1541
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1542
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1543
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1544
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1545
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1546
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1547
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1548
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1549
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1550
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1551
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1552
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1553
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1554
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1555
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1556
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1557
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1558
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1559
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1560
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1561
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1562
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1563
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1564
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1565
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1566
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1567
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1568
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1569
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1570
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1571
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
1572
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
1573
- m4trace:/usr/local/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
1574
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14'
1575
- dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1576
- dnl require some minimum version. Point them to the right macro.
1577
- m4_if([$1], [1.14.1], [],
1578
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1579
- ])
1580
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl
1581
- m4_ifndef([AC_AUTOCONF_VERSION],
1582
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1583
- _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1584
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1585
- AC_PREREQ([2.50])dnl
1586
- # expand $ac_aux_dir to an absolute path
1587
- am_aux_dir=`cd $ac_aux_dir && pwd`
1588
- ])
1589
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
1590
- m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1591
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1592
- AC_SUBST([$1_TRUE])dnl
1593
- AC_SUBST([$1_FALSE])dnl
1594
- _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1595
- _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1596
- m4_define([_AM_COND_VALUE_$1], [$2])dnl
1597
- if $2; then
1598
- $1_TRUE=
1599
- $1_FALSE='#'
1600
- else
1601
- $1_TRUE='#'
1602
- $1_FALSE=
1329
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1330
+ # Installed binaries are usually stripped using 'strip' when the user
1331
+ # run "make install-strip". However 'strip' might not be the right
1332
+ # tool to use in cross-compilation environments, therefore Automake
1333
+ # will honor the 'STRIP' environment variable to overrule this program.
1334
+ dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1335
+ if test "$cross_compiling" != no; then
1336
+ AC_CHECK_TOOL([STRIP], [strip], :)
1603
1337
  fi
1604
- AC_CONFIG_COMMANDS_PRE(
1605
- [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1606
- AC_MSG_ERROR([[conditional "$1" was never defined.
1607
- Usually this means the macro was only invoked conditionally.]])
1608
- fi])])
1609
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/depend.m4:156: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1610
- AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1611
- AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1612
- AC_REQUIRE([AM_DEP_TRACK])dnl
1338
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1339
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
1340
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1341
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1342
+ m4trace:/usr/local/Cellar/automake/1.15/share/aclocal-1.15/tar.m4:132: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
1343
+ # in the wild :-( We should find a proper way to deprecate it ...
1344
+ AC_SUBST([AMTAR], ['$${TAR-tar}'])
1613
1345
 
1614
- m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
1615
- [$1], [CXX], [depcc="$CXX" am_compiler_list=],
1616
- [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1617
- [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
1618
- [$1], [UPC], [depcc="$UPC" am_compiler_list=],
1619
- [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1620
- [depcc="$$1" am_compiler_list=])
1346
+ # We'll loop over all known methods to create a tar archive until one works.
1347
+ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1621
1348
 
1622
- AC_CACHE_CHECK([dependency style of $depcc],
1623
- [am_cv_$1_dependencies_compiler_type],
1624
- [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1625
- # We make a subdir and do the tests there. Otherwise we can end up
1626
- # making bogus files that we don't know about and never remove. For
1627
- # instance it was reported that on HP-UX the gcc test will end up
1628
- # making a dummy file named 'D' -- because '-MD' means "put the output
1629
- # in D".
1630
- rm -rf conftest.dir
1631
- mkdir conftest.dir
1632
- # Copy depcomp to subdir because otherwise we won't find it if we're
1633
- # using a relative directory.
1634
- cp "$am_depcomp" conftest.dir
1635
- cd conftest.dir
1636
- # We will build objects and dependencies in a subdirectory because
1637
- # it helps to detect inapplicable dependency modes. For instance
1638
- # both Tru64's cc and ICC support -MD to output dependencies as a
1639
- # side effect of compilation, but ICC will put the dependencies in
1640
- # the current directory while Tru64 will put them in the object
1641
- # directory.
1642
- mkdir sub
1349
+ m4_if([$1], [v7],
1350
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1643
1351
 
1644
- am_cv_$1_dependencies_compiler_type=none
1645
- if test "$am_compiler_list" = ""; then
1646
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1647
- fi
1648
- am__universal=false
1649
- m4_case([$1], [CC],
1650
- [case " $depcc " in #(
1651
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
1652
- esac],
1653
- [CXX],
1654
- [case " $depcc " in #(
1655
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
1656
- esac])
1352
+ [m4_case([$1],
1353
+ [ustar],
1354
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1355
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
1356
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1357
+ # and bug#13588).
1358
+ am_max_uid=2097151 # 2^21 - 1
1359
+ am_max_gid=$am_max_uid
1360
+ # The $UID and $GID variables are not portable, so we need to resort
1361
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1362
+ # below are definitely unexpected, so allow the users to see them
1363
+ # (that is, avoid stderr redirection).
1364
+ am_uid=`id -u || echo unknown`
1365
+ am_gid=`id -g || echo unknown`
1366
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1367
+ if test $am_uid -le $am_max_uid; then
1368
+ AC_MSG_RESULT([yes])
1369
+ else
1370
+ AC_MSG_RESULT([no])
1371
+ _am_tools=none
1372
+ fi
1373
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1374
+ if test $am_gid -le $am_max_gid; then
1375
+ AC_MSG_RESULT([yes])
1376
+ else
1377
+ AC_MSG_RESULT([no])
1378
+ _am_tools=none
1379
+ fi],
1657
1380
 
1658
- for depmode in $am_compiler_list; do
1659
- # Setup a source with many dependencies, because some compilers
1660
- # like to wrap large dependency lists on column 80 (with \), and
1661
- # we should not choose a depcomp mode which is confused by this.
1662
- #
1663
- # We need to recreate these files for each test, as the compiler may
1664
- # overwrite some of them when testing with obscure command lines.
1665
- # This happens at least with the AIX C compiler.
1666
- : > sub/conftest.c
1667
- for i in 1 2 3 4 5 6; do
1668
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
1669
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
1670
- # Solaris 10 /bin/sh.
1671
- echo '/* dummy */' > sub/conftst$i.h
1672
- done
1673
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1381
+ [pax],
1382
+ [],
1674
1383
 
1675
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
1676
- # mode. It turns out that the SunPro C++ compiler does not properly
1677
- # handle '-M -o', and we need to detect this. Also, some Intel
1678
- # versions had trouble with output in subdirs.
1679
- am__obj=sub/conftest.${OBJEXT-o}
1680
- am__minus_obj="-o $am__obj"
1681
- case $depmode in
1682
- gcc)
1683
- # This depmode causes a compiler race in universal mode.
1684
- test "$am__universal" = false || continue
1384
+ [m4_fatal([Unknown tar format])])
1385
+
1386
+ AC_MSG_CHECKING([how to create a $1 tar archive])
1387
+
1388
+ # Go ahead even if we have the value already cached. We do so because we
1389
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
1390
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1391
+
1392
+ for _am_tool in $_am_tools; do
1393
+ case $_am_tool in
1394
+ gnutar)
1395
+ for _am_tar in tar gnutar gtar; do
1396
+ AM_RUN_LOG([$_am_tar --version]) && break
1397
+ done
1398
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1399
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1400
+ am__untar="$_am_tar -xf -"
1685
1401
  ;;
1686
- nosideeffect)
1687
- # After this tag, mechanisms are not by side-effect, so they'll
1688
- # only be used when explicitly requested.
1689
- if test "x$enable_dependency_tracking" = xyes; then
1690
- continue
1691
- else
1692
- break
1693
- fi
1402
+ plaintar)
1403
+ # Must skip GNU tar: if it does not support --format= it doesn't create
1404
+ # ustar tarball either.
1405
+ (tar --version) >/dev/null 2>&1 && continue
1406
+ am__tar='tar chf - "$$tardir"'
1407
+ am__tar_='tar chf - "$tardir"'
1408
+ am__untar='tar xf -'
1694
1409
  ;;
1695
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1696
- # This compiler won't grok '-c -o', but also, the minuso test has
1697
- # not run yet. These depmodes are late enough in the game, and
1698
- # so weak that their functioning should not be impacted.
1699
- am__obj=conftest.${OBJEXT-o}
1700
- am__minus_obj=
1410
+ pax)
1411
+ am__tar='pax -L -x $1 -w "$$tardir"'
1412
+ am__tar_='pax -L -x $1 -w "$tardir"'
1413
+ am__untar='pax -r'
1414
+ ;;
1415
+ cpio)
1416
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1417
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1418
+ am__untar='cpio -i -H $1 -d'
1419
+ ;;
1420
+ none)
1421
+ am__tar=false
1422
+ am__tar_=false
1423
+ am__untar=false
1701
1424
  ;;
1702
- none) break ;;
1703
1425
  esac
1704
- if depmode=$depmode \
1705
- source=sub/conftest.c object=$am__obj \
1706
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1707
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1708
- >/dev/null 2>conftest.err &&
1709
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1710
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1711
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1712
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1713
- # icc doesn't choke on unknown options, it will just issue warnings
1714
- # or remarks (even with -Werror). So we grep stderr for any message
1715
- # that says an option was ignored or not supported.
1716
- # When given -MP, icc 7.0 and 7.1 complain thusly:
1717
- # icc: Command line warning: ignoring option '-M'; no argument required
1718
- # The diagnosis changed in icc 8.0:
1719
- # icc: Command line remark: option '-MP' not supported
1720
- if (grep 'ignoring option' conftest.err ||
1721
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1722
- am_cv_$1_dependencies_compiler_type=$depmode
1723
- break
1724
- fi
1426
+
1427
+ # If the value was cached, stop now. We just wanted to have am__tar
1428
+ # and am__untar set.
1429
+ test -n "${am_cv_prog_tar_$1}" && break
1430
+
1431
+ # tar/untar a dummy directory, and stop if the command works.
1432
+ rm -rf conftest.dir
1433
+ mkdir conftest.dir
1434
+ echo GrepMe > conftest.dir/file
1435
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1436
+ rm -rf conftest.dir
1437
+ if test -s conftest.tar; then
1438
+ AM_RUN_LOG([$am__untar <conftest.tar])
1439
+ AM_RUN_LOG([cat conftest.dir/file])
1440
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1725
1441
  fi
1726
1442
  done
1727
-
1728
- cd ..
1729
1443
  rm -rf conftest.dir
1730
- else
1731
- am_cv_$1_dependencies_compiler_type=none
1732
- fi
1733
- ])
1734
- AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1735
- AM_CONDITIONAL([am__fastdep$1], [
1736
- test "x$enable_dependency_tracking" != xno \
1737
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1738
- ])
1739
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/depend.m4:166: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1740
- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1741
- ])
1742
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/depend.m4:189: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
1743
- AS_HELP_STRING(
1744
- [--enable-dependency-tracking],
1745
- [do not reject slow dependency extractors])
1746
- AS_HELP_STRING(
1747
- [--disable-dependency-tracking],
1748
- [speeds up one-time build])])
1749
- if test "x$enable_dependency_tracking" != xno; then
1750
- am_depcomp="$ac_aux_dir/depcomp"
1751
- AMDEPBACKSLASH='\'
1752
- am__nodep='_no'
1753
- fi
1754
- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1755
- AC_SUBST([AMDEPBACKSLASH])dnl
1756
- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1757
- AC_SUBST([am__nodep])dnl
1758
- _AM_SUBST_NOTMAKE([am__nodep])dnl
1759
- ])
1760
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/depout.m4:61: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1761
- # Older Autoconf quotes --file arguments for eval, but not when files
1762
- # are listed without --file. Let's play safe and only enable the eval
1763
- # if we detect the quoting.
1764
- case $CONFIG_FILES in
1765
- *\'*) eval set x "$CONFIG_FILES" ;;
1766
- *) set x $CONFIG_FILES ;;
1767
- esac
1768
- shift
1769
- for mf
1770
- do
1771
- # Strip MF so we end up with the name of the file.
1772
- mf=`echo "$mf" | sed -e 's/:.*$//'`
1773
- # Check whether this is an Automake generated Makefile or not.
1774
- # We used to match only the files named 'Makefile.in', but
1775
- # some people rename them; so instead we look at the file content.
1776
- # Grep'ing the first line is not enough: some people post-process
1777
- # each Makefile.in and add a new line on top of each file to say so.
1778
- # Grep'ing the whole file is not good either: AIX grep has a line
1779
- # limit of 2048, but all sed's we know have understand at least 4000.
1780
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1781
- dirpart=`AS_DIRNAME("$mf")`
1782
- else
1783
- continue
1784
- fi
1785
- # Extract the definition of DEPDIR, am__include, and am__quote
1786
- # from the Makefile without running 'make'.
1787
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1788
- test -z "$DEPDIR" && continue
1789
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
1790
- test -z "$am__include" && continue
1791
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1792
- # Find all dependency output files, they are included files with
1793
- # $(DEPDIR) in their names. We invoke sed twice because it is the
1794
- # simplest approach to changing $(DEPDIR) to its actual value in the
1795
- # expansion.
1796
- for file in `sed -n "
1797
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1798
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1799
- # Make sure the directory exists.
1800
- test -f "$dirpart/$file" && continue
1801
- fdir=`AS_DIRNAME(["$file"])`
1802
- AS_MKDIR_P([$dirpart/$fdir])
1803
- # echo "creating $dirpart/$file"
1804
- echo '# dummy' > "$dirpart/$file"
1805
- done
1806
- done
1807
- }
1808
- ])
1809
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1810
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1811
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1444
+
1445
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1446
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1447
+
1448
+ AC_SUBST([am__tar])
1449
+ AC_SUBST([am__untar])
1812
1450
  ])
1813
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/init.m4:167: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
1814
- dnl Autoconf wants to disallow AM_ names. We explicitly allow
1815
- dnl the ones we care about.
1816
- m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1817
- AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1818
- AC_REQUIRE([AC_PROG_INSTALL])dnl
1819
- if test "`cd $srcdir && pwd`" != "`pwd`"; then
1820
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1821
- # is not polluted with repeated "-I."
1822
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1823
- # test to see if srcdir already configured
1824
- if test -f $srcdir/config.status; then
1825
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1826
- fi
1827
- fi
1451
+ m4trace:m4/libtool.m4:96: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
1452
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1453
+ AC_BEFORE([$0], [LT_LANG])dnl
1454
+ AC_BEFORE([$0], [LT_OUTPUT])dnl
1455
+ AC_BEFORE([$0], [LTDL_INIT])dnl
1456
+ m4_require([_LT_CHECK_BUILDDIR])dnl
1828
1457
 
1829
- # test whether we have cygpath
1830
- if test -z "$CYGPATH_W"; then
1831
- if (cygpath --version) >/dev/null 2>/dev/null; then
1832
- CYGPATH_W='cygpath -w'
1833
- else
1834
- CYGPATH_W=echo
1835
- fi
1836
- fi
1837
- AC_SUBST([CYGPATH_W])
1458
+ dnl Autoconf doesn't catch unexpanded LT_ macros by default:
1459
+ m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
1460
+ m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
1461
+ dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
1462
+ dnl unless we require an AC_DEFUNed macro:
1463
+ AC_REQUIRE([LTOPTIONS_VERSION])dnl
1464
+ AC_REQUIRE([LTSUGAR_VERSION])dnl
1465
+ AC_REQUIRE([LTVERSION_VERSION])dnl
1466
+ AC_REQUIRE([LTOBSOLETE_VERSION])dnl
1467
+ m4_require([_LT_PROG_LTMAIN])dnl
1838
1468
 
1839
- # Define the identity of the package.
1840
- dnl Distinguish between old-style and new-style calls.
1841
- m4_ifval([$2],
1842
- [AC_DIAGNOSE([obsolete],
1843
- [$0: two- and three-arguments forms are deprecated.])
1844
- m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1845
- AC_SUBST([PACKAGE], [$1])dnl
1846
- AC_SUBST([VERSION], [$2])],
1847
- [_AM_SET_OPTIONS([$1])dnl
1848
- dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1849
- m4_if(
1850
- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1851
- [ok:ok],,
1852
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1853
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1854
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1469
+ _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
1855
1470
 
1856
- _AM_IF_OPTION([no-define],,
1857
- [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1858
- AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1471
+ dnl Parse OPTIONS
1472
+ _LT_SET_OPTIONS([$0], [$1])
1859
1473
 
1860
- # Some tools Automake needs.
1861
- AC_REQUIRE([AM_SANITY_CHECK])dnl
1862
- AC_REQUIRE([AC_ARG_PROGRAM])dnl
1863
- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1864
- AM_MISSING_PROG([AUTOCONF], [autoconf])
1865
- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1866
- AM_MISSING_PROG([AUTOHEADER], [autoheader])
1867
- AM_MISSING_PROG([MAKEINFO], [makeinfo])
1868
- AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1869
- AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1870
- AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1871
- # For better backward compatibility. To be removed once Automake 1.9.x
1872
- # dies out for good. For more background, see:
1873
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1874
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1875
- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1876
- # We need awk for the "check" target. The system "awk" is bad on
1877
- # some platforms.
1878
- AC_REQUIRE([AC_PROG_AWK])dnl
1879
- AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1880
- AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1881
- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1882
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1883
- [_AM_PROG_TAR([v7])])])
1884
- _AM_IF_OPTION([no-dependencies],,
1885
- [AC_PROVIDE_IFELSE([AC_PROG_CC],
1886
- [_AM_DEPENDENCIES([CC])],
1887
- [m4_define([AC_PROG_CC],
1888
- m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1889
- AC_PROVIDE_IFELSE([AC_PROG_CXX],
1890
- [_AM_DEPENDENCIES([CXX])],
1891
- [m4_define([AC_PROG_CXX],
1892
- m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1893
- AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1894
- [_AM_DEPENDENCIES([OBJC])],
1895
- [m4_define([AC_PROG_OBJC],
1896
- m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1897
- AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1898
- [_AM_DEPENDENCIES([OBJCXX])],
1899
- [m4_define([AC_PROG_OBJCXX],
1900
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1901
- ])
1902
- AC_REQUIRE([AM_SILENT_RULES])dnl
1903
- dnl The testsuite driver may need to know about EXEEXT, so add the
1904
- dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1905
- dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1906
- AC_CONFIG_COMMANDS_PRE(dnl
1907
- [m4_provide_if([_AM_COMPILER_EXEEXT],
1908
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1474
+ # This can be used to rebuild libtool when needed
1475
+ LIBTOOL_DEPS=$ltmain
1909
1476
 
1910
- # POSIX will say in a future version that running "rm -f" with no argument
1911
- # is OK; and we want to be able to make that assumption in our Makefile
1912
- # recipes. So use an aggressive probe to check that the usage we want is
1913
- # actually supported "in the wild" to an acceptable degree.
1914
- # See automake bug#10828.
1915
- # To make any issue more visible, cause the running configure to be aborted
1916
- # by default if the 'rm' program in use doesn't match our expectations; the
1917
- # user can still override this though.
1918
- if rm -f && rm -fr && rm -rf; then : OK; else
1919
- cat >&2 <<'END'
1920
- Oops!
1477
+ # Always use our own libtool.
1478
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1479
+ AC_SUBST(LIBTOOL)dnl
1921
1480
 
1922
- Your 'rm' program seems unable to run without file operands specified
1923
- on the command line, even when the '-f' option is present. This is contrary
1924
- to the behaviour of most rm programs out there, and not conforming with
1925
- the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1481
+ _LT_SETUP
1926
1482
 
1927
- Please tell bug-automake@gnu.org about your system, including the value
1928
- of your $PATH and any error possibly output before this message. This
1929
- can help us improve future automake versions.
1483
+ # Only expand once:
1484
+ m4_define([LT_INIT])
1485
+ ])
1486
+ m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
1487
+ m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
1488
+ You should run autoupdate.])dnl
1489
+ m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
1490
+ m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
1491
+ m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
1492
+ You should run autoupdate.])dnl
1493
+ m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
1494
+ m4trace:m4/libtool.m4:704: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
1495
+ AC_MSG_NOTICE([creating $CONFIG_LT])
1496
+ _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
1497
+ [# Run this file to recreate a libtool stub with the current configuration.])
1930
1498
 
1931
- END
1932
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1933
- echo 'Configuration will proceed anyway, since you have set the' >&2
1934
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1935
- echo >&2
1936
- else
1937
- cat >&2 <<'END'
1938
- Aborting the configuration process, to ensure you take notice of the issue.
1499
+ cat >>"$CONFIG_LT" <<\_LTEOF
1500
+ lt_cl_silent=false
1501
+ exec AS_MESSAGE_LOG_FD>>config.log
1502
+ {
1503
+ echo
1504
+ AS_BOX([Running $as_me.])
1505
+ } >&AS_MESSAGE_LOG_FD
1939
1506
 
1940
- You can download and install GNU coreutils to get an 'rm' implementation
1941
- that behaves properly: <http://www.gnu.org/software/coreutils/>.
1507
+ lt_cl_help="\
1508
+ '$as_me' creates a local libtool stub from the current configuration,
1509
+ for use in further configure time tests before the real libtool is
1510
+ generated.
1942
1511
 
1943
- If you want to complete the configuration process using your problematic
1944
- 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1945
- to "yes", and re-run configure.
1512
+ Usage: $[0] [[OPTIONS]]
1946
1513
 
1947
- END
1948
- AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1949
- fi
1950
- fi])
1951
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/init.m4:194: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1952
- _am_arg=$1
1953
- _am_stamp_count=1
1954
- for _am_header in $config_headers :; do
1955
- case $_am_header in
1956
- $_am_arg | $_am_arg:* )
1957
- break ;;
1958
- * )
1959
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1514
+ -h, --help print this help, then exit
1515
+ -V, --version print version number, then exit
1516
+ -q, --quiet do not print progress messages
1517
+ -d, --debug don't remove temporary files
1518
+
1519
+ Report bugs to <bug-libtool@gnu.org>."
1520
+
1521
+ lt_cl_version="\
1522
+ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
1523
+ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1524
+ configured by $[0], generated by m4_PACKAGE_STRING.
1525
+
1526
+ Copyright (C) 2011 Free Software Foundation, Inc.
1527
+ This config.lt script is free software; the Free Software Foundation
1528
+ gives unlimited permision to copy, distribute and modify it."
1529
+
1530
+ while test 0 != $[#]
1531
+ do
1532
+ case $[1] in
1533
+ --version | --v* | -V )
1534
+ echo "$lt_cl_version"; exit 0 ;;
1535
+ --help | --h* | -h )
1536
+ echo "$lt_cl_help"; exit 0 ;;
1537
+ --debug | --d* | -d )
1538
+ debug=: ;;
1539
+ --quiet | --q* | --silent | --s* | -q )
1540
+ lt_cl_silent=: ;;
1541
+
1542
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
1543
+ Try '$[0] --help' for more information.]) ;;
1544
+
1545
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
1546
+ Try '$[0] --help' for more information.]) ;;
1960
1547
  esac
1548
+ shift
1961
1549
  done
1962
- echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1963
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/install-sh.m4:21: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1964
- if test x"${install_sh}" != xset; then
1965
- case $am_aux_dir in
1966
- *\ * | *\ *)
1967
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1968
- *)
1969
- install_sh="\${SHELL} $am_aux_dir/install-sh"
1970
- esac
1971
- fi
1972
- AC_SUBST([install_sh])])
1973
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/lead-dot.m4:19: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1974
- mkdir .tst 2>/dev/null
1975
- if test -d .tst; then
1976
- am__leading_dot=.
1977
- else
1978
- am__leading_dot=_
1550
+
1551
+ if $lt_cl_silent; then
1552
+ exec AS_MESSAGE_FD>/dev/null
1979
1553
  fi
1980
- rmdir .tst 2>/dev/null
1981
- AC_SUBST([am__leading_dot])])
1982
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/make.m4:49: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1983
- cat > confinc << 'END'
1984
- am__doit:
1985
- @echo this is the am__doit target
1986
- .PHONY: am__doit
1987
- END
1988
- # If we don't find an include directive, just comment out the code.
1989
- AC_MSG_CHECKING([for style of include used by $am_make])
1990
- am__include="#"
1991
- am__quote=
1992
- _am_result=none
1993
- # First try GNU make style include.
1994
- echo "include confinc" > confmf
1995
- # Ignore all kinds of additional output from 'make'.
1996
- case `$am_make -s -f confmf 2> /dev/null` in #(
1997
- *the\ am__doit\ target*)
1998
- am__include=include
1999
- am__quote=
2000
- _am_result=GNU
2001
- ;;
1554
+ _LTEOF
1555
+
1556
+ cat >>"$CONFIG_LT" <<_LTEOF
1557
+ _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
1558
+ _LTEOF
1559
+
1560
+ cat >>"$CONFIG_LT" <<\_LTEOF
1561
+ AC_MSG_NOTICE([creating $ofile])
1562
+ _LT_OUTPUT_LIBTOOL_COMMANDS
1563
+ AS_EXIT(0)
1564
+ _LTEOF
1565
+ chmod +x "$CONFIG_LT"
1566
+
1567
+ # configure is writing to config.log, but config.lt does its own redirection,
1568
+ # appending to config.log, which fails on DOS, as config.log is still kept
1569
+ # open by configure. Here we exec the FD to /dev/null, effectively closing
1570
+ # config.log, so it can be properly (re)opened and appended to by config.lt.
1571
+ lt_cl_success=:
1572
+ test yes = "$silent" &&
1573
+ lt_config_lt_args="$lt_config_lt_args --quiet"
1574
+ exec AS_MESSAGE_LOG_FD>/dev/null
1575
+ $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1576
+ exec AS_MESSAGE_LOG_FD>>config.log
1577
+ $lt_cl_success || AS_EXIT(1)
1578
+ ])
1579
+ m4trace:m4/libtool.m4:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
1580
+ m4trace:m4/libtool.m4:836: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
1581
+ m4_case([$1],
1582
+ [C], [_LT_LANG(C)],
1583
+ [C++], [_LT_LANG(CXX)],
1584
+ [Go], [_LT_LANG(GO)],
1585
+ [Java], [_LT_LANG(GCJ)],
1586
+ [Fortran 77], [_LT_LANG(F77)],
1587
+ [Fortran], [_LT_LANG(FC)],
1588
+ [Windows Resource], [_LT_LANG(RC)],
1589
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
1590
+ [_LT_LANG($1)],
1591
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
1592
+ ])
1593
+ m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
1594
+ m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
1595
+ You should run autoupdate.])dnl
1596
+ LT_LANG(C++)])
1597
+ m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1598
+ m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
1599
+ You should run autoupdate.])dnl
1600
+ LT_LANG(Fortran 77)])
1601
+ m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1602
+ m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
1603
+ You should run autoupdate.])dnl
1604
+ LT_LANG(Fortran)])
1605
+ m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1606
+ m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
1607
+ You should run autoupdate.])dnl
1608
+ LT_LANG(Java)])
1609
+ m4trace:m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1610
+ m4trace:m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
1611
+ You should run autoupdate.])dnl
1612
+ LT_LANG(Windows Resource)])
1613
+ m4trace:m4/libtool.m4:1277: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
1614
+ AC_ARG_WITH([sysroot],
1615
+ [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1616
+ [Search for dependent libraries within DIR (or the compiler's sysroot
1617
+ if not specified).])],
1618
+ [], [with_sysroot=no])
1619
+
1620
+ dnl lt_sysroot will always be passed unquoted. We quote it here
1621
+ dnl in case the user passed a directory name.
1622
+ lt_sysroot=
1623
+ case $with_sysroot in #(
1624
+ yes)
1625
+ if test yes = "$GCC"; then
1626
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1627
+ fi
1628
+ ;; #(
1629
+ /*)
1630
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1631
+ ;; #(
1632
+ no|'')
1633
+ ;; #(
1634
+ *)
1635
+ AC_MSG_RESULT([$with_sysroot])
1636
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
1637
+ ;;
2002
1638
  esac
2003
- # Now try BSD make style include.
2004
- if test "$am__include" = "#"; then
2005
- echo '.include "confinc"' > confmf
2006
- case `$am_make -s -f confmf 2> /dev/null` in #(
2007
- *the\ am__doit\ target*)
2008
- am__include=.include
2009
- am__quote="\""
2010
- _am_result=BSD
2011
- ;;
2012
- esac
2013
- fi
2014
- AC_SUBST([am__include])
2015
- AC_SUBST([am__quote])
2016
- AC_MSG_RESULT([$_am_result])
2017
- rm -f confinc confmf
1639
+
1640
+ AC_MSG_RESULT([${lt_sysroot:-no}])
1641
+ _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1642
+ [dependent libraries, and where our libraries should be installed.])])
1643
+ m4trace:m4/libtool.m4:1617: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1644
+ m4_require([_LT_DECL_SED])dnl
1645
+ AC_CACHE_CHECK([$1], [$2],
1646
+ [$2=no
1647
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1648
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1649
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
1650
+ # Insert the option either (1) after the last *FLAGS variable, or
1651
+ # (2) before a word containing "conftest.", or (3) at the end.
1652
+ # Note that $ac_compile itself does not contain backslashes and begins
1653
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
1654
+ # The option is referenced via a variable to avoid confusing sed.
1655
+ lt_compile=`echo "$ac_compile" | $SED \
1656
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1657
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1658
+ -e 's:$: $lt_compiler_flag:'`
1659
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1660
+ (eval "$lt_compile" 2>conftest.err)
1661
+ ac_status=$?
1662
+ cat conftest.err >&AS_MESSAGE_LOG_FD
1663
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1664
+ if (exit $ac_status) && test -s "$ac_outfile"; then
1665
+ # The compiler can only warn and ignore the option if not recognized
1666
+ # So say no if there are warnings other than the usual output.
1667
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1668
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1669
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1670
+ $2=yes
1671
+ fi
1672
+ fi
1673
+ $RM conftest*
2018
1674
  ])
2019
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
2020
- $1=${$1-"${am_missing_run}$2"}
2021
- AC_SUBST($1)])
2022
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/missing.m4:38: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2023
- AC_REQUIRE_AUX_FILE([missing])dnl
2024
- if test x"${MISSING+set}" != xset; then
2025
- case $am_aux_dir in
2026
- *\ * | *\ *)
2027
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2028
- *)
2029
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
2030
- esac
1675
+
1676
+ if test yes = "[$]$2"; then
1677
+ m4_if([$5], , :, [$5])
1678
+ else
1679
+ m4_if([$6], , :, [$6])
2031
1680
  fi
2032
- # Use eval to expand $SHELL
2033
- if eval "$MISSING --is-lightweight"; then
2034
- am_missing_run="$MISSING "
1681
+ ])
1682
+ m4trace:m4/libtool.m4:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
1683
+ m4trace:m4/libtool.m4:1620: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
1684
+ You should run autoupdate.])dnl
1685
+ m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
1686
+ m4trace:m4/libtool.m4:1661: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1687
+ m4_require([_LT_DECL_SED])dnl
1688
+ AC_CACHE_CHECK([$1], [$2],
1689
+ [$2=no
1690
+ save_LDFLAGS=$LDFLAGS
1691
+ LDFLAGS="$LDFLAGS $3"
1692
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
1693
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1694
+ # The linker can only warn and ignore the option if not recognized
1695
+ # So say no if there are warnings
1696
+ if test -s conftest.err; then
1697
+ # Append any errors to the config.log.
1698
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
1699
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1700
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1701
+ if diff conftest.exp conftest.er2 >/dev/null; then
1702
+ $2=yes
1703
+ fi
1704
+ else
1705
+ $2=yes
1706
+ fi
1707
+ fi
1708
+ $RM -r conftest*
1709
+ LDFLAGS=$save_LDFLAGS
1710
+ ])
1711
+
1712
+ if test yes = "[$]$2"; then
1713
+ m4_if([$4], , :, [$4])
2035
1714
  else
2036
- am_missing_run=
2037
- AC_MSG_WARN(['missing' script is too old or missing])
1715
+ m4_if([$5], , :, [$5])
2038
1716
  fi
2039
1717
  ])
2040
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/options.m4:12: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
2041
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/options.m4:18: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
2042
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/options.m4:24: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2043
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/options.m4:30: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2044
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/prog-cc-c-o.m4:44: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2045
- AC_REQUIRE_AUX_FILE([compile])dnl
2046
- AC_LANG_PUSH([C])dnl
2047
- AC_CACHE_CHECK(
2048
- [whether $CC understands -c and -o together],
2049
- [am_cv_prog_cc_c_o],
2050
- [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
2051
- # Make sure it works both with $CC and with simple cc.
2052
- # Following AC_PROG_CC_C_O, we do the test twice because some
2053
- # compilers refuse to overwrite an existing .o file with -o,
2054
- # though they will create one.
2055
- am_cv_prog_cc_c_o=yes
2056
- for am_i in 1 2; do
2057
- if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
2058
- && test -f conftest2.$ac_objext; then
2059
- : OK
2060
- else
2061
- am_cv_prog_cc_c_o=no
2062
- break
2063
- fi
2064
- done
2065
- rm -f core conftest*
2066
- unset am_i])
2067
- if test "$am_cv_prog_cc_c_o" != yes; then
2068
- # Losing compiler, so override with the script.
2069
- # FIXME: It is wrong to rewrite CC.
2070
- # But if we don't then we get into trouble of one sort or another.
2071
- # A longer-term fix would be to have automake use am__CC in this case,
2072
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2073
- CC="$am_aux_dir/compile $CC"
2074
- fi
2075
- AC_LANG_POP([C])])
2076
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
2077
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2078
- ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2079
- ac_status=$?
2080
- echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2081
- (exit $ac_status); }])
2082
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/sanity.m4:82: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
2083
- # Reject unsafe characters in $srcdir or the absolute working directory
2084
- # name. Accept space and tab only in the latter.
2085
- am_lf='
2086
- '
2087
- case `pwd` in
2088
- *[[\\\"\#\$\&\'\`$am_lf]]*)
2089
- AC_MSG_ERROR([unsafe absolute working directory name]);;
2090
- esac
2091
- case $srcdir in
2092
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
2093
- AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
2094
- esac
2095
-
2096
- # Do 'set' in a subshell so we don't clobber the current shell's
2097
- # arguments. Must try -L first in case configure is actually a
2098
- # symlink; some systems play weird games with the mod time of symlinks
2099
- # (eg FreeBSD returns the mod time of the symlink's containing
2100
- # directory).
2101
- if (
2102
- am_has_slept=no
2103
- for am_try in 1 2; do
2104
- echo "timestamp, slept: $am_has_slept" > conftest.file
2105
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2106
- if test "$[*]" = "X"; then
2107
- # -L didn't work.
2108
- set X `ls -t "$srcdir/configure" conftest.file`
2109
- fi
2110
- if test "$[*]" != "X $srcdir/configure conftest.file" \
2111
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
1718
+ m4trace:m4/libtool.m4:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
1719
+ m4trace:m4/libtool.m4:1664: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
1720
+ You should run autoupdate.])dnl
1721
+ m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
1722
+ m4trace:m4/libtool.m4:1807: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1723
+ # find the maximum length of command line arguments
1724
+ AC_MSG_CHECKING([the maximum length of command line arguments])
1725
+ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1726
+ i=0
1727
+ teststring=ABCD
2112
1728
 
2113
- # If neither matched, then we have a broken ls. This can happen
2114
- # if, for instance, CONFIG_SHELL is bash and it inherits a
2115
- # broken ls alias from the environment. This has actually
2116
- # happened. Such a system could not be considered "sane".
2117
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2118
- alias in your environment])
2119
- fi
2120
- if test "$[2]" = conftest.file || test $am_try -eq 2; then
2121
- break
2122
- fi
2123
- # Just in case.
2124
- sleep 1
2125
- am_has_slept=yes
2126
- done
2127
- test "$[2]" = conftest.file
2128
- )
2129
- then
2130
- # Ok.
2131
- :
2132
- else
2133
- AC_MSG_ERROR([newly created file is older than distributed files!
2134
- Check your system clock])
2135
- fi
2136
- AC_MSG_RESULT([yes])
2137
- # If we didn't sleep, we still need to ensure time stamps of config.status and
2138
- # generated files are strictly newer.
2139
- am_sleep_pid=
2140
- if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2141
- ( sleep 1 ) &
2142
- am_sleep_pid=$!
2143
- fi
2144
- AC_CONFIG_COMMANDS_PRE(
2145
- [AC_MSG_CHECKING([that generated files are newer than configure])
2146
- if test -n "$am_sleep_pid"; then
2147
- # Hide warnings about reused PIDs.
2148
- wait $am_sleep_pid 2>/dev/null
2149
- fi
2150
- AC_MSG_RESULT([done])])
2151
- rm -f conftest.file
2152
- ])
2153
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/silent.m4:60: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
2154
- AS_HELP_STRING(
2155
- [--enable-silent-rules],
2156
- [less verbose build output (undo: "make V=1")])
2157
- AS_HELP_STRING(
2158
- [--disable-silent-rules],
2159
- [verbose build output (undo: "make V=0")])dnl
2160
- ])
2161
- case $enable_silent_rules in @%:@ (((
2162
- yes) AM_DEFAULT_VERBOSITY=0;;
2163
- no) AM_DEFAULT_VERBOSITY=1;;
2164
- *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2165
- esac
2166
- dnl
2167
- dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
2168
- dnl do not support nested variable expansions.
2169
- dnl See automake bug#9928 and bug#10237.
2170
- am_make=${MAKE-make}
2171
- AC_CACHE_CHECK([whether $am_make supports nested variables],
2172
- [am_cv_make_support_nested_variables],
2173
- [if AS_ECHO([['TRUE=$(BAR$(V))
2174
- BAR0=false
2175
- BAR1=true
2176
- V=1
2177
- am__doit:
2178
- @$(TRUE)
2179
- .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2180
- am_cv_make_support_nested_variables=yes
2181
- else
2182
- am_cv_make_support_nested_variables=no
2183
- fi])
2184
- if test $am_cv_make_support_nested_variables = yes; then
2185
- dnl Using '$V' instead of '$(V)' breaks IRIX make.
2186
- AM_V='$(V)'
2187
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2188
- else
2189
- AM_V=$AM_DEFAULT_VERBOSITY
2190
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2191
- fi
2192
- AC_SUBST([AM_V])dnl
2193
- AM_SUBST_NOTMAKE([AM_V])dnl
2194
- AC_SUBST([AM_DEFAULT_V])dnl
2195
- AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2196
- AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2197
- AM_BACKSLASH='\'
2198
- AC_SUBST([AM_BACKSLASH])dnl
2199
- _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2200
- ])
2201
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2202
- # Installed binaries are usually stripped using 'strip' when the user
2203
- # run "make install-strip". However 'strip' might not be the right
2204
- # tool to use in cross-compilation environments, therefore Automake
2205
- # will honor the 'STRIP' environment variable to overrule this program.
2206
- dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
2207
- if test "$cross_compiling" != no; then
2208
- AC_CHECK_TOOL([STRIP], [strip], :)
2209
- fi
2210
- INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2211
- AC_SUBST([INSTALL_STRIP_PROGRAM])])
2212
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2213
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2214
- m4trace:/usr/local/Cellar/automake/1.14.1/share/aclocal-1.14/tar.m4:132: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
2215
- # in the wild :-( We should find a proper way to deprecate it ...
2216
- AC_SUBST([AMTAR], ['$${TAR-tar}'])
1729
+ case $build_os in
1730
+ msdosdjgpp*)
1731
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
1732
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
1733
+ # during glob expansion). Even if it were fixed, the result of this
1734
+ # check would be larger than it should be.
1735
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
1736
+ ;;
2217
1737
 
2218
- # We'll loop over all known methods to create a tar archive until one works.
2219
- _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1738
+ gnu*)
1739
+ # Under GNU Hurd, this test is not required because there is
1740
+ # no limit to the length of command line arguments.
1741
+ # Libtool will interpret -1 as no limit whatsoever
1742
+ lt_cv_sys_max_cmd_len=-1;
1743
+ ;;
2220
1744
 
2221
- m4_if([$1], [v7],
2222
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1745
+ cygwin* | mingw* | cegcc*)
1746
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
1747
+ # about 5 minutes as the teststring grows exponentially.
1748
+ # Worse, since 9x/ME are not pre-emptively multitasking,
1749
+ # you end up with a "frozen" computer, even though with patience
1750
+ # the test eventually succeeds (with a max line length of 256k).
1751
+ # Instead, let's just punt: use the minimum linelength reported by
1752
+ # all of the supported platforms: 8192 (on NT/2K/XP).
1753
+ lt_cv_sys_max_cmd_len=8192;
1754
+ ;;
2223
1755
 
2224
- [m4_case([$1],
2225
- [ustar],
2226
- [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2227
- # There is notably a 21 bits limit for the UID and the GID. In fact,
2228
- # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2229
- # and bug#13588).
2230
- am_max_uid=2097151 # 2^21 - 1
2231
- am_max_gid=$am_max_uid
2232
- # The $UID and $GID variables are not portable, so we need to resort
2233
- # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2234
- # below are definitely unexpected, so allow the users to see them
2235
- # (that is, avoid stderr redirection).
2236
- am_uid=`id -u || echo unknown`
2237
- am_gid=`id -g || echo unknown`
2238
- AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
2239
- if test $am_uid -le $am_max_uid; then
2240
- AC_MSG_RESULT([yes])
2241
- else
2242
- AC_MSG_RESULT([no])
2243
- _am_tools=none
2244
- fi
2245
- AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
2246
- if test $am_gid -le $am_max_gid; then
2247
- AC_MSG_RESULT([yes])
2248
- else
2249
- AC_MSG_RESULT([no])
2250
- _am_tools=none
2251
- fi],
1756
+ mint*)
1757
+ # On MiNT this can take a long time and run out of memory.
1758
+ lt_cv_sys_max_cmd_len=8192;
1759
+ ;;
2252
1760
 
2253
- [pax],
2254
- [],
1761
+ amigaos*)
1762
+ # On AmigaOS with pdksh, this test takes hours, literally.
1763
+ # So we just punt and use a minimum line length of 8192.
1764
+ lt_cv_sys_max_cmd_len=8192;
1765
+ ;;
2255
1766
 
2256
- [m4_fatal([Unknown tar format])])
1767
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1768
+ # This has been around since 386BSD, at least. Likely further.
1769
+ if test -x /sbin/sysctl; then
1770
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1771
+ elif test -x /usr/sbin/sysctl; then
1772
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1773
+ else
1774
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1775
+ fi
1776
+ # And add a safety zone
1777
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1778
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1779
+ ;;
2257
1780
 
2258
- AC_MSG_CHECKING([how to create a $1 tar archive])
1781
+ interix*)
1782
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
1783
+ lt_cv_sys_max_cmd_len=196608
1784
+ ;;
2259
1785
 
2260
- # Go ahead even if we have the value already cached. We do so because we
2261
- # need to set the values for the 'am__tar' and 'am__untar' variables.
2262
- _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1786
+ os2*)
1787
+ # The test takes a long time on OS/2.
1788
+ lt_cv_sys_max_cmd_len=8192
1789
+ ;;
2263
1790
 
2264
- for _am_tool in $_am_tools; do
2265
- case $_am_tool in
2266
- gnutar)
2267
- for _am_tar in tar gnutar gtar; do
2268
- AM_RUN_LOG([$_am_tar --version]) && break
2269
- done
2270
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2271
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2272
- am__untar="$_am_tar -xf -"
2273
- ;;
2274
- plaintar)
2275
- # Must skip GNU tar: if it does not support --format= it doesn't create
2276
- # ustar tarball either.
2277
- (tar --version) >/dev/null 2>&1 && continue
2278
- am__tar='tar chf - "$$tardir"'
2279
- am__tar_='tar chf - "$tardir"'
2280
- am__untar='tar xf -'
2281
- ;;
2282
- pax)
2283
- am__tar='pax -L -x $1 -w "$$tardir"'
2284
- am__tar_='pax -L -x $1 -w "$tardir"'
2285
- am__untar='pax -r'
2286
- ;;
2287
- cpio)
2288
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2289
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2290
- am__untar='cpio -i -H $1 -d'
2291
- ;;
2292
- none)
2293
- am__tar=false
2294
- am__tar_=false
2295
- am__untar=false
2296
- ;;
2297
- esac
1791
+ osf*)
1792
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1793
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1794
+ # nice to cause kernel panics so lets avoid the loop below.
1795
+ # First set a reasonable default.
1796
+ lt_cv_sys_max_cmd_len=16384
1797
+ #
1798
+ if test -x /sbin/sysconfig; then
1799
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1800
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
1801
+ esac
1802
+ fi
1803
+ ;;
1804
+ sco3.2v5*)
1805
+ lt_cv_sys_max_cmd_len=102400
1806
+ ;;
1807
+ sysv5* | sco5v6* | sysv4.2uw2*)
1808
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1809
+ if test -n "$kargmax"; then
1810
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1811
+ else
1812
+ lt_cv_sys_max_cmd_len=32768
1813
+ fi
1814
+ ;;
1815
+ *)
1816
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1817
+ if test -n "$lt_cv_sys_max_cmd_len" && \
1818
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
1819
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1820
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1821
+ else
1822
+ # Make teststring a little bigger before we do anything with it.
1823
+ # a 1K string should be a reasonable start.
1824
+ for i in 1 2 3 4 5 6 7 8; do
1825
+ teststring=$teststring$teststring
1826
+ done
1827
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1828
+ # If test is not a shell built-in, we'll probably end up computing a
1829
+ # maximum length that is only half of the actual maximum length, but
1830
+ # we can't tell.
1831
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1832
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1833
+ test 17 != "$i" # 1/2 MB should be enough
1834
+ do
1835
+ i=`expr $i + 1`
1836
+ teststring=$teststring$teststring
1837
+ done
1838
+ # Only check the string length outside the loop.
1839
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1840
+ teststring=
1841
+ # Add a significant safety factor because C++ compilers can tack on
1842
+ # massive amounts of additional arguments before passing them to the
1843
+ # linker. It appears as though 1/2 is a usable value.
1844
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1845
+ fi
1846
+ ;;
1847
+ esac
1848
+ ])
1849
+ if test -n "$lt_cv_sys_max_cmd_len"; then
1850
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1851
+ else
1852
+ AC_MSG_RESULT(none)
1853
+ fi
1854
+ max_cmd_len=$lt_cv_sys_max_cmd_len
1855
+ _LT_DECL([], [max_cmd_len], [0],
1856
+ [What is the maximum length of a command?])
1857
+ ])
1858
+ m4trace:m4/libtool.m4:1810: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
1859
+ m4trace:m4/libtool.m4:1810: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
1860
+ You should run autoupdate.])dnl
1861
+ m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
1862
+ m4trace:m4/libtool.m4:2043: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
1863
+ if test yes != "$enable_dlopen"; then
1864
+ enable_dlopen=unknown
1865
+ enable_dlopen_self=unknown
1866
+ enable_dlopen_self_static=unknown
1867
+ else
1868
+ lt_cv_dlopen=no
1869
+ lt_cv_dlopen_libs=
2298
1870
 
2299
- # If the value was cached, stop now. We just wanted to have am__tar
2300
- # and am__untar set.
2301
- test -n "${am_cv_prog_tar_$1}" && break
1871
+ case $host_os in
1872
+ beos*)
1873
+ lt_cv_dlopen=load_add_on
1874
+ lt_cv_dlopen_libs=
1875
+ lt_cv_dlopen_self=yes
1876
+ ;;
2302
1877
 
2303
- # tar/untar a dummy directory, and stop if the command works.
2304
- rm -rf conftest.dir
2305
- mkdir conftest.dir
2306
- echo GrepMe > conftest.dir/file
2307
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2308
- rm -rf conftest.dir
2309
- if test -s conftest.tar; then
2310
- AM_RUN_LOG([$am__untar <conftest.tar])
2311
- AM_RUN_LOG([cat conftest.dir/file])
2312
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1878
+ mingw* | pw32* | cegcc*)
1879
+ lt_cv_dlopen=LoadLibrary
1880
+ lt_cv_dlopen_libs=
1881
+ ;;
1882
+
1883
+ cygwin*)
1884
+ lt_cv_dlopen=dlopen
1885
+ lt_cv_dlopen_libs=
1886
+ ;;
1887
+
1888
+ darwin*)
1889
+ # if libdl is installed we need to link against it
1890
+ AC_CHECK_LIB([dl], [dlopen],
1891
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1892
+ lt_cv_dlopen=dyld
1893
+ lt_cv_dlopen_libs=
1894
+ lt_cv_dlopen_self=yes
1895
+ ])
1896
+ ;;
1897
+
1898
+ tpf*)
1899
+ # Don't try to run any link tests for TPF. We know it's impossible
1900
+ # because TPF is a cross-compiler, and we know how we open DSOs.
1901
+ lt_cv_dlopen=dlopen
1902
+ lt_cv_dlopen_libs=
1903
+ lt_cv_dlopen_self=no
1904
+ ;;
1905
+
1906
+ *)
1907
+ AC_CHECK_FUNC([shl_load],
1908
+ [lt_cv_dlopen=shl_load],
1909
+ [AC_CHECK_LIB([dld], [shl_load],
1910
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1911
+ [AC_CHECK_FUNC([dlopen],
1912
+ [lt_cv_dlopen=dlopen],
1913
+ [AC_CHECK_LIB([dl], [dlopen],
1914
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1915
+ [AC_CHECK_LIB([svld], [dlopen],
1916
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1917
+ [AC_CHECK_LIB([dld], [dld_link],
1918
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1919
+ ])
1920
+ ])
1921
+ ])
1922
+ ])
1923
+ ])
1924
+ ;;
1925
+ esac
1926
+
1927
+ if test no = "$lt_cv_dlopen"; then
1928
+ enable_dlopen=no
1929
+ else
1930
+ enable_dlopen=yes
1931
+ fi
1932
+
1933
+ case $lt_cv_dlopen in
1934
+ dlopen)
1935
+ save_CPPFLAGS=$CPPFLAGS
1936
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1937
+
1938
+ save_LDFLAGS=$LDFLAGS
1939
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1940
+
1941
+ save_LIBS=$LIBS
1942
+ LIBS="$lt_cv_dlopen_libs $LIBS"
1943
+
1944
+ AC_CACHE_CHECK([whether a program can dlopen itself],
1945
+ lt_cv_dlopen_self, [dnl
1946
+ _LT_TRY_DLOPEN_SELF(
1947
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1948
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1949
+ ])
1950
+
1951
+ if test yes = "$lt_cv_dlopen_self"; then
1952
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1953
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1954
+ lt_cv_dlopen_self_static, [dnl
1955
+ _LT_TRY_DLOPEN_SELF(
1956
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1957
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1958
+ ])
1959
+ fi
1960
+
1961
+ CPPFLAGS=$save_CPPFLAGS
1962
+ LDFLAGS=$save_LDFLAGS
1963
+ LIBS=$save_LIBS
1964
+ ;;
1965
+ esac
1966
+
1967
+ case $lt_cv_dlopen_self in
1968
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1969
+ *) enable_dlopen_self=unknown ;;
1970
+ esac
1971
+
1972
+ case $lt_cv_dlopen_self_static in
1973
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1974
+ *) enable_dlopen_self_static=unknown ;;
1975
+ esac
1976
+ fi
1977
+ _LT_DECL([dlopen_support], [enable_dlopen], [0],
1978
+ [Whether dlopen is supported])
1979
+ _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
1980
+ [Whether dlopen of programs is supported])
1981
+ _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
1982
+ [Whether dlopen of statically linked programs is supported])
1983
+ ])
1984
+ m4trace:m4/libtool.m4:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
1985
+ m4trace:m4/libtool.m4:2046: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
1986
+ You should run autoupdate.])dnl
1987
+ m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
1988
+ m4trace:m4/libtool.m4:3214: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
1989
+ AC_MSG_CHECKING([for $1])
1990
+ AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
1991
+ [case $MAGIC_CMD in
1992
+ [[\\/*] | ?:[\\/]*])
1993
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1994
+ ;;
1995
+ *)
1996
+ lt_save_MAGIC_CMD=$MAGIC_CMD
1997
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1998
+ dnl $ac_dummy forces splitting on constant user-supplied paths.
1999
+ dnl POSIX.2 word splitting is done only on the output of word expansions,
2000
+ dnl not every word. This closes a longstanding sh security hole.
2001
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
2002
+ for ac_dir in $ac_dummy; do
2003
+ IFS=$lt_save_ifs
2004
+ test -z "$ac_dir" && ac_dir=.
2005
+ if test -f "$ac_dir/$1"; then
2006
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
2007
+ if test -n "$file_magic_test_file"; then
2008
+ case $deplibs_check_method in
2009
+ "file_magic "*)
2010
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2011
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2012
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2013
+ $EGREP "$file_magic_regex" > /dev/null; then
2014
+ :
2015
+ else
2016
+ cat <<_LT_EOF 1>&2
2017
+
2018
+ *** Warning: the command libtool uses to detect shared libraries,
2019
+ *** $file_magic_cmd, produces output that libtool cannot recognize.
2020
+ *** The result is that libtool may fail to recognize shared libraries
2021
+ *** as such. This will affect the creation of libtool libraries that
2022
+ *** depend on shared libraries, but programs linked with such libtool
2023
+ *** libraries will work regardless of this problem. Nevertheless, you
2024
+ *** may want to report the problem to your system manager and/or to
2025
+ *** bug-libtool@gnu.org
2026
+
2027
+ _LT_EOF
2028
+ fi ;;
2029
+ esac
2030
+ fi
2031
+ break
2313
2032
  fi
2314
2033
  done
2315
- rm -rf conftest.dir
2034
+ IFS=$lt_save_ifs
2035
+ MAGIC_CMD=$lt_save_MAGIC_CMD
2036
+ ;;
2037
+ esac])
2038
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2039
+ if test -n "$MAGIC_CMD"; then
2040
+ AC_MSG_RESULT($MAGIC_CMD)
2041
+ else
2042
+ AC_MSG_RESULT(no)
2043
+ fi
2044
+ _LT_DECL([], [MAGIC_CMD], [0],
2045
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2046
+ ])
2047
+ m4trace:m4/libtool.m4:3217: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2048
+ m4trace:m4/libtool.m4:3217: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
2049
+ You should run autoupdate.])dnl
2050
+ m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2051
+ m4trace:m4/libtool.m4:3326: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
2052
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
2053
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2054
+ m4_require([_LT_DECL_SED])dnl
2055
+ m4_require([_LT_DECL_EGREP])dnl
2056
+ m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
2316
2057
 
2317
- AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2318
- AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2058
+ AC_ARG_WITH([gnu-ld],
2059
+ [AS_HELP_STRING([--with-gnu-ld],
2060
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2061
+ [test no = "$withval" || with_gnu_ld=yes],
2062
+ [with_gnu_ld=no])dnl
2319
2063
 
2320
- AC_SUBST([am__tar])
2321
- AC_SUBST([am__untar])
2064
+ ac_prog=ld
2065
+ if test yes = "$GCC"; then
2066
+ # Check if gcc -print-prog-name=ld gives a path.
2067
+ AC_MSG_CHECKING([for ld used by $CC])
2068
+ case $host in
2069
+ *-*-mingw*)
2070
+ # gcc leaves a trailing carriage return, which upsets mingw
2071
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2072
+ *)
2073
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2074
+ esac
2075
+ case $ac_prog in
2076
+ # Accept absolute paths.
2077
+ [[\\/]]* | ?:[[\\/]]*)
2078
+ re_direlt='/[[^/]][[^/]]*/\.\./'
2079
+ # Canonicalize the pathname of ld
2080
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
2081
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
2082
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
2083
+ done
2084
+ test -z "$LD" && LD=$ac_prog
2085
+ ;;
2086
+ "")
2087
+ # If it fails, then pretend we aren't using GCC.
2088
+ ac_prog=ld
2089
+ ;;
2090
+ *)
2091
+ # If it is relative, then search for the first ld in PATH.
2092
+ with_gnu_ld=unknown
2093
+ ;;
2094
+ esac
2095
+ elif test yes = "$with_gnu_ld"; then
2096
+ AC_MSG_CHECKING([for GNU ld])
2097
+ else
2098
+ AC_MSG_CHECKING([for non-GNU ld])
2099
+ fi
2100
+ AC_CACHE_VAL(lt_cv_path_LD,
2101
+ [if test -z "$LD"; then
2102
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2103
+ for ac_dir in $PATH; do
2104
+ IFS=$lt_save_ifs
2105
+ test -z "$ac_dir" && ac_dir=.
2106
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2107
+ lt_cv_path_LD=$ac_dir/$ac_prog
2108
+ # Check to see if the program is GNU ld. I'd rather use --version,
2109
+ # but apparently some variants of GNU ld only accept -v.
2110
+ # Break only if it was the GNU/non-GNU ld that we prefer.
2111
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2112
+ *GNU* | *'with BFD'*)
2113
+ test no != "$with_gnu_ld" && break
2114
+ ;;
2115
+ *)
2116
+ test yes != "$with_gnu_ld" && break
2117
+ ;;
2118
+ esac
2119
+ fi
2120
+ done
2121
+ IFS=$lt_save_ifs
2122
+ else
2123
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
2124
+ fi])
2125
+ LD=$lt_cv_path_LD
2126
+ if test -n "$LD"; then
2127
+ AC_MSG_RESULT($LD)
2128
+ else
2129
+ AC_MSG_RESULT(no)
2130
+ fi
2131
+ test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2132
+ _LT_PATH_LD_GNU
2133
+ AC_SUBST([LD])
2134
+
2135
+ _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
2136
+ ])
2137
+ m4trace:m4/libtool.m4:3329: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2138
+ m4trace:m4/libtool.m4:3329: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
2139
+ You should run autoupdate.])dnl
2140
+ m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2141
+ m4trace:m4/libtool.m4:3330: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2142
+ m4trace:m4/libtool.m4:3330: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
2143
+ You should run autoupdate.])dnl
2144
+ m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2145
+ m4trace:m4/libtool.m4:3751: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
2146
+ AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
2147
+ [if test -n "$NM"; then
2148
+ # Let the user override the test.
2149
+ lt_cv_path_NM=$NM
2150
+ else
2151
+ lt_nm_to_check=${ac_tool_prefix}nm
2152
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2153
+ lt_nm_to_check="$lt_nm_to_check nm"
2154
+ fi
2155
+ for lt_tmp_nm in $lt_nm_to_check; do
2156
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2157
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2158
+ IFS=$lt_save_ifs
2159
+ test -z "$ac_dir" && ac_dir=.
2160
+ tmp_nm=$ac_dir/$lt_tmp_nm
2161
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
2162
+ # Check to see if the nm accepts a BSD-compat flag.
2163
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
2164
+ # nm: unknown option "B" ignored
2165
+ # Tru64's nm complains that /dev/null is an invalid object file
2166
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
2167
+ case $build_os in
2168
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
2169
+ *) lt_bad_file=/dev/null ;;
2170
+ esac
2171
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
2172
+ *$lt_bad_file* | *'Invalid file or object type'*)
2173
+ lt_cv_path_NM="$tmp_nm -B"
2174
+ break 2
2175
+ ;;
2176
+ *)
2177
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2178
+ */dev/null*)
2179
+ lt_cv_path_NM="$tmp_nm -p"
2180
+ break 2
2181
+ ;;
2182
+ *)
2183
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2184
+ continue # so that we can try to find one that supports BSD flags
2185
+ ;;
2186
+ esac
2187
+ ;;
2188
+ esac
2189
+ fi
2190
+ done
2191
+ IFS=$lt_save_ifs
2192
+ done
2193
+ : ${lt_cv_path_NM=no}
2194
+ fi])
2195
+ if test no != "$lt_cv_path_NM"; then
2196
+ NM=$lt_cv_path_NM
2197
+ else
2198
+ # Didn't find any BSD compatible name lister, look for dumpbin.
2199
+ if test -n "$DUMPBIN"; then :
2200
+ # Let the user override the test.
2201
+ else
2202
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
2203
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
2204
+ *COFF*)
2205
+ DUMPBIN="$DUMPBIN -symbols -headers"
2206
+ ;;
2207
+ *)
2208
+ DUMPBIN=:
2209
+ ;;
2210
+ esac
2211
+ fi
2212
+ AC_SUBST([DUMPBIN])
2213
+ if test : != "$DUMPBIN"; then
2214
+ NM=$DUMPBIN
2215
+ fi
2216
+ fi
2217
+ test -z "$NM" && NM=nm
2218
+ AC_SUBST([NM])
2219
+ _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
2220
+
2221
+ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
2222
+ [lt_cv_nm_interface="BSD nm"
2223
+ echo "int some_variable = 0;" > conftest.$ac_ext
2224
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
2225
+ (eval "$ac_compile" 2>conftest.err)
2226
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2227
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
2228
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
2229
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2230
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
2231
+ cat conftest.out >&AS_MESSAGE_LOG_FD
2232
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
2233
+ lt_cv_nm_interface="MS dumpbin"
2234
+ fi
2235
+ rm -f conftest*])
2236
+ ])
2237
+ m4trace:m4/libtool.m4:3754: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2238
+ m4trace:m4/libtool.m4:3754: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
2239
+ You should run autoupdate.])dnl
2240
+ m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2241
+ m4trace:m4/libtool.m4:3755: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2242
+ m4trace:m4/libtool.m4:3755: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
2243
+ You should run autoupdate.])dnl
2244
+ m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2245
+ m4trace:m4/libtool.m4:3834: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
2246
+ test DEF = "`$SED -n dnl
2247
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
2248
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
2249
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
2250
+ -e q dnl Only consider the first "real" line
2251
+ $1`" dnl
2252
+ ])
2253
+ m4trace:m4/libtool.m4:3856: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2254
+ LIBM=
2255
+ case $host in
2256
+ *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
2257
+ # These system don't have libm, or don't need it
2258
+ ;;
2259
+ *-ncr-sysv4.3*)
2260
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
2261
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2262
+ ;;
2263
+ *)
2264
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
2265
+ ;;
2266
+ esac
2267
+ AC_SUBST([LIBM])
2268
+ ])
2269
+ m4trace:m4/libtool.m4:3859: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2270
+ m4trace:m4/libtool.m4:3859: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
2271
+ You should run autoupdate.])dnl
2272
+ m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2273
+ m4trace:m4/libtool.m4:8128: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
2274
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
2275
+ [AC_CHECK_TOOL(GCJ, gcj,)
2276
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
2277
+ AC_SUBST(GCJFLAGS)])])[]dnl
2278
+ ])
2279
+ m4trace:m4/libtool.m4:8131: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2280
+ m4trace:m4/libtool.m4:8131: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
2281
+ You should run autoupdate.])dnl
2282
+ m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2283
+ m4trace:m4/libtool.m4:8140: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
2284
+ ])
2285
+ m4trace:m4/libtool.m4:8147: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
2286
+ ])
2287
+ m4trace:m4/libtool.m4:8150: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2288
+ m4trace:m4/libtool.m4:8150: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
2289
+ You should run autoupdate.])dnl
2290
+ m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2291
+ m4trace:m4/libtool.m4:8270: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2292
+ m4trace:m4/libtool.m4:8270: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
2293
+ You should run autoupdate.])dnl
2294
+ m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2295
+ m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
2296
+ m4trace:m4/ltoptions.m4:118: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
2297
+ AC_DIAGNOSE([obsolete],
2298
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2299
+ put the 'dlopen' option into LT_INIT's first parameter.])
2300
+ ])
2301
+ m4trace:m4/ltoptions.m4:118: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
2302
+ You should run autoupdate.])dnl
2303
+ _LT_SET_OPTION([LT_INIT], [dlopen])
2304
+ AC_DIAGNOSE([obsolete],
2305
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2306
+ put the 'dlopen' option into LT_INIT's first parameter.])
2307
+ ])
2308
+ m4trace:m4/ltoptions.m4:154: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2309
+ _LT_SET_OPTION([LT_INIT], [win32-dll])
2310
+ AC_DIAGNOSE([obsolete],
2311
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2312
+ put the 'win32-dll' option into LT_INIT's first parameter.])
2313
+ ])
2314
+ m4trace:m4/ltoptions.m4:154: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
2315
+ You should run autoupdate.])dnl
2316
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
2317
+ _LT_SET_OPTION([LT_INIT], [win32-dll])
2318
+ AC_DIAGNOSE([obsolete],
2319
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2320
+ put the 'win32-dll' option into LT_INIT's first parameter.])
2321
+ ])
2322
+ m4trace:m4/ltoptions.m4:199: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
2323
+ ])
2324
+ m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
2325
+ ])
2326
+ m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
2327
+ m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
2328
+ You should run autoupdate.])dnl
2329
+ AC_ENABLE_SHARED($@)])
2330
+ m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
2331
+ m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
2332
+ You should run autoupdate.])dnl
2333
+ AC_DISABLE_SHARED($@)])
2334
+ m4trace:m4/ltoptions.m4:253: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
2335
+ ])
2336
+ m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
2337
+ ])
2338
+ m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
2339
+ m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
2340
+ You should run autoupdate.])dnl
2341
+ AC_ENABLE_STATIC($@)])
2342
+ m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
2343
+ m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
2344
+ You should run autoupdate.])dnl
2345
+ AC_DISABLE_STATIC($@)])
2346
+ m4trace:m4/ltoptions.m4:310: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
2347
+ AC_DIAGNOSE([obsolete],
2348
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
2349
+ the 'fast-install' option into LT_INIT's first parameter.])
2350
+ ])
2351
+ m4trace:m4/ltoptions.m4:310: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
2352
+ You should run autoupdate.])dnl
2353
+ _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
2354
+ AC_DIAGNOSE([obsolete],
2355
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
2356
+ the 'fast-install' option into LT_INIT's first parameter.])
2357
+ ])
2358
+ m4trace:m4/ltoptions.m4:317: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
2359
+ AC_DIAGNOSE([obsolete],
2360
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
2361
+ the 'disable-fast-install' option into LT_INIT's first parameter.])
2362
+ ])
2363
+ m4trace:m4/ltoptions.m4:317: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
2364
+ You should run autoupdate.])dnl
2365
+ _LT_SET_OPTION([LT_INIT], [disable-fast-install])
2366
+ AC_DIAGNOSE([obsolete],
2367
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
2368
+ the 'disable-fast-install' option into LT_INIT's first parameter.])
2369
+ ])
2370
+ m4trace:m4/ltoptions.m4:416: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
2371
+ AC_DIAGNOSE([obsolete],
2372
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2373
+ put the 'pic-only' option into LT_INIT's first parameter.])
2374
+ ])
2375
+ m4trace:m4/ltoptions.m4:416: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
2376
+ You should run autoupdate.])dnl
2377
+ _LT_SET_OPTION([LT_INIT], [pic-only])
2378
+ AC_DIAGNOSE([obsolete],
2379
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2380
+ put the 'pic-only' option into LT_INIT's first parameter.])
2381
+ ])
2382
+ m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
2383
+ m4trace:m4/ltversion.m4:23: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6'
2384
+ macro_revision='2.4.6'
2385
+ _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2386
+ _LT_DECL(, macro_revision, 0)
2322
2387
  ])
2388
+ m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
2389
+ m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
2390
+ m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
2391
+ m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
2392
+ m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
2393
+ m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
2394
+ m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
2395
+ m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
2396
+ m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
2397
+ m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
2398
+ m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
2399
+ m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
2400
+ m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
2401
+ m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
2402
+ m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
2403
+ m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
2404
+ m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
2405
+ m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
2406
+ m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
2407
+ m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
2408
+ m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
2409
+ m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
2410
+ m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
2411
+ m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
2412
+ m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
2413
+ m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
2414
+ m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
2415
+ m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
2416
+ m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
2417
+ m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
2418
+ m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
2419
+ m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
2420
+ m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
2421
+ m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
2422
+ m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
2423
+ m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
2424
+ m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
2425
+ m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
2426
+ m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
2427
+ m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
2428
+ m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
2429
+ m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
2430
+ m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
2431
+ m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
2432
+ m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
2433
+ m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
2434
+ m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
2435
+ m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
2436
+ m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
2437
+ m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
2438
+ m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
2323
2439
  m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
2324
2440
  m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
2325
2441
  m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
@@ -2375,7 +2491,7 @@ m4trace:configure.ac:13: -1- AC_CONFIG_MACRO_DIR([m4])
2375
2491
  m4trace:configure.ac:16: -1- AM_INIT_AUTOMAKE([1.9 foreign])
2376
2492
  m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2377
2493
  m4trace:configure.ac:16: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2378
- m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.14.1])
2494
+ m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.15])
2379
2495
  m4trace:configure.ac:16: -1- _AM_AUTOCONF_VERSION([2.69])
2380
2496
  m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2381
2497
  m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
@@ -2524,7 +2640,7 @@ m4trace:configure.ac:34: -1- m4_pattern_allow([^SET_MAKE$])
2524
2640
  m4trace:configure.ac:35: -1- m4_pattern_allow([^RANLIB$])
2525
2641
  m4trace:configure.ac:36: -1- AC_PROG_LIBTOOL
2526
2642
  m4trace:configure.ac:36: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2527
- You should run autoupdate.], [/usr/local/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
2643
+ You should run autoupdate.], [m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
2528
2644
  configure.ac:36: the top level])
2529
2645
  m4trace:configure.ac:36: -1- LT_INIT
2530
2646
  m4trace:configure.ac:36: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
@@ -2584,13 +2700,16 @@ m4trace:configure.ac:36: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAG
2584
2700
  _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
2585
2701
  m4trace:configure.ac:36: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
2586
2702
  m4trace:configure.ac:36: -1- m4_pattern_allow([^MANIFEST_TOOL$])
2703
+ m4trace:configure.ac:36: -1- _LT_DLL_DEF_P([$export_symbols])
2704
+ m4trace:configure.ac:36: -1- _LT_DLL_DEF_P([$export_symbols])
2587
2705
  m4trace:configure.ac:36: -1- _LT_REQUIRED_DARWIN_CHECKS
2588
2706
  m4trace:configure.ac:36: -1- m4_pattern_allow([^DSYMUTIL$])
2589
2707
  m4trace:configure.ac:36: -1- m4_pattern_allow([^NMEDIT$])
2590
2708
  m4trace:configure.ac:36: -1- m4_pattern_allow([^LIPO$])
2591
2709
  m4trace:configure.ac:36: -1- m4_pattern_allow([^OTOOL$])
2592
2710
  m4trace:configure.ac:36: -1- m4_pattern_allow([^OTOOL64$])
2593
- m4trace:configure.ac:36: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
2711
+ m4trace:configure.ac:36: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
2712
+ m4trace:configure.ac:36: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
2594
2713
  m4trace:configure.ac:36: -1- LT_SYS_DLOPEN_SELF
2595
2714
  m4trace:configure.ac:36: -1- m4_pattern_allow([^STDC_HEADERS$])
2596
2715
  m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
@@ -2604,12 +2723,15 @@ m4trace:configure.ac:36: -1- _LT_LINKER_BOILERPLATE
2604
2723
  m4trace:configure.ac:36: -1- _LT_CC_BASENAME([$compiler])
2605
2724
  m4trace:configure.ac:36: -1- LT_PATH_LD
2606
2725
  m4trace:configure.ac:36: -1- m4_pattern_allow([^LD$])
2726
+ m4trace:configure.ac:36: -1- _LT_DLL_DEF_P([$export_symbols])
2727
+ m4trace:configure.ac:36: -1- _LT_DLL_DEF_P([$export_symbols])
2607
2728
  m4trace:configure.ac:36: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
2608
2729
  "" | " "*) ;;
2609
2730
  *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
2610
2731
  esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
2611
2732
  _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
2612
2733
  m4trace:configure.ac:36: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
2734
+ m4trace:configure.ac:36: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
2613
2735
  m4trace:configure.ac:40: -1- m4_pattern_allow([^int8_t$])
2614
2736
  m4trace:configure.ac:41: -1- m4_pattern_allow([^int16_t$])
2615
2737
  m4trace:configure.ac:42: -1- m4_pattern_allow([^int32_t$])
@@ -2696,20 +2818,25 @@ m4trace:configure.ac:160: -1- m4_pattern_allow([^OS_SOLARIS_TRUE$])
2696
2818
  m4trace:configure.ac:160: -1- m4_pattern_allow([^OS_SOLARIS_FALSE$])
2697
2819
  m4trace:configure.ac:160: -1- _AM_SUBST_NOTMAKE([OS_SOLARIS_TRUE])
2698
2820
  m4trace:configure.ac:160: -1- _AM_SUBST_NOTMAKE([OS_SOLARIS_FALSE])
2699
- m4trace:configure.ac:182: -1- m4_pattern_allow([^HAVE_ASSERT_PANIC$])
2700
- m4trace:configure.ac:182: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2701
- m4trace:configure.ac:182: -1- m4_pattern_allow([^HAVE_ASSERT_LOG$])
2702
- m4trace:configure.ac:182: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2703
- m4trace:configure.ac:182: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2704
- m4trace:configure.ac:195: -1- m4_pattern_allow([^HAVE_STATS$])
2705
- m4trace:configure.ac:202: -1- m4_pattern_allow([^subdirs$])
2706
- m4trace:configure.ac:213: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2707
- m4trace:configure.ac:213: -1- m4_pattern_allow([^LTLIBOBJS$])
2708
- m4trace:configure.ac:213: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
2709
- m4trace:configure.ac:213: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
2710
- m4trace:configure.ac:213: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
2711
- m4trace:configure.ac:213: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2712
- m4trace:configure.ac:213: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2713
- m4trace:configure.ac:213: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
2714
- m4trace:configure.ac:213: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2715
- m4trace:configure.ac:213: -1- _LT_PROG_LTMAIN
2821
+ m4trace:configure.ac:161: -1- AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" == "FreeBSD 10"])
2822
+ m4trace:configure.ac:161: -1- m4_pattern_allow([^OS_FREEBSD_TRUE$])
2823
+ m4trace:configure.ac:161: -1- m4_pattern_allow([^OS_FREEBSD_FALSE$])
2824
+ m4trace:configure.ac:161: -1- _AM_SUBST_NOTMAKE([OS_FREEBSD_TRUE])
2825
+ m4trace:configure.ac:161: -1- _AM_SUBST_NOTMAKE([OS_FREEBSD_FALSE])
2826
+ m4trace:configure.ac:183: -1- m4_pattern_allow([^HAVE_ASSERT_PANIC$])
2827
+ m4trace:configure.ac:183: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2828
+ m4trace:configure.ac:183: -1- m4_pattern_allow([^HAVE_ASSERT_LOG$])
2829
+ m4trace:configure.ac:183: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2830
+ m4trace:configure.ac:183: -1- m4_pattern_allow([^HAVE_DEBUG_LOG$])
2831
+ m4trace:configure.ac:196: -1- m4_pattern_allow([^HAVE_STATS$])
2832
+ m4trace:configure.ac:203: -1- m4_pattern_allow([^subdirs$])
2833
+ m4trace:configure.ac:214: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2834
+ m4trace:configure.ac:214: -1- m4_pattern_allow([^LTLIBOBJS$])
2835
+ m4trace:configure.ac:214: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
2836
+ m4trace:configure.ac:214: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
2837
+ m4trace:configure.ac:214: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
2838
+ m4trace:configure.ac:214: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2839
+ m4trace:configure.ac:214: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2840
+ m4trace:configure.ac:214: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
2841
+ m4trace:configure.ac:214: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2842
+ m4trace:configure.ac:214: -1- _LT_PROG_LTMAIN