1
m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
3
AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
5
AC_CHECK_TYPES([error_t],
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)
16
AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
17
argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
19
dnl if have system argz functions, allow forced use of
20
dnl libltdl-supplied implementation (and default to do so
21
dnl on "known bad" systems). Could use a runtime check, but
22
dnl (a) detecting malloc issues is notoriously unreliable
23
dnl (b) only known system that declares argz functions,
24
dnl provides them, yet they are broken, is cygwin
25
dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
26
dnl So, it's more straightforward simply to special case
27
dnl this for known bad systems.
28
AS_IF([test -z "$ARGZ_H"],
30
[if argz actually works],
31
[lt_cv_sys_argz_works],
34
lt_cv_sys_argz_works=no
35
if test "$cross_compiling" != no; then
36
lt_cv_sys_argz_works="guessing no"
38
lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
41
set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
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
55
*) lt_cv_sys_argz_works=yes ;;
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])],
65
m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
66
m4trace:/usr/share/aclocal/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
67
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
68
AC_BEFORE([$0], [LT_LANG])dnl
69
AC_BEFORE([$0], [LT_OUTPUT])dnl
70
AC_BEFORE([$0], [LTDL_INIT])dnl
71
m4_require([_LT_CHECK_BUILDDIR])dnl
73
dnl Autoconf doesn't catch unexpanded LT_ macros by default:
74
m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
75
m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
76
dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
77
dnl unless we require an AC_DEFUNed macro:
78
AC_REQUIRE([LTOPTIONS_VERSION])dnl
79
AC_REQUIRE([LTSUGAR_VERSION])dnl
80
AC_REQUIRE([LTVERSION_VERSION])dnl
81
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
82
m4_require([_LT_PROG_LTMAIN])dnl
84
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
87
_LT_SET_OPTIONS([$0], [$1])
89
# This can be used to rebuild libtool when needed
90
LIBTOOL_DEPS="$ltmain"
92
# Always use our own libtool.
93
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
101
m4trace:/usr/share/aclocal/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102
m4trace:/usr/share/aclocal/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
103
You should run autoupdate.])dnl
104
m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105
m4trace:/usr/share/aclocal/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
106
m4trace:/usr/share/aclocal/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
107
You should run autoupdate.])dnl
108
m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
109
m4trace:/usr/share/aclocal/libtool.m4:609: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
110
AC_MSG_NOTICE([creating $CONFIG_LT])
111
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
112
[# Run this file to recreate a libtool stub with the current configuration.])
114
cat >>"$CONFIG_LT" <<\_LTEOF
116
exec AS_MESSAGE_LOG_FD>>config.log
119
AS_BOX([Running $as_me.])
120
} >&AS_MESSAGE_LOG_FD
123
\`$as_me' creates a local libtool stub from the current configuration,
124
for use in further configure time tests before the real libtool is
127
Usage: $[0] [[OPTIONS]]
129
-h, --help print this help, then exit
130
-V, --version print version number, then exit
131
-q, --quiet do not print progress messages
132
-d, --debug don't remove temporary files
134
Report bugs to <bug-libtool@gnu.org>."
137
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
138
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
139
configured by $[0], generated by m4_PACKAGE_STRING.
141
Copyright (C) 2011 Free Software Foundation, Inc.
142
This config.lt script is free software; the Free Software Foundation
143
gives unlimited permision to copy, distribute and modify it."
148
--version | --v* | -V )
149
echo "$lt_cl_version"; exit 0 ;;
151
echo "$lt_cl_help"; exit 0 ;;
152
--debug | --d* | -d )
154
--quiet | --q* | --silent | --s* | -q )
157
-*) AC_MSG_ERROR([unrecognized option: $[1]
158
Try \`$[0] --help' for more information.]) ;;
160
*) AC_MSG_ERROR([unrecognized argument: $[1]
161
Try \`$[0] --help' for more information.]) ;;
166
if $lt_cl_silent; then
167
exec AS_MESSAGE_FD>/dev/null
171
cat >>"$CONFIG_LT" <<_LTEOF
172
_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
175
cat >>"$CONFIG_LT" <<\_LTEOF
176
AC_MSG_NOTICE([creating $ofile])
177
_LT_OUTPUT_LIBTOOL_COMMANDS
180
chmod +x "$CONFIG_LT"
182
# configure is writing to config.log, but config.lt does its own redirection,
183
# appending to config.log, which fails on DOS, as config.log is still kept
184
# open by configure. Here we exec the FD to /dev/null, effectively closing
185
# config.log, so it can be properly (re)opened and appended to by config.lt.
187
test "$silent" = yes &&
188
lt_config_lt_args="$lt_config_lt_args --quiet"
189
exec AS_MESSAGE_LOG_FD>/dev/null
190
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
191
exec AS_MESSAGE_LOG_FD>>config.log
192
$lt_cl_success || AS_EXIT(1)
194
m4trace:/usr/share/aclocal/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
195
m4trace:/usr/share/aclocal/libtool.m4:801: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
198
[C++], [_LT_LANG(CXX)],
199
[Go], [_LT_LANG(GO)],
200
[Java], [_LT_LANG(GCJ)],
201
[Fortran 77], [_LT_LANG(F77)],
202
[Fortran], [_LT_LANG(FC)],
203
[Windows Resource], [_LT_LANG(RC)],
204
[m4_ifdef([_LT_LANG_]$1[_CONFIG],
206
[m4_fatal([$0: unsupported language: "$1"])])])dnl
208
m4trace:/usr/share/aclocal/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
209
m4trace:/usr/share/aclocal/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
210
You should run autoupdate.])dnl
212
m4trace:/usr/share/aclocal/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
213
m4trace:/usr/share/aclocal/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
214
You should run autoupdate.])dnl
215
LT_LANG(Fortran 77)])
216
m4trace:/usr/share/aclocal/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
217
m4trace:/usr/share/aclocal/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
218
You should run autoupdate.])dnl
220
m4trace:/usr/share/aclocal/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
221
m4trace:/usr/share/aclocal/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
222
You should run autoupdate.])dnl
224
m4trace:/usr/share/aclocal/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
225
m4trace:/usr/share/aclocal/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
226
You should run autoupdate.])dnl
227
LT_LANG(Windows Resource)])
228
m4trace:/usr/share/aclocal/libtool.m4:1225: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
229
AC_ARG_WITH([sysroot],
230
[ --with-sysroot[=DIR] Search for dependent libraries within DIR
231
(or the compiler's sysroot if not specified).],
232
[], [with_sysroot=no])
234
dnl lt_sysroot will always be passed unquoted. We quote it here
235
dnl in case the user passed a directory name.
237
case ${with_sysroot} in #(
239
if test "$GCC" = yes; then
240
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
244
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
249
AC_MSG_RESULT([${with_sysroot}])
250
AC_MSG_ERROR([The sysroot must be an absolute path.])
254
AC_MSG_RESULT([${lt_sysroot:-no}])
255
_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
256
[dependent libraries, and in which our libraries should be installed.])])
257
m4trace:/usr/share/aclocal/libtool.m4:1509: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
258
m4_require([_LT_DECL_SED])dnl
259
AC_CACHE_CHECK([$1], [$2],
261
m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
262
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
263
lt_compiler_flag="$3"
264
# Insert the option either (1) after the last *FLAGS variable, or
265
# (2) before a word containing "conftest.", or (3) at the end.
266
# Note that $ac_compile itself does not contain backslashes and begins
267
# with a dollar sign (not a hyphen), so the echo should work correctly.
268
# The option is referenced via a variable to avoid confusing sed.
269
lt_compile=`echo "$ac_compile" | $SED \
270
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
271
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
272
-e 's:$: $lt_compiler_flag:'`
273
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
274
(eval "$lt_compile" 2>conftest.err)
276
cat conftest.err >&AS_MESSAGE_LOG_FD
277
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
278
if (exit $ac_status) && test -s "$ac_outfile"; then
279
# The compiler can only warn and ignore the option if not recognized
280
# So say no if there are warnings other than the usual output.
281
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
282
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
283
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
290
if test x"[$]$2" = xyes; then
291
m4_if([$5], , :, [$5])
293
m4_if([$6], , :, [$6])
296
m4trace:/usr/share/aclocal/libtool.m4:1551: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
297
m4trace:/usr/share/aclocal/libtool.m4:1551: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
298
You should run autoupdate.])dnl
299
m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
300
m4trace:/usr/share/aclocal/libtool.m4:1560: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
301
m4_require([_LT_DECL_SED])dnl
302
AC_CACHE_CHECK([$1], [$2],
304
save_LDFLAGS="$LDFLAGS"
305
LDFLAGS="$LDFLAGS $3"
306
echo "$lt_simple_link_test_code" > conftest.$ac_ext
307
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
308
# The linker can only warn and ignore the option if not recognized
309
# So say no if there are warnings
310
if test -s conftest.err; then
311
# Append any errors to the config.log.
312
cat conftest.err 1>&AS_MESSAGE_LOG_FD
313
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
314
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
315
if diff conftest.exp conftest.er2 >/dev/null; then
323
LDFLAGS="$save_LDFLAGS"
326
if test x"[$]$2" = xyes; then
327
m4_if([$4], , :, [$4])
329
m4_if([$5], , :, [$5])
332
m4trace:/usr/share/aclocal/libtool.m4:1595: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
333
m4trace:/usr/share/aclocal/libtool.m4:1595: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
334
You should run autoupdate.])dnl
335
m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
336
m4trace:/usr/share/aclocal/libtool.m4:1602: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
337
# find the maximum length of command line arguments
338
AC_MSG_CHECKING([the maximum length of command line arguments])
339
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
345
# On DJGPP, this test can blow up pretty badly due to problems in libc
346
# (any single argument exceeding 2000 bytes causes a buffer overrun
347
# during glob expansion). Even if it were fixed, the result of this
348
# check would be larger than it should be.
349
lt_cv_sys_max_cmd_len=12288; # 12K is about right
353
# Under GNU Hurd, this test is not required because there is
354
# no limit to the length of command line arguments.
355
# Libtool will interpret -1 as no limit whatsoever
356
lt_cv_sys_max_cmd_len=-1;
359
cygwin* | mingw* | cegcc*)
360
# On Win9x/ME, this test blows up -- it succeeds, but takes
361
# about 5 minutes as the teststring grows exponentially.
362
# Worse, since 9x/ME are not pre-emptively multitasking,
363
# you end up with a "frozen" computer, even though with patience
364
# the test eventually succeeds (with a max line length of 256k).
365
# Instead, let's just punt: use the minimum linelength reported by
366
# all of the supported platforms: 8192 (on NT/2K/XP).
367
lt_cv_sys_max_cmd_len=8192;
371
# On MiNT this can take a long time and run out of memory.
372
lt_cv_sys_max_cmd_len=8192;
376
# On AmigaOS with pdksh, this test takes hours, literally.
377
# So we just punt and use a minimum line length of 8192.
378
lt_cv_sys_max_cmd_len=8192;
381
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
382
# This has been around since 386BSD, at least. Likely further.
383
if test -x /sbin/sysctl; then
384
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
385
elif test -x /usr/sbin/sysctl; then
386
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
388
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
390
# And add a safety zone
391
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
392
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
396
# We know the value 262144 and hardcode it with a safety zone (like BSD)
397
lt_cv_sys_max_cmd_len=196608
401
# The test takes a long time on OS/2.
402
lt_cv_sys_max_cmd_len=8192
406
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
407
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
408
# nice to cause kernel panics so lets avoid the loop below.
409
# First set a reasonable default.
410
lt_cv_sys_max_cmd_len=16384
412
if test -x /sbin/sysconfig; then
413
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
414
*1*) lt_cv_sys_max_cmd_len=-1 ;;
419
lt_cv_sys_max_cmd_len=102400
421
sysv5* | sco5v6* | sysv4.2uw2*)
422
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
423
if test -n "$kargmax"; then
424
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
426
lt_cv_sys_max_cmd_len=32768
430
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
431
if test -n "$lt_cv_sys_max_cmd_len" && \
432
test undefined != "$lt_cv_sys_max_cmd_len"; then
433
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
434
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
436
# Make teststring a little bigger before we do anything with it.
437
# a 1K string should be a reasonable start.
438
for i in 1 2 3 4 5 6 7 8 ; do
439
teststring=$teststring$teststring
441
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
442
# If test is not a shell built-in, we'll probably end up computing a
443
# maximum length that is only half of the actual maximum length, but
445
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
446
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
447
test $i != 17 # 1/2 MB should be enough
450
teststring=$teststring$teststring
452
# Only check the string length outside the loop.
453
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
455
# Add a significant safety factor because C++ compilers can tack on
456
# massive amounts of additional arguments before passing them to the
457
# linker. It appears as though 1/2 is a usable value.
458
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
463
if test -n $lt_cv_sys_max_cmd_len ; then
464
AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
468
max_cmd_len=$lt_cv_sys_max_cmd_len
469
_LT_DECL([], [max_cmd_len], [0],
470
[What is the maximum length of a command?])
472
m4trace:/usr/share/aclocal/libtool.m4:1741: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
473
m4trace:/usr/share/aclocal/libtool.m4:1741: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
474
You should run autoupdate.])dnl
475
m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
476
m4trace:/usr/share/aclocal/libtool.m4:1852: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
477
if test "x$enable_dlopen" != xyes; then
478
enable_dlopen=unknown
479
enable_dlopen_self=unknown
480
enable_dlopen_self_static=unknown
487
lt_cv_dlopen="load_add_on"
489
lt_cv_dlopen_self=yes
492
mingw* | pw32* | cegcc*)
493
lt_cv_dlopen="LoadLibrary"
498
lt_cv_dlopen="dlopen"
503
# if libdl is installed we need to link against it
504
AC_CHECK_LIB([dl], [dlopen],
505
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
508
lt_cv_dlopen_self=yes
513
AC_CHECK_FUNC([shl_load],
514
[lt_cv_dlopen="shl_load"],
515
[AC_CHECK_LIB([dld], [shl_load],
516
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
517
[AC_CHECK_FUNC([dlopen],
518
[lt_cv_dlopen="dlopen"],
519
[AC_CHECK_LIB([dl], [dlopen],
520
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
521
[AC_CHECK_LIB([svld], [dlopen],
522
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
523
[AC_CHECK_LIB([dld], [dld_link],
524
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
533
if test "x$lt_cv_dlopen" != xno; then
539
case $lt_cv_dlopen in
541
save_CPPFLAGS="$CPPFLAGS"
542
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
544
save_LDFLAGS="$LDFLAGS"
545
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
548
LIBS="$lt_cv_dlopen_libs $LIBS"
550
AC_CACHE_CHECK([whether a program can dlopen itself],
551
lt_cv_dlopen_self, [dnl
553
lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
554
lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
557
if test "x$lt_cv_dlopen_self" = xyes; then
558
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
559
AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
560
lt_cv_dlopen_self_static, [dnl
562
lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
563
lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
567
CPPFLAGS="$save_CPPFLAGS"
568
LDFLAGS="$save_LDFLAGS"
573
case $lt_cv_dlopen_self in
574
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
575
*) enable_dlopen_self=unknown ;;
578
case $lt_cv_dlopen_self_static in
579
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
580
*) enable_dlopen_self_static=unknown ;;
583
_LT_DECL([dlopen_support], [enable_dlopen], [0],
584
[Whether dlopen is supported])
585
_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
586
[Whether dlopen of programs is supported])
587
_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
588
[Whether dlopen of statically linked programs is supported])
590
m4trace:/usr/share/aclocal/libtool.m4:1969: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
591
m4trace:/usr/share/aclocal/libtool.m4:1969: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
592
You should run autoupdate.])dnl
593
m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
594
m4trace:/usr/share/aclocal/libtool.m4:2939: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
595
AC_MSG_CHECKING([for $1])
596
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
599
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
602
lt_save_MAGIC_CMD="$MAGIC_CMD"
603
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
604
dnl $ac_dummy forces splitting on constant user-supplied paths.
605
dnl POSIX.2 word splitting is done only on the output of word expansions,
606
dnl not every word. This closes a longstanding sh security hole.
607
ac_dummy="m4_if([$2], , $PATH, [$2])"
608
for ac_dir in $ac_dummy; do
610
test -z "$ac_dir" && ac_dir=.
611
if test -f $ac_dir/$1; then
612
lt_cv_path_MAGIC_CMD="$ac_dir/$1"
613
if test -n "$file_magic_test_file"; then
614
case $deplibs_check_method in
616
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
617
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
618
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
619
$EGREP "$file_magic_regex" > /dev/null; then
624
*** Warning: the command libtool uses to detect shared libraries,
625
*** $file_magic_cmd, produces output that libtool cannot recognize.
626
*** The result is that libtool may fail to recognize shared libraries
627
*** as such. This will affect the creation of libtool libraries that
628
*** depend on shared libraries, but programs linked with such libtool
629
*** libraries will work regardless of this problem. Nevertheless, you
630
*** may want to report the problem to your system manager and/or to
631
*** bug-libtool@gnu.org
641
MAGIC_CMD="$lt_save_MAGIC_CMD"
644
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
645
if test -n "$MAGIC_CMD"; then
646
AC_MSG_RESULT($MAGIC_CMD)
650
_LT_DECL([], [MAGIC_CMD], [0],
651
[Used to examine libraries when file_magic_cmd begins with "file"])dnl
653
m4trace:/usr/share/aclocal/libtool.m4:3001: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
654
m4trace:/usr/share/aclocal/libtool.m4:3001: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
655
You should run autoupdate.])dnl
656
m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
657
m4trace:/usr/share/aclocal/libtool.m4:3024: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
658
AC_REQUIRE([AC_CANONICAL_HOST])dnl
659
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
660
m4_require([_LT_DECL_SED])dnl
661
m4_require([_LT_DECL_EGREP])dnl
662
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
664
AC_ARG_WITH([gnu-ld],
665
[AS_HELP_STRING([--with-gnu-ld],
666
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
667
[test "$withval" = no || with_gnu_ld=yes],
671
if test "$GCC" = yes; then
672
# Check if gcc -print-prog-name=ld gives a path.
673
AC_MSG_CHECKING([for ld used by $CC])
676
# gcc leaves a trailing carriage return which upsets mingw
677
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
679
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
682
# Accept absolute paths.
683
[[\\/]]* | ?:[[\\/]]*)
684
re_direlt='/[[^/]][[^/]]*/\.\./'
685
# Canonicalize the pathname of ld
686
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
687
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
688
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
690
test -z "$LD" && LD="$ac_prog"
693
# If it fails, then pretend we aren't using GCC.
697
# If it is relative, then search for the first ld in PATH.
701
elif test "$with_gnu_ld" = yes; then
702
AC_MSG_CHECKING([for GNU ld])
704
AC_MSG_CHECKING([for non-GNU ld])
706
AC_CACHE_VAL(lt_cv_path_LD,
707
[if test -z "$LD"; then
708
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
709
for ac_dir in $PATH; do
711
test -z "$ac_dir" && ac_dir=.
712
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
713
lt_cv_path_LD="$ac_dir/$ac_prog"
714
# Check to see if the program is GNU ld. I'd rather use --version,
715
# but apparently some variants of GNU ld only accept -v.
716
# Break only if it was the GNU/non-GNU ld that we prefer.
717
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
718
*GNU* | *'with BFD'*)
719
test "$with_gnu_ld" != no && break
722
test "$with_gnu_ld" != yes && break
729
lt_cv_path_LD="$LD" # Let the user override the test with a path.
732
if test -n "$LD"; then
737
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
741
_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
743
m4trace:/usr/share/aclocal/libtool.m4:3113: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
744
m4trace:/usr/share/aclocal/libtool.m4:3113: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
745
You should run autoupdate.])dnl
746
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
747
m4trace:/usr/share/aclocal/libtool.m4:3114: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
748
m4trace:/usr/share/aclocal/libtool.m4:3114: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
749
You should run autoupdate.])dnl
750
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
751
m4trace:/usr/share/aclocal/libtool.m4:3404: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
752
AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
753
[if test -n "$NM"; then
754
# Let the user override the test.
757
lt_nm_to_check="${ac_tool_prefix}nm"
758
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
759
lt_nm_to_check="$lt_nm_to_check nm"
761
for lt_tmp_nm in $lt_nm_to_check; do
762
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
763
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
765
test -z "$ac_dir" && ac_dir=.
766
tmp_nm="$ac_dir/$lt_tmp_nm"
767
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
768
# Check to see if the nm accepts a BSD-compat flag.
769
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
770
# nm: unknown option "B" ignored
771
# Tru64's nm complains that /dev/null is an invalid object file
772
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
773
*/dev/null* | *'Invalid file or object type'*)
774
lt_cv_path_NM="$tmp_nm -B"
778
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
780
lt_cv_path_NM="$tmp_nm -p"
784
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
785
continue # so that we can try to find one that supports BSD flags
794
: ${lt_cv_path_NM=no}
796
if test "$lt_cv_path_NM" != "no"; then
799
# Didn't find any BSD compatible name lister, look for dumpbin.
800
if test -n "$DUMPBIN"; then :
801
# Let the user override the test.
803
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
804
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
806
DUMPBIN="$DUMPBIN -symbols"
814
if test "$DUMPBIN" != ":"; then
818
test -z "$NM" && NM=nm
820
_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
822
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
823
[lt_cv_nm_interface="BSD nm"
824
echo "int some_variable = 0;" > conftest.$ac_ext
825
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
826
(eval "$ac_compile" 2>conftest.err)
827
cat conftest.err >&AS_MESSAGE_LOG_FD
828
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
829
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
830
cat conftest.err >&AS_MESSAGE_LOG_FD
831
(eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
832
cat conftest.out >&AS_MESSAGE_LOG_FD
833
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
834
lt_cv_nm_interface="MS dumpbin"
838
m4trace:/usr/share/aclocal/libtool.m4:3494: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
839
m4trace:/usr/share/aclocal/libtool.m4:3494: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
840
You should run autoupdate.])dnl
841
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
842
m4trace:/usr/share/aclocal/libtool.m4:3495: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
843
m4trace:/usr/share/aclocal/libtool.m4:3495: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
844
You should run autoupdate.])dnl
845
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
846
m4trace:/usr/share/aclocal/libtool.m4:3565: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
849
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
850
# These system don't have libm, or don't need it
853
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
854
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
857
AC_CHECK_LIB(m, cos, LIBM="-lm")
862
m4trace:/usr/share/aclocal/libtool.m4:3584: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
863
m4trace:/usr/share/aclocal/libtool.m4:3584: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
864
You should run autoupdate.])dnl
865
m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
866
m4trace:/usr/share/aclocal/libtool.m4:7631: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
867
[m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
868
[AC_CHECK_TOOL(GCJ, gcj,)
869
test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
870
AC_SUBST(GCJFLAGS)])])[]dnl
872
m4trace:/usr/share/aclocal/libtool.m4:7640: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
873
m4trace:/usr/share/aclocal/libtool.m4:7640: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
874
You should run autoupdate.])dnl
875
m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
876
m4trace:/usr/share/aclocal/libtool.m4:7647: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
878
m4trace:/usr/share/aclocal/libtool.m4:7654: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
880
m4trace:/usr/share/aclocal/libtool.m4:7659: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
881
m4trace:/usr/share/aclocal/libtool.m4:7659: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
882
You should run autoupdate.])dnl
883
m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
884
m4trace:/usr/share/aclocal/libtool.m4:7779: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
885
m4trace:/usr/share/aclocal/libtool.m4:7779: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
886
You should run autoupdate.])dnl
887
m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
888
m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
891
m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
892
dnl Although the argument is deprecated and no longer documented,
893
dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
894
dnl here make sure it is the same as any other declaration of libltdl's
895
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
896
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
897
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
900
m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
902
m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
903
You should run autoupdate.])dnl
904
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
906
m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
907
dnl Although the argument is deprecated and no longer documented,
908
dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
909
dnl here make sure it is the same as any other declaration of libltdl's
910
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
911
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
912
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
915
m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
917
m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
918
You should run autoupdate.])dnl
919
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
921
m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
922
m4_pattern_allow([^_LT_LIBOBJS$])
923
_LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
925
m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
926
_LT_SET_OPTIONS([$0], [$1])
928
dnl We need to keep our own list of libobjs separate from our parent project,
929
dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
930
dnl we look for our own LIBOBJs.
931
m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
932
m4_pushdef([AC_LIBSOURCES])
934
dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
935
m4_if(_LTDL_MODE, [],
936
[m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
937
m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
938
[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
940
AC_ARG_WITH([included_ltdl],
941
[AS_HELP_STRING([--with-included-ltdl],
942
[use the GNU ltdl sources included here])])
944
if test "x$with_included_ltdl" != xyes; then
945
# We are not being forced to use the included libltdl sources, so
946
# decide whether there is a useful installed version we can use.
947
AC_CHECK_HEADER([ltdl.h],
948
[AC_CHECK_DECL([lt_dlinterface_register],
949
[AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
950
[with_included_ltdl=no],
951
[with_included_ltdl=yes])],
952
[with_included_ltdl=yes],
954
#include <ltdl.h>])],
955
[with_included_ltdl=yes],
956
[AC_INCLUDES_DEFAULT]
960
dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
961
dnl was called yet, then for old times' sake, we assume libltdl is in an
962
dnl eponymous directory:
963
AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
965
AC_ARG_WITH([ltdl_include],
966
[AS_HELP_STRING([--with-ltdl-include=DIR],
967
[use the ltdl headers installed in DIR])])
969
if test -n "$with_ltdl_include"; then
970
if test -f "$with_ltdl_include/ltdl.h"; then :
972
AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
978
AC_ARG_WITH([ltdl_lib],
979
[AS_HELP_STRING([--with-ltdl-lib=DIR],
980
[use the libltdl.la installed in DIR])])
982
if test -n "$with_ltdl_lib"; then
983
if test -f "$with_ltdl_lib/libltdl.la"; then :
985
AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
991
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
993
m4_case(m4_default(_LTDL_TYPE, [convenience]),
994
[convenience], [_LTDL_CONVENIENCE],
995
[installable], [_LTDL_INSTALLABLE],
996
[m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
999
# If the included ltdl is not to be used, then use the
1000
# preinstalled libltdl we found.
1001
AC_DEFINE([HAVE_LTDL], [1],
1002
[Define this if a modern libltdl is already installed])
1008
AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
1010
*) with_included_ltdl=no
1011
LIBLTDL="-L$with_ltdl_lib -lltdl"
1013
LTDLINCL="-I$with_ltdl_include"
1018
# Report our decision...
1019
AC_MSG_CHECKING([where to find libltdl headers])
1020
AC_MSG_RESULT([$LTDLINCL])
1021
AC_MSG_CHECKING([where to find libltdl library])
1022
AC_MSG_RESULT([$LIBLTDL])
1026
dnl restore autoconf definition.
1027
m4_popdef([AC_LIBOBJ])
1028
m4_popdef([AC_LIBSOURCES])
1030
AC_CONFIG_COMMANDS_PRE([
1033
if test -n "$_LT_LIBOBJS"; then
1034
# Remove the extension.
1035
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1036
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
1037
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
1038
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
1041
AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
1042
AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
1046
m4_define([LTDL_INIT])
1048
m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
1049
m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
1050
You should run autoupdate.])dnl
1052
m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1053
m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1054
You should run autoupdate.])dnl
1056
m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1057
m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1058
You should run autoupdate.])dnl
1060
m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1061
AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1062
AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1063
AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1064
AC_REQUIRE([LT_LIB_DLLOAD])dnl
1065
AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1066
AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1067
AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1068
AC_REQUIRE([gl_FUNC_ARGZ])dnl
1070
m4_require([_LT_CHECK_OBJDIR])dnl
1071
m4_require([_LT_HEADER_DLFCN])dnl
1072
m4_require([_LT_CHECK_DLPREOPEN])dnl
1073
m4_require([_LT_DECL_SED])dnl
1075
dnl Don't require this, or it will be expanded earlier than the code
1076
dnl that sets the variables it relies on:
1079
dnl _LTDL_MODE specific code must be called at least once:
1082
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1083
# the user used. This is so that ltdl.h can pick up the parent projects
1084
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
1085
# definitions required by ltdl.c.
1086
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1087
AC_CONFIG_COMMANDS_PRE([dnl
1088
m4_pattern_allow([^LT_CONFIG_H$])dnl
1089
m4_ifset([AH_HEADER],
1090
[LT_CONFIG_H=AH_HEADER],
1091
[m4_ifset([AC_LIST_HEADERS],
1092
[LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1094
AC_SUBST([LT_CONFIG_H])
1096
AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1097
[], [], [AC_INCLUDES_DEFAULT])
1099
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1100
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1102
m4_pattern_allow([LT_LIBEXT])dnl
1103
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1106
eval "lt_libprefix=\"$libname_spec\""
1107
m4_pattern_allow([LT_LIBPREFIX])dnl
1108
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
1111
eval "LTDLOPEN=\"$libname_spec\""
1112
AC_SUBST([LTDLOPEN])
1114
m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1115
AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1116
[lt_cv_sys_dlopen_deplibs],
1117
[# PORTME does your system automatically load deplibs for dlopen?
1118
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
1119
# For now, we just catch OSes we know something about -- in the
1120
# future, we'll try test this programmatically.
1121
lt_cv_sys_dlopen_deplibs=unknown
1123
aix3*|aix4.1.*|aix4.2.*)
1124
# Unknown whether this is true for these versions of AIX, but
1125
# we want this `case' here to explicitly catch those versions.
1126
lt_cv_sys_dlopen_deplibs=unknown
1129
lt_cv_sys_dlopen_deplibs=yes
1134
lt_cv_sys_dlopen_deplibs=no
1139
# Assuming the user has installed a libdl from somewhere, this is true
1140
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
1141
lt_cv_sys_dlopen_deplibs=yes
1143
freebsd* | dragonfly*)
1144
lt_cv_sys_dlopen_deplibs=yes
1146
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
1147
# GNU and its variants, using gnu ld.so (Glibc)
1148
lt_cv_sys_dlopen_deplibs=yes
1151
lt_cv_sys_dlopen_deplibs=yes
1154
lt_cv_sys_dlopen_deplibs=yes
1156
irix[[12345]]*|irix6.[[01]]*)
1157
# Catch all versions of IRIX before 6.2, and indicate that we don't
1158
# know how it worked for any of those versions.
1159
lt_cv_sys_dlopen_deplibs=unknown
1162
# The case above catches anything before 6.2, and it's known that
1163
# at 6.2 and later dlopen does load deplibs.
1164
lt_cv_sys_dlopen_deplibs=yes
1166
netbsd* | netbsdelf*-gnu)
1167
lt_cv_sys_dlopen_deplibs=yes
1170
lt_cv_sys_dlopen_deplibs=yes
1173
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1174
# it did *not* use an RPATH in a shared library to find objects the
1175
# library depends on, so we explicitly say `no'.
1176
lt_cv_sys_dlopen_deplibs=no
1178
osf5.0|osf5.0a|osf5.1)
1179
# dlopen *does* load deplibs and with the right loader patch applied
1180
# it even uses RPATH in a shared library to search for shared objects
1181
# that the library depends on, but there's no easy way to know if that
1182
# patch is installed. Since this is the case, all we can really
1183
# say is unknown -- it depends on the patch being installed. If
1184
# it is, this changes to `yes'. Without it, it would be `no'.
1185
lt_cv_sys_dlopen_deplibs=unknown
1188
# the two cases above should catch all versions of osf <= 5.1. Read
1189
# the comments above for what we know about them.
1190
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1191
# is used to find them so we can finally say `yes'.
1192
lt_cv_sys_dlopen_deplibs=yes
1195
lt_cv_sys_dlopen_deplibs=yes
1198
lt_cv_sys_dlopen_deplibs=yes
1200
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1201
libltdl_cv_sys_dlopen_deplibs=yes
1205
if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1206
AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1207
[Define if the OS needs help to load dependent libraries for dlopen().])
1210
m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1211
m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1212
You should run autoupdate.])dnl
1213
m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1214
m4trace:/usr/share/aclocal/ltdl.m4:549: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1215
AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1216
[libltdl_cv_shlibext],
1219
eval libltdl_cv_shlibext=$shrext_cmds
1221
eval libltdl_cv_shrext=$shrext_cmds
1223
if test -n "$libltdl_cv_shlibext"; then
1224
m4_pattern_allow([LT_MODULE_EXT])dnl
1225
AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1226
[Define to the extension used for runtime loadable modules, say, ".so".])
1228
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1229
m4_pattern_allow([LT_SHARED_EXT])dnl
1230
AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
1231
[Define to the shared library suffix, say, ".dylib".])
1234
m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1235
m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1236
You should run autoupdate.])dnl
1237
m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1238
m4trace:/usr/share/aclocal/ltdl.m4:579: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1239
AC_CACHE_CHECK([which variable specifies run-time module search path],
1240
[lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1241
if test -n "$lt_cv_module_path_var"; then
1242
m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1243
AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1244
[Define to the name of the environment variable that determines the run-time module search path.])
1247
m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1248
m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1249
You should run autoupdate.])dnl
1250
m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1251
m4trace:/usr/share/aclocal/ltdl.m4:598: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1252
AC_CACHE_CHECK([for the default library search path],
1253
[lt_cv_sys_dlsearch_path],
1254
[lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1255
if test -n "$lt_cv_sys_dlsearch_path"; then
1257
for dir in $lt_cv_sys_dlsearch_path; do
1258
if test -z "$sys_dlsearch_path"; then
1259
sys_dlsearch_path="$dir"
1261
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1264
m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1265
AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1266
[Define to the system default library search path.])
1269
m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1270
m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1271
You should run autoupdate.])dnl
1272
m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1273
m4trace:/usr/share/aclocal/ltdl.m4:645: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1275
AC_SUBST([LT_DLLOADERS])
1280
AC_SEARCH_LIBS([dlopen], [dl],
1281
[AC_DEFINE([HAVE_LIBDL], [1],
1282
[Define if you have the libdl library or equivalent.])
1283
if test "$ac_cv_search_dlopen" != "none required" ; then
1284
LIBADD_DLOPEN="-ldl"
1286
libltdl_cv_lib_dl_dlopen="yes"
1287
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1288
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1291
]], [[dlopen(0, 0);]])],
1292
[AC_DEFINE([HAVE_LIBDL], [1],
1293
[Define if you have the libdl library or equivalent.])
1294
libltdl_cv_func_dlopen="yes"
1295
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1296
[AC_CHECK_LIB([svld], [dlopen],
1297
[AC_DEFINE([HAVE_LIBDL], [1],
1298
[Define if you have the libdl library or equivalent.])
1299
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1300
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1301
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1303
lt_save_LIBS="$LIBS"
1304
LIBS="$LIBS $LIBADD_DLOPEN"
1305
AC_CHECK_FUNCS([dlerror])
1306
LIBS="$lt_save_LIBS"
1308
AC_SUBST([LIBADD_DLOPEN])
1311
AC_CHECK_FUNC([shl_load],
1312
[AC_DEFINE([HAVE_SHL_LOAD], [1],
1313
[Define if you have the shl_load function.])
1314
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1315
[AC_CHECK_LIB([dld], [shl_load],
1316
[AC_DEFINE([HAVE_SHL_LOAD], [1],
1317
[Define if you have the shl_load function.])
1318
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1319
LIBADD_SHL_LOAD="-ldld"])])
1320
AC_SUBST([LIBADD_SHL_LOAD])
1324
# We only want this for pre-Mac OS X 10.4.
1325
AC_CHECK_FUNC([_dyld_func_lookup],
1326
[AC_DEFINE([HAVE_DYLD], [1],
1327
[Define if you have the _dyld_func_lookup function.])
1328
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1331
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1333
cygwin* | mingw* | os2* | pw32*)
1334
AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1335
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1339
AC_CHECK_LIB([dld], [dld_link],
1340
[AC_DEFINE([HAVE_DLD], [1],
1341
[Define if you have the GNU dld library.])
1342
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1343
AC_SUBST([LIBADD_DLD_LINK])
1345
m4_pattern_allow([^LT_DLPREOPEN$])
1347
if test -n "$LT_DLLOADERS"
1349
for lt_loader in $LT_DLLOADERS; do
1350
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1352
AC_DEFINE([HAVE_LIBDLLOADER], [1],
1353
[Define if libdlloader will be built on this platform])
1355
AC_SUBST([LT_DLPREOPEN])
1357
dnl This isn't used anymore, but set it for backwards compatibility
1358
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1359
AC_SUBST([LIBADD_DL])
1363
m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1364
m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1365
You should run autoupdate.])dnl
1366
m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1367
m4trace:/usr/share/aclocal/ltdl.m4:746: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1368
AC_CACHE_CHECK([for _ prefix in compiled symbols],
1369
[lt_cv_sys_symbol_underscore],
1370
[lt_cv_sys_symbol_underscore=no
1371
cat > conftest.$ac_ext <<_LT_EOF
1372
void nm_test_func(){}
1373
int main(){nm_test_func;return 0;}
1375
if AC_TRY_EVAL(ac_compile); then
1376
# Now try to grab the symbols.
1377
ac_nlist=conftest.nm
1378
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1379
# See whether the symbols have a leading underscore.
1380
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1381
lt_cv_sys_symbol_underscore=yes
1383
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1386
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1390
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1393
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1394
cat conftest.c >&AS_MESSAGE_LOG_FD
1398
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1399
AC_SUBST([sys_symbol_underscore])
1401
m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1402
m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1403
You should run autoupdate.])dnl
1404
m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1405
m4trace:/usr/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1406
if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1407
if test x"$libltdl_cv_func_dlopen" = xyes ||
1408
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1409
AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1410
[libltdl_cv_need_uscore],
1411
[libltdl_cv_need_uscore=unknown
1413
LIBS="$LIBS $LIBADD_DLOPEN"
1414
_LT_TRY_DLOPEN_SELF(
1415
[libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1416
[], [libltdl_cv_need_uscore=cross])
1422
if test x"$libltdl_cv_need_uscore" = xyes; then
1423
AC_DEFINE([NEED_USCORE], [1],
1424
[Define if dlsym() requires a leading underscore in symbol names.])
1427
m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1428
m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1429
You should run autoupdate.])dnl
1430
m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1431
m4trace:/usr/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1432
m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1433
AC_DIAGNOSE([obsolete],
1434
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1435
put the `dlopen' option into LT_INIT's first parameter.])
1437
m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1438
You should run autoupdate.])dnl
1439
_LT_SET_OPTION([LT_INIT], [dlopen])
1440
AC_DIAGNOSE([obsolete],
1441
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1442
put the `dlopen' option into LT_INIT's first parameter.])
1444
m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1445
_LT_SET_OPTION([LT_INIT], [win32-dll])
1446
AC_DIAGNOSE([obsolete],
1447
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1448
put the `win32-dll' option into LT_INIT's first parameter.])
1450
m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1451
You should run autoupdate.])dnl
1452
AC_REQUIRE([AC_CANONICAL_HOST])dnl
1453
_LT_SET_OPTION([LT_INIT], [win32-dll])
1454
AC_DIAGNOSE([obsolete],
1455
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1456
put the `win32-dll' option into LT_INIT's first parameter.])
1458
m4trace:/usr/share/aclocal/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1460
m4trace:/usr/share/aclocal/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1462
m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1463
m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1464
You should run autoupdate.])dnl
1465
AC_ENABLE_SHARED($@)])
1466
m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1467
m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1468
You should run autoupdate.])dnl
1469
AC_DISABLE_SHARED($@)])
1470
m4trace:/usr/share/aclocal/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1472
m4trace:/usr/share/aclocal/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1474
m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1475
m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1476
You should run autoupdate.])dnl
1477
AC_ENABLE_STATIC($@)])
1478
m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1479
m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1480
You should run autoupdate.])dnl
1481
AC_DISABLE_STATIC($@)])
1482
m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1483
AC_DIAGNOSE([obsolete],
1484
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1485
the `fast-install' option into LT_INIT's first parameter.])
1487
m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1488
You should run autoupdate.])dnl
1489
_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1490
AC_DIAGNOSE([obsolete],
1491
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1492
the `fast-install' option into LT_INIT's first parameter.])
1494
m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1495
AC_DIAGNOSE([obsolete],
1496
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1497
the `disable-fast-install' option into LT_INIT's first parameter.])
1499
m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1500
You should run autoupdate.])dnl
1501
_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1502
AC_DIAGNOSE([obsolete],
1503
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1504
the `disable-fast-install' option into LT_INIT's first parameter.])
1506
m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1507
AC_DIAGNOSE([obsolete],
1508
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1509
put the `pic-only' option into LT_INIT's first parameter.])
1511
m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1512
You should run autoupdate.])dnl
1513
_LT_SET_OPTION([LT_INIT], [pic-only])
1514
AC_DIAGNOSE([obsolete],
1515
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1516
put the `pic-only' option into LT_INIT's first parameter.])
1518
m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1519
m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
1520
macro_revision='1.3337'
1521
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1522
_LT_DECL(, macro_revision, 0)
1524
m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1525
m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1526
m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1527
m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1528
m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1529
m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1530
m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1531
m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1532
m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1533
m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1534
m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1535
m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1536
m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1537
m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1538
m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1539
m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1540
m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1541
m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1542
m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1543
m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1544
m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1545
m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1546
m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1547
m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1548
m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1549
m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1550
m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1551
m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1552
m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1553
m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1554
m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1555
m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1556
m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1557
m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1558
m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1559
m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1560
m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1561
m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1562
m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1563
m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1564
m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1565
m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1566
m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1567
m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1568
m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1569
m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1570
m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1571
m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1572
m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
1573
m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
1574
m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
1575
m4trace:/usr/share/aclocal-1.11/amversion.m4:17: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1576
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1577
dnl require some minimum version. Point them to the right macro.
1578
m4_if([$1], [1.11.6], [],
1579
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1581
m4trace:/usr/share/aclocal-1.11/amversion.m4:36: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl
1582
m4_ifndef([AC_AUTOCONF_VERSION],
1583
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1584
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1585
m4trace:/usr/share/aclocal-1.11/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1586
AC_PREREQ([2.50])dnl
1587
# expand $ac_aux_dir to an absolute path
1588
am_aux_dir=`cd $ac_aux_dir && pwd`
1590
m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1591
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1592
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1593
AC_SUBST([$1_TRUE])dnl
1594
AC_SUBST([$1_FALSE])dnl
1595
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1596
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1597
m4_define([_AM_COND_VALUE_$1], [$2])dnl
1605
AC_CONFIG_COMMANDS_PRE(
1606
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1607
AC_MSG_ERROR([[conditional "$1" was never defined.
1608
Usually this means the macro was only invoked conditionally.]])
1610
m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1611
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1612
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1613
AC_REQUIRE([AM_DEP_TRACK])dnl
1615
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1616
[$1], CXX, [depcc="$CXX" am_compiler_list=],
1617
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1618
[$1], UPC, [depcc="$UPC" am_compiler_list=],
1619
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1620
[depcc="$$1" am_compiler_list=])
1622
AC_CACHE_CHECK([dependency style of $depcc],
1623
[am_cv_$1_dependencies_compiler_type],
1624
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1625
# We make a subdir and do the tests there. Otherwise we can end up
1626
# making bogus files that we don't know about and never remove. For
1627
# instance it was reported that on HP-UX the gcc test will end up
1628
# making a dummy file named `D' -- because `-MD' means `put the output
1632
# Copy depcomp to subdir because otherwise we won't find it if we're
1633
# using a relative directory.
1634
cp "$am_depcomp" conftest.dir
1636
# We will build objects and dependencies in a subdirectory because
1637
# it helps to detect inapplicable dependency modes. For instance
1638
# both Tru64's cc and ICC support -MD to output dependencies as a
1639
# side effect of compilation, but ICC will put the dependencies in
1640
# the current directory while Tru64 will put them in the object
1644
am_cv_$1_dependencies_compiler_type=none
1645
if test "$am_compiler_list" = ""; then
1646
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1650
[case " $depcc " in #(
1651
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1654
[case " $depcc " in #(
1655
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1658
for depmode in $am_compiler_list; do
1659
# Setup a source with many dependencies, because some compilers
1660
# like to wrap large dependency lists on column 80 (with \), and
1661
# we should not choose a depcomp mode which is confused by this.
1663
# We need to recreate these files for each test, as the compiler may
1664
# overwrite some of them when testing with obscure command lines.
1665
# This happens at least with the AIX C compiler.
1667
for i in 1 2 3 4 5 6; do
1668
echo '#include "conftst'$i'.h"' >> sub/conftest.c
1669
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1670
# Solaris 8's {/usr,}/bin/sh.
1671
touch sub/conftst$i.h
1673
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1675
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1676
# mode. It turns out that the SunPro C++ compiler does not properly
1677
# handle `-M -o', and we need to detect this. Also, some Intel
1678
# versions had trouble with output in subdirs
1679
am__obj=sub/conftest.${OBJEXT-o}
1680
am__minus_obj="-o $am__obj"
1683
# This depmode causes a compiler race in universal mode.
1684
test "$am__universal" = false || continue
1687
# after this tag, mechanisms are not by side-effect, so they'll
1688
# only be used when explicitly requested
1689
if test "x$enable_dependency_tracking" = xyes; then
1695
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1696
# This compiler won't grok `-c -o', but also, the minuso test has
1697
# not run yet. These depmodes are late enough in the game, and
1698
# so weak that their functioning should not be impacted.
1699
am__obj=conftest.${OBJEXT-o}
1704
if depmode=$depmode \
1705
source=sub/conftest.c object=$am__obj \
1706
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1707
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1708
>/dev/null 2>conftest.err &&
1709
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1710
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1711
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1712
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1713
# icc doesn't choke on unknown options, it will just issue warnings
1714
# or remarks (even with -Werror). So we grep stderr for any message
1715
# that says an option was ignored or not supported.
1716
# When given -MP, icc 7.0 and 7.1 complain thusly:
1717
# icc: Command line warning: ignoring option '-M'; no argument required
1718
# The diagnosis changed in icc 8.0:
1719
# icc: Command line remark: option '-MP' not supported
1720
if (grep 'ignoring option' conftest.err ||
1721
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1722
am_cv_$1_dependencies_compiler_type=$depmode
1731
am_cv_$1_dependencies_compiler_type=none
1734
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1735
AM_CONDITIONAL([am__fastdep$1], [
1736
test "x$enable_dependency_tracking" != xno \
1737
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1739
m4trace:/usr/share/aclocal-1.11/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1740
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1742
m4trace:/usr/share/aclocal-1.11/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1743
[ --disable-dependency-tracking speeds up one-time build
1744
--enable-dependency-tracking do not reject slow dependency extractors])
1745
if test "x$enable_dependency_tracking" != xno; then
1746
am_depcomp="$ac_aux_dir/depcomp"
1750
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1751
AC_SUBST([AMDEPBACKSLASH])dnl
1752
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1753
AC_SUBST([am__nodep])dnl
1754
_AM_SUBST_NOTMAKE([am__nodep])dnl
1756
m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1757
# Autoconf 2.62 quotes --file arguments for eval, but not when files
1758
# are listed without --file. Let's play safe and only enable the eval
1759
# if we detect the quoting.
1760
case $CONFIG_FILES in
1761
*\'*) eval set x "$CONFIG_FILES" ;;
1762
*) set x $CONFIG_FILES ;;
1767
# Strip MF so we end up with the name of the file.
1768
mf=`echo "$mf" | sed -e 's/:.*$//'`
1769
# Check whether this is an Automake generated Makefile or not.
1770
# We used to match only the files named `Makefile.in', but
1771
# some people rename them; so instead we look at the file content.
1772
# Grep'ing the first line is not enough: some people post-process
1773
# each Makefile.in and add a new line on top of each file to say so.
1774
# Grep'ing the whole file is not good either: AIX grep has a line
1775
# limit of 2048, but all sed's we know have understand at least 4000.
1776
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1777
dirpart=`AS_DIRNAME("$mf")`
1781
# Extract the definition of DEPDIR, am__include, and am__quote
1782
# from the Makefile without running `make'.
1783
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1784
test -z "$DEPDIR" && continue
1785
am__include=`sed -n 's/^am__include = //p' < "$mf"`
1786
test -z "am__include" && continue
1787
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1788
# When using ansi2knr, U may be empty or an underscore; expand it
1789
U=`sed -n 's/^U = //p' < "$mf"`
1790
# Find all dependency output files, they are included files with
1791
# $(DEPDIR) in their names. We invoke sed twice because it is the
1792
# simplest approach to changing $(DEPDIR) to its actual value in the
1794
for file in `sed -n "
1795
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1796
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1797
# Make sure the directory exists.
1798
test -f "$dirpart/$file" && continue
1799
fdir=`AS_DIRNAME(["$file"])`
1800
AS_MKDIR_P([$dirpart/$fdir])
1801
# echo "creating $dirpart/$file"
1802
echo '# dummy' > "$dirpart/$file"
1807
m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1808
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1809
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1811
m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1812
dnl Autoconf wants to disallow AM_ names. We explicitly allow
1813
dnl the ones we care about.
1814
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1815
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1816
AC_REQUIRE([AC_PROG_INSTALL])dnl
1817
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1818
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1819
# is not polluted with repeated "-I."
1820
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1821
# test to see if srcdir already configured
1822
if test -f $srcdir/config.status; then
1823
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1827
# test whether we have cygpath
1828
if test -z "$CYGPATH_W"; then
1829
if (cygpath --version) >/dev/null 2>/dev/null; then
1830
CYGPATH_W='cygpath -w'
1835
AC_SUBST([CYGPATH_W])
1837
# Define the identity of the package.
1838
dnl Distinguish between old-style and new-style calls.
1840
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1841
AC_SUBST([PACKAGE], [$1])dnl
1842
AC_SUBST([VERSION], [$2])],
1843
[_AM_SET_OPTIONS([$1])dnl
1844
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1845
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1846
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1847
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1848
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1850
_AM_IF_OPTION([no-define],,
1851
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1852
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1854
# Some tools Automake needs.
1855
AC_REQUIRE([AM_SANITY_CHECK])dnl
1856
AC_REQUIRE([AC_ARG_PROGRAM])dnl
1857
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1858
AM_MISSING_PROG(AUTOCONF, autoconf)
1859
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1860
AM_MISSING_PROG(AUTOHEADER, autoheader)
1861
AM_MISSING_PROG(MAKEINFO, makeinfo)
1862
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1863
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1864
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1865
# We need awk for the "check" target. The system "awk" is bad on
1867
AC_REQUIRE([AC_PROG_AWK])dnl
1868
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1869
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1870
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1871
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1872
[_AM_PROG_TAR([v7])])])
1873
_AM_IF_OPTION([no-dependencies],,
1874
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1875
[_AM_DEPENDENCIES(CC)],
1876
[define([AC_PROG_CC],
1877
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1878
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1879
[_AM_DEPENDENCIES(CXX)],
1880
[define([AC_PROG_CXX],
1881
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1882
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1883
[_AM_DEPENDENCIES(OBJC)],
1884
[define([AC_PROG_OBJC],
1885
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1887
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1888
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1889
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1890
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1891
AC_CONFIG_COMMANDS_PRE(dnl
1892
[m4_provide_if([_AM_COMPILER_EXEEXT],
1893
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1895
m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1898
for _am_header in $config_headers :; do
1900
$_am_arg | $_am_arg:* )
1903
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
1906
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1907
m4trace:/usr/share/aclocal-1.11/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1908
if test x"${install_sh}" != xset; then
1911
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1913
install_sh="\${SHELL} $am_aux_dir/install-sh"
1916
AC_SUBST(install_sh)])
1917
m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1918
mkdir .tst 2>/dev/null
1919
if test -d .tst; then
1924
rmdir .tst 2>/dev/null
1925
AC_SUBST([am__leading_dot])])
1926
m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1927
cat > confinc << 'END'
1929
@echo this is the am__doit target
1932
# If we don't find an include directive, just comment out the code.
1933
AC_MSG_CHECKING([for style of include used by $am_make])
1937
# First try GNU make style include.
1938
echo "include confinc" > confmf
1939
# Ignore all kinds of additional output from `make'.
1940
case `$am_make -s -f confmf 2> /dev/null` in #(
1941
*the\ am__doit\ target*)
1947
# Now try BSD make style include.
1948
if test "$am__include" = "#"; then
1949
echo '.include "confinc"' > confmf
1950
case `$am_make -s -f confmf 2> /dev/null` in #(
1951
*the\ am__doit\ target*)
1952
am__include=.include
1958
AC_SUBST([am__include])
1959
AC_SUBST([am__quote])
1960
AC_MSG_RESULT([$_am_result])
1961
rm -f confinc confmf
1963
m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1964
$1=${$1-"${am_missing_run}$2"}
1966
m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1967
AC_REQUIRE_AUX_FILE([missing])dnl
1968
if test x"${MISSING+set}" != xset; then
1971
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1973
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1976
# Use eval to expand $SHELL
1977
if eval "$MISSING --run true"; then
1978
am_missing_run="$MISSING --run "
1981
AC_MSG_WARN([`missing' script is too old or missing])
1984
m4trace:/usr/share/aclocal-1.11/mkdirp.m4:14: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1985
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1986
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1987
dnl while keeping a definition of mkdir_p for backward compatibility.
1988
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1989
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1990
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1991
dnl adjustment using top_builddir (which is defined more often than
1993
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1995
[[\\/$]]* | ?:[[\\/]]*) ;;
1996
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1999
m4trace:/usr/share/aclocal-1.11/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
2000
m4trace:/usr/share/aclocal-1.11/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
2001
m4trace:/usr/share/aclocal-1.11/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2002
m4trace:/usr/share/aclocal-1.11/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2003
m4trace:/usr/share/aclocal-1.11/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2004
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2006
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2007
(exit $ac_status); }])
2008
m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
2011
echo timestamp > conftest.file
2012
# Reject unsafe characters in $srcdir or the absolute working directory
2013
# name. Accept space and tab only in the latter.
2017
*[[\\\"\#\$\&\'\`$am_lf]]*)
2018
AC_MSG_ERROR([unsafe absolute working directory name]);;
2021
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
2022
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
2025
# Do `set' in a subshell so we don't clobber the current shell's
2026
# arguments. Must try -L first in case configure is actually a
2027
# symlink; some systems play weird games with the mod time of symlinks
2028
# (eg FreeBSD returns the mod time of the symlink's containing
2031
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2032
if test "$[*]" = "X"; then
2034
set X `ls -t "$srcdir/configure" conftest.file`
2037
if test "$[*]" != "X $srcdir/configure conftest.file" \
2038
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
2040
# If neither matched, then we have a broken ls. This can happen
2041
# if, for instance, CONFIG_SHELL is bash and it inherits a
2042
# broken ls alias from the environment. This has actually
2043
# happened. Such a system could not be considered "sane".
2044
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2045
alias in your environment])
2048
test "$[2]" = conftest.file
2054
AC_MSG_ERROR([newly created file is older than distributed files!
2055
Check your system clock])
2057
AC_MSG_RESULT(yes)])
2058
m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
2059
[ --enable-silent-rules less verbose build output (undo: `make V=1')
2060
--disable-silent-rules verbose build output (undo: `make V=0')])
2061
case $enable_silent_rules in
2062
yes) AM_DEFAULT_VERBOSITY=0;;
2063
no) AM_DEFAULT_VERBOSITY=1;;
2064
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2067
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
2068
dnl do not support nested variable expansions.
2069
dnl See automake bug#9928 and bug#10237.
2070
am_make=${MAKE-make}
2071
AC_CACHE_CHECK([whether $am_make supports nested variables],
2072
[am_cv_make_support_nested_variables],
2073
[if AS_ECHO([['TRUE=$(BAR$(V))
2079
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2080
am_cv_make_support_nested_variables=yes
2082
am_cv_make_support_nested_variables=no
2084
if test $am_cv_make_support_nested_variables = yes; then
2085
dnl Using `$V' instead of `$(V)' breaks IRIX make.
2087
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2089
AM_V=$AM_DEFAULT_VERBOSITY
2090
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2093
AM_SUBST_NOTMAKE([AM_V])dnl
2094
AC_SUBST([AM_DEFAULT_V])dnl
2095
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2096
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2098
AC_SUBST([AM_BACKSLASH])dnl
2099
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2101
m4trace:/usr/share/aclocal-1.11/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2102
# Installed binaries are usually stripped using `strip' when the user
2103
# run `make install-strip'. However `strip' might not be the right
2104
# tool to use in cross-compilation environments, therefore Automake
2105
# will honor the `STRIP' environment variable to overrule this program.
2106
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2107
if test "$cross_compiling" != no; then
2108
AC_CHECK_TOOL([STRIP], [strip], :)
2110
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2111
AC_SUBST([INSTALL_STRIP_PROGRAM])])
2112
m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2113
m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2114
m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
2115
# in the wild :-( We should find a proper way to deprecate it ...
2116
AC_SUBST([AMTAR], ['$${TAR-tar}'])
2118
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
2119
[m4_case([$1], [ustar],, [pax],,
2120
[m4_fatal([Unknown tar format])])
2121
AC_MSG_CHECKING([how to create a $1 tar archive])
2122
# Loop over all known methods to create a tar archive until one works.
2123
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2124
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
2125
# Do not fold the above two line into one, because Tru64 sh and
2126
# Solaris sh will not grok spaces in the rhs of `-'.
2127
for _am_tool in $_am_tools
2131
for _am_tar in tar gnutar gtar;
2133
AM_RUN_LOG([$_am_tar --version]) && break
2135
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2136
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2137
am__untar="$_am_tar -xf -"
2140
# Must skip GNU tar: if it does not support --format= it doesn't create
2141
# ustar tarball either.
2142
(tar --version) >/dev/null 2>&1 && continue
2143
am__tar='tar chf - "$$tardir"'
2144
am__tar_='tar chf - "$tardir"'
2145
am__untar='tar xf -'
2148
am__tar='pax -L -x $1 -w "$$tardir"'
2149
am__tar_='pax -L -x $1 -w "$tardir"'
2153
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2154
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2155
am__untar='cpio -i -H $1 -d'
2164
# If the value was cached, stop now. We just wanted to have am__tar
2165
# and am__untar set.
2166
test -n "${am_cv_prog_tar_$1}" && break
2168
# tar/untar a dummy directory, and stop if the command works
2171
echo GrepMe > conftest.dir/file
2172
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2174
if test -s conftest.tar; then
2175
AM_RUN_LOG([$am__untar <conftest.tar])
2176
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2181
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2182
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2184
AC_SUBST([am__untar])
2186
m4trace:m4/ax_cc_maxopt.m4:58: -1- AC_DEFUN([AX_CC_MAXOPT], [
2187
AC_REQUIRE([AC_PROG_CC])
2188
AC_REQUIRE([AX_COMPILER_VENDOR])
2189
AC_REQUIRE([AC_CANONICAL_HOST])
2191
AC_ARG_ENABLE(portable-binary, [AC_HELP_STRING([--enable-portable-binary], [disable compiler optimizations that would produce unportable binaries])],
2192
acx_maxopt_portable=$withval, acx_maxopt_portable=no)
2194
# Try to determine "good" native compiler flags if none specified via CFLAGS
2195
if test "$ac_test_CFLAGS" != "set"; then
2197
case $ax_cv_c_compiler_vendor in
2198
dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
2199
if test "x$acx_maxopt_portable" = xno; then
2200
CFLAGS="$CFLAGS -arch host"
2203
sun) CFLAGS="-native -fast -xO5 -dalign"
2204
if test "x$acx_maxopt_portable" = xyes; then
2205
CFLAGS="$CFLAGS -xarch=generic"
2208
hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
2209
if test "x$acx_maxopt_portable" = xyes; then
2210
CFLAGS="$CFLAGS +DAportable"
2213
ibm) if test "x$acx_maxopt_portable" = xno; then
2214
xlc_opt="-qarch=auto -qtune=auto"
2216
xlc_opt="-qtune=auto"
2218
AX_CHECK_COMPILER_FLAGS($xlc_opt,
2219
CFLAGS="-O3 -qansialias -w $xlc_opt",
2220
[CFLAGS="-O3 -qansialias -w"
2221
echo "******************************************************"
2222
echo "* You seem to have the IBM C compiler. It is *"
2223
echo "* recommended for best performance that you use: *"
2225
echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
2227
echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
2228
echo "* CPU you have. (Set the CFLAGS environment var. *"
2229
echo "* and re-run configure.) For more info, man cc. *"
2230
echo "******************************************************"])
2233
intel) CFLAGS="-O3 -ansi_alias"
2234
if test "x$acx_maxopt_portable" = xno; then
2235
icc_archflag=unknown
2239
# icc accepts gcc assembly syntax, so these should work:
2242
case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
2243
*:756e6547:*:*) # Intel
2244
case $ax_cv_gcc_x86_cpuid_1 in
2245
*6a?:*[[234]]:*:*|*6[[789b]]?:*:*:*) icc_flags="-xK";;
2246
*f3[[347]]:*:*:*|*f4[1347]:*:*:*) icc_flags="-xP -xN -xW -xK";;
2247
*f??:*:*:*) icc_flags="-xN -xW -xK";;
2251
if test "x$icc_flags" != x; then
2252
for flag in $icc_flags; do
2253
AX_CHECK_COMPILER_FLAGS($flag, [icc_archflag=$flag; break])
2256
AC_MSG_CHECKING([for icc architecture flag])
2257
AC_MSG_RESULT($icc_archflag)
2258
if test "x$icc_archflag" != xunknown; then
2259
CFLAGS="$CFLAGS $icc_archflag"
2265
# default optimization flags for gcc on all systems
2266
CFLAGS="-O3 -fomit-frame-pointer"
2268
# -malign-double for x86 systems
2269
AX_CHECK_COMPILER_FLAGS(-malign-double, CFLAGS="$CFLAGS -malign-double")
2271
# -fstrict-aliasing for gcc-2.95+
2272
AX_CHECK_COMPILER_FLAGS(-fstrict-aliasing,
2273
CFLAGS="$CFLAGS -fstrict-aliasing")
2275
# note that we enable "unsafe" fp optimization with other compilers, too
2276
AX_CHECK_COMPILER_FLAGS(-ffast-math, CFLAGS="$CFLAGS -ffast-math")
2278
AX_GCC_ARCHFLAG($acx_maxopt_portable)
2282
if test -z "$CFLAGS"; then
2284
echo "********************************************************"
2285
echo "* WARNING: Don't know the best CFLAGS for this system *"
2286
echo "* Use ./configure CFLAGS=... to specify your own flags *"
2287
echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
2288
echo "********************************************************"
2293
AX_CHECK_COMPILER_FLAGS($CFLAGS, [], [
2295
echo "********************************************************"
2296
echo "* WARNING: The guessed CFLAGS don't seem to work with *"
2297
echo "* your compiler. *"
2298
echo "* Use ./configure CFLAGS=... to specify your own flags *"
2299
echo "********************************************************"
2306
m4trace:m4/ax_cflags_warn_all.m4:56: -1- AC_DEFUN([AX_CFLAGS_WARN_ALL], [dnl
2307
AS_VAR_PUSHDEF([FLAGS],[CFLAGS])dnl
2308
AS_VAR_PUSHDEF([VAR],[ac_cv_cflags_warn_all])dnl
2309
AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings],
2310
VAR,[VAR="no, unknown"
2313
ac_save_[]FLAGS="$[]FLAGS"
2315
in "-pedantic % -Wall" dnl GCC
2316
"-xstrconst % -v" dnl Solaris C
2317
"-std1 % -verbose -w0 -warnprotos" dnl Digital Unix
2318
"-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX
2319
"-ansi -ansiE % -fullwarn" dnl IRIX
2320
"+ESlit % +w1" dnl HP-UX C
2321
"-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10)
2322
"-h conform % -h msglevel 2" dnl Cray C (Unicos)
2324
do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
2325
AC_TRY_COMPILE([],[return 0;],
2326
[VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break])
2328
FLAGS="$ac_save_[]FLAGS"
2332
.ok|.ok,*) m4_ifvaln($3,$3) ;;
2333
.|.no|.no,*) m4_ifvaln($4,$4,[m4_ifval($2,[
2334
AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])
2335
m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])]) ;;
2336
*) m4_ifvaln($3,$3,[
2337
if echo " $[]m4_ifval($1,$1,FLAGS) " | grep " $VAR " 2>&1 >/dev/null
2338
then AC_RUN_LOG([: m4_ifval($1,$1,FLAGS) does contain $VAR])
2339
else AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"])
2340
m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"
2343
AS_VAR_POPDEF([VAR])dnl
2344
AS_VAR_POPDEF([FLAGS])dnl
2346
m4trace:m4/ax_cflags_warn_all.m4:99: -1- AC_DEFUN([AX_CXXFLAGS_WARN_ALL], [dnl
2347
AS_VAR_PUSHDEF([FLAGS],[CXXFLAGS])dnl
2348
AS_VAR_PUSHDEF([VAR],[ax_cv_cxxflags_warn_all])dnl
2349
AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings],
2350
VAR,[VAR="no, unknown"
2353
ac_save_[]FLAGS="$[]FLAGS"
2355
in "-pedantic % -Wall" dnl GCC
2356
"-xstrconst % -v" dnl Solaris C
2357
"-std1 % -verbose -w0 -warnprotos" dnl Digital Unix
2358
"-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX
2359
"-ansi -ansiE % -fullwarn" dnl IRIX
2360
"+ESlit % +w1" dnl HP-UX C
2361
"-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10)
2362
"-h conform % -h msglevel 2" dnl Cray C (Unicos)
2364
do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
2365
AC_TRY_COMPILE([],[return 0;],
2366
[VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break])
2368
FLAGS="$ac_save_[]FLAGS"
2372
.ok|.ok,*) m4_ifvaln($3,$3) ;;
2373
.|.no|.no,*) m4_ifvaln($4,$4,[m4_ifval($2,[
2374
AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])
2375
m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])]) ;;
2376
*) m4_ifvaln($3,$3,[
2377
if echo " $[]m4_ifval($1,$1,FLAGS) " | grep " $VAR " 2>&1 >/dev/null
2378
then AC_RUN_LOG([: m4_ifval($1,$1,FLAGS) does contain $VAR])
2379
else AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"])
2380
m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"
2383
AS_VAR_POPDEF([VAR])dnl
2384
AS_VAR_POPDEF([FLAGS])dnl
2386
m4trace:m4/ax_check_compiler_flags.m4:49: -1- AC_DEFUN([AX_CHECK_COMPILER_FLAGS], [AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX
2387
AC_MSG_CHECKING([whether _AC_LANG compiler accepts $1])
2388
dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname:
2390
[AC_CACHE_VAL(AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1]), [
2391
ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
2392
_AC_LANG_PREFIX[]FLAGS="$1"
2393
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
2394
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
2395
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
2396
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])],
2397
[ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
2398
_AC_LANG_PREFIX[]FLAGS="$1"
2399
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
2400
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
2401
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
2402
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])
2403
eval ax_check_compiler_flags=$AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])
2404
AC_MSG_RESULT($ax_check_compiler_flags)
2405
if test "x$ax_check_compiler_flags" = xyes; then
2411
m4trace:m4/ax_compiler_vendor.m4:47: -1- AC_DEFUN([AX_COMPILER_VENDOR], [
2412
AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
2413
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=unknown
2414
# note: don't check for gcc first since some other compilers define __GNUC__
2415
for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
2416
vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
2417
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
2421
])], [ax_cv_]_AC_LANG_ABBREV[_compiler_vendor=`echo $ventest | cut -d: -f1`; break])
2425
m4trace:m4/ax_gcc_archflag.m4:66: -1- AC_DEFUN([AX_GCC_ARCHFLAG], [AC_REQUIRE([AC_PROG_CC])
2426
AC_REQUIRE([AC_CANONICAL_HOST])
2428
AC_ARG_WITH(gcc-arch, [AC_HELP_STRING([--with-gcc-arch=<arch>], [use architecture <arch> for gcc -march/-mtune, instead of guessing])],
2429
ax_gcc_arch=$withval, ax_gcc_arch=yes)
2431
AC_MSG_CHECKING([for gcc architecture flag])
2433
AC_CACHE_VAL(ax_cv_gcc_archflag,
2435
ax_cv_gcc_archflag="unknown"
2437
if test "$GCC" = yes; then
2439
if test "x$ax_gcc_arch" = xyes; then
2441
if test "$cross_compiling" = no; then
2443
i[[3456]]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
2446
case $ax_cv_gcc_x86_cpuid_0 in
2447
*:756e6547:*:*) # Intel
2448
case $ax_cv_gcc_x86_cpuid_1 in
2449
*5[[48]]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
2450
*5??:*:*:*) ax_gcc_arch=pentium ;;
2451
*6[[3456]]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
2452
*6a?:*[[01]]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
2453
*6a?:*[[234]]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
2454
*6[[9d]]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
2455
*6[[78b]]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
2456
*6??:*:*:*) ax_gcc_arch=pentiumpro ;;
2457
*f3[[347]]:*:*:*|*f4[1347]:*:*:*)
2459
x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
2460
*) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
2462
*f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
2464
*:68747541:*:*) # AMD
2465
case $ax_cv_gcc_x86_cpuid_1 in
2466
*5[[67]]?:*:*:*) ax_gcc_arch=k6 ;;
2467
*5[[8d]]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
2468
*5[[9]]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
2469
*60?:*:*:*) ax_gcc_arch=k7 ;;
2470
*6[[12]]?:*:*:*) ax_gcc_arch="athlon k7" ;;
2471
*6[[34]]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
2472
*67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
2474
AX_GCC_X86_CPUID(0x80000006) # L2 cache size
2475
case $ax_cv_gcc_x86_cpuid_0x80000006 in
2476
*:*:*[[1-9a-f]]??????:*) # (L2 = ecx >> 16) >= 256
2477
ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
2478
*) ax_gcc_arch="athlon-4 athlon k7" ;;
2480
*f[[4cef8b]]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
2481
*f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
2482
*f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
2483
*f??:*:*:*) ax_gcc_arch="k8" ;;
2485
*:746e6543:*:*) # IDT
2486
case $ax_cv_gcc_x86_cpuid_1 in
2487
*54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
2488
*58?:*:*:*) ax_gcc_arch=winchip2 ;;
2489
*6[[78]]?:*:*:*) ax_gcc_arch=c3 ;;
2490
*69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
2493
if test x"$ax_gcc_arch" = x; then # fallback
2495
i586*) ax_gcc_arch=pentium ;;
2496
i686*) ax_gcc_arch=pentiumpro ;;
2502
AC_PATH_PROG([PRTDIAG], [prtdiag], [prtdiag], [$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/])
2503
cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
2504
cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
2506
*ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
2507
*ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
2508
*ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
2509
*supersparc*|*tms390z5[[05]]*) ax_gcc_arch="supersparc v8" ;;
2510
*hypersparc*|*rt62[[056]]*) ax_gcc_arch="hypersparc v8" ;;
2511
*cypress*) ax_gcc_arch=cypress ;;
2514
alphaev5) ax_gcc_arch=ev5 ;;
2515
alphaev56) ax_gcc_arch=ev56 ;;
2516
alphapca56) ax_gcc_arch="pca56 ev56" ;;
2517
alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
2518
alphaev6) ax_gcc_arch=ev6 ;;
2519
alphaev67) ax_gcc_arch=ev67 ;;
2520
alphaev68) ax_gcc_arch="ev68 ev67" ;;
2521
alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
2522
alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
2523
alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
2526
cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
2527
cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
2529
*750*) ax_gcc_arch="750 G3" ;;
2530
*740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;;
2531
*74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;;
2532
*74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;;
2533
*970*) ax_gcc_arch="970 G5 power4";;
2534
*POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
2535
*POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
2536
603ev|8240) ax_gcc_arch="$cputype 603e 603";;
2537
*) ax_gcc_arch=$cputype ;;
2539
ax_gcc_arch="$ax_gcc_arch powerpc"
2542
fi # not cross-compiling
2545
if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
2546
for arch in $ax_gcc_arch; do
2547
if test "x[]m4_default([$1],yes)" = xyes; then # if we require portable code
2548
flags="-mtune=$arch"
2549
# -mcpu=$arch and m$arch generate nonportable code on every arch except
2550
# x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr.
2551
case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
2553
flags="-march=$arch -mcpu=$arch -m$arch"
2555
for flag in $flags; do
2556
AX_CHECK_COMPILER_FLAGS($flag, [ax_cv_gcc_archflag=$flag; break])
2558
test "x$ax_cv_gcc_archflag" = xunknown || break
2564
AC_MSG_CHECKING([for gcc architecture flag])
2565
AC_MSG_RESULT($ax_cv_gcc_archflag)
2566
if test "x$ax_cv_gcc_archflag" = xunknown; then
2569
m4_default([$2], [CFLAGS="$CFLAGS $ax_cv_gcc_archflag"])
2572
m4trace:m4/ax_gcc_x86_cpuid.m4:58: -1- AC_DEFUN([AX_GCC_X86_CPUID], [AC_REQUIRE([AC_PROG_CC])
2574
AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1,
2575
[AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>], [
2576
int op = $1, eax, ebx, ecx, edx;
2579
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
2581
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
2582
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
2586
[ax_cv_gcc_x86_cpuid_$1=`cat conftest_cpuid`; rm -f conftest_cpuid],
2587
[ax_cv_gcc_x86_cpuid_$1=unknown; rm -f conftest_cpuid],
2588
[ax_cv_gcc_x86_cpuid_$1=unknown])])
2591
m4trace:m4/ax_submodule.m4:1: -1- AC_DEFUN([AX_SUBMODULE], [
2594
[AS_HELP_STRING([--with-$1=$2],
2595
[Which $1 to use])])
2598
AC_ARG_WITH($1_prefix,
2599
[AS_HELP_STRING([--with-$1-prefix=DIR],
2600
[Prefix of $1 installation])])
2601
AC_ARG_WITH($1_exec_prefix,
2602
[AS_HELP_STRING([--with-$1-exec-prefix=DIR],
2603
[Exec prefix of $1 installation])])
2607
AC_ARG_WITH($1_builddir,
2608
[AS_HELP_STRING([--with-$1-builddir=DIR],
2609
[Location of $1 builddir])])
2611
if test "x$with_$1_prefix" != "x" -a "x$with_$1_exec_prefix" = "x"; then
2612
with_$1_exec_prefix=$with_$1_prefix
2614
if test "x$with_$1_prefix" != "x" -o "x$with_$1_exec_prefix" != "x"; then
2615
if test "x$with_$1" != "x" -a "x$with_$1" != "xsystem"; then
2616
AC_MSG_ERROR([Setting $with_$1_prefix implies use of system $1])
2620
if test "x$with_$1_builddir" != "x"; then
2621
if test "x$with_$1" != "x" -a "x$with_$1" != "xbuild"; then
2622
AC_MSG_ERROR([Setting $with_$1_builddir implies use of build $1])
2625
$1_srcdir=`echo @abs_srcdir@ | $with_$1_builddir/config.status --file=-`
2626
AC_MSG_NOTICE($1 sources in $$1_srcdir)
2632
if test -d $srcdir/.git -a \
2634
! -d $srcdir/$1/.git; then
2636
[git repo detected, but submodule $1 not initialized])
2637
AC_MSG_WARN([You may want to run])
2638
AC_MSG_WARN([ git submodule init])
2639
AC_MSG_WARN([ git submodule update])
2640
AC_MSG_WARN([ sh autogen.sh])
2642
if test -f $srcdir/$1/configure -a "$3" != "no"; then
2649
AC_MSG_CHECKING([which $1 to use])
2650
AC_MSG_RESULT($with_$1)
2653
m4trace:configure.ac:73: -1- m4_pattern_forbid([^_?A[CHUM]_])
2654
m4trace:configure.ac:73: -1- m4_pattern_forbid([_AC_])
2655
m4trace:configure.ac:73: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
2656
m4trace:configure.ac:73: -1- m4_pattern_allow([^AS_FLAGS$])
2657
m4trace:configure.ac:73: -1- m4_pattern_forbid([^_?m4_])
2658
m4trace:configure.ac:73: -1- m4_pattern_forbid([^dnl$])
2659
m4trace:configure.ac:73: -1- m4_pattern_forbid([^_?AS_])
2660
m4trace:configure.ac:73: -1- m4_pattern_allow([^SHELL$])
2661
m4trace:configure.ac:73: -1- m4_pattern_allow([^PATH_SEPARATOR$])
2662
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_NAME$])
2663
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2664
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2665
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_STRING$])
2666
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2667
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_URL$])
2668
m4trace:configure.ac:73: -1- m4_pattern_allow([^exec_prefix$])
2669
m4trace:configure.ac:73: -1- m4_pattern_allow([^prefix$])
2670
m4trace:configure.ac:73: -1- m4_pattern_allow([^program_transform_name$])
2671
m4trace:configure.ac:73: -1- m4_pattern_allow([^bindir$])
2672
m4trace:configure.ac:73: -1- m4_pattern_allow([^sbindir$])
2673
m4trace:configure.ac:73: -1- m4_pattern_allow([^libexecdir$])
2674
m4trace:configure.ac:73: -1- m4_pattern_allow([^datarootdir$])
2675
m4trace:configure.ac:73: -1- m4_pattern_allow([^datadir$])
2676
m4trace:configure.ac:73: -1- m4_pattern_allow([^sysconfdir$])
2677
m4trace:configure.ac:73: -1- m4_pattern_allow([^sharedstatedir$])
2678
m4trace:configure.ac:73: -1- m4_pattern_allow([^localstatedir$])
2679
m4trace:configure.ac:73: -1- m4_pattern_allow([^includedir$])
2680
m4trace:configure.ac:73: -1- m4_pattern_allow([^oldincludedir$])
2681
m4trace:configure.ac:73: -1- m4_pattern_allow([^docdir$])
2682
m4trace:configure.ac:73: -1- m4_pattern_allow([^infodir$])
2683
m4trace:configure.ac:73: -1- m4_pattern_allow([^htmldir$])
2684
m4trace:configure.ac:73: -1- m4_pattern_allow([^dvidir$])
2685
m4trace:configure.ac:73: -1- m4_pattern_allow([^pdfdir$])
2686
m4trace:configure.ac:73: -1- m4_pattern_allow([^psdir$])
2687
m4trace:configure.ac:73: -1- m4_pattern_allow([^libdir$])
2688
m4trace:configure.ac:73: -1- m4_pattern_allow([^localedir$])
2689
m4trace:configure.ac:73: -1- m4_pattern_allow([^mandir$])
2690
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_NAME$])
2691
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2692
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2693
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_STRING$])
2694
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2695
m4trace:configure.ac:73: -1- m4_pattern_allow([^PACKAGE_URL$])
2696
m4trace:configure.ac:73: -1- m4_pattern_allow([^DEFS$])
2697
m4trace:configure.ac:73: -1- m4_pattern_allow([^ECHO_C$])
2698
m4trace:configure.ac:73: -1- m4_pattern_allow([^ECHO_N$])
2699
m4trace:configure.ac:73: -1- m4_pattern_allow([^ECHO_T$])
2700
m4trace:configure.ac:73: -1- m4_pattern_allow([^LIBS$])
2701
m4trace:configure.ac:73: -1- m4_pattern_allow([^build_alias$])
2702
m4trace:configure.ac:73: -1- m4_pattern_allow([^host_alias$])
2703
m4trace:configure.ac:73: -1- m4_pattern_allow([^target_alias$])
2704
m4trace:configure.ac:83: -1- AM_INIT_AUTOMAKE([foreign])
2705
m4trace:configure.ac:83: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2706
m4trace:configure.ac:83: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2707
m4trace:configure.ac:83: -1- AM_AUTOMAKE_VERSION([1.11.6])
2708
m4trace:configure.ac:83: -1- _AM_AUTOCONF_VERSION([2.69])
2709
m4trace:configure.ac:83: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2710
m4trace:configure.ac:83: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
2711
m4trace:configure.ac:83: -1- m4_pattern_allow([^INSTALL_DATA$])
2712
m4trace:configure.ac:83: -1- m4_pattern_allow([^am__isrc$])
2713
m4trace:configure.ac:83: -1- _AM_SUBST_NOTMAKE([am__isrc])
2714
m4trace:configure.ac:83: -1- m4_pattern_allow([^CYGPATH_W$])
2715
m4trace:configure.ac:83: -1- _AM_SET_OPTIONS([foreign])
2716
m4trace:configure.ac:83: -1- _AM_SET_OPTION([foreign])
2717
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([foreign])
2718
m4trace:configure.ac:83: -1- m4_pattern_allow([^PACKAGE$])
2719
m4trace:configure.ac:83: -1- m4_pattern_allow([^VERSION$])
2720
m4trace:configure.ac:83: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2721
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
2722
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([no-define])
2723
m4trace:configure.ac:83: -1- m4_pattern_allow([^PACKAGE$])
2724
m4trace:configure.ac:83: -1- m4_pattern_allow([^VERSION$])
2725
m4trace:configure.ac:83: -1- AM_SANITY_CHECK
2726
m4trace:configure.ac:83: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
2727
m4trace:configure.ac:83: -1- AM_MISSING_HAS_RUN
2728
m4trace:configure.ac:83: -1- AM_AUX_DIR_EXPAND
2729
m4trace:configure.ac:83: -1- m4_pattern_allow([^ACLOCAL$])
2730
m4trace:configure.ac:83: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
2731
m4trace:configure.ac:83: -1- m4_pattern_allow([^AUTOCONF$])
2732
m4trace:configure.ac:83: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
2733
m4trace:configure.ac:83: -1- m4_pattern_allow([^AUTOMAKE$])
2734
m4trace:configure.ac:83: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
2735
m4trace:configure.ac:83: -1- m4_pattern_allow([^AUTOHEADER$])
2736
m4trace:configure.ac:83: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
2737
m4trace:configure.ac:83: -1- m4_pattern_allow([^MAKEINFO$])
2738
m4trace:configure.ac:83: -1- AM_PROG_INSTALL_SH
2739
m4trace:configure.ac:83: -1- m4_pattern_allow([^install_sh$])
2740
m4trace:configure.ac:83: -1- AM_PROG_INSTALL_STRIP
2741
m4trace:configure.ac:83: -1- m4_pattern_allow([^STRIP$])
2742
m4trace:configure.ac:83: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
2743
m4trace:configure.ac:83: -1- AM_PROG_MKDIR_P
2744
m4trace:configure.ac:83: -1- m4_pattern_allow([^MKDIR_P$])
2745
m4trace:configure.ac:83: -1- m4_pattern_allow([^mkdir_p$])
2746
m4trace:configure.ac:83: -1- m4_pattern_allow([^AWK$])
2747
m4trace:configure.ac:83: -1- m4_pattern_allow([^SET_MAKE$])
2748
m4trace:configure.ac:83: -1- AM_SET_LEADING_DOT
2749
m4trace:configure.ac:83: -1- m4_pattern_allow([^am__leading_dot$])
2750
m4trace:configure.ac:83: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
2751
[_AM_PROG_TAR([v7])])])
2752
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([tar-ustar])
2753
m4trace:configure.ac:83: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
2754
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([tar-pax])
2755
m4trace:configure.ac:83: -1- _AM_PROG_TAR([v7])
2756
m4trace:configure.ac:83: -1- m4_pattern_allow([^AMTAR$])
2757
m4trace:configure.ac:83: -1- m4_pattern_allow([^am__tar$])
2758
m4trace:configure.ac:83: -1- m4_pattern_allow([^am__untar$])
2759
m4trace:configure.ac:83: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
2760
[_AM_DEPENDENCIES(CC)],
2761
[define([AC_PROG_CC],
2762
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
2763
AC_PROVIDE_IFELSE([AC_PROG_CXX],
2764
[_AM_DEPENDENCIES(CXX)],
2765
[define([AC_PROG_CXX],
2766
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
2767
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
2768
[_AM_DEPENDENCIES(OBJC)],
2769
[define([AC_PROG_OBJC],
2770
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
2772
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([no-dependencies])
2773
m4trace:configure.ac:83: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
2774
m4trace:configure.ac:83: -2- _AM_MANGLE_OPTION([silent-rules])
2775
m4trace:configure.ac:84: -1- AM_SILENT_RULES([yes])
2776
m4trace:configure.ac:84: -1- m4_pattern_allow([^AM_V$])
2777
m4trace:configure.ac:84: -1- AM_SUBST_NOTMAKE([AM_V])
2778
m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([AM_V])
2779
m4trace:configure.ac:84: -1- m4_pattern_allow([^AM_DEFAULT_V$])
2780
m4trace:configure.ac:84: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
2781
m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
2782
m4trace:configure.ac:84: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
2783
m4trace:configure.ac:84: -1- m4_pattern_allow([^AM_BACKSLASH$])
2784
m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
2785
m4trace:configure.ac:93: -1- m4_pattern_allow([^CC$])
2786
m4trace:configure.ac:93: -1- m4_pattern_allow([^CFLAGS$])
2787
m4trace:configure.ac:93: -1- m4_pattern_allow([^LDFLAGS$])
2788
m4trace:configure.ac:93: -1- m4_pattern_allow([^LIBS$])
2789
m4trace:configure.ac:93: -1- m4_pattern_allow([^CPPFLAGS$])
2790
m4trace:configure.ac:93: -1- m4_pattern_allow([^CC$])
2791
m4trace:configure.ac:93: -1- m4_pattern_allow([^CC$])
2792
m4trace:configure.ac:93: -1- m4_pattern_allow([^CC$])
2793
m4trace:configure.ac:93: -1- m4_pattern_allow([^CC$])
2794
m4trace:configure.ac:93: -1- m4_pattern_allow([^ac_ct_CC$])
2795
m4trace:configure.ac:93: -1- m4_pattern_allow([^EXEEXT$])
2796
m4trace:configure.ac:93: -1- m4_pattern_allow([^OBJEXT$])
2797
m4trace:configure.ac:93: -1- _AM_DEPENDENCIES([CC])
2798
m4trace:configure.ac:93: -1- AM_SET_DEPDIR
2799
m4trace:configure.ac:93: -1- m4_pattern_allow([^DEPDIR$])
2800
m4trace:configure.ac:93: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
2801
m4trace:configure.ac:93: -1- AM_MAKE_INCLUDE
2802
m4trace:configure.ac:93: -1- m4_pattern_allow([^am__include$])
2803
m4trace:configure.ac:93: -1- m4_pattern_allow([^am__quote$])
2804
m4trace:configure.ac:93: -1- AM_DEP_TRACK
2805
m4trace:configure.ac:93: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2806
m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEP_TRUE$])
2807
m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEP_FALSE$])
2808
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
2809
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
2810
m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
2811
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
2812
m4trace:configure.ac:93: -1- m4_pattern_allow([^am__nodep$])
2813
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__nodep])
2814
m4trace:configure.ac:93: -1- m4_pattern_allow([^CCDEPMODE$])
2815
m4trace:configure.ac:93: -1- AM_CONDITIONAL([am__fastdepCC], [
2816
test "x$enable_dependency_tracking" != xno \
2817
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
2818
m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
2819
m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
2820
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
2821
m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
2822
m4trace:configure.ac:94: -1- m4_pattern_allow([^LN_S$])
2823
m4trace:configure.ac:95: -1- m4_pattern_allow([^SET_MAKE$])
2824
m4trace:configure.ac:96: -1- m4_pattern_allow([^CD$])
2825
m4trace:configure.ac:98: -1- AC_PROG_LIBTOOL
2826
m4trace:configure.ac:98: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2827
You should run autoupdate.], [/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
2828
configure.ac:98: the top level])
2829
m4trace:configure.ac:98: -1- LT_INIT
2830
m4trace:configure.ac:98: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
2831
m4trace:configure.ac:98: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
2832
m4trace:configure.ac:98: -1- LTOPTIONS_VERSION
2833
m4trace:configure.ac:98: -1- LTSUGAR_VERSION
2834
m4trace:configure.ac:98: -1- LTVERSION_VERSION
2835
m4trace:configure.ac:98: -1- LTOBSOLETE_VERSION
2836
m4trace:configure.ac:98: -1- _LT_PROG_LTMAIN
2837
m4trace:configure.ac:98: -1- m4_pattern_allow([^LIBTOOL$])
2838
m4trace:configure.ac:98: -1- m4_pattern_allow([^build$])
2839
m4trace:configure.ac:98: -1- m4_pattern_allow([^build_cpu$])
2840
m4trace:configure.ac:98: -1- m4_pattern_allow([^build_vendor$])
2841
m4trace:configure.ac:98: -1- m4_pattern_allow([^build_os$])
2842
m4trace:configure.ac:98: -1- m4_pattern_allow([^host$])
2843
m4trace:configure.ac:98: -1- m4_pattern_allow([^host_cpu$])
2844
m4trace:configure.ac:98: -1- m4_pattern_allow([^host_vendor$])
2845
m4trace:configure.ac:98: -1- m4_pattern_allow([^host_os$])
2846
m4trace:configure.ac:98: -1- _LT_PREPARE_SED_QUOTE_VARS
2847
m4trace:configure.ac:98: -1- _LT_PROG_ECHO_BACKSLASH
2848
m4trace:configure.ac:98: -1- LT_PATH_LD
2849
m4trace:configure.ac:98: -1- m4_pattern_allow([^SED$])
2850
m4trace:configure.ac:98: -1- AC_PROG_EGREP
2851
m4trace:configure.ac:98: -1- m4_pattern_allow([^GREP$])
2852
m4trace:configure.ac:98: -1- m4_pattern_allow([^EGREP$])
2853
m4trace:configure.ac:98: -1- m4_pattern_allow([^FGREP$])
2854
m4trace:configure.ac:98: -1- m4_pattern_allow([^GREP$])
2855
m4trace:configure.ac:98: -1- m4_pattern_allow([^LD$])
2856
m4trace:configure.ac:98: -1- LT_PATH_NM
2857
m4trace:configure.ac:98: -1- m4_pattern_allow([^DUMPBIN$])
2858
m4trace:configure.ac:98: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
2859
m4trace:configure.ac:98: -1- m4_pattern_allow([^DUMPBIN$])
2860
m4trace:configure.ac:98: -1- m4_pattern_allow([^NM$])
2861
m4trace:configure.ac:98: -1- LT_CMD_MAX_LEN
2862
m4trace:configure.ac:98: -1- m4_pattern_allow([^OBJDUMP$])
2863
m4trace:configure.ac:98: -1- m4_pattern_allow([^OBJDUMP$])
2864
m4trace:configure.ac:98: -1- m4_pattern_allow([^DLLTOOL$])
2865
m4trace:configure.ac:98: -1- m4_pattern_allow([^DLLTOOL$])
2866
m4trace:configure.ac:98: -1- m4_pattern_allow([^AR$])
2867
m4trace:configure.ac:98: -1- m4_pattern_allow([^ac_ct_AR$])
2868
m4trace:configure.ac:98: -1- m4_pattern_allow([^STRIP$])
2869
m4trace:configure.ac:98: -1- m4_pattern_allow([^RANLIB$])
2870
m4trace:configure.ac:98: -1- _LT_WITH_SYSROOT
2871
m4trace:configure.ac:98: -1- m4_pattern_allow([LT_OBJDIR])
2872
m4trace:configure.ac:98: -1- m4_pattern_allow([^LT_OBJDIR$])
2873
m4trace:configure.ac:98: -1- _LT_CC_BASENAME([$compiler])
2874
m4trace:configure.ac:98: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
2875
m4trace:configure.ac:98: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
2876
m4trace:configure.ac:98: -1- LT_SUPPORTED_TAG([CC])
2877
m4trace:configure.ac:98: -1- _LT_COMPILER_BOILERPLATE
2878
m4trace:configure.ac:98: -1- _LT_LINKER_BOILERPLATE
2879
m4trace:configure.ac:98: -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"])
2880
m4trace:configure.ac:98: -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
2882
*) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
2883
esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
2884
_LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
2885
m4trace:configure.ac:98: -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, )=])
2886
m4trace:configure.ac:98: -1- m4_pattern_allow([^MANIFEST_TOOL$])
2887
m4trace:configure.ac:98: -1- _LT_REQUIRED_DARWIN_CHECKS
2888
m4trace:configure.ac:98: -1- m4_pattern_allow([^DSYMUTIL$])
2889
m4trace:configure.ac:98: -1- m4_pattern_allow([^NMEDIT$])
2890
m4trace:configure.ac:98: -1- m4_pattern_allow([^LIPO$])
2891
m4trace:configure.ac:98: -1- m4_pattern_allow([^OTOOL$])
2892
m4trace:configure.ac:98: -1- m4_pattern_allow([^OTOOL64$])
2893
m4trace:configure.ac:98: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
2894
m4trace:configure.ac:98: -1- LT_SYS_DLOPEN_SELF
2895
m4trace:configure.ac:98: -1- m4_pattern_allow([^CPP$])
2896
m4trace:configure.ac:98: -1- m4_pattern_allow([^CPPFLAGS$])
2897
m4trace:configure.ac:98: -1- m4_pattern_allow([^CPP$])
2898
m4trace:configure.ac:98: -1- m4_pattern_allow([^STDC_HEADERS$])
2899
m4trace:configure.ac:98: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
2900
m4trace:configure.ac:99: -1- m4_pattern_allow([^DOXYGEN$])
2901
m4trace:configure.ac:101: -1- AX_CC_MAXOPT
2902
m4trace:configure.ac:101: -1- AX_COMPILER_VENDOR
2903
m4trace:configure.ac:101: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
2904
You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
2905
../../lib/autoconf/general.m4:1462: AC_ARG_ENABLE is expanded from...
2906
m4/ax_cc_maxopt.m4:58: AX_CC_MAXOPT is expanded from...
2907
configure.ac:101: the top level])
2908
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([$xlc_opt], [CFLAGS="-O3 -qansialias -w $xlc_opt"], [CFLAGS="-O3 -qansialias -w"
2909
echo "******************************************************"
2910
echo "* You seem to have the IBM C compiler. It is *"
2911
echo "* recommended for best performance that you use: *"
2913
echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
2915
echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
2916
echo "* CPU you have. (Set the CFLAGS environment var. *"
2917
echo "* and re-run configure.) For more info, man cc. *"
2918
echo "******************************************************"])
2919
m4trace:configure.ac:101: -1- AX_GCC_X86_CPUID([0])
2920
m4trace:configure.ac:101: -1- AX_GCC_X86_CPUID([1])
2921
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([$flag], [icc_archflag=$flag; break])
2922
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([-malign-double], [CFLAGS="$CFLAGS -malign-double"])
2923
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([-fstrict-aliasing], [CFLAGS="$CFLAGS -fstrict-aliasing"])
2924
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([-ffast-math], [CFLAGS="$CFLAGS -ffast-math"])
2925
m4trace:configure.ac:101: -1- AX_GCC_ARCHFLAG([$acx_maxopt_portable])
2926
m4trace:configure.ac:101: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
2927
You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
2928
../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
2929
m4/ax_gcc_archflag.m4:66: AX_GCC_ARCHFLAG is expanded from...
2930
m4/ax_cc_maxopt.m4:58: AX_CC_MAXOPT is expanded from...
2931
configure.ac:101: the top level])
2932
m4trace:configure.ac:101: -1- AX_GCC_X86_CPUID([0])
2933
m4trace:configure.ac:101: -1- AX_GCC_X86_CPUID([1])
2934
m4trace:configure.ac:101: -1- AX_GCC_X86_CPUID([0x80000006])
2935
m4trace:configure.ac:101: -1- m4_pattern_allow([^PRTDIAG$])
2936
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([$flag], [ax_cv_gcc_archflag=$flag; break])
2937
m4trace:configure.ac:101: -1- AX_CHECK_COMPILER_FLAGS([$CFLAGS], [], [
2939
echo "********************************************************"
2940
echo "* WARNING: The guessed CFLAGS don't seem to work with *"
2941
echo "* your compiler. *"
2942
echo "* Use ./configure CFLAGS=... to specify your own flags *"
2943
echo "********************************************************"
2947
m4trace:configure.ac:102: -1- m4_pattern_allow([^CFLAGS_WARN$])
2948
m4trace:configure.ac:103: -1- AX_CFLAGS_WARN_ALL([CFLAGS_WARN])
2949
m4trace:configure.ac:103: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
2950
You should run autoupdate.], [../../lib/autoconf/lang.m4:125: AC_LANG_SAVE is expanded from...
2951
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
2952
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
2953
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
2954
m4/ax_cflags_warn_all.m4:56: AX_CFLAGS_WARN_ALL is expanded from...
2955
configure.ac:103: the top level])
2956
m4trace:configure.ac:103: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
2957
You should run autoupdate.], [../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
2958
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
2959
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
2960
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
2961
m4/ax_cflags_warn_all.m4:56: AX_CFLAGS_WARN_ALL is expanded from...
2962
configure.ac:103: the top level])
2963
m4trace:configure.ac:103: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
2964
You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
2965
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
2966
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
2967
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
2968
m4/ax_cflags_warn_all.m4:56: AX_CFLAGS_WARN_ALL is expanded from...
2969
configure.ac:103: the top level])
2970
m4trace:configure.ac:103: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
2971
You should run autoupdate.], [../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
2972
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
2973
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
2974
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
2975
m4/ax_cflags_warn_all.m4:56: AX_CFLAGS_WARN_ALL is expanded from...
2976
configure.ac:103: the top level])
2977
m4trace:configure.ac:106: -1- m4_pattern_allow([^const$])
2978
m4trace:configure.ac:107: -1- m4_pattern_allow([^size_t$])
2979
m4trace:configure.ac:110: -1- m4_pattern_allow([^STDC_HEADERS$])
2980
m4trace:configure.ac:114: -1- m4_pattern_allow([^HAVE_STRTOL$])
2981
m4trace:configure.ac:126: -1- AX_SUBMODULE([gmp], [no|system|build], [system])
2982
m4trace:configure.ac:163: -1- m4_pattern_allow([^ac_aux_dir$])
2983
m4trace:configure.ac:164: -1- m4_pattern_allow([^abs_top_srcdir$])
2984
m4trace:configure.ac:166: -1- m4_pattern_allow([^VERSION_MAJOR$])
2985
m4trace:configure.ac:167: -1- m4_pattern_allow([^VERSION_MINOR$])
2986
m4trace:configure.ac:168: -1- m4_pattern_allow([^VERSION_REVISION$])
2987
m4trace:configure.ac:180: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2988
m4trace:configure.ac:180: -1- m4_pattern_allow([^LTLIBOBJS$])
2989
m4trace:configure.ac:180: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
2990
m4trace:configure.ac:180: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
2991
m4trace:configure.ac:180: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
2992
m4trace:configure.ac:180: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2993
m4trace:configure.ac:180: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2994
m4trace:configure.ac:180: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2995
m4trace:configure.ac:180: -1- _LT_PROG_LTMAIN