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