1m4trace:/usr/local/share/aclocal/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
2AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
3AC_BEFORE([$0], [LT_LANG])dnl
4AC_BEFORE([$0], [LT_OUTPUT])dnl
5AC_BEFORE([$0], [LTDL_INIT])dnl
6m4_require([_LT_CHECK_BUILDDIR])dnl
7
8dnl Autoconf doesn't catch unexpanded LT_ macros by default:
9m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
10m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
11dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
12dnl unless we require an AC_DEFUNed macro:
13AC_REQUIRE([LTOPTIONS_VERSION])dnl
14AC_REQUIRE([LTSUGAR_VERSION])dnl
15AC_REQUIRE([LTVERSION_VERSION])dnl
16AC_REQUIRE([LTOBSOLETE_VERSION])dnl
17m4_require([_LT_PROG_LTMAIN])dnl
18
19_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
20
21dnl Parse OPTIONS
22_LT_SET_OPTIONS([$0], [$1])
23
24# This can be used to rebuild libtool when needed
25LIBTOOL_DEPS=$ltmain
26
27# Always use our own libtool.
28LIBTOOL='$(SHELL) $(top_builddir)/libtool'
29AC_SUBST(LIBTOOL)dnl
30
31_LT_SETUP
32
33# Only expand once:
34m4_define([LT_INIT])
35])
36m4trace:/usr/local/share/aclocal/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
37m4trace:/usr/local/share/aclocal/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
38You should run autoupdate.])dnl
39m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
40m4trace:/usr/local/share/aclocal/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
41m4trace:/usr/local/share/aclocal/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
42You should run autoupdate.])dnl
43m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
44m4trace:/usr/local/share/aclocal/libtool.m4:619: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
45AC_MSG_NOTICE([creating $CONFIG_LT])
46_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
47[# Run this file to recreate a libtool stub with the current configuration.])
48
49cat >>"$CONFIG_LT" <<\_LTEOF
50lt_cl_silent=false
51exec AS_MESSAGE_LOG_FD>>config.log
52{
53  echo
54  AS_BOX([Running $as_me.])
55} >&AS_MESSAGE_LOG_FD
56
57lt_cl_help="\
58'$as_me' creates a local libtool stub from the current configuration,
59for use in further configure time tests before the real libtool is
60generated.
61
62Usage: $[0] [[OPTIONS]]
63
64  -h, --help      print this help, then exit
65  -V, --version   print version number, then exit
66  -q, --quiet     do not print progress messages
67  -d, --debug     don't remove temporary files
68
69Report bugs to <bug-libtool@gnu.org>."
70
71lt_cl_version="\
72m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
73m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
74configured by $[0], generated by m4_PACKAGE_STRING.
75
76Copyright (C) 2011 Free Software Foundation, Inc.
77This config.lt script is free software; the Free Software Foundation
78gives unlimited permision to copy, distribute and modify it."
79
80while test 0 != $[#]
81do
82  case $[1] in
83    --version | --v* | -V )
84      echo "$lt_cl_version"; exit 0 ;;
85    --help | --h* | -h )
86      echo "$lt_cl_help"; exit 0 ;;
87    --debug | --d* | -d )
88      debug=: ;;
89    --quiet | --q* | --silent | --s* | -q )
90      lt_cl_silent=: ;;
91
92    -*) AC_MSG_ERROR([unrecognized option: $[1]
93Try '$[0] --help' for more information.]) ;;
94
95    *) AC_MSG_ERROR([unrecognized argument: $[1]
96Try '$[0] --help' for more information.]) ;;
97  esac
98  shift
99done
100
101if $lt_cl_silent; then
102  exec AS_MESSAGE_FD>/dev/null
103fi
104_LTEOF
105
106cat >>"$CONFIG_LT" <<_LTEOF
107_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
108_LTEOF
109
110cat >>"$CONFIG_LT" <<\_LTEOF
111AC_MSG_NOTICE([creating $ofile])
112_LT_OUTPUT_LIBTOOL_COMMANDS
113AS_EXIT(0)
114_LTEOF
115chmod +x "$CONFIG_LT"
116
117# configure is writing to config.log, but config.lt does its own redirection,
118# appending to config.log, which fails on DOS, as config.log is still kept
119# open by configure.  Here we exec the FD to /dev/null, effectively closing
120# config.log, so it can be properly (re)opened and appended to by config.lt.
121lt_cl_success=:
122test yes = "$silent" &&
123  lt_config_lt_args="$lt_config_lt_args --quiet"
124exec AS_MESSAGE_LOG_FD>/dev/null
125$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
126exec AS_MESSAGE_LOG_FD>>config.log
127$lt_cl_success || AS_EXIT(1)
128])
129m4trace:/usr/local/share/aclocal/libtool.m4:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
130m4trace:/usr/local/share/aclocal/libtool.m4:823: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
131m4_case([$1],
132  [C],			[_LT_LANG(C)],
133  [C++],		[_LT_LANG(CXX)],
134  [Go],			[_LT_LANG(GO)],
135  [Java],		[_LT_LANG(GCJ)],
136  [Fortran 77],		[_LT_LANG(F77)],
137  [Fortran],		[_LT_LANG(FC)],
138  [Windows Resource],	[_LT_LANG(RC)],
139  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
140    [_LT_LANG($1)],
141    [m4_fatal([$0: unsupported language: "$1"])])])dnl
142])
143m4trace:/usr/local/share/aclocal/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
144m4trace:/usr/local/share/aclocal/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
145You should run autoupdate.])dnl
146LT_LANG(C++)])
147m4trace:/usr/local/share/aclocal/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
148m4trace:/usr/local/share/aclocal/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
149You should run autoupdate.])dnl
150LT_LANG(Fortran 77)])
151m4trace:/usr/local/share/aclocal/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
152m4trace:/usr/local/share/aclocal/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
153You should run autoupdate.])dnl
154LT_LANG(Fortran)])
155m4trace:/usr/local/share/aclocal/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
156m4trace:/usr/local/share/aclocal/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
157You should run autoupdate.])dnl
158LT_LANG(Java)])
159m4trace:/usr/local/share/aclocal/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
160m4trace:/usr/local/share/aclocal/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
161You should run autoupdate.])dnl
162LT_LANG(Windows Resource)])
163m4trace:/usr/local/share/aclocal/libtool.m4:1247: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
164AC_ARG_WITH([sysroot],
165[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
166  [Search for dependent libraries within DIR (or the compiler's sysroot
167   if not specified).])],
168[], [with_sysroot=no])
169
170dnl lt_sysroot will always be passed unquoted.  We quote it here
171dnl in case the user passed a directory name.
172lt_sysroot=
173case $with_sysroot in #(
174 yes)
175   if test yes = "$GCC"; then
176     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
177   fi
178   ;; #(
179 /*)
180   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
181   ;; #(
182 no|'')
183   ;; #(
184 *)
185   AC_MSG_RESULT([$with_sysroot])
186   AC_MSG_ERROR([The sysroot must be an absolute path.])
187   ;;
188esac
189
190 AC_MSG_RESULT([${lt_sysroot:-no}])
191_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
192[dependent libraries, and where our libraries should be installed.])])
193m4trace:/usr/local/share/aclocal/libtool.m4:1578: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
194m4_require([_LT_DECL_SED])dnl
195AC_CACHE_CHECK([$1], [$2],
196  [$2=no
197   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
198   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
199   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
200   # Insert the option either (1) after the last *FLAGS variable, or
201   # (2) before a word containing "conftest.", or (3) at the end.
202   # Note that $ac_compile itself does not contain backslashes and begins
203   # with a dollar sign (not a hyphen), so the echo should work correctly.
204   # The option is referenced via a variable to avoid confusing sed.
205   lt_compile=`echo "$ac_compile" | $SED \
206   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
207   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
208   -e 's:$: $lt_compiler_flag:'`
209   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
210   (eval "$lt_compile" 2>conftest.err)
211   ac_status=$?
212   cat conftest.err >&AS_MESSAGE_LOG_FD
213   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
214   if (exit $ac_status) && test -s "$ac_outfile"; then
215     # The compiler can only warn and ignore the option if not recognized
216     # So say no if there are warnings other than the usual output.
217     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
218     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
219     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
220       $2=yes
221     fi
222   fi
223   $RM conftest*
224])
225
226if test yes = "[$]$2"; then
227    m4_if([$5], , :, [$5])
228else
229    m4_if([$6], , :, [$6])
230fi
231])
232m4trace:/usr/local/share/aclocal/libtool.m4:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
233m4trace:/usr/local/share/aclocal/libtool.m4:1620: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
234You should run autoupdate.])dnl
235m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
236m4trace:/usr/local/share/aclocal/libtool.m4:1629: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
237m4_require([_LT_DECL_SED])dnl
238AC_CACHE_CHECK([$1], [$2],
239  [$2=no
240   save_LDFLAGS=$LDFLAGS
241   LDFLAGS="$LDFLAGS $3"
242   echo "$lt_simple_link_test_code" > conftest.$ac_ext
243   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
244     # The linker can only warn and ignore the option if not recognized
245     # So say no if there are warnings
246     if test -s conftest.err; then
247       # Append any errors to the config.log.
248       cat conftest.err 1>&AS_MESSAGE_LOG_FD
249       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
250       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
251       if diff conftest.exp conftest.er2 >/dev/null; then
252         $2=yes
253       fi
254     else
255       $2=yes
256     fi
257   fi
258   $RM -r conftest*
259   LDFLAGS=$save_LDFLAGS
260])
261
262if test yes = "[$]$2"; then
263    m4_if([$4], , :, [$4])
264else
265    m4_if([$5], , :, [$5])
266fi
267])
268m4trace:/usr/local/share/aclocal/libtool.m4:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
269m4trace:/usr/local/share/aclocal/libtool.m4:1664: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
270You should run autoupdate.])dnl
271m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
272m4trace:/usr/local/share/aclocal/libtool.m4:1671: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
273# find the maximum length of command line arguments
274AC_MSG_CHECKING([the maximum length of command line arguments])
275AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
276  i=0
277  teststring=ABCD
278
279  case $build_os in
280  msdosdjgpp*)
281    # On DJGPP, this test can blow up pretty badly due to problems in libc
282    # (any single argument exceeding 2000 bytes causes a buffer overrun
283    # during glob expansion).  Even if it were fixed, the result of this
284    # check would be larger than it should be.
285    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
286    ;;
287
288  gnu*)
289    # Under GNU Hurd, this test is not required because there is
290    # no limit to the length of command line arguments.
291    # Libtool will interpret -1 as no limit whatsoever
292    lt_cv_sys_max_cmd_len=-1;
293    ;;
294
295  cygwin* | mingw* | cegcc*)
296    # On Win9x/ME, this test blows up -- it succeeds, but takes
297    # about 5 minutes as the teststring grows exponentially.
298    # Worse, since 9x/ME are not pre-emptively multitasking,
299    # you end up with a "frozen" computer, even though with patience
300    # the test eventually succeeds (with a max line length of 256k).
301    # Instead, let's just punt: use the minimum linelength reported by
302    # all of the supported platforms: 8192 (on NT/2K/XP).
303    lt_cv_sys_max_cmd_len=8192;
304    ;;
305
306  mint*)
307    # On MiNT this can take a long time and run out of memory.
308    lt_cv_sys_max_cmd_len=8192;
309    ;;
310
311  amigaos*)
312    # On AmigaOS with pdksh, this test takes hours, literally.
313    # So we just punt and use a minimum line length of 8192.
314    lt_cv_sys_max_cmd_len=8192;
315    ;;
316
317  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
318    # This has been around since 386BSD, at least.  Likely further.
319    if test -x /sbin/sysctl; then
320      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
321    elif test -x /usr/sbin/sysctl; then
322      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
323    else
324      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
325    fi
326    # And add a safety zone
327    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
328    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
329    ;;
330
331  interix*)
332    # We know the value 262144 and hardcode it with a safety zone (like BSD)
333    lt_cv_sys_max_cmd_len=196608
334    ;;
335
336  os2*)
337    # The test takes a long time on OS/2.
338    lt_cv_sys_max_cmd_len=8192
339    ;;
340
341  osf*)
342    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
343    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
344    # nice to cause kernel panics so lets avoid the loop below.
345    # First set a reasonable default.
346    lt_cv_sys_max_cmd_len=16384
347    #
348    if test -x /sbin/sysconfig; then
349      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
350        *1*) lt_cv_sys_max_cmd_len=-1 ;;
351      esac
352    fi
353    ;;
354  sco3.2v5*)
355    lt_cv_sys_max_cmd_len=102400
356    ;;
357  sysv5* | sco5v6* | sysv4.2uw2*)
358    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
359    if test -n "$kargmax"; then
360      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
361    else
362      lt_cv_sys_max_cmd_len=32768
363    fi
364    ;;
365  *)
366    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
367    if test -n "$lt_cv_sys_max_cmd_len" && \
368       test undefined != "$lt_cv_sys_max_cmd_len"; then
369      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
370      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
371    else
372      # Make teststring a little bigger before we do anything with it.
373      # a 1K string should be a reasonable start.
374      for i in 1 2 3 4 5 6 7 8; do
375        teststring=$teststring$teststring
376      done
377      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
378      # If test is not a shell built-in, we'll probably end up computing a
379      # maximum length that is only half of the actual maximum length, but
380      # we can't tell.
381      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
382	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
383	      test 17 != "$i" # 1/2 MB should be enough
384      do
385        i=`expr $i + 1`
386        teststring=$teststring$teststring
387      done
388      # Only check the string length outside the loop.
389      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
390      teststring=
391      # Add a significant safety factor because C++ compilers can tack on
392      # massive amounts of additional arguments before passing them to the
393      # linker.  It appears as though 1/2 is a usable value.
394      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
395    fi
396    ;;
397  esac
398])
399if test -n "$lt_cv_sys_max_cmd_len"; then
400  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
401else
402  AC_MSG_RESULT(none)
403fi
404max_cmd_len=$lt_cv_sys_max_cmd_len
405_LT_DECL([], [max_cmd_len], [0],
406    [What is the maximum length of a command?])
407])
408m4trace:/usr/local/share/aclocal/libtool.m4:1810: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
409m4trace:/usr/local/share/aclocal/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.
410You should run autoupdate.])dnl
411m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
412m4trace:/usr/local/share/aclocal/libtool.m4:1921: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
413if test yes != "$enable_dlopen"; then
414  enable_dlopen=unknown
415  enable_dlopen_self=unknown
416  enable_dlopen_self_static=unknown
417else
418  lt_cv_dlopen=no
419  lt_cv_dlopen_libs=
420
421  case $host_os in
422  beos*)
423    lt_cv_dlopen=load_add_on
424    lt_cv_dlopen_libs=
425    lt_cv_dlopen_self=yes
426    ;;
427
428  mingw* | pw32* | cegcc*)
429    lt_cv_dlopen=LoadLibrary
430    lt_cv_dlopen_libs=
431    ;;
432
433  cygwin*)
434    lt_cv_dlopen=dlopen
435    lt_cv_dlopen_libs=
436    ;;
437
438  darwin*)
439    # if libdl is installed we need to link against it
440    AC_CHECK_LIB([dl], [dlopen],
441		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
442    lt_cv_dlopen=dyld
443    lt_cv_dlopen_libs=
444    lt_cv_dlopen_self=yes
445    ])
446    ;;
447
448  tpf*)
449    # Don't try to run any link tests for TPF.  We know it's impossible
450    # because TPF is a cross-compiler, and we know how we open DSOs.
451    lt_cv_dlopen=dlopen
452    lt_cv_dlopen_libs=
453    lt_cv_dlopen_self=no
454    ;;
455
456  *)
457    AC_CHECK_FUNC([shl_load],
458	  [lt_cv_dlopen=shl_load],
459      [AC_CHECK_LIB([dld], [shl_load],
460	    [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
461	[AC_CHECK_FUNC([dlopen],
462	      [lt_cv_dlopen=dlopen],
463	  [AC_CHECK_LIB([dl], [dlopen],
464		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
465	    [AC_CHECK_LIB([svld], [dlopen],
466		  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
467	      [AC_CHECK_LIB([dld], [dld_link],
468		    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
469	      ])
470	    ])
471	  ])
472	])
473      ])
474    ;;
475  esac
476
477  if test no = "$lt_cv_dlopen"; then
478    enable_dlopen=no
479  else
480    enable_dlopen=yes
481  fi
482
483  case $lt_cv_dlopen in
484  dlopen)
485    save_CPPFLAGS=$CPPFLAGS
486    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
487
488    save_LDFLAGS=$LDFLAGS
489    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
490
491    save_LIBS=$LIBS
492    LIBS="$lt_cv_dlopen_libs $LIBS"
493
494    AC_CACHE_CHECK([whether a program can dlopen itself],
495	  lt_cv_dlopen_self, [dnl
496	  _LT_TRY_DLOPEN_SELF(
497	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
498	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
499    ])
500
501    if test yes = "$lt_cv_dlopen_self"; then
502      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
503      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
504	  lt_cv_dlopen_self_static, [dnl
505	  _LT_TRY_DLOPEN_SELF(
506	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
507	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
508      ])
509    fi
510
511    CPPFLAGS=$save_CPPFLAGS
512    LDFLAGS=$save_LDFLAGS
513    LIBS=$save_LIBS
514    ;;
515  esac
516
517  case $lt_cv_dlopen_self in
518  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
519  *) enable_dlopen_self=unknown ;;
520  esac
521
522  case $lt_cv_dlopen_self_static in
523  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
524  *) enable_dlopen_self_static=unknown ;;
525  esac
526fi
527_LT_DECL([dlopen_support], [enable_dlopen], [0],
528	 [Whether dlopen is supported])
529_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
530	 [Whether dlopen of programs is supported])
531_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
532	 [Whether dlopen of statically linked programs is supported])
533])
534m4trace:/usr/local/share/aclocal/libtool.m4:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
535m4trace:/usr/local/share/aclocal/libtool.m4:2046: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
536You should run autoupdate.])dnl
537m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
538m4trace:/usr/local/share/aclocal/libtool.m4:3155: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
539AC_MSG_CHECKING([for $1])
540AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
541[case $MAGIC_CMD in
542[[\\/*] |  ?:[\\/]*])
543  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
544  ;;
545*)
546  lt_save_MAGIC_CMD=$MAGIC_CMD
547  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
548dnl $ac_dummy forces splitting on constant user-supplied paths.
549dnl POSIX.2 word splitting is done only on the output of word expansions,
550dnl not every word.  This closes a longstanding sh security hole.
551  ac_dummy="m4_if([$2], , $PATH, [$2])"
552  for ac_dir in $ac_dummy; do
553    IFS=$lt_save_ifs
554    test -z "$ac_dir" && ac_dir=.
555    if test -f "$ac_dir/$1"; then
556      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
557      if test -n "$file_magic_test_file"; then
558	case $deplibs_check_method in
559	"file_magic "*)
560	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
561	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
562	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
563	    $EGREP "$file_magic_regex" > /dev/null; then
564	    :
565	  else
566	    cat <<_LT_EOF 1>&2
567
568*** Warning: the command libtool uses to detect shared libraries,
569*** $file_magic_cmd, produces output that libtool cannot recognize.
570*** The result is that libtool may fail to recognize shared libraries
571*** as such.  This will affect the creation of libtool libraries that
572*** depend on shared libraries, but programs linked with such libtool
573*** libraries will work regardless of this problem.  Nevertheless, you
574*** may want to report the problem to your system manager and/or to
575*** bug-libtool@gnu.org
576
577_LT_EOF
578	  fi ;;
579	esac
580      fi
581      break
582    fi
583  done
584  IFS=$lt_save_ifs
585  MAGIC_CMD=$lt_save_MAGIC_CMD
586  ;;
587esac])
588MAGIC_CMD=$lt_cv_path_MAGIC_CMD
589if test -n "$MAGIC_CMD"; then
590  AC_MSG_RESULT($MAGIC_CMD)
591else
592  AC_MSG_RESULT(no)
593fi
594_LT_DECL([], [MAGIC_CMD], [0],
595	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
596])
597m4trace:/usr/local/share/aclocal/libtool.m4:3217: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
598m4trace:/usr/local/share/aclocal/libtool.m4:3217: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
599You should run autoupdate.])dnl
600m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
601m4trace:/usr/local/share/aclocal/libtool.m4:3240: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
602AC_REQUIRE([AC_CANONICAL_HOST])dnl
603AC_REQUIRE([AC_CANONICAL_BUILD])dnl
604m4_require([_LT_DECL_SED])dnl
605m4_require([_LT_DECL_EGREP])dnl
606m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
607
608AC_ARG_WITH([gnu-ld],
609    [AS_HELP_STRING([--with-gnu-ld],
610	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
611    [test no = "$withval" || with_gnu_ld=yes],
612    [with_gnu_ld=no])dnl
613
614ac_prog=ld
615if test yes = "$GCC"; then
616  # Check if gcc -print-prog-name=ld gives a path.
617  AC_MSG_CHECKING([for ld used by $CC])
618  case $host in
619  *-*-mingw*)
620    # gcc leaves a trailing carriage return, which upsets mingw
621    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
622  *)
623    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
624  esac
625  case $ac_prog in
626    # Accept absolute paths.
627    [[\\/]]* | ?:[[\\/]]*)
628      re_direlt='/[[^/]][[^/]]*/\.\./'
629      # Canonicalize the pathname of ld
630      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
631      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
632	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
633      done
634      test -z "$LD" && LD=$ac_prog
635      ;;
636  "")
637    # If it fails, then pretend we aren't using GCC.
638    ac_prog=ld
639    ;;
640  *)
641    # If it is relative, then search for the first ld in PATH.
642    with_gnu_ld=unknown
643    ;;
644  esac
645elif test yes = "$with_gnu_ld"; then
646  AC_MSG_CHECKING([for GNU ld])
647else
648  AC_MSG_CHECKING([for non-GNU ld])
649fi
650AC_CACHE_VAL(lt_cv_path_LD,
651[if test -z "$LD"; then
652  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
653  for ac_dir in $PATH; do
654    IFS=$lt_save_ifs
655    test -z "$ac_dir" && ac_dir=.
656    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
657      lt_cv_path_LD=$ac_dir/$ac_prog
658      # Check to see if the program is GNU ld.  I'd rather use --version,
659      # but apparently some variants of GNU ld only accept -v.
660      # Break only if it was the GNU/non-GNU ld that we prefer.
661      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
662      *GNU* | *'with BFD'*)
663	test no != "$with_gnu_ld" && break
664	;;
665      *)
666	test yes != "$with_gnu_ld" && break
667	;;
668      esac
669    fi
670  done
671  IFS=$lt_save_ifs
672else
673  lt_cv_path_LD=$LD # Let the user override the test with a path.
674fi])
675LD=$lt_cv_path_LD
676if test -n "$LD"; then
677  AC_MSG_RESULT($LD)
678else
679  AC_MSG_RESULT(no)
680fi
681test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
682_LT_PATH_LD_GNU
683AC_SUBST([LD])
684
685_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
686])
687m4trace:/usr/local/share/aclocal/libtool.m4:3329: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
688m4trace:/usr/local/share/aclocal/libtool.m4:3329: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
689You should run autoupdate.])dnl
690m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
691m4trace:/usr/local/share/aclocal/libtool.m4:3330: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
692m4trace:/usr/local/share/aclocal/libtool.m4:3330: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
693You should run autoupdate.])dnl
694m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
695m4trace:/usr/local/share/aclocal/libtool.m4:3659: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
696AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
697[if test -n "$NM"; then
698  # Let the user override the test.
699  lt_cv_path_NM=$NM
700else
701  lt_nm_to_check=${ac_tool_prefix}nm
702  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
703    lt_nm_to_check="$lt_nm_to_check nm"
704  fi
705  for lt_tmp_nm in $lt_nm_to_check; do
706    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
707    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
708      IFS=$lt_save_ifs
709      test -z "$ac_dir" && ac_dir=.
710      tmp_nm=$ac_dir/$lt_tmp_nm
711      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
712	# Check to see if the nm accepts a BSD-compat flag.
713	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
714	#   nm: unknown option "B" ignored
715	# Tru64's nm complains that /dev/null is an invalid object file
716	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
717	case $build_os in
718	mingw*) lt_bad_file=conftest.nm/nofile ;;
719	*) lt_bad_file=/dev/null ;;
720	esac
721	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
722	*$lt_bad_file* | *'Invalid file or object type'*)
723	  lt_cv_path_NM="$tmp_nm -B"
724	  break 2
725	  ;;
726	*)
727	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
728	  */dev/null*)
729	    lt_cv_path_NM="$tmp_nm -p"
730	    break 2
731	    ;;
732	  *)
733	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
734	    continue # so that we can try to find one that supports BSD flags
735	    ;;
736	  esac
737	  ;;
738	esac
739      fi
740    done
741    IFS=$lt_save_ifs
742  done
743  : ${lt_cv_path_NM=no}
744fi])
745if test no != "$lt_cv_path_NM"; then
746  NM=$lt_cv_path_NM
747else
748  # Didn't find any BSD compatible name lister, look for dumpbin.
749  if test -n "$DUMPBIN"; then :
750    # Let the user override the test.
751  else
752    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
753    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
754    *COFF*)
755      DUMPBIN="$DUMPBIN -symbols -headers"
756      ;;
757    *)
758      DUMPBIN=:
759      ;;
760    esac
761  fi
762  AC_SUBST([DUMPBIN])
763  if test : != "$DUMPBIN"; then
764    NM=$DUMPBIN
765  fi
766fi
767test -z "$NM" && NM=nm
768AC_SUBST([NM])
769_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
770
771AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
772  [lt_cv_nm_interface="BSD nm"
773  echo "int some_variable = 0;" > conftest.$ac_ext
774  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
775  (eval "$ac_compile" 2>conftest.err)
776  cat conftest.err >&AS_MESSAGE_LOG_FD
777  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
778  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
779  cat conftest.err >&AS_MESSAGE_LOG_FD
780  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
781  cat conftest.out >&AS_MESSAGE_LOG_FD
782  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
783    lt_cv_nm_interface="MS dumpbin"
784  fi
785  rm -f conftest*])
786])
787m4trace:/usr/local/share/aclocal/libtool.m4:3754: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
788m4trace:/usr/local/share/aclocal/libtool.m4:3754: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
789You should run autoupdate.])dnl
790m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
791m4trace:/usr/local/share/aclocal/libtool.m4:3755: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
792m4trace:/usr/local/share/aclocal/libtool.m4:3755: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
793You should run autoupdate.])dnl
794m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
795m4trace:/usr/local/share/aclocal/libtool.m4:3826: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
796  test DEF = "`$SED -n dnl
797    -e '\''s/^[[	 ]]*//'\'' dnl Strip leading whitespace
798    -e '\''/^\(;.*\)*$/d'\'' dnl      Delete empty lines and comments
799    -e '\''s/^\(EXPORTS\|LIBRARY\)\([[	 ]].*\)*$/DEF/p'\'' dnl
800    -e q dnl                          Only consider the first "real" line
801    $1`" dnl
802])
803m4trace:/usr/local/share/aclocal/libtool.m4:3840: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
804LIBM=
805case $host in
806*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
807  # These system don't have libm, or don't need it
808  ;;
809*-ncr-sysv4.3*)
810  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
811  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
812  ;;
813*)
814  AC_CHECK_LIB(m, cos, LIBM=-lm)
815  ;;
816esac
817AC_SUBST([LIBM])
818])
819m4trace:/usr/local/share/aclocal/libtool.m4:3859: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
820m4trace:/usr/local/share/aclocal/libtool.m4:3859: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
821You should run autoupdate.])dnl
822m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
823m4trace:/usr/local/share/aclocal/libtool.m4:8122: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
824  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
825    [AC_CHECK_TOOL(GCJ, gcj,)
826      test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
827      AC_SUBST(GCJFLAGS)])])[]dnl
828])
829m4trace:/usr/local/share/aclocal/libtool.m4:8131: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
830m4trace:/usr/local/share/aclocal/libtool.m4:8131: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
831You should run autoupdate.])dnl
832m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
833m4trace:/usr/local/share/aclocal/libtool.m4:8138: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
834])
835m4trace:/usr/local/share/aclocal/libtool.m4:8145: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
836])
837m4trace:/usr/local/share/aclocal/libtool.m4:8150: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
838m4trace:/usr/local/share/aclocal/libtool.m4:8150: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
839You should run autoupdate.])dnl
840m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
841m4trace:/usr/local/share/aclocal/libtool.m4:8270: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
842m4trace:/usr/local/share/aclocal/libtool.m4:8270: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
843You should run autoupdate.])dnl
844m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
845m4trace:/usr/local/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
846AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
847
848AC_CHECK_TYPES([error_t],
849  [],
850  [AC_DEFINE([error_t], [int],
851   [Define to a type to use for 'error_t' if it is not otherwise available.])
852   AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
853    does not typedef error_t.])],
854  [#if defined(HAVE_ARGZ_H)
855#  include <argz.h>
856#endif])
857
858LT_ARGZ_H=
859AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
860	argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
861
862dnl if have system argz functions, allow forced use of
863dnl libltdl-supplied implementation (and default to do so
864dnl on "known bad" systems). Could use a runtime check, but
865dnl (a) detecting malloc issues is notoriously unreliable
866dnl (b) only known system that declares argz functions,
867dnl     provides them, yet they are broken, is cygwin
868dnl     releases prior to 16-Mar-2007 (1.5.24 and earlier)
869dnl So, it's more straightforward simply to special case
870dnl this for known bad systems.
871AS_IF([test -z "$LT_ARGZ_H"],
872    [AC_CACHE_CHECK(
873        [if argz actually works],
874        [lt_cv_sys_argz_works],
875        [[case $host_os in #(
876	 *cygwin*)
877	   lt_cv_sys_argz_works=no
878	   if test no != "$cross_compiling"; then
879	     lt_cv_sys_argz_works="guessing no"
880	   else
881	     lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
882	     save_IFS=$IFS
883	     IFS=-.
884	     set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
885	     IFS=$save_IFS
886	     lt_os_major=${2-0}
887	     lt_os_minor=${3-0}
888	     lt_os_micro=${4-0}
889	     if test 1 -lt "$lt_os_major" \
890		|| { test 1 -eq "$lt_os_major" \
891		  && { test 5 -lt "$lt_os_minor" \
892		    || { test 5 -eq "$lt_os_minor" \
893		      && test 24 -lt "$lt_os_micro"; }; }; }; then
894	       lt_cv_sys_argz_works=yes
895	     fi
896	   fi
897	   ;; #(
898	 *) lt_cv_sys_argz_works=yes ;;
899	 esac]])
900     AS_IF([test yes = "$lt_cv_sys_argz_works"],
901        [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
902                   [This value is set to 1 to indicate that the system argz facility works])],
903        [LT_ARGZ_H=lt__argz.h
904        AC_LIBOBJ([lt__argz])])])
905
906AC_SUBST([LT_ARGZ_H])
907])
908m4trace:/usr/local/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
909_$0($*)
910])
911m4trace:/usr/local/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
912dnl Although the argument is deprecated and no longer documented,
913dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
914dnl here make sure it is the same as any other declaration of libltdl's
915dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
916dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
917m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
918_$0()
919])
920m4trace:/usr/local/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
921_LTDL_CONVENIENCE])
922m4trace:/usr/local/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
923You should run autoupdate.])dnl
924_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
925_LTDL_CONVENIENCE])
926m4trace:/usr/local/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
927dnl Although the argument is deprecated and no longer documented,
928dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
929dnl here make sure it is the same as any other declaration of libltdl's
930dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
931dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
932m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
933_$0()
934])
935m4trace:/usr/local/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
936_LTDL_INSTALLABLE])
937m4trace:/usr/local/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
938You should run autoupdate.])dnl
939_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
940_LTDL_INSTALLABLE])
941m4trace:/usr/local/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
942  m4_pattern_allow([^_LT_LIBOBJS$])
943  _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
944])
945m4trace:/usr/local/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
946_LT_SET_OPTIONS([$0], [$1])
947
948dnl We need to keep our own list of libobjs separate from our parent project,
949dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
950dnl we look for our own LIBOBJs.
951m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
952m4_pushdef([AC_LIBSOURCES])
953
954dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
955m4_if(_LTDL_MODE, [],
956        [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
957        m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
958                [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
959
960AC_ARG_WITH([included_ltdl],
961    [AS_HELP_STRING([--with-included-ltdl],
962                    [use the GNU ltdl sources included here])])
963
964if test yes != "$with_included_ltdl"; then
965  # We are not being forced to use the included libltdl sources, so
966  # decide whether there is a useful installed version we can use.
967  AC_CHECK_HEADER([ltdl.h],
968      [AC_CHECK_DECL([lt_dlinterface_register],
969	   [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
970	       [with_included_ltdl=no],
971	       [with_included_ltdl=yes])],
972	   [with_included_ltdl=yes],
973	   [AC_INCLUDES_DEFAULT
974	    #include <ltdl.h>])],
975      [with_included_ltdl=yes],
976      [AC_INCLUDES_DEFAULT]
977  )
978fi
979
980dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
981dnl was called yet, then for old times' sake, we assume libltdl is in an
982dnl eponymous directory:
983AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
984
985AC_ARG_WITH([ltdl_include],
986    [AS_HELP_STRING([--with-ltdl-include=DIR],
987                    [use the ltdl headers installed in DIR])])
988
989if test -n "$with_ltdl_include"; then
990  if test -f "$with_ltdl_include/ltdl.h"; then :
991  else
992    AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
993  fi
994else
995  with_ltdl_include=no
996fi
997
998AC_ARG_WITH([ltdl_lib],
999    [AS_HELP_STRING([--with-ltdl-lib=DIR],
1000                    [use the libltdl.la installed in DIR])])
1001
1002if test -n "$with_ltdl_lib"; then
1003  if test -f "$with_ltdl_lib/libltdl.la"; then :
1004  else
1005    AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
1006  fi
1007else
1008  with_ltdl_lib=no
1009fi
1010
1011case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
1012  ,yes,no,no,)
1013	m4_case(m4_default(_LTDL_TYPE, [convenience]),
1014	    [convenience], [_LTDL_CONVENIENCE],
1015	    [installable], [_LTDL_INSTALLABLE],
1016	  [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
1017	;;
1018  ,no,no,no,)
1019	# If the included ltdl is not to be used, then use the
1020	# preinstalled libltdl we found.
1021	AC_DEFINE([HAVE_LTDL], [1],
1022	  [Define this if a modern libltdl is already installed])
1023	LIBLTDL=-lltdl
1024	LTDLDEPS=
1025	LTDLINCL=
1026	;;
1027  ,no*,no,*)
1028	AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
1029	;;
1030  *)	with_included_ltdl=no
1031	LIBLTDL="-L$with_ltdl_lib -lltdl"
1032	LTDLDEPS=
1033	LTDLINCL=-I$with_ltdl_include
1034	;;
1035esac
1036INCLTDL=$LTDLINCL
1037
1038# Report our decision...
1039AC_MSG_CHECKING([where to find libltdl headers])
1040AC_MSG_RESULT([$LTDLINCL])
1041AC_MSG_CHECKING([where to find libltdl library])
1042AC_MSG_RESULT([$LIBLTDL])
1043
1044_LTDL_SETUP
1045
1046dnl restore autoconf definition.
1047m4_popdef([AC_LIBOBJ])
1048m4_popdef([AC_LIBSOURCES])
1049
1050AC_CONFIG_COMMANDS_PRE([
1051    _ltdl_libobjs=
1052    _ltdl_ltlibobjs=
1053    if test -n "$_LT_LIBOBJS"; then
1054      # Remove the extension.
1055      _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1056      for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
1057        _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
1058        _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
1059      done
1060    fi
1061    AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
1062    AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
1063])
1064
1065# Only expand once:
1066m4_define([LTDL_INIT])
1067])
1068m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
1069m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
1070You should run autoupdate.])dnl
1071LTDL_INIT($@)])
1072m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1073m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1074You should run autoupdate.])dnl
1075LTDL_INIT($@)])
1076m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1077m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1078You should run autoupdate.])dnl
1079LTDL_INIT($@)])
1080m4trace:/usr/local/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1081AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1082AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1083AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1084AC_REQUIRE([LT_LIB_DLLOAD])dnl
1085AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1086AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1087AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1088AC_REQUIRE([LT_FUNC_ARGZ])dnl
1089
1090m4_require([_LT_CHECK_OBJDIR])dnl
1091m4_require([_LT_HEADER_DLFCN])dnl
1092m4_require([_LT_CHECK_DLPREOPEN])dnl
1093m4_require([_LT_DECL_SED])dnl
1094
1095dnl Don't require this, or it will be expanded earlier than the code
1096dnl that sets the variables it relies on:
1097_LT_ENABLE_INSTALL
1098
1099dnl _LTDL_MODE specific code must be called at least once:
1100_LTDL_MODE_DISPATCH
1101
1102# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1103# the user used.  This is so that ltdl.h can pick up the parent projects
1104# config.h file, The first file in AC_CONFIG_HEADERS must contain the
1105# definitions required by ltdl.c.
1106# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1107AC_CONFIG_COMMANDS_PRE([dnl
1108m4_pattern_allow([^LT_CONFIG_H$])dnl
1109m4_ifset([AH_HEADER],
1110    [LT_CONFIG_H=AH_HEADER],
1111    [m4_ifset([AC_LIST_HEADERS],
1112	    [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[      ]]*||;s|[[ :]].*$||'`],
1113	[])])])
1114AC_SUBST([LT_CONFIG_H])
1115
1116AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1117	[], [], [AC_INCLUDES_DEFAULT])
1118
1119AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1120AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1121
1122m4_pattern_allow([LT_LIBEXT])dnl
1123AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1124
1125name=
1126eval "lt_libprefix=\"$libname_spec\""
1127m4_pattern_allow([LT_LIBPREFIX])dnl
1128AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
1129
1130name=ltdl
1131eval "LTDLOPEN=\"$libname_spec\""
1132AC_SUBST([LTDLOPEN])
1133])
1134m4trace:/usr/local/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1135AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1136  [lt_cv_sys_dlopen_deplibs],
1137  [# PORTME does your system automatically load deplibs for dlopen?
1138  # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1139  # For now, we just catch OSes we know something about -- in the
1140  # future, we'll try test this programmatically.
1141  lt_cv_sys_dlopen_deplibs=unknown
1142  case $host_os in
1143  aix3*|aix4.1.*|aix4.2.*)
1144    # Unknown whether this is true for these versions of AIX, but
1145    # we want this 'case' here to explicitly catch those versions.
1146    lt_cv_sys_dlopen_deplibs=unknown
1147    ;;
1148  aix[[4-9]]*)
1149    lt_cv_sys_dlopen_deplibs=yes
1150    ;;
1151  amigaos*)
1152    case $host_cpu in
1153    powerpc)
1154      lt_cv_sys_dlopen_deplibs=no
1155      ;;
1156    esac
1157    ;;
1158  bitrig*)
1159    lt_cv_sys_dlopen_deplibs=yes
1160    ;;
1161  darwin*)
1162    # Assuming the user has installed a libdl from somewhere, this is true
1163    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1164    lt_cv_sys_dlopen_deplibs=yes
1165    ;;
1166  freebsd* | dragonfly*)
1167    lt_cv_sys_dlopen_deplibs=yes
1168    ;;
1169  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
1170    # GNU and its variants, using gnu ld.so (Glibc)
1171    lt_cv_sys_dlopen_deplibs=yes
1172    ;;
1173  hpux10*|hpux11*)
1174    lt_cv_sys_dlopen_deplibs=yes
1175    ;;
1176  interix*)
1177    lt_cv_sys_dlopen_deplibs=yes
1178    ;;
1179  irix[[12345]]*|irix6.[[01]]*)
1180    # Catch all versions of IRIX before 6.2, and indicate that we don't
1181    # know how it worked for any of those versions.
1182    lt_cv_sys_dlopen_deplibs=unknown
1183    ;;
1184  irix*)
1185    # The case above catches anything before 6.2, and it's known that
1186    # at 6.2 and later dlopen does load deplibs.
1187    lt_cv_sys_dlopen_deplibs=yes
1188    ;;
1189  netbsd*)
1190    lt_cv_sys_dlopen_deplibs=yes
1191    ;;
1192  openbsd*)
1193    lt_cv_sys_dlopen_deplibs=yes
1194    ;;
1195  osf[[1234]]*)
1196    # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1197    # it did *not* use an RPATH in a shared library to find objects the
1198    # library depends on, so we explicitly say 'no'.
1199    lt_cv_sys_dlopen_deplibs=no
1200    ;;
1201  osf5.0|osf5.0a|osf5.1)
1202    # dlopen *does* load deplibs and with the right loader patch applied
1203    # it even uses RPATH in a shared library to search for shared objects
1204    # that the library depends on, but there's no easy way to know if that
1205    # patch is installed.  Since this is the case, all we can really
1206    # say is unknown -- it depends on the patch being installed.  If
1207    # it is, this changes to 'yes'.  Without it, it would be 'no'.
1208    lt_cv_sys_dlopen_deplibs=unknown
1209    ;;
1210  osf*)
1211    # the two cases above should catch all versions of osf <= 5.1.  Read
1212    # the comments above for what we know about them.
1213    # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1214    # is used to find them so we can finally say 'yes'.
1215    lt_cv_sys_dlopen_deplibs=yes
1216    ;;
1217  qnx*)
1218    lt_cv_sys_dlopen_deplibs=yes
1219    ;;
1220  solaris*)
1221    lt_cv_sys_dlopen_deplibs=yes
1222    ;;
1223  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1224    libltdl_cv_sys_dlopen_deplibs=yes
1225    ;;
1226  esac
1227  ])
1228if test yes != "$lt_cv_sys_dlopen_deplibs"; then
1229 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1230    [Define if the OS needs help to load dependent libraries for dlopen().])
1231fi
1232])
1233m4trace:/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($@)])])
1234m4trace:/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.
1235You should run autoupdate.])dnl
1236m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1237m4trace:/usr/local/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1238AC_CACHE_CHECK([what extension is used for runtime loadable modules],
1239  [libltdl_cv_shlibext],
1240[
1241module=yes
1242eval libltdl_cv_shlibext=$shrext_cmds
1243module=no
1244eval libltdl_cv_shrext=$shrext_cmds
1245  ])
1246if test -n "$libltdl_cv_shlibext"; then
1247  m4_pattern_allow([LT_MODULE_EXT])dnl
1248  AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1249    [Define to the extension used for runtime loadable modules, say, ".so".])
1250fi
1251if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1252  m4_pattern_allow([LT_SHARED_EXT])dnl
1253  AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
1254    [Define to the shared library suffix, say, ".dylib".])
1255fi
1256if test -n "$shared_archive_member_spec"; then
1257  m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
1258  AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
1259    [Define to the shared archive member specification, say "(shr.o)".])
1260fi
1261])
1262m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1263m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1264You should run autoupdate.])dnl
1265m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1266m4trace:/usr/local/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1267AC_CACHE_CHECK([what variable specifies run-time module search path],
1268  [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
1269if test -n "$lt_cv_module_path_var"; then
1270  m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1271  AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1272    [Define to the name of the environment variable that determines the run-time module search path.])
1273fi
1274])
1275m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1276m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1277You should run autoupdate.])dnl
1278m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1279m4trace:/usr/local/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1280AC_CACHE_CHECK([for the default library search path],
1281  [lt_cv_sys_dlsearch_path],
1282  [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
1283if test -n "$lt_cv_sys_dlsearch_path"; then
1284  sys_dlsearch_path=
1285  for dir in $lt_cv_sys_dlsearch_path; do
1286    if test -z "$sys_dlsearch_path"; then
1287      sys_dlsearch_path=$dir
1288    else
1289      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
1290    fi
1291  done
1292  m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1293  AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1294    [Define to the system default library search path.])
1295fi
1296])
1297m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1298m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1299You should run autoupdate.])dnl
1300m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1301m4trace:/usr/local/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1302LT_DLLOADERS=
1303AC_SUBST([LT_DLLOADERS])
1304
1305AC_LANG_PUSH([C])
1306lt_dlload_save_LIBS=$LIBS
1307
1308LIBADD_DLOPEN=
1309AC_SEARCH_LIBS([dlopen], [dl],
1310	[AC_DEFINE([HAVE_LIBDL], [1],
1311		   [Define if you have the libdl library or equivalent.])
1312	if test "$ac_cv_search_dlopen" != "none required"; then
1313	  LIBADD_DLOPEN=-ldl
1314	fi
1315	libltdl_cv_lib_dl_dlopen=yes
1316	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1317    [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1318#  include <dlfcn.h>
1319#endif
1320    ]], [[dlopen(0, 0);]])],
1321	    [AC_DEFINE([HAVE_LIBDL], [1],
1322		       [Define if you have the libdl library or equivalent.])
1323	    libltdl_cv_func_dlopen=yes
1324	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1325	[AC_CHECK_LIB([svld], [dlopen],
1326		[AC_DEFINE([HAVE_LIBDL], [1],
1327			 [Define if you have the libdl library or equivalent.])
1328	        LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
1329		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1330if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
1331then
1332  lt_save_LIBS=$LIBS
1333  LIBS="$LIBS $LIBADD_DLOPEN"
1334  AC_CHECK_FUNCS([dlerror])
1335  LIBS=$lt_save_LIBS
1336fi
1337AC_SUBST([LIBADD_DLOPEN])
1338
1339LIBADD_SHL_LOAD=
1340AC_CHECK_FUNC([shl_load],
1341	[AC_DEFINE([HAVE_SHL_LOAD], [1],
1342		   [Define if you have the shl_load function.])
1343	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1344    [AC_CHECK_LIB([dld], [shl_load],
1345	    [AC_DEFINE([HAVE_SHL_LOAD], [1],
1346		       [Define if you have the shl_load function.])
1347	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1348	    LIBADD_SHL_LOAD=-ldld])])
1349AC_SUBST([LIBADD_SHL_LOAD])
1350
1351case $host_os in
1352darwin[[1567]].*)
1353# We only want this for pre-Mac OS X 10.4.
1354  AC_CHECK_FUNC([_dyld_func_lookup],
1355	[AC_DEFINE([HAVE_DYLD], [1],
1356		   [Define if you have the _dyld_func_lookup function.])
1357	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1358  ;;
1359beos*)
1360  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1361  ;;
1362cygwin* | mingw* | pw32*)
1363  AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1364  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1365  ;;
1366esac
1367
1368AC_CHECK_LIB([dld], [dld_link],
1369	[AC_DEFINE([HAVE_DLD], [1],
1370		   [Define if you have the GNU dld library.])
1371		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1372AC_SUBST([LIBADD_DLD_LINK])
1373
1374m4_pattern_allow([^LT_DLPREOPEN$])
1375LT_DLPREOPEN=
1376if test -n "$LT_DLLOADERS"
1377then
1378  for lt_loader in $LT_DLLOADERS; do
1379    LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1380  done
1381  AC_DEFINE([HAVE_LIBDLLOADER], [1],
1382            [Define if libdlloader will be built on this platform])
1383fi
1384AC_SUBST([LT_DLPREOPEN])
1385
1386dnl This isn't used anymore, but set it for backwards compatibility
1387LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1388AC_SUBST([LIBADD_DL])
1389
1390LIBS=$lt_dlload_save_LIBS
1391AC_LANG_POP
1392])
1393m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1394m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1395You should run autoupdate.])dnl
1396m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1397m4trace:/usr/local/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1398AC_CACHE_CHECK([for _ prefix in compiled symbols],
1399  [lt_cv_sys_symbol_underscore],
1400  [lt_cv_sys_symbol_underscore=no
1401  cat > conftest.$ac_ext <<_LT_EOF
1402void nm_test_func(){}
1403int main(){nm_test_func;return 0;}
1404_LT_EOF
1405  if AC_TRY_EVAL(ac_compile); then
1406    # Now try to grab the symbols.
1407    ac_nlist=conftest.nm
1408    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1409      # See whether the symbols have a leading underscore.
1410      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1411        lt_cv_sys_symbol_underscore=yes
1412      else
1413        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1414	  :
1415        else
1416	  echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1417        fi
1418      fi
1419    else
1420      echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1421    fi
1422  else
1423    echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1424    cat conftest.c >&AS_MESSAGE_LOG_FD
1425  fi
1426  rm -rf conftest*
1427  ])
1428  sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1429  AC_SUBST([sys_symbol_underscore])
1430])
1431m4trace:/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($@)])])
1432m4trace:/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.
1433You should run autoupdate.])dnl
1434m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1435m4trace:/usr/local/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl	for lt_prog_compiler_wl
1436AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl	for lt_cv_sys_symbol_underscore
1437AC_REQUIRE([LT_SYS_MODULE_EXT])dnl	for libltdl_cv_shlibext
1438if test yes = "$lt_cv_sys_symbol_underscore"; then
1439  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
1440    AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1441      [libltdl_cv_need_uscore],
1442      [libltdl_cv_need_uscore=unknown
1443      dlsym_uscore_save_LIBS=$LIBS
1444      LIBS="$LIBS $LIBADD_DLOPEN"
1445      libname=conftmod # stay within 8.3 filename limits!
1446      cat >$libname.$ac_ext <<_LT_EOF
1447[#line $LINENO "configure"
1448#include "confdefs.h"
1449/* When -fvisibility=hidden is used, assume the code has been annotated
1450   correspondingly for the symbols needed.  */
1451#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1452int fnord () __attribute__((visibility("default")));
1453#endif
1454int fnord () { return 42; }]
1455_LT_EOF
1456
1457      # ltfn_module_cmds module_cmds
1458      # Execute tilde-delimited MODULE_CMDS with environment primed for
1459      # $module_cmds or $archive_cmds type content.
1460      ltfn_module_cmds ()
1461      {( # subshell avoids polluting parent global environment
1462          module_cmds_save_ifs=$IFS; IFS='~'
1463          for cmd in @S|@1; do
1464            IFS=$module_cmds_save_ifs
1465            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
1466            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
1467            major=; versuffix=; verstring=; deplibs=
1468            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
1469            eval $cmd
1470          done
1471          IFS=$module_cmds_save_ifs
1472      )}
1473
1474      # Compile a loadable module using libtool macro expansion results.
1475      $CC $pic_flag -c $libname.$ac_ext
1476      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
1477
1478      # Try to fetch fnord with dlsym().
1479      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
1480      cat >conftest.$ac_ext <<_LT_EOF
1481[#line $LINENO "configure"
1482#include "confdefs.h"
1483#if HAVE_DLFCN_H
1484#include <dlfcn.h>
1485#endif
1486#include <stdio.h>
1487#ifndef RTLD_GLOBAL
1488#  ifdef DL_GLOBAL
1489#    define RTLD_GLOBAL DL_GLOBAL
1490#  else
1491#    define RTLD_GLOBAL 0
1492#  endif
1493#endif
1494#ifndef RTLD_NOW
1495#  ifdef DL_NOW
1496#    define RTLD_NOW DL_NOW
1497#  else
1498#    define RTLD_NOW 0
1499#  endif
1500#endif
1501int main () {
1502  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
1503  int status = $libltdl_dlunknown;
1504  if (handle) {
1505    if (dlsym (handle, "fnord"))
1506      status = $libltdl_dlnouscore;
1507    else {
1508      if (dlsym (handle, "_fnord"))
1509        status = $libltdl_dluscore;
1510      else
1511	puts (dlerror ());
1512    }
1513    dlclose (handle);
1514  } else
1515    puts (dlerror ());
1516  return status;
1517}]
1518_LT_EOF
1519      if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1520        (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1521        libltdl_status=$?
1522        case x$libltdl_status in
1523          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
1524	  x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
1525	  x*) libltdl_cv_need_uscore=unknown ;;
1526        esac
1527      fi
1528      rm -rf conftest* $libname*
1529      LIBS=$dlsym_uscore_save_LIBS
1530    ])
1531  fi
1532fi
1533
1534if test yes = "$libltdl_cv_need_uscore"; then
1535  AC_DEFINE([NEED_USCORE], [1],
1536    [Define if dlsym() requires a leading underscore in symbol names.])
1537fi
1538])
1539m4trace:/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($@)])])
1540m4trace:/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.
1541You should run autoupdate.])dnl
1542m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1543m4trace:/usr/local/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1544m4trace:/usr/local/share/aclocal/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1545AC_DIAGNOSE([obsolete],
1546[$0: Remove this warning and the call to _LT_SET_OPTION when you
1547put the 'dlopen' option into LT_INIT's first parameter.])
1548])
1549m4trace:/usr/local/share/aclocal/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1550You should run autoupdate.])dnl
1551_LT_SET_OPTION([LT_INIT], [dlopen])
1552AC_DIAGNOSE([obsolete],
1553[$0: Remove this warning and the call to _LT_SET_OPTION when you
1554put the 'dlopen' option into LT_INIT's first parameter.])
1555])
1556m4trace:/usr/local/share/aclocal/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1557_LT_SET_OPTION([LT_INIT], [win32-dll])
1558AC_DIAGNOSE([obsolete],
1559[$0: Remove this warning and the call to _LT_SET_OPTION when you
1560put the 'win32-dll' option into LT_INIT's first parameter.])
1561])
1562m4trace:/usr/local/share/aclocal/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1563You should run autoupdate.])dnl
1564AC_REQUIRE([AC_CANONICAL_HOST])dnl
1565_LT_SET_OPTION([LT_INIT], [win32-dll])
1566AC_DIAGNOSE([obsolete],
1567[$0: Remove this warning and the call to _LT_SET_OPTION when you
1568put the 'win32-dll' option into LT_INIT's first parameter.])
1569])
1570m4trace:/usr/local/share/aclocal/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1571])
1572m4trace:/usr/local/share/aclocal/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1573])
1574m4trace:/usr/local/share/aclocal/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1575m4trace:/usr/local/share/aclocal/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1576You should run autoupdate.])dnl
1577AC_ENABLE_SHARED($@)])
1578m4trace:/usr/local/share/aclocal/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1579m4trace:/usr/local/share/aclocal/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1580You should run autoupdate.])dnl
1581AC_DISABLE_SHARED($@)])
1582m4trace:/usr/local/share/aclocal/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1583])
1584m4trace:/usr/local/share/aclocal/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1585])
1586m4trace:/usr/local/share/aclocal/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1587m4trace:/usr/local/share/aclocal/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1588You should run autoupdate.])dnl
1589AC_ENABLE_STATIC($@)])
1590m4trace:/usr/local/share/aclocal/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1591m4trace:/usr/local/share/aclocal/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1592You should run autoupdate.])dnl
1593AC_DISABLE_STATIC($@)])
1594m4trace:/usr/local/share/aclocal/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1595AC_DIAGNOSE([obsolete],
1596[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1597the 'fast-install' option into LT_INIT's first parameter.])
1598])
1599m4trace:/usr/local/share/aclocal/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1600You should run autoupdate.])dnl
1601_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1602AC_DIAGNOSE([obsolete],
1603[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1604the 'fast-install' option into LT_INIT's first parameter.])
1605])
1606m4trace:/usr/local/share/aclocal/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1607AC_DIAGNOSE([obsolete],
1608[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1609the 'disable-fast-install' option into LT_INIT's first parameter.])
1610])
1611m4trace:/usr/local/share/aclocal/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1612You should run autoupdate.])dnl
1613_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1614AC_DIAGNOSE([obsolete],
1615[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1616the 'disable-fast-install' option into LT_INIT's first parameter.])
1617])
1618m4trace:/usr/local/share/aclocal/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1619AC_DIAGNOSE([obsolete],
1620[$0: Remove this warning and the call to _LT_SET_OPTION when you
1621put the 'pic-only' option into LT_INIT's first parameter.])
1622])
1623m4trace:/usr/local/share/aclocal/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1624You should run autoupdate.])dnl
1625_LT_SET_OPTION([LT_INIT], [pic-only])
1626AC_DIAGNOSE([obsolete],
1627[$0: Remove this warning and the call to _LT_SET_OPTION when you
1628put the 'pic-only' option into LT_INIT's first parameter.])
1629])
1630m4trace:/usr/local/share/aclocal/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1631m4trace:/usr/local/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6'
1632macro_revision='2.4.6'
1633_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1634_LT_DECL(, macro_revision, 0)
1635])
1636m4trace:/usr/local/share/aclocal/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1637m4trace:/usr/local/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1638m4trace:/usr/local/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1639m4trace:/usr/local/share/aclocal/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1640m4trace:/usr/local/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
1641m4trace:/usr/local/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1642m4trace:/usr/local/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1643m4trace:/usr/local/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1644m4trace:/usr/local/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
1645m4trace:/usr/local/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1646m4trace:/usr/local/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1647m4trace:/usr/local/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1648m4trace:/usr/local/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1649m4trace:/usr/local/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1650m4trace:/usr/local/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1651m4trace:/usr/local/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1652m4trace:/usr/local/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1653m4trace:/usr/local/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
1654m4trace:/usr/local/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
1655m4trace:/usr/local/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1656m4trace:/usr/local/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1657m4trace:/usr/local/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1658m4trace:/usr/local/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1659m4trace:/usr/local/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1660m4trace:/usr/local/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1661m4trace:/usr/local/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1662m4trace:/usr/local/share/aclocal/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1663m4trace:/usr/local/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1664m4trace:/usr/local/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1665m4trace:/usr/local/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1666m4trace:/usr/local/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1667m4trace:/usr/local/share/aclocal/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1668m4trace:/usr/local/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1669m4trace:/usr/local/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
1670m4trace:/usr/local/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1671m4trace:/usr/local/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1672m4trace:/usr/local/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1673m4trace:/usr/local/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1674m4trace:/usr/local/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1675m4trace:/usr/local/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1676m4trace:/usr/local/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1677m4trace:/usr/local/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1678m4trace:/usr/local/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1679m4trace:/usr/local/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1680m4trace:/usr/local/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1681m4trace:/usr/local/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1682m4trace:/usr/local/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1683m4trace:/usr/local/share/aclocal/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1684m4trace:/usr/local/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
1685m4trace:/usr/local/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
1686m4trace:/usr/local/share/aclocal/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
1687m4trace:/usr/local/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
1688dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1689dnl require some minimum version.  Point them to the right macro.
1690m4_if([$1], [1.16.4], [],
1691      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1692])
1693m4trace:/usr/local/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.4])dnl
1694m4_ifndef([AC_AUTOCONF_VERSION],
1695  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1696_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1697m4trace:/usr/local/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1698# Expand $ac_aux_dir to an absolute path.
1699am_aux_dir=`cd "$ac_aux_dir" && pwd`
1700])
1701m4trace:/usr/local/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
1702 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
1703       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1704AC_SUBST([$1_TRUE])dnl
1705AC_SUBST([$1_FALSE])dnl
1706_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1707_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1708m4_define([_AM_COND_VALUE_$1], [$2])dnl
1709if $2; then
1710  $1_TRUE=
1711  $1_FALSE='#'
1712else
1713  $1_TRUE='#'
1714  $1_FALSE=
1715fi
1716AC_CONFIG_COMMANDS_PRE(
1717[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1718  AC_MSG_ERROR([[conditional "$1" was never defined.
1719Usually this means the macro was only invoked conditionally.]])
1720fi])])
1721m4trace:/usr/local/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1722AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1723AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1724AC_REQUIRE([AM_DEP_TRACK])dnl
1725
1726m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
1727      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
1728      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1729      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
1730      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
1731      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1732                    [depcc="$$1"   am_compiler_list=])
1733
1734AC_CACHE_CHECK([dependency style of $depcc],
1735               [am_cv_$1_dependencies_compiler_type],
1736[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1737  # We make a subdir and do the tests there.  Otherwise we can end up
1738  # making bogus files that we don't know about and never remove.  For
1739  # instance it was reported that on HP-UX the gcc test will end up
1740  # making a dummy file named 'D' -- because '-MD' means "put the output
1741  # in D".
1742  rm -rf conftest.dir
1743  mkdir conftest.dir
1744  # Copy depcomp to subdir because otherwise we won't find it if we're
1745  # using a relative directory.
1746  cp "$am_depcomp" conftest.dir
1747  cd conftest.dir
1748  # We will build objects and dependencies in a subdirectory because
1749  # it helps to detect inapplicable dependency modes.  For instance
1750  # both Tru64's cc and ICC support -MD to output dependencies as a
1751  # side effect of compilation, but ICC will put the dependencies in
1752  # the current directory while Tru64 will put them in the object
1753  # directory.
1754  mkdir sub
1755
1756  am_cv_$1_dependencies_compiler_type=none
1757  if test "$am_compiler_list" = ""; then
1758     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1759  fi
1760  am__universal=false
1761  m4_case([$1], [CC],
1762    [case " $depcc " in #(
1763     *\ -arch\ *\ -arch\ *) am__universal=true ;;
1764     esac],
1765    [CXX],
1766    [case " $depcc " in #(
1767     *\ -arch\ *\ -arch\ *) am__universal=true ;;
1768     esac])
1769
1770  for depmode in $am_compiler_list; do
1771    # Setup a source with many dependencies, because some compilers
1772    # like to wrap large dependency lists on column 80 (with \), and
1773    # we should not choose a depcomp mode which is confused by this.
1774    #
1775    # We need to recreate these files for each test, as the compiler may
1776    # overwrite some of them when testing with obscure command lines.
1777    # This happens at least with the AIX C compiler.
1778    : > sub/conftest.c
1779    for i in 1 2 3 4 5 6; do
1780      echo '#include "conftst'$i'.h"' >> sub/conftest.c
1781      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
1782      # Solaris 10 /bin/sh.
1783      echo '/* dummy */' > sub/conftst$i.h
1784    done
1785    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1786
1787    # We check with '-c' and '-o' for the sake of the "dashmstdout"
1788    # mode.  It turns out that the SunPro C++ compiler does not properly
1789    # handle '-M -o', and we need to detect this.  Also, some Intel
1790    # versions had trouble with output in subdirs.
1791    am__obj=sub/conftest.${OBJEXT-o}
1792    am__minus_obj="-o $am__obj"
1793    case $depmode in
1794    gcc)
1795      # This depmode causes a compiler race in universal mode.
1796      test "$am__universal" = false || continue
1797      ;;
1798    nosideeffect)
1799      # After this tag, mechanisms are not by side-effect, so they'll
1800      # only be used when explicitly requested.
1801      if test "x$enable_dependency_tracking" = xyes; then
1802	continue
1803      else
1804	break
1805      fi
1806      ;;
1807    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1808      # This compiler won't grok '-c -o', but also, the minuso test has
1809      # not run yet.  These depmodes are late enough in the game, and
1810      # so weak that their functioning should not be impacted.
1811      am__obj=conftest.${OBJEXT-o}
1812      am__minus_obj=
1813      ;;
1814    none) break ;;
1815    esac
1816    if depmode=$depmode \
1817       source=sub/conftest.c object=$am__obj \
1818       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1819       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1820         >/dev/null 2>conftest.err &&
1821       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1822       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1823       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1824       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1825      # icc doesn't choke on unknown options, it will just issue warnings
1826      # or remarks (even with -Werror).  So we grep stderr for any message
1827      # that says an option was ignored or not supported.
1828      # When given -MP, icc 7.0 and 7.1 complain thusly:
1829      #   icc: Command line warning: ignoring option '-M'; no argument required
1830      # The diagnosis changed in icc 8.0:
1831      #   icc: Command line remark: option '-MP' not supported
1832      if (grep 'ignoring option' conftest.err ||
1833          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1834        am_cv_$1_dependencies_compiler_type=$depmode
1835        break
1836      fi
1837    fi
1838  done
1839
1840  cd ..
1841  rm -rf conftest.dir
1842else
1843  am_cv_$1_dependencies_compiler_type=none
1844fi
1845])
1846AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1847AM_CONDITIONAL([am__fastdep$1], [
1848  test "x$enable_dependency_tracking" != xno \
1849  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1850])
1851m4trace:/usr/local/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1852AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1853])
1854m4trace:/usr/local/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
1855AS_HELP_STRING(
1856  [--enable-dependency-tracking],
1857  [do not reject slow dependency extractors])
1858AS_HELP_STRING(
1859  [--disable-dependency-tracking],
1860  [speeds up one-time build])])
1861if test "x$enable_dependency_tracking" != xno; then
1862  am_depcomp="$ac_aux_dir/depcomp"
1863  AMDEPBACKSLASH='\'
1864  am__nodep='_no'
1865fi
1866AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1867AC_SUBST([AMDEPBACKSLASH])dnl
1868_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1869AC_SUBST([am__nodep])dnl
1870_AM_SUBST_NOTMAKE([am__nodep])dnl
1871])
1872m4trace:/usr/local/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1873  # Older Autoconf quotes --file arguments for eval, but not when files
1874  # are listed without --file.  Let's play safe and only enable the eval
1875  # if we detect the quoting.
1876  # TODO: see whether this extra hack can be removed once we start
1877  # requiring Autoconf 2.70 or later.
1878  AS_CASE([$CONFIG_FILES],
1879          [*\'*], [eval set x "$CONFIG_FILES"],
1880          [*], [set x $CONFIG_FILES])
1881  shift
1882  # Used to flag and report bootstrapping failures.
1883  am_rc=0
1884  for am_mf
1885  do
1886    # Strip MF so we end up with the name of the file.
1887    am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
1888    # Check whether this is an Automake generated Makefile which includes
1889    # dependency-tracking related rules and includes.
1890    # Grep'ing the whole file directly is not great: AIX grep has a line
1891    # limit of 2048, but all sed's we know have understand at least 4000.
1892    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
1893      || continue
1894    am_dirpart=`AS_DIRNAME(["$am_mf"])`
1895    am_filepart=`AS_BASENAME(["$am_mf"])`
1896    AM_RUN_LOG([cd "$am_dirpart" \
1897      && sed -e '/# am--include-marker/d' "$am_filepart" \
1898        | $MAKE -f - am--depfiles]) || am_rc=$?
1899  done
1900  if test $am_rc -ne 0; then
1901    AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
1902    for automatic dependency tracking.  If GNU make was not used, consider
1903    re-running the configure script with MAKE="gmake" (or whatever is
1904    necessary).  You can also try re-running configure with the
1905    '--disable-dependency-tracking' option to at least be able to build
1906    the package (albeit without support for automatic dependency tracking).])
1907  fi
1908  AS_UNSET([am_dirpart])
1909  AS_UNSET([am_filepart])
1910  AS_UNSET([am_mf])
1911  AS_UNSET([am_rc])
1912  rm -f conftest-deps.mk
1913}
1914])
1915m4trace:/usr/local/share/aclocal-1.16/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1916     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1917     [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
1918m4trace:/usr/local/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
1919dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1920dnl the ones we care about.
1921m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1922AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1923AC_REQUIRE([AC_PROG_INSTALL])dnl
1924if test "`cd $srcdir && pwd`" != "`pwd`"; then
1925  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1926  # is not polluted with repeated "-I."
1927  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1928  # test to see if srcdir already configured
1929  if test -f $srcdir/config.status; then
1930    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1931  fi
1932fi
1933
1934# test whether we have cygpath
1935if test -z "$CYGPATH_W"; then
1936  if (cygpath --version) >/dev/null 2>/dev/null; then
1937    CYGPATH_W='cygpath -w'
1938  else
1939    CYGPATH_W=echo
1940  fi
1941fi
1942AC_SUBST([CYGPATH_W])
1943
1944# Define the identity of the package.
1945dnl Distinguish between old-style and new-style calls.
1946m4_ifval([$2],
1947[AC_DIAGNOSE([obsolete],
1948             [$0: two- and three-arguments forms are deprecated.])
1949m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1950 AC_SUBST([PACKAGE], [$1])dnl
1951 AC_SUBST([VERSION], [$2])],
1952[_AM_SET_OPTIONS([$1])dnl
1953dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1954m4_if(
1955  m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
1956  [ok:ok],,
1957  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1958 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1959 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1960
1961_AM_IF_OPTION([no-define],,
1962[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1963 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1964
1965# Some tools Automake needs.
1966AC_REQUIRE([AM_SANITY_CHECK])dnl
1967AC_REQUIRE([AC_ARG_PROGRAM])dnl
1968AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1969AM_MISSING_PROG([AUTOCONF], [autoconf])
1970AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1971AM_MISSING_PROG([AUTOHEADER], [autoheader])
1972AM_MISSING_PROG([MAKEINFO], [makeinfo])
1973AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1974AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1975AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1976# For better backward compatibility.  To be removed once Automake 1.9.x
1977# dies out for good.  For more background, see:
1978# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1979# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1980AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1981# We need awk for the "check" target (and possibly the TAP driver).  The
1982# system "awk" is bad on some platforms.
1983AC_REQUIRE([AC_PROG_AWK])dnl
1984AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1985AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1986_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1987	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1988			     [_AM_PROG_TAR([v7])])])
1989_AM_IF_OPTION([no-dependencies],,
1990[AC_PROVIDE_IFELSE([AC_PROG_CC],
1991		  [_AM_DEPENDENCIES([CC])],
1992		  [m4_define([AC_PROG_CC],
1993			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1994AC_PROVIDE_IFELSE([AC_PROG_CXX],
1995		  [_AM_DEPENDENCIES([CXX])],
1996		  [m4_define([AC_PROG_CXX],
1997			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1998AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1999		  [_AM_DEPENDENCIES([OBJC])],
2000		  [m4_define([AC_PROG_OBJC],
2001			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
2002AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
2003		  [_AM_DEPENDENCIES([OBJCXX])],
2004		  [m4_define([AC_PROG_OBJCXX],
2005			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
2006])
2007# Variables for tags utilities; see am/tags.am
2008if test -z "$CTAGS"; then
2009  CTAGS=ctags
2010fi
2011AC_SUBST([CTAGS])
2012if test -z "$ETAGS"; then
2013  ETAGS=etags
2014fi
2015AC_SUBST([ETAGS])
2016if test -z "$CSCOPE"; then
2017  CSCOPE=cscope
2018fi
2019AC_SUBST([CSCOPE])
2020
2021AC_REQUIRE([AM_SILENT_RULES])dnl
2022dnl The testsuite driver may need to know about EXEEXT, so add the
2023dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
2024dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
2025AC_CONFIG_COMMANDS_PRE(dnl
2026[m4_provide_if([_AM_COMPILER_EXEEXT],
2027  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
2028
2029# POSIX will say in a future version that running "rm -f" with no argument
2030# is OK; and we want to be able to make that assumption in our Makefile
2031# recipes.  So use an aggressive probe to check that the usage we want is
2032# actually supported "in the wild" to an acceptable degree.
2033# See automake bug#10828.
2034# To make any issue more visible, cause the running configure to be aborted
2035# by default if the 'rm' program in use doesn't match our expectations; the
2036# user can still override this though.
2037if rm -f && rm -fr && rm -rf; then : OK; else
2038  cat >&2 <<'END'
2039Oops!
2040
2041Your 'rm' program seems unable to run without file operands specified
2042on the command line, even when the '-f' option is present.  This is contrary
2043to the behaviour of most rm programs out there, and not conforming with
2044the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2045
2046Please tell bug-automake@gnu.org about your system, including the value
2047of your $PATH and any error possibly output before this message.  This
2048can help us improve future automake versions.
2049
2050END
2051  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2052    echo 'Configuration will proceed anyway, since you have set the' >&2
2053    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2054    echo >&2
2055  else
2056    cat >&2 <<'END'
2057Aborting the configuration process, to ensure you take notice of the issue.
2058
2059You can download and install GNU coreutils to get an 'rm' implementation
2060that behaves properly: <https://www.gnu.org/software/coreutils/>.
2061
2062If you want to complete the configuration process using your problematic
2063'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2064to "yes", and re-run configure.
2065
2066END
2067    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
2068  fi
2069fi
2070dnl The trailing newline in this macro's definition is deliberate, for
2071dnl backward compatibility and to allow trailing 'dnl'-style comments
2072dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
2073])
2074m4trace:/usr/local/share/aclocal-1.16/init.m4:200: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
2075_am_arg=$1
2076_am_stamp_count=1
2077for _am_header in $config_headers :; do
2078  case $_am_header in
2079    $_am_arg | $_am_arg:* )
2080      break ;;
2081    * )
2082      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2083  esac
2084done
2085echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
2086m4trace:/usr/local/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2087if test x"${install_sh+set}" != xset; then
2088  case $am_aux_dir in
2089  *\ * | *\	*)
2090    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2091  *)
2092    install_sh="\${SHELL} $am_aux_dir/install-sh"
2093  esac
2094fi
2095AC_SUBST([install_sh])])
2096m4trace:/usr/local/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
2097mkdir .tst 2>/dev/null
2098if test -d .tst; then
2099  am__leading_dot=.
2100else
2101  am__leading_dot=_
2102fi
2103rmdir .tst 2>/dev/null
2104AC_SUBST([am__leading_dot])])
2105m4trace:/usr/local/share/aclocal-1.16/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
2106cat > confinc.mk << 'END'
2107am__doit:
2108	@echo this is the am__doit target >confinc.out
2109.PHONY: am__doit
2110END
2111am__include="#"
2112am__quote=
2113# BSD make does it like this.
2114echo '.include "confinc.mk" # ignored' > confmf.BSD
2115# Other make implementations (GNU, Solaris 10, AIX) do it like this.
2116echo 'include confinc.mk # ignored' > confmf.GNU
2117_am_result=no
2118for s in GNU BSD; do
2119  AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
2120  AS_CASE([$?:`cat confinc.out 2>/dev/null`],
2121      ['0:this is the am__doit target'],
2122      [AS_CASE([$s],
2123          [BSD], [am__include='.include' am__quote='"'],
2124          [am__include='include' am__quote=''])])
2125  if test "$am__include" != "#"; then
2126    _am_result="yes ($s style)"
2127    break
2128  fi
2129done
2130rm -f confinc.* confmf.*
2131AC_MSG_RESULT([${_am_result}])
2132AC_SUBST([am__include])])
2133m4trace:/usr/local/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
2134m4trace:/usr/local/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
2135$1=${$1-"${am_missing_run}$2"}
2136AC_SUBST($1)])
2137m4trace:/usr/local/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2138AC_REQUIRE_AUX_FILE([missing])dnl
2139if test x"${MISSING+set}" != xset; then
2140  MISSING="\${SHELL} '$am_aux_dir/missing'"
2141fi
2142# Use eval to expand $SHELL
2143if eval "$MISSING --is-lightweight"; then
2144  am_missing_run="$MISSING "
2145else
2146  am_missing_run=
2147  AC_MSG_WARN(['missing' script is too old or missing])
2148fi
2149])
2150m4trace:/usr/local/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
2151m4trace:/usr/local/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
2152m4trace:/usr/local/share/aclocal-1.16/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2153m4trace:/usr/local/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2154m4trace:/usr/local/share/aclocal-1.16/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2155AC_REQUIRE_AUX_FILE([compile])dnl
2156AC_LANG_PUSH([C])dnl
2157AC_CACHE_CHECK(
2158  [whether $CC understands -c and -o together],
2159  [am_cv_prog_cc_c_o],
2160  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
2161  # Make sure it works both with $CC and with simple cc.
2162  # Following AC_PROG_CC_C_O, we do the test twice because some
2163  # compilers refuse to overwrite an existing .o file with -o,
2164  # though they will create one.
2165  am_cv_prog_cc_c_o=yes
2166  for am_i in 1 2; do
2167    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
2168         && test -f conftest2.$ac_objext; then
2169      : OK
2170    else
2171      am_cv_prog_cc_c_o=no
2172      break
2173    fi
2174  done
2175  rm -f core conftest*
2176  unset am_i])
2177if test "$am_cv_prog_cc_c_o" != yes; then
2178   # Losing compiler, so override with the script.
2179   # FIXME: It is wrong to rewrite CC.
2180   # But if we don't then we get into trouble of one sort or another.
2181   # A longer-term fix would be to have automake use am__CC in this case,
2182   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2183   CC="$am_aux_dir/compile $CC"
2184fi
2185AC_LANG_POP([C])])
2186m4trace:/usr/local/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
2187m4trace:/usr/local/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2188   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2189   ac_status=$?
2190   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2191   (exit $ac_status); }])
2192m4trace:/usr/local/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
2193# Reject unsafe characters in $srcdir or the absolute working directory
2194# name.  Accept space and tab only in the latter.
2195am_lf='
2196'
2197case `pwd` in
2198  *[[\\\"\#\$\&\'\`$am_lf]]*)
2199    AC_MSG_ERROR([unsafe absolute working directory name]);;
2200esac
2201case $srcdir in
2202  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
2203    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
2204esac
2205
2206# Do 'set' in a subshell so we don't clobber the current shell's
2207# arguments.  Must try -L first in case configure is actually a
2208# symlink; some systems play weird games with the mod time of symlinks
2209# (eg FreeBSD returns the mod time of the symlink's containing
2210# directory).
2211if (
2212   am_has_slept=no
2213   for am_try in 1 2; do
2214     echo "timestamp, slept: $am_has_slept" > conftest.file
2215     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2216     if test "$[*]" = "X"; then
2217	# -L didn't work.
2218	set X `ls -t "$srcdir/configure" conftest.file`
2219     fi
2220     if test "$[*]" != "X $srcdir/configure conftest.file" \
2221	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
2222
2223	# If neither matched, then we have a broken ls.  This can happen
2224	# if, for instance, CONFIG_SHELL is bash and it inherits a
2225	# broken ls alias from the environment.  This has actually
2226	# happened.  Such a system could not be considered "sane".
2227	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
2228  alias in your environment])
2229     fi
2230     if test "$[2]" = conftest.file || test $am_try -eq 2; then
2231       break
2232     fi
2233     # Just in case.
2234     sleep 1
2235     am_has_slept=yes
2236   done
2237   test "$[2]" = conftest.file
2238   )
2239then
2240   # Ok.
2241   :
2242else
2243   AC_MSG_ERROR([newly created file is older than distributed files!
2244Check your system clock])
2245fi
2246AC_MSG_RESULT([yes])
2247# If we didn't sleep, we still need to ensure time stamps of config.status and
2248# generated files are strictly newer.
2249am_sleep_pid=
2250if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2251  ( sleep 1 ) &
2252  am_sleep_pid=$!
2253fi
2254AC_CONFIG_COMMANDS_PRE(
2255  [AC_MSG_CHECKING([that generated files are newer than configure])
2256   if test -n "$am_sleep_pid"; then
2257     # Hide warnings about reused PIDs.
2258     wait $am_sleep_pid 2>/dev/null
2259   fi
2260   AC_MSG_RESULT([done])])
2261rm -f conftest.file
2262])
2263m4trace:/usr/local/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
2264AS_HELP_STRING(
2265  [--enable-silent-rules],
2266  [less verbose build output (undo: "make V=1")])
2267AS_HELP_STRING(
2268  [--disable-silent-rules],
2269  [verbose build output (undo: "make V=0")])dnl
2270])
2271case $enable_silent_rules in @%:@ (((
2272  yes) AM_DEFAULT_VERBOSITY=0;;
2273   no) AM_DEFAULT_VERBOSITY=1;;
2274    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2275esac
2276dnl
2277dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
2278dnl do not support nested variable expansions.
2279dnl See automake bug#9928 and bug#10237.
2280am_make=${MAKE-make}
2281AC_CACHE_CHECK([whether $am_make supports nested variables],
2282   [am_cv_make_support_nested_variables],
2283   [if AS_ECHO([['TRUE=$(BAR$(V))
2284BAR0=false
2285BAR1=true
2286V=1
2287am__doit:
2288	@$(TRUE)
2289.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2290  am_cv_make_support_nested_variables=yes
2291else
2292  am_cv_make_support_nested_variables=no
2293fi])
2294if test $am_cv_make_support_nested_variables = yes; then
2295  dnl Using '$V' instead of '$(V)' breaks IRIX make.
2296  AM_V='$(V)'
2297  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2298else
2299  AM_V=$AM_DEFAULT_VERBOSITY
2300  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2301fi
2302AC_SUBST([AM_V])dnl
2303AM_SUBST_NOTMAKE([AM_V])dnl
2304AC_SUBST([AM_DEFAULT_V])dnl
2305AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2306AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2307AM_BACKSLASH='\'
2308AC_SUBST([AM_BACKSLASH])dnl
2309_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2310])
2311m4trace:/usr/local/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2312# Installed binaries are usually stripped using 'strip' when the user
2313# run "make install-strip".  However 'strip' might not be the right
2314# tool to use in cross-compilation environments, therefore Automake
2315# will honor the 'STRIP' environment variable to overrule this program.
2316dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
2317if test "$cross_compiling" != no; then
2318  AC_CHECK_TOOL([STRIP], [strip], :)
2319fi
2320INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2321AC_SUBST([INSTALL_STRIP_PROGRAM])])
2322m4trace:/usr/local/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2323m4trace:/usr/local/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2324m4trace:/usr/local/share/aclocal-1.16/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.  Yes, it's still used
2325# in the wild :-(  We should find a proper way to deprecate it ...
2326AC_SUBST([AMTAR], ['$${TAR-tar}'])
2327
2328# We'll loop over all known methods to create a tar archive until one works.
2329_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2330
2331m4_if([$1], [v7],
2332  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
2333
2334  [m4_case([$1],
2335    [ustar],
2336     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2337      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2338      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2339      # and bug#13588).
2340      am_max_uid=2097151 # 2^21 - 1
2341      am_max_gid=$am_max_uid
2342      # The $UID and $GID variables are not portable, so we need to resort
2343      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2344      # below are definitely unexpected, so allow the users to see them
2345      # (that is, avoid stderr redirection).
2346      am_uid=`id -u || echo unknown`
2347      am_gid=`id -g || echo unknown`
2348      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
2349      if test $am_uid -le $am_max_uid; then
2350         AC_MSG_RESULT([yes])
2351      else
2352         AC_MSG_RESULT([no])
2353         _am_tools=none
2354      fi
2355      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
2356      if test $am_gid -le $am_max_gid; then
2357         AC_MSG_RESULT([yes])
2358      else
2359        AC_MSG_RESULT([no])
2360        _am_tools=none
2361      fi],
2362
2363  [pax],
2364    [],
2365
2366  [m4_fatal([Unknown tar format])])
2367
2368  AC_MSG_CHECKING([how to create a $1 tar archive])
2369
2370  # Go ahead even if we have the value already cached.  We do so because we
2371  # need to set the values for the 'am__tar' and 'am__untar' variables.
2372  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2373
2374  for _am_tool in $_am_tools; do
2375    case $_am_tool in
2376    gnutar)
2377      for _am_tar in tar gnutar gtar; do
2378        AM_RUN_LOG([$_am_tar --version]) && break
2379      done
2380      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2381      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2382      am__untar="$_am_tar -xf -"
2383      ;;
2384    plaintar)
2385      # Must skip GNU tar: if it does not support --format= it doesn't create
2386      # ustar tarball either.
2387      (tar --version) >/dev/null 2>&1 && continue
2388      am__tar='tar chf - "$$tardir"'
2389      am__tar_='tar chf - "$tardir"'
2390      am__untar='tar xf -'
2391      ;;
2392    pax)
2393      am__tar='pax -L -x $1 -w "$$tardir"'
2394      am__tar_='pax -L -x $1 -w "$tardir"'
2395      am__untar='pax -r'
2396      ;;
2397    cpio)
2398      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2399      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2400      am__untar='cpio -i -H $1 -d'
2401      ;;
2402    none)
2403      am__tar=false
2404      am__tar_=false
2405      am__untar=false
2406      ;;
2407    esac
2408
2409    # If the value was cached, stop now.  We just wanted to have am__tar
2410    # and am__untar set.
2411    test -n "${am_cv_prog_tar_$1}" && break
2412
2413    # tar/untar a dummy directory, and stop if the command works.
2414    rm -rf conftest.dir
2415    mkdir conftest.dir
2416    echo GrepMe > conftest.dir/file
2417    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2418    rm -rf conftest.dir
2419    if test -s conftest.tar; then
2420      AM_RUN_LOG([$am__untar <conftest.tar])
2421      AM_RUN_LOG([cat conftest.dir/file])
2422      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2423    fi
2424  done
2425  rm -rf conftest.dir
2426
2427  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2428  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2429
2430AC_SUBST([am__tar])
2431AC_SUBST([am__untar])
2432])
2433m4trace:m4/ax_check_openssl.m4:37: -1- AU_DEFUN([CHECK_SSL], [m4_if($#, 0, [AX_CHECK_OPENSSL], [AX_CHECK_OPENSSL($@)])])
2434m4trace:m4/ax_check_openssl.m4:37: -1- AC_DEFUN([CHECK_SSL], [AC_DIAGNOSE([obsolete], [The macro `CHECK_SSL' is obsolete.
2435You should run autoupdate.])dnl
2436m4_if($#, 0, [AX_CHECK_OPENSSL], [AX_CHECK_OPENSSL($@)])])
2437m4trace:m4/ax_check_openssl.m4:38: -1- AC_DEFUN([AX_CHECK_OPENSSL], [
2438    found=false
2439    AC_ARG_WITH([openssl],
2440        [AS_HELP_STRING([--with-openssl=DIR],
2441            [root of the OpenSSL directory])],
2442        [
2443            case "$withval" in
2444            "" | y | ye | yes | n | no)
2445            AC_MSG_ERROR([Invalid --with-openssl value])
2446              ;;
2447            *) ssldirs="$withval"
2448              ;;
2449            esac
2450        ], [
2451            # if pkg-config is installed and openssl has installed a .pc file,
2452            # then use that information and don't search ssldirs
2453            AC_CHECK_TOOL([PKG_CONFIG], [pkg-config])
2454            if test x"$PKG_CONFIG" != x""; then
2455                OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
2456                if test $? = 0; then
2457                    OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
2458                    OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
2459                    found=true
2460                fi
2461            fi
2462
2463            # no such luck; use some default ssldirs
2464            if ! $found; then
2465                ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
2466            fi
2467        ]
2468        )
2469
2470
2471    # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
2472    # an 'openssl' subdirectory
2473
2474    if ! $found; then
2475        OPENSSL_INCLUDES=
2476        for ssldir in $ssldirs; do
2477            AC_MSG_CHECKING([for include/openssl/ssl.h in $ssldir])
2478            if test -f "$ssldir/include/openssl/ssl.h"; then
2479                OPENSSL_INCLUDES="-I$ssldir/include"
2480                OPENSSL_LDFLAGS="-L$ssldir/lib"
2481                OPENSSL_LIBS="-lssl -lcrypto"
2482                found=true
2483                AC_MSG_RESULT([yes])
2484                break
2485            else
2486                AC_MSG_RESULT([no])
2487            fi
2488        done
2489
2490        # if the file wasn't found, well, go ahead and try the link anyway -- maybe
2491        # it will just work!
2492    fi
2493
2494    # try the preprocessor and linker with our new flags,
2495    # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
2496
2497    AC_MSG_CHECKING([whether compiling and linking against OpenSSL works])
2498    echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
2499        "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&AS_MESSAGE_LOG_FD
2500
2501    save_LIBS="$LIBS"
2502    save_LDFLAGS="$LDFLAGS"
2503    save_CPPFLAGS="$CPPFLAGS"
2504    LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
2505    LIBS="$OPENSSL_LIBS $LIBS"
2506    CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
2507    AC_LINK_IFELSE(
2508        [AC_LANG_PROGRAM([#include <openssl/ssl.h>], [SSL_new(NULL)])],
2509        [
2510            AC_MSG_RESULT([yes])
2511            $1
2512        ], [
2513            AC_MSG_RESULT([no])
2514            $2
2515        ])
2516    CPPFLAGS="$save_CPPFLAGS"
2517    LDFLAGS="$save_LDFLAGS"
2518    LIBS="$save_LIBS"
2519
2520    AC_SUBST([OPENSSL_INCLUDES])
2521    AC_SUBST([OPENSSL_LIBS])
2522    AC_SUBST([OPENSSL_LDFLAGS])
2523])
2524m4trace:m4/ax_gcc_builtin.m4:99: -1- AC_DEFUN([AX_GCC_BUILTIN], [
2525    AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1])
2526
2527    AC_CACHE_CHECK([for $1], [ac_var], [
2528        AC_LINK_IFELSE([AC_LANG_PROGRAM([], [
2529            m4_case([$1],
2530                [__builtin_assume_aligned], [$1("", 0)],
2531                [__builtin_bswap16], [$1(0)],
2532                [__builtin_bswap32], [$1(0)],
2533                [__builtin_bswap64], [$1(0)],
2534                [__builtin_choose_expr], [$1(0, 0, 0)],
2535                [__builtin___clear_cache], [$1("", "")],
2536                [__builtin_clrsb], [$1(0)],
2537                [__builtin_clrsbl], [$1(0)],
2538                [__builtin_clrsbll], [$1(0)],
2539                [__builtin_clz], [$1(0)],
2540                [__builtin_clzl], [$1(0)],
2541                [__builtin_clzll], [$1(0)],
2542                [__builtin_complex], [$1(0.0, 0.0)],
2543                [__builtin_constant_p], [$1(0)],
2544                [__builtin_cpu_init], [$1()],
2545                [__builtin_cpu_is], [$1("intel")],
2546                [__builtin_cpu_supports], [$1("sse")],
2547                [__builtin_ctz], [$1(0)],
2548                [__builtin_ctzl], [$1(0)],
2549                [__builtin_ctzll], [$1(0)],
2550                [__builtin_expect], [$1(0, 0)],
2551                [__builtin_ffs], [$1(0)],
2552                [__builtin_ffsl], [$1(0)],
2553                [__builtin_ffsll], [$1(0)],
2554                [__builtin_fpclassify], [$1(0, 1, 2, 3, 4, 0.0)],
2555                [__builtin_huge_val], [$1()],
2556                [__builtin_huge_valf], [$1()],
2557                [__builtin_huge_vall], [$1()],
2558                [__builtin_inf], [$1()],
2559                [__builtin_infd128], [$1()],
2560                [__builtin_infd32], [$1()],
2561                [__builtin_infd64], [$1()],
2562                [__builtin_inff], [$1()],
2563                [__builtin_infl], [$1()],
2564                [__builtin_isinf_sign], [$1(0.0)],
2565                [__builtin_nan], [$1("")],
2566                [__builtin_nand128], [$1("")],
2567                [__builtin_nand32], [$1("")],
2568                [__builtin_nand64], [$1("")],
2569                [__builtin_nanf], [$1("")],
2570                [__builtin_nanl], [$1("")],
2571                [__builtin_nans], [$1("")],
2572                [__builtin_nansf], [$1("")],
2573                [__builtin_nansl], [$1("")],
2574                [__builtin_object_size], [$1("", 0)],
2575                [__builtin_parity], [$1(0)],
2576                [__builtin_parityl], [$1(0)],
2577                [__builtin_parityll], [$1(0)],
2578                [__builtin_popcount], [$1(0)],
2579                [__builtin_popcountl], [$1(0)],
2580                [__builtin_popcountll], [$1(0)],
2581                [__builtin_powi], [$1(0, 0)],
2582                [__builtin_powif], [$1(0, 0)],
2583                [__builtin_powil], [$1(0, 0)],
2584                [__builtin_prefetch], [$1("")],
2585                [__builtin_trap], [$1()],
2586                [__builtin_types_compatible_p], [$1(int, int)],
2587                [__builtin_unreachable], [$1()],
2588                [m4_warn([syntax], [Unsupported built-in $1, the test may fail])
2589                 $1()]
2590            )
2591            ])],
2592            [AS_VAR_SET([ac_var], [yes])],
2593            [AS_VAR_SET([ac_var], [no])])
2594    ])
2595
2596    AS_IF([test yes = AS_VAR_GET([ac_var])],
2597        [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1), 1,
2598            [Define to 1 if the system has the `$1' built-in function])], [])
2599
2600    AS_VAR_POPDEF([ac_var])
2601])
2602m4trace:m4/ax_pthread.m4:92: -1- AU_DEFUN([ACX_PTHREAD], [m4_if($#, 0, [AX_PTHREAD], [AX_PTHREAD($@)])])
2603m4trace:m4/ax_pthread.m4:92: -1- AC_DEFUN([ACX_PTHREAD], [AC_DIAGNOSE([obsolete], [The macro `ACX_PTHREAD' is obsolete.
2604You should run autoupdate.])dnl
2605m4_if($#, 0, [AX_PTHREAD], [AX_PTHREAD($@)])])
2606m4trace:m4/ax_pthread.m4:93: -1- AC_DEFUN([AX_PTHREAD], [
2607AC_REQUIRE([AC_CANONICAL_HOST])
2608AC_REQUIRE([AC_PROG_CC])
2609AC_REQUIRE([AC_PROG_SED])
2610AC_LANG_PUSH([C])
2611ax_pthread_ok=no
2612
2613# We used to check for pthread.h first, but this fails if pthread.h
2614# requires special compiler flags (e.g. on Tru64 or Sequent).
2615# It gets checked for in the link test anyway.
2616
2617# First of all, check if the user has set any of the PTHREAD_LIBS,
2618# etcetera environment variables, and if threads linking works using
2619# them:
2620if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
2621        ax_pthread_save_CC="$CC"
2622        ax_pthread_save_CFLAGS="$CFLAGS"
2623        ax_pthread_save_LIBS="$LIBS"
2624        AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"])
2625        AS_IF([test "x$PTHREAD_CXX" != "x"], [CXX="$PTHREAD_CXX"])
2626        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2627        LIBS="$PTHREAD_LIBS $LIBS"
2628        AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS])
2629        AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes])
2630        AC_MSG_RESULT([$ax_pthread_ok])
2631        if test "x$ax_pthread_ok" = "xno"; then
2632                PTHREAD_LIBS=""
2633                PTHREAD_CFLAGS=""
2634        fi
2635        CC="$ax_pthread_save_CC"
2636        CFLAGS="$ax_pthread_save_CFLAGS"
2637        LIBS="$ax_pthread_save_LIBS"
2638fi
2639
2640# We must check for the threads library under a number of different
2641# names; the ordering is very important because some systems
2642# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
2643# libraries is broken (non-POSIX).
2644
2645# Create a list of thread flags to try. Items with a "," contain both
2646# C compiler flags (before ",") and linker flags (after ","). Other items
2647# starting with a "-" are C compiler flags, and remaining items are
2648# library names, except for "none" which indicates that we try without
2649# any flags at all, and "pthread-config" which is a program returning
2650# the flags for the Pth emulation library.
2651
2652ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
2653
2654# The ordering *is* (sometimes) important.  Some notes on the
2655# individual items follow:
2656
2657# pthreads: AIX (must check this before -lpthread)
2658# none: in case threads are in libc; should be tried before -Kthread and
2659#       other compiler flags to prevent continual compiler warnings
2660# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
2661# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
2662#           (Note: HP C rejects this with "bad form for `-t' option")
2663# -pthreads: Solaris/gcc (Note: HP C also rejects)
2664# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
2665#      doesn't hurt to check since this sometimes defines pthreads and
2666#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
2667#      is present but should not be used directly; and before -mthreads,
2668#      because the compiler interprets this as "-mt" + "-hreads")
2669# -mthreads: Mingw32/gcc, Lynx/gcc
2670# pthread: Linux, etcetera
2671# --thread-safe: KAI C++
2672# pthread-config: use pthread-config program (for GNU Pth library)
2673
2674case $host_os in
2675
2676        freebsd*)
2677
2678        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
2679        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
2680
2681        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
2682        ;;
2683
2684        hpux*)
2685
2686        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
2687        # multi-threading and also sets -lpthread."
2688
2689        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
2690        ;;
2691
2692        openedition*)
2693
2694        # IBM z/OS requires a feature-test macro to be defined in order to
2695        # enable POSIX threads at all, so give the user a hint if this is
2696        # not set. (We don't define these ourselves, as they can affect
2697        # other portions of the system API in unpredictable ways.)
2698
2699        AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING],
2700            [
2701#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
2702             AX_PTHREAD_ZOS_MISSING
2703#            endif
2704            ],
2705            [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])])
2706        ;;
2707
2708        solaris*)
2709
2710        # On Solaris (at least, for some versions), libc contains stubbed
2711        # (non-functional) versions of the pthreads routines, so link-based
2712        # tests will erroneously succeed. (N.B.: The stubs are missing
2713        # pthread_cleanup_push, or rather a function called by this macro,
2714        # so we could check for that, but who knows whether they'll stub
2715        # that too in a future libc.)  So we'll check first for the
2716        # standard Solaris way of linking pthreads (-mt -lpthread).
2717
2718        ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
2719        ;;
2720esac
2721
2722# Are we compiling with Clang?
2723
2724AC_CACHE_CHECK([whether $CC is Clang],
2725    [ax_cv_PTHREAD_CLANG],
2726    [ax_cv_PTHREAD_CLANG=no
2727     # Note that Autoconf sets GCC=yes for Clang as well as GCC
2728     if test "x$GCC" = "xyes"; then
2729        AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG],
2730            [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
2731#            if defined(__clang__) && defined(__llvm__)
2732             AX_PTHREAD_CC_IS_CLANG
2733#            endif
2734            ],
2735            [ax_cv_PTHREAD_CLANG=yes])
2736     fi
2737    ])
2738ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
2739
2740
2741# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
2742
2743# Note that for GCC and Clang -pthread generally implies -lpthread,
2744# except when -nostdlib is passed.
2745# This is problematic using libtool to build C++ shared libraries with pthread:
2746# [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
2747# [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
2748# [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
2749# To solve this, first try -pthread together with -lpthread for GCC
2750
2751AS_IF([test "x$GCC" = "xyes"],
2752      [ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"])
2753
2754# Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
2755
2756AS_IF([test "x$ax_pthread_clang" = "xyes"],
2757      [ax_pthread_flags="-pthread,-lpthread -pthread"])
2758
2759
2760# The presence of a feature test macro requesting re-entrant function
2761# definitions is, on some systems, a strong hint that pthreads support is
2762# correctly enabled
2763
2764case $host_os in
2765        darwin* | hpux* | linux* | osf* | solaris*)
2766        ax_pthread_check_macro="_REENTRANT"
2767        ;;
2768
2769        aix*)
2770        ax_pthread_check_macro="_THREAD_SAFE"
2771        ;;
2772
2773        *)
2774        ax_pthread_check_macro="--"
2775        ;;
2776esac
2777AS_IF([test "x$ax_pthread_check_macro" = "x--"],
2778      [ax_pthread_check_cond=0],
2779      [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"])
2780
2781
2782if test "x$ax_pthread_ok" = "xno"; then
2783for ax_pthread_try_flag in $ax_pthread_flags; do
2784
2785        case $ax_pthread_try_flag in
2786                none)
2787                AC_MSG_CHECKING([whether pthreads work without any flags])
2788                ;;
2789
2790                *,*)
2791                PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
2792                PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
2793                AC_MSG_CHECKING([whether pthreads work with "$PTHREAD_CFLAGS" and "$PTHREAD_LIBS"])
2794                ;;
2795
2796                -*)
2797                AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag])
2798                PTHREAD_CFLAGS="$ax_pthread_try_flag"
2799                ;;
2800
2801                pthread-config)
2802                AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
2803                AS_IF([test "x$ax_pthread_config" = "xno"], [continue])
2804                PTHREAD_CFLAGS="`pthread-config --cflags`"
2805                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
2806                ;;
2807
2808                *)
2809                AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag])
2810                PTHREAD_LIBS="-l$ax_pthread_try_flag"
2811                ;;
2812        esac
2813
2814        ax_pthread_save_CFLAGS="$CFLAGS"
2815        ax_pthread_save_LIBS="$LIBS"
2816        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2817        LIBS="$PTHREAD_LIBS $LIBS"
2818
2819        # Check for various functions.  We must include pthread.h,
2820        # since some functions may be macros.  (On the Sequent, we
2821        # need a special flag -Kthread to make this header compile.)
2822        # We check for pthread_join because it is in -lpthread on IRIX
2823        # while pthread_create is in libc.  We check for pthread_attr_init
2824        # due to DEC craziness with -lpthreads.  We check for
2825        # pthread_cleanup_push because it is one of the few pthread
2826        # functions on Solaris that doesn't have a non-functional libc stub.
2827        # We try pthread_create on general principles.
2828
2829        AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
2830#                       if $ax_pthread_check_cond
2831#                        error "$ax_pthread_check_macro must be defined"
2832#                       endif
2833                        static void *some_global = NULL;
2834                        static void routine(void *a)
2835                          {
2836                             /* To avoid any unused-parameter or
2837                                unused-but-set-parameter warning.  */
2838                             some_global = a;
2839                          }
2840                        static void *start_routine(void *a) { return a; }],
2841                       [pthread_t th; pthread_attr_t attr;
2842                        pthread_create(&th, 0, start_routine, 0);
2843                        pthread_join(th, 0);
2844                        pthread_attr_init(&attr);
2845                        pthread_cleanup_push(routine, 0);
2846                        pthread_cleanup_pop(0) /* ; */])],
2847            [ax_pthread_ok=yes],
2848            [])
2849
2850        CFLAGS="$ax_pthread_save_CFLAGS"
2851        LIBS="$ax_pthread_save_LIBS"
2852
2853        AC_MSG_RESULT([$ax_pthread_ok])
2854        AS_IF([test "x$ax_pthread_ok" = "xyes"], [break])
2855
2856        PTHREAD_LIBS=""
2857        PTHREAD_CFLAGS=""
2858done
2859fi
2860
2861
2862# Clang needs special handling, because older versions handle the -pthread
2863# option in a rather... idiosyncratic way
2864
2865if test "x$ax_pthread_clang" = "xyes"; then
2866
2867        # Clang takes -pthread; it has never supported any other flag
2868
2869        # (Note 1: This will need to be revisited if a system that Clang
2870        # supports has POSIX threads in a separate library.  This tends not
2871        # to be the way of modern systems, but it's conceivable.)
2872
2873        # (Note 2: On some systems, notably Darwin, -pthread is not needed
2874        # to get POSIX threads support; the API is always present and
2875        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
2876        # -pthread does define _REENTRANT, and while the Darwin headers
2877        # ignore this macro, third-party headers might not.)
2878
2879        # However, older versions of Clang make a point of warning the user
2880        # that, in an invocation where only linking and no compilation is
2881        # taking place, the -pthread option has no effect ("argument unused
2882        # during compilation").  They expect -pthread to be passed in only
2883        # when source code is being compiled.
2884        #
2885        # Problem is, this is at odds with the way Automake and most other
2886        # C build frameworks function, which is that the same flags used in
2887        # compilation (CFLAGS) are also used in linking.  Many systems
2888        # supported by AX_PTHREAD require exactly this for POSIX threads
2889        # support, and in fact it is often not straightforward to specify a
2890        # flag that is used only in the compilation phase and not in
2891        # linking.  Such a scenario is extremely rare in practice.
2892        #
2893        # Even though use of the -pthread flag in linking would only print
2894        # a warning, this can be a nuisance for well-run software projects
2895        # that build with -Werror.  So if the active version of Clang has
2896        # this misfeature, we search for an option to squash it.
2897
2898        AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread],
2899            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG],
2900            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
2901             # Create an alternate version of $ac_link that compiles and
2902             # links in two steps (.c -> .o, .o -> exe) instead of one
2903             # (.c -> exe), because the warning occurs only in the second
2904             # step
2905             ax_pthread_save_ac_link="$ac_link"
2906             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
2907             ax_pthread_link_step=`AS_ECHO(["$ac_link"]) | sed "$ax_pthread_sed"`
2908             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
2909             ax_pthread_save_CFLAGS="$CFLAGS"
2910             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
2911                AS_IF([test "x$ax_pthread_try" = "xunknown"], [break])
2912                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
2913                ac_link="$ax_pthread_save_ac_link"
2914                AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
2915                    [ac_link="$ax_pthread_2step_ac_link"
2916                     AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
2917                         [break])
2918                    ])
2919             done
2920             ac_link="$ax_pthread_save_ac_link"
2921             CFLAGS="$ax_pthread_save_CFLAGS"
2922             AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no])
2923             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
2924            ])
2925
2926        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
2927                no | unknown) ;;
2928                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
2929        esac
2930
2931fi # $ax_pthread_clang = yes
2932
2933
2934
2935# Various other checks:
2936if test "x$ax_pthread_ok" = "xyes"; then
2937        ax_pthread_save_CFLAGS="$CFLAGS"
2938        ax_pthread_save_LIBS="$LIBS"
2939        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2940        LIBS="$PTHREAD_LIBS $LIBS"
2941
2942        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
2943        AC_CACHE_CHECK([for joinable pthread attribute],
2944            [ax_cv_PTHREAD_JOINABLE_ATTR],
2945            [ax_cv_PTHREAD_JOINABLE_ATTR=unknown
2946             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
2947                 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
2948                                                 [int attr = $ax_pthread_attr; return attr /* ; */])],
2949                                [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break],
2950                                [])
2951             done
2952            ])
2953        AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
2954               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
2955               test "x$ax_pthread_joinable_attr_defined" != "xyes"],
2956              [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE],
2957                                  [$ax_cv_PTHREAD_JOINABLE_ATTR],
2958                                  [Define to necessary symbol if this constant
2959                                   uses a non-standard name on your system.])
2960               ax_pthread_joinable_attr_defined=yes
2961              ])
2962
2963        AC_CACHE_CHECK([whether more special flags are required for pthreads],
2964            [ax_cv_PTHREAD_SPECIAL_FLAGS],
2965            [ax_cv_PTHREAD_SPECIAL_FLAGS=no
2966             case $host_os in
2967             solaris*)
2968             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
2969             ;;
2970             esac
2971            ])
2972        AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
2973               test "x$ax_pthread_special_flags_added" != "xyes"],
2974              [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
2975               ax_pthread_special_flags_added=yes])
2976
2977        AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
2978            [ax_cv_PTHREAD_PRIO_INHERIT],
2979            [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
2980                                             [[int i = PTHREAD_PRIO_INHERIT;
2981                                               return i;]])],
2982                            [ax_cv_PTHREAD_PRIO_INHERIT=yes],
2983                            [ax_cv_PTHREAD_PRIO_INHERIT=no])
2984            ])
2985        AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
2986               test "x$ax_pthread_prio_inherit_defined" != "xyes"],
2987              [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])
2988               ax_pthread_prio_inherit_defined=yes
2989              ])
2990
2991        CFLAGS="$ax_pthread_save_CFLAGS"
2992        LIBS="$ax_pthread_save_LIBS"
2993
2994        # More AIX lossage: compile with *_r variant
2995        if test "x$GCC" != "xyes"; then
2996            case $host_os in
2997                aix*)
2998                AS_CASE(["x/$CC"],
2999                    [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
3000                    [#handle absolute path differently from PATH based program lookup
3001                     AS_CASE(["x$CC"],
3002                         [x/*],
3003                         [
3004			   AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])
3005			   AS_IF([test "x${CXX}" != "x"], [AS_IF([AS_EXECUTABLE_P([${CXX}_r])],[PTHREAD_CXX="${CXX}_r"])])
3006			 ],
3007                         [
3008			   AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])
3009			   AS_IF([test "x${CXX}" != "x"], [AC_CHECK_PROGS([PTHREAD_CXX],[${CXX}_r],[$CXX])])
3010			 ]
3011                     )
3012                    ])
3013                ;;
3014            esac
3015        fi
3016fi
3017
3018test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
3019test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
3020
3021AC_SUBST([PTHREAD_LIBS])
3022AC_SUBST([PTHREAD_CFLAGS])
3023AC_SUBST([PTHREAD_CC])
3024AC_SUBST([PTHREAD_CXX])
3025
3026# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
3027if test "x$ax_pthread_ok" = "xyes"; then
3028        ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
3029        :
3030else
3031        ax_pthread_ok=no
3032        $2
3033fi
3034AC_LANG_POP
3035])
3036m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
3037m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
3038m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3039m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
3040m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
3041m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
3042m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
3043m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
3044m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3045m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
3046m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3047m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3048m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
3049m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3050m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
3051m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
3052m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
3053m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
3054m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
3055m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
3056m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
3057m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
3058m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
3059m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
3060m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
3061m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
3062m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
3063m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
3064m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
3065m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
3066m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
3067m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
3068m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
3069m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
3070m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
3071m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
3072m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
3073m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
3074m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3075m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3076m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
3077m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3078m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
3079m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
3080m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
3081m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
3082m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
3083m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
3084m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
3085m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
3086m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
3087m4trace:configure.ac:7: -1- AC_CONFIG_MACRO_DIR([m4])
3088m4trace:configure.ac:8: -1- m4_pattern_allow([^build$])
3089m4trace:configure.ac:8: -1- m4_pattern_allow([^build_cpu$])
3090m4trace:configure.ac:8: -1- m4_pattern_allow([^build_vendor$])
3091m4trace:configure.ac:8: -1- m4_pattern_allow([^build_os$])
3092m4trace:configure.ac:8: -1- m4_pattern_allow([^host$])
3093m4trace:configure.ac:8: -1- m4_pattern_allow([^host_cpu$])
3094m4trace:configure.ac:8: -1- m4_pattern_allow([^host_vendor$])
3095m4trace:configure.ac:8: -1- m4_pattern_allow([^host_os$])
3096m4trace:configure.ac:8: -1- m4_pattern_allow([^target$])
3097m4trace:configure.ac:8: -1- m4_pattern_allow([^target_cpu$])
3098m4trace:configure.ac:8: -1- m4_pattern_allow([^target_vendor$])
3099m4trace:configure.ac:8: -1- m4_pattern_allow([^target_os$])
3100m4trace:configure.ac:9: -1- AM_INIT_AUTOMAKE
3101m4trace:configure.ac:9: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3102m4trace:configure.ac:9: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3103m4trace:configure.ac:9: -1- AM_AUTOMAKE_VERSION([1.16.4])
3104m4trace:configure.ac:9: -1- _AM_AUTOCONF_VERSION([2.69])
3105m4trace:configure.ac:9: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3106m4trace:configure.ac:9: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3107m4trace:configure.ac:9: -1- m4_pattern_allow([^INSTALL_DATA$])
3108m4trace:configure.ac:9: -1- m4_pattern_allow([^am__isrc$])
3109m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__isrc])
3110m4trace:configure.ac:9: -1- m4_pattern_allow([^CYGPATH_W$])
3111m4trace:configure.ac:9: -1- _AM_SET_OPTIONS([])
3112m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE$])
3113m4trace:configure.ac:9: -1- m4_pattern_allow([^VERSION$])
3114m4trace:configure.ac:9: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3115 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
3116m4trace:configure.ac:9: -2- _AM_MANGLE_OPTION([no-define])
3117m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE$])
3118m4trace:configure.ac:9: -1- m4_pattern_allow([^VERSION$])
3119m4trace:configure.ac:9: -1- AM_SANITY_CHECK
3120m4trace:configure.ac:9: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3121m4trace:configure.ac:9: -1- AM_MISSING_HAS_RUN
3122m4trace:configure.ac:9: -1- AM_AUX_DIR_EXPAND
3123m4trace:configure.ac:9: -1- m4_pattern_allow([^ACLOCAL$])
3124m4trace:configure.ac:9: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3125m4trace:configure.ac:9: -1- m4_pattern_allow([^AUTOCONF$])
3126m4trace:configure.ac:9: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3127m4trace:configure.ac:9: -1- m4_pattern_allow([^AUTOMAKE$])
3128m4trace:configure.ac:9: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3129m4trace:configure.ac:9: -1- m4_pattern_allow([^AUTOHEADER$])
3130m4trace:configure.ac:9: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3131m4trace:configure.ac:9: -1- m4_pattern_allow([^MAKEINFO$])
3132m4trace:configure.ac:9: -1- AM_PROG_INSTALL_SH
3133m4trace:configure.ac:9: -1- m4_pattern_allow([^install_sh$])
3134m4trace:configure.ac:9: -1- AM_PROG_INSTALL_STRIP
3135m4trace:configure.ac:9: -1- m4_pattern_allow([^STRIP$])
3136m4trace:configure.ac:9: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3137m4trace:configure.ac:9: -1- m4_pattern_allow([^MKDIR_P$])
3138m4trace:configure.ac:9: -1- m4_pattern_allow([^mkdir_p$])
3139m4trace:configure.ac:9: -1- m4_pattern_allow([^AWK$])
3140m4trace:configure.ac:9: -1- m4_pattern_allow([^SET_MAKE$])
3141m4trace:configure.ac:9: -1- AM_SET_LEADING_DOT
3142m4trace:configure.ac:9: -1- m4_pattern_allow([^am__leading_dot$])
3143m4trace:configure.ac:9: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3144			     [_AM_PROG_TAR([v7])])])
3145m4trace:configure.ac:9: -2- _AM_MANGLE_OPTION([tar-ustar])
3146m4trace:configure.ac:9: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3147m4trace:configure.ac:9: -2- _AM_MANGLE_OPTION([tar-pax])
3148m4trace:configure.ac:9: -1- _AM_PROG_TAR([v7])
3149m4trace:configure.ac:9: -1- m4_pattern_allow([^AMTAR$])
3150m4trace:configure.ac:9: -1- m4_pattern_allow([^am__tar$])
3151m4trace:configure.ac:9: -1- m4_pattern_allow([^am__untar$])
3152m4trace:configure.ac:9: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3153		  [_AM_DEPENDENCIES([CC])],
3154		  [m4_define([AC_PROG_CC],
3155			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3156AC_PROVIDE_IFELSE([AC_PROG_CXX],
3157		  [_AM_DEPENDENCIES([CXX])],
3158		  [m4_define([AC_PROG_CXX],
3159			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3160AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3161		  [_AM_DEPENDENCIES([OBJC])],
3162		  [m4_define([AC_PROG_OBJC],
3163			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
3164AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
3165		  [_AM_DEPENDENCIES([OBJCXX])],
3166		  [m4_define([AC_PROG_OBJCXX],
3167			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3168])
3169m4trace:configure.ac:9: -2- _AM_MANGLE_OPTION([no-dependencies])
3170m4trace:configure.ac:9: -1- m4_pattern_allow([^CTAGS$])
3171m4trace:configure.ac:9: -1- m4_pattern_allow([^ETAGS$])
3172m4trace:configure.ac:9: -1- m4_pattern_allow([^CSCOPE$])
3173m4trace:configure.ac:9: -1- AM_SILENT_RULES
3174m4trace:configure.ac:9: -1- m4_pattern_allow([^AM_V$])
3175m4trace:configure.ac:9: -1- AM_SUBST_NOTMAKE([AM_V])
3176m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AM_V])
3177m4trace:configure.ac:9: -1- m4_pattern_allow([^AM_DEFAULT_V$])
3178m4trace:configure.ac:9: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3179m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3180m4trace:configure.ac:9: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
3181m4trace:configure.ac:9: -1- m4_pattern_allow([^AM_BACKSLASH$])
3182m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
3183m4trace:configure.ac:11: -1- LT_INIT
3184m4trace:configure.ac:11: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
3185m4trace:configure.ac:11: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
3186m4trace:configure.ac:11: -1- LTOPTIONS_VERSION
3187m4trace:configure.ac:11: -1- LTSUGAR_VERSION
3188m4trace:configure.ac:11: -1- LTVERSION_VERSION
3189m4trace:configure.ac:11: -1- LTOBSOLETE_VERSION
3190m4trace:configure.ac:11: -1- _LT_PROG_LTMAIN
3191m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBTOOL$])
3192m4trace:configure.ac:11: -1- _LT_PREPARE_SED_QUOTE_VARS
3193m4trace:configure.ac:11: -1- _LT_PROG_ECHO_BACKSLASH
3194m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3195m4trace:configure.ac:11: -1- m4_pattern_allow([^CFLAGS$])
3196m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$])
3197m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$])
3198m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$])
3199m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3200m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3201m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3202m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3203m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CC$])
3204m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$])
3205m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$])
3206m4trace:configure.ac:11: -1- _AM_PROG_CC_C_O
3207m4trace:configure.ac:11: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
3208m4trace:configure.ac:11: -1- _AM_DEPENDENCIES([CC])
3209m4trace:configure.ac:11: -1- AM_SET_DEPDIR
3210m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$])
3211m4trace:configure.ac:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3212m4trace:configure.ac:11: -1- AM_MAKE_INCLUDE
3213m4trace:configure.ac:11: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
3214m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$])
3215m4trace:configure.ac:11: -1- AM_DEP_TRACK
3216m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3217m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$])
3218m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$])
3219m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3220m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3221m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3222m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3223m4trace:configure.ac:11: -1- m4_pattern_allow([^am__nodep$])
3224m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__nodep])
3225m4trace:configure.ac:11: -1- m4_pattern_allow([^CCDEPMODE$])
3226m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCC], [
3227  test "x$enable_dependency_tracking" != xno \
3228  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3229m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3230m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3231m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3232m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3233m4trace:configure.ac:11: -1- LT_PATH_LD
3234m4trace:configure.ac:11: -1- m4_pattern_allow([^SED$])
3235m4trace:configure.ac:11: -1- AC_PROG_EGREP
3236m4trace:configure.ac:11: -1- m4_pattern_allow([^GREP$])
3237m4trace:configure.ac:11: -1- m4_pattern_allow([^EGREP$])
3238m4trace:configure.ac:11: -1- m4_pattern_allow([^FGREP$])
3239m4trace:configure.ac:11: -1- m4_pattern_allow([^GREP$])
3240m4trace:configure.ac:11: -1- m4_pattern_allow([^LD$])
3241m4trace:configure.ac:11: -1- LT_PATH_NM
3242m4trace:configure.ac:11: -1- m4_pattern_allow([^DUMPBIN$])
3243m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
3244m4trace:configure.ac:11: -1- m4_pattern_allow([^DUMPBIN$])
3245m4trace:configure.ac:11: -1- m4_pattern_allow([^NM$])
3246m4trace:configure.ac:11: -1- m4_pattern_allow([^LN_S$])
3247m4trace:configure.ac:11: -1- LT_CMD_MAX_LEN
3248m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJDUMP$])
3249m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJDUMP$])
3250m4trace:configure.ac:11: -1- m4_pattern_allow([^DLLTOOL$])
3251m4trace:configure.ac:11: -1- m4_pattern_allow([^DLLTOOL$])
3252m4trace:configure.ac:11: -1- m4_pattern_allow([^AR$])
3253m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_AR$])
3254m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
3255m4trace:configure.ac:11: -1- m4_pattern_allow([^RANLIB$])
3256m4trace:configure.ac:11: -1- _LT_WITH_SYSROOT
3257m4trace:configure.ac:11: -1- m4_pattern_allow([LT_OBJDIR])
3258m4trace:configure.ac:11: -1- m4_pattern_allow([^LT_OBJDIR$])
3259m4trace:configure.ac:11: -1- _LT_CC_BASENAME([$compiler])
3260m4trace:configure.ac:11: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
3261m4trace:configure.ac:11: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
3262m4trace:configure.ac:11: -1- LT_SUPPORTED_TAG([CC])
3263m4trace:configure.ac:11: -1- _LT_COMPILER_BOILERPLATE
3264m4trace:configure.ac:11: -1- _LT_LINKER_BOILERPLATE
3265m4trace:configure.ac:11: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
3266m4trace:configure.ac:11: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
3267     "" | " "*) ;;
3268     *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
3269     esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
3270     _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
3271m4trace:configure.ac:11: -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, )=])
3272m4trace:configure.ac:11: -1- m4_pattern_allow([^MANIFEST_TOOL$])
3273m4trace:configure.ac:11: -1- _LT_DLL_DEF_P([$export_symbols])
3274m4trace:configure.ac:11: -1- _LT_DLL_DEF_P([$export_symbols])
3275m4trace:configure.ac:11: -1- _LT_REQUIRED_DARWIN_CHECKS
3276m4trace:configure.ac:11: -1- m4_pattern_allow([^DSYMUTIL$])
3277m4trace:configure.ac:11: -1- m4_pattern_allow([^NMEDIT$])
3278m4trace:configure.ac:11: -1- m4_pattern_allow([^LIPO$])
3279m4trace:configure.ac:11: -1- m4_pattern_allow([^OTOOL$])
3280m4trace:configure.ac:11: -1- m4_pattern_allow([^OTOOL64$])
3281m4trace:configure.ac:11: -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'])
3282m4trace:configure.ac:11: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
3283m4trace:configure.ac:11: -1- LT_SYS_DLOPEN_SELF
3284m4trace:configure.ac:11: -1- m4_pattern_allow([^CPP$])
3285m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$])
3286m4trace:configure.ac:11: -1- m4_pattern_allow([^CPP$])
3287m4trace:configure.ac:11: -1- m4_pattern_allow([^STDC_HEADERS$])
3288m4trace:configure.ac:11: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3289m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
3290m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$])
3291m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
3292m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
3293m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
3294m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
3295m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
3296m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
3297m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
3298m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$])
3299m4trace:configure.ac:12: -1- _AM_PROG_CC_C_O
3300m4trace:configure.ac:12: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
3301m4trace:configure.ac:12: -1- _AM_DEPENDENCIES([CC])
3302m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
3303m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
3304  test "x$enable_dependency_tracking" != xno \
3305  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3306m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3307m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3308m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3309m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3310m4trace:configure.ac:23: -1- m4_pattern_allow([^NDEBUG$])
3311m4trace:configure.ac:31: -1- m4_pattern_allow([^WITHOUT_PRIVSEP$])
3312m4trace:configure.ac:51: -1- m4_pattern_allow([^privsep_user$])
3313m4trace:configure.ac:52: -1- m4_pattern_allow([^privsep_dir$])
3314m4trace:configure.ac:53: -1- m4_pattern_allow([^privsep_dir_owner$])
3315m4trace:configure.ac:54: -1- m4_pattern_allow([^privsep_dir_group$])
3316m4trace:configure.ac:55: -1- m4_pattern_allow([^PRIVSEP_USER$])
3317m4trace:configure.ac:58: -1- m4_pattern_allow([^PRIVSEP_DIR$])
3318m4trace:configure.ac:61: -1- m4_pattern_allow([^PRIVSEP_DIR_OWNER$])
3319m4trace:configure.ac:64: -1- m4_pattern_allow([^PRIVSEP_DIR_GROUP$])
3320m4trace:configure.ac:74: -1- m4_pattern_allow([^WITHOUT_DEBUGFILE$])
3321m4trace:configure.ac:119: -1- m4_pattern_allow([^PCRE_CFLAGS$])
3322m4trace:configure.ac:120: -1- m4_pattern_allow([^PCRE_LIBS$])
3323m4trace:configure.ac:129: -1- AM_CONDITIONAL([WITH_SC_HOIHO], [test x$with_sc_hoiho = xyes])
3324m4trace:configure.ac:129: -1- m4_pattern_allow([^WITH_SC_HOIHO_TRUE$])
3325m4trace:configure.ac:129: -1- m4_pattern_allow([^WITH_SC_HOIHO_FALSE$])
3326m4trace:configure.ac:129: -1- _AM_SUBST_NOTMAKE([WITH_SC_HOIHO_TRUE])
3327m4trace:configure.ac:129: -1- _AM_SUBST_NOTMAKE([WITH_SC_HOIHO_FALSE])
3328m4trace:configure.ac:138: -1- AM_CONDITIONAL([WITH_SC_UPTIME], [test x$with_sc_uptime = xyes])
3329m4trace:configure.ac:138: -1- m4_pattern_allow([^WITH_SC_UPTIME_TRUE$])
3330m4trace:configure.ac:138: -1- m4_pattern_allow([^WITH_SC_UPTIME_FALSE$])
3331m4trace:configure.ac:138: -1- _AM_SUBST_NOTMAKE([WITH_SC_UPTIME_TRUE])
3332m4trace:configure.ac:138: -1- _AM_SUBST_NOTMAKE([WITH_SC_UPTIME_FALSE])
3333m4trace:configure.ac:141: -1- m4_pattern_allow([^HAVE_LIBIPHLPAPI$])
3334m4trace:configure.ac:142: -1- m4_pattern_allow([^HAVE_LIBWS2_32$])
3335m4trace:configure.ac:145: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$])
3336m4trace:configure.ac:146: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$])
3337m4trace:configure.ac:147: -1- m4_pattern_allow([^HAVE_FCNTL_H$])
3338m4trace:configure.ac:148: -1- m4_pattern_allow([^HAVE_LIMITS_H$])
3339m4trace:configure.ac:149: -1- m4_pattern_allow([^HAVE_NETDB_H$])
3340m4trace:configure.ac:150: -1- m4_pattern_allow([^HAVE_NET_IF_DL_H$])
3341m4trace:configure.ac:151: -1- m4_pattern_allow([^HAVE_NET_IF_TYPES_H$])
3342m4trace:configure.ac:152: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$])
3343m4trace:configure.ac:153: -1- m4_pattern_allow([^HAVE_POLL_H$])
3344m4trace:configure.ac:154: -1- m4_pattern_allow([^HAVE_STDINT_H$])
3345m4trace:configure.ac:155: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
3346m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_STRING_H$])
3347m4trace:configure.ac:157: -1- m4_pattern_allow([^HAVE_SYS_EPOLL_H$])
3348m4trace:configure.ac:158: -1- m4_pattern_allow([^HAVE_SYS_EVENT_H$])
3349m4trace:configure.ac:159: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$])
3350m4trace:configure.ac:160: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
3351m4trace:configure.ac:161: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
3352m4trace:configure.ac:162: -1- m4_pattern_allow([^HAVE_SYS_SOCKETVAR_H$])
3353m4trace:configure.ac:163: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
3354m4trace:configure.ac:164: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
3355m4trace:configure.ac:165: -1- m4_pattern_allow([^HAVE_IFADDRS_H$])
3356m4trace:configure.ac:168: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
3357m4trace:configure.ac:193: -1- m4_pattern_allow([^HAVE_NETINET_TCP_VAR_H$])
3358m4trace:configure.ac:208: -1- m4_pattern_allow([^HAVE_NET_PFVAR_H$])
3359m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_LINUX_NETLINK_H$])
3360m4trace:configure.ac:223: -1- m4_pattern_allow([^const$])
3361m4trace:configure.ac:224: -1- m4_pattern_allow([^uid_t$])
3362m4trace:configure.ac:224: -1- m4_pattern_allow([^gid_t$])
3363m4trace:configure.ac:225: -1- m4_pattern_allow([^int16_t$])
3364m4trace:configure.ac:226: -1- m4_pattern_allow([^int32_t$])
3365m4trace:configure.ac:227: -1- m4_pattern_allow([^mode_t$])
3366m4trace:configure.ac:228: -1- m4_pattern_allow([^off_t$])
3367m4trace:configure.ac:229: -1- m4_pattern_allow([^pid_t$])
3368m4trace:configure.ac:230: -1- m4_pattern_allow([^size_t$])
3369m4trace:configure.ac:231: -1- m4_pattern_allow([^ssize_t$])
3370m4trace:configure.ac:232: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
3371m4trace:configure.ac:233: -1- m4_pattern_allow([^uint16_t$])
3372m4trace:configure.ac:234: -1- m4_pattern_allow([^_UINT32_T$])
3373m4trace:configure.ac:234: -1- m4_pattern_allow([^uint32_t$])
3374m4trace:configure.ac:235: -1- m4_pattern_allow([^_UINT64_T$])
3375m4trace:configure.ac:235: -1- m4_pattern_allow([^uint64_t$])
3376m4trace:configure.ac:236: -1- m4_pattern_allow([^_UINT8_T$])
3377m4trace:configure.ac:236: -1- m4_pattern_allow([^uint8_t$])
3378m4trace:configure.ac:239: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
3379m4trace:configure.ac:239: -1- m4_pattern_allow([^HAVE_CHOWN$])
3380m4trace:configure.ac:240: -1- m4_pattern_allow([^HAVE_VFORK_H$])
3381m4trace:configure.ac:240: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
3382m4trace:configure.ac:240: -1- m4_pattern_allow([^vfork$])
3383m4trace:configure.ac:240: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
3384m4trace:configure.ac:241: -1- m4_pattern_allow([^HAVE_ARC4RANDOM$])
3385m4trace:configure.ac:242: -1- m4_pattern_allow([^HAVE_ARC4RANDOM_UNIFORM$])
3386m4trace:configure.ac:243: -1- m4_pattern_allow([^HAVE_ATEXIT$])
3387m4trace:configure.ac:244: -1- m4_pattern_allow([^HAVE_CALLOC$])
3388m4trace:configure.ac:245: -1- m4_pattern_allow([^HAVE_DAEMON$])
3389m4trace:configure.ac:246: -1- m4_pattern_allow([^HAVE_ENDPWENT$])
3390m4trace:configure.ac:247: -1- m4_pattern_allow([^HAVE_EPOLL_WAIT$])
3391m4trace:configure.ac:248: -1- m4_pattern_allow([^HAVE_FTRUNCATE$])
3392m4trace:configure.ac:249: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$])
3393m4trace:configure.ac:250: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
3394m4trace:configure.ac:251: -1- m4_pattern_allow([^HAVE_GETIFADDRS$])
3395m4trace:configure.ac:252: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
3396m4trace:configure.ac:253: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
3397m4trace:configure.ac:254: -1- m4_pattern_allow([^HAVE_KQUEUE$])
3398m4trace:configure.ac:255: -1- m4_pattern_allow([^HAVE_MEMMOVE$])
3399m4trace:configure.ac:256: -1- m4_pattern_allow([^HAVE_MEMSET$])
3400m4trace:configure.ac:257: -1- m4_pattern_allow([^HAVE_MKDIR$])
3401m4trace:configure.ac:258: -1- m4_pattern_allow([^HAVE_POLL$])
3402m4trace:configure.ac:259: -1- m4_pattern_allow([^HAVE_RMDIR$])
3403m4trace:configure.ac:260: -1- m4_pattern_allow([^HAVE_SELECT$])
3404m4trace:configure.ac:261: -1- m4_pattern_allow([^HAVE_SOCKET$])
3405m4trace:configure.ac:262: -1- m4_pattern_allow([^HAVE_SNPRINTF$])
3406m4trace:configure.ac:263: -1- m4_pattern_allow([^HAVE_SETPROCTITLE$])
3407m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_STRCASECMP$])
3408m4trace:configure.ac:265: -1- m4_pattern_allow([^HAVE_STRCASESTR$])
3409m4trace:configure.ac:266: -1- m4_pattern_allow([^HAVE_STRDUP$])
3410m4trace:configure.ac:267: -1- m4_pattern_allow([^HAVE_STRERROR$])
3411m4trace:configure.ac:268: -1- m4_pattern_allow([^HAVE_STRNCASECMP$])
3412m4trace:configure.ac:269: -1- m4_pattern_allow([^HAVE_STRTOL$])
3413m4trace:configure.ac:270: -1- m4_pattern_allow([^HAVE_SYSCTL$])
3414m4trace:configure.ac:271: -1- m4_pattern_allow([^HAVE_UNAME$])
3415m4trace:configure.ac:273: -1- m4_pattern_allow([^SIZEOF_LONG$])
3416m4trace:configure.ac:275: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
3417m4trace:configure.ac:282: -1- m4_pattern_allow([^HAVE_STRUCT_PFIOC_TRANS_E_TYPE$])
3418m4trace:configure.ac:290: -1- m4_pattern_allow([^HAVE_STRUCT_PFIOC_TRANS_E_RS_NUM$])
3419m4trace:configure.ac:298: -1- m4_pattern_allow([^HAVE_STRUCT_PF_RULE_NAT$])
3420m4trace:configure.ac:306: -1- m4_pattern_allow([^HAVE_STRUCT_PF_RULE_RDR$])
3421m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRUCT_NLMSGHDR$])
3422m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_STRUCT_NLMSGERR$])
3423m4trace:configure.ac:356: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_NL$])
3424m4trace:configure.ac:381: -1- AX_CHECK_OPENSSL([AC_DEFINE([HAVE_OPENSSL], [1], [Define to 1 if you have OpenSSL])
3425	CFLAGS="$CFLAGS $OPENSSL_INCLUDES"
3426	have_openssl=yes])
3427m4trace:configure.ac:381: -1- m4_pattern_allow([^PKG_CONFIG$])
3428m4trace:configure.ac:381: -1- m4_pattern_allow([^HAVE_OPENSSL$])
3429m4trace:configure.ac:381: -1- m4_pattern_allow([^OPENSSL_INCLUDES$])
3430m4trace:configure.ac:381: -1- m4_pattern_allow([^OPENSSL_LIBS$])
3431m4trace:configure.ac:381: -1- m4_pattern_allow([^OPENSSL_LDFLAGS$])
3432m4trace:configure.ac:392: -1- m4_pattern_allow([^HAVE_X509_VERIFY_PARAM_SET1_HOST$])
3433m4trace:configure.ac:413: -1- m4_pattern_allow([^HAVE_ASN1_STRING_GET0_DATA$])
3434m4trace:configure.ac:435: -1- AX_GCC_BUILTIN([__builtin_clz])
3435m4trace:configure.ac:435: -1- m4_pattern_allow([^HAVE___BUILTIN_CLZ$])
3436m4trace:configure.ac:442: -1- AX_PTHREAD([AC_DEFINE([HAVE_PTHREAD], [1], [Define to 1 if you have pthread])])
3437m4trace:configure.ac:442: -1- m4_pattern_allow([^ax_pthread_config$])
3438m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CREATE_JOINABLE$])
3439m4trace:configure.ac:442: -1- m4_pattern_allow([^HAVE_PTHREAD_PRIO_INHERIT$])
3440m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CC$])
3441m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CXX$])
3442m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_LIBS$])
3443m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CFLAGS$])
3444m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CC$])
3445m4trace:configure.ac:442: -1- m4_pattern_allow([^PTHREAD_CXX$])
3446m4trace:configure.ac:442: -1- m4_pattern_allow([^HAVE_PTHREAD$])
3447m4trace:configure.ac:493: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3448m4trace:configure.ac:493: -1- m4_pattern_allow([^LTLIBOBJS$])
3449m4trace:configure.ac:493: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
3450m4trace:configure.ac:493: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
3451m4trace:configure.ac:493: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
3452m4trace:configure.ac:493: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
3453m4trace:configure.ac:493: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
3454m4trace:configure.ac:493: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
3455m4trace:configure.ac:493: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
3456m4trace:configure.ac:493: -1- AM_RUN_LOG([cd "$am_dirpart" \
3457      && sed -e '/# am--include-marker/d' "$am_filepart" \
3458        | $MAKE -f - am--depfiles])
3459m4trace:configure.ac:493: -1- _LT_PROG_LTMAIN
3460