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:1502: -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:1544: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
297
m4trace:/usr/share/aclocal/libtool.m4:1544: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
298
You should run autoupdate.])dnl
299
m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
300
m4trace:/usr/share/aclocal/libtool.m4:1553: -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:1588: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
333
m4trace:/usr/share/aclocal/libtool.m4:1588: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
334
You should run autoupdate.])dnl
335
m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
336
m4trace:/usr/share/aclocal/libtool.m4:1595: -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"; then
432
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
433
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
435
# Make teststring a little bigger before we do anything with it.
436
# a 1K string should be a reasonable start.
437
for i in 1 2 3 4 5 6 7 8 ; do
438
teststring=$teststring$teststring
440
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
441
# If test is not a shell built-in, we'll probably end up computing a
442
# maximum length that is only half of the actual maximum length, but
444
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
445
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
446
test $i != 17 # 1/2 MB should be enough
449
teststring=$teststring$teststring
451
# Only check the string length outside the loop.
452
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
454
# Add a significant safety factor because C++ compilers can tack on
455
# massive amounts of additional arguments before passing them to the
456
# linker. It appears as though 1/2 is a usable value.
457
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
462
if test -n $lt_cv_sys_max_cmd_len ; then
463
AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
467
max_cmd_len=$lt_cv_sys_max_cmd_len
468
_LT_DECL([], [max_cmd_len], [0],
469
[What is the maximum length of a command?])
471
m4trace:/usr/share/aclocal/libtool.m4:1733: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
472
m4trace:/usr/share/aclocal/libtool.m4:1733: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
473
You should run autoupdate.])dnl
474
m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
475
m4trace:/usr/share/aclocal/libtool.m4:1844: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
476
if test "x$enable_dlopen" != xyes; then
477
enable_dlopen=unknown
478
enable_dlopen_self=unknown
479
enable_dlopen_self_static=unknown
486
lt_cv_dlopen="load_add_on"
488
lt_cv_dlopen_self=yes
491
mingw* | pw32* | cegcc*)
492
lt_cv_dlopen="LoadLibrary"
497
lt_cv_dlopen="dlopen"
502
# if libdl is installed we need to link against it
503
AC_CHECK_LIB([dl], [dlopen],
504
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
507
lt_cv_dlopen_self=yes
512
AC_CHECK_FUNC([shl_load],
513
[lt_cv_dlopen="shl_load"],
514
[AC_CHECK_LIB([dld], [shl_load],
515
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
516
[AC_CHECK_FUNC([dlopen],
517
[lt_cv_dlopen="dlopen"],
518
[AC_CHECK_LIB([dl], [dlopen],
519
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
520
[AC_CHECK_LIB([svld], [dlopen],
521
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
522
[AC_CHECK_LIB([dld], [dld_link],
523
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
532
if test "x$lt_cv_dlopen" != xno; then
538
case $lt_cv_dlopen in
540
save_CPPFLAGS="$CPPFLAGS"
541
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
543
save_LDFLAGS="$LDFLAGS"
544
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
547
LIBS="$lt_cv_dlopen_libs $LIBS"
549
AC_CACHE_CHECK([whether a program can dlopen itself],
550
lt_cv_dlopen_self, [dnl
552
lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
553
lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
556
if test "x$lt_cv_dlopen_self" = xyes; then
557
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
558
AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
559
lt_cv_dlopen_self_static, [dnl
561
lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
562
lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
566
CPPFLAGS="$save_CPPFLAGS"
567
LDFLAGS="$save_LDFLAGS"
572
case $lt_cv_dlopen_self in
573
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
574
*) enable_dlopen_self=unknown ;;
577
case $lt_cv_dlopen_self_static in
578
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
579
*) enable_dlopen_self_static=unknown ;;
582
_LT_DECL([dlopen_support], [enable_dlopen], [0],
583
[Whether dlopen is supported])
584
_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
585
[Whether dlopen of programs is supported])
586
_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
587
[Whether dlopen of statically linked programs is supported])
589
m4trace:/usr/share/aclocal/libtool.m4:1961: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
590
m4trace:/usr/share/aclocal/libtool.m4:1961: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
591
You should run autoupdate.])dnl
592
m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
593
m4trace:/usr/share/aclocal/libtool.m4:2942: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
594
AC_MSG_CHECKING([for $1])
595
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
598
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
601
lt_save_MAGIC_CMD="$MAGIC_CMD"
602
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
603
dnl $ac_dummy forces splitting on constant user-supplied paths.
604
dnl POSIX.2 word splitting is done only on the output of word expansions,
605
dnl not every word. This closes a longstanding sh security hole.
606
ac_dummy="m4_if([$2], , $PATH, [$2])"
607
for ac_dir in $ac_dummy; do
609
test -z "$ac_dir" && ac_dir=.
610
if test -f $ac_dir/$1; then
611
lt_cv_path_MAGIC_CMD="$ac_dir/$1"
612
if test -n "$file_magic_test_file"; then
613
case $deplibs_check_method in
615
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
616
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
617
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
618
$EGREP "$file_magic_regex" > /dev/null; then
623
*** Warning: the command libtool uses to detect shared libraries,
624
*** $file_magic_cmd, produces output that libtool cannot recognize.
625
*** The result is that libtool may fail to recognize shared libraries
626
*** as such. This will affect the creation of libtool libraries that
627
*** depend on shared libraries, but programs linked with such libtool
628
*** libraries will work regardless of this problem. Nevertheless, you
629
*** may want to report the problem to your system manager and/or to
630
*** bug-libtool@gnu.org
640
MAGIC_CMD="$lt_save_MAGIC_CMD"
643
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
644
if test -n "$MAGIC_CMD"; then
645
AC_MSG_RESULT($MAGIC_CMD)
649
_LT_DECL([], [MAGIC_CMD], [0],
650
[Used to examine libraries when file_magic_cmd begins with "file"])dnl
652
m4trace:/usr/share/aclocal/libtool.m4:3004: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
653
m4trace:/usr/share/aclocal/libtool.m4:3004: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
654
You should run autoupdate.])dnl
655
m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
656
m4trace:/usr/share/aclocal/libtool.m4:3027: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
657
AC_REQUIRE([AC_CANONICAL_HOST])dnl
658
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
659
m4_require([_LT_DECL_SED])dnl
660
m4_require([_LT_DECL_EGREP])dnl
661
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
663
AC_ARG_WITH([gnu-ld],
664
[AS_HELP_STRING([--with-gnu-ld],
665
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
666
[test "$withval" = no || with_gnu_ld=yes],
670
if test "$GCC" = yes; then
671
# Check if gcc -print-prog-name=ld gives a path.
672
AC_MSG_CHECKING([for ld used by $CC])
675
# gcc leaves a trailing carriage return which upsets mingw
676
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
678
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
681
# Accept absolute paths.
682
[[\\/]]* | ?:[[\\/]]*)
683
re_direlt='/[[^/]][[^/]]*/\.\./'
684
# Canonicalize the pathname of ld
685
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
686
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
687
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
689
test -z "$LD" && LD="$ac_prog"
692
# If it fails, then pretend we aren't using GCC.
696
# If it is relative, then search for the first ld in PATH.
700
elif test "$with_gnu_ld" = yes; then
701
AC_MSG_CHECKING([for GNU ld])
703
AC_MSG_CHECKING([for non-GNU ld])
705
AC_CACHE_VAL(lt_cv_path_LD,
706
[if test -z "$LD"; then
707
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
708
for ac_dir in $PATH; do
710
test -z "$ac_dir" && ac_dir=.
711
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
712
lt_cv_path_LD="$ac_dir/$ac_prog"
713
# Check to see if the program is GNU ld. I'd rather use --version,
714
# but apparently some variants of GNU ld only accept -v.
715
# Break only if it was the GNU/non-GNU ld that we prefer.
716
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
717
*GNU* | *'with BFD'*)
718
test "$with_gnu_ld" != no && break
721
test "$with_gnu_ld" != yes && break
728
lt_cv_path_LD="$LD" # Let the user override the test with a path.
731
if test -n "$LD"; then
736
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
740
_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
742
m4trace:/usr/share/aclocal/libtool.m4:3116: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
743
m4trace:/usr/share/aclocal/libtool.m4:3116: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
744
You should run autoupdate.])dnl
745
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
746
m4trace:/usr/share/aclocal/libtool.m4:3117: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
747
m4trace:/usr/share/aclocal/libtool.m4:3117: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
748
You should run autoupdate.])dnl
749
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
750
m4trace:/usr/share/aclocal/libtool.m4:3411: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
751
AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
752
[if test -n "$NM"; then
753
# Let the user override the test.
756
lt_nm_to_check="${ac_tool_prefix}nm"
757
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
758
lt_nm_to_check="$lt_nm_to_check nm"
760
for lt_tmp_nm in $lt_nm_to_check; do
761
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
762
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
764
test -z "$ac_dir" && ac_dir=.
765
tmp_nm="$ac_dir/$lt_tmp_nm"
766
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
767
# Check to see if the nm accepts a BSD-compat flag.
768
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
769
# nm: unknown option "B" ignored
770
# Tru64's nm complains that /dev/null is an invalid object file
771
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
772
*/dev/null* | *'Invalid file or object type'*)
773
lt_cv_path_NM="$tmp_nm -B"
777
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
779
lt_cv_path_NM="$tmp_nm -p"
783
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
784
continue # so that we can try to find one that supports BSD flags
793
: ${lt_cv_path_NM=no}
795
if test "$lt_cv_path_NM" != "no"; then
798
# Didn't find any BSD compatible name lister, look for dumpbin.
799
if test -n "$DUMPBIN"; then :
800
# Let the user override the test.
802
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
803
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
805
DUMPBIN="$DUMPBIN -symbols"
813
if test "$DUMPBIN" != ":"; then
817
test -z "$NM" && NM=nm
819
_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
821
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
822
[lt_cv_nm_interface="BSD nm"
823
echo "int some_variable = 0;" > conftest.$ac_ext
824
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
825
(eval "$ac_compile" 2>conftest.err)
826
cat conftest.err >&AS_MESSAGE_LOG_FD
827
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
828
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
829
cat conftest.err >&AS_MESSAGE_LOG_FD
830
(eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
831
cat conftest.out >&AS_MESSAGE_LOG_FD
832
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
833
lt_cv_nm_interface="MS dumpbin"
837
m4trace:/usr/share/aclocal/libtool.m4:3501: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
838
m4trace:/usr/share/aclocal/libtool.m4:3501: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
839
You should run autoupdate.])dnl
840
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
841
m4trace:/usr/share/aclocal/libtool.m4:3502: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
842
m4trace:/usr/share/aclocal/libtool.m4:3502: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
843
You should run autoupdate.])dnl
844
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
845
m4trace:/usr/share/aclocal/libtool.m4:3572: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
848
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
849
# These system don't have libm, or don't need it
852
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
853
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
856
AC_CHECK_LIB(m, cos, LIBM="-lm")
861
m4trace:/usr/share/aclocal/libtool.m4:3591: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
862
m4trace:/usr/share/aclocal/libtool.m4:3591: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
863
You should run autoupdate.])dnl
864
m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
865
m4trace:/usr/share/aclocal/libtool.m4:7641: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
866
[m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
867
[AC_CHECK_TOOL(GCJ, gcj,)
868
test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
869
AC_SUBST(GCJFLAGS)])])[]dnl
871
m4trace:/usr/share/aclocal/libtool.m4:7650: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
872
m4trace:/usr/share/aclocal/libtool.m4:7650: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
873
You should run autoupdate.])dnl
874
m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
875
m4trace:/usr/share/aclocal/libtool.m4:7657: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
877
m4trace:/usr/share/aclocal/libtool.m4:7664: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
879
m4trace:/usr/share/aclocal/libtool.m4:7669: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
880
m4trace:/usr/share/aclocal/libtool.m4:7669: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
881
You should run autoupdate.])dnl
882
m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
883
m4trace:/usr/share/aclocal/libtool.m4:7789: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
884
m4trace:/usr/share/aclocal/libtool.m4:7789: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
885
You should run autoupdate.])dnl
886
m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
887
m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
890
m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
891
dnl Although the argument is deprecated and no longer documented,
892
dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
893
dnl here make sure it is the same as any other declaration of libltdl's
894
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
895
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
896
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
899
m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
901
m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
902
You should run autoupdate.])dnl
903
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
905
m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
906
dnl Although the argument is deprecated and no longer documented,
907
dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
908
dnl here make sure it is the same as any other declaration of libltdl's
909
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
910
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
911
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
914
m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
916
m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
917
You should run autoupdate.])dnl
918
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
920
m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
921
m4_pattern_allow([^_LT_LIBOBJS$])
922
_LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
924
m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
925
_LT_SET_OPTIONS([$0], [$1])
927
dnl We need to keep our own list of libobjs separate from our parent project,
928
dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
929
dnl we look for our own LIBOBJs.
930
m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
931
m4_pushdef([AC_LIBSOURCES])
933
dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
934
m4_if(_LTDL_MODE, [],
935
[m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
936
m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
937
[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
939
AC_ARG_WITH([included_ltdl],
940
[AS_HELP_STRING([--with-included-ltdl],
941
[use the GNU ltdl sources included here])])
943
if test "x$with_included_ltdl" != xyes; then
944
# We are not being forced to use the included libltdl sources, so
945
# decide whether there is a useful installed version we can use.
946
AC_CHECK_HEADER([ltdl.h],
947
[AC_CHECK_DECL([lt_dlinterface_register],
948
[AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
949
[with_included_ltdl=no],
950
[with_included_ltdl=yes])],
951
[with_included_ltdl=yes],
953
#include <ltdl.h>])],
954
[with_included_ltdl=yes],
955
[AC_INCLUDES_DEFAULT]
959
dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
960
dnl was called yet, then for old times' sake, we assume libltdl is in an
961
dnl eponymous directory:
962
AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
964
AC_ARG_WITH([ltdl_include],
965
[AS_HELP_STRING([--with-ltdl-include=DIR],
966
[use the ltdl headers installed in DIR])])
968
if test -n "$with_ltdl_include"; then
969
if test -f "$with_ltdl_include/ltdl.h"; then :
971
AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
977
AC_ARG_WITH([ltdl_lib],
978
[AS_HELP_STRING([--with-ltdl-lib=DIR],
979
[use the libltdl.la installed in DIR])])
981
if test -n "$with_ltdl_lib"; then
982
if test -f "$with_ltdl_lib/libltdl.la"; then :
984
AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
990
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
992
m4_case(m4_default(_LTDL_TYPE, [convenience]),
993
[convenience], [_LTDL_CONVENIENCE],
994
[installable], [_LTDL_INSTALLABLE],
995
[m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
998
# If the included ltdl is not to be used, then use the
999
# preinstalled libltdl we found.
1000
AC_DEFINE([HAVE_LTDL], [1],
1001
[Define this if a modern libltdl is already installed])
1007
AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
1009
*) with_included_ltdl=no
1010
LIBLTDL="-L$with_ltdl_lib -lltdl"
1012
LTDLINCL="-I$with_ltdl_include"
1017
# Report our decision...
1018
AC_MSG_CHECKING([where to find libltdl headers])
1019
AC_MSG_RESULT([$LTDLINCL])
1020
AC_MSG_CHECKING([where to find libltdl library])
1021
AC_MSG_RESULT([$LIBLTDL])
1025
dnl restore autoconf definition.
1026
m4_popdef([AC_LIBOBJ])
1027
m4_popdef([AC_LIBSOURCES])
1029
AC_CONFIG_COMMANDS_PRE([
1032
if test -n "$_LT_LIBOBJS"; then
1033
# Remove the extension.
1034
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1035
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
1036
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
1037
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
1040
AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
1041
AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
1045
m4_define([LTDL_INIT])
1047
m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
1048
m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
1049
You should run autoupdate.])dnl
1051
m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1052
m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1053
You should run autoupdate.])dnl
1055
m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1056
m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1057
You should run autoupdate.])dnl
1059
m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1060
AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1061
AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1062
AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1063
AC_REQUIRE([LT_LIB_DLLOAD])dnl
1064
AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1065
AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1066
AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1067
AC_REQUIRE([gl_FUNC_ARGZ])dnl
1069
m4_require([_LT_CHECK_OBJDIR])dnl
1070
m4_require([_LT_HEADER_DLFCN])dnl
1071
m4_require([_LT_CHECK_DLPREOPEN])dnl
1072
m4_require([_LT_DECL_SED])dnl
1074
dnl Don't require this, or it will be expanded earlier than the code
1075
dnl that sets the variables it relies on:
1078
dnl _LTDL_MODE specific code must be called at least once:
1081
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1082
# the user used. This is so that ltdl.h can pick up the parent projects
1083
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
1084
# definitions required by ltdl.c.
1085
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1086
AC_CONFIG_COMMANDS_PRE([dnl
1087
m4_pattern_allow([^LT_CONFIG_H$])dnl
1088
m4_ifset([AH_HEADER],
1089
[LT_CONFIG_H=AH_HEADER],
1090
[m4_ifset([AC_LIST_HEADERS],
1091
[LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1093
AC_SUBST([LT_CONFIG_H])
1095
AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1096
[], [], [AC_INCLUDES_DEFAULT])
1098
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1099
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1101
m4_pattern_allow([LT_LIBEXT])dnl
1102
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1105
eval "lt_libprefix=\"$libname_spec\""
1106
m4_pattern_allow([LT_LIBPREFIX])dnl
1107
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
1110
eval "LTDLOPEN=\"$libname_spec\""
1111
AC_SUBST([LTDLOPEN])
1113
m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1114
AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1115
[lt_cv_sys_dlopen_deplibs],
1116
[# PORTME does your system automatically load deplibs for dlopen?
1117
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
1118
# For now, we just catch OSes we know something about -- in the
1119
# future, we'll try test this programmatically.
1120
lt_cv_sys_dlopen_deplibs=unknown
1122
aix3*|aix4.1.*|aix4.2.*)
1123
# Unknown whether this is true for these versions of AIX, but
1124
# we want this `case' here to explicitly catch those versions.
1125
lt_cv_sys_dlopen_deplibs=unknown
1128
lt_cv_sys_dlopen_deplibs=yes
1133
lt_cv_sys_dlopen_deplibs=no
1138
# Assuming the user has installed a libdl from somewhere, this is true
1139
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
1140
lt_cv_sys_dlopen_deplibs=yes
1142
freebsd* | dragonfly*)
1143
lt_cv_sys_dlopen_deplibs=yes
1145
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
1146
# GNU and its variants, using gnu ld.so (Glibc)
1147
lt_cv_sys_dlopen_deplibs=yes
1150
lt_cv_sys_dlopen_deplibs=yes
1153
lt_cv_sys_dlopen_deplibs=yes
1155
irix[[12345]]*|irix6.[[01]]*)
1156
# Catch all versions of IRIX before 6.2, and indicate that we don't
1157
# know how it worked for any of those versions.
1158
lt_cv_sys_dlopen_deplibs=unknown
1161
# The case above catches anything before 6.2, and it's known that
1162
# at 6.2 and later dlopen does load deplibs.
1163
lt_cv_sys_dlopen_deplibs=yes
1165
netbsd* | netbsdelf*-gnu)
1166
lt_cv_sys_dlopen_deplibs=yes
1169
lt_cv_sys_dlopen_deplibs=yes
1172
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1173
# it did *not* use an RPATH in a shared library to find objects the
1174
# library depends on, so we explicitly say `no'.
1175
lt_cv_sys_dlopen_deplibs=no
1177
osf5.0|osf5.0a|osf5.1)
1178
# dlopen *does* load deplibs and with the right loader patch applied
1179
# it even uses RPATH in a shared library to search for shared objects
1180
# that the library depends on, but there's no easy way to know if that
1181
# patch is installed. Since this is the case, all we can really
1182
# say is unknown -- it depends on the patch being installed. If
1183
# it is, this changes to `yes'. Without it, it would be `no'.
1184
lt_cv_sys_dlopen_deplibs=unknown
1187
# the two cases above should catch all versions of osf <= 5.1. Read
1188
# the comments above for what we know about them.
1189
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1190
# is used to find them so we can finally say `yes'.
1191
lt_cv_sys_dlopen_deplibs=yes
1194
lt_cv_sys_dlopen_deplibs=yes
1197
lt_cv_sys_dlopen_deplibs=yes
1199
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1200
libltdl_cv_sys_dlopen_deplibs=yes
1204
if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1205
AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1206
[Define if the OS needs help to load dependent libraries for dlopen().])
1209
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($@)])])
1210
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.
1211
You should run autoupdate.])dnl
1212
m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1213
m4trace:/usr/share/aclocal/ltdl.m4:549: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1214
AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1215
[libltdl_cv_shlibext],
1218
eval libltdl_cv_shlibext=$shrext_cmds
1220
eval libltdl_cv_shrext=$shrext_cmds
1222
if test -n "$libltdl_cv_shlibext"; then
1223
m4_pattern_allow([LT_MODULE_EXT])dnl
1224
AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1225
[Define to the extension used for runtime loadable modules, say, ".so".])
1227
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1228
m4_pattern_allow([LT_SHARED_EXT])dnl
1229
AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
1230
[Define to the shared library suffix, say, ".dylib".])
1233
m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1234
m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1235
You should run autoupdate.])dnl
1236
m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1237
m4trace:/usr/share/aclocal/ltdl.m4:579: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1238
AC_CACHE_CHECK([which variable specifies run-time module search path],
1239
[lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1240
if test -n "$lt_cv_module_path_var"; then
1241
m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1242
AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1243
[Define to the name of the environment variable that determines the run-time module search path.])
1246
m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1247
m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1248
You should run autoupdate.])dnl
1249
m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1250
m4trace:/usr/share/aclocal/ltdl.m4:598: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1251
AC_CACHE_CHECK([for the default library search path],
1252
[lt_cv_sys_dlsearch_path],
1253
[lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1254
if test -n "$lt_cv_sys_dlsearch_path"; then
1256
for dir in $lt_cv_sys_dlsearch_path; do
1257
if test -z "$sys_dlsearch_path"; then
1258
sys_dlsearch_path="$dir"
1260
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1263
m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1264
AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1265
[Define to the system default library search path.])
1268
m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1269
m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1270
You should run autoupdate.])dnl
1271
m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1272
m4trace:/usr/share/aclocal/ltdl.m4:645: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1274
AC_SUBST([LT_DLLOADERS])
1279
AC_SEARCH_LIBS([dlopen], [dl],
1280
[AC_DEFINE([HAVE_LIBDL], [1],
1281
[Define if you have the libdl library or equivalent.])
1282
if test "$ac_cv_search_dlopen" != "none required" ; then
1283
LIBADD_DLOPEN="-ldl"
1285
libltdl_cv_lib_dl_dlopen="yes"
1286
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1287
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1290
]], [[dlopen(0, 0);]])],
1291
[AC_DEFINE([HAVE_LIBDL], [1],
1292
[Define if you have the libdl library or equivalent.])
1293
libltdl_cv_func_dlopen="yes"
1294
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1295
[AC_CHECK_LIB([svld], [dlopen],
1296
[AC_DEFINE([HAVE_LIBDL], [1],
1297
[Define if you have the libdl library or equivalent.])
1298
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1299
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1300
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1302
lt_save_LIBS="$LIBS"
1303
LIBS="$LIBS $LIBADD_DLOPEN"
1304
AC_CHECK_FUNCS([dlerror])
1305
LIBS="$lt_save_LIBS"
1307
AC_SUBST([LIBADD_DLOPEN])
1310
AC_CHECK_FUNC([shl_load],
1311
[AC_DEFINE([HAVE_SHL_LOAD], [1],
1312
[Define if you have the shl_load function.])
1313
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1314
[AC_CHECK_LIB([dld], [shl_load],
1315
[AC_DEFINE([HAVE_SHL_LOAD], [1],
1316
[Define if you have the shl_load function.])
1317
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1318
LIBADD_SHL_LOAD="-ldld"])])
1319
AC_SUBST([LIBADD_SHL_LOAD])
1323
# We only want this for pre-Mac OS X 10.4.
1324
AC_CHECK_FUNC([_dyld_func_lookup],
1325
[AC_DEFINE([HAVE_DYLD], [1],
1326
[Define if you have the _dyld_func_lookup function.])
1327
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1330
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1332
cygwin* | mingw* | os2* | pw32*)
1333
AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1334
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1338
AC_CHECK_LIB([dld], [dld_link],
1339
[AC_DEFINE([HAVE_DLD], [1],
1340
[Define if you have the GNU dld library.])
1341
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1342
AC_SUBST([LIBADD_DLD_LINK])
1344
m4_pattern_allow([^LT_DLPREOPEN$])
1346
if test -n "$LT_DLLOADERS"
1348
for lt_loader in $LT_DLLOADERS; do
1349
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1351
AC_DEFINE([HAVE_LIBDLLOADER], [1],
1352
[Define if libdlloader will be built on this platform])
1354
AC_SUBST([LT_DLPREOPEN])
1356
dnl This isn't used anymore, but set it for backwards compatibility
1357
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1358
AC_SUBST([LIBADD_DL])
1362
m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1363
m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1364
You should run autoupdate.])dnl
1365
m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1366
m4trace:/usr/share/aclocal/ltdl.m4:746: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1367
AC_CACHE_CHECK([for _ prefix in compiled symbols],
1368
[lt_cv_sys_symbol_underscore],
1369
[lt_cv_sys_symbol_underscore=no
1370
cat > conftest.$ac_ext <<_LT_EOF
1371
void nm_test_func(){}
1372
int main(){nm_test_func;return 0;}
1374
if AC_TRY_EVAL(ac_compile); then
1375
# Now try to grab the symbols.
1376
ac_nlist=conftest.nm
1377
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1378
# See whether the symbols have a leading underscore.
1379
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1380
lt_cv_sys_symbol_underscore=yes
1382
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1385
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1389
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1392
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1393
cat conftest.c >&AS_MESSAGE_LOG_FD
1397
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1398
AC_SUBST([sys_symbol_underscore])
1400
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($@)])])
1401
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.
1402
You should run autoupdate.])dnl
1403
m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1404
m4trace:/usr/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1405
if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1406
if test x"$libltdl_cv_func_dlopen" = xyes ||
1407
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1408
AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1409
[libltdl_cv_need_uscore],
1410
[libltdl_cv_need_uscore=unknown
1412
LIBS="$LIBS $LIBADD_DLOPEN"
1413
_LT_TRY_DLOPEN_SELF(
1414
[libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1415
[], [libltdl_cv_need_uscore=cross])
1421
if test x"$libltdl_cv_need_uscore" = xyes; then
1422
AC_DEFINE([NEED_USCORE], [1],
1423
[Define if dlsym() requires a leading underscore in symbol names.])
1426
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($@)])])
1427
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.
1428
You should run autoupdate.])dnl
1429
m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1430
m4trace:/usr/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1431
m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1432
AC_DIAGNOSE([obsolete],
1433
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1434
put the `dlopen' option into LT_INIT's first parameter.])
1436
m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1437
You should run autoupdate.])dnl
1438
_LT_SET_OPTION([LT_INIT], [dlopen])
1439
AC_DIAGNOSE([obsolete],
1440
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1441
put the `dlopen' option into LT_INIT's first parameter.])
1443
m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1444
_LT_SET_OPTION([LT_INIT], [win32-dll])
1445
AC_DIAGNOSE([obsolete],
1446
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1447
put the `win32-dll' option into LT_INIT's first parameter.])
1449
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.
1450
You should run autoupdate.])dnl
1451
AC_REQUIRE([AC_CANONICAL_HOST])dnl
1452
_LT_SET_OPTION([LT_INIT], [win32-dll])
1453
AC_DIAGNOSE([obsolete],
1454
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1455
put the `win32-dll' option into LT_INIT's first parameter.])
1457
m4trace:/usr/share/aclocal/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1459
m4trace:/usr/share/aclocal/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1461
m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1462
m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1463
You should run autoupdate.])dnl
1464
AC_ENABLE_SHARED($@)])
1465
m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1466
m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1467
You should run autoupdate.])dnl
1468
AC_DISABLE_SHARED($@)])
1469
m4trace:/usr/share/aclocal/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1471
m4trace:/usr/share/aclocal/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1473
m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1474
m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1475
You should run autoupdate.])dnl
1476
AC_ENABLE_STATIC($@)])
1477
m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1478
m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1479
You should run autoupdate.])dnl
1480
AC_DISABLE_STATIC($@)])
1481
m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1482
AC_DIAGNOSE([obsolete],
1483
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1484
the `fast-install' option into LT_INIT's first parameter.])
1486
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.
1487
You should run autoupdate.])dnl
1488
_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1489
AC_DIAGNOSE([obsolete],
1490
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1491
the `fast-install' option into LT_INIT's first parameter.])
1493
m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1494
AC_DIAGNOSE([obsolete],
1495
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1496
the `disable-fast-install' option into LT_INIT's first parameter.])
1498
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.
1499
You should run autoupdate.])dnl
1500
_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1501
AC_DIAGNOSE([obsolete],
1502
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1503
the `disable-fast-install' option into LT_INIT's first parameter.])
1505
m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1506
AC_DIAGNOSE([obsolete],
1507
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1508
put the `pic-only' option into LT_INIT's first parameter.])
1510
m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1511
You should run autoupdate.])dnl
1512
_LT_SET_OPTION([LT_INIT], [pic-only])
1513
AC_DIAGNOSE([obsolete],
1514
[$0: Remove this warning and the call to _LT_SET_OPTION when you
1515
put the `pic-only' option into LT_INIT's first parameter.])
1517
m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1518
m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
1519
macro_revision='1.3337'
1520
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1521
_LT_DECL(, macro_revision, 0)
1523
m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1524
m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1525
m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1526
m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1527
m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1528
m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1529
m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1530
m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1531
m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1532
m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1533
m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1534
m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1535
m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1536
m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1537
m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1538
m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1539
m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1540
m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1541
m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1542
m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1543
m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1544
m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1545
m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1546
m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1547
m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1548
m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1549
m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1550
m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1551
m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1552
m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1553
m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1554
m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1555
m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1556
m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1557
m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1558
m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1559
m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1560
m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1561
m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1562
m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1563
m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1564
m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1565
m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1566
m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1567
m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1568
m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1569
m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1570
m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1571
m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
1572
m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
1573
m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
1574
m4trace:/usr/share/aclocal-1.11/amversion.m4:17: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1575
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1576
dnl require some minimum version. Point them to the right macro.
1577
m4_if([$1], [1.11.6], [],
1578
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1580
m4trace:/usr/share/aclocal-1.11/amversion.m4:36: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl
1581
m4_ifndef([AC_AUTOCONF_VERSION],
1582
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1583
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1584
m4trace:/usr/share/aclocal-1.11/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1585
AC_PREREQ([2.50])dnl
1586
# expand $ac_aux_dir to an absolute path
1587
am_aux_dir=`cd $ac_aux_dir && pwd`
1589
m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1590
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1591
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1592
AC_SUBST([$1_TRUE])dnl
1593
AC_SUBST([$1_FALSE])dnl
1594
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1595
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1596
m4_define([_AM_COND_VALUE_$1], [$2])dnl
1604
AC_CONFIG_COMMANDS_PRE(
1605
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1606
AC_MSG_ERROR([[conditional "$1" was never defined.
1607
Usually this means the macro was only invoked conditionally.]])
1609
m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1610
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1611
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1612
AC_REQUIRE([AM_DEP_TRACK])dnl
1614
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1615
[$1], CXX, [depcc="$CXX" am_compiler_list=],
1616
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1617
[$1], UPC, [depcc="$UPC" am_compiler_list=],
1618
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1619
[depcc="$$1" am_compiler_list=])
1621
AC_CACHE_CHECK([dependency style of $depcc],
1622
[am_cv_$1_dependencies_compiler_type],
1623
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1624
# We make a subdir and do the tests there. Otherwise we can end up
1625
# making bogus files that we don't know about and never remove. For
1626
# instance it was reported that on HP-UX the gcc test will end up
1627
# making a dummy file named `D' -- because `-MD' means `put the output
1631
# Copy depcomp to subdir because otherwise we won't find it if we're
1632
# using a relative directory.
1633
cp "$am_depcomp" conftest.dir
1635
# We will build objects and dependencies in a subdirectory because
1636
# it helps to detect inapplicable dependency modes. For instance
1637
# both Tru64's cc and ICC support -MD to output dependencies as a
1638
# side effect of compilation, but ICC will put the dependencies in
1639
# the current directory while Tru64 will put them in the object
1643
am_cv_$1_dependencies_compiler_type=none
1644
if test "$am_compiler_list" = ""; then
1645
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1649
[case " $depcc " in #(
1650
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1653
[case " $depcc " in #(
1654
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1657
for depmode in $am_compiler_list; do
1658
# Setup a source with many dependencies, because some compilers
1659
# like to wrap large dependency lists on column 80 (with \), and
1660
# we should not choose a depcomp mode which is confused by this.
1662
# We need to recreate these files for each test, as the compiler may
1663
# overwrite some of them when testing with obscure command lines.
1664
# This happens at least with the AIX C compiler.
1666
for i in 1 2 3 4 5 6; do
1667
echo '#include "conftst'$i'.h"' >> sub/conftest.c
1668
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1669
# Solaris 8's {/usr,}/bin/sh.
1670
touch sub/conftst$i.h
1672
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1674
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1675
# mode. It turns out that the SunPro C++ compiler does not properly
1676
# handle `-M -o', and we need to detect this. Also, some Intel
1677
# versions had trouble with output in subdirs
1678
am__obj=sub/conftest.${OBJEXT-o}
1679
am__minus_obj="-o $am__obj"
1682
# This depmode causes a compiler race in universal mode.
1683
test "$am__universal" = false || continue
1686
# after this tag, mechanisms are not by side-effect, so they'll
1687
# only be used when explicitly requested
1688
if test "x$enable_dependency_tracking" = xyes; then
1694
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1695
# This compiler won't grok `-c -o', but also, the minuso test has
1696
# not run yet. These depmodes are late enough in the game, and
1697
# so weak that their functioning should not be impacted.
1698
am__obj=conftest.${OBJEXT-o}
1703
if depmode=$depmode \
1704
source=sub/conftest.c object=$am__obj \
1705
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1706
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1707
>/dev/null 2>conftest.err &&
1708
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1709
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1710
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1711
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1712
# icc doesn't choke on unknown options, it will just issue warnings
1713
# or remarks (even with -Werror). So we grep stderr for any message
1714
# that says an option was ignored or not supported.
1715
# When given -MP, icc 7.0 and 7.1 complain thusly:
1716
# icc: Command line warning: ignoring option '-M'; no argument required
1717
# The diagnosis changed in icc 8.0:
1718
# icc: Command line remark: option '-MP' not supported
1719
if (grep 'ignoring option' conftest.err ||
1720
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1721
am_cv_$1_dependencies_compiler_type=$depmode
1730
am_cv_$1_dependencies_compiler_type=none
1733
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1734
AM_CONDITIONAL([am__fastdep$1], [
1735
test "x$enable_dependency_tracking" != xno \
1736
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1738
m4trace:/usr/share/aclocal-1.11/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1739
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1741
m4trace:/usr/share/aclocal-1.11/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1742
[ --disable-dependency-tracking speeds up one-time build
1743
--enable-dependency-tracking do not reject slow dependency extractors])
1744
if test "x$enable_dependency_tracking" != xno; then
1745
am_depcomp="$ac_aux_dir/depcomp"
1749
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1750
AC_SUBST([AMDEPBACKSLASH])dnl
1751
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1752
AC_SUBST([am__nodep])dnl
1753
_AM_SUBST_NOTMAKE([am__nodep])dnl
1755
m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1756
# Autoconf 2.62 quotes --file arguments for eval, but not when files
1757
# are listed without --file. Let's play safe and only enable the eval
1758
# if we detect the quoting.
1759
case $CONFIG_FILES in
1760
*\'*) eval set x "$CONFIG_FILES" ;;
1761
*) set x $CONFIG_FILES ;;
1766
# Strip MF so we end up with the name of the file.
1767
mf=`echo "$mf" | sed -e 's/:.*$//'`
1768
# Check whether this is an Automake generated Makefile or not.
1769
# We used to match only the files named `Makefile.in', but
1770
# some people rename them; so instead we look at the file content.
1771
# Grep'ing the first line is not enough: some people post-process
1772
# each Makefile.in and add a new line on top of each file to say so.
1773
# Grep'ing the whole file is not good either: AIX grep has a line
1774
# limit of 2048, but all sed's we know have understand at least 4000.
1775
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1776
dirpart=`AS_DIRNAME("$mf")`
1780
# Extract the definition of DEPDIR, am__include, and am__quote
1781
# from the Makefile without running `make'.
1782
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1783
test -z "$DEPDIR" && continue
1784
am__include=`sed -n 's/^am__include = //p' < "$mf"`
1785
test -z "am__include" && continue
1786
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1787
# When using ansi2knr, U may be empty or an underscore; expand it
1788
U=`sed -n 's/^U = //p' < "$mf"`
1789
# Find all dependency output files, they are included files with
1790
# $(DEPDIR) in their names. We invoke sed twice because it is the
1791
# simplest approach to changing $(DEPDIR) to its actual value in the
1793
for file in `sed -n "
1794
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1795
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1796
# Make sure the directory exists.
1797
test -f "$dirpart/$file" && continue
1798
fdir=`AS_DIRNAME(["$file"])`
1799
AS_MKDIR_P([$dirpart/$fdir])
1800
# echo "creating $dirpart/$file"
1801
echo '# dummy' > "$dirpart/$file"
1806
m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1807
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1808
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1810
m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1811
dnl Autoconf wants to disallow AM_ names. We explicitly allow
1812
dnl the ones we care about.
1813
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1814
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1815
AC_REQUIRE([AC_PROG_INSTALL])dnl
1816
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1817
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1818
# is not polluted with repeated "-I."
1819
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1820
# test to see if srcdir already configured
1821
if test -f $srcdir/config.status; then
1822
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1826
# test whether we have cygpath
1827
if test -z "$CYGPATH_W"; then
1828
if (cygpath --version) >/dev/null 2>/dev/null; then
1829
CYGPATH_W='cygpath -w'
1834
AC_SUBST([CYGPATH_W])
1836
# Define the identity of the package.
1837
dnl Distinguish between old-style and new-style calls.
1839
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1840
AC_SUBST([PACKAGE], [$1])dnl
1841
AC_SUBST([VERSION], [$2])],
1842
[_AM_SET_OPTIONS([$1])dnl
1843
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1844
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1845
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1846
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1847
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1849
_AM_IF_OPTION([no-define],,
1850
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1851
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1853
# Some tools Automake needs.
1854
AC_REQUIRE([AM_SANITY_CHECK])dnl
1855
AC_REQUIRE([AC_ARG_PROGRAM])dnl
1856
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1857
AM_MISSING_PROG(AUTOCONF, autoconf)
1858
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1859
AM_MISSING_PROG(AUTOHEADER, autoheader)
1860
AM_MISSING_PROG(MAKEINFO, makeinfo)
1861
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1862
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1863
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1864
# We need awk for the "check" target. The system "awk" is bad on
1866
AC_REQUIRE([AC_PROG_AWK])dnl
1867
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1868
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1869
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1870
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1871
[_AM_PROG_TAR([v7])])])
1872
_AM_IF_OPTION([no-dependencies],,
1873
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1874
[_AM_DEPENDENCIES(CC)],
1875
[define([AC_PROG_CC],
1876
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1877
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1878
[_AM_DEPENDENCIES(CXX)],
1879
[define([AC_PROG_CXX],
1880
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1881
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1882
[_AM_DEPENDENCIES(OBJC)],
1883
[define([AC_PROG_OBJC],
1884
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1886
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1887
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1888
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1889
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1890
AC_CONFIG_COMMANDS_PRE(dnl
1891
[m4_provide_if([_AM_COMPILER_EXEEXT],
1892
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1894
m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1897
for _am_header in $config_headers :; do
1899
$_am_arg | $_am_arg:* )
1902
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
1905
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1906
m4trace:/usr/share/aclocal-1.11/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1907
if test x"${install_sh}" != xset; then
1910
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1912
install_sh="\${SHELL} $am_aux_dir/install-sh"
1915
AC_SUBST(install_sh)])
1916
m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1917
mkdir .tst 2>/dev/null
1918
if test -d .tst; then
1923
rmdir .tst 2>/dev/null
1924
AC_SUBST([am__leading_dot])])
1925
m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1926
cat > confinc << 'END'
1928
@echo this is the am__doit target
1931
# If we don't find an include directive, just comment out the code.
1932
AC_MSG_CHECKING([for style of include used by $am_make])
1936
# First try GNU make style include.
1937
echo "include confinc" > confmf
1938
# Ignore all kinds of additional output from `make'.
1939
case `$am_make -s -f confmf 2> /dev/null` in #(
1940
*the\ am__doit\ target*)
1946
# Now try BSD make style include.
1947
if test "$am__include" = "#"; then
1948
echo '.include "confinc"' > confmf
1949
case `$am_make -s -f confmf 2> /dev/null` in #(
1950
*the\ am__doit\ target*)
1951
am__include=.include
1957
AC_SUBST([am__include])
1958
AC_SUBST([am__quote])
1959
AC_MSG_RESULT([$_am_result])
1960
rm -f confinc confmf
1962
m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1963
$1=${$1-"${am_missing_run}$2"}
1965
m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1966
AC_REQUIRE_AUX_FILE([missing])dnl
1967
if test x"${MISSING+set}" != xset; then
1970
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1972
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1975
# Use eval to expand $SHELL
1976
if eval "$MISSING --run true"; then
1977
am_missing_run="$MISSING --run "
1980
AC_MSG_WARN([`missing' script is too old or missing])
1983
m4trace:/usr/share/aclocal-1.11/mkdirp.m4:14: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1984
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1985
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1986
dnl while keeping a definition of mkdir_p for backward compatibility.
1987
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1988
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1989
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1990
dnl adjustment using top_builddir (which is defined more often than
1992
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1994
[[\\/$]]* | ?:[[\\/]]*) ;;
1995
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1998
m4trace:/usr/share/aclocal-1.11/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1999
m4trace:/usr/share/aclocal-1.11/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
2000
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)])])
2001
m4trace:/usr/share/aclocal-1.11/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2002
m4trace:/usr/share/aclocal-1.11/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2003
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2005
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2006
(exit $ac_status); }])
2007
m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
2010
echo timestamp > conftest.file
2011
# Reject unsafe characters in $srcdir or the absolute working directory
2012
# name. Accept space and tab only in the latter.
2016
*[[\\\"\#\$\&\'\`$am_lf]]*)
2017
AC_MSG_ERROR([unsafe absolute working directory name]);;
2020
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
2021
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
2024
# Do `set' in a subshell so we don't clobber the current shell's
2025
# arguments. Must try -L first in case configure is actually a
2026
# symlink; some systems play weird games with the mod time of symlinks
2027
# (eg FreeBSD returns the mod time of the symlink's containing
2030
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2031
if test "$[*]" = "X"; then
2033
set X `ls -t "$srcdir/configure" conftest.file`
2036
if test "$[*]" != "X $srcdir/configure conftest.file" \
2037
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
2039
# If neither matched, then we have a broken ls. This can happen
2040
# if, for instance, CONFIG_SHELL is bash and it inherits a
2041
# broken ls alias from the environment. This has actually
2042
# happened. Such a system could not be considered "sane".
2043
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2044
alias in your environment])
2047
test "$[2]" = conftest.file
2053
AC_MSG_ERROR([newly created file is older than distributed files!
2054
Check your system clock])
2056
AC_MSG_RESULT(yes)])
2057
m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
2058
[ --enable-silent-rules less verbose build output (undo: `make V=1')
2059
--disable-silent-rules verbose build output (undo: `make V=0')])
2060
case $enable_silent_rules in
2061
yes) AM_DEFAULT_VERBOSITY=0;;
2062
no) AM_DEFAULT_VERBOSITY=1;;
2063
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2066
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
2067
dnl do not support nested variable expansions.
2068
dnl See automake bug#9928 and bug#10237.
2069
am_make=${MAKE-make}
2070
AC_CACHE_CHECK([whether $am_make supports nested variables],
2071
[am_cv_make_support_nested_variables],
2072
[if AS_ECHO([['TRUE=$(BAR$(V))
2078
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2079
am_cv_make_support_nested_variables=yes
2081
am_cv_make_support_nested_variables=no
2083
if test $am_cv_make_support_nested_variables = yes; then
2084
dnl Using `$V' instead of `$(V)' breaks IRIX make.
2086
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2088
AM_V=$AM_DEFAULT_VERBOSITY
2089
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2092
AM_SUBST_NOTMAKE([AM_V])dnl
2093
AC_SUBST([AM_DEFAULT_V])dnl
2094
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2095
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2097
AC_SUBST([AM_BACKSLASH])dnl
2098
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2100
m4trace:/usr/share/aclocal-1.11/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2101
# Installed binaries are usually stripped using `strip' when the user
2102
# run `make install-strip'. However `strip' might not be the right
2103
# tool to use in cross-compilation environments, therefore Automake
2104
# will honor the `STRIP' environment variable to overrule this program.
2105
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2106
if test "$cross_compiling" != no; then
2107
AC_CHECK_TOOL([STRIP], [strip], :)
2109
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2110
AC_SUBST([INSTALL_STRIP_PROGRAM])])
2111
m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2112
m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2113
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
2114
# in the wild :-( We should find a proper way to deprecate it ...
2115
AC_SUBST([AMTAR], ['$${TAR-tar}'])
2117
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
2118
[m4_case([$1], [ustar],, [pax],,
2119
[m4_fatal([Unknown tar format])])
2120
AC_MSG_CHECKING([how to create a $1 tar archive])
2121
# Loop over all known methods to create a tar archive until one works.
2122
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2123
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
2124
# Do not fold the above two line into one, because Tru64 sh and
2125
# Solaris sh will not grok spaces in the rhs of `-'.
2126
for _am_tool in $_am_tools
2130
for _am_tar in tar gnutar gtar;
2132
AM_RUN_LOG([$_am_tar --version]) && break
2134
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2135
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2136
am__untar="$_am_tar -xf -"
2139
# Must skip GNU tar: if it does not support --format= it doesn't create
2140
# ustar tarball either.
2141
(tar --version) >/dev/null 2>&1 && continue
2142
am__tar='tar chf - "$$tardir"'
2143
am__tar_='tar chf - "$tardir"'
2144
am__untar='tar xf -'
2147
am__tar='pax -L -x $1 -w "$$tardir"'
2148
am__tar_='pax -L -x $1 -w "$tardir"'
2152
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2153
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2154
am__untar='cpio -i -H $1 -d'
2163
# If the value was cached, stop now. We just wanted to have am__tar
2164
# and am__untar set.
2165
test -n "${am_cv_prog_tar_$1}" && break
2167
# tar/untar a dummy directory, and stop if the command works
2170
echo GrepMe > conftest.dir/file
2171
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2173
if test -s conftest.tar; then
2174
AM_RUN_LOG([$am__untar <conftest.tar])
2175
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2180
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2181
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2183
AC_SUBST([am__untar])
2185
m4trace:m4/ax_c___attribute__.m4:48: -1- AC_DEFUN([AX_C___ATTRIBUTE__], [
2186
AC_CACHE_CHECK([for __attribute__], [ax_cv___attribute__],
2189
[[#include <stdlib.h>
2190
static void foo(void) __attribute__ ((unused));
2196
[ax_cv___attribute__=yes],
2197
[ax_cv___attribute__=no]
2200
if test "$ax_cv___attribute__" = "yes"; then
2201
AC_DEFINE([HAVE___ATTRIBUTE__], 1, [define if your compiler has __attribute__])
2204
m4trace:m4/ax_cc_maxopt.m4:58: -1- AC_DEFUN([AX_CC_MAXOPT], [
2205
AC_REQUIRE([AC_PROG_CC])
2206
AC_REQUIRE([AX_COMPILER_VENDOR])
2207
AC_REQUIRE([AC_CANONICAL_HOST])
2209
AC_ARG_ENABLE(portable-binary, [AC_HELP_STRING([--enable-portable-binary], [disable compiler optimizations that would produce unportable binaries])],
2210
acx_maxopt_portable=$withval, acx_maxopt_portable=no)
2212
# Try to determine "good" native compiler flags if none specified via CFLAGS
2213
if test "$ac_test_CFLAGS" != "set"; then
2215
case $ax_cv_c_compiler_vendor in
2216
dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
2217
if test "x$acx_maxopt_portable" = xno; then
2218
CFLAGS="$CFLAGS -arch host"
2221
sun) CFLAGS="-native -fast -xO5 -dalign"
2222
if test "x$acx_maxopt_portable" = xyes; then
2223
CFLAGS="$CFLAGS -xarch=generic"
2226
hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
2227
if test "x$acx_maxopt_portable" = xyes; then
2228
CFLAGS="$CFLAGS +DAportable"
2231
ibm) if test "x$acx_maxopt_portable" = xno; then
2232
xlc_opt="-qarch=auto -qtune=auto"
2234
xlc_opt="-qtune=auto"
2236
AX_CHECK_COMPILER_FLAGS($xlc_opt,
2237
CFLAGS="-O3 -qansialias -w $xlc_opt",
2238
[CFLAGS="-O3 -qansialias -w"
2239
echo "******************************************************"
2240
echo "* You seem to have the IBM C compiler. It is *"
2241
echo "* recommended for best performance that you use: *"
2243
echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
2245
echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
2246
echo "* CPU you have. (Set the CFLAGS environment var. *"
2247
echo "* and re-run configure.) For more info, man cc. *"
2248
echo "******************************************************"])
2251
intel) CFLAGS="-O3 -ansi_alias"
2252
if test "x$acx_maxopt_portable" = xno; then
2253
icc_archflag=unknown
2257
# icc accepts gcc assembly syntax, so these should work:
2260
case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
2261
*:756e6547:*:*) # Intel
2262
case $ax_cv_gcc_x86_cpuid_1 in
2263
*6a?:*[[234]]:*:*|*6[[789b]]?:*:*:*) icc_flags="-xK";;
2264
*f3[[347]]:*:*:*|*f4[1347]:*:*:*) icc_flags="-xP -xN -xW -xK";;
2265
*f??:*:*:*) icc_flags="-xN -xW -xK";;
2269
if test "x$icc_flags" != x; then
2270
for flag in $icc_flags; do
2271
AX_CHECK_COMPILER_FLAGS($flag, [icc_archflag=$flag; break])
2274
AC_MSG_CHECKING([for icc architecture flag])
2275
AC_MSG_RESULT($icc_archflag)
2276
if test "x$icc_archflag" != xunknown; then
2277
CFLAGS="$CFLAGS $icc_archflag"
2283
# default optimization flags for gcc on all systems
2284
CFLAGS="-O3 -fomit-frame-pointer"
2286
# -malign-double for x86 systems
2287
AX_CHECK_COMPILER_FLAGS(-malign-double, CFLAGS="$CFLAGS -malign-double")
2289
# -fstrict-aliasing for gcc-2.95+
2290
AX_CHECK_COMPILER_FLAGS(-fstrict-aliasing,
2291
CFLAGS="$CFLAGS -fstrict-aliasing")
2293
# note that we enable "unsafe" fp optimization with other compilers, too
2294
AX_CHECK_COMPILER_FLAGS(-ffast-math, CFLAGS="$CFLAGS -ffast-math")
2296
AX_GCC_ARCHFLAG($acx_maxopt_portable)
2298
# drop to -O1 for gcc 4.2
2300
sed -e 's/.* \(@<:@0-9@:>@@<:@0-9@:>@*\)\.\(@<:@0-9@:>@@<:@0-9@:>@*\).*/\1 \2/' |
2302
if test $major -eq 4 -a $minor -eq 2; then
2310
if test -z "$CFLAGS"; then
2312
echo "********************************************************"
2313
echo "* WARNING: Don't know the best CFLAGS for this system *"
2314
echo "* Use ./configure CFLAGS=... to specify your own flags *"
2315
echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
2316
echo "********************************************************"
2321
AX_CHECK_COMPILER_FLAGS($CFLAGS, [], [
2323
echo "********************************************************"
2324
echo "* WARNING: The guessed CFLAGS don't seem to work with *"
2325
echo "* your compiler. *"
2326
echo "* Use ./configure CFLAGS=... to specify your own flags *"
2327
echo "********************************************************"
2334
m4trace:m4/ax_check_compiler_flags.m4:49: -1- AC_DEFUN([AX_CHECK_COMPILER_FLAGS], [AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX
2335
AC_MSG_CHECKING([whether _AC_LANG compiler accepts $1])
2336
dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname:
2338
[AC_CACHE_VAL(AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1]), [
2339
ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
2340
_AC_LANG_PREFIX[]FLAGS="$1"
2341
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
2342
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
2343
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
2344
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])],
2345
[ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
2346
_AC_LANG_PREFIX[]FLAGS="$1"
2347
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
2348
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
2349
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
2350
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])
2351
eval ax_check_compiler_flags=$AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])
2352
AC_MSG_RESULT($ax_check_compiler_flags)
2353
if test "x$ax_check_compiler_flags" = xyes; then
2359
m4trace:m4/ax_compiler_vendor.m4:49: -1- AC_DEFUN([AX_COMPILER_VENDOR], [
2360
AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
2361
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=unknown
2362
# note: don't check for gcc first since some other compilers define __GNUC__
2363
for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ clang:__clang__ 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
2364
vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
2365
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
2369
])], [ax_cv_]_AC_LANG_ABBREV[_compiler_vendor=`echo $ventest | cut -d: -f1`; break])
2373
m4trace:m4/ax_create_pkgconfig_info.m4:61: -1- AC_DEFUN([AX_CREATE_PKGCONFIG_INFO], [dnl
2374
AS_VAR_PUSHDEF([PKGCONFIG_suffix],[ax_create_pkgconfig_suffix])dnl
2375
AS_VAR_PUSHDEF([PKGCONFIG_libdir],[ax_create_pkgconfig_libdir])dnl
2376
AS_VAR_PUSHDEF([PKGCONFIG_libfile],[ax_create_pkgconfig_libfile])dnl
2377
AS_VAR_PUSHDEF([PKGCONFIG_libname],[ax_create_pkgconfig_libname])dnl
2378
AS_VAR_PUSHDEF([PKGCONFIG_version],[ax_create_pkgconfig_version])dnl
2379
AS_VAR_PUSHDEF([PKGCONFIG_description],[ax_create_pkgconfig_description])dnl
2380
AS_VAR_PUSHDEF([PKGCONFIG_requires],[ax_create_pkgconfig_requires])dnl
2381
AS_VAR_PUSHDEF([PKGCONFIG_pkglibs],[ax_create_pkgconfig_pkglibs])dnl
2382
AS_VAR_PUSHDEF([PKGCONFIG_libs],[ax_create_pkgconfig_libs])dnl
2383
AS_VAR_PUSHDEF([PKGCONFIG_ldflags],[ax_create_pkgconfig_ldflags])dnl
2384
AS_VAR_PUSHDEF([PKGCONFIG_cppflags],[ax_create_pkgconfig_cppflags])dnl
2385
AS_VAR_PUSHDEF([PKGCONFIG_generate],[ax_create_pkgconfig_generate])dnl
2386
AS_VAR_PUSHDEF([PKGCONFIG_src_libdir],[ax_create_pkgconfig_src_libdir])dnl
2387
AS_VAR_PUSHDEF([PKGCONFIG_src_headers],[ax_create_pkgconfig_src_headers])dnl
2389
# we need the expanded forms...
2390
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2391
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2393
AC_MSG_CHECKING(our pkgconfig libname)
2394
test ".$PKGCONFIG_libname" != "." || \
2395
PKGCONFIG_libname="ifelse($1,,${PACKAGE_NAME},`basename $1 .pc`)"
2396
test ".$PKGCONFIG_libname" != "." || \
2397
PKGCONFIG_libname="$PACKAGE"
2398
PKGCONFIG_libname=`eval echo "$PKGCONFIG_libname"`
2399
PKGCONFIG_libname=`eval echo "$PKGCONFIG_libname"`
2400
AC_MSG_RESULT($PKGCONFIG_libname)
2402
AC_MSG_CHECKING(our pkgconfig version)
2403
test ".$PKGCONFIG_version" != "." || \
2404
PKGCONFIG_version="${PACKAGE_VERSION}"
2405
test ".$PKGCONFIG_version" != "." || \
2406
PKGCONFIG_version="$VERSION"
2407
PKGCONFIG_version=`eval echo "$PKGCONFIG_version"`
2408
PKGCONFIG_version=`eval echo "$PKGCONFIG_version"`
2409
AC_MSG_RESULT($PKGCONFIG_version)
2411
AC_MSG_CHECKING(our pkgconfig_libdir)
2412
test ".$pkgconfig_libdir" = "." && \
2413
pkgconfig_libdir='${libdir}/pkgconfig'
2414
PKGCONFIG_libdir=`eval echo "$pkgconfig_libdir"`
2415
PKGCONFIG_libdir=`eval echo "$PKGCONFIG_libdir"`
2416
PKGCONFIG_libdir=`eval echo "$PKGCONFIG_libdir"`
2417
AC_MSG_RESULT($pkgconfig_libdir)
2418
test "$pkgconfig_libdir" != "$PKGCONFIG_libdir" && (
2419
AC_MSG_RESULT(expanded our pkgconfig_libdir... $PKGCONFIG_libdir))
2420
AC_SUBST([pkgconfig_libdir])
2422
AC_MSG_CHECKING(our pkgconfig_libfile)
2423
test ".$pkgconfig_libfile" != "." || \
2424
pkgconfig_libfile="ifelse($1,,$PKGCONFIG_libname.pc,`basename $1`)"
2425
PKGCONFIG_libfile=`eval echo "$pkgconfig_libfile"`
2426
PKGCONFIG_libfile=`eval echo "$PKGCONFIG_libfile"`
2427
AC_MSG_RESULT($pkgconfig_libfile)
2428
test "$pkgconfig_libfile" != "$PKGCONFIG_libfile" && (
2429
AC_MSG_RESULT(expanded our pkgconfig_libfile... $PKGCONFIG_libfile))
2430
AC_SUBST([pkgconfig_libfile])
2432
AC_MSG_CHECKING(our package / suffix)
2433
PKGCONFIG_suffix="$program_suffix"
2434
test ".$PKGCONFIG_suffix" != .NONE || PKGCONFIG_suffix=""
2435
AC_MSG_RESULT(${PACKAGE_NAME} / ${PKGCONFIG_suffix})
2437
AC_MSG_CHECKING(our pkgconfig description)
2438
PKGCONFIG_description="ifelse($4,,$PACKAGE_SUMMARY,$4)"
2439
test ".$PKGCONFIG_description" != "." || \
2440
PKGCONFIG_description="$PKGCONFIG_libname Library"
2441
PKGCONFIG_description=`eval echo "$PKGCONFIG_description"`
2442
PKGCONFIG_description=`eval echo "$PKGCONFIG_description"`
2443
AC_MSG_RESULT($PKGCONFIG_description)
2445
AC_MSG_CHECKING(our pkgconfig requires)
2446
PKGCONFIG_requires="ifelse($2,,$PACKAGE_REQUIRES,$2)"
2447
PKGCONFIG_requires=`eval echo "$PKGCONFIG_requires"`
2448
PKGCONFIG_requires=`eval echo "$PKGCONFIG_requires"`
2449
AC_MSG_RESULT($PKGCONFIG_requires)
2451
AC_MSG_CHECKING(our pkgconfig ext libs)
2452
PKGCONFIG_pkglibs="$PACKAGE_LIBS"
2453
test ".$PKGCONFIG_pkglibs" != "." || PKGCONFIG_pkglibs="-l$PKGCONFIG_libname"
2454
PKGCONFIG_libs="ifelse($3,,$PKGCONFIG_pkglibs $LIBS,$3)"
2455
PKGCONFIG_libs=`eval echo "$PKGCONFIG_libs"`
2456
PKGCONFIG_libs=`eval echo "$PKGCONFIG_libs"`
2457
AC_MSG_RESULT($PKGCONFIG_libs)
2459
AC_MSG_CHECKING(our pkgconfig cppflags)
2460
PKGCONFIG_cppflags="ifelse($5,,$CPPFLAGS $PACKAGE_CFLAGS,$5)"
2461
PKGCONFIG_cppflags=`eval echo "$PKGCONFIG_cppflags"`
2462
PKGCONFIG_cppflags=`eval echo "$PKGCONFIG_cppflags"`
2463
AC_MSG_RESULT($PKGCONFIG_cppflags)
2465
AC_MSG_CHECKING(our pkgconfig ldflags)
2466
PKGCONFIG_ldflags="ifelse($6,,$LDFLAGS $PACKAGE_LDFLAGS,$5)"
2467
PKGCONFIG_ldflags=`eval echo "$PKGCONFIG_ldflags"`
2468
PKGCONFIG_ldflags=`eval echo "$PKGCONFIG_ldflags"`
2469
AC_MSG_RESULT($PKGCONFIG_ldflags)
2471
test ".$PKGCONFIG_generate" != "." || \
2472
PKGCONFIG_generate="ifelse($1,,$PKGCONFIG_libname.pc,$1)"
2473
PKGCONFIG_generate=`eval echo "$PKGCONFIG_generate"`
2474
PKGCONFIG_generate=`eval echo "$PKGCONFIG_generate"`
2475
test "$pkgconfig_libfile" != "$PKGCONFIG_generate" && (
2476
AC_MSG_RESULT(generate the pkgconfig later... $PKGCONFIG_generate))
2478
if test ".$PKGCONFIG_src_libdir" = "." ; then
2479
PKGCONFIG_src_libdir=`pwd`
2480
PKGCONFIG_src_libdir=`AS_DIRNAME("$PKGCONFIG_src_libdir/$PKGCONFIG_generate")`
2481
test ! -d $PKGCONFIG_src_libdir/src || \
2482
PKGCONFIG_src_libdir="$PKGCONFIG_src_libdir/src"
2484
*libs) PKGCONFIG_src_libdir="$PKGCONFIG_src_libdir/$objdir" ;; esac
2485
AC_MSG_RESULT(noninstalled pkgconfig -L $PKGCONFIG_src_libdir)
2488
if test ".$PKGCONFIG_src_headers" = "." ; then
2489
PKGCONFIG_src_headers=`pwd`
2490
v="$ac_top_srcdir" ;
2491
test ".$v" != "." || v="$ax_spec_dir"
2492
test ".$v" != "." || v="$srcdir"
2493
case "$v" in /*) PKGCONFIG_src_headers="" ;; esac
2494
PKGCONFIG_src_headers=`AS_DIRNAME("$PKGCONFIG_src_headers/$v/x")`
2495
test ! -d $PKGCONFIG_src_headers/incl[]ude || \
2496
PKGCONFIG_src_headers="$PKGCONFIG_src_headers/incl[]ude"
2497
AC_MSG_RESULT(noninstalled pkgconfig -I $PKGCONFIG_src_headers)
2501
dnl AC_CONFIG_COMMANDS crap disallows to use $PKGCONFIG_libfile here...
2502
AC_CONFIG_COMMANDS([$ax_create_pkgconfig_generate],[
2503
pkgconfig_generate="$ax_create_pkgconfig_generate"
2504
if test ! -f "$pkgconfig_generate.in"
2505
then generate="true"
2506
elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
2507
then generate="true"
2508
else generate="false";
2511
AC_MSG_NOTICE(creating $pkgconfig_generate.in)
2512
cat > $pkgconfig_generate.in <<AXEOF
2513
# generated by configure / remove this line to disable regeneration
2515
exec_prefix=@exec_prefix@
2518
datarootdir=@datarootdir@
2520
sysconfdir=@sysconfdir@
2521
includedir=@includedir@
2525
Name: @PACKAGE_NAME@
2526
Description: @PACKAGE_DESCRIPTION@
2527
Version: @PACKAGE_VERSION@
2528
Requires: @PACKAGE_REQUIRES@
2529
Libs: -L\${libdir} @LDFLAGS@ @LIBS@
2530
Cflags: -I\${includedir} @CPPFLAGS@
2532
fi # DONE generate $pkgconfig_generate.in
2533
AC_MSG_NOTICE(creating $pkgconfig_generate)
2534
cat >conftest.sed <<AXEOF
2535
s|@prefix@|${pkgconfig_prefix}|
2536
s|@exec_prefix@|${pkgconfig_execprefix}|
2537
s|@bindir@|${pkgconfig_bindir}|
2538
s|@libdir@|${pkgconfig_libdir}|
2539
s|@datarootdir@|${pkgconfig_datarootdir}|
2540
s|@datadir@|${pkgconfig_datadir}|
2541
s|@sysconfdir@|${pkgconfig_sysconfdir}|
2542
s|@includedir@|${pkgconfig_includedir}|
2543
s|@suffix@|${pkgconfig_suffix}|
2544
s|@PACKAGE@|${pkgconfig_package}|
2545
s|@PACKAGE_NAME@|${pkgconfig_libname}|
2546
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
2547
s|@PACKAGE_VERSION@|${pkgconfig_version}|
2548
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
2549
s|@LIBS@|${pkgconfig_libs}|
2550
s|@LDFLAGS@|${pkgconfig_ldflags}|
2551
s|@CPPFLAGS@|${pkgconfig_cppflags}|
2553
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
2554
if test ! -s $pkgconfig_generate ; then
2555
AC_MSG_ERROR([$pkgconfig_generate is empty])
2556
fi ; rm conftest.sed # DONE generate $pkgconfig_generate
2557
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
2558
AC_MSG_NOTICE(creating $pkgconfig_uninstalled)
2559
cat >conftest.sed <<AXEOF
2560
s|@prefix@|${pkgconfig_prefix}|
2561
s|@exec_prefix@|${pkgconfig_execprefix}|
2562
s|@bindir@|${pkgconfig_bindir}|
2563
s|@libdir@|${pkgconfig_src_libdir}|
2564
s|@datarootdir@|${pkgconfig_datarootdir}|
2565
s|@datadir@|${pkgconfig_datadir}|
2566
s|@sysconfdir@|${pkgconfig_sysconfdir}|
2567
s|@includedir@|${pkgconfig_src_headers}|
2568
s|@suffix@|${pkgconfig_suffix}|
2569
s|@PACKAGE@|${pkgconfig_package}|
2570
s|@PACKAGE_NAME@|${pkgconfig_libname}|
2571
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
2572
s|@PACKAGE_VERSION@|${pkgconfig_version}|
2573
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
2574
s|@LIBS@|${pkgconfig_libs}|
2575
s|@LDFLAGS@|${pkgconfig_ldflags}|
2576
s|@CPPFLAGS@|${pkgconfig_cppflags}|
2578
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
2579
if test ! -s $pkgconfig_uninstalled ; then
2580
AC_MSG_ERROR([$pkgconfig_uninstalled is empty])
2581
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
2582
pkgconfig_requires_add=`echo ${pkgconfig_requires}`
2583
if test ".$pkgconfig_requires_add" != "." ; then
2584
pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
2585
else pkgconfig_requires_add=":" ; fi
2586
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
2587
AC_MSG_NOTICE(creating $pkgconfig_uninstalled)
2588
cat >conftest.sed <<AXEOF
2589
s|@prefix@|\"${pkgconfig_prefix}\"|
2590
s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
2591
s|@bindir@|\"${pkgconfig_bindir}\"|
2592
s|@libdir@|\"${pkgconfig_src_libdir}\"|
2593
s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
2594
s|@datadir@|\"${pkgconfig_datadir}\"|
2595
s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
2596
s|@includedir@|\"${pkgconfig_src_headers}\"|
2597
s|@suffix@|\"${pkgconfig_suffix}\"|
2598
s|@PACKAGE@|\"${pkgconfig_package}\"|
2599
s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
2600
s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
2601
s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
2602
s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
2603
s|@LIBS@|\"${pkgconfig_libs}\"|
2604
s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
2605
s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
2606
s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
2607
s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
2608
s>Version: *>\\;\\; --modversion|--version) echo >
2609
s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
2610
s>Libs: *>\\;\\; --libs) echo >
2611
s>Cflags: *>\\;\\; --cflags) echo >
2613
$pkgconfig_requires_add
2615
$pkgconfig_requires_add\\
2616
;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
2617
;; --uninstalled) exit 0 \\
2620
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
2621
if test ! -s $pkgconfig_uninstalled ; then
2622
AC_MSG_ERROR([$pkgconfig_uninstalled is empty])
2623
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
2625
dnl AC_CONFIG_COMMANDS crap, the AS_PUSHVAR defines are invalid here...
2626
ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
2627
pkgconfig_prefix='$prefix'
2628
pkgconfig_execprefix='$exec_prefix'
2629
pkgconfig_bindir='$bindir'
2630
pkgconfig_libdir='$libdir'
2631
pkgconfig_includedir='$includedir'
2632
pkgconfig_datarootdir='$datarootdir'
2633
pkgconfig_datadir='$datadir'
2634
pkgconfig_sysconfdir='$sysconfdir'
2635
pkgconfig_suffix='$ax_create_pkgconfig_suffix'
2636
pkgconfig_package='$PACKAGE_NAME'
2637
pkgconfig_libname='$ax_create_pkgconfig_libname'
2638
pkgconfig_description='$ax_create_pkgconfig_description'
2639
pkgconfig_version='$ax_create_pkgconfig_version'
2640
pkgconfig_requires='$ax_create_pkgconfig_requires'
2641
pkgconfig_libs='$ax_create_pkgconfig_libs'
2642
pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
2643
pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
2644
pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
2645
pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
2647
AS_VAR_POPDEF([PKGCONFIG_suffix])dnl
2648
AS_VAR_POPDEF([PKGCONFIG_libdir])dnl
2649
AS_VAR_POPDEF([PKGCONFIG_libfile])dnl
2650
AS_VAR_POPDEF([PKGCONFIG_libname])dnl
2651
AS_VAR_POPDEF([PKGCONFIG_version])dnl
2652
AS_VAR_POPDEF([PKGCONFIG_description])dnl
2653
AS_VAR_POPDEF([PKGCONFIG_requires])dnl
2654
AS_VAR_POPDEF([PKGCONFIG_pkglibs])dnl
2655
AS_VAR_POPDEF([PKGCONFIG_libs])dnl
2656
AS_VAR_POPDEF([PKGCONFIG_ldflags])dnl
2657
AS_VAR_POPDEF([PKGCONFIG_cppflags])dnl
2658
AS_VAR_POPDEF([PKGCONFIG_generate])dnl
2659
AS_VAR_POPDEF([PKGCONFIG_src_libdir])dnl
2660
AS_VAR_POPDEF([PKGCONFIG_src_headers])dnl
2662
m4trace:m4/ax_create_stdint_h.m4:81: -1- AC_DEFUN([AX_CHECK_DATA_MODEL], [
2663
AC_CHECK_SIZEOF(char)
2664
AC_CHECK_SIZEOF(short)
2665
AC_CHECK_SIZEOF(int)
2666
AC_CHECK_SIZEOF(long)
2667
AC_CHECK_SIZEOF(void*)
2668
ac_cv_char_data_model=""
2669
ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
2670
ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
2671
ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
2672
ac_cv_long_data_model=""
2673
ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
2674
ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
2675
ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
2676
AC_MSG_CHECKING([data model])
2677
case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
2678
122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
2679
122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
2680
122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
2681
124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
2682
124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
2683
124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
2684
124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
2685
128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
2686
128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
2687
222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
2688
333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
2689
444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
2690
666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
2691
888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
2692
222/*|333/*|444/*|666/*|888/*) :
2693
ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
2694
*) ac_cv_data_model="none" ; n="very unusual model" ;;
2696
AC_MSG_RESULT([$ac_cv_data_model ($ac_cv_long_data_model, $n)])
2698
m4trace:m4/ax_create_stdint_h.m4:119: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_X], [
2699
AC_CACHE_CHECK([for stdint uintptr_t], [ac_cv_header_stdint_x],[
2700
ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
2701
AC_MSG_RESULT([(..)])
2702
for i in m4_ifval([$1],[$1],[stdint.h inttypes.h sys/inttypes.h sys/types.h])
2704
unset ac_cv_type_uintptr_t
2705
unset ac_cv_type_uint64_t
2706
AC_CHECK_TYPE(uintptr_t,[ac_cv_header_stdint_x=$i],continue,[#include <$i>])
2707
AC_CHECK_TYPE(uint64_t,[and64="/uint64_t"],[and64=""],[#include<$i>])
2708
m4_ifvaln([$2],[$2]) break
2710
AC_MSG_CHECKING([for stdint uintptr_t])
2713
m4trace:m4/ax_create_stdint_h.m4:135: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_O], [
2714
AC_CACHE_CHECK([for stdint uint32_t], [ac_cv_header_stdint_o],[
2715
ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
2716
AC_MSG_RESULT([(..)])
2717
for i in m4_ifval([$1],[$1],[inttypes.h sys/inttypes.h sys/types.h stdint.h])
2719
unset ac_cv_type_uint32_t
2720
unset ac_cv_type_uint64_t
2721
AC_CHECK_TYPE(uint32_t,[ac_cv_header_stdint_o=$i],continue,[#include <$i>])
2722
AC_CHECK_TYPE(uint64_t,[and64="/uint64_t"],[and64=""],[#include<$i>])
2723
m4_ifvaln([$2],[$2]) break
2726
AC_MSG_CHECKING([for stdint uint32_t])
2729
m4trace:m4/ax_create_stdint_h.m4:152: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_U], [
2730
AC_CACHE_CHECK([for stdint u_int32_t], [ac_cv_header_stdint_u],[
2731
ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
2732
AC_MSG_RESULT([(..)])
2733
for i in m4_ifval([$1],[$1],[sys/types.h inttypes.h sys/inttypes.h]) ; do
2734
unset ac_cv_type_u_int32_t
2735
unset ac_cv_type_u_int64_t
2736
AC_CHECK_TYPE(u_int32_t,[ac_cv_header_stdint_u=$i],continue,[#include <$i>])
2737
AC_CHECK_TYPE(u_int64_t,[and64="/u_int64_t"],[and64=""],[#include<$i>])
2738
m4_ifvaln([$2],[$2]) break
2741
AC_MSG_CHECKING([for stdint u_int32_t])
2744
m4trace:m4/ax_create_stdint_h.m4:168: -1- AC_DEFUN([AX_CREATE_STDINT_H], [# ------ AX CREATE STDINT H -------------------------------------
2745
AC_MSG_CHECKING([for stdint types])
2746
ac_stdint_h=`echo ifelse($1, , _stdint.h, $1)`
2747
# try to shortcircuit - if the default include path of the compiler
2748
# can find a "stdint.h" header then we assume that all compilers can.
2749
AC_CACHE_VAL([ac_cv_header_stdint_t],[
2750
old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
2751
old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
2752
old_CFLAGS="$CFLAGS" ; CFLAGS=""
2753
AC_TRY_COMPILE([#include <stdint.h>],[int_least32_t v = 0;],
2754
[ac_cv_stdint_result="(assuming C99 compatible system)"
2755
ac_cv_header_stdint_t="stdint.h"; ],
2756
[ac_cv_header_stdint_t=""])
2757
if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
2759
AC_TRY_COMPILE([#include <stdint.h>],[int_least32_t v = 0;],
2760
[AC_MSG_WARN(your GCC compiler has a defunct stdint.h for its default-mode)])
2762
CXXFLAGS="$old_CXXFLAGS"
2763
CPPFLAGS="$old_CPPFLAGS"
2764
CFLAGS="$old_CFLAGS" ])
2766
v="... $ac_cv_header_stdint_h"
2767
if test "$ac_stdint_h" = "stdint.h" ; then
2768
AC_MSG_RESULT([(are you sure you want them in ./stdint.h?)])
2769
elif test "$ac_stdint_h" = "inttypes.h" ; then
2770
AC_MSG_RESULT([(are you sure you want them in ./inttypes.h?)])
2771
elif test "_$ac_cv_header_stdint_t" = "_" ; then
2772
AC_MSG_RESULT([(putting them into $ac_stdint_h)$v])
2774
ac_cv_header_stdint="$ac_cv_header_stdint_t"
2775
AC_MSG_RESULT([$ac_cv_header_stdint (shortcircuit)])
2778
if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
2780
dnl .....intro message done, now do a few system checks.....
2781
dnl btw, all old CHECK_TYPE macros do automatically "DEFINE" a type,
2782
dnl therefore we use the autoconf implementation detail CHECK_TYPE_NEW
2783
dnl instead that is triggered with 3 or more arguments (see types.m4)
2785
inttype_headers=`echo $2 | sed -e 's/,/ /g'`
2787
ac_cv_stdint_result="(no helpful system typedefs seen)"
2788
AX_CHECK_HEADER_STDINT_X(dnl
2789
stdint.h inttypes.h sys/inttypes.h $inttype_headers,
2790
ac_cv_stdint_result="(seen uintptr_t$and64 in $i)")
2792
if test "_$ac_cv_header_stdint_x" = "_" ; then
2793
AX_CHECK_HEADER_STDINT_O(dnl,
2794
inttypes.h sys/inttypes.h stdint.h $inttype_headers,
2795
ac_cv_stdint_result="(seen uint32_t$and64 in $i)")
2798
if test "_$ac_cv_header_stdint_x" = "_" ; then
2799
if test "_$ac_cv_header_stdint_o" = "_" ; then
2800
AX_CHECK_HEADER_STDINT_U(dnl,
2801
sys/types.h inttypes.h sys/inttypes.h $inttype_headers,
2802
ac_cv_stdint_result="(seen u_int32_t$and64 in $i)")
2805
dnl if there was no good C99 header file, do some typedef checks...
2806
if test "_$ac_cv_header_stdint_x" = "_" ; then
2807
AC_MSG_CHECKING([for stdint datatype model])
2808
AC_MSG_RESULT([(..)])
2812
if test "_$ac_cv_header_stdint_x" != "_" ; then
2813
ac_cv_header_stdint="$ac_cv_header_stdint_x"
2814
elif test "_$ac_cv_header_stdint_o" != "_" ; then
2815
ac_cv_header_stdint="$ac_cv_header_stdint_o"
2816
elif test "_$ac_cv_header_stdint_u" != "_" ; then
2817
ac_cv_header_stdint="$ac_cv_header_stdint_u"
2819
ac_cv_header_stdint="stddef.h"
2822
AC_MSG_CHECKING([for extra inttypes in chosen header])
2823
AC_MSG_RESULT([($ac_cv_header_stdint)])
2824
dnl see if int_least and int_fast types are present in _this_ header.
2825
unset ac_cv_type_int_least32_t
2826
unset ac_cv_type_int_fast32_t
2827
AC_CHECK_TYPE(int_least32_t,,,[#include <$ac_cv_header_stdint>])
2828
AC_CHECK_TYPE(int_fast32_t,,,[#include<$ac_cv_header_stdint>])
2829
AC_CHECK_TYPE(intmax_t,,,[#include <$ac_cv_header_stdint>])
2831
fi # shortcircut to system "stdint.h"
2832
# ------------------ PREPARE VARIABLES ------------------------------
2833
if test "$GCC" = "yes" ; then
2834
ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
2836
ac_cv_stdint_message="using $CC"
2839
AC_MSG_RESULT([make use of $ac_cv_header_stdint in $ac_stdint_h dnl
2840
$ac_cv_stdint_result])
2842
dnl -----------------------------------------------------------------
2843
# ----------------- DONE inttypes.h checks START header -------------
2844
AC_CONFIG_COMMANDS([$ac_stdint_h],[
2845
AC_MSG_NOTICE(creating $ac_stdint_h : $_ac_stdint_h)
2846
ac_stdint=$tmp/_stdint.h
2848
echo "#ifndef" $_ac_stdint_h >$ac_stdint
2849
echo "#define" $_ac_stdint_h "1" >>$ac_stdint
2850
echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
2851
echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
2852
echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
2853
if test "_$ac_cv_header_stdint_t" != "_" ; then
2854
echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
2855
echo "#include <stdint.h>" >>$ac_stdint
2856
echo "#endif" >>$ac_stdint
2857
echo "#endif" >>$ac_stdint
2860
cat >>$ac_stdint <<STDINT_EOF
2862
/* ................... shortcircuit part ........................... */
2864
#if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
2869
/* .................... configured part ............................ */
2873
echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
2874
if test "_$ac_cv_header_stdint_x" != "_" ; then
2875
ac_header="$ac_cv_header_stdint_x"
2876
echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
2878
echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
2881
echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
2882
if test "_$ac_cv_header_stdint_o" != "_" ; then
2883
ac_header="$ac_cv_header_stdint_o"
2884
echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
2886
echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
2889
echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
2890
if test "_$ac_cv_header_stdint_u" != "_" ; then
2891
ac_header="$ac_cv_header_stdint_u"
2892
echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
2894
echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
2897
echo "" >>$ac_stdint
2899
if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
2900
echo "#include <$ac_header>" >>$ac_stdint
2901
echo "" >>$ac_stdint
2904
echo "/* which 64bit typedef has been found */" >>$ac_stdint
2905
if test "$ac_cv_type_uint64_t" = "yes" ; then
2906
echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
2908
echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
2910
if test "$ac_cv_type_u_int64_t" = "yes" ; then
2911
echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
2913
echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
2915
echo "" >>$ac_stdint
2917
echo "/* which type model has been detected */" >>$ac_stdint
2918
if test "_$ac_cv_char_data_model" != "_" ; then
2919
echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
2920
echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
2922
echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
2923
echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
2925
echo "" >>$ac_stdint
2927
echo "/* whether int_least types were detected */" >>$ac_stdint
2928
if test "$ac_cv_type_int_least32_t" = "yes"; then
2929
echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
2931
echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
2933
echo "/* whether int_fast types were detected */" >>$ac_stdint
2934
if test "$ac_cv_type_int_fast32_t" = "yes"; then
2935
echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
2937
echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
2939
echo "/* whether intmax_t type was detected */" >>$ac_stdint
2940
if test "$ac_cv_type_intmax_t" = "yes"; then
2941
echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
2943
echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
2945
echo "" >>$ac_stdint
2947
cat >>$ac_stdint <<STDINT_EOF
2948
/* .................... detections part ............................ */
2950
/* whether we need to define bitspecific types from compiler base types */
2951
#ifndef _STDINT_HEADER_INTPTR
2952
#ifndef _STDINT_HEADER_UINT32
2953
#ifndef _STDINT_HEADER_U_INT32
2954
#define _STDINT_NEED_INT_MODEL_T
2956
#define _STDINT_HAVE_U_INT_TYPES
2961
#ifdef _STDINT_HAVE_U_INT_TYPES
2962
#undef _STDINT_NEED_INT_MODEL_T
2965
#ifdef _STDINT_CHAR_MODEL
2966
#if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
2967
#ifndef _STDINT_BYTE_MODEL
2968
#define _STDINT_BYTE_MODEL 12
2973
#ifndef _STDINT_HAVE_INT_LEAST32_T
2974
#define _STDINT_NEED_INT_LEAST_T
2977
#ifndef _STDINT_HAVE_INT_FAST32_T
2978
#define _STDINT_NEED_INT_FAST_T
2981
#ifndef _STDINT_HEADER_INTPTR
2982
#define _STDINT_NEED_INTPTR_T
2983
#ifndef _STDINT_HAVE_INTMAX_T
2984
#define _STDINT_NEED_INTMAX_T
2989
/* .................... definition part ............................ */
2991
/* some system headers have good uint64_t */
2992
#ifndef _HAVE_UINT64_T
2993
#if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
2994
#define _HAVE_UINT64_T
2995
#elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
2996
#define _HAVE_UINT64_T
2997
typedef u_int64_t uint64_t;
3001
#ifndef _HAVE_UINT64_T
3002
/* .. here are some common heuristics using compiler runtime specifics */
3003
#if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
3004
#define _HAVE_UINT64_T
3005
#define _HAVE_LONGLONG_UINT64_T
3006
typedef long long int64_t;
3007
typedef unsigned long long uint64_t;
3009
#elif !defined __STRICT_ANSI__
3010
#if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
3011
#define _HAVE_UINT64_T
3012
typedef __int64 int64_t;
3013
typedef unsigned __int64 uint64_t;
3015
#elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
3016
/* note: all ELF-systems seem to have loff-support which needs 64-bit */
3017
#if !defined _NO_LONGLONG
3018
#define _HAVE_UINT64_T
3019
#define _HAVE_LONGLONG_UINT64_T
3020
typedef long long int64_t;
3021
typedef unsigned long long uint64_t;
3024
#elif defined __alpha || (defined __mips && defined _ABIN32)
3025
#if !defined _NO_LONGLONG
3026
typedef long int64_t;
3027
typedef unsigned long uint64_t;
3029
/* compiler/cpu type to define int64_t */
3034
#if defined _STDINT_HAVE_U_INT_TYPES
3035
/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
3036
typedef u_int8_t uint8_t;
3037
typedef u_int16_t uint16_t;
3038
typedef u_int32_t uint32_t;
3040
/* glibc compatibility */
3041
#ifndef __int8_t_defined
3042
#define __int8_t_defined
3046
#ifdef _STDINT_NEED_INT_MODEL_T
3047
/* we must guess all the basic types. Apart from byte-adressable system, */
3048
/* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
3049
/* (btw, those nibble-addressable systems are way off, or so we assume) */
3051
dnl /* have a look at "64bit and data size neutrality" at */
3052
dnl /* http://unix.org/version2/whatsnew/login_64bit.html */
3053
dnl /* (the shorthand "ILP" types always have a "P" part) */
3055
#if defined _STDINT_BYTE_MODEL
3056
#if _STDINT_LONG_MODEL+0 == 242
3057
/* 2:4:2 = IP16 = a normal 16-bit system */
3058
typedef unsigned char uint8_t;
3059
typedef unsigned short uint16_t;
3060
typedef unsigned long uint32_t;
3061
#ifndef __int8_t_defined
3062
#define __int8_t_defined
3063
typedef char int8_t;
3064
typedef short int16_t;
3065
typedef long int32_t;
3067
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
3068
/* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
3069
/* 4:4:4 = ILP32 = a normal 32-bit system */
3070
typedef unsigned char uint8_t;
3071
typedef unsigned short uint16_t;
3072
typedef unsigned int uint32_t;
3073
#ifndef __int8_t_defined
3074
#define __int8_t_defined
3075
typedef char int8_t;
3076
typedef short int16_t;
3077
typedef int int32_t;
3079
#elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
3080
/* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
3081
/* 4:8:8 = LP64 = a normal 64-bit system */
3082
typedef unsigned char uint8_t;
3083
typedef unsigned short uint16_t;
3084
typedef unsigned int uint32_t;
3085
#ifndef __int8_t_defined
3086
#define __int8_t_defined
3087
typedef char int8_t;
3088
typedef short int16_t;
3089
typedef int int32_t;
3091
/* this system has a "long" of 64bit */
3092
#ifndef _HAVE_UINT64_T
3093
#define _HAVE_UINT64_T
3094
typedef unsigned long uint64_t;
3095
typedef long int64_t;
3097
#elif _STDINT_LONG_MODEL+0 == 448
3098
/* LLP64 a 64-bit system derived from a 32-bit system */
3099
typedef unsigned char uint8_t;
3100
typedef unsigned short uint16_t;
3101
typedef unsigned int uint32_t;
3102
#ifndef __int8_t_defined
3103
#define __int8_t_defined
3104
typedef char int8_t;
3105
typedef short int16_t;
3106
typedef int int32_t;
3108
/* assuming the system has a "long long" */
3109
#ifndef _HAVE_UINT64_T
3110
#define _HAVE_UINT64_T
3111
#define _HAVE_LONGLONG_UINT64_T
3112
typedef unsigned long long uint64_t;
3113
typedef long long int64_t;
3116
#define _STDINT_NO_INT32_T
3119
#define _STDINT_NO_INT8_T
3120
#define _STDINT_NO_INT32_T
3125
* quote from SunOS-5.8 sys/inttypes.h:
3126
* Use at your own risk. As of February 1996, the committee is squarely
3127
* behind the fixed sized types; the "least" and "fast" types are still being
3128
* discussed. The probability that the "fast" types may be removed before
3129
* the standard is finalized is high enough that they are not currently
3133
#if defined _STDINT_NEED_INT_LEAST_T
3134
typedef int8_t int_least8_t;
3135
typedef int16_t int_least16_t;
3136
typedef int32_t int_least32_t;
3137
#ifdef _HAVE_UINT64_T
3138
typedef int64_t int_least64_t;
3141
typedef uint8_t uint_least8_t;
3142
typedef uint16_t uint_least16_t;
3143
typedef uint32_t uint_least32_t;
3144
#ifdef _HAVE_UINT64_T
3145
typedef uint64_t uint_least64_t;
3150
#if defined _STDINT_NEED_INT_FAST_T
3151
typedef int8_t int_fast8_t;
3152
typedef int int_fast16_t;
3153
typedef int32_t int_fast32_t;
3154
#ifdef _HAVE_UINT64_T
3155
typedef int64_t int_fast64_t;
3158
typedef uint8_t uint_fast8_t;
3159
typedef unsigned uint_fast16_t;
3160
typedef uint32_t uint_fast32_t;
3161
#ifdef _HAVE_UINT64_T
3162
typedef uint64_t uint_fast64_t;
3167
#ifdef _STDINT_NEED_INTMAX_T
3168
#ifdef _HAVE_UINT64_T
3169
typedef int64_t intmax_t;
3170
typedef uint64_t uintmax_t;
3172
typedef long intmax_t;
3173
typedef unsigned long uintmax_t;
3177
#ifdef _STDINT_NEED_INTPTR_T
3178
#ifndef __intptr_t_defined
3179
#define __intptr_t_defined
3180
/* we encourage using "long" to store pointer values, never use "int" ! */
3181
#if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
3182
typedef unsigned int uintptr_t;
3183
typedef int intptr_t;
3184
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
3185
typedef unsigned long uintptr_t;
3186
typedef long intptr_t;
3187
#elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
3188
typedef uint64_t uintptr_t;
3189
typedef int64_t intptr_t;
3190
#else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
3191
typedef unsigned long uintptr_t;
3192
typedef long intptr_t;
3197
/* The ISO C99 standard specifies that in C++ implementations these
3198
should only be defined if explicitly requested. */
3199
#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
3203
# define INT8_C(c) c
3204
# define INT16_C(c) c
3205
# define INT32_C(c) c
3206
# ifdef _HAVE_LONGLONG_UINT64_T
3207
# define INT64_C(c) c ## L
3209
# define INT64_C(c) c ## LL
3213
# define UINT8_C(c) c ## U
3214
# define UINT16_C(c) c ## U
3215
# define UINT32_C(c) c ## U
3216
# ifdef _HAVE_LONGLONG_UINT64_T
3217
# define UINT64_C(c) c ## UL
3219
# define UINT64_C(c) c ## ULL
3223
# ifdef _HAVE_LONGLONG_UINT64_T
3224
# define INTMAX_C(c) c ## L
3225
# define UINTMAX_C(c) c ## UL
3227
# define INTMAX_C(c) c ## LL
3228
# define UINTMAX_C(c) c ## ULL
3231
/* literalnumbers */
3235
/* These limits are merily those of a two complement byte-oriented system */
3237
/* Minimum of signed integral types. */
3238
# define INT8_MIN (-128)
3239
# define INT16_MIN (-32767-1)
3240
# define INT32_MIN (-2147483647-1)
3242
# define INT64_MIN (-__INT64_C(9223372036854775807)-1)
3244
/* Maximum of signed integral types. */
3245
# define INT8_MAX (127)
3246
# define INT16_MAX (32767)
3247
# define INT32_MAX (2147483647)
3249
# define INT64_MAX (__INT64_C(9223372036854775807))
3252
/* Maximum of unsigned integral types. */
3254
# define UINT8_MAX (255)
3257
# define UINT16_MAX (65535)
3259
# define UINT32_MAX (4294967295U)
3261
# define UINT64_MAX (__UINT64_C(18446744073709551615))
3264
/* Minimum of signed integral types having a minimum size. */
3265
# define INT_LEAST8_MIN INT8_MIN
3266
# define INT_LEAST16_MIN INT16_MIN
3267
# define INT_LEAST32_MIN INT32_MIN
3268
# define INT_LEAST64_MIN INT64_MIN
3269
/* Maximum of signed integral types having a minimum size. */
3270
# define INT_LEAST8_MAX INT8_MAX
3271
# define INT_LEAST16_MAX INT16_MAX
3272
# define INT_LEAST32_MAX INT32_MAX
3273
# define INT_LEAST64_MAX INT64_MAX
3275
/* Maximum of unsigned integral types having a minimum size. */
3276
# define UINT_LEAST8_MAX UINT8_MAX
3277
# define UINT_LEAST16_MAX UINT16_MAX
3278
# define UINT_LEAST32_MAX UINT32_MAX
3279
# define UINT_LEAST64_MAX UINT64_MAX
3288
if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
3289
AC_MSG_NOTICE([$ac_stdint_h is unchanged])
3291
ac_dir=`AS_DIRNAME(["$ac_stdint_h"])`
3292
AS_MKDIR_P(["$ac_dir"])
3294
mv $ac_stdint $ac_stdint_h
3296
],[# variables for create stdint.h replacement
3299
ac_stdint_h="$ac_stdint_h"
3300
_ac_stdint_h=AS_TR_CPP(_$PACKAGE-$ac_stdint_h)
3301
ac_cv_stdint_message="$ac_cv_stdint_message"
3302
ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
3303
ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
3304
ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
3305
ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
3306
ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
3307
ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
3308
ac_cv_char_data_model="$ac_cv_char_data_model"
3309
ac_cv_long_data_model="$ac_cv_long_data_model"
3310
ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
3311
ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
3312
ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
3315
m4trace:m4/ax_detect_git_head.m4:1: -1- AC_DEFUN([AX_DETECT_GIT_HEAD], [
3316
AC_SUBST(GIT_HEAD_ID)
3318
AC_SUBST(GIT_HEAD_VERSION)
3319
if test -f $srcdir/.git/HEAD; then
3320
GIT_HEAD="$srcdir/.git/index"
3321
GIT_REPO="$srcdir/.git"
3322
GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe`
3323
elif test -f $srcdir/GIT_HEAD_ID; then
3324
GIT_HEAD_ID=`cat $srcdir/GIT_HEAD_ID`
3326
mysrcdir=`(cd $srcdir; pwd)`
3327
head=`basename $mysrcdir | sed -e 's/.*-//'`
3328
head2=`echo $head | sed -e 's/[^0-9a-f]//'`
3329
head3=`echo $head2 | sed -e 's/........................................//'`
3330
if test "x$head3" = "x" -a "x$head" = "x$head2"; then
3333
GIT_HEAD_ID="UNKNOWN"
3336
if test -z "$GIT_REPO" ; then
3337
GIT_HEAD_VERSION="$GIT_HEAD_ID"
3339
GIT_HEAD_VERSION="\`GIT_DIR=$GIT_REPO git describe\`"
3342
m4trace:m4/ax_gcc_archflag.m4:66: -1- AC_DEFUN([AX_GCC_ARCHFLAG], [AC_REQUIRE([AC_PROG_CC])
3343
AC_REQUIRE([AC_CANONICAL_HOST])
3345
AC_ARG_WITH(gcc-arch, [AC_HELP_STRING([--with-gcc-arch=<arch>], [use architecture <arch> for gcc -march/-mtune, instead of guessing])],
3346
ax_gcc_arch=$withval, ax_gcc_arch=yes)
3348
AC_MSG_CHECKING([for gcc architecture flag])
3350
AC_CACHE_VAL(ax_cv_gcc_archflag,
3352
ax_cv_gcc_archflag="unknown"
3354
if test "$GCC" = yes; then
3356
if test "x$ax_gcc_arch" = xyes; then
3358
if test "$cross_compiling" = no; then
3360
i[[3456]]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
3363
case $ax_cv_gcc_x86_cpuid_0 in
3364
*:756e6547:*:*) # Intel
3365
case $ax_cv_gcc_x86_cpuid_1 in
3366
*5[[48]]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
3367
*5??:*:*:*) ax_gcc_arch=pentium ;;
3368
*6[[3456]]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
3369
*6a?:*[[01]]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
3370
*6a?:*[[234]]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
3371
*6[[9d]]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
3372
*6[[78b]]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
3373
*6??:*:*:*) ax_gcc_arch=pentiumpro ;;
3374
*f3[[347]]:*:*:*|*f4[1347]:*:*:*)
3376
x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
3377
*) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
3379
*f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
3381
*:68747541:*:*) # AMD
3382
case $ax_cv_gcc_x86_cpuid_1 in
3383
*5[[67]]?:*:*:*) ax_gcc_arch=k6 ;;
3384
*5[[8d]]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
3385
*5[[9]]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
3386
*60?:*:*:*) ax_gcc_arch=k7 ;;
3387
*6[[12]]?:*:*:*) ax_gcc_arch="athlon k7" ;;
3388
*6[[34]]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
3389
*67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
3391
AX_GCC_X86_CPUID(0x80000006) # L2 cache size
3392
case $ax_cv_gcc_x86_cpuid_0x80000006 in
3393
*:*:*[[1-9a-f]]??????:*) # (L2 = ecx >> 16) >= 256
3394
ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
3395
*) ax_gcc_arch="athlon-4 athlon k7" ;;
3397
*f[[4cef8b]]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
3398
*f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
3399
*f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
3400
*f??:*:*:*) ax_gcc_arch="k8" ;;
3402
*:746e6543:*:*) # IDT
3403
case $ax_cv_gcc_x86_cpuid_1 in
3404
*54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
3405
*58?:*:*:*) ax_gcc_arch=winchip2 ;;
3406
*6[[78]]?:*:*:*) ax_gcc_arch=c3 ;;
3407
*69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
3410
if test x"$ax_gcc_arch" = x; then # fallback
3412
i586*) ax_gcc_arch=pentium ;;
3413
i686*) ax_gcc_arch=pentiumpro ;;
3419
AC_PATH_PROG([PRTDIAG], [prtdiag], [prtdiag], [$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/])
3420
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`
3421
cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
3423
*ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
3424
*ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
3425
*ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
3426
*supersparc*|*tms390z5[[05]]*) ax_gcc_arch="supersparc v8" ;;
3427
*hypersparc*|*rt62[[056]]*) ax_gcc_arch="hypersparc v8" ;;
3428
*cypress*) ax_gcc_arch=cypress ;;
3431
alphaev5) ax_gcc_arch=ev5 ;;
3432
alphaev56) ax_gcc_arch=ev56 ;;
3433
alphapca56) ax_gcc_arch="pca56 ev56" ;;
3434
alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
3435
alphaev6) ax_gcc_arch=ev6 ;;
3436
alphaev67) ax_gcc_arch=ev67 ;;
3437
alphaev68) ax_gcc_arch="ev68 ev67" ;;
3438
alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
3439
alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
3440
alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
3443
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`
3444
cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
3446
*750*) ax_gcc_arch="750 G3" ;;
3447
*740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;;
3448
*74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;;
3449
*74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;;
3450
*970*) ax_gcc_arch="970 G5 power4";;
3451
*POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
3452
*POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
3453
603ev|8240) ax_gcc_arch="$cputype 603e 603";;
3454
*) ax_gcc_arch=$cputype ;;
3456
ax_gcc_arch="$ax_gcc_arch powerpc"
3459
fi # not cross-compiling
3462
if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
3463
for arch in $ax_gcc_arch; do
3464
if test "x[]m4_default([$1],yes)" = xyes; then # if we require portable code
3465
flags="-mtune=$arch"
3466
# -mcpu=$arch and m$arch generate nonportable code on every arch except
3467
# x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr.
3468
case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
3470
flags="-march=$arch -mcpu=$arch -m$arch"
3472
for flag in $flags; do
3473
AX_CHECK_COMPILER_FLAGS($flag, [ax_cv_gcc_archflag=$flag; break])
3475
test "x$ax_cv_gcc_archflag" = xunknown || break
3481
AC_MSG_CHECKING([for gcc architecture flag])
3482
AC_MSG_RESULT($ax_cv_gcc_archflag)
3483
if test "x$ax_cv_gcc_archflag" = xunknown; then
3486
m4_default([$2], [CFLAGS="$CFLAGS $ax_cv_gcc_archflag"])
3489
m4trace:m4/ax_gcc_warn_unused_result.m4:44: -1- AC_DEFUN([AX_GCC_WARN_UNUSED_RESULT], [dnl
3491
[whether the compiler supports function __attribute__((__warn_unused_result__))],
3492
ax_cv_gcc_warn_unused_result,[
3493
AC_TRY_COMPILE([__attribute__((__warn_unused_result__))
3494
int f(int i) { return i; }],
3496
ax_cv_gcc_warn_unused_result=yes, ax_cv_gcc_warn_unused_result=no)])
3497
if test "$ax_cv_gcc_warn_unused_result" = yes; then
3498
AC_DEFINE([GCC_WARN_UNUSED_RESULT],[__attribute__((__warn_unused_result__))],
3499
[most gcc compilers know a function __attribute__((__warn_unused_result__))])
3502
m4trace:m4/ax_gcc_x86_cpuid.m4:58: -1- AC_DEFUN([AX_GCC_X86_CPUID], [AC_REQUIRE([AC_PROG_CC])
3504
AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1,
3505
[AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>], [
3506
int op = $1, eax, ebx, ecx, edx;
3509
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
3511
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
3512
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
3516
[ax_cv_gcc_x86_cpuid_$1=`cat conftest_cpuid`; rm -f conftest_cpuid],
3517
[ax_cv_gcc_x86_cpuid_$1=unknown; rm -f conftest_cpuid],
3518
[ax_cv_gcc_x86_cpuid_$1=unknown])])
3521
m4trace:m4/ax_set_warning_flags.m4:4: -1- AC_DEFUN([AX_SET_WARNING_FLAGS], [dnl
3526
if test "${ax_cv_c_compiler_vendor}" = "clang"; then
3527
dnl isl is at the moment clean of -Wall warnings. If clang adds
3528
dnl new warnings to -Wall which cause false positives, the
3529
dnl specific warning types will be disabled explicitally (by
3530
dnl adding for example -Wno-return-type). To temporarily disable
3531
dnl all warnings run configure with CFLAGS=-Wno-all.
3532
WARNING_FLAGS="-Wall"
3535
m4trace:m4/ax_submodule.m4:1: -1- AC_DEFUN([AX_SUBMODULE], [
3537
m4_if(m4_bregexp($2,|,choice),choice,
3539
[AS_HELP_STRING([--with-$1=$2],
3540
[Which $1 to use [default=$3]])])])
3543
AC_ARG_WITH($1_prefix,
3544
[AS_HELP_STRING([--with-$1-prefix=DIR],
3545
[Prefix of $1 installation])])
3546
AC_ARG_WITH($1_exec_prefix,
3547
[AS_HELP_STRING([--with-$1-exec-prefix=DIR],
3548
[Exec prefix of $1 installation])])
3550
m4_if(m4_bregexp($2,build,build),build,
3551
[AC_ARG_WITH($1_builddir,
3552
[AS_HELP_STRING([--with-$1-builddir=DIR],
3553
[Location of $1 builddir])])])
3554
if test "x$with_$1_prefix" != "x" -a "x$with_$1_exec_prefix" = "x"; then
3555
with_$1_exec_prefix=$with_$1_prefix
3557
if test "x$with_$1_prefix" != "x" -o "x$with_$1_exec_prefix" != "x"; then
3558
if test "x$with_$1" != "x" -a "x$with_$1" != "xyes" -a "x$with_$1" != "xsystem"; then
3559
AC_MSG_ERROR([Setting $with_$1_prefix implies use of system $1])
3563
if test "x$with_$1_builddir" != "x"; then
3564
if test "x$with_$1" != "x" -a "x$with_$1" != "xyes" -a "x$with_$1" != "xbuild"; then
3565
AC_MSG_ERROR([Setting $with_$1_builddir implies use of build $1])
3568
$1_srcdir=`echo @abs_srcdir@ | $with_$1_builddir/config.status --file=-`
3569
AC_MSG_NOTICE($1 sources in $$1_srcdir)
3571
if test "x$with_$1_exec_prefix" != "x"; then
3572
export PKG_CONFIG_PATH="$with_$1_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
3580
if test -d $srcdir/.git -a \
3582
! -d $srcdir/$1/.git; then
3583
AC_MSG_WARN([git repo detected, but submodule $1 not initialized])
3584
AC_MSG_WARN([You may want to run])
3585
AC_MSG_WARN([ git submodule init])
3586
AC_MSG_WARN([ git submodule update])
3587
AC_MSG_WARN([ sh autogen.sh])
3589
if test -f $srcdir/$1/configure; then
3601
AC_MSG_CHECKING([which $1 to use])
3602
AC_MSG_RESULT($with_$1)
3605
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
3606
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
3607
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3608
m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
3609
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
3610
m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
3611
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
3612
m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
3613
m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3614
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
3615
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3616
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3617
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
3618
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3619
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
3620
m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
3621
m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
3622
m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
3623
m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
3624
m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
3625
m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
3626
m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
3627
m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
3628
m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
3629
m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
3630
m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
3631
m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
3632
m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
3633
m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
3634
m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
3635
m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
3636
m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
3637
m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
3638
m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
3639
m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
3640
m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
3641
m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
3642
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
3643
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3644
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3645
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
3646
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3647
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
3648
m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
3649
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
3650
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
3651
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
3652
m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
3653
m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
3654
m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
3655
m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
3656
m4trace:configure.ac:4: -1- AM_INIT_AUTOMAKE([foreign])
3657
m4trace:configure.ac:4: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3658
m4trace:configure.ac:4: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3659
m4trace:configure.ac:4: -1- AM_AUTOMAKE_VERSION([1.11.6])
3660
m4trace:configure.ac:4: -1- _AM_AUTOCONF_VERSION([2.69])
3661
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3662
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3663
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_DATA$])
3664
m4trace:configure.ac:4: -1- m4_pattern_allow([^am__isrc$])
3665
m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([am__isrc])
3666
m4trace:configure.ac:4: -1- m4_pattern_allow([^CYGPATH_W$])
3667
m4trace:configure.ac:4: -1- _AM_SET_OPTIONS([foreign])
3668
m4trace:configure.ac:4: -1- _AM_SET_OPTION([foreign])
3669
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([foreign])
3670
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE$])
3671
m4trace:configure.ac:4: -1- m4_pattern_allow([^VERSION$])
3672
m4trace:configure.ac:4: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
3673
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
3674
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([no-define])
3675
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE$])
3676
m4trace:configure.ac:4: -1- m4_pattern_allow([^VERSION$])
3677
m4trace:configure.ac:4: -1- AM_SANITY_CHECK
3678
m4trace:configure.ac:4: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3679
m4trace:configure.ac:4: -1- AM_MISSING_HAS_RUN
3680
m4trace:configure.ac:4: -1- AM_AUX_DIR_EXPAND
3681
m4trace:configure.ac:4: -1- m4_pattern_allow([^ACLOCAL$])
3682
m4trace:configure.ac:4: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3683
m4trace:configure.ac:4: -1- m4_pattern_allow([^AUTOCONF$])
3684
m4trace:configure.ac:4: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3685
m4trace:configure.ac:4: -1- m4_pattern_allow([^AUTOMAKE$])
3686
m4trace:configure.ac:4: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3687
m4trace:configure.ac:4: -1- m4_pattern_allow([^AUTOHEADER$])
3688
m4trace:configure.ac:4: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3689
m4trace:configure.ac:4: -1- m4_pattern_allow([^MAKEINFO$])
3690
m4trace:configure.ac:4: -1- AM_PROG_INSTALL_SH
3691
m4trace:configure.ac:4: -1- m4_pattern_allow([^install_sh$])
3692
m4trace:configure.ac:4: -1- AM_PROG_INSTALL_STRIP
3693
m4trace:configure.ac:4: -1- m4_pattern_allow([^STRIP$])
3694
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3695
m4trace:configure.ac:4: -1- AM_PROG_MKDIR_P
3696
m4trace:configure.ac:4: -1- m4_pattern_allow([^MKDIR_P$])
3697
m4trace:configure.ac:4: -1- m4_pattern_allow([^mkdir_p$])
3698
m4trace:configure.ac:4: -1- m4_pattern_allow([^AWK$])
3699
m4trace:configure.ac:4: -1- m4_pattern_allow([^SET_MAKE$])
3700
m4trace:configure.ac:4: -1- AM_SET_LEADING_DOT
3701
m4trace:configure.ac:4: -1- m4_pattern_allow([^am__leading_dot$])
3702
m4trace:configure.ac:4: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3703
[_AM_PROG_TAR([v7])])])
3704
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([tar-ustar])
3705
m4trace:configure.ac:4: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3706
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([tar-pax])
3707
m4trace:configure.ac:4: -1- _AM_PROG_TAR([v7])
3708
m4trace:configure.ac:4: -1- m4_pattern_allow([^AMTAR$])
3709
m4trace:configure.ac:4: -1- m4_pattern_allow([^am__tar$])
3710
m4trace:configure.ac:4: -1- m4_pattern_allow([^am__untar$])
3711
m4trace:configure.ac:4: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3712
[_AM_DEPENDENCIES(CC)],
3713
[define([AC_PROG_CC],
3714
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3715
AC_PROVIDE_IFELSE([AC_PROG_CXX],
3716
[_AM_DEPENDENCIES(CXX)],
3717
[define([AC_PROG_CXX],
3718
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3719
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3720
[_AM_DEPENDENCIES(OBJC)],
3721
[define([AC_PROG_OBJC],
3722
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
3724
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([no-dependencies])
3725
m4trace:configure.ac:4: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
3726
m4trace:configure.ac:4: -2- _AM_MANGLE_OPTION([silent-rules])
3727
m4trace:configure.ac:5: -1- AM_SILENT_RULES([yes])
3728
m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_V$])
3729
m4trace:configure.ac:5: -1- AM_SUBST_NOTMAKE([AM_V])
3730
m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([AM_V])
3731
m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_DEFAULT_V$])
3732
m4trace:configure.ac:5: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3733
m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3734
m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
3735
m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_BACKSLASH$])
3736
m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
3737
m4trace:configure.ac:6: -1- m4_pattern_allow([^versioninfo$])
3738
m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
3739
m4trace:configure.ac:21: -1- m4_pattern_allow([^CFLAGS$])
3740
m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
3741
m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
3742
m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
3743
m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
3744
m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
3745
m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
3746
m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
3747
m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CC$])
3748
m4trace:configure.ac:21: -1- m4_pattern_allow([^EXEEXT$])
3749
m4trace:configure.ac:21: -1- m4_pattern_allow([^OBJEXT$])
3750
m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CC])
3751
m4trace:configure.ac:21: -1- AM_SET_DEPDIR
3752
m4trace:configure.ac:21: -1- m4_pattern_allow([^DEPDIR$])
3753
m4trace:configure.ac:21: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3754
m4trace:configure.ac:21: -1- AM_MAKE_INCLUDE
3755
m4trace:configure.ac:21: -1- m4_pattern_allow([^am__include$])
3756
m4trace:configure.ac:21: -1- m4_pattern_allow([^am__quote$])
3757
m4trace:configure.ac:21: -1- AM_DEP_TRACK
3758
m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3759
m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_TRUE$])
3760
m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_FALSE$])
3761
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3762
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3763
m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3764
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3765
m4trace:configure.ac:21: -1- m4_pattern_allow([^am__nodep$])
3766
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__nodep])
3767
m4trace:configure.ac:21: -1- m4_pattern_allow([^CCDEPMODE$])
3768
m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
3769
test "x$enable_dependency_tracking" != xno \
3770
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3771
m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3772
m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3773
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3774
m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3775
m4trace:configure.ac:22: -1- m4_pattern_allow([^CXX$])
3776
m4trace:configure.ac:22: -1- m4_pattern_allow([^CXXFLAGS$])
3777
m4trace:configure.ac:22: -1- m4_pattern_allow([^LDFLAGS$])
3778
m4trace:configure.ac:22: -1- m4_pattern_allow([^LIBS$])
3779
m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
3780
m4trace:configure.ac:22: -1- m4_pattern_allow([^CXX$])
3781
m4trace:configure.ac:22: -1- m4_pattern_allow([^ac_ct_CXX$])
3782
m4trace:configure.ac:22: -1- _AM_DEPENDENCIES([CXX])
3783
m4trace:configure.ac:22: -1- m4_pattern_allow([^CXXDEPMODE$])
3784
m4trace:configure.ac:22: -1- AM_CONDITIONAL([am__fastdepCXX], [
3785
test "x$enable_dependency_tracking" != xno \
3786
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
3787
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
3788
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
3789
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
3790
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
3791
m4trace:configure.ac:24: -1- AX_CC_MAXOPT
3792
m4trace:configure.ac:24: -1- AX_COMPILER_VENDOR
3793
m4trace:configure.ac:24: -1- m4_pattern_allow([^build$])
3794
m4trace:configure.ac:24: -1- m4_pattern_allow([^build_cpu$])
3795
m4trace:configure.ac:24: -1- m4_pattern_allow([^build_vendor$])
3796
m4trace:configure.ac:24: -1- m4_pattern_allow([^build_os$])
3797
m4trace:configure.ac:24: -1- m4_pattern_allow([^host$])
3798
m4trace:configure.ac:24: -1- m4_pattern_allow([^host_cpu$])
3799
m4trace:configure.ac:24: -1- m4_pattern_allow([^host_vendor$])
3800
m4trace:configure.ac:24: -1- m4_pattern_allow([^host_os$])
3801
m4trace:configure.ac:24: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3802
You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
3803
../../lib/autoconf/general.m4:1462: AC_ARG_ENABLE is expanded from...
3804
m4/ax_cc_maxopt.m4:58: AX_CC_MAXOPT is expanded from...
3805
configure.ac:24: the top level])
3806
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([$xlc_opt], [CFLAGS="-O3 -qansialias -w $xlc_opt"], [CFLAGS="-O3 -qansialias -w"
3807
echo "******************************************************"
3808
echo "* You seem to have the IBM C compiler. It is *"
3809
echo "* recommended for best performance that you use: *"
3811
echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
3813
echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
3814
echo "* CPU you have. (Set the CFLAGS environment var. *"
3815
echo "* and re-run configure.) For more info, man cc. *"
3816
echo "******************************************************"])
3817
m4trace:configure.ac:24: -1- AX_GCC_X86_CPUID([0])
3818
m4trace:configure.ac:24: -1- AX_GCC_X86_CPUID([1])
3819
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([$flag], [icc_archflag=$flag; break])
3820
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([-malign-double], [CFLAGS="$CFLAGS -malign-double"])
3821
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([-fstrict-aliasing], [CFLAGS="$CFLAGS -fstrict-aliasing"])
3822
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([-ffast-math], [CFLAGS="$CFLAGS -ffast-math"])
3823
m4trace:configure.ac:24: -1- AX_GCC_ARCHFLAG([$acx_maxopt_portable])
3824
m4trace:configure.ac:24: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3825
You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
3826
../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
3827
m4/ax_gcc_archflag.m4:66: AX_GCC_ARCHFLAG is expanded from...
3828
m4/ax_cc_maxopt.m4:58: AX_CC_MAXOPT is expanded from...
3829
configure.ac:24: the top level])
3830
m4trace:configure.ac:24: -1- AX_GCC_X86_CPUID([0])
3831
m4trace:configure.ac:24: -1- AX_GCC_X86_CPUID([1])
3832
m4trace:configure.ac:24: -1- AX_GCC_X86_CPUID([0x80000006])
3833
m4trace:configure.ac:24: -1- m4_pattern_allow([^PRTDIAG$])
3834
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([$flag], [ax_cv_gcc_archflag=$flag; break])
3835
m4trace:configure.ac:24: -1- AX_CHECK_COMPILER_FLAGS([$CFLAGS], [], [
3837
echo "********************************************************"
3838
echo "* WARNING: The guessed CFLAGS don't seem to work with *"
3839
echo "* your compiler. *"
3840
echo "* Use ./configure CFLAGS=... to specify your own flags *"
3841
echo "********************************************************"
3845
m4trace:configure.ac:25: -1- AX_GCC_WARN_UNUSED_RESULT
3846
m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3847
You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
3848
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3849
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
3850
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
3851
m4/ax_gcc_warn_unused_result.m4:44: AX_GCC_WARN_UNUSED_RESULT is expanded from...
3852
configure.ac:25: the top level])
3853
m4trace:configure.ac:25: -1- m4_pattern_allow([^GCC_WARN_UNUSED_RESULT$])
3854
m4trace:configure.ac:26: -1- AX_C___ATTRIBUTE__
3855
m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE___ATTRIBUTE__$])
3856
m4trace:configure.ac:28: -1- AC_PROG_LIBTOOL
3857
m4trace:configure.ac:28: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
3858
You should run autoupdate.], [/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
3859
configure.ac:28: the top level])
3860
m4trace:configure.ac:28: -1- LT_INIT
3861
m4trace:configure.ac:28: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
3862
m4trace:configure.ac:28: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
3863
m4trace:configure.ac:28: -1- LTOPTIONS_VERSION
3864
m4trace:configure.ac:28: -1- LTSUGAR_VERSION
3865
m4trace:configure.ac:28: -1- LTVERSION_VERSION
3866
m4trace:configure.ac:28: -1- LTOBSOLETE_VERSION
3867
m4trace:configure.ac:28: -1- _LT_PROG_LTMAIN
3868
m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBTOOL$])
3869
m4trace:configure.ac:28: -1- _LT_PREPARE_SED_QUOTE_VARS
3870
m4trace:configure.ac:28: -1- _LT_PROG_ECHO_BACKSLASH
3871
m4trace:configure.ac:28: -1- LT_PATH_LD
3872
m4trace:configure.ac:28: -1- m4_pattern_allow([^SED$])
3873
m4trace:configure.ac:28: -1- AC_PROG_EGREP
3874
m4trace:configure.ac:28: -1- m4_pattern_allow([^GREP$])
3875
m4trace:configure.ac:28: -1- m4_pattern_allow([^EGREP$])
3876
m4trace:configure.ac:28: -1- m4_pattern_allow([^FGREP$])
3877
m4trace:configure.ac:28: -1- m4_pattern_allow([^GREP$])
3878
m4trace:configure.ac:28: -1- m4_pattern_allow([^LD$])
3879
m4trace:configure.ac:28: -1- LT_PATH_NM
3880
m4trace:configure.ac:28: -1- m4_pattern_allow([^DUMPBIN$])
3881
m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
3882
m4trace:configure.ac:28: -1- m4_pattern_allow([^DUMPBIN$])
3883
m4trace:configure.ac:28: -1- m4_pattern_allow([^NM$])
3884
m4trace:configure.ac:28: -1- m4_pattern_allow([^LN_S$])
3885
m4trace:configure.ac:28: -1- LT_CMD_MAX_LEN
3886
m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJDUMP$])
3887
m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJDUMP$])
3888
m4trace:configure.ac:28: -1- m4_pattern_allow([^DLLTOOL$])
3889
m4trace:configure.ac:28: -1- m4_pattern_allow([^DLLTOOL$])
3890
m4trace:configure.ac:28: -1- m4_pattern_allow([^AR$])
3891
m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_AR$])
3892
m4trace:configure.ac:28: -1- m4_pattern_allow([^STRIP$])
3893
m4trace:configure.ac:28: -1- m4_pattern_allow([^RANLIB$])
3894
m4trace:configure.ac:28: -1- _LT_WITH_SYSROOT
3895
m4trace:configure.ac:28: -1- m4_pattern_allow([LT_OBJDIR])
3896
m4trace:configure.ac:28: -1- m4_pattern_allow([^LT_OBJDIR$])
3897
m4trace:configure.ac:28: -1- _LT_CC_BASENAME([$compiler])
3898
m4trace:configure.ac:28: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
3899
m4trace:configure.ac:28: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
3900
m4trace:configure.ac:28: -1- LT_SUPPORTED_TAG([CC])
3901
m4trace:configure.ac:28: -1- _LT_COMPILER_BOILERPLATE
3902
m4trace:configure.ac:28: -1- _LT_LINKER_BOILERPLATE
3903
m4trace:configure.ac:28: -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"])
3904
m4trace:configure.ac:28: -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
3906
*) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
3907
esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
3908
_LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
3909
m4trace:configure.ac:28: -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, )=])
3910
m4trace:configure.ac:28: -1- m4_pattern_allow([^MANIFEST_TOOL$])
3911
m4trace:configure.ac:28: -1- _LT_REQUIRED_DARWIN_CHECKS
3912
m4trace:configure.ac:28: -1- m4_pattern_allow([^DSYMUTIL$])
3913
m4trace:configure.ac:28: -1- m4_pattern_allow([^NMEDIT$])
3914
m4trace:configure.ac:28: -1- m4_pattern_allow([^LIPO$])
3915
m4trace:configure.ac:28: -1- m4_pattern_allow([^OTOOL$])
3916
m4trace:configure.ac:28: -1- m4_pattern_allow([^OTOOL64$])
3917
m4trace:configure.ac:28: -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'])
3918
m4trace:configure.ac:28: -1- LT_SYS_DLOPEN_SELF
3919
m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$])
3920
m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$])
3921
m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$])
3922
m4trace:configure.ac:28: -1- m4_pattern_allow([^STDC_HEADERS$])
3923
m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3924
m4trace:configure.ac:28: -1- LT_LANG([CXX])
3925
m4trace:configure.ac:28: -1- LT_SUPPORTED_TAG([CXX])
3926
m4trace:configure.ac:28: -1- m4_pattern_allow([^CXXCPP$])
3927
m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$])
3928
m4trace:configure.ac:28: -1- m4_pattern_allow([^CXXCPP$])
3929
m4trace:configure.ac:28: -1- _LT_COMPILER_BOILERPLATE
3930
m4trace:configure.ac:28: -1- _LT_LINKER_BOILERPLATE
3931
m4trace:configure.ac:28: -1- _LT_CC_BASENAME([$compiler])
3932
m4trace:configure.ac:28: -1- LT_PATH_LD
3933
m4trace:configure.ac:28: -1- m4_pattern_allow([^LD$])
3934
m4trace:configure.ac:28: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
3936
*) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
3937
esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
3938
_LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
3939
m4trace:configure.ac:28: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
3940
m4trace:configure.ac:30: -1- m4_pattern_allow([^PERL$])
3941
m4trace:configure.ac:31: -1- m4_pattern_allow([^PDFLATEX$])
3942
m4trace:configure.ac:32: -1- m4_pattern_allow([^POD2HTML$])
3943
m4trace:configure.ac:34: -1- AM_CONDITIONAL([GENERATE_DOC], [test -n "$PERL" -a -n "$PDFLATEX" -a -n "$POD2HTML"])
3944
m4trace:configure.ac:34: -1- m4_pattern_allow([^GENERATE_DOC_TRUE$])
3945
m4trace:configure.ac:34: -1- m4_pattern_allow([^GENERATE_DOC_FALSE$])
3946
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([GENERATE_DOC_TRUE])
3947
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([GENERATE_DOC_FALSE])
3948
m4trace:configure.ac:36: -1- AX_CREATE_STDINT_H([include/isl/stdint.h])
3949
m4trace:configure.ac:36: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3950
You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
3951
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3952
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
3953
m4/ax_create_stdint_h.m4:168: AX_CREATE_STDINT_H is expanded from...
3954
configure.ac:36: the top level])
3955
m4trace:configure.ac:36: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3956
You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
3957
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3958
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
3959
m4/ax_create_stdint_h.m4:168: AX_CREATE_STDINT_H is expanded from...
3960
configure.ac:36: the top level])
3961
m4trace:configure.ac:36: -1- AX_CHECK_HEADER_STDINT_X([ stdint.h inttypes.h sys/inttypes.h $inttype_headers], [ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"])
3962
m4trace:configure.ac:36: -1- AX_CHECK_HEADER_STDINT_O([ inttypes.h sys/inttypes.h stdint.h $inttype_headers], [ac_cv_stdint_result="(seen uint32_t$and64 in $i)"])
3963
m4trace:configure.ac:36: -1- AX_CHECK_HEADER_STDINT_U([ sys/types.h inttypes.h sys/inttypes.h $inttype_headers], [ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"])
3964
m4trace:configure.ac:36: -1- AX_CHECK_DATA_MODEL
3965
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_CHAR$])
3966
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
3967
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_INT$])
3968
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_LONG$])
3969
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_VOIDP$])
3970
m4trace:configure.ac:38: -1- AX_SUBMODULE([gmp], [system|build], [system])
3971
m4trace:configure.ac:40: -1- m4_pattern_allow([^GMP_CPPFLAGS$])
3972
m4trace:configure.ac:41: -1- m4_pattern_allow([^GMP_LDFLAGS$])
3973
m4trace:configure.ac:42: -1- m4_pattern_allow([^GMP_LIBS$])
3974
m4trace:configure.ac:60: -1- m4_pattern_allow([^HAVE_DECL_MP_GET_MEMORY_FUNCTIONS$])
3975
m4trace:configure.ac:64: -1- AM_CONDITIONAL([NEED_GET_MEMORY_FUNCTIONS], [test x$need_get_memory_functions = xtrue])
3976
m4trace:configure.ac:64: -1- m4_pattern_allow([^NEED_GET_MEMORY_FUNCTIONS_TRUE$])
3977
m4trace:configure.ac:64: -1- m4_pattern_allow([^NEED_GET_MEMORY_FUNCTIONS_FALSE$])
3978
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([NEED_GET_MEMORY_FUNCTIONS_TRUE])
3979
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([NEED_GET_MEMORY_FUNCTIONS_FALSE])
3980
m4trace:configure.ac:66: -1- AX_SUBMODULE([piplib], [no|system|build], [no])
3981
m4trace:configure.ac:69: -1- m4_pattern_allow([^PIPLIB_CPPFLAGS$])
3982
m4trace:configure.ac:70: -1- m4_pattern_allow([^PIPLIB_LDFLAGS$])
3983
m4trace:configure.ac:71: -1- m4_pattern_allow([^PIPLIB_LIBS$])
3984
m4trace:configure.ac:104: -1- m4_pattern_allow([^ISL_PIPLIB$])
3985
m4trace:configure.ac:107: -1- AM_CONDITIONAL([HAVE_PIPLIB], [test x$have_piplib = xtrue])
3986
m4trace:configure.ac:107: -1- m4_pattern_allow([^HAVE_PIPLIB_TRUE$])
3987
m4trace:configure.ac:107: -1- m4_pattern_allow([^HAVE_PIPLIB_FALSE$])
3988
m4trace:configure.ac:107: -1- _AM_SUBST_NOTMAKE([HAVE_PIPLIB_TRUE])
3989
m4trace:configure.ac:107: -1- _AM_SUBST_NOTMAKE([HAVE_PIPLIB_FALSE])
3990
m4trace:configure.ac:109: -1- m4_pattern_allow([^CLANG_CXXFLAGS$])
3991
m4trace:configure.ac:110: -1- m4_pattern_allow([^CLANG_LDFLAGS$])
3992
m4trace:configure.ac:111: -1- m4_pattern_allow([^CLANG_LIBS$])
3993
m4trace:configure.ac:112: -1- AX_SUBMODULE([clang], [system|no], [no])
3994
m4trace:configure.ac:116: -1- m4_pattern_allow([^llvm_config_found$])
3995
m4trace:configure.ac:131: -1- m4_pattern_allow([^CLANG_PREFIX$])
3996
m4trace:configure.ac:137: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete.
3997
You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
3998
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3999
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
4000
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
4001
configure.ac:137: the top level])
4002
m4trace:configure.ac:139: -1- m4_pattern_allow([^getDefaultTargetTriple$])
4003
m4trace:configure.ac:142: -1- m4_pattern_allow([^getExpansionLineNumber$])
4004
m4trace:configure.ac:147: -1- m4_pattern_allow([^DiagnosticsEngine$])
4005
m4trace:configure.ac:152: -1- m4_pattern_allow([^USE_ARRAYREF$])
4006
m4trace:configure.ac:155: -1- m4_pattern_allow([^HAVE_CXXISPRODUCTION$])
4007
m4trace:configure.ac:158: -1- m4_pattern_allow([^HAVE_ISPRODUCTION$])
4008
m4trace:configure.ac:161: -1- m4_pattern_allow([^HandleTopLevelDeclReturn$])
4009
m4trace:configure.ac:161: -1- m4_pattern_allow([^HandleTopLevelDeclContinue$])
4010
m4trace:configure.ac:161: -1- m4_pattern_allow([^HandleTopLevelDeclReturn$])
4011
m4trace:configure.ac:161: -1- m4_pattern_allow([^HandleTopLevelDeclContinue$])
4012
m4trace:configure.ac:170: -1- m4_pattern_allow([^HAVE_BASIC_DIAGNOSTICOPTIONS_H$])
4013
m4trace:configure.ac:173: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4014
You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
4015
configure.ac:173: the top level])
4016
m4trace:configure.ac:173: -1- m4_pattern_allow([^CREATETARGETINFO_TAKES_POINTER$])
4017
m4trace:configure.ac:185: -1- m4_pattern_allow([^LIB_CLANG_EDIT$])
4018
m4trace:configure.ac:190: -1- AM_CONDITIONAL([HAVE_CLANG], [test $with_clang = system])
4019
m4trace:configure.ac:190: -1- m4_pattern_allow([^HAVE_CLANG_TRUE$])
4020
m4trace:configure.ac:190: -1- m4_pattern_allow([^HAVE_CLANG_FALSE$])
4021
m4trace:configure.ac:190: -1- _AM_SUBST_NOTMAKE([HAVE_CLANG_TRUE])
4022
m4trace:configure.ac:190: -1- _AM_SUBST_NOTMAKE([HAVE_CLANG_FALSE])
4023
m4trace:configure.ac:192: -1- AX_SET_WARNING_FLAGS
4024
m4trace:configure.ac:192: -1- AX_COMPILER_VENDOR
4025
m4trace:configure.ac:194: -1- m4_pattern_allow([^WARNING_FLAGS$])
4026
m4trace:configure.ac:199: -1- AX_CREATE_PKGCONFIG_INFO
4027
m4trace:configure.ac:199: -1- m4_pattern_allow([^pkgconfig_libdir$])
4028
m4trace:configure.ac:199: -1- m4_pattern_allow([^pkgconfig_libfile$])
4029
m4trace:configure.ac:201: -1- AX_DETECT_GIT_HEAD
4030
m4trace:configure.ac:201: -1- m4_pattern_allow([^GIT_HEAD_ID$])
4031
m4trace:configure.ac:201: -1- m4_pattern_allow([^GIT_HEAD$])
4032
m4trace:configure.ac:201: -1- m4_pattern_allow([^GIT_HEAD_VERSION$])
4033
m4trace:configure.ac:220: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4034
m4trace:configure.ac:220: -1- m4_pattern_allow([^LTLIBOBJS$])
4035
m4trace:configure.ac:220: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
4036
m4trace:configure.ac:220: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
4037
m4trace:configure.ac:220: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
4038
m4trace:configure.ac:220: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
4039
m4trace:configure.ac:220: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
4040
m4trace:configure.ac:220: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
4041
m4trace:configure.ac:220: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
4042
m4trace:configure.ac:220: -1- _LT_PROG_LTMAIN