xcrypt 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +106 -0
- data/ext/libxcrypt/AUTHORS +38 -0
- data/ext/libxcrypt/COPYING.LIB +502 -0
- data/ext/libxcrypt/ChangeLog +239 -0
- data/ext/libxcrypt/INSTALL +380 -0
- data/ext/libxcrypt/LICENSING +152 -0
- data/ext/libxcrypt/Makefile.am +704 -0
- data/ext/libxcrypt/Makefile.in +4110 -0
- data/ext/libxcrypt/NEWS +630 -0
- data/ext/libxcrypt/README +1 -0
- data/ext/libxcrypt/README.md +179 -0
- data/ext/libxcrypt/THANKS +13 -0
- data/ext/libxcrypt/TODO +1 -0
- data/ext/libxcrypt/TODO.md +100 -0
- data/ext/libxcrypt/aclocal.m4 +2617 -0
- data/ext/libxcrypt/autogen.sh +33 -0
- data/ext/libxcrypt/autom4te.cache/output.0 +19884 -0
- data/ext/libxcrypt/autom4te.cache/output.1 +19884 -0
- data/ext/libxcrypt/autom4te.cache/output.2 +19884 -0
- data/ext/libxcrypt/autom4te.cache/output.3 +19885 -0
- data/ext/libxcrypt/autom4te.cache/requests +714 -0
- data/ext/libxcrypt/autom4te.cache/traces.0 +4088 -0
- data/ext/libxcrypt/autom4te.cache/traces.1 +1060 -0
- data/ext/libxcrypt/autom4te.cache/traces.2 +4088 -0
- data/ext/libxcrypt/autom4te.cache/traces.3 +1060 -0
- data/ext/libxcrypt/build-aux/ci/ci-log-dependency-versions +79 -0
- data/ext/libxcrypt/build-aux/ci/ci-log-logfiles +22 -0
- data/ext/libxcrypt/build-aux/ci/clang-gcov-wrapper +2 -0
- data/ext/libxcrypt/build-aux/ci/configure-wrapper +10 -0
- data/ext/libxcrypt/build-aux/ci/summarize-coverage +24 -0
- data/ext/libxcrypt/build-aux/m4/ax_append_compile_flags.m4 +46 -0
- data/ext/libxcrypt/build-aux/m4/ax_append_flag.m4 +50 -0
- data/ext/libxcrypt/build-aux/m4/ax_check_compile_flag.m4 +53 -0
- data/ext/libxcrypt/build-aux/m4/ax_check_vscript.m4 +142 -0
- data/ext/libxcrypt/build-aux/m4/ax_gcc_func_attribute.m4 +246 -0
- data/ext/libxcrypt/build-aux/m4/ax_require_defined.m4 +37 -0
- data/ext/libxcrypt/build-aux/m4/ax_valgrind_check.m4 +239 -0
- data/ext/libxcrypt/build-aux/m4/libtool.m4 +8488 -0
- data/ext/libxcrypt/build-aux/m4/ltoptions.m4 +467 -0
- data/ext/libxcrypt/build-aux/m4/ltsugar.m4 +124 -0
- data/ext/libxcrypt/build-aux/m4/ltversion.m4 +24 -0
- data/ext/libxcrypt/build-aux/m4/lt~obsolete.m4 +99 -0
- data/ext/libxcrypt/build-aux/m4/pkg_compat.m4 +88 -0
- data/ext/libxcrypt/build-aux/m4/zw_alignment.m4 +90 -0
- data/ext/libxcrypt/build-aux/m4/zw_automodern.m4 +307 -0
- data/ext/libxcrypt/build-aux/m4/zw_detect_asan.m4 +24 -0
- data/ext/libxcrypt/build-aux/m4/zw_endianness.m4 +152 -0
- data/ext/libxcrypt/build-aux/m4/zw_ld_wrap.m4 +47 -0
- data/ext/libxcrypt/build-aux/m4/zw_prog_perl.m4 +40 -0
- data/ext/libxcrypt/build-aux/m4/zw_simple_warnings.m4 +150 -0
- data/ext/libxcrypt/build-aux/m4/zw_static_assert.m4 +68 -0
- data/ext/libxcrypt/build-aux/m4-autogen/compile +364 -0
- data/ext/libxcrypt/build-aux/m4-autogen/config.guess +1815 -0
- data/ext/libxcrypt/build-aux/m4-autogen/config.sub +2354 -0
- data/ext/libxcrypt/build-aux/m4-autogen/depcomp +792 -0
- data/ext/libxcrypt/build-aux/m4-autogen/install-sh +541 -0
- data/ext/libxcrypt/build-aux/m4-autogen/ltmain.sh +11524 -0
- data/ext/libxcrypt/build-aux/m4-autogen/missing +236 -0
- data/ext/libxcrypt/build-aux/m4-autogen/test-driver +160 -0
- data/ext/libxcrypt/build-aux/scripts/BuildCommon.pm +712 -0
- data/ext/libxcrypt/build-aux/scripts/check-perlcritic-config +76 -0
- data/ext/libxcrypt/build-aux/scripts/compute-symver-floor +116 -0
- data/ext/libxcrypt/build-aux/scripts/expand-selected-hashes +80 -0
- data/ext/libxcrypt/build-aux/scripts/gen-crypt-h +131 -0
- data/ext/libxcrypt/build-aux/scripts/gen-crypt-hashes-h +141 -0
- data/ext/libxcrypt/build-aux/scripts/gen-crypt-symbol-vers-h +150 -0
- data/ext/libxcrypt/build-aux/scripts/gen-libcrypt-map +67 -0
- data/ext/libxcrypt/build-aux/scripts/move-if-change +84 -0
- data/ext/libxcrypt/build-aux/scripts/skip-if-exec-format-error +78 -0
- data/ext/libxcrypt/codecov.yml +4 -0
- data/ext/libxcrypt/config.h.in +303 -0
- data/ext/libxcrypt/configure +19885 -0
- data/ext/libxcrypt/configure.ac +549 -0
- data/ext/libxcrypt/doc/crypt.3 +512 -0
- data/ext/libxcrypt/doc/crypt.5 +343 -0
- data/ext/libxcrypt/doc/crypt_checksalt.3 +106 -0
- data/ext/libxcrypt/doc/crypt_gensalt.3 +285 -0
- data/ext/libxcrypt/doc/crypt_gensalt_ra.3 +1 -0
- data/ext/libxcrypt/doc/crypt_gensalt_rn.3 +1 -0
- data/ext/libxcrypt/doc/crypt_preferred_method.3 +68 -0
- data/ext/libxcrypt/doc/crypt_r.3 +1 -0
- data/ext/libxcrypt/doc/crypt_ra.3 +1 -0
- data/ext/libxcrypt/doc/crypt_rn.3 +1 -0
- data/ext/libxcrypt/lib/alg-des-tables.c +3858 -0
- data/ext/libxcrypt/lib/alg-des.c +269 -0
- data/ext/libxcrypt/lib/alg-des.h +74 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-const.h +313 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-core.c +238 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-core.h +51 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-hmac.c +78 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-hmac.h +46 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-precalc.h +1426 -0
- data/ext/libxcrypt/lib/alg-gost3411-2012-ref.h +67 -0
- data/ext/libxcrypt/lib/alg-hmac-sha1.c +140 -0
- data/ext/libxcrypt/lib/alg-hmac-sha1.h +35 -0
- data/ext/libxcrypt/lib/alg-md4.c +270 -0
- data/ext/libxcrypt/lib/alg-md4.h +43 -0
- data/ext/libxcrypt/lib/alg-md5.c +291 -0
- data/ext/libxcrypt/lib/alg-md5.h +43 -0
- data/ext/libxcrypt/lib/alg-sha1.c +288 -0
- data/ext/libxcrypt/lib/alg-sha1.h +34 -0
- data/ext/libxcrypt/lib/alg-sha256.c +630 -0
- data/ext/libxcrypt/lib/alg-sha256.h +123 -0
- data/ext/libxcrypt/lib/alg-sha512.c +311 -0
- data/ext/libxcrypt/lib/alg-sha512.h +81 -0
- data/ext/libxcrypt/lib/alg-sm3-hmac.c +113 -0
- data/ext/libxcrypt/lib/alg-sm3-hmac.h +42 -0
- data/ext/libxcrypt/lib/alg-sm3.c +449 -0
- data/ext/libxcrypt/lib/alg-sm3.h +63 -0
- data/ext/libxcrypt/lib/alg-yescrypt-common.c +713 -0
- data/ext/libxcrypt/lib/alg-yescrypt-opt.c +1568 -0
- data/ext/libxcrypt/lib/alg-yescrypt-platform.c +106 -0
- data/ext/libxcrypt/lib/alg-yescrypt.h +360 -0
- data/ext/libxcrypt/lib/byteorder.h +164 -0
- data/ext/libxcrypt/lib/crypt-bcrypt.c +1061 -0
- data/ext/libxcrypt/lib/crypt-des-obsolete.c +215 -0
- data/ext/libxcrypt/lib/crypt-des.c +491 -0
- data/ext/libxcrypt/lib/crypt-gensalt-static.c +40 -0
- data/ext/libxcrypt/lib/crypt-gost-yescrypt.c +182 -0
- data/ext/libxcrypt/lib/crypt-md5.c +232 -0
- data/ext/libxcrypt/lib/crypt-nthash.c +134 -0
- data/ext/libxcrypt/lib/crypt-obsolete.h +40 -0
- data/ext/libxcrypt/lib/crypt-pbkdf1-sha1.c +260 -0
- data/ext/libxcrypt/lib/crypt-port.h +514 -0
- data/ext/libxcrypt/lib/crypt-scrypt.c +247 -0
- data/ext/libxcrypt/lib/crypt-sha256.c +308 -0
- data/ext/libxcrypt/lib/crypt-sha512.c +323 -0
- data/ext/libxcrypt/lib/crypt-sm3-yescrypt.c +189 -0
- data/ext/libxcrypt/lib/crypt-sm3.c +308 -0
- data/ext/libxcrypt/lib/crypt-static.c +44 -0
- data/ext/libxcrypt/lib/crypt-sunmd5.c +314 -0
- data/ext/libxcrypt/lib/crypt-yescrypt.c +177 -0
- data/ext/libxcrypt/lib/crypt.c +421 -0
- data/ext/libxcrypt/lib/crypt.h.in +249 -0
- data/ext/libxcrypt/lib/gen-des-tables.c +363 -0
- data/ext/libxcrypt/lib/hashes.conf +59 -0
- data/ext/libxcrypt/lib/libcrypt.map.in +48 -0
- data/ext/libxcrypt/lib/libcrypt.minver +97 -0
- data/ext/libxcrypt/lib/libxcrypt.pc.in +15 -0
- data/ext/libxcrypt/lib/util-base64.c +26 -0
- data/ext/libxcrypt/lib/util-gensalt-sha.c +88 -0
- data/ext/libxcrypt/lib/util-get-random-bytes.c +154 -0
- data/ext/libxcrypt/lib/util-make-failure-token.c +48 -0
- data/ext/libxcrypt/lib/util-xbzero.c +43 -0
- data/ext/libxcrypt/lib/util-xstrcpy.c +42 -0
- data/ext/libxcrypt/lib/xcrypt.h.in +58 -0
- data/ext/libxcrypt/libxcrypt.spec.rpkg +481 -0
- data/ext/libxcrypt/rpkg.conf +2 -0
- data/ext/libxcrypt/rpkg.macros +86 -0
- data/ext/libxcrypt/test/TestCommon.pm +326 -0
- data/ext/libxcrypt/test/alg-des.c +80 -0
- data/ext/libxcrypt/test/alg-gost3411-2012-hmac.c +90 -0
- data/ext/libxcrypt/test/alg-gost3411-2012.c +191 -0
- data/ext/libxcrypt/test/alg-hmac-sha1.c +187 -0
- data/ext/libxcrypt/test/alg-md4.c +111 -0
- data/ext/libxcrypt/test/alg-md5.c +134 -0
- data/ext/libxcrypt/test/alg-pbkdf-hmac-sha256.c +269 -0
- data/ext/libxcrypt/test/alg-sha1.c +111 -0
- data/ext/libxcrypt/test/alg-sha256.c +141 -0
- data/ext/libxcrypt/test/alg-sha512.c +170 -0
- data/ext/libxcrypt/test/alg-sm3-hmac.c +149 -0
- data/ext/libxcrypt/test/alg-sm3.c +168 -0
- data/ext/libxcrypt/test/alg-yescrypt.c +466 -0
- data/ext/libxcrypt/test/badsalt.c +726 -0
- data/ext/libxcrypt/test/badsetting.c +350 -0
- data/ext/libxcrypt/test/byteorder.c +254 -0
- data/ext/libxcrypt/test/checksalt.c +265 -0
- data/ext/libxcrypt/test/compile-strong-alias.c +43 -0
- data/ext/libxcrypt/test/crypt-badargs.c +392 -0
- data/ext/libxcrypt/test/crypt-gost-yescrypt.c +149 -0
- data/ext/libxcrypt/test/crypt-nested-call.c +180 -0
- data/ext/libxcrypt/test/crypt-sm3-yescrypt.c +149 -0
- data/ext/libxcrypt/test/crypt-too-long-phrase.c +157 -0
- data/ext/libxcrypt/test/des-cases.h +196 -0
- data/ext/libxcrypt/test/des-obsolete.c +206 -0
- data/ext/libxcrypt/test/des-obsolete_r.c +207 -0
- data/ext/libxcrypt/test/explicit-bzero.c +334 -0
- data/ext/libxcrypt/test/gensalt-bcrypt_x.c +54 -0
- data/ext/libxcrypt/test/gensalt-extradata.c +246 -0
- data/ext/libxcrypt/test/gensalt-nested-call.c +126 -0
- data/ext/libxcrypt/test/gensalt-nthash.c +65 -0
- data/ext/libxcrypt/test/gensalt.c +599 -0
- data/ext/libxcrypt/test/getrandom-fallbacks.c +295 -0
- data/ext/libxcrypt/test/getrandom-interface.c +211 -0
- data/ext/libxcrypt/test/ka-table-gen.py +945 -0
- data/ext/libxcrypt/test/ka-table.inc +5849 -0
- data/ext/libxcrypt/test/ka-tester.c +240 -0
- data/ext/libxcrypt/test/preferred-method.c +133 -0
- data/ext/libxcrypt/test/short-outbuf.c +119 -0
- data/ext/libxcrypt/test/special-char-salt.c +1160 -0
- data/ext/libxcrypt/test/symbols-compat.pl +137 -0
- data/ext/libxcrypt/test/symbols-renames.pl +107 -0
- data/ext/libxcrypt/test/symbols-static.pl +87 -0
- data/ext/xcrypt/xcrypt.c +9 -0
- data/lib/xcrypt/ffi.rb +76 -0
- data/lib/xcrypt/version.rb +5 -0
- data/lib/xcrypt.rb +89 -0
- metadata +267 -0
|
@@ -0,0 +1,4088 @@
|
|
|
1
|
+
m4trace:/opt/homebrew/share/aclocal/ltargz.m4:13: -1- AC_DEFUN([LT_FUNC_ARGZ], [
|
|
2
|
+
dnl Required for use of '$SED' in Cygwin configuration.
|
|
3
|
+
AC_REQUIRE([AC_PROG_SED])dnl
|
|
4
|
+
AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
|
|
5
|
+
|
|
6
|
+
AC_CHECK_TYPES([error_t],
|
|
7
|
+
[],
|
|
8
|
+
[AC_DEFINE([error_t], [int],
|
|
9
|
+
[Define to a type to use for 'error_t' if it is not otherwise available.])
|
|
10
|
+
AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
|
|
11
|
+
does not typedef error_t.])],
|
|
12
|
+
[#if defined(HAVE_ARGZ_H)
|
|
13
|
+
# include <argz.h>
|
|
14
|
+
#endif])
|
|
15
|
+
|
|
16
|
+
LT_ARGZ_H=
|
|
17
|
+
AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
|
|
18
|
+
argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
|
|
19
|
+
|
|
20
|
+
dnl if have system argz functions, allow forced use of
|
|
21
|
+
dnl libltdl-supplied implementation (and default to do so
|
|
22
|
+
dnl on "known bad" systems). Could use a runtime check, but
|
|
23
|
+
dnl (a) detecting malloc issues is notoriously unreliable
|
|
24
|
+
dnl (b) only known system that declares argz functions,
|
|
25
|
+
dnl provides them, yet they are broken, is cygwin
|
|
26
|
+
dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
|
|
27
|
+
dnl So, it's more straightforward simply to special case
|
|
28
|
+
dnl this for known bad systems.
|
|
29
|
+
AS_IF([test -z "$LT_ARGZ_H"],
|
|
30
|
+
[AC_CACHE_CHECK(
|
|
31
|
+
[if argz actually works],
|
|
32
|
+
[lt_cv_sys_argz_works],
|
|
33
|
+
[[case $host_os in #(
|
|
34
|
+
*cygwin*)
|
|
35
|
+
lt_cv_sys_argz_works=no
|
|
36
|
+
if test no != "$cross_compiling"; then
|
|
37
|
+
lt_cv_sys_argz_works="guessing no"
|
|
38
|
+
else
|
|
39
|
+
lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
|
|
40
|
+
save_IFS=$IFS
|
|
41
|
+
IFS=-.
|
|
42
|
+
set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
|
|
43
|
+
IFS=$save_IFS
|
|
44
|
+
lt_os_major=${2-0}
|
|
45
|
+
lt_os_minor=${3-0}
|
|
46
|
+
lt_os_micro=${4-0}
|
|
47
|
+
if test 1 -lt "$lt_os_major" \
|
|
48
|
+
|| { test 1 -eq "$lt_os_major" \
|
|
49
|
+
&& { test 5 -lt "$lt_os_minor" \
|
|
50
|
+
|| { test 5 -eq "$lt_os_minor" \
|
|
51
|
+
&& test 24 -lt "$lt_os_micro"; }; }; }; then
|
|
52
|
+
lt_cv_sys_argz_works=yes
|
|
53
|
+
fi
|
|
54
|
+
fi
|
|
55
|
+
;; #(
|
|
56
|
+
*) lt_cv_sys_argz_works=yes ;;
|
|
57
|
+
esac]])
|
|
58
|
+
AS_IF([test yes = "$lt_cv_sys_argz_works"],
|
|
59
|
+
[AC_DEFINE([HAVE_WORKING_ARGZ], 1,
|
|
60
|
+
[This value is set to 1 to indicate that the system argz facility works])],
|
|
61
|
+
[LT_ARGZ_H=lt__argz.h
|
|
62
|
+
AC_LIBOBJ([lt__argz])])])
|
|
63
|
+
|
|
64
|
+
AC_SUBST([LT_ARGZ_H])
|
|
65
|
+
])
|
|
66
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:17: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
|
|
67
|
+
_$0($*)
|
|
68
|
+
])
|
|
69
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:69: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
|
|
70
|
+
dnl Although the argument is deprecated and no longer documented,
|
|
71
|
+
dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
|
|
72
|
+
dnl here make sure it is the same as any other declaration of libltdl's
|
|
73
|
+
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
|
|
74
|
+
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
|
|
75
|
+
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
|
|
76
|
+
_$0()
|
|
77
|
+
])
|
|
78
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:82: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
79
|
+
_LTDL_CONVENIENCE])
|
|
80
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:82: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [m4_warn([obsolete], [The macro 'AC_LIBLTDL_CONVENIENCE' is obsolete.
|
|
81
|
+
You should run autoupdate.])dnl
|
|
82
|
+
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
83
|
+
_LTDL_CONVENIENCE])
|
|
84
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:125: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
|
|
85
|
+
dnl Although the argument is deprecated and no longer documented,
|
|
86
|
+
dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
|
|
87
|
+
dnl here make sure it is the same as any other declaration of libltdl's
|
|
88
|
+
dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
|
|
89
|
+
dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
|
|
90
|
+
m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
|
|
91
|
+
_$0()
|
|
92
|
+
])
|
|
93
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:138: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
94
|
+
_LTDL_INSTALLABLE])
|
|
95
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:138: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [m4_warn([obsolete], [The macro 'AC_LIBLTDL_INSTALLABLE' is obsolete.
|
|
96
|
+
You should run autoupdate.])dnl
|
|
97
|
+
_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
98
|
+
_LTDL_INSTALLABLE])
|
|
99
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:214: -1- AC_DEFUN([_LT_LIBOBJ], [
|
|
100
|
+
m4_pattern_allow([^_LT_LIBOBJS$])
|
|
101
|
+
_LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
|
|
102
|
+
])
|
|
103
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:227: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
|
|
104
|
+
_LT_SET_OPTIONS([$0], [$1])
|
|
105
|
+
|
|
106
|
+
dnl We need to keep our own list of libobjs separate from our parent project,
|
|
107
|
+
dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
|
|
108
|
+
dnl we look for our own LIBOBJs.
|
|
109
|
+
m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
|
|
110
|
+
m4_pushdef([AC_LIBSOURCES])
|
|
111
|
+
|
|
112
|
+
dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
|
|
113
|
+
m4_if(_LTDL_MODE, [],
|
|
114
|
+
[m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
|
|
115
|
+
m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
|
|
116
|
+
[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
|
|
117
|
+
|
|
118
|
+
AC_ARG_WITH([included_ltdl],
|
|
119
|
+
[AS_HELP_STRING([--with-included-ltdl],
|
|
120
|
+
[use the GNU ltdl sources included here])])
|
|
121
|
+
|
|
122
|
+
if test yes != "$with_included_ltdl"; then
|
|
123
|
+
# We are not being forced to use the included libltdl sources, so
|
|
124
|
+
# decide whether there is a useful installed version we can use.
|
|
125
|
+
AC_CHECK_HEADER([ltdl.h],
|
|
126
|
+
[AC_CHECK_DECL([lt_dlinterface_register],
|
|
127
|
+
[AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
|
|
128
|
+
[with_included_ltdl=no],
|
|
129
|
+
[with_included_ltdl=yes])],
|
|
130
|
+
[with_included_ltdl=yes],
|
|
131
|
+
[AC_INCLUDES_DEFAULT
|
|
132
|
+
#include <ltdl.h>])],
|
|
133
|
+
[with_included_ltdl=yes],
|
|
134
|
+
[AC_INCLUDES_DEFAULT]
|
|
135
|
+
)
|
|
136
|
+
fi
|
|
137
|
+
|
|
138
|
+
dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
|
|
139
|
+
dnl was called yet, then for old times' sake, we assume libltdl is in an
|
|
140
|
+
dnl eponymous directory:
|
|
141
|
+
AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
|
|
142
|
+
|
|
143
|
+
AC_ARG_WITH([ltdl_include],
|
|
144
|
+
[AS_HELP_STRING([--with-ltdl-include=DIR],
|
|
145
|
+
[use the ltdl headers installed in DIR])])
|
|
146
|
+
|
|
147
|
+
if test -n "$with_ltdl_include"; then
|
|
148
|
+
if test -f "$with_ltdl_include/ltdl.h"; then :
|
|
149
|
+
else
|
|
150
|
+
AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
|
|
151
|
+
fi
|
|
152
|
+
else
|
|
153
|
+
with_ltdl_include=no
|
|
154
|
+
fi
|
|
155
|
+
|
|
156
|
+
AC_ARG_WITH([ltdl_lib],
|
|
157
|
+
[AS_HELP_STRING([--with-ltdl-lib=DIR],
|
|
158
|
+
[use the libltdl.la installed in DIR])])
|
|
159
|
+
|
|
160
|
+
if test -n "$with_ltdl_lib"; then
|
|
161
|
+
if test -f "$with_ltdl_lib/libltdl.la"; then :
|
|
162
|
+
else
|
|
163
|
+
AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
|
|
164
|
+
fi
|
|
165
|
+
else
|
|
166
|
+
with_ltdl_lib=no
|
|
167
|
+
fi
|
|
168
|
+
|
|
169
|
+
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
|
|
170
|
+
,yes,no,no,)
|
|
171
|
+
m4_case(m4_default(_LTDL_TYPE, [convenience]),
|
|
172
|
+
[convenience], [_LTDL_CONVENIENCE],
|
|
173
|
+
[installable], [_LTDL_INSTALLABLE],
|
|
174
|
+
[m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
|
|
175
|
+
;;
|
|
176
|
+
,no,no,no,)
|
|
177
|
+
# If the included ltdl is not to be used, then use the
|
|
178
|
+
# preinstalled libltdl we found.
|
|
179
|
+
AC_DEFINE([HAVE_LTDL], [1],
|
|
180
|
+
[Define this if a modern libltdl is already installed])
|
|
181
|
+
LIBLTDL=-lltdl
|
|
182
|
+
LTDLDEPS=
|
|
183
|
+
LTDLINCL=
|
|
184
|
+
;;
|
|
185
|
+
,no*,no,*)
|
|
186
|
+
AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
|
|
187
|
+
;;
|
|
188
|
+
*) with_included_ltdl=no
|
|
189
|
+
LIBLTDL="-L$with_ltdl_lib -lltdl"
|
|
190
|
+
LTDLDEPS=
|
|
191
|
+
LTDLINCL=-I$with_ltdl_include
|
|
192
|
+
;;
|
|
193
|
+
esac
|
|
194
|
+
INCLTDL=$LTDLINCL
|
|
195
|
+
|
|
196
|
+
# Report our decision...
|
|
197
|
+
AC_MSG_CHECKING([where to find libltdl headers])
|
|
198
|
+
AC_MSG_RESULT([$LTDLINCL])
|
|
199
|
+
AC_MSG_CHECKING([where to find libltdl library])
|
|
200
|
+
AC_MSG_RESULT([$LIBLTDL])
|
|
201
|
+
|
|
202
|
+
_LTDL_SETUP
|
|
203
|
+
|
|
204
|
+
dnl restore autoconf definition.
|
|
205
|
+
m4_popdef([AC_LIBOBJ])
|
|
206
|
+
m4_popdef([AC_LIBSOURCES])
|
|
207
|
+
|
|
208
|
+
AC_CONFIG_COMMANDS_PRE([
|
|
209
|
+
_ltdl_libobjs=
|
|
210
|
+
_ltdl_ltlibobjs=
|
|
211
|
+
if test -n "$_LT_LIBOBJS"; then
|
|
212
|
+
# Remove the extension.
|
|
213
|
+
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
214
|
+
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do
|
|
215
|
+
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
|
|
216
|
+
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
|
|
217
|
+
done
|
|
218
|
+
fi
|
|
219
|
+
AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
|
|
220
|
+
AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
|
|
221
|
+
])
|
|
222
|
+
|
|
223
|
+
# Only expand once:
|
|
224
|
+
m4_define([LTDL_INIT])
|
|
225
|
+
])
|
|
226
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
|
|
227
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_LIB_LTDL], [m4_warn([obsolete], [The macro 'AC_LIB_LTDL' is obsolete.
|
|
228
|
+
You should run autoupdate.])dnl
|
|
229
|
+
LTDL_INIT($@)])
|
|
230
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
|
|
231
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([AC_WITH_LTDL], [m4_warn([obsolete], [The macro 'AC_WITH_LTDL' is obsolete.
|
|
232
|
+
You should run autoupdate.])dnl
|
|
233
|
+
LTDL_INIT($@)])
|
|
234
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:355: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
|
|
235
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:355: -1- AC_DEFUN([LT_WITH_LTDL], [m4_warn([obsolete], [The macro 'LT_WITH_LTDL' is obsolete.
|
|
236
|
+
You should run autoupdate.])dnl
|
|
237
|
+
LTDL_INIT($@)])
|
|
238
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:368: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
|
|
239
|
+
AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
|
|
240
|
+
AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
|
|
241
|
+
AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
|
|
242
|
+
AC_REQUIRE([LT_LIB_DLLOAD])dnl
|
|
243
|
+
AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
|
|
244
|
+
AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
|
|
245
|
+
AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
|
|
246
|
+
AC_REQUIRE([LT_FUNC_ARGZ])dnl
|
|
247
|
+
|
|
248
|
+
m4_require([_LT_CHECK_OBJDIR])dnl
|
|
249
|
+
m4_require([_LT_HEADER_DLFCN])dnl
|
|
250
|
+
m4_require([_LT_CHECK_DLPREOPEN])dnl
|
|
251
|
+
m4_require([_LT_DECL_SED])dnl
|
|
252
|
+
|
|
253
|
+
dnl Don't require this, or it will be expanded earlier than the code
|
|
254
|
+
dnl that sets the variables it relies on:
|
|
255
|
+
_LT_ENABLE_INSTALL
|
|
256
|
+
|
|
257
|
+
dnl _LTDL_MODE specific code must be called at least once:
|
|
258
|
+
_LTDL_MODE_DISPATCH
|
|
259
|
+
|
|
260
|
+
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
|
|
261
|
+
# the user used. This is so that ltdl.h can pick up the parent projects
|
|
262
|
+
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
|
|
263
|
+
# definitions required by ltdl.c.
|
|
264
|
+
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
|
|
265
|
+
AC_CONFIG_COMMANDS_PRE([dnl
|
|
266
|
+
m4_pattern_allow([^LT_CONFIG_H$])dnl
|
|
267
|
+
m4_ifset([AH_HEADER],
|
|
268
|
+
[LT_CONFIG_H=AH_HEADER],
|
|
269
|
+
[m4_ifset([AC_LIST_HEADERS],
|
|
270
|
+
[LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
|
|
271
|
+
[])])])
|
|
272
|
+
AC_SUBST([LT_CONFIG_H])
|
|
273
|
+
|
|
274
|
+
AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
|
|
275
|
+
[], [], [AC_INCLUDES_DEFAULT])
|
|
276
|
+
|
|
277
|
+
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
|
|
278
|
+
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
|
|
279
|
+
|
|
280
|
+
m4_pattern_allow([LT_LIBEXT])dnl
|
|
281
|
+
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
|
|
282
|
+
|
|
283
|
+
name=
|
|
284
|
+
eval "lt_libprefix=\"$libname_spec\""
|
|
285
|
+
m4_pattern_allow([LT_LIBPREFIX])dnl
|
|
286
|
+
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
|
|
287
|
+
|
|
288
|
+
name=ltdl
|
|
289
|
+
eval "LTDLOPEN=\"$libname_spec\""
|
|
290
|
+
AC_SUBST([LTDLOPEN])
|
|
291
|
+
])
|
|
292
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:445: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
293
|
+
AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
|
|
294
|
+
[lt_cv_sys_dlopen_deplibs],
|
|
295
|
+
[# PORTME does your system automatically load deplibs for dlopen?
|
|
296
|
+
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
|
|
297
|
+
# For now, we just catch OSes we know something about -- in the
|
|
298
|
+
# future, we'll try test this programmatically.
|
|
299
|
+
lt_cv_sys_dlopen_deplibs=unknown
|
|
300
|
+
case $host_os in
|
|
301
|
+
aix3*|aix4.1.*|aix4.2.*)
|
|
302
|
+
# Unknown whether this is true for these versions of AIX, but
|
|
303
|
+
# we want this 'case' here to explicitly catch those versions.
|
|
304
|
+
lt_cv_sys_dlopen_deplibs=unknown
|
|
305
|
+
;;
|
|
306
|
+
aix[[4-9]]*)
|
|
307
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
308
|
+
;;
|
|
309
|
+
amigaos*)
|
|
310
|
+
case $host_cpu in
|
|
311
|
+
powerpc)
|
|
312
|
+
lt_cv_sys_dlopen_deplibs=no
|
|
313
|
+
;;
|
|
314
|
+
esac
|
|
315
|
+
;;
|
|
316
|
+
darwin*)
|
|
317
|
+
# Assuming the user has installed a libdl from somewhere, this is true
|
|
318
|
+
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
|
|
319
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
320
|
+
;;
|
|
321
|
+
freebsd* | dragonfly* | midnightbsd*)
|
|
322
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
323
|
+
;;
|
|
324
|
+
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
325
|
+
# GNU and its variants, using gnu ld.so (Glibc)
|
|
326
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
327
|
+
;;
|
|
328
|
+
hpux10*|hpux11*)
|
|
329
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
330
|
+
;;
|
|
331
|
+
interix*)
|
|
332
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
333
|
+
;;
|
|
334
|
+
irix[[12345]]*|irix6.[[01]]*)
|
|
335
|
+
# Catch all versions of IRIX before 6.2, and indicate that we don't
|
|
336
|
+
# know how it worked for any of those versions.
|
|
337
|
+
lt_cv_sys_dlopen_deplibs=unknown
|
|
338
|
+
;;
|
|
339
|
+
irix*)
|
|
340
|
+
# The case above catches anything before 6.2, and it's known that
|
|
341
|
+
# at 6.2 and later dlopen does load deplibs.
|
|
342
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
343
|
+
;;
|
|
344
|
+
*-mlibc)
|
|
345
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
346
|
+
;;
|
|
347
|
+
netbsd* | netbsdelf*-gnu)
|
|
348
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
349
|
+
;;
|
|
350
|
+
openbsd*)
|
|
351
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
352
|
+
;;
|
|
353
|
+
osf[[1234]]*)
|
|
354
|
+
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
|
|
355
|
+
# it did *not* use an RPATH in a shared library to find objects the
|
|
356
|
+
# library depends on, so we explicitly say 'no'.
|
|
357
|
+
lt_cv_sys_dlopen_deplibs=no
|
|
358
|
+
;;
|
|
359
|
+
osf5.0|osf5.0a|osf5.1)
|
|
360
|
+
# dlopen *does* load deplibs and with the right loader patch applied
|
|
361
|
+
# it even uses RPATH in a shared library to search for shared objects
|
|
362
|
+
# that the library depends on, but there's no easy way to know if that
|
|
363
|
+
# patch is installed. Since this is the case, all we can really
|
|
364
|
+
# say is unknown -- it depends on the patch being installed. If
|
|
365
|
+
# it is, this changes to 'yes'. Without it, it would be 'no'.
|
|
366
|
+
lt_cv_sys_dlopen_deplibs=unknown
|
|
367
|
+
;;
|
|
368
|
+
osf*)
|
|
369
|
+
# the two cases above should catch all versions of osf <= 5.1. Read
|
|
370
|
+
# the comments above for what we know about them.
|
|
371
|
+
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
|
|
372
|
+
# is used to find them so we can finally say 'yes'.
|
|
373
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
374
|
+
;;
|
|
375
|
+
qnx*)
|
|
376
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
377
|
+
;;
|
|
378
|
+
solaris*)
|
|
379
|
+
lt_cv_sys_dlopen_deplibs=yes
|
|
380
|
+
;;
|
|
381
|
+
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|
382
|
+
libltdl_cv_sys_dlopen_deplibs=yes
|
|
383
|
+
;;
|
|
384
|
+
esac
|
|
385
|
+
])
|
|
386
|
+
if test yes != "$lt_cv_sys_dlopen_deplibs"; then
|
|
387
|
+
AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
|
|
388
|
+
[Define if the OS needs help to load dependent libraries for dlopen().])
|
|
389
|
+
fi
|
|
390
|
+
])
|
|
391
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:547: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])], [], [])
|
|
392
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:547: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_warn([obsolete], [The macro 'AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
|
|
393
|
+
You should run autoupdate.])dnl
|
|
394
|
+
m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
|
|
395
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:554: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
396
|
+
AC_CACHE_CHECK([what extension is used for runtime loadable modules],
|
|
397
|
+
[libltdl_cv_shlibext],
|
|
398
|
+
[
|
|
399
|
+
module=yes
|
|
400
|
+
eval libltdl_cv_shlibext=$shrext_cmds
|
|
401
|
+
module=no
|
|
402
|
+
eval libltdl_cv_shrext=$shrext_cmds
|
|
403
|
+
])
|
|
404
|
+
if test -n "$libltdl_cv_shlibext"; then
|
|
405
|
+
m4_pattern_allow([LT_MODULE_EXT])dnl
|
|
406
|
+
AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
|
|
407
|
+
[Define to the extension used for runtime loadable modules, say, ".so".])
|
|
408
|
+
fi
|
|
409
|
+
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
|
|
410
|
+
m4_pattern_allow([LT_SHARED_EXT])dnl
|
|
411
|
+
AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
|
|
412
|
+
[Define to the shared library suffix, say, ".dylib".])
|
|
413
|
+
fi
|
|
414
|
+
if test -n "$shared_archive_member_spec"; then
|
|
415
|
+
m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
|
|
416
|
+
AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
|
|
417
|
+
[Define to the shared archive member specification, say "(shr.o)".])
|
|
418
|
+
fi
|
|
419
|
+
])
|
|
420
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:582: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])], [], [])
|
|
421
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:582: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [m4_warn([obsolete], [The macro 'AC_LTDL_SHLIBEXT' is obsolete.
|
|
422
|
+
You should run autoupdate.])dnl
|
|
423
|
+
m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
|
|
424
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:589: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
425
|
+
AC_CACHE_CHECK([what variable specifies run-time module search path],
|
|
426
|
+
[lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
|
|
427
|
+
if test -n "$lt_cv_module_path_var"; then
|
|
428
|
+
m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
|
|
429
|
+
AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
|
|
430
|
+
[Define to the name of the environment variable that determines the run-time module search path.])
|
|
431
|
+
fi
|
|
432
|
+
])
|
|
433
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:601: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])], [], [])
|
|
434
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:601: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [m4_warn([obsolete], [The macro 'AC_LTDL_SHLIBPATH' is obsolete.
|
|
435
|
+
You should run autoupdate.])dnl
|
|
436
|
+
m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
|
|
437
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:608: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
438
|
+
AC_CACHE_CHECK([for the default library search path],
|
|
439
|
+
[lt_cv_sys_dlsearch_path],
|
|
440
|
+
[lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
|
|
441
|
+
if test -n "$lt_cv_sys_dlsearch_path"; then
|
|
442
|
+
sys_dlsearch_path=
|
|
443
|
+
for dir in $lt_cv_sys_dlsearch_path; do
|
|
444
|
+
if test -z "$sys_dlsearch_path"; then
|
|
445
|
+
sys_dlsearch_path=$dir
|
|
446
|
+
else
|
|
447
|
+
sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
|
|
448
|
+
fi
|
|
449
|
+
done
|
|
450
|
+
m4_pattern_allow([LT_DLSEARCH_PATH])dnl
|
|
451
|
+
AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
|
|
452
|
+
[Define to the system default library search path.])
|
|
453
|
+
fi
|
|
454
|
+
])
|
|
455
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:629: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])], [], [])
|
|
456
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:629: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_warn([obsolete], [The macro 'AC_LTDL_SYSSEARCHPATH' is obsolete.
|
|
457
|
+
You should run autoupdate.])dnl
|
|
458
|
+
m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
|
|
459
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:655: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
|
|
460
|
+
LT_DLLOADERS=
|
|
461
|
+
AC_SUBST([LT_DLLOADERS])
|
|
462
|
+
|
|
463
|
+
AC_LANG_PUSH([C])
|
|
464
|
+
lt_dlload_save_LIBS=$LIBS
|
|
465
|
+
|
|
466
|
+
LIBADD_DLOPEN=
|
|
467
|
+
AC_SEARCH_LIBS([dlopen], [dl],
|
|
468
|
+
[AC_DEFINE([HAVE_LIBDL], [1],
|
|
469
|
+
[Define if you have the libdl library or equivalent.])
|
|
470
|
+
if test "$ac_cv_search_dlopen" != "none required"; then
|
|
471
|
+
LIBADD_DLOPEN=-ldl
|
|
472
|
+
fi
|
|
473
|
+
libltdl_cv_lib_dl_dlopen=yes
|
|
474
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
|
|
475
|
+
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
|
|
476
|
+
# include <dlfcn.h>
|
|
477
|
+
#endif
|
|
478
|
+
]], [[dlopen(0, 0);]])],
|
|
479
|
+
[AC_DEFINE([HAVE_LIBDL], [1],
|
|
480
|
+
[Define if you have the libdl library or equivalent.])
|
|
481
|
+
libltdl_cv_func_dlopen=yes
|
|
482
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
|
|
483
|
+
[AC_CHECK_LIB([svld], [dlopen],
|
|
484
|
+
[AC_DEFINE([HAVE_LIBDL], [1],
|
|
485
|
+
[Define if you have the libdl library or equivalent.])
|
|
486
|
+
LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
|
|
487
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
|
|
488
|
+
if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
|
|
489
|
+
then
|
|
490
|
+
lt_save_LIBS=$LIBS
|
|
491
|
+
LIBS="$LIBS $LIBADD_DLOPEN"
|
|
492
|
+
AC_CHECK_FUNCS([dlerror])
|
|
493
|
+
LIBS=$lt_save_LIBS
|
|
494
|
+
fi
|
|
495
|
+
AC_SUBST([LIBADD_DLOPEN])
|
|
496
|
+
|
|
497
|
+
LIBADD_SHL_LOAD=
|
|
498
|
+
AC_CHECK_FUNC([shl_load],
|
|
499
|
+
[AC_DEFINE([HAVE_SHL_LOAD], [1],
|
|
500
|
+
[Define if you have the shl_load function.])
|
|
501
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
|
|
502
|
+
[AC_CHECK_LIB([dld], [shl_load],
|
|
503
|
+
[AC_DEFINE([HAVE_SHL_LOAD], [1],
|
|
504
|
+
[Define if you have the shl_load function.])
|
|
505
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
|
|
506
|
+
LIBADD_SHL_LOAD=-ldld])])
|
|
507
|
+
AC_SUBST([LIBADD_SHL_LOAD])
|
|
508
|
+
|
|
509
|
+
case $host_os in
|
|
510
|
+
darwin[[1567]].*)
|
|
511
|
+
# We only want this for pre-Mac OS X 10.4.
|
|
512
|
+
AC_CHECK_FUNC([_dyld_func_lookup],
|
|
513
|
+
[AC_DEFINE([HAVE_DYLD], [1],
|
|
514
|
+
[Define if you have the _dyld_func_lookup function.])
|
|
515
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
|
|
516
|
+
;;
|
|
517
|
+
beos*)
|
|
518
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
519
|
+
;;
|
|
520
|
+
cygwin* | mingw* | windows* | pw32*)
|
|
521
|
+
AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
|
|
522
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
|
|
523
|
+
;;
|
|
524
|
+
esac
|
|
525
|
+
|
|
526
|
+
AC_CHECK_LIB([dld], [dld_link],
|
|
527
|
+
[AC_DEFINE([HAVE_DLD], [1],
|
|
528
|
+
[Define if you have the GNU dld library.])
|
|
529
|
+
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
|
|
530
|
+
AC_SUBST([LIBADD_DLD_LINK])
|
|
531
|
+
|
|
532
|
+
m4_pattern_allow([^LT_DLPREOPEN$])
|
|
533
|
+
LT_DLPREOPEN=
|
|
534
|
+
if test -n "$LT_DLLOADERS"
|
|
535
|
+
then
|
|
536
|
+
for lt_loader in $LT_DLLOADERS; do
|
|
537
|
+
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
|
|
538
|
+
done
|
|
539
|
+
AC_DEFINE([HAVE_LIBDLLOADER], [1],
|
|
540
|
+
[Define if libdlloader will be built on this platform])
|
|
541
|
+
fi
|
|
542
|
+
AC_SUBST([LT_DLPREOPEN])
|
|
543
|
+
|
|
544
|
+
dnl This isn't used anymore, but set it for backwards compatibility
|
|
545
|
+
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
|
|
546
|
+
AC_SUBST([LIBADD_DL])
|
|
547
|
+
|
|
548
|
+
LIBS=$lt_dlload_save_LIBS
|
|
549
|
+
AC_LANG_POP
|
|
550
|
+
])
|
|
551
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:750: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])], [], [])
|
|
552
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:750: -1- AC_DEFUN([AC_LTDL_DLLIB], [m4_warn([obsolete], [The macro 'AC_LTDL_DLLIB' is obsolete.
|
|
553
|
+
You should run autoupdate.])dnl
|
|
554
|
+
m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
|
|
555
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:758: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
|
|
556
|
+
AC_CACHE_CHECK([for _ prefix in compiled symbols],
|
|
557
|
+
[lt_cv_sys_symbol_underscore],
|
|
558
|
+
[lt_cv_sys_symbol_underscore=no
|
|
559
|
+
cat > conftest.$ac_ext <<_LT_EOF
|
|
560
|
+
void nm_test_func(){}
|
|
561
|
+
int main(void){nm_test_func;return 0;}
|
|
562
|
+
_LT_EOF
|
|
563
|
+
if AC_TRY_EVAL(ac_compile); then
|
|
564
|
+
# Now try to grab the symbols.
|
|
565
|
+
ac_nlist=conftest.nm
|
|
566
|
+
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
|
|
567
|
+
# See whether the symbols have a leading underscore.
|
|
568
|
+
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
|
|
569
|
+
lt_cv_sys_symbol_underscore=yes
|
|
570
|
+
else
|
|
571
|
+
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
|
|
572
|
+
:
|
|
573
|
+
else
|
|
574
|
+
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
|
|
575
|
+
fi
|
|
576
|
+
fi
|
|
577
|
+
else
|
|
578
|
+
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
|
|
579
|
+
fi
|
|
580
|
+
else
|
|
581
|
+
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
|
|
582
|
+
cat conftest.c >&AS_MESSAGE_LOG_FD
|
|
583
|
+
fi
|
|
584
|
+
rm -rf conftest*
|
|
585
|
+
])
|
|
586
|
+
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
|
|
587
|
+
AC_SUBST([sys_symbol_underscore])
|
|
588
|
+
])
|
|
589
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:795: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])], [], [])
|
|
590
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:795: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_warn([obsolete], [The macro 'AC_LTDL_SYMBOL_USCORE' is obsolete.
|
|
591
|
+
You should run autoupdate.])dnl
|
|
592
|
+
m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
|
|
593
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
|
|
594
|
+
AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
|
|
595
|
+
AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
|
|
596
|
+
if test yes = "$lt_cv_sys_symbol_underscore"; then
|
|
597
|
+
if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
|
|
598
|
+
AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
|
|
599
|
+
[libltdl_cv_need_uscore],
|
|
600
|
+
[libltdl_cv_need_uscore=unknown
|
|
601
|
+
dlsym_uscore_save_LIBS=$LIBS
|
|
602
|
+
LIBS="$LIBS $LIBADD_DLOPEN"
|
|
603
|
+
libname=conftmod # stay within 8.3 filename limits!
|
|
604
|
+
cat >$libname.$ac_ext <<_LT_EOF
|
|
605
|
+
[#line $LINENO "configure"
|
|
606
|
+
#include "confdefs.h"
|
|
607
|
+
/* When -fvisibility=hidden is used, assume the code has been annotated
|
|
608
|
+
correspondingly for the symbols needed. */
|
|
609
|
+
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
|
610
|
+
int fnord () __attribute__((visibility("default")));
|
|
611
|
+
#endif
|
|
612
|
+
int fnord () { return 42; }]
|
|
613
|
+
_LT_EOF
|
|
614
|
+
|
|
615
|
+
# ltfn_module_cmds module_cmds
|
|
616
|
+
# Execute tilde-delimited MODULE_CMDS with environment primed for
|
|
617
|
+
# $module_cmds or $archive_cmds type content.
|
|
618
|
+
ltfn_module_cmds ()
|
|
619
|
+
{( # subshell avoids polluting parent global environment
|
|
620
|
+
module_cmds_save_ifs=$IFS; IFS='~'
|
|
621
|
+
for cmd in @S|@1; do
|
|
622
|
+
IFS=$module_cmds_save_ifs
|
|
623
|
+
libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
|
|
624
|
+
rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
|
|
625
|
+
major=; versuffix=; verstring=; deplibs=
|
|
626
|
+
ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
|
|
627
|
+
eval $cmd
|
|
628
|
+
done
|
|
629
|
+
IFS=$module_cmds_save_ifs
|
|
630
|
+
)}
|
|
631
|
+
|
|
632
|
+
# Compile a loadable module using libtool macro expansion results.
|
|
633
|
+
$CC $pic_flag -c $libname.$ac_ext
|
|
634
|
+
ltfn_module_cmds "${module_cmds:-$archive_cmds}"
|
|
635
|
+
|
|
636
|
+
# Try to fetch fnord with dlsym().
|
|
637
|
+
libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
|
|
638
|
+
cat >conftest.$ac_ext <<_LT_EOF
|
|
639
|
+
[#line $LINENO "configure"
|
|
640
|
+
#include "confdefs.h"
|
|
641
|
+
#if HAVE_DLFCN_H
|
|
642
|
+
#include <dlfcn.h>
|
|
643
|
+
#endif
|
|
644
|
+
#include <stdio.h>
|
|
645
|
+
#ifndef RTLD_GLOBAL
|
|
646
|
+
# ifdef DL_GLOBAL
|
|
647
|
+
# define RTLD_GLOBAL DL_GLOBAL
|
|
648
|
+
# else
|
|
649
|
+
# define RTLD_GLOBAL 0
|
|
650
|
+
# endif
|
|
651
|
+
#endif
|
|
652
|
+
#ifndef RTLD_NOW
|
|
653
|
+
# ifdef DL_NOW
|
|
654
|
+
# define RTLD_NOW DL_NOW
|
|
655
|
+
# else
|
|
656
|
+
# define RTLD_NOW 0
|
|
657
|
+
# endif
|
|
658
|
+
#endif
|
|
659
|
+
int main (void) {
|
|
660
|
+
void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
|
|
661
|
+
int status = $libltdl_dlunknown;
|
|
662
|
+
if (handle) {
|
|
663
|
+
if (dlsym (handle, "fnord"))
|
|
664
|
+
status = $libltdl_dlnouscore;
|
|
665
|
+
else {
|
|
666
|
+
if (dlsym (handle, "_fnord"))
|
|
667
|
+
status = $libltdl_dluscore;
|
|
668
|
+
else
|
|
669
|
+
puts (dlerror ());
|
|
670
|
+
}
|
|
671
|
+
dlclose (handle);
|
|
672
|
+
} else
|
|
673
|
+
puts (dlerror ());
|
|
674
|
+
return status;
|
|
675
|
+
}]
|
|
676
|
+
_LT_EOF
|
|
677
|
+
if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
|
|
678
|
+
(./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
|
|
679
|
+
libltdl_status=$?
|
|
680
|
+
case x$libltdl_status in
|
|
681
|
+
x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
|
|
682
|
+
x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
|
|
683
|
+
x*) libltdl_cv_need_uscore=unknown ;;
|
|
684
|
+
esac
|
|
685
|
+
fi
|
|
686
|
+
rm -rf conftest* $libname*
|
|
687
|
+
LIBS=$dlsym_uscore_save_LIBS
|
|
688
|
+
])
|
|
689
|
+
fi
|
|
690
|
+
fi
|
|
691
|
+
|
|
692
|
+
if test yes = "$libltdl_cv_need_uscore"; then
|
|
693
|
+
AC_DEFINE([NEED_USCORE], [1],
|
|
694
|
+
[Define if dlsym() requires a leading underscore in symbol names.])
|
|
695
|
+
fi
|
|
696
|
+
])
|
|
697
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:909: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])], [], [])
|
|
698
|
+
m4trace:/opt/homebrew/share/aclocal/ltdl.m4:909: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_warn([obsolete], [The macro 'AC_LTDL_DLSYM_USCORE' is obsolete.
|
|
699
|
+
You should run autoupdate.])dnl
|
|
700
|
+
m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
|
|
701
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:62: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
|
702
|
+
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
|
|
703
|
+
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
|
|
704
|
+
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
|
|
705
|
+
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
|
|
706
|
+
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
|
|
707
|
+
|
|
708
|
+
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
|
709
|
+
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
|
710
|
+
fi
|
|
711
|
+
if test -n "$PKG_CONFIG"; then
|
|
712
|
+
_pkg_min_version=m4_default([$1], [0.9.0])
|
|
713
|
+
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
|
|
714
|
+
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
|
715
|
+
AC_MSG_RESULT([yes])
|
|
716
|
+
else
|
|
717
|
+
AC_MSG_RESULT([no])
|
|
718
|
+
PKG_CONFIG=""
|
|
719
|
+
fi
|
|
720
|
+
fi
|
|
721
|
+
if test -z "$PKG_CONFIG"; then
|
|
722
|
+
m4_default([$2], [AC_MSG_ERROR([pkg-config not found])])
|
|
723
|
+
fi[]dnl
|
|
724
|
+
])
|
|
725
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:99: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
726
|
+
if test -n "$PKG_CONFIG" && \
|
|
727
|
+
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
|
|
728
|
+
m4_default([$2], [:])
|
|
729
|
+
m4_ifvaln([$3], [else
|
|
730
|
+
$3])dnl
|
|
731
|
+
fi])
|
|
732
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:128: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
|
733
|
+
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
734
|
+
_pkg_short_errors_supported=yes
|
|
735
|
+
else
|
|
736
|
+
_pkg_short_errors_supported=no
|
|
737
|
+
fi[]dnl
|
|
738
|
+
])
|
|
739
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:146: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
740
|
+
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
|
|
741
|
+
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
|
742
|
+
|
|
743
|
+
pkg_failed=no
|
|
744
|
+
AC_MSG_CHECKING([for $2])
|
|
745
|
+
|
|
746
|
+
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
|
747
|
+
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
|
748
|
+
|
|
749
|
+
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
|
|
750
|
+
and $1[]_LIBS to avoid the need to call pkg-config.
|
|
751
|
+
See the pkg-config man page for more details.])
|
|
752
|
+
|
|
753
|
+
if test $pkg_failed = yes; then
|
|
754
|
+
AC_MSG_RESULT([no])
|
|
755
|
+
_PKG_SHORT_ERRORS_SUPPORTED
|
|
756
|
+
if test $_pkg_short_errors_supported = yes; then
|
|
757
|
+
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
|
|
758
|
+
else
|
|
759
|
+
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
|
|
760
|
+
fi
|
|
761
|
+
# Put the nasty error message in config.log where it belongs
|
|
762
|
+
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
|
|
763
|
+
|
|
764
|
+
m4_default([$4], [AC_MSG_ERROR(
|
|
765
|
+
[Package requirements ($2) were not met:
|
|
766
|
+
|
|
767
|
+
$$1_PKG_ERRORS
|
|
768
|
+
|
|
769
|
+
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
770
|
+
installed software in a non-standard prefix.
|
|
771
|
+
|
|
772
|
+
_PKG_TEXT])[]dnl
|
|
773
|
+
])
|
|
774
|
+
elif test $pkg_failed = untried; then
|
|
775
|
+
AC_MSG_RESULT([no])
|
|
776
|
+
m4_default([$4], [AC_MSG_FAILURE(
|
|
777
|
+
[The pkg-config script could not be found or is too old. Make sure it
|
|
778
|
+
is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
779
|
+
path to pkg-config.
|
|
780
|
+
|
|
781
|
+
_PKG_TEXT
|
|
782
|
+
|
|
783
|
+
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
|
|
784
|
+
])
|
|
785
|
+
else
|
|
786
|
+
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
|
|
787
|
+
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
|
|
788
|
+
AC_MSG_RESULT([yes])
|
|
789
|
+
$3
|
|
790
|
+
fi[]dnl
|
|
791
|
+
])
|
|
792
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:215: -1- AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
793
|
+
_save_PKG_CONFIG=$PKG_CONFIG
|
|
794
|
+
PKG_CONFIG="$PKG_CONFIG --static"
|
|
795
|
+
PKG_CHECK_MODULES($@)
|
|
796
|
+
PKG_CONFIG=$_save_PKG_CONFIG[]dnl
|
|
797
|
+
])
|
|
798
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:233: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
|
|
799
|
+
m4_pushdef([pkg_description],
|
|
800
|
+
[pkg-config installation directory @<:@]pkg_default[@:>@])
|
|
801
|
+
AC_ARG_WITH([pkgconfigdir],
|
|
802
|
+
[AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
|
|
803
|
+
[with_pkgconfigdir=]pkg_default)
|
|
804
|
+
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
|
|
805
|
+
m4_popdef([pkg_default])
|
|
806
|
+
m4_popdef([pkg_description])
|
|
807
|
+
])
|
|
808
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:255: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
|
|
809
|
+
m4_pushdef([pkg_description],
|
|
810
|
+
[pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
|
|
811
|
+
AC_ARG_WITH([noarch-pkgconfigdir],
|
|
812
|
+
[AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
|
|
813
|
+
[with_noarch_pkgconfigdir=]pkg_default)
|
|
814
|
+
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
|
|
815
|
+
m4_popdef([pkg_default])
|
|
816
|
+
m4_popdef([pkg_description])
|
|
817
|
+
])
|
|
818
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:274: -1- AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
819
|
+
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
|
|
820
|
+
|
|
821
|
+
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
|
|
822
|
+
AS_VAR_COPY([$1], [pkg_cv_][$1])
|
|
823
|
+
|
|
824
|
+
AS_VAR_IF([$1], [""], [$5], [$4])dnl
|
|
825
|
+
])
|
|
826
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:292: -1- AC_DEFUN([PKG_WITH_MODULES], [
|
|
827
|
+
m4_pushdef([with_arg], m4_tolower([$1]))
|
|
828
|
+
|
|
829
|
+
m4_pushdef([description],
|
|
830
|
+
[m4_default([$5], [build with ]with_arg[ support])])
|
|
831
|
+
|
|
832
|
+
m4_pushdef([def_arg], [m4_default([$6], [auto])])
|
|
833
|
+
m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
|
|
834
|
+
m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
|
|
835
|
+
|
|
836
|
+
m4_case(def_arg,
|
|
837
|
+
[yes],[m4_pushdef([with_without], [--without-]with_arg)],
|
|
838
|
+
[m4_pushdef([with_without],[--with-]with_arg)])
|
|
839
|
+
|
|
840
|
+
AC_ARG_WITH(with_arg,
|
|
841
|
+
AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
|
|
842
|
+
[AS_TR_SH([with_]with_arg)=def_arg])
|
|
843
|
+
|
|
844
|
+
AS_CASE([$AS_TR_SH([with_]with_arg)],
|
|
845
|
+
[yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
|
|
846
|
+
[auto],[PKG_CHECK_MODULES([$1],[$2],
|
|
847
|
+
[m4_n([def_action_if_found]) $3],
|
|
848
|
+
[m4_n([def_action_if_not_found]) $4])])
|
|
849
|
+
|
|
850
|
+
m4_popdef([with_arg])
|
|
851
|
+
m4_popdef([description])
|
|
852
|
+
m4_popdef([def_arg])
|
|
853
|
+
|
|
854
|
+
])
|
|
855
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:329: -1- AC_DEFUN([PKG_HAVE_WITH_MODULES], [
|
|
856
|
+
PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
|
|
857
|
+
|
|
858
|
+
AM_CONDITIONAL([HAVE_][$1],
|
|
859
|
+
[test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
|
|
860
|
+
])
|
|
861
|
+
m4trace:/opt/homebrew/share/aclocal/pkg.m4:344: -1- AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], [
|
|
862
|
+
PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
|
|
863
|
+
|
|
864
|
+
AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
|
|
865
|
+
[AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
|
|
866
|
+
])
|
|
867
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.18'
|
|
868
|
+
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
|
869
|
+
dnl require some minimum version. Point them to the right macro.
|
|
870
|
+
m4_if([$1], [1.18], [],
|
|
871
|
+
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
|
872
|
+
])
|
|
873
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.18])dnl
|
|
874
|
+
m4_ifndef([AC_AUTOCONF_VERSION],
|
|
875
|
+
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
|
876
|
+
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
|
877
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
878
|
+
# Expand $ac_aux_dir to an absolute path.
|
|
879
|
+
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|
880
|
+
])
|
|
881
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
|
|
882
|
+
m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
883
|
+
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
884
|
+
AC_SUBST([$1_TRUE])dnl
|
|
885
|
+
AC_SUBST([$1_FALSE])dnl
|
|
886
|
+
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
|
887
|
+
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
|
888
|
+
m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
|
889
|
+
if $2; then
|
|
890
|
+
$1_TRUE=
|
|
891
|
+
$1_FALSE='#'
|
|
892
|
+
else
|
|
893
|
+
$1_TRUE='#'
|
|
894
|
+
$1_FALSE=
|
|
895
|
+
fi
|
|
896
|
+
AC_CONFIG_COMMANDS_PRE(
|
|
897
|
+
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
|
898
|
+
AC_MSG_ERROR([[conditional "$1" was never defined.
|
|
899
|
+
Usually this means the macro was only invoked conditionally.]])
|
|
900
|
+
fi])])
|
|
901
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
|
|
902
|
+
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
|
903
|
+
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
|
904
|
+
AC_REQUIRE([AM_DEP_TRACK])dnl
|
|
905
|
+
|
|
906
|
+
m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
|
|
907
|
+
[$1], [CXX], [depcc="$CXX" am_compiler_list=],
|
|
908
|
+
[$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
|
909
|
+
[$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
|
|
910
|
+
[$1], [UPC], [depcc="$UPC" am_compiler_list=],
|
|
911
|
+
[$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
|
912
|
+
[depcc="$$1" am_compiler_list=])
|
|
913
|
+
|
|
914
|
+
AC_CACHE_CHECK([dependency style of $depcc],
|
|
915
|
+
[am_cv_$1_dependencies_compiler_type],
|
|
916
|
+
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
917
|
+
# We make a subdir and do the tests there. Otherwise we can end up
|
|
918
|
+
# making bogus files that we don't know about and never remove. For
|
|
919
|
+
# instance it was reported that on HP-UX the gcc test will end up
|
|
920
|
+
# making a dummy file named 'D' -- because '-MD' means "put the output
|
|
921
|
+
# in D".
|
|
922
|
+
rm -rf conftest.dir
|
|
923
|
+
mkdir conftest.dir
|
|
924
|
+
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
925
|
+
# using a relative directory.
|
|
926
|
+
cp "$am_depcomp" conftest.dir
|
|
927
|
+
cd conftest.dir
|
|
928
|
+
# We will build objects and dependencies in a subdirectory because
|
|
929
|
+
# it helps to detect inapplicable dependency modes. For instance
|
|
930
|
+
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
931
|
+
# side effect of compilation, but ICC will put the dependencies in
|
|
932
|
+
# the current directory while Tru64 will put them in the object
|
|
933
|
+
# directory.
|
|
934
|
+
mkdir sub
|
|
935
|
+
|
|
936
|
+
am_cv_$1_dependencies_compiler_type=none
|
|
937
|
+
if test "$am_compiler_list" = ""; then
|
|
938
|
+
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
|
939
|
+
fi
|
|
940
|
+
am__universal=false
|
|
941
|
+
m4_case([$1], [CC],
|
|
942
|
+
[case " $depcc " in #(
|
|
943
|
+
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
944
|
+
esac],
|
|
945
|
+
[CXX],
|
|
946
|
+
[case " $depcc " in #(
|
|
947
|
+
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
948
|
+
esac])
|
|
949
|
+
|
|
950
|
+
for depmode in $am_compiler_list; do
|
|
951
|
+
# Setup a source with many dependencies, because some compilers
|
|
952
|
+
# like to wrap large dependency lists on column 80 (with \), and
|
|
953
|
+
# we should not choose a depcomp mode which is confused by this.
|
|
954
|
+
#
|
|
955
|
+
# We need to recreate these files for each test, as the compiler may
|
|
956
|
+
# overwrite some of them when testing with obscure command lines.
|
|
957
|
+
# This happens at least with the AIX C compiler.
|
|
958
|
+
: > sub/conftest.c
|
|
959
|
+
for i in 1 2 3 4 5 6; do
|
|
960
|
+
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
961
|
+
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
962
|
+
# Solaris 10 /bin/sh.
|
|
963
|
+
echo '/* dummy */' > sub/conftst$i.h
|
|
964
|
+
done
|
|
965
|
+
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
966
|
+
|
|
967
|
+
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
968
|
+
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
969
|
+
# handle '-M -o', and we need to detect this. Also, some Intel
|
|
970
|
+
# versions had trouble with output in subdirs.
|
|
971
|
+
am__obj=sub/conftest.${OBJEXT-o}
|
|
972
|
+
am__minus_obj="-o $am__obj"
|
|
973
|
+
case $depmode in
|
|
974
|
+
gcc)
|
|
975
|
+
# This depmode causes a compiler race in universal mode.
|
|
976
|
+
test "$am__universal" = false || continue
|
|
977
|
+
;;
|
|
978
|
+
nosideeffect)
|
|
979
|
+
# After this tag, mechanisms are not by side-effect, so they'll
|
|
980
|
+
# only be used when explicitly requested.
|
|
981
|
+
if test "x$enable_dependency_tracking" = xyes; then
|
|
982
|
+
continue
|
|
983
|
+
else
|
|
984
|
+
break
|
|
985
|
+
fi
|
|
986
|
+
;;
|
|
987
|
+
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
988
|
+
# This compiler won't grok '-c -o', but also, the minuso test has
|
|
989
|
+
# not run yet. These depmodes are late enough in the game, and
|
|
990
|
+
# so weak that their functioning should not be impacted.
|
|
991
|
+
am__obj=conftest.${OBJEXT-o}
|
|
992
|
+
am__minus_obj=
|
|
993
|
+
;;
|
|
994
|
+
none) break ;;
|
|
995
|
+
esac
|
|
996
|
+
if depmode=$depmode \
|
|
997
|
+
source=sub/conftest.c object=$am__obj \
|
|
998
|
+
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
999
|
+
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
1000
|
+
>/dev/null 2>conftest.err &&
|
|
1001
|
+
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
1002
|
+
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
1003
|
+
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|
1004
|
+
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
1005
|
+
# icc doesn't choke on unknown options, it will just issue warnings
|
|
1006
|
+
# or remarks (even with -Werror). So we grep stderr for any message
|
|
1007
|
+
# that says an option was ignored or not supported.
|
|
1008
|
+
# When given -MP, icc 7.0 and 7.1 complain thus:
|
|
1009
|
+
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
1010
|
+
# The diagnosis changed in icc 8.0:
|
|
1011
|
+
# icc: Command line remark: option '-MP' not supported
|
|
1012
|
+
if (grep 'ignoring option' conftest.err ||
|
|
1013
|
+
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
1014
|
+
am_cv_$1_dependencies_compiler_type=$depmode
|
|
1015
|
+
break
|
|
1016
|
+
fi
|
|
1017
|
+
fi
|
|
1018
|
+
done
|
|
1019
|
+
|
|
1020
|
+
cd ..
|
|
1021
|
+
rm -rf conftest.dir
|
|
1022
|
+
else
|
|
1023
|
+
am_cv_$1_dependencies_compiler_type=none
|
|
1024
|
+
fi
|
|
1025
|
+
])
|
|
1026
|
+
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
|
1027
|
+
AM_CONDITIONAL([am__fastdep$1], [
|
|
1028
|
+
test "x$enable_dependency_tracking" != xno \
|
|
1029
|
+
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
|
1030
|
+
])
|
|
1031
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
|
1032
|
+
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
|
1033
|
+
])
|
|
1034
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
|
|
1035
|
+
AS_HELP_STRING(
|
|
1036
|
+
[--enable-dependency-tracking],
|
|
1037
|
+
[do not reject slow dependency extractors])
|
|
1038
|
+
AS_HELP_STRING(
|
|
1039
|
+
[--disable-dependency-tracking],
|
|
1040
|
+
[speeds up one-time build])])
|
|
1041
|
+
if test "x$enable_dependency_tracking" != xno; then
|
|
1042
|
+
am_depcomp="$ac_aux_dir/depcomp"
|
|
1043
|
+
AMDEPBACKSLASH='\'
|
|
1044
|
+
am__nodep='_no'
|
|
1045
|
+
fi
|
|
1046
|
+
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
|
1047
|
+
AC_SUBST([AMDEPBACKSLASH])dnl
|
|
1048
|
+
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
|
1049
|
+
AC_SUBST([am__nodep])dnl
|
|
1050
|
+
_AM_SUBST_NOTMAKE([am__nodep])dnl
|
|
1051
|
+
])
|
|
1052
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
|
|
1053
|
+
# Older Autoconf quotes --file arguments for eval, but not when files
|
|
1054
|
+
# are listed without --file. Let's play safe and only enable the eval
|
|
1055
|
+
# if we detect the quoting.
|
|
1056
|
+
# TODO: see whether this extra hack can be removed once we start
|
|
1057
|
+
# requiring Autoconf 2.70 or later.
|
|
1058
|
+
AS_CASE([$CONFIG_FILES],
|
|
1059
|
+
[*\'*], [eval set x "$CONFIG_FILES"],
|
|
1060
|
+
[*], [set x $CONFIG_FILES])
|
|
1061
|
+
shift
|
|
1062
|
+
# Used to flag and report bootstrapping failures.
|
|
1063
|
+
am_rc=0
|
|
1064
|
+
for am_mf
|
|
1065
|
+
do
|
|
1066
|
+
# Strip MF so we end up with the name of the file.
|
|
1067
|
+
am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
|
|
1068
|
+
# Check whether this is an Automake generated Makefile which includes
|
|
1069
|
+
# dependency-tracking related rules and includes.
|
|
1070
|
+
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
1071
|
+
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
1072
|
+
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
|
1073
|
+
|| continue
|
|
1074
|
+
am_dirpart=`AS_DIRNAME(["$am_mf"])`
|
|
1075
|
+
am_filepart=`AS_BASENAME(["$am_mf"])`
|
|
1076
|
+
AM_RUN_LOG([cd "$am_dirpart" \
|
|
1077
|
+
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
1078
|
+
| $MAKE -f - am--depfiles]) || am_rc=$?
|
|
1079
|
+
done
|
|
1080
|
+
if test $am_rc -ne 0; then
|
|
1081
|
+
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
|
|
1082
|
+
for automatic dependency tracking. If GNU make was not used, consider
|
|
1083
|
+
re-running the configure script with MAKE="gmake" (or whatever is
|
|
1084
|
+
necessary). You can also try re-running configure with the
|
|
1085
|
+
'--disable-dependency-tracking' option to at least be able to build
|
|
1086
|
+
the package (albeit without support for automatic dependency tracking).])
|
|
1087
|
+
fi
|
|
1088
|
+
AS_UNSET([am_dirpart])
|
|
1089
|
+
AS_UNSET([am_filepart])
|
|
1090
|
+
AS_UNSET([am_mf])
|
|
1091
|
+
AS_UNSET([am_rc])
|
|
1092
|
+
rm -f conftest-deps.mk
|
|
1093
|
+
}
|
|
1094
|
+
])
|
|
1095
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
|
|
1096
|
+
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
1097
|
+
[AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
|
|
1098
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/extra-recurs.m4:16: -1- AC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], [])
|
|
1099
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
|
|
1100
|
+
m4_ifdef([_$0_ALREADY_INIT],
|
|
1101
|
+
[m4_fatal([$0 expanded multiple times
|
|
1102
|
+
]m4_defn([_$0_ALREADY_INIT]))],
|
|
1103
|
+
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
|
|
1104
|
+
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
|
1105
|
+
dnl the ones we care about.
|
|
1106
|
+
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
|
1107
|
+
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
|
1108
|
+
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
|
1109
|
+
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
1110
|
+
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
1111
|
+
# is not polluted with repeated "-I."
|
|
1112
|
+
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
|
1113
|
+
# test to see if srcdir already configured
|
|
1114
|
+
if test -f $srcdir/config.status; then
|
|
1115
|
+
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
|
1116
|
+
fi
|
|
1117
|
+
fi
|
|
1118
|
+
|
|
1119
|
+
# test whether we have cygpath
|
|
1120
|
+
if test -z "$CYGPATH_W"; then
|
|
1121
|
+
if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
1122
|
+
CYGPATH_W='cygpath -w'
|
|
1123
|
+
else
|
|
1124
|
+
CYGPATH_W=echo
|
|
1125
|
+
fi
|
|
1126
|
+
fi
|
|
1127
|
+
AC_SUBST([CYGPATH_W])
|
|
1128
|
+
|
|
1129
|
+
# Define the identity of the package.
|
|
1130
|
+
dnl Distinguish between old-style and new-style calls.
|
|
1131
|
+
m4_ifval([$2],
|
|
1132
|
+
[AC_DIAGNOSE([obsolete],
|
|
1133
|
+
[$0: two- and three-arguments forms are deprecated.])
|
|
1134
|
+
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
|
1135
|
+
AC_SUBST([PACKAGE], [$1])dnl
|
|
1136
|
+
AC_SUBST([VERSION], [$2])],
|
|
1137
|
+
[_AM_SET_OPTIONS([$1])dnl
|
|
1138
|
+
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
|
1139
|
+
m4_if(
|
|
1140
|
+
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
|
|
1141
|
+
[ok:ok],,
|
|
1142
|
+
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
|
1143
|
+
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
|
1144
|
+
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
|
1145
|
+
|
|
1146
|
+
_AM_IF_OPTION([no-define],,
|
|
1147
|
+
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
|
|
1148
|
+
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
|
|
1149
|
+
|
|
1150
|
+
# Some tools Automake needs.
|
|
1151
|
+
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
|
1152
|
+
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
|
1153
|
+
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
|
|
1154
|
+
AM_MISSING_PROG([AUTOCONF], [autoconf])
|
|
1155
|
+
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
|
|
1156
|
+
AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
|
1157
|
+
AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
|
1158
|
+
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
|
1159
|
+
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
|
1160
|
+
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
|
1161
|
+
# For better backward compatibility. To be removed once Automake 1.9.x
|
|
1162
|
+
# dies out for good. For more background, see:
|
|
1163
|
+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
1164
|
+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
1165
|
+
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
|
1166
|
+
# We need awk for the "check" target (and possibly the TAP driver). The
|
|
1167
|
+
# system "awk" is bad on some platforms.
|
|
1168
|
+
AC_REQUIRE([AC_PROG_AWK])dnl
|
|
1169
|
+
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
|
1170
|
+
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
|
1171
|
+
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
|
1172
|
+
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
|
1173
|
+
[_AM_IF_OPTION([tar-v7], [_AM_PROG_TAR([v7])],
|
|
1174
|
+
[_AM_PROG_TAR([ustar])])])])
|
|
1175
|
+
_AM_IF_OPTION([no-dependencies],,
|
|
1176
|
+
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
|
1177
|
+
[_AM_DEPENDENCIES([CC])],
|
|
1178
|
+
[m4_define([AC_PROG_CC],
|
|
1179
|
+
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
|
|
1180
|
+
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|
1181
|
+
[_AM_DEPENDENCIES([CXX])],
|
|
1182
|
+
[m4_define([AC_PROG_CXX],
|
|
1183
|
+
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
|
|
1184
|
+
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
|
1185
|
+
[_AM_DEPENDENCIES([OBJC])],
|
|
1186
|
+
[m4_define([AC_PROG_OBJC],
|
|
1187
|
+
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
|
|
1188
|
+
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
|
1189
|
+
[_AM_DEPENDENCIES([OBJCXX])],
|
|
1190
|
+
[m4_define([AC_PROG_OBJCXX],
|
|
1191
|
+
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
|
1192
|
+
])
|
|
1193
|
+
# Variables for tags utilities; see am/tags.am
|
|
1194
|
+
if test -z "$CTAGS"; then
|
|
1195
|
+
CTAGS=ctags
|
|
1196
|
+
fi
|
|
1197
|
+
AC_SUBST([CTAGS])
|
|
1198
|
+
if test -z "$ETAGS"; then
|
|
1199
|
+
ETAGS=etags
|
|
1200
|
+
fi
|
|
1201
|
+
AC_SUBST([ETAGS])
|
|
1202
|
+
if test -z "$CSCOPE"; then
|
|
1203
|
+
CSCOPE=cscope
|
|
1204
|
+
fi
|
|
1205
|
+
AC_SUBST([CSCOPE])
|
|
1206
|
+
|
|
1207
|
+
AC_REQUIRE([_AM_SILENT_RULES])dnl
|
|
1208
|
+
dnl The testsuite driver may need to know about EXEEXT, so add the
|
|
1209
|
+
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
|
1210
|
+
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
|
1211
|
+
AC_CONFIG_COMMANDS_PRE(dnl
|
|
1212
|
+
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
|
1213
|
+
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
|
1214
|
+
|
|
1215
|
+
AC_REQUIRE([_AM_PROG_RM_F])
|
|
1216
|
+
AC_REQUIRE([_AM_PROG_XARGS_N])
|
|
1217
|
+
|
|
1218
|
+
dnl The trailing newline in this macro's definition is deliberate, for
|
|
1219
|
+
dnl backward compatibility and to allow trailing 'dnl'-style comments
|
|
1220
|
+
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
|
|
1221
|
+
])
|
|
1222
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/init.m4:167: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
|
|
1223
|
+
_am_arg=$1
|
|
1224
|
+
_am_stamp_count=1
|
|
1225
|
+
for _am_header in $config_headers :; do
|
|
1226
|
+
case $_am_header in
|
|
1227
|
+
$_am_arg | $_am_arg:* )
|
|
1228
|
+
break ;;
|
|
1229
|
+
* )
|
|
1230
|
+
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
1231
|
+
esac
|
|
1232
|
+
done
|
|
1233
|
+
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
|
1234
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
1235
|
+
if test x"${install_sh+set}" != xset; then
|
|
1236
|
+
case $am_aux_dir in
|
|
1237
|
+
*\ * | *\ *)
|
|
1238
|
+
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
1239
|
+
*)
|
|
1240
|
+
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
1241
|
+
esac
|
|
1242
|
+
fi
|
|
1243
|
+
AC_SUBST([install_sh])])
|
|
1244
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
|
|
1245
|
+
mkdir .tst 2>/dev/null
|
|
1246
|
+
if test -d .tst; then
|
|
1247
|
+
am__leading_dot=.
|
|
1248
|
+
else
|
|
1249
|
+
am__leading_dot=_
|
|
1250
|
+
fi
|
|
1251
|
+
rmdir .tst 2>/dev/null
|
|
1252
|
+
AC_SUBST([am__leading_dot])])
|
|
1253
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
|
|
1254
|
+
cat > confinc.mk << 'END'
|
|
1255
|
+
am__doit:
|
|
1256
|
+
@echo this is the am__doit target >confinc.out
|
|
1257
|
+
.PHONY: am__doit
|
|
1258
|
+
END
|
|
1259
|
+
am__include="#"
|
|
1260
|
+
am__quote=
|
|
1261
|
+
# BSD make does it like this.
|
|
1262
|
+
echo '.include "confinc.mk" # ignored' > confmf.BSD
|
|
1263
|
+
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
1264
|
+
echo 'include confinc.mk # ignored' > confmf.GNU
|
|
1265
|
+
_am_result=no
|
|
1266
|
+
for s in GNU BSD; do
|
|
1267
|
+
AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
|
|
1268
|
+
AS_CASE([$?:`cat confinc.out 2>/dev/null`],
|
|
1269
|
+
['0:this is the am__doit target'],
|
|
1270
|
+
[AS_CASE([$s],
|
|
1271
|
+
[BSD], [am__include='.include' am__quote='"'],
|
|
1272
|
+
[am__include='include' am__quote=''])])
|
|
1273
|
+
if test "$am__include" != "#"; then
|
|
1274
|
+
_am_result="yes ($s style)"
|
|
1275
|
+
break
|
|
1276
|
+
fi
|
|
1277
|
+
done
|
|
1278
|
+
rm -f confinc.* confmf.*
|
|
1279
|
+
AC_MSG_RESULT([${_am_result}])
|
|
1280
|
+
AC_SUBST([am__include])])
|
|
1281
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/make.m4:42: -1- m4_pattern_allow([^am__quote$])
|
|
1282
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
|
|
1283
|
+
$1=${$1-"${am_missing_run}$2"}
|
|
1284
|
+
AC_SUBST($1)])
|
|
1285
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
1286
|
+
AC_REQUIRE_AUX_FILE([missing])dnl
|
|
1287
|
+
if test x"${MISSING+set}" != xset; then
|
|
1288
|
+
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
|
1289
|
+
fi
|
|
1290
|
+
# Use eval to expand $SHELL
|
|
1291
|
+
if eval "$MISSING --is-lightweight"; then
|
|
1292
|
+
am_missing_run="$MISSING "
|
|
1293
|
+
else
|
|
1294
|
+
am_missing_run=
|
|
1295
|
+
AC_MSG_WARN(['missing' script is too old or missing])
|
|
1296
|
+
fi
|
|
1297
|
+
])
|
|
1298
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
|
1299
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
|
|
1300
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
|
1301
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
|
1302
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
1303
|
+
AC_REQUIRE_AUX_FILE([compile])dnl
|
|
1304
|
+
AC_LANG_PUSH([C])dnl
|
|
1305
|
+
AC_CACHE_CHECK(
|
|
1306
|
+
[whether $CC understands -c and -o together],
|
|
1307
|
+
[am_cv_prog_cc_c_o],
|
|
1308
|
+
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
|
|
1309
|
+
# Make sure it works both with $CC and with simple cc.
|
|
1310
|
+
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
1311
|
+
# compilers refuse to overwrite an existing .o file with -o,
|
|
1312
|
+
# though they will create one.
|
|
1313
|
+
am_cv_prog_cc_c_o=yes
|
|
1314
|
+
for am_i in 1 2; do
|
|
1315
|
+
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
|
|
1316
|
+
&& test -f conftest2.$ac_objext; then
|
|
1317
|
+
: OK
|
|
1318
|
+
else
|
|
1319
|
+
am_cv_prog_cc_c_o=no
|
|
1320
|
+
break
|
|
1321
|
+
fi
|
|
1322
|
+
done
|
|
1323
|
+
# aligned with autoconf, so not including core; see bug#72225.
|
|
1324
|
+
rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
|
|
1325
|
+
conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
|
|
1326
|
+
conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
|
|
1327
|
+
unset am_i])
|
|
1328
|
+
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
1329
|
+
# Losing compiler, so override with the script.
|
|
1330
|
+
# FIXME: It is wrong to rewrite CC.
|
|
1331
|
+
# But if we don't then we get into trouble of one sort or another.
|
|
1332
|
+
# A longer-term fix would be to have automake use am__CC in this case,
|
|
1333
|
+
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
1334
|
+
CC="$am_aux_dir/compile $CC"
|
|
1335
|
+
fi
|
|
1336
|
+
AC_LANG_POP([C])])
|
|
1337
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/prog-cc-c-o.m4:50: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
|
1338
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/rmf.m4:12: -1- AC_DEFUN([_AM_PROG_RM_F], [am__rm_f_notfound=
|
|
1339
|
+
AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""'])
|
|
1340
|
+
AC_SUBST(am__rm_f_notfound)
|
|
1341
|
+
])
|
|
1342
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
|
|
1343
|
+
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
|
|
1344
|
+
ac_status=$?
|
|
1345
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
|
|
1346
|
+
(exit $ac_status); }])
|
|
1347
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/sanity.m4:11: -1- AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
|
|
1348
|
+
AC_CACHE_CHECK([whether sleep supports fractional seconds],
|
|
1349
|
+
am_cv_sleep_fractional_seconds, [dnl
|
|
1350
|
+
AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes],
|
|
1351
|
+
[am_cv_sleep_fractional_seconds=no])
|
|
1352
|
+
])])
|
|
1353
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/sanity.m4:28: -1- AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
|
|
1354
|
+
AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
|
|
1355
|
+
AC_CACHE_CHECK([filesystem timestamp resolution],
|
|
1356
|
+
am_cv_filesystem_timestamp_resolution, [dnl
|
|
1357
|
+
# Default to the worst case.
|
|
1358
|
+
am_cv_filesystem_timestamp_resolution=2
|
|
1359
|
+
|
|
1360
|
+
# Only try to go finer than 1 sec if sleep can do it.
|
|
1361
|
+
# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
|
|
1362
|
+
# - 1 sec is not much of a win compared to 2 sec, and
|
|
1363
|
+
# - it takes 2 seconds to perform the test whether 1 sec works.
|
|
1364
|
+
#
|
|
1365
|
+
# Instead, just use the default 2s on platforms that have 1s resolution,
|
|
1366
|
+
# accept the extra 1s delay when using $sleep in the Automake tests, in
|
|
1367
|
+
# exchange for not incurring the 2s delay for running the test for all
|
|
1368
|
+
# packages.
|
|
1369
|
+
#
|
|
1370
|
+
am_try_resolutions=
|
|
1371
|
+
if test "$am_cv_sleep_fractional_seconds" = yes; then
|
|
1372
|
+
# Even a millisecond often causes a bunch of false positives,
|
|
1373
|
+
# so just try a hundredth of a second. The time saved between .001 and
|
|
1374
|
+
# .01 is not terribly consequential.
|
|
1375
|
+
am_try_resolutions="0.01 0.1 $am_try_resolutions"
|
|
1376
|
+
fi
|
|
1377
|
+
|
|
1378
|
+
# In order to catch current-generation FAT out, we must *modify* files
|
|
1379
|
+
# that already exist; the *creation* timestamp is finer. Use names
|
|
1380
|
+
# that make ls -t sort them differently when they have equal
|
|
1381
|
+
# timestamps than when they have distinct timestamps, keeping
|
|
1382
|
+
# in mind that ls -t prints the *newest* file first.
|
|
1383
|
+
rm -f conftest.ts?
|
|
1384
|
+
: > conftest.ts1
|
|
1385
|
+
: > conftest.ts2
|
|
1386
|
+
: > conftest.ts3
|
|
1387
|
+
|
|
1388
|
+
# Make sure ls -t actually works. Do 'set' in a subshell so we don't
|
|
1389
|
+
# clobber the current shell's arguments. (Outer-level square brackets
|
|
1390
|
+
# are removed by m4; they're present so that m4 does not expand
|
|
1391
|
+
# <dollar><star>; be careful, easy to get confused.)
|
|
1392
|
+
if (
|
|
1393
|
+
set X `[ls -t conftest.ts[12]]` &&
|
|
1394
|
+
{
|
|
1395
|
+
test "$[]*" != "X conftest.ts1 conftest.ts2" ||
|
|
1396
|
+
test "$[]*" != "X conftest.ts2 conftest.ts1";
|
|
1397
|
+
}
|
|
1398
|
+
); then :; else
|
|
1399
|
+
# If neither matched, then we have a broken ls. This can happen
|
|
1400
|
+
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
1401
|
+
# broken ls alias from the environment. This has actually
|
|
1402
|
+
# happened. Such a system could not be considered "sane".
|
|
1403
|
+
_AS_ECHO_UNQUOTED(
|
|
1404
|
+
["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""],
|
|
1405
|
+
[AS_MESSAGE_LOG_FD])
|
|
1406
|
+
AC_MSG_FAILURE([ls -t produces unexpected output.
|
|
1407
|
+
Make sure there is not a broken ls alias in your environment.])
|
|
1408
|
+
fi
|
|
1409
|
+
|
|
1410
|
+
for am_try_res in $am_try_resolutions; do
|
|
1411
|
+
# Any one fine-grained sleep might happen to cross the boundary
|
|
1412
|
+
# between two values of a coarser actual resolution, but if we do
|
|
1413
|
+
# two fine-grained sleeps in a row, at least one of them will fall
|
|
1414
|
+
# entirely within a coarse interval.
|
|
1415
|
+
echo alpha > conftest.ts1
|
|
1416
|
+
sleep $am_try_res
|
|
1417
|
+
echo beta > conftest.ts2
|
|
1418
|
+
sleep $am_try_res
|
|
1419
|
+
echo gamma > conftest.ts3
|
|
1420
|
+
|
|
1421
|
+
# We assume that 'ls -t' will make use of high-resolution
|
|
1422
|
+
# timestamps if the operating system supports them at all.
|
|
1423
|
+
if (set X `ls -t conftest.ts?` &&
|
|
1424
|
+
test "$[]2" = conftest.ts3 &&
|
|
1425
|
+
test "$[]3" = conftest.ts2 &&
|
|
1426
|
+
test "$[]4" = conftest.ts1); then
|
|
1427
|
+
#
|
|
1428
|
+
# Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
|
|
1429
|
+
# because we don't need to test make.
|
|
1430
|
+
make_ok=true
|
|
1431
|
+
if test $am_try_res != 1; then
|
|
1432
|
+
# But if we've succeeded so far with a subsecond resolution, we
|
|
1433
|
+
# have one more thing to check: make. It can happen that
|
|
1434
|
+
# everything else supports the subsecond mtimes, but make doesn't;
|
|
1435
|
+
# notably on macOS, which ships make 3.81 from 2006 (the last one
|
|
1436
|
+
# released under GPLv2). https://bugs.gnu.org/68808
|
|
1437
|
+
#
|
|
1438
|
+
# We test $MAKE if it is defined in the environment, else "make".
|
|
1439
|
+
# It might get overridden later, but our hope is that in practice
|
|
1440
|
+
# it does not matter: it is the system "make" which is (by far)
|
|
1441
|
+
# the most likely to be broken, whereas if the user overrides it,
|
|
1442
|
+
# probably they did so with a better, or at least not worse, make.
|
|
1443
|
+
# https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
|
|
1444
|
+
#
|
|
1445
|
+
# Create a Makefile (real tab character here):
|
|
1446
|
+
rm -f conftest.mk
|
|
1447
|
+
echo 'conftest.ts1: conftest.ts2' >conftest.mk
|
|
1448
|
+
echo ' touch conftest.ts2' >>conftest.mk
|
|
1449
|
+
#
|
|
1450
|
+
# Now, running
|
|
1451
|
+
# touch conftest.ts1; touch conftest.ts2; make
|
|
1452
|
+
# should touch ts1 because ts2 is newer. This could happen by luck,
|
|
1453
|
+
# but most often, it will fail if make's support is insufficient. So
|
|
1454
|
+
# test for several consecutive successes.
|
|
1455
|
+
#
|
|
1456
|
+
# (We reuse conftest.ts[12] because we still want to modify existing
|
|
1457
|
+
# files, not create new ones, per above.)
|
|
1458
|
+
n=0
|
|
1459
|
+
make=${MAKE-make}
|
|
1460
|
+
until test $n -eq 3; do
|
|
1461
|
+
echo one > conftest.ts1
|
|
1462
|
+
sleep $am_try_res
|
|
1463
|
+
echo two > conftest.ts2 # ts2 should now be newer than ts1
|
|
1464
|
+
if $make -f conftest.mk | grep 'up to date' >/dev/null; then
|
|
1465
|
+
make_ok=false
|
|
1466
|
+
break # out of $n loop
|
|
1467
|
+
fi
|
|
1468
|
+
n=`expr $n + 1`
|
|
1469
|
+
done
|
|
1470
|
+
fi
|
|
1471
|
+
#
|
|
1472
|
+
if $make_ok; then
|
|
1473
|
+
# Everything we know to check worked out, so call this resolution good.
|
|
1474
|
+
am_cv_filesystem_timestamp_resolution=$am_try_res
|
|
1475
|
+
break # out of $am_try_res loop
|
|
1476
|
+
fi
|
|
1477
|
+
# Otherwise, we'll go on to check the next resolution.
|
|
1478
|
+
fi
|
|
1479
|
+
done
|
|
1480
|
+
rm -f conftest.ts?
|
|
1481
|
+
# (end _am_filesystem_timestamp_resolution)
|
|
1482
|
+
])])
|
|
1483
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/sanity.m4:161: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
|
|
1484
|
+
# This check should not be cached, as it may vary across builds of
|
|
1485
|
+
# different projects.
|
|
1486
|
+
AC_MSG_CHECKING([whether build environment is sane])
|
|
1487
|
+
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
1488
|
+
# name. Accept space and tab only in the latter.
|
|
1489
|
+
am_lf='
|
|
1490
|
+
'
|
|
1491
|
+
case `pwd` in
|
|
1492
|
+
*[[\\\"\#\$\&\'\`$am_lf]]*)
|
|
1493
|
+
AC_MSG_RESULT([no])
|
|
1494
|
+
AC_MSG_ERROR([unsafe absolute working directory name]);;
|
|
1495
|
+
esac
|
|
1496
|
+
case $srcdir in
|
|
1497
|
+
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
|
1498
|
+
AC_MSG_RESULT([no])
|
|
1499
|
+
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
|
|
1500
|
+
esac
|
|
1501
|
+
|
|
1502
|
+
# Do 'set' in a subshell so we don't clobber the current shell's
|
|
1503
|
+
# arguments. Must try -L first in case configure is actually a
|
|
1504
|
+
# symlink; some systems play weird games with the mod time of symlinks
|
|
1505
|
+
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
1506
|
+
# directory).
|
|
1507
|
+
am_build_env_is_sane=no
|
|
1508
|
+
am_has_slept=no
|
|
1509
|
+
rm -f conftest.file
|
|
1510
|
+
for am_try in 1 2; do
|
|
1511
|
+
echo "timestamp, slept: $am_has_slept" > conftest.file
|
|
1512
|
+
if (
|
|
1513
|
+
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
1514
|
+
if test "$[]*" = "X"; then
|
|
1515
|
+
# -L didn't work.
|
|
1516
|
+
set X `ls -t "$srcdir/configure" conftest.file`
|
|
1517
|
+
fi
|
|
1518
|
+
test "$[]2" = conftest.file
|
|
1519
|
+
); then
|
|
1520
|
+
am_build_env_is_sane=yes
|
|
1521
|
+
break
|
|
1522
|
+
fi
|
|
1523
|
+
# Just in case.
|
|
1524
|
+
sleep "$am_cv_filesystem_timestamp_resolution"
|
|
1525
|
+
am_has_slept=yes
|
|
1526
|
+
done
|
|
1527
|
+
|
|
1528
|
+
AC_MSG_RESULT([$am_build_env_is_sane])
|
|
1529
|
+
if test "$am_build_env_is_sane" = no; then
|
|
1530
|
+
AC_MSG_ERROR([newly created file is older than distributed files!
|
|
1531
|
+
Check your system clock])
|
|
1532
|
+
fi
|
|
1533
|
+
|
|
1534
|
+
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
|
1535
|
+
# generated files are strictly newer.
|
|
1536
|
+
am_sleep_pid=
|
|
1537
|
+
AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
|
|
1538
|
+
( sleep "$am_cv_filesystem_timestamp_resolution" ) &
|
|
1539
|
+
am_sleep_pid=$!
|
|
1540
|
+
])
|
|
1541
|
+
AC_CONFIG_COMMANDS_PRE(
|
|
1542
|
+
[AC_MSG_CHECKING([that generated files are newer than configure])
|
|
1543
|
+
if test -n "$am_sleep_pid"; then
|
|
1544
|
+
# Hide warnings about reused PIDs.
|
|
1545
|
+
wait $am_sleep_pid 2>/dev/null
|
|
1546
|
+
fi
|
|
1547
|
+
AC_MSG_RESULT([done])])
|
|
1548
|
+
rm -f conftest.file
|
|
1549
|
+
])
|
|
1550
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/silent.m4:11: -1- AC_DEFUN([_AM_SILENT_RULES], [AM_DEFAULT_VERBOSITY=1
|
|
1551
|
+
AC_ARG_ENABLE([silent-rules], [dnl
|
|
1552
|
+
AS_HELP_STRING(
|
|
1553
|
+
[--enable-silent-rules],
|
|
1554
|
+
[less verbose build output (undo: "make V=1")])
|
|
1555
|
+
AS_HELP_STRING(
|
|
1556
|
+
[--disable-silent-rules],
|
|
1557
|
+
[verbose build output (undo: "make V=0")])dnl
|
|
1558
|
+
])
|
|
1559
|
+
dnl
|
|
1560
|
+
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
|
|
1561
|
+
dnl do not support nested variable expansions.
|
|
1562
|
+
dnl See automake bug#9928 and bug#10237.
|
|
1563
|
+
am_make=${MAKE-make}
|
|
1564
|
+
AC_CACHE_CHECK([whether $am_make supports nested variables],
|
|
1565
|
+
[am_cv_make_support_nested_variables],
|
|
1566
|
+
[if AS_ECHO([['TRUE=$(BAR$(V))
|
|
1567
|
+
BAR0=false
|
|
1568
|
+
BAR1=true
|
|
1569
|
+
V=1
|
|
1570
|
+
am__doit:
|
|
1571
|
+
@$(TRUE)
|
|
1572
|
+
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
|
|
1573
|
+
am_cv_make_support_nested_variables=yes
|
|
1574
|
+
else
|
|
1575
|
+
am_cv_make_support_nested_variables=no
|
|
1576
|
+
fi])
|
|
1577
|
+
AC_SUBST([AM_V])dnl
|
|
1578
|
+
AM_SUBST_NOTMAKE([AM_V])dnl
|
|
1579
|
+
AC_SUBST([AM_DEFAULT_V])dnl
|
|
1580
|
+
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
|
|
1581
|
+
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
|
|
1582
|
+
AM_BACKSLASH='\'
|
|
1583
|
+
AC_SUBST([AM_BACKSLASH])dnl
|
|
1584
|
+
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
|
1585
|
+
dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls
|
|
1586
|
+
dnl to AM_SILENT_RULES to change the default value.
|
|
1587
|
+
AC_CONFIG_COMMANDS_PRE([dnl
|
|
1588
|
+
case $enable_silent_rules in @%:@ (((
|
|
1589
|
+
yes) AM_DEFAULT_VERBOSITY=0;;
|
|
1590
|
+
no) AM_DEFAULT_VERBOSITY=1;;
|
|
1591
|
+
esac
|
|
1592
|
+
if test $am_cv_make_support_nested_variables = yes; then
|
|
1593
|
+
dnl Using '$V' instead of '$(V)' breaks IRIX make.
|
|
1594
|
+
AM_V='$(V)'
|
|
1595
|
+
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
1596
|
+
else
|
|
1597
|
+
AM_V=$AM_DEFAULT_VERBOSITY
|
|
1598
|
+
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
|
1599
|
+
fi
|
|
1600
|
+
])dnl
|
|
1601
|
+
])
|
|
1602
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/silent.m4:69: -1- AC_DEFUN([AM_SILENT_RULES], [AC_REQUIRE([_AM_SILENT_RULES])
|
|
1603
|
+
AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])m4_newline
|
|
1604
|
+
dnl We intentionally force a newline after the assignment, since a) nothing
|
|
1605
|
+
dnl good can come of more text following, and b) that was the behavior
|
|
1606
|
+
dnl before 1.17. See https://bugs.gnu.org/72267.
|
|
1607
|
+
])
|
|
1608
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
|
1609
|
+
# Installed binaries are usually stripped using 'strip' when the user
|
|
1610
|
+
# run "make install-strip". However 'strip' might not be the right
|
|
1611
|
+
# tool to use in cross-compilation environments, therefore Automake
|
|
1612
|
+
# will honor the 'STRIP' environment variable to overrule this program.
|
|
1613
|
+
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
|
|
1614
|
+
if test "$cross_compiling" != no; then
|
|
1615
|
+
AC_CHECK_TOOL([STRIP], [strip], :)
|
|
1616
|
+
fi
|
|
1617
|
+
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
1618
|
+
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
1619
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
|
|
1620
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
1621
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
|
|
1622
|
+
# in the wild :-( We should find a proper way to deprecate it ...
|
|
1623
|
+
AC_SUBST([AMTAR], ['$${TAR-tar}'])
|
|
1624
|
+
|
|
1625
|
+
# We'll loop over all known methods to create a tar archive until one works.
|
|
1626
|
+
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
|
1627
|
+
|
|
1628
|
+
m4_if([$1], [v7],
|
|
1629
|
+
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
|
|
1630
|
+
|
|
1631
|
+
[m4_case([$1],
|
|
1632
|
+
[ustar],
|
|
1633
|
+
[# The POSIX 1988 'ustar' format is defined with fixed-size fields.
|
|
1634
|
+
# There is notably a 21 bits limit for the UID and the GID. In fact,
|
|
1635
|
+
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
|
|
1636
|
+
# and bug#13588).
|
|
1637
|
+
am_max_uid=2097151 # 2^21 - 1
|
|
1638
|
+
am_max_gid=$am_max_uid
|
|
1639
|
+
# The $UID and $GID variables are not portable, so we need to resort
|
|
1640
|
+
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
|
|
1641
|
+
# below are definitely unexpected, so allow the users to see them
|
|
1642
|
+
# (that is, avoid stderr redirection).
|
|
1643
|
+
am_uid=`id -u || echo unknown`
|
|
1644
|
+
am_gid=`id -g || echo unknown`
|
|
1645
|
+
AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
|
|
1646
|
+
if test x$am_uid = xunknown; then
|
|
1647
|
+
AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work])
|
|
1648
|
+
elif test $am_uid -le $am_max_uid; then
|
|
1649
|
+
AC_MSG_RESULT([yes])
|
|
1650
|
+
else
|
|
1651
|
+
AC_MSG_RESULT([no])
|
|
1652
|
+
_am_tools=none
|
|
1653
|
+
fi
|
|
1654
|
+
AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
|
|
1655
|
+
if test x$gm_gid = xunknown; then
|
|
1656
|
+
AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work])
|
|
1657
|
+
elif test $am_gid -le $am_max_gid; then
|
|
1658
|
+
AC_MSG_RESULT([yes])
|
|
1659
|
+
else
|
|
1660
|
+
AC_MSG_RESULT([no])
|
|
1661
|
+
_am_tools=none
|
|
1662
|
+
fi],
|
|
1663
|
+
|
|
1664
|
+
[pax],
|
|
1665
|
+
[],
|
|
1666
|
+
|
|
1667
|
+
[m4_fatal([Unknown tar format])])
|
|
1668
|
+
|
|
1669
|
+
AC_MSG_CHECKING([how to create a $1 tar archive])
|
|
1670
|
+
|
|
1671
|
+
# Go ahead even if we have the value already cached. We do so because we
|
|
1672
|
+
# need to set the values for the 'am__tar' and 'am__untar' variables.
|
|
1673
|
+
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
|
1674
|
+
|
|
1675
|
+
for _am_tool in $_am_tools; do
|
|
1676
|
+
case $_am_tool in
|
|
1677
|
+
gnutar)
|
|
1678
|
+
for _am_tar in tar gnutar gtar; do
|
|
1679
|
+
AM_RUN_LOG([$_am_tar --version]) && break
|
|
1680
|
+
done
|
|
1681
|
+
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
|
1682
|
+
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
|
1683
|
+
am__untar="$_am_tar -xf -"
|
|
1684
|
+
;;
|
|
1685
|
+
plaintar)
|
|
1686
|
+
# Must skip GNU tar: if it does not support --format= it doesn't create
|
|
1687
|
+
# ustar tarball either.
|
|
1688
|
+
(tar --version) >/dev/null 2>&1 && continue
|
|
1689
|
+
am__tar='tar chf - "$$tardir"'
|
|
1690
|
+
am__tar_='tar chf - "$tardir"'
|
|
1691
|
+
am__untar='tar xf -'
|
|
1692
|
+
;;
|
|
1693
|
+
pax)
|
|
1694
|
+
am__tar='pax -L -x $1 -w "$$tardir"'
|
|
1695
|
+
am__tar_='pax -L -x $1 -w "$tardir"'
|
|
1696
|
+
am__untar='pax -r'
|
|
1697
|
+
;;
|
|
1698
|
+
cpio)
|
|
1699
|
+
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
|
1700
|
+
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
|
1701
|
+
am__untar='cpio -i -H $1 -d'
|
|
1702
|
+
;;
|
|
1703
|
+
none)
|
|
1704
|
+
am__tar=false
|
|
1705
|
+
am__tar_=false
|
|
1706
|
+
am__untar=false
|
|
1707
|
+
;;
|
|
1708
|
+
esac
|
|
1709
|
+
|
|
1710
|
+
# If the value was cached, stop now. We just wanted to have am__tar
|
|
1711
|
+
# and am__untar set.
|
|
1712
|
+
test -n "${am_cv_prog_tar_$1}" && break
|
|
1713
|
+
|
|
1714
|
+
# tar/untar a dummy directory, and stop if the command works.
|
|
1715
|
+
rm -rf conftest.dir
|
|
1716
|
+
mkdir conftest.dir
|
|
1717
|
+
echo GrepMe > conftest.dir/file
|
|
1718
|
+
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
|
1719
|
+
rm -rf conftest.dir
|
|
1720
|
+
if test -s conftest.tar; then
|
|
1721
|
+
AM_RUN_LOG([$am__untar <conftest.tar])
|
|
1722
|
+
AM_RUN_LOG([cat conftest.dir/file])
|
|
1723
|
+
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
|
1724
|
+
fi
|
|
1725
|
+
done
|
|
1726
|
+
rm -rf conftest.dir
|
|
1727
|
+
|
|
1728
|
+
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
|
1729
|
+
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
|
1730
|
+
|
|
1731
|
+
AC_SUBST([am__tar])
|
|
1732
|
+
AC_SUBST([am__untar])
|
|
1733
|
+
])
|
|
1734
|
+
m4trace:/opt/homebrew/Cellar/automake/1.18/share/aclocal-1.18/xargsn.m4:12: -1- AC_DEFUN([_AM_PROG_XARGS_N], [AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl
|
|
1735
|
+
AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
|
|
1736
|
+
3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])])
|
|
1737
|
+
AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl
|
|
1738
|
+
am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }'
|
|
1739
|
+
])dnl
|
|
1740
|
+
AC_SUBST(am__xargs_n)
|
|
1741
|
+
])
|
|
1742
|
+
m4trace:build-aux/m4/ax_append_compile_flags.m4:40: -1- AC_DEFUN([AX_APPEND_COMPILE_FLAGS], [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
|
|
1743
|
+
AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
|
|
1744
|
+
for flag in $1; do
|
|
1745
|
+
AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4])
|
|
1746
|
+
done
|
|
1747
|
+
])
|
|
1748
|
+
m4trace:build-aux/m4/ax_append_flag.m4:33: -1- AC_DEFUN([AX_APPEND_FLAG], [dnl
|
|
1749
|
+
AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF
|
|
1750
|
+
AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])
|
|
1751
|
+
AS_VAR_SET_IF(FLAGS,[
|
|
1752
|
+
AS_CASE([" AS_VAR_GET(FLAGS) "],
|
|
1753
|
+
[*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])],
|
|
1754
|
+
[
|
|
1755
|
+
AS_VAR_APPEND(FLAGS,[" $1"])
|
|
1756
|
+
AC_RUN_LOG([: FLAGS="$FLAGS"])
|
|
1757
|
+
])
|
|
1758
|
+
],
|
|
1759
|
+
[
|
|
1760
|
+
AS_VAR_SET(FLAGS,[$1])
|
|
1761
|
+
AC_RUN_LOG([: FLAGS="$FLAGS"])
|
|
1762
|
+
])
|
|
1763
|
+
AS_VAR_POPDEF([FLAGS])dnl
|
|
1764
|
+
])
|
|
1765
|
+
m4trace:build-aux/m4/ax_check_compile_flag.m4:39: -1- AC_DEFUN([AX_CHECK_COMPILE_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
|
|
1766
|
+
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
|
|
1767
|
+
AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
|
|
1768
|
+
ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
|
|
1769
|
+
_AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
|
|
1770
|
+
AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
|
|
1771
|
+
[AS_VAR_SET(CACHEVAR,[yes])],
|
|
1772
|
+
[AS_VAR_SET(CACHEVAR,[no])])
|
|
1773
|
+
_AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
|
|
1774
|
+
AS_VAR_IF(CACHEVAR,yes,
|
|
1775
|
+
[m4_default([$2], :)],
|
|
1776
|
+
[m4_default([$3], :)])
|
|
1777
|
+
AS_VAR_POPDEF([CACHEVAR])dnl
|
|
1778
|
+
])
|
|
1779
|
+
m4trace:build-aux/m4/ax_check_vscript.m4:63: -1- AC_DEFUN([_AX_CHECK_VSCRIPT], [
|
|
1780
|
+
AC_LANG_PUSH([C])
|
|
1781
|
+
ax_check_vscript_save_flags="$LDFLAGS"
|
|
1782
|
+
echo "V1 { global: $2; local: *; };" > conftest.map
|
|
1783
|
+
AS_IF([test x$4 = xyes], [
|
|
1784
|
+
echo "{" >> conftest.map
|
|
1785
|
+
])
|
|
1786
|
+
LDFLAGS="$LDFLAGS -Wl,$1,conftest.map"
|
|
1787
|
+
AC_LINK_IFELSE([AC_LANG_PROGRAM([[int show, hide;]], [])], [$3])
|
|
1788
|
+
LDFLAGS="$ax_check_vscript_save_flags"
|
|
1789
|
+
rm -f conftest.map
|
|
1790
|
+
AC_LANG_POP([C])
|
|
1791
|
+
])
|
|
1792
|
+
m4trace:build-aux/m4/ax_check_vscript.m4:77: -1- AC_DEFUN([AX_CHECK_VSCRIPT], [
|
|
1793
|
+
|
|
1794
|
+
AC_ARG_ENABLE([symvers],
|
|
1795
|
+
AS_HELP_STRING([--disable-symvers],
|
|
1796
|
+
[disable library symbol versioning [default=auto]]),
|
|
1797
|
+
[want_symvers=$enableval],
|
|
1798
|
+
[want_symvers=yes]
|
|
1799
|
+
)
|
|
1800
|
+
|
|
1801
|
+
AS_IF([test x$want_symvers = xyes], [
|
|
1802
|
+
|
|
1803
|
+
dnl First test --version-script and -M with a simple wildcard.
|
|
1804
|
+
|
|
1805
|
+
AC_CACHE_CHECK([linker version script flag], ax_cv_check_vscript_flag, [
|
|
1806
|
+
ax_cv_check_vscript_flag=unsupported
|
|
1807
|
+
_AX_CHECK_VSCRIPT([--version-script], [show], [
|
|
1808
|
+
ax_cv_check_vscript_flag=--version-script
|
|
1809
|
+
])
|
|
1810
|
+
AS_IF([test x$ax_cv_check_vscript_flag = xunsupported], [
|
|
1811
|
+
_AX_CHECK_VSCRIPT([-M], [show], [ax_cv_check_vscript_flag=-M])
|
|
1812
|
+
])
|
|
1813
|
+
|
|
1814
|
+
dnl The linker may interpret -M (no argument) as "produce a load map."
|
|
1815
|
+
dnl If "-M conftest.map" doesn't fail when conftest.map contains
|
|
1816
|
+
dnl obvious syntax errors, assume this is the case.
|
|
1817
|
+
|
|
1818
|
+
AS_IF([test x$ax_cv_check_vscript_flag != xunsupported], [
|
|
1819
|
+
_AX_CHECK_VSCRIPT([$ax_cv_check_vscript_flag], [show],
|
|
1820
|
+
[ax_cv_check_vscript_flag=unsupported], [yes])
|
|
1821
|
+
])
|
|
1822
|
+
])
|
|
1823
|
+
|
|
1824
|
+
dnl If the simple wildcard worked, retest with a complex wildcard.
|
|
1825
|
+
|
|
1826
|
+
AS_IF([test x$ax_cv_check_vscript_flag != xunsupported], [
|
|
1827
|
+
ax_check_vscript_flag=$ax_cv_check_vscript_flag
|
|
1828
|
+
AC_CACHE_CHECK([if version scripts can use complex wildcards],
|
|
1829
|
+
ax_cv_check_vscript_complex_wildcards, [
|
|
1830
|
+
ax_cv_check_vscript_complex_wildcards=no
|
|
1831
|
+
_AX_CHECK_VSCRIPT([$ax_cv_check_vscript_flag], [sh*], [
|
|
1832
|
+
ax_cv_check_vscript_complex_wildcards=yes])
|
|
1833
|
+
])
|
|
1834
|
+
ax_check_vscript_complex_wildcards="$ax_cv_check_vscript_complex_wildcards"
|
|
1835
|
+
], [
|
|
1836
|
+
ax_check_vscript_flag=
|
|
1837
|
+
ax_check_vscript_complex_wildcards=no
|
|
1838
|
+
])
|
|
1839
|
+
], [
|
|
1840
|
+
AC_MSG_CHECKING([linker version script flag])
|
|
1841
|
+
AC_MSG_RESULT([disabled])
|
|
1842
|
+
|
|
1843
|
+
ax_check_vscript_flag=
|
|
1844
|
+
ax_check_vscript_complex_wildcards=no
|
|
1845
|
+
])
|
|
1846
|
+
|
|
1847
|
+
AS_IF([test x$ax_check_vscript_flag != x], [
|
|
1848
|
+
VSCRIPT_LDFLAGS="-Wl,$ax_check_vscript_flag"
|
|
1849
|
+
AC_SUBST([VSCRIPT_LDFLAGS])
|
|
1850
|
+
])
|
|
1851
|
+
|
|
1852
|
+
AM_CONDITIONAL([HAVE_VSCRIPT],
|
|
1853
|
+
[test x$ax_check_vscript_flag != x])
|
|
1854
|
+
AM_CONDITIONAL([HAVE_VSCRIPT_COMPLEX],
|
|
1855
|
+
[test x$ax_check_vscript_complex_wildcards = xyes])
|
|
1856
|
+
|
|
1857
|
+
])
|
|
1858
|
+
m4trace:build-aux/m4/ax_gcc_func_attribute.m4:84: -1- AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
|
|
1859
|
+
AS_VAR_PUSHDEF([ac_var], [ax_cv_have_func_attribute_$1])
|
|
1860
|
+
|
|
1861
|
+
AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [
|
|
1862
|
+
AC_LINK_IFELSE([AC_LANG_PROGRAM([
|
|
1863
|
+
m4_case([$1],
|
|
1864
|
+
[alias], [
|
|
1865
|
+
int foo( void ) { return 0; }
|
|
1866
|
+
int bar( void ) __attribute__(($1("foo")));
|
|
1867
|
+
],
|
|
1868
|
+
[aligned], [
|
|
1869
|
+
int foo( void ) __attribute__(($1(32)));
|
|
1870
|
+
],
|
|
1871
|
+
[alloc_size], [
|
|
1872
|
+
void *foo(int a) __attribute__(($1(1)));
|
|
1873
|
+
],
|
|
1874
|
+
[always_inline], [
|
|
1875
|
+
inline __attribute__(($1)) int foo( void ) { return 0; }
|
|
1876
|
+
],
|
|
1877
|
+
[artificial], [
|
|
1878
|
+
inline __attribute__(($1)) int foo( void ) { return 0; }
|
|
1879
|
+
],
|
|
1880
|
+
[cold], [
|
|
1881
|
+
int foo( void ) __attribute__(($1));
|
|
1882
|
+
],
|
|
1883
|
+
[const], [
|
|
1884
|
+
int foo( void ) __attribute__(($1));
|
|
1885
|
+
],
|
|
1886
|
+
[constructor_priority], [
|
|
1887
|
+
int foo( void ) __attribute__((__constructor__(65535/2)));
|
|
1888
|
+
],
|
|
1889
|
+
[constructor], [
|
|
1890
|
+
int foo( void ) __attribute__(($1));
|
|
1891
|
+
],
|
|
1892
|
+
[deprecated], [
|
|
1893
|
+
int foo( void ) __attribute__(($1("")));
|
|
1894
|
+
],
|
|
1895
|
+
[destructor], [
|
|
1896
|
+
int foo( void ) __attribute__(($1));
|
|
1897
|
+
],
|
|
1898
|
+
[dllexport], [
|
|
1899
|
+
__attribute__(($1)) int foo( void ) { return 0; }
|
|
1900
|
+
],
|
|
1901
|
+
[dllimport], [
|
|
1902
|
+
int foo( void ) __attribute__(($1));
|
|
1903
|
+
],
|
|
1904
|
+
[error], [
|
|
1905
|
+
int foo( void ) __attribute__(($1("")));
|
|
1906
|
+
],
|
|
1907
|
+
[externally_visible], [
|
|
1908
|
+
int foo( void ) __attribute__(($1));
|
|
1909
|
+
],
|
|
1910
|
+
[fallthrough], [
|
|
1911
|
+
void foo( int x ) {switch (x) { case 1: __attribute__(($1)); case 2: break ; }};
|
|
1912
|
+
],
|
|
1913
|
+
[flatten], [
|
|
1914
|
+
int foo( void ) __attribute__(($1));
|
|
1915
|
+
],
|
|
1916
|
+
[format], [
|
|
1917
|
+
int foo(const char *p, ...) __attribute__(($1(printf, 1, 2)));
|
|
1918
|
+
],
|
|
1919
|
+
[gnu_format], [
|
|
1920
|
+
int foo(const char *p, ...) __attribute__((format(gnu_printf, 1, 2)));
|
|
1921
|
+
],
|
|
1922
|
+
[format_arg], [
|
|
1923
|
+
char *foo(const char *p) __attribute__(($1(1)));
|
|
1924
|
+
],
|
|
1925
|
+
[gnu_inline], [
|
|
1926
|
+
inline __attribute__(($1)) int foo( void ) { return 0; }
|
|
1927
|
+
],
|
|
1928
|
+
[hot], [
|
|
1929
|
+
int foo( void ) __attribute__(($1));
|
|
1930
|
+
],
|
|
1931
|
+
[ifunc], [
|
|
1932
|
+
int my_foo( void ) { return 0; }
|
|
1933
|
+
static int (*resolve_foo(void))(void) { return my_foo; }
|
|
1934
|
+
int foo( void ) __attribute__(($1("resolve_foo")));
|
|
1935
|
+
],
|
|
1936
|
+
[leaf], [
|
|
1937
|
+
__attribute__(($1)) int foo( void ) { return 0; }
|
|
1938
|
+
],
|
|
1939
|
+
[malloc], [
|
|
1940
|
+
void *foo( void ) __attribute__(($1));
|
|
1941
|
+
],
|
|
1942
|
+
[noclone], [
|
|
1943
|
+
int foo( void ) __attribute__(($1));
|
|
1944
|
+
],
|
|
1945
|
+
[noinline], [
|
|
1946
|
+
__attribute__(($1)) int foo( void ) { return 0; }
|
|
1947
|
+
],
|
|
1948
|
+
[nonnull], [
|
|
1949
|
+
int foo(char *p) __attribute__(($1(1)));
|
|
1950
|
+
],
|
|
1951
|
+
[noreturn], [
|
|
1952
|
+
void foo( void ) __attribute__(($1));
|
|
1953
|
+
],
|
|
1954
|
+
[nothrow], [
|
|
1955
|
+
int foo( void ) __attribute__(($1));
|
|
1956
|
+
],
|
|
1957
|
+
[optimize], [
|
|
1958
|
+
__attribute__(($1(3))) int foo( void ) { return 0; }
|
|
1959
|
+
],
|
|
1960
|
+
[pure], [
|
|
1961
|
+
int foo( void ) __attribute__(($1));
|
|
1962
|
+
],
|
|
1963
|
+
[sentinel], [
|
|
1964
|
+
int foo(void *p, ...) __attribute__(($1));
|
|
1965
|
+
],
|
|
1966
|
+
[sentinel_position], [
|
|
1967
|
+
int foo(void *p, ...) __attribute__(($1(1)));
|
|
1968
|
+
],
|
|
1969
|
+
[returns_nonnull], [
|
|
1970
|
+
void *foo( void ) __attribute__(($1));
|
|
1971
|
+
],
|
|
1972
|
+
[unused], [
|
|
1973
|
+
int foo( void ) __attribute__(($1));
|
|
1974
|
+
],
|
|
1975
|
+
[used], [
|
|
1976
|
+
int foo( void ) __attribute__(($1));
|
|
1977
|
+
],
|
|
1978
|
+
[visibility], [
|
|
1979
|
+
int foo_def( void ) __attribute__(($1("default")));
|
|
1980
|
+
int foo_hid( void ) __attribute__(($1("hidden")));
|
|
1981
|
+
int foo_int( void ) __attribute__(($1("internal")));
|
|
1982
|
+
int foo_pro( void ) __attribute__(($1("protected")));
|
|
1983
|
+
],
|
|
1984
|
+
[warning], [
|
|
1985
|
+
int foo( void ) __attribute__(($1("")));
|
|
1986
|
+
],
|
|
1987
|
+
[warn_unused_result], [
|
|
1988
|
+
int foo( void ) __attribute__(($1));
|
|
1989
|
+
],
|
|
1990
|
+
[weak], [
|
|
1991
|
+
int foo( void ) __attribute__(($1));
|
|
1992
|
+
],
|
|
1993
|
+
[weakref], [
|
|
1994
|
+
static int foo( void ) { return 0; }
|
|
1995
|
+
static int bar( void ) __attribute__(($1("foo")));
|
|
1996
|
+
],
|
|
1997
|
+
[symver], [
|
|
1998
|
+
__attribute__(($1("foo@2.0"))) void bar( void ) {}
|
|
1999
|
+
],
|
|
2000
|
+
[
|
|
2001
|
+
m4_warn([syntax], [Unsupported attribute $1, the test may fail])
|
|
2002
|
+
int foo( void ) __attribute__(($1));
|
|
2003
|
+
]
|
|
2004
|
+
)], [])
|
|
2005
|
+
],
|
|
2006
|
+
dnl GCC doesn't exit with an error if an unknown attribute is
|
|
2007
|
+
dnl provided but only outputs a warning, so accept the attribute
|
|
2008
|
+
dnl only if no warning were issued.
|
|
2009
|
+
[AS_IF([grep -q -e -Wattributes -e -Wunknown-attributes -e error -e warning conftest.err],
|
|
2010
|
+
[AS_VAR_SET([ac_var], [no])],
|
|
2011
|
+
[AS_VAR_SET([ac_var], [yes])])],
|
|
2012
|
+
[AS_VAR_SET([ac_var], [no])])
|
|
2013
|
+
])
|
|
2014
|
+
|
|
2015
|
+
AS_IF([test yes = AS_VAR_GET([ac_var])],
|
|
2016
|
+
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_FUNC_ATTRIBUTE_$1), 1,
|
|
2017
|
+
[Define to 1 if the system has the `$1' function attribute])], [])
|
|
2018
|
+
|
|
2019
|
+
AS_VAR_POPDEF([ac_var])
|
|
2020
|
+
])
|
|
2021
|
+
m4trace:build-aux/m4/ax_require_defined.m4:35: -1- AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
|
|
2022
|
+
m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
|
|
2023
|
+
])
|
|
2024
|
+
m4trace:build-aux/m4/ax_valgrind_check.m4:76: -1- AC_DEFUN([AX_VALGRIND_DFLT], [
|
|
2025
|
+
m4_define([en_dflt_valgrind_$1], [$2])
|
|
2026
|
+
])
|
|
2027
|
+
m4trace:build-aux/m4/ax_valgrind_check.m4:80: -1- AC_DEFUN([AX_VALGRIND_CHECK], [
|
|
2028
|
+
AM_EXTRA_RECURSIVE_TARGETS([check-valgrind])
|
|
2029
|
+
m4_foreach([vgtool], [valgrind_tool_list],
|
|
2030
|
+
[AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-]vgtool)])
|
|
2031
|
+
|
|
2032
|
+
dnl Check for --enable-valgrind
|
|
2033
|
+
AC_ARG_ENABLE([valgrind],
|
|
2034
|
+
[AS_HELP_STRING([--enable-valgrind], [Whether to enable Valgrind on the unit tests])],
|
|
2035
|
+
[enable_valgrind=$enableval],[enable_valgrind=])
|
|
2036
|
+
|
|
2037
|
+
AS_IF([test "$enable_valgrind" != "no"],[
|
|
2038
|
+
# Check for Valgrind.
|
|
2039
|
+
AC_PATH_PROG([VALGRIND],[valgrind])
|
|
2040
|
+
AS_IF([test "$VALGRIND" = ""],[
|
|
2041
|
+
AS_IF([test "$enable_valgrind" = "yes"],[
|
|
2042
|
+
AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind])
|
|
2043
|
+
],[
|
|
2044
|
+
enable_valgrind=no
|
|
2045
|
+
])
|
|
2046
|
+
],[
|
|
2047
|
+
enable_valgrind=yes
|
|
2048
|
+
])
|
|
2049
|
+
])
|
|
2050
|
+
|
|
2051
|
+
AM_CONDITIONAL([VALGRIND_ENABLED],[test "$enable_valgrind" = "yes"])
|
|
2052
|
+
AC_SUBST([VALGRIND_ENABLED],[$enable_valgrind])
|
|
2053
|
+
|
|
2054
|
+
# Check for Valgrind tools we care about.
|
|
2055
|
+
[valgrind_enabled_tools=]
|
|
2056
|
+
m4_foreach([vgtool],[valgrind_tool_list],[
|
|
2057
|
+
AC_ARG_ENABLE([valgrind-]vgtool,
|
|
2058
|
+
m4_if(m4_defn([en_dflt_valgrind_]vgtool),[off],dnl
|
|
2059
|
+
[AS_HELP_STRING([--enable-valgrind-]vgtool, [Whether to use ]vgtool[ during the Valgrind tests])],dnl
|
|
2060
|
+
[AS_HELP_STRING([--disable-valgrind-]vgtool, [Whether to skip ]vgtool[ during the Valgrind tests])]),
|
|
2061
|
+
[enable_valgrind_]vgtool[=$enableval],
|
|
2062
|
+
[enable_valgrind_]vgtool[=])
|
|
2063
|
+
AS_IF([test "$enable_valgrind" = "no"],[
|
|
2064
|
+
enable_valgrind_]vgtool[=no],
|
|
2065
|
+
[test "$enable_valgrind_]vgtool[" ]dnl
|
|
2066
|
+
m4_if(m4_defn([en_dflt_valgrind_]vgtool), [off], [= "yes"], [!= "no"]),[
|
|
2067
|
+
AC_CACHE_CHECK([for Valgrind tool ]vgtool,
|
|
2068
|
+
[ax_cv_valgrind_tool_]vgtool,[
|
|
2069
|
+
ax_cv_valgrind_tool_]vgtool[=no
|
|
2070
|
+
m4_set_contains([valgrind_exp_tool_set],vgtool,
|
|
2071
|
+
[m4_define([vgtoolx],[exp-]vgtool)],
|
|
2072
|
+
[m4_define([vgtoolx],vgtool)])
|
|
2073
|
+
AS_IF([`$VALGRIND --tool=]vgtoolx[ --help >/dev/null 2>&1`],[
|
|
2074
|
+
ax_cv_valgrind_tool_]vgtool[=yes
|
|
2075
|
+
])
|
|
2076
|
+
])
|
|
2077
|
+
AS_IF([test "$ax_cv_valgrind_tool_]vgtool[" = "no"],[
|
|
2078
|
+
AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[
|
|
2079
|
+
AC_MSG_ERROR([Valgrind does not support ]vgtool[; reconfigure with --disable-valgrind-]vgtool)
|
|
2080
|
+
],[
|
|
2081
|
+
enable_valgrind_]vgtool[=no
|
|
2082
|
+
])
|
|
2083
|
+
],[
|
|
2084
|
+
enable_valgrind_]vgtool[=yes
|
|
2085
|
+
])
|
|
2086
|
+
])
|
|
2087
|
+
AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[
|
|
2088
|
+
valgrind_enabled_tools="$valgrind_enabled_tools ]m4_bpatsubst(vgtool,[^exp-])["
|
|
2089
|
+
])
|
|
2090
|
+
AC_SUBST([ENABLE_VALGRIND_]vgtool,[$enable_valgrind_]vgtool)
|
|
2091
|
+
])
|
|
2092
|
+
AC_SUBST([valgrind_tools],["]m4_join([ ], valgrind_tool_list)["])
|
|
2093
|
+
AC_SUBST([valgrind_enabled_tools],[$valgrind_enabled_tools])
|
|
2094
|
+
|
|
2095
|
+
[VALGRIND_CHECK_RULES='
|
|
2096
|
+
# Valgrind check
|
|
2097
|
+
#
|
|
2098
|
+
# Optional:
|
|
2099
|
+
# - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
|
|
2100
|
+
# files to load. (Default: empty)
|
|
2101
|
+
# - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
|
|
2102
|
+
# (Default: --num-callers=30)
|
|
2103
|
+
# - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
|
|
2104
|
+
# memcheck, helgrind, drd, sgcheck). (Default: various)
|
|
2105
|
+
|
|
2106
|
+
# Optional variables
|
|
2107
|
+
VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
|
|
2108
|
+
VALGRIND_FLAGS ?= --num-callers=30
|
|
2109
|
+
VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
|
|
2110
|
+
VALGRIND_helgrind_FLAGS ?= --history-level=approx
|
|
2111
|
+
VALGRIND_drd_FLAGS ?=
|
|
2112
|
+
VALGRIND_sgcheck_FLAGS ?=
|
|
2113
|
+
|
|
2114
|
+
# Internal use
|
|
2115
|
+
valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
|
|
2116
|
+
|
|
2117
|
+
valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
|
|
2118
|
+
valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
|
|
2119
|
+
valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
|
|
2120
|
+
valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
|
|
2121
|
+
|
|
2122
|
+
valgrind_quiet = $(valgrind_quiet_$(V))
|
|
2123
|
+
valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
|
|
2124
|
+
valgrind_quiet_0 = --quiet
|
|
2125
|
+
valgrind_v_use = $(valgrind_v_use_$(V))
|
|
2126
|
+
valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
|
|
2127
|
+
valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-local,%,$''@):;
|
|
2128
|
+
|
|
2129
|
+
# Support running with and without libtool.
|
|
2130
|
+
ifneq ($(LIBTOOL),)
|
|
2131
|
+
valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
|
|
2132
|
+
else
|
|
2133
|
+
valgrind_lt =
|
|
2134
|
+
endif
|
|
2135
|
+
|
|
2136
|
+
# Use recursive makes in order to ignore errors during check
|
|
2137
|
+
check-valgrind-local:
|
|
2138
|
+
ifeq ($(VALGRIND_ENABLED),yes)
|
|
2139
|
+
$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
|
|
2140
|
+
$(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
|
|
2141
|
+
else
|
|
2142
|
+
@echo "Need to reconfigure with --enable-valgrind"
|
|
2143
|
+
endif
|
|
2144
|
+
|
|
2145
|
+
# Valgrind running
|
|
2146
|
+
VALGRIND_TESTS_ENVIRONMENT = \
|
|
2147
|
+
$(TESTS_ENVIRONMENT) \
|
|
2148
|
+
env VALGRIND=$(VALGRIND) \
|
|
2149
|
+
G_SLICE=always-malloc,debug-blocks \
|
|
2150
|
+
G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
|
|
2151
|
+
|
|
2152
|
+
VALGRIND_LOG_COMPILER = \
|
|
2153
|
+
$(valgrind_lt) \
|
|
2154
|
+
$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
|
|
2155
|
+
|
|
2156
|
+
define valgrind_tool_rule
|
|
2157
|
+
check-valgrind-$(1)-local:
|
|
2158
|
+
ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
|
|
2159
|
+
ifneq ($$(TESTS),)
|
|
2160
|
+
$$(valgrind_v_use)$$(MAKE) check-TESTS \
|
|
2161
|
+
TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
|
|
2162
|
+
LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
|
|
2163
|
+
LOG_FLAGS="$$(valgrind_$(1)_flags)" \
|
|
2164
|
+
TEST_SUITE_LOG=test-suite-$(1).log
|
|
2165
|
+
endif
|
|
2166
|
+
else ifeq ($$(VALGRIND_ENABLED),yes)
|
|
2167
|
+
@echo "Need to reconfigure with --enable-valgrind-$(1)"
|
|
2168
|
+
else
|
|
2169
|
+
@echo "Need to reconfigure with --enable-valgrind"
|
|
2170
|
+
endif
|
|
2171
|
+
endef
|
|
2172
|
+
|
|
2173
|
+
$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
|
|
2174
|
+
|
|
2175
|
+
A''M_DISTCHECK_CONFIGURE_FLAGS ?=
|
|
2176
|
+
A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
|
|
2177
|
+
|
|
2178
|
+
MOSTLYCLEANFILES ?=
|
|
2179
|
+
MOSTLYCLEANFILES += $(valgrind_log_files)
|
|
2180
|
+
|
|
2181
|
+
.PHONY: check-valgrind $(addprefix check-valgrind-,$(valgrind_tools))
|
|
2182
|
+
']
|
|
2183
|
+
|
|
2184
|
+
AC_SUBST([VALGRIND_CHECK_RULES])
|
|
2185
|
+
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([VALGRIND_CHECK_RULES])])
|
|
2186
|
+
])
|
|
2187
|
+
m4trace:build-aux/m4/libtool.m4:62: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.64])dnl We use AC_PATH_PROGS_FEATURE_CHECK
|
|
2188
|
+
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
2189
|
+
AC_BEFORE([$0], [LT_LANG])dnl
|
|
2190
|
+
AC_BEFORE([$0], [LT_OUTPUT])dnl
|
|
2191
|
+
AC_BEFORE([$0], [LTDL_INIT])dnl
|
|
2192
|
+
m4_require([_LT_CHECK_BUILDDIR])dnl
|
|
2193
|
+
|
|
2194
|
+
dnl Autoconf doesn't catch unexpanded LT_ macros by default:
|
|
2195
|
+
m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
|
|
2196
|
+
m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
|
|
2197
|
+
dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
|
|
2198
|
+
dnl unless we require an AC_DEFUNed macro:
|
|
2199
|
+
AC_REQUIRE([LTOPTIONS_VERSION])dnl
|
|
2200
|
+
AC_REQUIRE([LTSUGAR_VERSION])dnl
|
|
2201
|
+
AC_REQUIRE([LTVERSION_VERSION])dnl
|
|
2202
|
+
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
|
|
2203
|
+
m4_require([_LT_PROG_LTMAIN])dnl
|
|
2204
|
+
|
|
2205
|
+
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
|
|
2206
|
+
|
|
2207
|
+
dnl Parse OPTIONS
|
|
2208
|
+
_LT_SET_OPTIONS([$0], [$1])
|
|
2209
|
+
|
|
2210
|
+
# This can be used to rebuild libtool when needed
|
|
2211
|
+
LIBTOOL_DEPS=$ltmain
|
|
2212
|
+
|
|
2213
|
+
# Always use our own libtool.
|
|
2214
|
+
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
2215
|
+
AC_SUBST(LIBTOOL)dnl
|
|
2216
|
+
|
|
2217
|
+
_LT_SETUP
|
|
2218
|
+
|
|
2219
|
+
# Only expand once:
|
|
2220
|
+
m4_define([LT_INIT])
|
|
2221
|
+
])
|
|
2222
|
+
m4trace:build-aux/m4/libtool.m4:100: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], [])
|
|
2223
|
+
m4trace:build-aux/m4/libtool.m4:100: -1- AC_DEFUN([AC_PROG_LIBTOOL], [m4_warn([obsolete], [The macro 'AC_PROG_LIBTOOL' is obsolete.
|
|
2224
|
+
You should run autoupdate.])dnl
|
|
2225
|
+
m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
|
|
2226
|
+
m4trace:build-aux/m4/libtool.m4:101: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], [])
|
|
2227
|
+
m4trace:build-aux/m4/libtool.m4:101: -1- AC_DEFUN([AM_PROG_LIBTOOL], [m4_warn([obsolete], [The macro 'AM_PROG_LIBTOOL' is obsolete.
|
|
2228
|
+
You should run autoupdate.])dnl
|
|
2229
|
+
m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
|
|
2230
|
+
m4trace:build-aux/m4/libtool.m4:621: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
|
|
2231
|
+
AC_MSG_NOTICE([creating $CONFIG_LT])
|
|
2232
|
+
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
|
|
2233
|
+
[# Run this file to recreate a libtool stub with the current configuration.])
|
|
2234
|
+
|
|
2235
|
+
cat >>"$CONFIG_LT" <<\_LTEOF
|
|
2236
|
+
lt_cl_silent=false
|
|
2237
|
+
exec AS_MESSAGE_LOG_FD>>config.log
|
|
2238
|
+
{
|
|
2239
|
+
echo
|
|
2240
|
+
AS_BOX([Running $as_me.])
|
|
2241
|
+
} >&AS_MESSAGE_LOG_FD
|
|
2242
|
+
|
|
2243
|
+
lt_cl_help="\
|
|
2244
|
+
'$as_me' creates a local libtool stub from the current configuration,
|
|
2245
|
+
for use in further configure time tests before the real libtool is
|
|
2246
|
+
generated.
|
|
2247
|
+
|
|
2248
|
+
Usage: $[0] [[OPTIONS]]
|
|
2249
|
+
|
|
2250
|
+
-h, --help print this help, then exit
|
|
2251
|
+
-V, --version print version number, then exit
|
|
2252
|
+
-q, --quiet do not print progress messages
|
|
2253
|
+
-d, --debug don't remove temporary files
|
|
2254
|
+
|
|
2255
|
+
Report bugs to <bug-libtool@gnu.org>."
|
|
2256
|
+
|
|
2257
|
+
lt_cl_version="\
|
|
2258
|
+
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
|
|
2259
|
+
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
|
2260
|
+
configured by $[0], generated by m4_PACKAGE_STRING.
|
|
2261
|
+
|
|
2262
|
+
Copyright (C) 2024 Free Software Foundation, Inc.
|
|
2263
|
+
This config.lt script is free software; the Free Software Foundation
|
|
2264
|
+
gives unlimited permission to copy, distribute and modify it."
|
|
2265
|
+
|
|
2266
|
+
while test 0 != $[#]
|
|
2267
|
+
do
|
|
2268
|
+
case $[1] in
|
|
2269
|
+
--version | --v* | -V )
|
|
2270
|
+
echo "$lt_cl_version"; exit 0 ;;
|
|
2271
|
+
--help | --h* | -h )
|
|
2272
|
+
echo "$lt_cl_help"; exit 0 ;;
|
|
2273
|
+
--debug | --d* | -d )
|
|
2274
|
+
debug=: ;;
|
|
2275
|
+
--quiet | --q* | --silent | --s* | -q )
|
|
2276
|
+
lt_cl_silent=: ;;
|
|
2277
|
+
|
|
2278
|
+
-*) AC_MSG_ERROR([unrecognized option: $[1]
|
|
2279
|
+
Try '$[0] --help' for more information.]) ;;
|
|
2280
|
+
|
|
2281
|
+
*) AC_MSG_ERROR([unrecognized argument: $[1]
|
|
2282
|
+
Try '$[0] --help' for more information.]) ;;
|
|
2283
|
+
esac
|
|
2284
|
+
shift
|
|
2285
|
+
done
|
|
2286
|
+
|
|
2287
|
+
if $lt_cl_silent; then
|
|
2288
|
+
exec AS_MESSAGE_FD>/dev/null
|
|
2289
|
+
fi
|
|
2290
|
+
_LTEOF
|
|
2291
|
+
|
|
2292
|
+
cat >>"$CONFIG_LT" <<_LTEOF
|
|
2293
|
+
_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
|
|
2294
|
+
_LTEOF
|
|
2295
|
+
|
|
2296
|
+
cat >>"$CONFIG_LT" <<\_LTEOF
|
|
2297
|
+
AC_MSG_NOTICE([creating $ofile])
|
|
2298
|
+
_LT_OUTPUT_LIBTOOL_COMMANDS
|
|
2299
|
+
AS_EXIT(0)
|
|
2300
|
+
_LTEOF
|
|
2301
|
+
chmod +x "$CONFIG_LT"
|
|
2302
|
+
|
|
2303
|
+
# configure is writing to config.log, but config.lt does its own redirection,
|
|
2304
|
+
# appending to config.log, which fails on DOS, as config.log is still kept
|
|
2305
|
+
# open by configure. Here we exec the FD to /dev/null, effectively closing
|
|
2306
|
+
# config.log, so it can be properly (re)opened and appended to by config.lt.
|
|
2307
|
+
lt_cl_success=:
|
|
2308
|
+
test yes = "$silent" &&
|
|
2309
|
+
lt_config_lt_args="$lt_config_lt_args --quiet"
|
|
2310
|
+
exec AS_MESSAGE_LOG_FD>/dev/null
|
|
2311
|
+
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
|
|
2312
|
+
exec AS_MESSAGE_LOG_FD>>config.log
|
|
2313
|
+
$lt_cl_success || AS_EXIT(1)
|
|
2314
|
+
])
|
|
2315
|
+
m4trace:build-aux/m4/libtool.m4:813: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
|
|
2316
|
+
m4trace:build-aux/m4/libtool.m4:824: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
|
|
2317
|
+
m4_case([$1],
|
|
2318
|
+
[C], [_LT_LANG(C)],
|
|
2319
|
+
[C++], [_LT_LANG(CXX)],
|
|
2320
|
+
[Go], [_LT_LANG(GO)],
|
|
2321
|
+
[Java], [_LT_LANG(GCJ)],
|
|
2322
|
+
[Fortran 77], [_LT_LANG(F77)],
|
|
2323
|
+
[Fortran], [_LT_LANG(FC)],
|
|
2324
|
+
[Windows Resource], [_LT_LANG(RC)],
|
|
2325
|
+
[m4_ifdef([_LT_LANG_]$1[_CONFIG],
|
|
2326
|
+
[_LT_LANG($1)],
|
|
2327
|
+
[m4_fatal([$0: unsupported language: "$1"])])])dnl
|
|
2328
|
+
])
|
|
2329
|
+
m4trace:build-aux/m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
|
|
2330
|
+
m4trace:build-aux/m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_CXX], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_CXX' is obsolete.
|
|
2331
|
+
You should run autoupdate.])dnl
|
|
2332
|
+
LT_LANG(C++)])
|
|
2333
|
+
m4trace:build-aux/m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
|
|
2334
|
+
m4trace:build-aux/m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_F77], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_F77' is obsolete.
|
|
2335
|
+
You should run autoupdate.])dnl
|
|
2336
|
+
LT_LANG(Fortran 77)])
|
|
2337
|
+
m4trace:build-aux/m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
|
|
2338
|
+
m4trace:build-aux/m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_FC], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_FC' is obsolete.
|
|
2339
|
+
You should run autoupdate.])dnl
|
|
2340
|
+
LT_LANG(Fortran)])
|
|
2341
|
+
m4trace:build-aux/m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
|
|
2342
|
+
m4trace:build-aux/m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_GCJ' is obsolete.
|
|
2343
|
+
You should run autoupdate.])dnl
|
|
2344
|
+
LT_LANG(Java)])
|
|
2345
|
+
m4trace:build-aux/m4/libtool.m4:920: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
|
|
2346
|
+
m4trace:build-aux/m4/libtool.m4:920: -1- AC_DEFUN([AC_LIBTOOL_RC], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_RC' is obsolete.
|
|
2347
|
+
You should run autoupdate.])dnl
|
|
2348
|
+
LT_LANG(Windows Resource)])
|
|
2349
|
+
m4trace:build-aux/m4/libtool.m4:1278: -1- AC_DEFUN([_LT_WITH_SYSROOT], [m4_require([_LT_DECL_SED])dnl
|
|
2350
|
+
AC_MSG_CHECKING([for sysroot])
|
|
2351
|
+
AC_ARG_WITH([sysroot],
|
|
2352
|
+
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
|
2353
|
+
[Search for dependent libraries within DIR (or the compiler's sysroot
|
|
2354
|
+
if not specified).])],
|
|
2355
|
+
[], [with_sysroot=no])
|
|
2356
|
+
|
|
2357
|
+
dnl lt_sysroot will always be passed unquoted. We quote it here
|
|
2358
|
+
dnl in case the user passed a directory name.
|
|
2359
|
+
lt_sysroot=
|
|
2360
|
+
case $with_sysroot in #(
|
|
2361
|
+
yes)
|
|
2362
|
+
if test yes = "$GCC"; then
|
|
2363
|
+
# Trim trailing / since we'll always append absolute paths and we want
|
|
2364
|
+
# to avoid //, if only for less confusing output for the user.
|
|
2365
|
+
lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
|
|
2366
|
+
fi
|
|
2367
|
+
;; #(
|
|
2368
|
+
/*)
|
|
2369
|
+
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
|
2370
|
+
;; #(
|
|
2371
|
+
no|'')
|
|
2372
|
+
;; #(
|
|
2373
|
+
*)
|
|
2374
|
+
AC_MSG_RESULT([$with_sysroot])
|
|
2375
|
+
AC_MSG_ERROR([The sysroot must be an absolute path.])
|
|
2376
|
+
;;
|
|
2377
|
+
esac
|
|
2378
|
+
|
|
2379
|
+
AC_MSG_RESULT([${lt_sysroot:-no}])
|
|
2380
|
+
_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
|
|
2381
|
+
[dependent libraries, and where our libraries should be installed.])])
|
|
2382
|
+
m4trace:build-aux/m4/libtool.m4:1618: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
|
|
2383
|
+
m4_require([_LT_DECL_SED])dnl
|
|
2384
|
+
AC_CACHE_CHECK([$1], [$2],
|
|
2385
|
+
[$2=no
|
|
2386
|
+
m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
|
|
2387
|
+
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
2388
|
+
lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
|
|
2389
|
+
# Insert the option either (1) after the last *FLAGS variable, or
|
|
2390
|
+
# (2) before a word containing "conftest.", or (3) at the end.
|
|
2391
|
+
# Note that $ac_compile itself does not contain backslashes and begins
|
|
2392
|
+
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
2393
|
+
# The option is referenced via a variable to avoid confusing sed.
|
|
2394
|
+
lt_compile=`echo "$ac_compile" | $SED \
|
|
2395
|
+
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
2396
|
+
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
|
|
2397
|
+
-e 's:$: $lt_compiler_flag:'`
|
|
2398
|
+
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
|
|
2399
|
+
(eval "$lt_compile" 2>conftest.err)
|
|
2400
|
+
ac_status=$?
|
|
2401
|
+
cat conftest.err >&AS_MESSAGE_LOG_FD
|
|
2402
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
|
|
2403
|
+
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
2404
|
+
# The compiler can only warn and ignore the option if not recognized
|
|
2405
|
+
# So say no if there are warnings other than the usual output.
|
|
2406
|
+
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
|
2407
|
+
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
2408
|
+
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
|
2409
|
+
$2=yes
|
|
2410
|
+
fi
|
|
2411
|
+
fi
|
|
2412
|
+
$RM conftest*
|
|
2413
|
+
])
|
|
2414
|
+
|
|
2415
|
+
if test yes = "[$]$2"; then
|
|
2416
|
+
m4_if([$5], , :, [$5])
|
|
2417
|
+
else
|
|
2418
|
+
m4_if([$6], , :, [$6])
|
|
2419
|
+
fi
|
|
2420
|
+
])
|
|
2421
|
+
m4trace:build-aux/m4/libtool.m4:1660: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])], [], [])
|
|
2422
|
+
m4trace:build-aux/m4/libtool.m4:1660: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_COMPILER_OPTION' is obsolete.
|
|
2423
|
+
You should run autoupdate.])dnl
|
|
2424
|
+
m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
|
|
2425
|
+
m4trace:build-aux/m4/libtool.m4:1669: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
|
|
2426
|
+
m4_require([_LT_DECL_SED])dnl
|
|
2427
|
+
AC_CACHE_CHECK([$1], [$2],
|
|
2428
|
+
[$2=no
|
|
2429
|
+
save_LDFLAGS=$LDFLAGS
|
|
2430
|
+
LDFLAGS="$LDFLAGS $3"
|
|
2431
|
+
echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
2432
|
+
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
2433
|
+
# The linker can only warn and ignore the option if not recognized
|
|
2434
|
+
# So say no if there are warnings
|
|
2435
|
+
if test -s conftest.err; then
|
|
2436
|
+
# Append any errors to the config.log.
|
|
2437
|
+
cat conftest.err 1>&AS_MESSAGE_LOG_FD
|
|
2438
|
+
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
|
2439
|
+
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
2440
|
+
if diff conftest.exp conftest.er2 >/dev/null; then
|
|
2441
|
+
$2=yes
|
|
2442
|
+
fi
|
|
2443
|
+
else
|
|
2444
|
+
$2=yes
|
|
2445
|
+
fi
|
|
2446
|
+
fi
|
|
2447
|
+
$RM -r conftest*
|
|
2448
|
+
LDFLAGS=$save_LDFLAGS
|
|
2449
|
+
])
|
|
2450
|
+
|
|
2451
|
+
if test yes = "[$]$2"; then
|
|
2452
|
+
m4_if([$4], , :, [$4])
|
|
2453
|
+
else
|
|
2454
|
+
m4_if([$5], , :, [$5])
|
|
2455
|
+
fi
|
|
2456
|
+
])
|
|
2457
|
+
m4trace:build-aux/m4/libtool.m4:1704: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])], [], [])
|
|
2458
|
+
m4trace:build-aux/m4/libtool.m4:1704: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_LINKER_OPTION' is obsolete.
|
|
2459
|
+
You should run autoupdate.])dnl
|
|
2460
|
+
m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
|
|
2461
|
+
m4trace:build-aux/m4/libtool.m4:1711: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
2462
|
+
# find the maximum length of command line arguments
|
|
2463
|
+
AC_MSG_CHECKING([the maximum length of command line arguments])
|
|
2464
|
+
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
2465
|
+
i=0
|
|
2466
|
+
teststring=ABCD
|
|
2467
|
+
|
|
2468
|
+
case $build_os in
|
|
2469
|
+
msdosdjgpp*)
|
|
2470
|
+
# On DJGPP, this test can blow up pretty badly due to problems in libc
|
|
2471
|
+
# (any single argument exceeding 2000 bytes causes a buffer overrun
|
|
2472
|
+
# during glob expansion). Even if it were fixed, the result of this
|
|
2473
|
+
# check would be larger than it should be.
|
|
2474
|
+
lt_cv_sys_max_cmd_len=12288; # 12K is about right
|
|
2475
|
+
;;
|
|
2476
|
+
|
|
2477
|
+
gnu* | ironclad*)
|
|
2478
|
+
# Under GNU Hurd and Ironclad, this test is not required because there
|
|
2479
|
+
# is no limit to the length of command line arguments.
|
|
2480
|
+
# Libtool will interpret -1 as no limit whatsoever
|
|
2481
|
+
lt_cv_sys_max_cmd_len=-1;
|
|
2482
|
+
;;
|
|
2483
|
+
|
|
2484
|
+
cygwin* | mingw* | windows* | cegcc*)
|
|
2485
|
+
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
2486
|
+
# about 5 minutes as the teststring grows exponentially.
|
|
2487
|
+
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
2488
|
+
# you end up with a "frozen" computer, even though with patience
|
|
2489
|
+
# the test eventually succeeds (with a max line length of 256k).
|
|
2490
|
+
# Instead, let's just punt: use the minimum linelength reported by
|
|
2491
|
+
# all of the supported platforms: 8192 (on NT/2K/XP).
|
|
2492
|
+
lt_cv_sys_max_cmd_len=8192;
|
|
2493
|
+
;;
|
|
2494
|
+
|
|
2495
|
+
mint*)
|
|
2496
|
+
# On MiNT this can take a long time and run out of memory.
|
|
2497
|
+
lt_cv_sys_max_cmd_len=8192;
|
|
2498
|
+
;;
|
|
2499
|
+
|
|
2500
|
+
amigaos*)
|
|
2501
|
+
# On AmigaOS with pdksh, this test takes hours, literally.
|
|
2502
|
+
# So we just punt and use a minimum line length of 8192.
|
|
2503
|
+
lt_cv_sys_max_cmd_len=8192;
|
|
2504
|
+
;;
|
|
2505
|
+
|
|
2506
|
+
darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
|
2507
|
+
# This has been around since 386BSD, at least. Likely further.
|
|
2508
|
+
if test -x /sbin/sysctl; then
|
|
2509
|
+
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
|
2510
|
+
elif test -x /usr/sbin/sysctl; then
|
|
2511
|
+
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
|
|
2512
|
+
else
|
|
2513
|
+
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
|
|
2514
|
+
fi
|
|
2515
|
+
# And add a safety zone
|
|
2516
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
|
2517
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
|
2518
|
+
;;
|
|
2519
|
+
|
|
2520
|
+
interix*)
|
|
2521
|
+
# We know the value 262144 and hardcode it with a safety zone (like BSD)
|
|
2522
|
+
lt_cv_sys_max_cmd_len=196608
|
|
2523
|
+
;;
|
|
2524
|
+
|
|
2525
|
+
os2*)
|
|
2526
|
+
# The test takes a long time on OS/2.
|
|
2527
|
+
lt_cv_sys_max_cmd_len=8192
|
|
2528
|
+
;;
|
|
2529
|
+
|
|
2530
|
+
osf*)
|
|
2531
|
+
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
|
2532
|
+
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
|
2533
|
+
# nice to cause kernel panics so lets avoid the loop below.
|
|
2534
|
+
# First set a reasonable default.
|
|
2535
|
+
lt_cv_sys_max_cmd_len=16384
|
|
2536
|
+
#
|
|
2537
|
+
if test -x /sbin/sysconfig; then
|
|
2538
|
+
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
|
|
2539
|
+
*1*) lt_cv_sys_max_cmd_len=-1 ;;
|
|
2540
|
+
esac
|
|
2541
|
+
fi
|
|
2542
|
+
;;
|
|
2543
|
+
sco3.2v5*)
|
|
2544
|
+
lt_cv_sys_max_cmd_len=102400
|
|
2545
|
+
;;
|
|
2546
|
+
sysv5* | sco5v6* | sysv4.2uw2*)
|
|
2547
|
+
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
|
2548
|
+
if test -n "$kargmax"; then
|
|
2549
|
+
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
|
|
2550
|
+
else
|
|
2551
|
+
lt_cv_sys_max_cmd_len=32768
|
|
2552
|
+
fi
|
|
2553
|
+
;;
|
|
2554
|
+
*)
|
|
2555
|
+
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
|
2556
|
+
if test -n "$lt_cv_sys_max_cmd_len" && \
|
|
2557
|
+
test undefined != "$lt_cv_sys_max_cmd_len"; then
|
|
2558
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
|
2559
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
|
2560
|
+
else
|
|
2561
|
+
# Make teststring a little bigger before we do anything with it.
|
|
2562
|
+
# a 1K string should be a reasonable start.
|
|
2563
|
+
for i in 1 2 3 4 5 6 7 8; do
|
|
2564
|
+
teststring=$teststring$teststring
|
|
2565
|
+
done
|
|
2566
|
+
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
|
2567
|
+
# If test is not a shell built-in, we'll probably end up computing a
|
|
2568
|
+
# maximum length that is only half of the actual maximum length, but
|
|
2569
|
+
# we can't tell.
|
|
2570
|
+
while { test X`env echo "$teststring$teststring" 2>/dev/null` \
|
|
2571
|
+
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
|
2572
|
+
test 17 != "$i" # 1/2 MB should be enough
|
|
2573
|
+
do
|
|
2574
|
+
i=`expr $i + 1`
|
|
2575
|
+
teststring=$teststring$teststring
|
|
2576
|
+
done
|
|
2577
|
+
# Only check the string length outside the loop.
|
|
2578
|
+
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
|
|
2579
|
+
teststring=
|
|
2580
|
+
# Add a significant safety factor because C++ compilers can tack on
|
|
2581
|
+
# massive amounts of additional arguments before passing them to the
|
|
2582
|
+
# linker. It appears as though 1/2 is a usable value.
|
|
2583
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
|
2584
|
+
fi
|
|
2585
|
+
;;
|
|
2586
|
+
esac
|
|
2587
|
+
])
|
|
2588
|
+
if test -n "$lt_cv_sys_max_cmd_len"; then
|
|
2589
|
+
AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
|
|
2590
|
+
else
|
|
2591
|
+
AC_MSG_RESULT(none)
|
|
2592
|
+
fi
|
|
2593
|
+
max_cmd_len=$lt_cv_sys_max_cmd_len
|
|
2594
|
+
_LT_DECL([], [max_cmd_len], [0],
|
|
2595
|
+
[What is the maximum length of a command?])
|
|
2596
|
+
])
|
|
2597
|
+
m4trace:build-aux/m4/libtool.m4:1850: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])], [], [])
|
|
2598
|
+
m4trace:build-aux/m4/libtool.m4:1850: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
|
|
2599
|
+
You should run autoupdate.])dnl
|
|
2600
|
+
m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
|
|
2601
|
+
m4trace:build-aux/m4/libtool.m4:1961: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
|
|
2602
|
+
if test yes != "$enable_dlopen"; then
|
|
2603
|
+
enable_dlopen=unknown
|
|
2604
|
+
enable_dlopen_self=unknown
|
|
2605
|
+
enable_dlopen_self_static=unknown
|
|
2606
|
+
else
|
|
2607
|
+
lt_cv_dlopen=no
|
|
2608
|
+
lt_cv_dlopen_libs=
|
|
2609
|
+
|
|
2610
|
+
case $host_os in
|
|
2611
|
+
beos*)
|
|
2612
|
+
lt_cv_dlopen=load_add_on
|
|
2613
|
+
lt_cv_dlopen_libs=
|
|
2614
|
+
lt_cv_dlopen_self=yes
|
|
2615
|
+
;;
|
|
2616
|
+
|
|
2617
|
+
mingw* | windows* | pw32* | cegcc*)
|
|
2618
|
+
lt_cv_dlopen=LoadLibrary
|
|
2619
|
+
lt_cv_dlopen_libs=
|
|
2620
|
+
;;
|
|
2621
|
+
|
|
2622
|
+
cygwin*)
|
|
2623
|
+
lt_cv_dlopen=dlopen
|
|
2624
|
+
lt_cv_dlopen_libs=
|
|
2625
|
+
;;
|
|
2626
|
+
|
|
2627
|
+
darwin*)
|
|
2628
|
+
# if libdl is installed we need to link against it
|
|
2629
|
+
AC_CHECK_LIB([dl], [dlopen],
|
|
2630
|
+
[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
|
|
2631
|
+
lt_cv_dlopen=dyld
|
|
2632
|
+
lt_cv_dlopen_libs=
|
|
2633
|
+
lt_cv_dlopen_self=yes
|
|
2634
|
+
])
|
|
2635
|
+
;;
|
|
2636
|
+
|
|
2637
|
+
tpf*)
|
|
2638
|
+
# Don't try to run any link tests for TPF. We know it's impossible
|
|
2639
|
+
# because TPF is a cross-compiler, and we know how we open DSOs.
|
|
2640
|
+
lt_cv_dlopen=dlopen
|
|
2641
|
+
lt_cv_dlopen_libs=
|
|
2642
|
+
lt_cv_dlopen_self=no
|
|
2643
|
+
;;
|
|
2644
|
+
|
|
2645
|
+
*)
|
|
2646
|
+
AC_CHECK_FUNC([shl_load],
|
|
2647
|
+
[lt_cv_dlopen=shl_load],
|
|
2648
|
+
[AC_CHECK_LIB([dld], [shl_load],
|
|
2649
|
+
[lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
|
|
2650
|
+
[AC_CHECK_FUNC([dlopen],
|
|
2651
|
+
[lt_cv_dlopen=dlopen],
|
|
2652
|
+
[AC_CHECK_LIB([dl], [dlopen],
|
|
2653
|
+
[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
|
|
2654
|
+
[AC_CHECK_LIB([svld], [dlopen],
|
|
2655
|
+
[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
|
|
2656
|
+
[AC_CHECK_LIB([dld], [dld_link],
|
|
2657
|
+
[lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
|
|
2658
|
+
])
|
|
2659
|
+
])
|
|
2660
|
+
])
|
|
2661
|
+
])
|
|
2662
|
+
])
|
|
2663
|
+
;;
|
|
2664
|
+
esac
|
|
2665
|
+
|
|
2666
|
+
if test no = "$lt_cv_dlopen"; then
|
|
2667
|
+
enable_dlopen=no
|
|
2668
|
+
else
|
|
2669
|
+
enable_dlopen=yes
|
|
2670
|
+
fi
|
|
2671
|
+
|
|
2672
|
+
case $lt_cv_dlopen in
|
|
2673
|
+
dlopen)
|
|
2674
|
+
save_CPPFLAGS=$CPPFLAGS
|
|
2675
|
+
test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
|
|
2676
|
+
|
|
2677
|
+
save_LDFLAGS=$LDFLAGS
|
|
2678
|
+
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
|
|
2679
|
+
|
|
2680
|
+
save_LIBS=$LIBS
|
|
2681
|
+
LIBS="$lt_cv_dlopen_libs $LIBS"
|
|
2682
|
+
|
|
2683
|
+
AC_CACHE_CHECK([whether a program can dlopen itself],
|
|
2684
|
+
lt_cv_dlopen_self, [dnl
|
|
2685
|
+
_LT_TRY_DLOPEN_SELF(
|
|
2686
|
+
lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
|
|
2687
|
+
lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
|
|
2688
|
+
])
|
|
2689
|
+
|
|
2690
|
+
if test yes = "$lt_cv_dlopen_self"; then
|
|
2691
|
+
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
|
2692
|
+
AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
|
|
2693
|
+
lt_cv_dlopen_self_static, [dnl
|
|
2694
|
+
_LT_TRY_DLOPEN_SELF(
|
|
2695
|
+
lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
|
|
2696
|
+
lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
|
|
2697
|
+
])
|
|
2698
|
+
fi
|
|
2699
|
+
|
|
2700
|
+
CPPFLAGS=$save_CPPFLAGS
|
|
2701
|
+
LDFLAGS=$save_LDFLAGS
|
|
2702
|
+
LIBS=$save_LIBS
|
|
2703
|
+
;;
|
|
2704
|
+
esac
|
|
2705
|
+
|
|
2706
|
+
case $lt_cv_dlopen_self in
|
|
2707
|
+
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
|
|
2708
|
+
*) enable_dlopen_self=unknown ;;
|
|
2709
|
+
esac
|
|
2710
|
+
|
|
2711
|
+
case $lt_cv_dlopen_self_static in
|
|
2712
|
+
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
|
|
2713
|
+
*) enable_dlopen_self_static=unknown ;;
|
|
2714
|
+
esac
|
|
2715
|
+
fi
|
|
2716
|
+
_LT_DECL([dlopen_support], [enable_dlopen], [0],
|
|
2717
|
+
[Whether dlopen is supported])
|
|
2718
|
+
_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
|
|
2719
|
+
[Whether dlopen of programs is supported])
|
|
2720
|
+
_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
|
|
2721
|
+
[Whether dlopen of statically linked programs is supported])
|
|
2722
|
+
])
|
|
2723
|
+
m4trace:build-aux/m4/libtool.m4:2086: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])], [], [])
|
|
2724
|
+
m4trace:build-aux/m4/libtool.m4:2086: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_DLOPEN_SELF' is obsolete.
|
|
2725
|
+
You should run autoupdate.])dnl
|
|
2726
|
+
m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
|
|
2727
|
+
m4trace:build-aux/m4/libtool.m4:3284: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
|
|
2728
|
+
AC_MSG_CHECKING([for $1])
|
|
2729
|
+
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
|
|
2730
|
+
[case $MAGIC_CMD in
|
|
2731
|
+
[[\\/*] | ?:[\\/]*])
|
|
2732
|
+
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
2733
|
+
;;
|
|
2734
|
+
*)
|
|
2735
|
+
lt_save_MAGIC_CMD=$MAGIC_CMD
|
|
2736
|
+
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
|
2737
|
+
dnl $ac_dummy forces splitting on constant user-supplied paths.
|
|
2738
|
+
dnl POSIX.2 word splitting is done only on the output of word expansions,
|
|
2739
|
+
dnl not every word. This closes a longstanding sh security hole.
|
|
2740
|
+
ac_dummy="m4_if([$2], , $PATH, [$2])"
|
|
2741
|
+
for ac_dir in $ac_dummy; do
|
|
2742
|
+
IFS=$lt_save_ifs
|
|
2743
|
+
test -z "$ac_dir" && ac_dir=.
|
|
2744
|
+
if test -f "$ac_dir/$1"; then
|
|
2745
|
+
lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
|
|
2746
|
+
if test -n "$file_magic_test_file"; then
|
|
2747
|
+
case $deplibs_check_method in
|
|
2748
|
+
"file_magic "*)
|
|
2749
|
+
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
|
2750
|
+
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
|
2751
|
+
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|
2752
|
+
$EGREP "$file_magic_regex" > /dev/null; then
|
|
2753
|
+
:
|
|
2754
|
+
else
|
|
2755
|
+
cat <<_LT_EOF 1>&2
|
|
2756
|
+
|
|
2757
|
+
*** Warning: the command libtool uses to detect shared libraries,
|
|
2758
|
+
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
2759
|
+
*** The result is that libtool may fail to recognize shared libraries
|
|
2760
|
+
*** as such. This will affect the creation of libtool libraries that
|
|
2761
|
+
*** depend on shared libraries, but programs linked with such libtool
|
|
2762
|
+
*** libraries will work regardless of this problem. Nevertheless, you
|
|
2763
|
+
*** may want to report the problem to your system manager and/or to
|
|
2764
|
+
*** bug-libtool@gnu.org
|
|
2765
|
+
|
|
2766
|
+
_LT_EOF
|
|
2767
|
+
fi ;;
|
|
2768
|
+
esac
|
|
2769
|
+
fi
|
|
2770
|
+
break
|
|
2771
|
+
fi
|
|
2772
|
+
done
|
|
2773
|
+
IFS=$lt_save_ifs
|
|
2774
|
+
MAGIC_CMD=$lt_save_MAGIC_CMD
|
|
2775
|
+
;;
|
|
2776
|
+
esac])
|
|
2777
|
+
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
|
2778
|
+
if test -n "$MAGIC_CMD"; then
|
|
2779
|
+
AC_MSG_RESULT($MAGIC_CMD)
|
|
2780
|
+
else
|
|
2781
|
+
AC_MSG_RESULT(no)
|
|
2782
|
+
fi
|
|
2783
|
+
_LT_DECL([], [MAGIC_CMD], [0],
|
|
2784
|
+
[Used to examine libraries when file_magic_cmd begins with "file"])dnl
|
|
2785
|
+
])
|
|
2786
|
+
m4trace:build-aux/m4/libtool.m4:3346: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])], [], [])
|
|
2787
|
+
m4trace:build-aux/m4/libtool.m4:3346: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [m4_warn([obsolete], [The macro 'AC_PATH_TOOL_PREFIX' is obsolete.
|
|
2788
|
+
You should run autoupdate.])dnl
|
|
2789
|
+
m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
|
|
2790
|
+
m4trace:build-aux/m4/libtool.m4:3369: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
|
|
2791
|
+
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
2792
|
+
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
|
2793
|
+
m4_require([_LT_DECL_SED])dnl
|
|
2794
|
+
m4_require([_LT_DECL_EGREP])dnl
|
|
2795
|
+
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
|
|
2796
|
+
|
|
2797
|
+
AC_ARG_WITH([gnu-ld],
|
|
2798
|
+
[AS_HELP_STRING([--with-gnu-ld],
|
|
2799
|
+
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
|
|
2800
|
+
[test no = "$withval" || with_gnu_ld=yes],
|
|
2801
|
+
[with_gnu_ld=no])dnl
|
|
2802
|
+
|
|
2803
|
+
ac_prog=ld
|
|
2804
|
+
if test yes = "$GCC"; then
|
|
2805
|
+
# Check if gcc -print-prog-name=ld gives a path.
|
|
2806
|
+
AC_MSG_CHECKING([for ld used by $CC])
|
|
2807
|
+
case $host in
|
|
2808
|
+
*-*-mingw* | *-*-windows*)
|
|
2809
|
+
# gcc leaves a trailing carriage return, which upsets mingw
|
|
2810
|
+
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
|
2811
|
+
*)
|
|
2812
|
+
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
|
2813
|
+
esac
|
|
2814
|
+
case $ac_prog in
|
|
2815
|
+
# Accept absolute paths.
|
|
2816
|
+
[[\\/]]* | ?:[[\\/]]*)
|
|
2817
|
+
re_direlt='/[[^/]][[^/]]*/\.\./'
|
|
2818
|
+
# Canonicalize the pathname of ld
|
|
2819
|
+
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
|
|
2820
|
+
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
|
|
2821
|
+
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
|
|
2822
|
+
done
|
|
2823
|
+
test -z "$LD" && LD=$ac_prog
|
|
2824
|
+
;;
|
|
2825
|
+
"")
|
|
2826
|
+
# If it fails, then pretend we aren't using GCC.
|
|
2827
|
+
ac_prog=ld
|
|
2828
|
+
;;
|
|
2829
|
+
*)
|
|
2830
|
+
# If it is relative, then search for the first ld in PATH.
|
|
2831
|
+
with_gnu_ld=unknown
|
|
2832
|
+
;;
|
|
2833
|
+
esac
|
|
2834
|
+
elif test yes = "$with_gnu_ld"; then
|
|
2835
|
+
AC_MSG_CHECKING([for GNU ld])
|
|
2836
|
+
else
|
|
2837
|
+
AC_MSG_CHECKING([for non-GNU ld])
|
|
2838
|
+
fi
|
|
2839
|
+
AC_CACHE_VAL(lt_cv_path_LD,
|
|
2840
|
+
[if test -z "$LD"; then
|
|
2841
|
+
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
|
2842
|
+
for ac_dir in $PATH; do
|
|
2843
|
+
IFS=$lt_save_ifs
|
|
2844
|
+
test -z "$ac_dir" && ac_dir=.
|
|
2845
|
+
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
|
2846
|
+
lt_cv_path_LD=$ac_dir/$ac_prog
|
|
2847
|
+
# Check to see if the program is GNU ld. I'd rather use --version,
|
|
2848
|
+
# but apparently some variants of GNU ld only accept -v.
|
|
2849
|
+
# Break only if it was the GNU/non-GNU ld that we prefer.
|
|
2850
|
+
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
|
|
2851
|
+
*GNU* | *'with BFD'*)
|
|
2852
|
+
test no != "$with_gnu_ld" && break
|
|
2853
|
+
;;
|
|
2854
|
+
*)
|
|
2855
|
+
test yes != "$with_gnu_ld" && break
|
|
2856
|
+
;;
|
|
2857
|
+
esac
|
|
2858
|
+
fi
|
|
2859
|
+
done
|
|
2860
|
+
IFS=$lt_save_ifs
|
|
2861
|
+
else
|
|
2862
|
+
lt_cv_path_LD=$LD # Let the user override the test with a path.
|
|
2863
|
+
fi])
|
|
2864
|
+
LD=$lt_cv_path_LD
|
|
2865
|
+
if test -n "$LD"; then
|
|
2866
|
+
AC_MSG_RESULT($LD)
|
|
2867
|
+
else
|
|
2868
|
+
AC_MSG_RESULT(no)
|
|
2869
|
+
fi
|
|
2870
|
+
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
|
2871
|
+
_LT_PATH_LD_GNU
|
|
2872
|
+
AC_SUBST([LD])
|
|
2873
|
+
|
|
2874
|
+
_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
|
|
2875
|
+
])
|
|
2876
|
+
m4trace:build-aux/m4/libtool.m4:3458: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])], [], [])
|
|
2877
|
+
m4trace:build-aux/m4/libtool.m4:3458: -1- AC_DEFUN([AM_PROG_LD], [m4_warn([obsolete], [The macro 'AM_PROG_LD' is obsolete.
|
|
2878
|
+
You should run autoupdate.])dnl
|
|
2879
|
+
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
|
|
2880
|
+
m4trace:build-aux/m4/libtool.m4:3459: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])], [], [])
|
|
2881
|
+
m4trace:build-aux/m4/libtool.m4:3459: -1- AC_DEFUN([AC_PROG_LD], [m4_warn([obsolete], [The macro 'AC_PROG_LD' is obsolete.
|
|
2882
|
+
You should run autoupdate.])dnl
|
|
2883
|
+
m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
|
|
2884
|
+
m4trace:build-aux/m4/libtool.m4:3795: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
|
|
2885
|
+
AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
|
|
2886
|
+
[if test -n "$NM"; then
|
|
2887
|
+
# Let the user override the test.
|
|
2888
|
+
lt_cv_path_NM=$NM
|
|
2889
|
+
else
|
|
2890
|
+
lt_nm_to_check=${ac_tool_prefix}nm
|
|
2891
|
+
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
|
|
2892
|
+
lt_nm_to_check="$lt_nm_to_check nm"
|
|
2893
|
+
fi
|
|
2894
|
+
for lt_tmp_nm in $lt_nm_to_check; do
|
|
2895
|
+
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
|
2896
|
+
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
|
|
2897
|
+
IFS=$lt_save_ifs
|
|
2898
|
+
test -z "$ac_dir" && ac_dir=.
|
|
2899
|
+
tmp_nm=$ac_dir/$lt_tmp_nm
|
|
2900
|
+
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
|
|
2901
|
+
# Check to see if the nm accepts a BSD-compat flag.
|
|
2902
|
+
# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
|
|
2903
|
+
# nm: unknown option "B" ignored
|
|
2904
|
+
# Tru64's nm complains that /dev/null is an invalid object file
|
|
2905
|
+
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
|
|
2906
|
+
case $build_os in
|
|
2907
|
+
mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
|
|
2908
|
+
*) lt_bad_file=/dev/null ;;
|
|
2909
|
+
esac
|
|
2910
|
+
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
|
2911
|
+
*$lt_bad_file* | *'Invalid file or object type'*)
|
|
2912
|
+
lt_cv_path_NM="$tmp_nm -B"
|
|
2913
|
+
break 2
|
|
2914
|
+
;;
|
|
2915
|
+
*)
|
|
2916
|
+
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
|
2917
|
+
*/dev/null*)
|
|
2918
|
+
lt_cv_path_NM="$tmp_nm -p"
|
|
2919
|
+
break 2
|
|
2920
|
+
;;
|
|
2921
|
+
*)
|
|
2922
|
+
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
|
2923
|
+
continue # so that we can try to find one that supports BSD flags
|
|
2924
|
+
;;
|
|
2925
|
+
esac
|
|
2926
|
+
;;
|
|
2927
|
+
esac
|
|
2928
|
+
fi
|
|
2929
|
+
done
|
|
2930
|
+
IFS=$lt_save_ifs
|
|
2931
|
+
done
|
|
2932
|
+
: ${lt_cv_path_NM=no}
|
|
2933
|
+
fi])
|
|
2934
|
+
if test no != "$lt_cv_path_NM"; then
|
|
2935
|
+
NM=$lt_cv_path_NM
|
|
2936
|
+
else
|
|
2937
|
+
# Didn't find any BSD compatible name lister, look for dumpbin.
|
|
2938
|
+
if test -n "$DUMPBIN"; then :
|
|
2939
|
+
# Let the user override the test.
|
|
2940
|
+
else
|
|
2941
|
+
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
|
2942
|
+
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
|
2943
|
+
*COFF*)
|
|
2944
|
+
DUMPBIN="$DUMPBIN -symbols -headers"
|
|
2945
|
+
;;
|
|
2946
|
+
*)
|
|
2947
|
+
DUMPBIN=:
|
|
2948
|
+
;;
|
|
2949
|
+
esac
|
|
2950
|
+
fi
|
|
2951
|
+
AC_SUBST([DUMPBIN])
|
|
2952
|
+
if test : != "$DUMPBIN"; then
|
|
2953
|
+
NM=$DUMPBIN
|
|
2954
|
+
fi
|
|
2955
|
+
fi
|
|
2956
|
+
test -z "$NM" && NM=nm
|
|
2957
|
+
AC_SUBST([NM])
|
|
2958
|
+
_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
|
|
2959
|
+
|
|
2960
|
+
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
|
|
2961
|
+
[lt_cv_nm_interface="BSD nm"
|
|
2962
|
+
echo "int some_variable = 0;" > conftest.$ac_ext
|
|
2963
|
+
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
|
|
2964
|
+
(eval "$ac_compile" 2>conftest.err)
|
|
2965
|
+
cat conftest.err >&AS_MESSAGE_LOG_FD
|
|
2966
|
+
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
|
|
2967
|
+
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
|
2968
|
+
cat conftest.err >&AS_MESSAGE_LOG_FD
|
|
2969
|
+
(eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
|
|
2970
|
+
cat conftest.out >&AS_MESSAGE_LOG_FD
|
|
2971
|
+
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
|
2972
|
+
lt_cv_nm_interface="MS dumpbin"
|
|
2973
|
+
fi
|
|
2974
|
+
rm -f conftest*])
|
|
2975
|
+
])
|
|
2976
|
+
m4trace:build-aux/m4/libtool.m4:3890: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], [])
|
|
2977
|
+
m4trace:build-aux/m4/libtool.m4:3890: -1- AC_DEFUN([AM_PROG_NM], [m4_warn([obsolete], [The macro 'AM_PROG_NM' is obsolete.
|
|
2978
|
+
You should run autoupdate.])dnl
|
|
2979
|
+
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
|
|
2980
|
+
m4trace:build-aux/m4/libtool.m4:3891: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], [])
|
|
2981
|
+
m4trace:build-aux/m4/libtool.m4:3891: -1- AC_DEFUN([AC_PROG_NM], [m4_warn([obsolete], [The macro 'AC_PROG_NM' is obsolete.
|
|
2982
|
+
You should run autoupdate.])dnl
|
|
2983
|
+
m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
|
|
2984
|
+
m4trace:build-aux/m4/libtool.m4:3962: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
|
|
2985
|
+
test DEF = "`$SED -n dnl
|
|
2986
|
+
-e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
|
|
2987
|
+
-e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
|
|
2988
|
+
-e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
|
|
2989
|
+
-e q dnl Only consider the first "real" line
|
|
2990
|
+
$1`" dnl
|
|
2991
|
+
])
|
|
2992
|
+
m4trace:build-aux/m4/libtool.m4:3976: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
2993
|
+
LIBM=
|
|
2994
|
+
case $host in
|
|
2995
|
+
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
|
|
2996
|
+
# These system don't have libm, or don't need it
|
|
2997
|
+
;;
|
|
2998
|
+
*-ncr-sysv4.3*)
|
|
2999
|
+
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
|
|
3000
|
+
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
|
|
3001
|
+
;;
|
|
3002
|
+
*)
|
|
3003
|
+
AC_CHECK_LIB(m, cos, LIBM=-lm)
|
|
3004
|
+
;;
|
|
3005
|
+
esac
|
|
3006
|
+
AC_SUBST([LIBM])
|
|
3007
|
+
])
|
|
3008
|
+
m4trace:build-aux/m4/libtool.m4:3995: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])], [], [])
|
|
3009
|
+
m4trace:build-aux/m4/libtool.m4:3995: -1- AC_DEFUN([AC_CHECK_LIBM], [m4_warn([obsolete], [The macro 'AC_CHECK_LIBM' is obsolete.
|
|
3010
|
+
You should run autoupdate.])dnl
|
|
3011
|
+
m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
|
|
3012
|
+
m4trace:build-aux/m4/libtool.m4:8300: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
|
|
3013
|
+
[m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
|
|
3014
|
+
[AC_CHECK_TOOL(GCJ, gcj,)
|
|
3015
|
+
test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
|
|
3016
|
+
AC_SUBST(GCJFLAGS)])])[]dnl
|
|
3017
|
+
])
|
|
3018
|
+
m4trace:build-aux/m4/libtool.m4:8309: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])], [], [])
|
|
3019
|
+
m4trace:build-aux/m4/libtool.m4:8309: -1- AC_DEFUN([LT_AC_PROG_GCJ], [m4_warn([obsolete], [The macro 'LT_AC_PROG_GCJ' is obsolete.
|
|
3020
|
+
You should run autoupdate.])dnl
|
|
3021
|
+
m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
|
|
3022
|
+
m4trace:build-aux/m4/libtool.m4:8316: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
|
|
3023
|
+
])
|
|
3024
|
+
m4trace:build-aux/m4/libtool.m4:8323: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
|
|
3025
|
+
])
|
|
3026
|
+
m4trace:build-aux/m4/libtool.m4:8328: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])], [], [])
|
|
3027
|
+
m4trace:build-aux/m4/libtool.m4:8328: -1- AC_DEFUN([LT_AC_PROG_RC], [m4_warn([obsolete], [The macro 'LT_AC_PROG_RC' is obsolete.
|
|
3028
|
+
You should run autoupdate.])dnl
|
|
3029
|
+
m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
|
|
3030
|
+
m4trace:build-aux/m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
|
3031
|
+
m4trace:build-aux/m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
|
|
3032
|
+
AC_DIAGNOSE([obsolete],
|
|
3033
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3034
|
+
put the 'dlopen' option into LT_INIT's first parameter.])
|
|
3035
|
+
])
|
|
3036
|
+
m4trace:build-aux/m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_DLOPEN' is obsolete.
|
|
3037
|
+
You should run autoupdate.])dnl
|
|
3038
|
+
_LT_SET_OPTION([LT_INIT], [dlopen])
|
|
3039
|
+
AC_DIAGNOSE([obsolete],
|
|
3040
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3041
|
+
put the 'dlopen' option into LT_INIT's first parameter.])
|
|
3042
|
+
])
|
|
3043
|
+
m4trace:build-aux/m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
3044
|
+
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
|
3045
|
+
AC_DIAGNOSE([obsolete],
|
|
3046
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3047
|
+
put the 'win32-dll' option into LT_INIT's first parameter.])
|
|
3048
|
+
])
|
|
3049
|
+
m4trace:build-aux/m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_WIN32_DLL' is obsolete.
|
|
3050
|
+
You should run autoupdate.])dnl
|
|
3051
|
+
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
3052
|
+
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
|
3053
|
+
AC_DIAGNOSE([obsolete],
|
|
3054
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3055
|
+
put the 'win32-dll' option into LT_INIT's first parameter.])
|
|
3056
|
+
])
|
|
3057
|
+
m4trace:build-aux/m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
|
|
3058
|
+
])
|
|
3059
|
+
m4trace:build-aux/m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
|
|
3060
|
+
])
|
|
3061
|
+
m4trace:build-aux/m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
|
3062
|
+
m4trace:build-aux/m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [m4_warn([obsolete], [The macro 'AM_ENABLE_SHARED' is obsolete.
|
|
3063
|
+
You should run autoupdate.])dnl
|
|
3064
|
+
AC_ENABLE_SHARED($@)])
|
|
3065
|
+
m4trace:build-aux/m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
|
3066
|
+
m4trace:build-aux/m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [m4_warn([obsolete], [The macro 'AM_DISABLE_SHARED' is obsolete.
|
|
3067
|
+
You should run autoupdate.])dnl
|
|
3068
|
+
AC_DISABLE_SHARED($@)])
|
|
3069
|
+
m4trace:build-aux/m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
|
|
3070
|
+
])
|
|
3071
|
+
m4trace:build-aux/m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
|
|
3072
|
+
])
|
|
3073
|
+
m4trace:build-aux/m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
|
3074
|
+
m4trace:build-aux/m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [m4_warn([obsolete], [The macro 'AM_ENABLE_STATIC' is obsolete.
|
|
3075
|
+
You should run autoupdate.])dnl
|
|
3076
|
+
AC_ENABLE_STATIC($@)])
|
|
3077
|
+
m4trace:build-aux/m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
|
3078
|
+
m4trace:build-aux/m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [m4_warn([obsolete], [The macro 'AM_DISABLE_STATIC' is obsolete.
|
|
3079
|
+
You should run autoupdate.])dnl
|
|
3080
|
+
AC_DISABLE_STATIC($@)])
|
|
3081
|
+
m4trace:build-aux/m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
|
3082
|
+
AC_DIAGNOSE([obsolete],
|
|
3083
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
|
3084
|
+
the 'fast-install' option into LT_INIT's first parameter.])
|
|
3085
|
+
])
|
|
3086
|
+
m4trace:build-aux/m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [m4_warn([obsolete], [The macro 'AC_ENABLE_FAST_INSTALL' is obsolete.
|
|
3087
|
+
You should run autoupdate.])dnl
|
|
3088
|
+
_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
|
3089
|
+
AC_DIAGNOSE([obsolete],
|
|
3090
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
|
3091
|
+
the 'fast-install' option into LT_INIT's first parameter.])
|
|
3092
|
+
])
|
|
3093
|
+
m4trace:build-aux/m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
|
3094
|
+
AC_DIAGNOSE([obsolete],
|
|
3095
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
|
3096
|
+
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
|
3097
|
+
])
|
|
3098
|
+
m4trace:build-aux/m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [m4_warn([obsolete], [The macro 'AC_DISABLE_FAST_INSTALL' is obsolete.
|
|
3099
|
+
You should run autoupdate.])dnl
|
|
3100
|
+
_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
|
3101
|
+
AC_DIAGNOSE([obsolete],
|
|
3102
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
|
3103
|
+
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
|
3104
|
+
])
|
|
3105
|
+
m4trace:build-aux/m4/ltoptions.m4:441: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
|
|
3106
|
+
AC_DIAGNOSE([obsolete],
|
|
3107
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3108
|
+
put the 'pic-only' option into LT_INIT's first parameter.])
|
|
3109
|
+
])
|
|
3110
|
+
m4trace:build-aux/m4/ltoptions.m4:441: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [m4_warn([obsolete], [The macro 'AC_LIBTOOL_PICMODE' is obsolete.
|
|
3111
|
+
You should run autoupdate.])dnl
|
|
3112
|
+
_LT_SET_OPTION([LT_INIT], [pic-only])
|
|
3113
|
+
AC_DIAGNOSE([obsolete],
|
|
3114
|
+
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
|
3115
|
+
put the 'pic-only' option into LT_INIT's first parameter.])
|
|
3116
|
+
])
|
|
3117
|
+
m4trace:build-aux/m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
|
|
3118
|
+
m4trace:build-aux/m4/ltversion.m4:19: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.5.4'
|
|
3119
|
+
macro_revision='2.5.4'
|
|
3120
|
+
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
|
3121
|
+
_LT_DECL(, macro_revision, 0)
|
|
3122
|
+
])
|
|
3123
|
+
m4trace:build-aux/m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
|
3124
|
+
m4trace:build-aux/m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
|
|
3125
|
+
m4trace:build-aux/m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
|
|
3126
|
+
m4trace:build-aux/m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
|
|
3127
|
+
m4trace:build-aux/m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
|
|
3128
|
+
m4trace:build-aux/m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
|
|
3129
|
+
m4trace:build-aux/m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
|
|
3130
|
+
m4trace:build-aux/m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
|
|
3131
|
+
m4trace:build-aux/m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
|
|
3132
|
+
m4trace:build-aux/m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
|
|
3133
|
+
m4trace:build-aux/m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
|
|
3134
|
+
m4trace:build-aux/m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
|
|
3135
|
+
m4trace:build-aux/m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
|
|
3136
|
+
m4trace:build-aux/m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
|
|
3137
|
+
m4trace:build-aux/m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
|
|
3138
|
+
m4trace:build-aux/m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
|
|
3139
|
+
m4trace:build-aux/m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
|
|
3140
|
+
m4trace:build-aux/m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
|
|
3141
|
+
m4trace:build-aux/m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
|
|
3142
|
+
m4trace:build-aux/m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
|
|
3143
|
+
m4trace:build-aux/m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
|
|
3144
|
+
m4trace:build-aux/m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
|
|
3145
|
+
m4trace:build-aux/m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
|
|
3146
|
+
m4trace:build-aux/m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
|
|
3147
|
+
m4trace:build-aux/m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
|
|
3148
|
+
m4trace:build-aux/m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
|
|
3149
|
+
m4trace:build-aux/m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
|
|
3150
|
+
m4trace:build-aux/m4/lt~obsolete.m4:68: -1- AC_DEFUN([LT_AC_PROG_SED])
|
|
3151
|
+
m4trace:build-aux/m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
|
|
3152
|
+
m4trace:build-aux/m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
|
|
3153
|
+
m4trace:build-aux/m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
|
|
3154
|
+
m4trace:build-aux/m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
|
|
3155
|
+
m4trace:build-aux/m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
|
|
3156
|
+
m4trace:build-aux/m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
|
|
3157
|
+
m4trace:build-aux/m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
|
|
3158
|
+
m4trace:build-aux/m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
|
|
3159
|
+
m4trace:build-aux/m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
|
|
3160
|
+
m4trace:build-aux/m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
|
|
3161
|
+
m4trace:build-aux/m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
|
|
3162
|
+
m4trace:build-aux/m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
|
|
3163
|
+
m4trace:build-aux/m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
|
|
3164
|
+
m4trace:build-aux/m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
|
|
3165
|
+
m4trace:build-aux/m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
|
|
3166
|
+
m4trace:build-aux/m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
|
|
3167
|
+
m4trace:build-aux/m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
|
|
3168
|
+
m4trace:build-aux/m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
|
|
3169
|
+
m4trace:build-aux/m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
|
|
3170
|
+
m4trace:build-aux/m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
|
|
3171
|
+
m4trace:build-aux/m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
|
|
3172
|
+
m4trace:build-aux/m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
|
|
3173
|
+
m4trace:build-aux/m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
|
|
3174
|
+
m4trace:build-aux/m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
|
|
3175
|
+
m4trace:build-aux/m4/pkg_compat.m4:43: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG_COMPAT], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
|
3176
|
+
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
|
|
3177
|
+
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
|
|
3178
|
+
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
|
|
3179
|
+
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
|
|
3180
|
+
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
|
|
3181
|
+
|
|
3182
|
+
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
|
3183
|
+
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
|
3184
|
+
fi
|
|
3185
|
+
if test -n "$PKG_CONFIG"; then
|
|
3186
|
+
_pkg_min_version=m4_default([$1], [0.9.0])
|
|
3187
|
+
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
|
|
3188
|
+
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
|
3189
|
+
AC_MSG_RESULT([yes])
|
|
3190
|
+
else
|
|
3191
|
+
AC_MSG_RESULT([no])
|
|
3192
|
+
PKG_CONFIG=""
|
|
3193
|
+
fi
|
|
3194
|
+
fi
|
|
3195
|
+
if test -z "$PKG_CONFIG"; then
|
|
3196
|
+
m4_default([$2], [AC_MSG_ERROR([pkg-config not found])])
|
|
3197
|
+
fi[]
|
|
3198
|
+
])
|
|
3199
|
+
m4trace:build-aux/m4/pkg_compat.m4:78: -1- AC_DEFUN([PKG_INSTALLDIR_COMPAT], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
|
|
3200
|
+
m4_pushdef([pkg_description],
|
|
3201
|
+
[pkg-config installation directory @<:@]pkg_default[@:>@])
|
|
3202
|
+
AC_ARG_WITH([pkgconfigdir],
|
|
3203
|
+
[AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
|
|
3204
|
+
[with_pkgconfigdir=]pkg_default)
|
|
3205
|
+
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
|
|
3206
|
+
m4_popdef([pkg_default])
|
|
3207
|
+
m4_popdef([pkg_description])
|
|
3208
|
+
])
|
|
3209
|
+
m4trace:build-aux/m4/zw_alignment.m4:18: -1- AC_DEFUN([zw_C_ALIGNAS], [AC_REQUIRE([AC_PROG_CC])
|
|
3210
|
+
AC_CACHE_CHECK([how to control data alignment], [zw_cv_c_alignas],
|
|
3211
|
+
[AS_IF([test x$ac_prog_cc_stdc = xc11],
|
|
3212
|
+
[zw_cv_c_alignas=_Alignas],
|
|
3213
|
+
[AC_COMPILE_IFELSE(
|
|
3214
|
+
[AC_LANG_PROGRAM([[
|
|
3215
|
+
int __attribute__((__aligned__(8))) global;
|
|
3216
|
+
struct __attribute__((__aligned__(8))) aggregate { int x, y; };
|
|
3217
|
+
]], [[
|
|
3218
|
+
int __attribute__((__aligned__(8))) local;
|
|
3219
|
+
]])],
|
|
3220
|
+
[zw_cv_c_alignas=__attribute__],
|
|
3221
|
+
[zw_cv_c_alignas=unknown])
|
|
3222
|
+
])
|
|
3223
|
+
])
|
|
3224
|
+
AS_IF([test x$zw_cv_c_alignas = x_Alignas],
|
|
3225
|
+
[zw_c_alignas_expr="_Alignas(n)"],
|
|
3226
|
+
[test x$zw_cv_c_alignas = x__attribute__],
|
|
3227
|
+
[zw_c_alignas_expr="__attribute__((__aligned__(n)))"],
|
|
3228
|
+
[AC_MSG_FAILURE([could not find a way to control data alignment])])
|
|
3229
|
+
AC_DEFINE_UNQUOTED([alignas(n)], [$zw_c_alignas_expr],
|
|
3230
|
+
[Define as a type specifier which sets the alignment of a variable or type
|
|
3231
|
+
to N bytes. C11 alignas(TYPE) does not need to be supported.])
|
|
3232
|
+
])
|
|
3233
|
+
m4trace:build-aux/m4/zw_alignment.m4:44: -1- AC_DEFUN([zw_C_ALIGNOF], [AC_REQUIRE([AC_PROG_CC])
|
|
3234
|
+
AC_CACHE_CHECK([how to query data alignment], [zw_cv_c_alignof],
|
|
3235
|
+
[AS_IF([test x$ac_prog_cc_stdc = xc11],
|
|
3236
|
+
[zw_cv_c_alignof=_Alignof],
|
|
3237
|
+
[AC_COMPILE_IFELSE(
|
|
3238
|
+
[AC_LANG_PROGRAM([[
|
|
3239
|
+
struct agg { int x, y; };
|
|
3240
|
+
extern const char align_int[__alignof__(int)];
|
|
3241
|
+
extern const char align_agg[__alignof__(struct agg)];
|
|
3242
|
+
]], [[
|
|
3243
|
+
double d;
|
|
3244
|
+
char align_var[__alignof__(d)];
|
|
3245
|
+
]])],
|
|
3246
|
+
[zw_cv_c_alignof=__alignof__],
|
|
3247
|
+
[zw_cv_c_alignof=unknown])
|
|
3248
|
+
])
|
|
3249
|
+
])
|
|
3250
|
+
AS_IF([test x$zw_cv_c_alignof = x_Alignof],
|
|
3251
|
+
[zw_c_alignof_expr="_Alignof(thing)"],
|
|
3252
|
+
[test x$zw_cv_c_alignof = x__alignof__],
|
|
3253
|
+
[zw_c_alignof_expr="__alignof__(thing)"],
|
|
3254
|
+
[AC_MSG_FAILURE([could not find a way to query data alignment])])
|
|
3255
|
+
AC_DEFINE_UNQUOTED([alignof(thing)], [$zw_c_alignof_expr],
|
|
3256
|
+
[Define as an expression which evaluates to the alignment of THING.
|
|
3257
|
+
Must be computed at compile time (an "integer constant expression").])
|
|
3258
|
+
])
|
|
3259
|
+
m4trace:build-aux/m4/zw_alignment.m4:72: -1- AC_DEFUN([zw_C_MAX_ALIGN_T], [AC_REQUIRE([AC_PROG_CC])
|
|
3260
|
+
AC_REQUIRE([zw_C_ALIGNOF])
|
|
3261
|
+
AC_CACHE_CHECK([for max_align_t in stddef.h], [zw_cv_c_max_align_t],
|
|
3262
|
+
[AC_COMPILE_IFELSE(
|
|
3263
|
+
[AC_LANG_PROGRAM([[
|
|
3264
|
+
#include <stddef.h>
|
|
3265
|
+
]], [[
|
|
3266
|
+
max_align_t var;
|
|
3267
|
+
return alignof(var);
|
|
3268
|
+
]])],
|
|
3269
|
+
[zw_cv_c_max_align_t=yes],
|
|
3270
|
+
[zw_cv_c_max_align_t=no])
|
|
3271
|
+
])
|
|
3272
|
+
AS_IF([test x$zw_cv_c_max_align_t = xyes],
|
|
3273
|
+
[AC_DEFINE([HAVE_MAX_ALIGN_T], 1,
|
|
3274
|
+
[Define if stddef.h provides max_align_t.])
|
|
3275
|
+
])
|
|
3276
|
+
])
|
|
3277
|
+
m4trace:build-aux/m4/zw_detect_asan.m4:18: -1- AC_DEFUN([zw_ASAN_IFELSE], [AC_REQUIRE([AC_PROG_EGREP]) AC_REQUIRE([LT_PATH_NM]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
|
3278
|
+
[AS_IF([$NM conftest$EXEEXT | $EGREP _asan_ > /dev/null 2>&1],
|
|
3279
|
+
[$1], [$2])],
|
|
3280
|
+
[AC_MSG_ERROR([cannot link a trivial test program])])])
|
|
3281
|
+
m4trace:build-aux/m4/zw_endianness.m4:133: -1- AC_DEFUN([zw_C_ENDIANNESS], [
|
|
3282
|
+
AC_REQUIRE([AC_PROG_CC])
|
|
3283
|
+
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
3284
|
+
AC_CHECK_HEADERS_ONCE([endian.h sys/endian.h sys/param.h])
|
|
3285
|
+
AC_CACHE_CHECK([for byte order macros],
|
|
3286
|
+
[ac_cv_c_byte_order_macros], [
|
|
3287
|
+
ac_cv_c_byte_order_macros=unknown
|
|
3288
|
+
m4_map([zw_C_ENDIANNESS_test_one], [zw_C_ENDIANNESS_options])])
|
|
3289
|
+
|
|
3290
|
+
AS_CASE([$ac_cv_c_byte_order_macros],
|
|
3291
|
+
m4_map_sep([zw_C_ENDIANNESS_case_one], [,], [zw_C_ENDIANNESS_options]),
|
|
3292
|
+
[AC_MSG_ERROR([unable to determine byte order at compile time])])
|
|
3293
|
+
|
|
3294
|
+
AC_DEFINE_UNQUOTED([ENDIANNESS_IS_BIG], [$zw_C_ENDIANNESS_IS_BIG],
|
|
3295
|
+
[Define as an @%:@if expression that is true when compiling for a big-endian CPU.])
|
|
3296
|
+
AC_DEFINE_UNQUOTED([ENDIANNESS_IS_LITTLE], [$zw_C_ENDIANNESS_IS_LIT],
|
|
3297
|
+
[Define as an @%:@if expression that is true when compiling for a little-endian CPU.])
|
|
3298
|
+
AC_DEFINE_UNQUOTED([ENDIANNESS_IS_PDP], [$zw_C_ENDIANNESS_IS_PDP],
|
|
3299
|
+
[Define as an @%:@if expression that is true when compiling for a PDP-endian CPU.])
|
|
3300
|
+
])
|
|
3301
|
+
m4trace:build-aux/m4/zw_ld_wrap.m4:9: -1- AC_DEFUN([zw_PROG_LD_WRAP], [AC_REQUIRE([AC_PROG_CC])
|
|
3302
|
+
AC_CACHE_CHECK([for ld --wrap], [zw_cv_prog_ld_wrap],
|
|
3303
|
+
[save_LDFLAGS="$LDFLAGS"
|
|
3304
|
+
save_LIBS="$LIBS"
|
|
3305
|
+
LDFLAGS=""
|
|
3306
|
+
LIBS=""
|
|
3307
|
+
AC_COMPILE_IFELSE(
|
|
3308
|
+
[AC_LANG_SOURCE([[
|
|
3309
|
+
extern void bar(void);
|
|
3310
|
+
void foo(void) { bar(); }
|
|
3311
|
+
]])],
|
|
3312
|
+
[mv conftest.$OBJEXT conftest2.$OBJEXT
|
|
3313
|
+
LDFLAGS="-Wl,--wrap,bar"
|
|
3314
|
+
LIBS="conftest2.$OBJEXT"
|
|
3315
|
+
AC_LINK_IFELSE(
|
|
3316
|
+
[AC_LANG_PROGRAM([[
|
|
3317
|
+
extern void foo(void);
|
|
3318
|
+
void __wrap_bar(void) {}
|
|
3319
|
+
]], [[
|
|
3320
|
+
foo();
|
|
3321
|
+
]])],
|
|
3322
|
+
[zw_cv_prog_ld_wrap=yes],
|
|
3323
|
+
[zw_cv_prog_ld_wrap=no])
|
|
3324
|
+
rm -f conftest2.$OBJEXT
|
|
3325
|
+
],
|
|
3326
|
+
[zw_cv_prog_ld_wrap=no])
|
|
3327
|
+
LDFLAGS="$save_LDFLAGS"
|
|
3328
|
+
LIBS="$save_LIBS"])
|
|
3329
|
+
if test x$zw_cv_prog_ld_wrap = xyes; then
|
|
3330
|
+
have_ld_wrap=yes
|
|
3331
|
+
AC_DEFINE([HAVE_LD_WRAP], 1,
|
|
3332
|
+
[Define to 1 if -Wl,--wrap,SYMBOL can be used to intercept
|
|
3333
|
+
calls to SYMBOL at link time.])
|
|
3334
|
+
else
|
|
3335
|
+
have_ld_wrap=no
|
|
3336
|
+
fi
|
|
3337
|
+
AM_CONDITIONAL([HAVE_LD_WRAP], [test $have_ld_wrap = yes])
|
|
3338
|
+
])
|
|
3339
|
+
m4trace:build-aux/m4/zw_prog_perl.m4:32: -1- AC_DEFUN([zw_PROG_PERL], [AC_PATH_PROG([PERL], [perl])
|
|
3340
|
+
AC_MSG_CHECKING([whether $PERL is version $1 or later])
|
|
3341
|
+
_AS_ECHO_LOG([$PERL -e 'use v$1;'])
|
|
3342
|
+
AS_IF(["$PERL" -e 'use v$1;' >&AS_MESSAGE_LOG_FD 2>&1],
|
|
3343
|
+
[AC_MSG_RESULT([yes])m4_ifnblank([$2], [
|
|
3344
|
+
$2])],
|
|
3345
|
+
[AC_MSG_RESULT([no])
|
|
3346
|
+
m4_default([$3], [AC_MSG_ERROR([Perl version $1 or later is required])])])])
|
|
3347
|
+
m4trace:build-aux/m4/zw_simple_warnings.m4:33: -1- AC_DEFUN([zw_SIMPLE_ENABLE_WARNINGS], [
|
|
3348
|
+
AC_ARG_ENABLE(
|
|
3349
|
+
[werror],
|
|
3350
|
+
AS_HELP_STRING(
|
|
3351
|
+
[--disable-werror],
|
|
3352
|
+
[do not treat all warnings as errors]
|
|
3353
|
+
),
|
|
3354
|
+
[case "${enableval}" in
|
|
3355
|
+
yes) warnings_are_errors=true ;;
|
|
3356
|
+
no) warnings_are_errors=false ;;
|
|
3357
|
+
*) AC_MSG_ERROR([bad value ${enableval} for --enable-werror]) ;;
|
|
3358
|
+
esac],
|
|
3359
|
+
[warnings_are_errors=true]
|
|
3360
|
+
)
|
|
3361
|
+
|
|
3362
|
+
# Always pass -Werror=unknown-warning-option to get Clang to fail
|
|
3363
|
+
# on bad flags, otherwise they are always appended to the
|
|
3364
|
+
# warn_cflags variable, and Clang warns on them for every
|
|
3365
|
+
# compilation unit. If this is passed to GCC, it will explode, so
|
|
3366
|
+
# the flag must be enabled conditionally.
|
|
3367
|
+
AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option],[
|
|
3368
|
+
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
|
3369
|
+
],[
|
|
3370
|
+
ax_compiler_flags_test=""
|
|
3371
|
+
])
|
|
3372
|
+
|
|
3373
|
+
# Don't enable -pedantic if we don't have C11, or we may get junk
|
|
3374
|
+
# warnings about static_assert.
|
|
3375
|
+
ax_candidate_warnings="dnl
|
|
3376
|
+
-Wall dnl
|
|
3377
|
+
-Wextra dnl
|
|
3378
|
+
-Walloc-zero dnl
|
|
3379
|
+
-Walloca dnl
|
|
3380
|
+
-Wbad-function-cast dnl
|
|
3381
|
+
-Wcast-align dnl
|
|
3382
|
+
-Wcast-qual dnl
|
|
3383
|
+
-Wconversion dnl
|
|
3384
|
+
-Wformat=2 dnl
|
|
3385
|
+
-Wformat-overflow=2 dnl
|
|
3386
|
+
-Wformat-signedness dnl
|
|
3387
|
+
-Wformat-truncation=1 dnl
|
|
3388
|
+
-Wlogical-op dnl
|
|
3389
|
+
-Wmissing-declarations dnl
|
|
3390
|
+
-Wmissing-prototypes dnl
|
|
3391
|
+
-Wnested-externs dnl
|
|
3392
|
+
-Wnull-dereference dnl
|
|
3393
|
+
-Wold-style-definition dnl
|
|
3394
|
+
-Wpointer-arith dnl
|
|
3395
|
+
-Wrestrict dnl
|
|
3396
|
+
-Wshadow dnl
|
|
3397
|
+
-Wstrict-overflow=2 dnl
|
|
3398
|
+
-Wstrict-prototypes dnl
|
|
3399
|
+
-Wundef dnl
|
|
3400
|
+
-Wvla dnl
|
|
3401
|
+
-Wwrite-strings dnl
|
|
3402
|
+
"
|
|
3403
|
+
if test x$ac_prog_cc_stdc = xc11; then
|
|
3404
|
+
ax_candidate_warnings="$ax_candidate_warnings -Wpedantic"
|
|
3405
|
+
fi
|
|
3406
|
+
if test x$warnings_are_errors = xtrue; then
|
|
3407
|
+
ax_candidate_warnings="$ax_candidate_warnings -Werror"
|
|
3408
|
+
fi
|
|
3409
|
+
|
|
3410
|
+
# If we are building for OSX, turn -Wdeprecated-declarations off.
|
|
3411
|
+
# Apple is a little too trigger-happy with deprecations.
|
|
3412
|
+
case "$host_os" in
|
|
3413
|
+
(*darwin*)
|
|
3414
|
+
ax_candidate_warnings="$ax_candidate_warnings -Wno-deprecated-declarations"
|
|
3415
|
+
;;
|
|
3416
|
+
esac
|
|
3417
|
+
|
|
3418
|
+
AX_APPEND_COMPILE_FLAGS(
|
|
3419
|
+
[$ax_candidate_warnings], [WARN_CFLAGS],
|
|
3420
|
+
[$ax_compiler_flags_test])
|
|
3421
|
+
|
|
3422
|
+
AC_SUBST(WARN_CFLAGS)
|
|
3423
|
+
|
|
3424
|
+
if test $cross_compiling = yes; then
|
|
3425
|
+
# Repeat the above logic for the build compiler.
|
|
3426
|
+
|
|
3427
|
+
save_cross_compiling=$cross_compiling
|
|
3428
|
+
save_ac_tool_prefix=$ac_tool_prefix
|
|
3429
|
+
save_CC="$CC"
|
|
3430
|
+
save_CFLAGS="$CFLAGS"
|
|
3431
|
+
save_CPPFLAGS="$CPPFLAGS"
|
|
3432
|
+
save_LDFLAGS="$LDFLAGS"
|
|
3433
|
+
|
|
3434
|
+
cross_compiling=no
|
|
3435
|
+
ac_tool_prefix=
|
|
3436
|
+
CC="$CC_FOR_BUILD"
|
|
3437
|
+
CFLAGS="$CFLAGS_FOR_BUILD"
|
|
3438
|
+
CPPFLAGS="$CPPFLAGS_FOR_BUILD"
|
|
3439
|
+
LDFLAGS="$LDFLAGS_FOR_BUILD"
|
|
3440
|
+
|
|
3441
|
+
pushdef([_AC_LANG_ABBREV],[build_c])
|
|
3442
|
+
|
|
3443
|
+
AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option],[
|
|
3444
|
+
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
|
3445
|
+
],[
|
|
3446
|
+
ax_compiler_flags_test=""
|
|
3447
|
+
])
|
|
3448
|
+
AX_APPEND_COMPILE_FLAGS(
|
|
3449
|
+
[$ax_candidate_warnings], [WARN_CFLAGS_FOR_BUILD],
|
|
3450
|
+
[$ax_compiler_flags_test])
|
|
3451
|
+
|
|
3452
|
+
popdef([_AC_LANG_ABBREV])
|
|
3453
|
+
|
|
3454
|
+
AC_SUBST(WARN_CFLAGS_FOR_BUILD)
|
|
3455
|
+
|
|
3456
|
+
cross_compiling=$save_cross_compiling
|
|
3457
|
+
ac_tool_prefix=$save_ac_tool_prefix
|
|
3458
|
+
CC="$save_CC"
|
|
3459
|
+
CFLAGS="$save_CFLAGS"
|
|
3460
|
+
CPPFLAGS="$save_CPPFLAGS"
|
|
3461
|
+
LDFLAGS="$save_LDFLAGS"
|
|
3462
|
+
fi # cross_compiling
|
|
3463
|
+
])
|
|
3464
|
+
m4trace:build-aux/m4/zw_static_assert.m4:15: -1- AC_DEFUN([zw_C_STATIC_ASSERT], [AC_REQUIRE([AC_PROG_CC])
|
|
3465
|
+
AC_CACHE_CHECK([for static_assert in assert.h],
|
|
3466
|
+
[zw_cv_c_assert_h_static_assert],
|
|
3467
|
+
[AC_COMPILE_IFELSE(
|
|
3468
|
+
[AC_LANG_PROGRAM([[
|
|
3469
|
+
#undef NDEBUG
|
|
3470
|
+
#include <assert.h>
|
|
3471
|
+
static_assert(2 + 2 == 4, "arithmetic does not work");
|
|
3472
|
+
]], [[
|
|
3473
|
+
static_assert(sizeof (char) == 1, "sizeof does not work");
|
|
3474
|
+
]])],
|
|
3475
|
+
[static_assert_true=yes],
|
|
3476
|
+
[static_assert_true=no])
|
|
3477
|
+
AC_COMPILE_IFELSE(
|
|
3478
|
+
[AC_LANG_PROGRAM([[
|
|
3479
|
+
#undef NDEBUG
|
|
3480
|
+
#include <assert.h>
|
|
3481
|
+
static_assert(2 * 2 == 7, "this assertion should fail");
|
|
3482
|
+
]])],
|
|
3483
|
+
[static_assert_false=no],
|
|
3484
|
+
[static_assert_false=yes])
|
|
3485
|
+
AS_IF([test $static_assert_false$static_assert_true = yesyes],
|
|
3486
|
+
[zw_cv_c_assert_h_static_assert=yes],
|
|
3487
|
+
[zw_cv_c_assert_h_static_assert=no])])
|
|
3488
|
+
AS_IF([test $zw_cv_c_assert_h_static_assert = yes],
|
|
3489
|
+
[AC_DEFINE([HAVE_STATIC_ASSERT_IN_ASSERT_H], 1,
|
|
3490
|
+
[Define if <assert.h> defines static_assert.])],
|
|
3491
|
+
[AC_CACHE_CHECK([for _Static_assert],
|
|
3492
|
+
[zw_cv_c__Static_assert],
|
|
3493
|
+
[AS_IF([test x$ac_prog_cc_stdc = xc11],
|
|
3494
|
+
[zw_cv_c__Static_assert=yes],
|
|
3495
|
+
[AC_COMPILE_IFELSE(
|
|
3496
|
+
[AC_LANG_PROGRAM([[
|
|
3497
|
+
_Static_assert(2 + 2 == 4, "arithmetic does not work");
|
|
3498
|
+
]], [[
|
|
3499
|
+
_Static_assert(sizeof (char) == 1, "sizeof does not work");
|
|
3500
|
+
]])],
|
|
3501
|
+
[_Static_assert_true=yes],
|
|
3502
|
+
[_Static_assert_true=no])
|
|
3503
|
+
AC_COMPILE_IFELSE(
|
|
3504
|
+
[AC_LANG_PROGRAM([[
|
|
3505
|
+
_Static_assert(2 * 2 == 7, "this assertion should fail");
|
|
3506
|
+
]])],
|
|
3507
|
+
[_Static_assert_false=no],
|
|
3508
|
+
[_Static_assert_false=yes])
|
|
3509
|
+
AS_IF([test $static_assert_false$static_assert_true = yesyes],
|
|
3510
|
+
[zw_cv_c__Static_assert=yes],
|
|
3511
|
+
[zw_cv_c__Static_assert=no])])])
|
|
3512
|
+
AS_IF([test $zw_cv_c__Static_assert = yes],
|
|
3513
|
+
[AC_DEFINE([HAVE__STATIC_ASSERT], 1,
|
|
3514
|
+
[Define if the compiler supports the _Static_assert intrinsic.])])
|
|
3515
|
+
])
|
|
3516
|
+
])
|
|
3517
|
+
m4trace:configure.ac:2: -1- m4_include([build-aux/m4/zw_automodern.m4])
|
|
3518
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
|
3519
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
|
|
3520
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section 'AC_LIBOBJ vs LIBOBJS'])
|
|
3521
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
|
|
3522
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
|
|
3523
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
|
|
3524
|
+
m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
|
|
3525
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
|
|
3526
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
|
3527
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
|
3528
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
|
3529
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
|
3530
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
|
3531
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
|
3532
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
|
|
3533
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
|
|
3534
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
|
|
3535
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
|
|
3536
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
|
|
3537
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
|
|
3538
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
|
|
3539
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
|
|
3540
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
|
|
3541
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
|
|
3542
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
|
|
3543
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
|
|
3544
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^runstatedir$])
|
|
3545
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
|
|
3546
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
|
|
3547
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
|
|
3548
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
|
|
3549
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
|
|
3550
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
|
|
3551
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
|
|
3552
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
|
|
3553
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
|
|
3554
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
|
|
3555
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
|
|
3556
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
|
3557
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
|
3558
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
|
3559
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
|
3560
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
|
3561
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
|
|
3562
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
|
|
3563
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
|
|
3564
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
|
|
3565
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
|
|
3566
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
|
|
3567
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
|
|
3568
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
|
|
3569
|
+
m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
|
|
3570
|
+
m4trace:configure.ac:8: -1- AC_CONFIG_MACRO_DIR([build-aux/m4])
|
|
3571
|
+
m4trace:configure.ac:8: -1- AC_CONFIG_MACRO_DIR_TRACE([build-aux/m4])
|
|
3572
|
+
m4trace:configure.ac:16: -1- AM_INIT_AUTOMAKE([tar-v7])
|
|
3573
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
|
3574
|
+
m4trace:configure.ac:16: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
|
|
3575
|
+
m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.18])
|
|
3576
|
+
m4trace:configure.ac:16: -1- _AM_AUTOCONF_VERSION([2.72])
|
|
3577
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
|
3578
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
|
3579
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_DATA$])
|
|
3580
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__isrc$])
|
|
3581
|
+
m4trace:configure.ac:16: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
|
3582
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^CYGPATH_W$])
|
|
3583
|
+
m4trace:configure.ac:16: -1- _AM_SET_OPTIONS([tar-v7])
|
|
3584
|
+
m4trace:configure.ac:16: -1- _AM_SET_OPTION([tar-v7])
|
|
3585
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([tar-v7])
|
|
3586
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE$])
|
|
3587
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^VERSION$])
|
|
3588
|
+
m4trace:configure.ac:16: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
|
|
3589
|
+
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
|
|
3590
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([no-define])
|
|
3591
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE$])
|
|
3592
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^VERSION$])
|
|
3593
|
+
m4trace:configure.ac:16: -1- AM_SANITY_CHECK
|
|
3594
|
+
m4trace:configure.ac:16: -1- _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
|
|
3595
|
+
m4trace:configure.ac:16: -1- _AM_SLEEP_FRACTIONAL_SECONDS
|
|
3596
|
+
m4trace:configure.ac:16: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
|
|
3597
|
+
m4trace:configure.ac:16: -1- AM_MISSING_HAS_RUN
|
|
3598
|
+
m4trace:configure.ac:16: -1- AM_AUX_DIR_EXPAND
|
|
3599
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^ACLOCAL$])
|
|
3600
|
+
m4trace:configure.ac:16: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
|
|
3601
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AUTOCONF$])
|
|
3602
|
+
m4trace:configure.ac:16: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
|
|
3603
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AUTOMAKE$])
|
|
3604
|
+
m4trace:configure.ac:16: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
|
3605
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AUTOHEADER$])
|
|
3606
|
+
m4trace:configure.ac:16: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
|
3607
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^MAKEINFO$])
|
|
3608
|
+
m4trace:configure.ac:16: -1- AM_PROG_INSTALL_SH
|
|
3609
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^install_sh$])
|
|
3610
|
+
m4trace:configure.ac:16: -1- AM_PROG_INSTALL_STRIP
|
|
3611
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^STRIP$])
|
|
3612
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
|
3613
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^MKDIR_P$])
|
|
3614
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^mkdir_p$])
|
|
3615
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AWK$])
|
|
3616
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^SET_MAKE$])
|
|
3617
|
+
m4trace:configure.ac:16: -1- AM_SET_LEADING_DOT
|
|
3618
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__leading_dot$])
|
|
3619
|
+
m4trace:configure.ac:16: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
|
3620
|
+
[_AM_IF_OPTION([tar-v7], [_AM_PROG_TAR([v7])],
|
|
3621
|
+
[_AM_PROG_TAR([ustar])])])])
|
|
3622
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([tar-ustar])
|
|
3623
|
+
m4trace:configure.ac:16: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_IF_OPTION([tar-v7], [_AM_PROG_TAR([v7])],
|
|
3624
|
+
[_AM_PROG_TAR([ustar])])])
|
|
3625
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([tar-pax])
|
|
3626
|
+
m4trace:configure.ac:16: -1- _AM_IF_OPTION([tar-v7], [_AM_PROG_TAR([v7])], [_AM_PROG_TAR([ustar])])
|
|
3627
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([tar-v7])
|
|
3628
|
+
m4trace:configure.ac:16: -1- _AM_PROG_TAR([v7])
|
|
3629
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AMTAR$])
|
|
3630
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__tar$])
|
|
3631
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__untar$])
|
|
3632
|
+
m4trace:configure.ac:16: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
|
|
3633
|
+
[_AM_DEPENDENCIES([CC])],
|
|
3634
|
+
[m4_define([AC_PROG_CC],
|
|
3635
|
+
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
|
|
3636
|
+
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|
3637
|
+
[_AM_DEPENDENCIES([CXX])],
|
|
3638
|
+
[m4_define([AC_PROG_CXX],
|
|
3639
|
+
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
|
|
3640
|
+
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
|
3641
|
+
[_AM_DEPENDENCIES([OBJC])],
|
|
3642
|
+
[m4_define([AC_PROG_OBJC],
|
|
3643
|
+
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
|
|
3644
|
+
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
|
3645
|
+
[_AM_DEPENDENCIES([OBJCXX])],
|
|
3646
|
+
[m4_define([AC_PROG_OBJCXX],
|
|
3647
|
+
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
|
3648
|
+
])
|
|
3649
|
+
m4trace:configure.ac:16: -2- _AM_MANGLE_OPTION([no-dependencies])
|
|
3650
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^CTAGS$])
|
|
3651
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^ETAGS$])
|
|
3652
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^CSCOPE$])
|
|
3653
|
+
m4trace:configure.ac:16: -1- _AM_SILENT_RULES
|
|
3654
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_V$])
|
|
3655
|
+
m4trace:configure.ac:16: -1- AM_SUBST_NOTMAKE([AM_V])
|
|
3656
|
+
m4trace:configure.ac:16: -1- _AM_SUBST_NOTMAKE([AM_V])
|
|
3657
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_DEFAULT_V$])
|
|
3658
|
+
m4trace:configure.ac:16: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
|
|
3659
|
+
m4trace:configure.ac:16: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
|
|
3660
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
|
|
3661
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_BACKSLASH$])
|
|
3662
|
+
m4trace:configure.ac:16: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
|
|
3663
|
+
m4trace:configure.ac:16: -1- _AM_PROG_RM_F
|
|
3664
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__rm_f_notfound$])
|
|
3665
|
+
m4trace:configure.ac:16: -1- _AM_PROG_XARGS_N
|
|
3666
|
+
m4trace:configure.ac:16: -1- m4_pattern_allow([^am__xargs_n$])
|
|
3667
|
+
m4trace:configure.ac:26: -1- m4_pattern_allow([PKG_INSTALLDIR])
|
|
3668
|
+
m4trace:configure.ac:27: -1- PKG_PROG_PKG_CONFIG_COMPAT([0.27], [PKG_CONFIG=false])
|
|
3669
|
+
m4trace:configure.ac:27: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
|
3670
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
|
|
3671
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
|
|
3672
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG$])
|
|
3673
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
|
|
3674
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
|
|
3675
|
+
m4trace:configure.ac:27: -1- m4_pattern_allow([^PKG_CONFIG$])
|
|
3676
|
+
m4trace:configure.ac:28: -1- PKG_INSTALLDIR
|
|
3677
|
+
m4trace:configure.ac:28: -1- m4_pattern_allow([^pkgconfigdir$])
|
|
3678
|
+
m4trace:configure.ac:28: -1- PKG_INSTALLDIR_COMPAT
|
|
3679
|
+
m4trace:configure.ac:28: -1- m4_pattern_allow([^pkgconfigdir$])
|
|
3680
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^build$])
|
|
3681
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^build_cpu$])
|
|
3682
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^build_vendor$])
|
|
3683
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^build_os$])
|
|
3684
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^host$])
|
|
3685
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^host_cpu$])
|
|
3686
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^host_vendor$])
|
|
3687
|
+
m4trace:configure.ac:33: -1- m4_pattern_allow([^host_os$])
|
|
3688
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3689
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CFLAGS$])
|
|
3690
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^LDFLAGS$])
|
|
3691
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^LIBS$])
|
|
3692
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CPPFLAGS$])
|
|
3693
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3694
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3695
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3696
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3697
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^ac_ct_CC$])
|
|
3698
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CC$])
|
|
3699
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^EXEEXT$])
|
|
3700
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^OBJEXT$])
|
|
3701
|
+
m4trace:configure.ac:34: -1- _AM_PROG_CC_C_O
|
|
3702
|
+
m4trace:configure.ac:34: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
|
|
3703
|
+
m4trace:configure.ac:34: -1- _AM_DEPENDENCIES([CC])
|
|
3704
|
+
m4trace:configure.ac:34: -1- AM_SET_DEPDIR
|
|
3705
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^DEPDIR$])
|
|
3706
|
+
m4trace:configure.ac:34: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
3707
|
+
m4trace:configure.ac:34: -1- AM_MAKE_INCLUDE
|
|
3708
|
+
m4trace:configure.ac:34: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
|
|
3709
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^am__include$])
|
|
3710
|
+
m4trace:configure.ac:34: -1- AM_DEP_TRACK
|
|
3711
|
+
m4trace:configure.ac:34: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
|
3712
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
|
3713
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
|
3714
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
|
3715
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
|
3716
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
|
3717
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
|
3718
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^am__nodep$])
|
|
3719
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__nodep])
|
|
3720
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^CCDEPMODE$])
|
|
3721
|
+
m4trace:configure.ac:34: -1- AM_CONDITIONAL([am__fastdepCC], [
|
|
3722
|
+
test "x$enable_dependency_tracking" != xno \
|
|
3723
|
+
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
|
3724
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
|
3725
|
+
m4trace:configure.ac:34: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
|
3726
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
|
3727
|
+
m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
|
3728
|
+
m4trace:configure.ac:42: -1- m4_pattern_allow([^CPP$])
|
|
3729
|
+
m4trace:configure.ac:42: -1- m4_pattern_allow([^CPPFLAGS$])
|
|
3730
|
+
m4trace:configure.ac:42: -1- m4_pattern_allow([^CPP$])
|
|
3731
|
+
m4trace:configure.ac:43: -1- m4_pattern_allow([^SET_MAKE$])
|
|
3732
|
+
m4trace:configure.ac:44: -1- m4_pattern_allow([^LN_S$])
|
|
3733
|
+
m4trace:configure.ac:45: -1- zw_PROG_PERL([5.14.0])
|
|
3734
|
+
m4trace:configure.ac:45: -1- m4_pattern_allow([^PERL$])
|
|
3735
|
+
m4trace:configure.ac:46: -1- m4_pattern_allow([^GPG2$])
|
|
3736
|
+
m4trace:configure.ac:47: -1- m4_pattern_allow([^SHA256SUM$])
|
|
3737
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_stdio_h], [m4_divert_text([INIT_PREPARE],
|
|
3738
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3739
|
+
[" stdio.h ]AS_TR_SH([stdio.h]) AS_TR_CPP([HAVE_stdio.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3740
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE],
|
|
3741
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3742
|
+
[" stdlib.h ]AS_TR_SH([stdlib.h]) AS_TR_CPP([HAVE_stdlib.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3743
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_string_h], [m4_divert_text([INIT_PREPARE],
|
|
3744
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3745
|
+
[" string.h ]AS_TR_SH([string.h]) AS_TR_CPP([HAVE_string.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3746
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_inttypes_h], [m4_divert_text([INIT_PREPARE],
|
|
3747
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3748
|
+
[" inttypes.h ]AS_TR_SH([inttypes.h]) AS_TR_CPP([HAVE_inttypes.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3749
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE],
|
|
3750
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3751
|
+
[" stdint.h ]AS_TR_SH([stdint.h]) AS_TR_CPP([HAVE_stdint.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3752
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_strings_h], [m4_divert_text([INIT_PREPARE],
|
|
3753
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3754
|
+
[" strings.h ]AS_TR_SH([strings.h]) AS_TR_CPP([HAVE_strings.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3755
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE],
|
|
3756
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3757
|
+
[" sys/stat.h ]AS_TR_SH([sys/stat.h]) AS_TR_CPP([HAVE_sys/stat.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3758
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_sys_types_h], [m4_divert_text([INIT_PREPARE],
|
|
3759
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3760
|
+
[" sys/types.h ]AS_TR_SH([sys/types.h]) AS_TR_CPP([HAVE_sys/types.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3761
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE],
|
|
3762
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3763
|
+
[" unistd.h ]AS_TR_SH([unistd.h]) AS_TR_CPP([HAVE_unistd.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3764
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^STDC_HEADERS$])
|
|
3765
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE],
|
|
3766
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3767
|
+
[" wchar.h ]AS_TR_SH([wchar.h]) AS_TR_CPP([HAVE_wchar.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3768
|
+
m4trace:configure.ac:49: -1- AC_DEFUN([_AC_Header_minix_config_h], [m4_divert_text([INIT_PREPARE],
|
|
3769
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3770
|
+
[" minix/config.h ]AS_TR_SH([minix/config.h]) AS_TR_CPP([HAVE_minix/config.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3771
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_ALL_SOURCE$])
|
|
3772
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_DARWIN_C_SOURCE$])
|
|
3773
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_GNU_SOURCE$])
|
|
3774
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_HPUX_ALT_XOPEN_SOCKET_API$])
|
|
3775
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_NETBSD_SOURCE$])
|
|
3776
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_OPENBSD_SOURCE$])
|
|
3777
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
|
|
3778
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_ATTRIBS_EXT__$])
|
|
3779
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_BFP_EXT__$])
|
|
3780
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_DFP_EXT__$])
|
|
3781
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_EXT__$])
|
|
3782
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_FUNCS_EXT__$])
|
|
3783
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_TYPES_EXT__$])
|
|
3784
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_LIB_EXT2__$])
|
|
3785
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__STDC_WANT_MATH_SPEC_FUNCS__$])
|
|
3786
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
|
|
3787
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_MINIX$])
|
|
3788
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_POSIX_SOURCE$])
|
|
3789
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
|
|
3790
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^__EXTENSIONS__$])
|
|
3791
|
+
m4trace:configure.ac:49: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
|
|
3792
|
+
m4trace:configure.ac:50: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
|
|
3793
|
+
m4trace:configure.ac:50: -1- m4_pattern_allow([^_LARGE_FILES$])
|
|
3794
|
+
m4trace:configure.ac:50: -1- m4_pattern_allow([^_TIME_BITS$])
|
|
3795
|
+
m4trace:configure.ac:50: -1- m4_pattern_allow([^__MINGW_USE_VC2005_COMPAT$])
|
|
3796
|
+
m4trace:configure.ac:51: -1- zw_SIMPLE_ENABLE_WARNINGS
|
|
3797
|
+
m4trace:configure.ac:51: -1- AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option], [
|
|
3798
|
+
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
|
3799
|
+
], [
|
|
3800
|
+
ax_compiler_flags_test=""
|
|
3801
|
+
])
|
|
3802
|
+
m4trace:configure.ac:51: -1- AX_APPEND_COMPILE_FLAGS([$ax_candidate_warnings], [WARN_CFLAGS], [$ax_compiler_flags_test])
|
|
3803
|
+
m4trace:configure.ac:51: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
|
|
3804
|
+
m4trace:configure.ac:51: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
|
|
3805
|
+
m4trace:configure.ac:51: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARN_CFLAGS])], [], [$ax_compiler_flags_test], [])
|
|
3806
|
+
m4trace:configure.ac:51: -1- AX_APPEND_FLAG([$flag], [WARN_CFLAGS])
|
|
3807
|
+
m4trace:configure.ac:51: -1- m4_pattern_allow([^WARN_CFLAGS$])
|
|
3808
|
+
m4trace:configure.ac:51: -1- AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option], [
|
|
3809
|
+
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
|
3810
|
+
], [
|
|
3811
|
+
ax_compiler_flags_test=""
|
|
3812
|
+
])
|
|
3813
|
+
m4trace:configure.ac:51: -1- AX_APPEND_COMPILE_FLAGS([$ax_candidate_warnings], [WARN_CFLAGS_FOR_BUILD], [$ax_compiler_flags_test])
|
|
3814
|
+
m4trace:configure.ac:51: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
|
|
3815
|
+
m4trace:configure.ac:51: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
|
|
3816
|
+
m4trace:configure.ac:51: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARN_CFLAGS_FOR_BUILD])], [], [$ax_compiler_flags_test], [])
|
|
3817
|
+
m4trace:configure.ac:51: -1- AX_APPEND_FLAG([$flag], [WARN_CFLAGS_FOR_BUILD])
|
|
3818
|
+
m4trace:configure.ac:51: -1- m4_pattern_allow([^WARN_CFLAGS_FOR_BUILD$])
|
|
3819
|
+
m4trace:configure.ac:52: -1- LT_INIT
|
|
3820
|
+
m4trace:configure.ac:52: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
|
3821
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
|
3822
|
+
m4trace:configure.ac:52: -1- LTOPTIONS_VERSION
|
|
3823
|
+
m4trace:configure.ac:52: -1- LTSUGAR_VERSION
|
|
3824
|
+
m4trace:configure.ac:52: -1- LTVERSION_VERSION
|
|
3825
|
+
m4trace:configure.ac:52: -1- LTOBSOLETE_VERSION
|
|
3826
|
+
m4trace:configure.ac:52: -1- _LT_PROG_LTMAIN
|
|
3827
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBTOOL$])
|
|
3828
|
+
m4trace:configure.ac:52: -1- _LT_PREPARE_SED_QUOTE_VARS
|
|
3829
|
+
m4trace:configure.ac:52: -1- _LT_PROG_ECHO_BACKSLASH
|
|
3830
|
+
m4trace:configure.ac:52: -1- LT_PATH_LD
|
|
3831
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^SED$])
|
|
3832
|
+
m4trace:configure.ac:52: -1- AC_PROG_EGREP
|
|
3833
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^GREP$])
|
|
3834
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^EGREP$])
|
|
3835
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^FGREP$])
|
|
3836
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^GREP$])
|
|
3837
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^LD$])
|
|
3838
|
+
m4trace:configure.ac:52: -1- LT_PATH_NM
|
|
3839
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^DUMPBIN$])
|
|
3840
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
|
3841
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^DUMPBIN$])
|
|
3842
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^NM$])
|
|
3843
|
+
m4trace:configure.ac:52: -1- LT_CMD_MAX_LEN
|
|
3844
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^FILECMD$])
|
|
3845
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^OBJDUMP$])
|
|
3846
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^OBJDUMP$])
|
|
3847
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^DLLTOOL$])
|
|
3848
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^DLLTOOL$])
|
|
3849
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^AR$])
|
|
3850
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^ac_ct_AR$])
|
|
3851
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^STRIP$])
|
|
3852
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^RANLIB$])
|
|
3853
|
+
m4trace:configure.ac:52: -1- _LT_WITH_SYSROOT
|
|
3854
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([LT_OBJDIR])
|
|
3855
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^LT_OBJDIR$])
|
|
3856
|
+
m4trace:configure.ac:52: -1- _LT_CC_BASENAME([$compiler])
|
|
3857
|
+
m4trace:configure.ac:52: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
|
|
3858
|
+
m4trace:configure.ac:52: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
|
|
3859
|
+
m4trace:configure.ac:52: -1- LT_SUPPORTED_TAG([CC])
|
|
3860
|
+
m4trace:configure.ac:52: -1- _LT_COMPILER_BOILERPLATE
|
|
3861
|
+
m4trace:configure.ac:52: -1- _LT_LINKER_BOILERPLATE
|
|
3862
|
+
m4trace:configure.ac:52: -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"])
|
|
3863
|
+
m4trace:configure.ac:52: -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
|
|
3864
|
+
"" | " "*) ;;
|
|
3865
|
+
*) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
|
|
3866
|
+
esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
|
|
3867
|
+
_LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
|
|
3868
|
+
m4trace:configure.ac:52: -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, )=])
|
|
3869
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^MANIFEST_TOOL$])
|
|
3870
|
+
m4trace:configure.ac:52: -1- _LT_DLL_DEF_P([$export_symbols])
|
|
3871
|
+
m4trace:configure.ac:52: -1- _LT_DLL_DEF_P([$export_symbols])
|
|
3872
|
+
m4trace:configure.ac:52: -1- _LT_REQUIRED_DARWIN_CHECKS
|
|
3873
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^DSYMUTIL$])
|
|
3874
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^NMEDIT$])
|
|
3875
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^LIPO$])
|
|
3876
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^OTOOL$])
|
|
3877
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^OTOOL64$])
|
|
3878
|
+
m4trace:configure.ac:52: -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'])
|
|
3879
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
|
|
3880
|
+
m4trace:configure.ac:52: -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
|
|
3881
|
+
"" | " "*) ;;
|
|
3882
|
+
*) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
|
|
3883
|
+
esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
|
|
3884
|
+
_LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
|
|
3885
|
+
m4trace:configure.ac:52: -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, )=])
|
|
3886
|
+
m4trace:configure.ac:52: -1- LT_SYS_DLOPEN_SELF
|
|
3887
|
+
m4trace:configure.ac:52: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
|
3888
|
+
m4trace:configure.ac:56: -1- LT_SYS_SYMBOL_USCORE
|
|
3889
|
+
m4trace:configure.ac:56: -1- m4_pattern_allow([^sys_symbol_underscore$])
|
|
3890
|
+
m4trace:configure.ac:62: -1- m4_pattern_allow([^SYMBOL_PREFIX$])
|
|
3891
|
+
m4trace:configure.ac:78: -1- m4_pattern_allow([^HAVE_CPP_dD$])
|
|
3892
|
+
m4trace:configure.ac:82: -1- zw_ASAN_IFELSE([ac_cv_c_address_sanitizer=yes], [ac_cv_c_address_sanitizer=no])
|
|
3893
|
+
m4trace:configure.ac:88: -1- m4_pattern_allow([^XCRYPT_USE_ASAN$])
|
|
3894
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_fcntl_h], [m4_divert_text([INIT_PREPARE],
|
|
3895
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3896
|
+
[" fcntl.h ]AS_TR_SH([fcntl.h]) AS_TR_CPP([HAVE_fcntl.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3897
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_stdbool_h], [m4_divert_text([INIT_PREPARE],
|
|
3898
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3899
|
+
[" stdbool.h ]AS_TR_SH([stdbool.h]) AS_TR_CPP([HAVE_stdbool.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3900
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_ucontext_h], [m4_divert_text([INIT_PREPARE],
|
|
3901
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3902
|
+
[" ucontext.h ]AS_TR_SH([ucontext.h]) AS_TR_CPP([HAVE_ucontext.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3903
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_sys_cdefs_h], [m4_divert_text([INIT_PREPARE],
|
|
3904
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3905
|
+
[" sys/cdefs.h ]AS_TR_SH([sys/cdefs.h]) AS_TR_CPP([HAVE_sys/cdefs.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3906
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_sys_random_h], [m4_divert_text([INIT_PREPARE],
|
|
3907
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3908
|
+
[" sys/random.h ]AS_TR_SH([sys/random.h]) AS_TR_CPP([HAVE_sys/random.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3909
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_sys_syscall_h], [m4_divert_text([INIT_PREPARE],
|
|
3910
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3911
|
+
[" sys/syscall.h ]AS_TR_SH([sys/syscall.h]) AS_TR_CPP([HAVE_sys/syscall.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3912
|
+
m4trace:configure.ac:95: -1- AC_DEFUN([_AC_Header_valgrind_valgrind_h], [m4_divert_text([INIT_PREPARE],
|
|
3913
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3914
|
+
[" valgrind/valgrind.h ]AS_TR_SH([valgrind/valgrind.h]) AS_TR_CPP([HAVE_valgrind/valgrind.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3915
|
+
m4trace:configure.ac:141: -1- m4_pattern_allow([^HAVE_SYS_CDEFS_BEGIN_END_DECLS$])
|
|
3916
|
+
m4trace:configure.ac:145: -1- m4_pattern_allow([^HAVE_SYS_CDEFS_THROW$])
|
|
3917
|
+
m4trace:configure.ac:150: -1- zw_C_ALIGNAS
|
|
3918
|
+
m4trace:configure.ac:150: -1- m4_pattern_allow([^alignas$])
|
|
3919
|
+
m4trace:configure.ac:151: -1- zw_C_ALIGNOF
|
|
3920
|
+
m4trace:configure.ac:151: -1- m4_pattern_allow([^alignof$])
|
|
3921
|
+
m4trace:configure.ac:152: -1- zw_C_MAX_ALIGN_T
|
|
3922
|
+
m4trace:configure.ac:152: -1- m4_pattern_allow([^HAVE_MAX_ALIGN_T$])
|
|
3923
|
+
m4trace:configure.ac:153: -1- zw_C_ENDIANNESS
|
|
3924
|
+
m4trace:configure.ac:153: -1- AC_DEFUN([_AC_Header_endian_h], [m4_divert_text([INIT_PREPARE],
|
|
3925
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3926
|
+
[" endian.h ]AS_TR_SH([endian.h]) AS_TR_CPP([HAVE_endian.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3927
|
+
m4trace:configure.ac:153: -1- AC_DEFUN([_AC_Header_sys_endian_h], [m4_divert_text([INIT_PREPARE],
|
|
3928
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3929
|
+
[" sys/endian.h ]AS_TR_SH([sys/endian.h]) AS_TR_CPP([HAVE_sys/endian.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3930
|
+
m4trace:configure.ac:153: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE],
|
|
3931
|
+
[AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
|
|
3932
|
+
[" sys/param.h ]AS_TR_SH([sys/param.h]) AS_TR_CPP([HAVE_sys/param.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3933
|
+
m4trace:configure.ac:153: -1- m4_pattern_allow([^ENDIANNESS_IS_BIG$])
|
|
3934
|
+
m4trace:configure.ac:153: -1- m4_pattern_allow([^ENDIANNESS_IS_LITTLE$])
|
|
3935
|
+
m4trace:configure.ac:153: -1- m4_pattern_allow([^ENDIANNESS_IS_PDP$])
|
|
3936
|
+
m4trace:configure.ac:154: -1- zw_C_STATIC_ASSERT
|
|
3937
|
+
m4trace:configure.ac:154: -1- m4_pattern_allow([^HAVE_STATIC_ASSERT_IN_ASSERT_H$])
|
|
3938
|
+
m4trace:configure.ac:154: -1- m4_pattern_allow([^HAVE__STATIC_ASSERT$])
|
|
3939
|
+
m4trace:configure.ac:155: -1- zw_PROG_LD_WRAP
|
|
3940
|
+
m4trace:configure.ac:155: -1- m4_pattern_allow([^HAVE_LD_WRAP$])
|
|
3941
|
+
m4trace:configure.ac:155: -1- AM_CONDITIONAL([HAVE_LD_WRAP], [test $have_ld_wrap = yes])
|
|
3942
|
+
m4trace:configure.ac:155: -1- m4_pattern_allow([^HAVE_LD_WRAP_TRUE$])
|
|
3943
|
+
m4trace:configure.ac:155: -1- m4_pattern_allow([^HAVE_LD_WRAP_FALSE$])
|
|
3944
|
+
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([HAVE_LD_WRAP_TRUE])
|
|
3945
|
+
m4trace:configure.ac:155: -1- _AM_SUBST_NOTMAKE([HAVE_LD_WRAP_FALSE])
|
|
3946
|
+
m4trace:configure.ac:156: -1- AX_CHECK_VSCRIPT
|
|
3947
|
+
m4trace:configure.ac:156: -1- _AX_CHECK_VSCRIPT([--version-script], [show], [
|
|
3948
|
+
ax_cv_check_vscript_flag=--version-script
|
|
3949
|
+
])
|
|
3950
|
+
m4trace:configure.ac:156: -1- _AX_CHECK_VSCRIPT([-M], [show], [ax_cv_check_vscript_flag=-M])
|
|
3951
|
+
m4trace:configure.ac:156: -1- _AX_CHECK_VSCRIPT([$ax_cv_check_vscript_flag], [show], [ax_cv_check_vscript_flag=unsupported], [yes])
|
|
3952
|
+
m4trace:configure.ac:156: -1- _AX_CHECK_VSCRIPT([$ax_cv_check_vscript_flag], [sh*], [
|
|
3953
|
+
ax_cv_check_vscript_complex_wildcards=yes])
|
|
3954
|
+
m4trace:configure.ac:156: -1- m4_pattern_allow([^VSCRIPT_LDFLAGS$])
|
|
3955
|
+
m4trace:configure.ac:156: -1- AM_CONDITIONAL([HAVE_VSCRIPT], [test x$ax_check_vscript_flag != x])
|
|
3956
|
+
m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_VSCRIPT_TRUE$])
|
|
3957
|
+
m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_VSCRIPT_FALSE$])
|
|
3958
|
+
m4trace:configure.ac:156: -1- _AM_SUBST_NOTMAKE([HAVE_VSCRIPT_TRUE])
|
|
3959
|
+
m4trace:configure.ac:156: -1- _AM_SUBST_NOTMAKE([HAVE_VSCRIPT_FALSE])
|
|
3960
|
+
m4trace:configure.ac:156: -1- AM_CONDITIONAL([HAVE_VSCRIPT_COMPLEX], [test x$ax_check_vscript_complex_wildcards = xyes])
|
|
3961
|
+
m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_VSCRIPT_COMPLEX_TRUE$])
|
|
3962
|
+
m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_VSCRIPT_COMPLEX_FALSE$])
|
|
3963
|
+
m4trace:configure.ac:156: -1- _AM_SUBST_NOTMAKE([HAVE_VSCRIPT_COMPLEX_TRUE])
|
|
3964
|
+
m4trace:configure.ac:156: -1- _AM_SUBST_NOTMAKE([HAVE_VSCRIPT_COMPLEX_FALSE])
|
|
3965
|
+
m4trace:configure.ac:157: -1- AX_GCC_FUNC_ATTRIBUTE([symver])
|
|
3966
|
+
m4trace:configure.ac:157: -1- m4_pattern_allow([^HAVE_FUNC_ATTRIBUTE_SYMVER$])
|
|
3967
|
+
m4trace:configure.ac:180: -1- m4_pattern_allow([^UNDEF_FLAG$])
|
|
3968
|
+
m4trace:configure.ac:197: -1- m4_pattern_allow([^TEXT_RELOC_FLAG$])
|
|
3969
|
+
m4trace:configure.ac:214: -1- m4_pattern_allow([^RELRO_FLAG$])
|
|
3970
|
+
m4trace:configure.ac:231: -1- m4_pattern_allow([^BINDNOW_FLAG$])
|
|
3971
|
+
m4trace:configure.ac:235: -1- AX_APPEND_COMPILE_FLAGS([-fno-plt], [OPTI_FLAGS], [$WARN_CFLAGS])
|
|
3972
|
+
m4trace:configure.ac:235: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
|
|
3973
|
+
m4trace:configure.ac:235: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
|
|
3974
|
+
m4trace:configure.ac:235: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [OPTI_FLAGS])], [], [$WARN_CFLAGS], [])
|
|
3975
|
+
m4trace:configure.ac:235: -1- AX_APPEND_FLAG([$flag], [OPTI_FLAGS])
|
|
3976
|
+
m4trace:configure.ac:238: -1- m4_pattern_allow([^OPTI_FLAGS$])
|
|
3977
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_arc4random_buf], [m4_divert_text([INIT_PREPARE],
|
|
3978
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3979
|
+
[" arc4random_buf ]AS_TR_CPP([HAVE_arc4random_buf])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3980
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_explicit_bzero], [m4_divert_text([INIT_PREPARE],
|
|
3981
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3982
|
+
[" explicit_bzero ]AS_TR_CPP([HAVE_explicit_bzero])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3983
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_explicit_memset], [m4_divert_text([INIT_PREPARE],
|
|
3984
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3985
|
+
[" explicit_memset ]AS_TR_CPP([HAVE_explicit_memset])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3986
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_getentropy], [m4_divert_text([INIT_PREPARE],
|
|
3987
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3988
|
+
[" getentropy ]AS_TR_CPP([HAVE_getentropy])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3989
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_getrandom], [m4_divert_text([INIT_PREPARE],
|
|
3990
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3991
|
+
[" getrandom ]AS_TR_CPP([HAVE_getrandom])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3992
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_memset_explicit], [m4_divert_text([INIT_PREPARE],
|
|
3993
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3994
|
+
[" memset_explicit ]AS_TR_CPP([HAVE_memset_explicit])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3995
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_memset_s], [m4_divert_text([INIT_PREPARE],
|
|
3996
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
3997
|
+
[" memset_s ]AS_TR_CPP([HAVE_memset_s])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
3998
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_open64], [m4_divert_text([INIT_PREPARE],
|
|
3999
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
4000
|
+
[" open64 ]AS_TR_CPP([HAVE_open64])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
4001
|
+
m4trace:configure.ac:241: -1- AC_DEFUN([_AC_Func_syscall], [m4_divert_text([INIT_PREPARE],
|
|
4002
|
+
[AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
|
|
4003
|
+
[" syscall ]AS_TR_CPP([HAVE_syscall])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
|
|
4004
|
+
m4trace:configure.ac:255: -1- AX_VALGRIND_DFLT([drd], [off])
|
|
4005
|
+
m4trace:configure.ac:256: -1- AX_VALGRIND_DFLT([helgrind], [off])
|
|
4006
|
+
m4trace:configure.ac:259: -1- AX_VALGRIND_DFLT([sgcheck], [off])
|
|
4007
|
+
m4trace:configure.ac:262: -1- AX_VALGRIND_CHECK([])
|
|
4008
|
+
m4trace:configure.ac:262: -1- AM_EXTRA_RECURSIVE_TARGETS([check-valgrind])
|
|
4009
|
+
m4trace:configure.ac:262: -1- AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-memcheck])
|
|
4010
|
+
m4trace:configure.ac:262: -1- AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-helgrind])
|
|
4011
|
+
m4trace:configure.ac:262: -1- AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-drd])
|
|
4012
|
+
m4trace:configure.ac:262: -1- AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-sgcheck])
|
|
4013
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^VALGRIND$])
|
|
4014
|
+
m4trace:configure.ac:262: -1- AM_CONDITIONAL([VALGRIND_ENABLED], [test "$enable_valgrind" = "yes"])
|
|
4015
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^VALGRIND_ENABLED_TRUE$])
|
|
4016
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^VALGRIND_ENABLED_FALSE$])
|
|
4017
|
+
m4trace:configure.ac:262: -1- _AM_SUBST_NOTMAKE([VALGRIND_ENABLED_TRUE])
|
|
4018
|
+
m4trace:configure.ac:262: -1- _AM_SUBST_NOTMAKE([VALGRIND_ENABLED_FALSE])
|
|
4019
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^VALGRIND_ENABLED$])
|
|
4020
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^ENABLE_VALGRIND_memcheck$])
|
|
4021
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^ENABLE_VALGRIND_helgrind$])
|
|
4022
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^ENABLE_VALGRIND_drd$])
|
|
4023
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^ENABLE_VALGRIND_sgcheck$])
|
|
4024
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^valgrind_tools$])
|
|
4025
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^valgrind_enabled_tools$])
|
|
4026
|
+
m4trace:configure.ac:262: -1- m4_pattern_allow([^VALGRIND_CHECK_RULES$])
|
|
4027
|
+
m4trace:configure.ac:262: -1- _AM_SUBST_NOTMAKE([VALGRIND_CHECK_RULES])
|
|
4028
|
+
m4trace:configure.ac:287: -1- m4_pattern_allow([^PYTHON$])
|
|
4029
|
+
m4trace:configure.ac:288: -1- AM_CONDITIONAL([ENABLE_KA_TABLE_GEN], [test x"$PYTHON" != "xfalse"])
|
|
4030
|
+
m4trace:configure.ac:288: -1- m4_pattern_allow([^ENABLE_KA_TABLE_GEN_TRUE$])
|
|
4031
|
+
m4trace:configure.ac:288: -1- m4_pattern_allow([^ENABLE_KA_TABLE_GEN_FALSE$])
|
|
4032
|
+
m4trace:configure.ac:288: -1- _AM_SUBST_NOTMAKE([ENABLE_KA_TABLE_GEN_TRUE])
|
|
4033
|
+
m4trace:configure.ac:288: -1- _AM_SUBST_NOTMAKE([ENABLE_KA_TABLE_GEN_FALSE])
|
|
4034
|
+
m4trace:configure.ac:316: -1- m4_pattern_allow([^USE_SWAPCONTEXT$])
|
|
4035
|
+
m4trace:configure.ac:338: -1- m4_pattern_allow([^ENABLE_FAILURE_TOKENS$])
|
|
4036
|
+
m4trace:configure.ac:390: -1- m4_pattern_allow([^COMPAT_ABI$])
|
|
4037
|
+
m4trace:configure.ac:439: -1- m4_pattern_allow([^hashes_enabled$])
|
|
4038
|
+
m4trace:configure.ac:466: -1- m4_pattern_allow([^ENABLE_OBSOLETE_API_ENOSYS$])
|
|
4039
|
+
m4trace:configure.ac:508: -1- m4_pattern_allow([^SYMVER_FLOOR$])
|
|
4040
|
+
m4trace:configure.ac:509: -1- m4_pattern_allow([^SYMVER_MIN$])
|
|
4041
|
+
m4trace:configure.ac:516: -1- m4_pattern_allow([^HAVE_SYMVER$])
|
|
4042
|
+
m4trace:configure.ac:523: -1- m4_pattern_allow([^SYMVER_FLOOR$])
|
|
4043
|
+
m4trace:configure.ac:527: -1- m4_pattern_allow([^ENABLE_OBSOLETE_API$])
|
|
4044
|
+
m4trace:configure.ac:531: -1- AM_CONDITIONAL([ENABLE_OBSOLETE_API], [test $enable_obsolete_api = 1])
|
|
4045
|
+
m4trace:configure.ac:531: -1- m4_pattern_allow([^ENABLE_OBSOLETE_API_TRUE$])
|
|
4046
|
+
m4trace:configure.ac:531: -1- m4_pattern_allow([^ENABLE_OBSOLETE_API_FALSE$])
|
|
4047
|
+
m4trace:configure.ac:531: -1- _AM_SUBST_NOTMAKE([ENABLE_OBSOLETE_API_TRUE])
|
|
4048
|
+
m4trace:configure.ac:531: -1- _AM_SUBST_NOTMAKE([ENABLE_OBSOLETE_API_FALSE])
|
|
4049
|
+
m4trace:configure.ac:532: -1- AM_CONDITIONAL([ENABLE_COMPAT_SUSE], [test $enable_compat_suse = 1])
|
|
4050
|
+
m4trace:configure.ac:532: -1- m4_pattern_allow([^ENABLE_COMPAT_SUSE_TRUE$])
|
|
4051
|
+
m4trace:configure.ac:532: -1- m4_pattern_allow([^ENABLE_COMPAT_SUSE_FALSE$])
|
|
4052
|
+
m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([ENABLE_COMPAT_SUSE_TRUE])
|
|
4053
|
+
m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([ENABLE_COMPAT_SUSE_FALSE])
|
|
4054
|
+
m4trace:configure.ac:533: -1- AM_CONDITIONAL([ENABLE_XCRYPT_COMPAT_FILES], [test $enable_xcrypt_compat_files = 1])
|
|
4055
|
+
m4trace:configure.ac:533: -1- m4_pattern_allow([^ENABLE_XCRYPT_COMPAT_FILES_TRUE$])
|
|
4056
|
+
m4trace:configure.ac:533: -1- m4_pattern_allow([^ENABLE_XCRYPT_COMPAT_FILES_FALSE$])
|
|
4057
|
+
m4trace:configure.ac:533: -1- _AM_SUBST_NOTMAKE([ENABLE_XCRYPT_COMPAT_FILES_TRUE])
|
|
4058
|
+
m4trace:configure.ac:533: -1- _AM_SUBST_NOTMAKE([ENABLE_XCRYPT_COMPAT_FILES_FALSE])
|
|
4059
|
+
m4trace:configure.ac:537: -1- AM_CONDITIONAL([ENABLE_STATIC], [test $enable_static = yes])
|
|
4060
|
+
m4trace:configure.ac:537: -1- m4_pattern_allow([^ENABLE_STATIC_TRUE$])
|
|
4061
|
+
m4trace:configure.ac:537: -1- m4_pattern_allow([^ENABLE_STATIC_FALSE$])
|
|
4062
|
+
m4trace:configure.ac:537: -1- _AM_SUBST_NOTMAKE([ENABLE_STATIC_TRUE])
|
|
4063
|
+
m4trace:configure.ac:537: -1- _AM_SUBST_NOTMAKE([ENABLE_STATIC_FALSE])
|
|
4064
|
+
m4trace:configure.ac:538: -1- AM_CONDITIONAL([ENABLE_SHARED], [test $enable_shared = yes])
|
|
4065
|
+
m4trace:configure.ac:538: -1- m4_pattern_allow([^ENABLE_SHARED_TRUE$])
|
|
4066
|
+
m4trace:configure.ac:538: -1- m4_pattern_allow([^ENABLE_SHARED_FALSE$])
|
|
4067
|
+
m4trace:configure.ac:538: -1- _AM_SUBST_NOTMAKE([ENABLE_SHARED_TRUE])
|
|
4068
|
+
m4trace:configure.ac:538: -1- _AM_SUBST_NOTMAKE([ENABLE_SHARED_FALSE])
|
|
4069
|
+
m4trace:configure.ac:541: -1- AM_CONDITIONAL([CROSS_COMPILING], [test $cross_compiling = yes])
|
|
4070
|
+
m4trace:configure.ac:541: -1- m4_pattern_allow([^CROSS_COMPILING_TRUE$])
|
|
4071
|
+
m4trace:configure.ac:541: -1- m4_pattern_allow([^CROSS_COMPILING_FALSE$])
|
|
4072
|
+
m4trace:configure.ac:541: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_TRUE])
|
|
4073
|
+
m4trace:configure.ac:541: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_FALSE])
|
|
4074
|
+
m4trace:configure.ac:544: -1- m4_pattern_allow([^XCRYPT_VERSION_MAJOR$])
|
|
4075
|
+
m4trace:configure.ac:547: -1- m4_pattern_allow([^XCRYPT_VERSION_MINOR$])
|
|
4076
|
+
m4trace:configure.ac:549: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
|
4077
|
+
m4trace:configure.ac:549: -1- m4_pattern_allow([^LTLIBOBJS$])
|
|
4078
|
+
m4trace:configure.ac:549: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
|
4079
|
+
m4trace:configure.ac:549: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
|
4080
|
+
m4trace:configure.ac:549: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
|
4081
|
+
m4trace:configure.ac:549: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
|
4082
|
+
m4trace:configure.ac:549: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
|
4083
|
+
m4trace:configure.ac:549: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
|
|
4084
|
+
m4trace:configure.ac:549: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
4085
|
+
m4trace:configure.ac:549: -1- AM_RUN_LOG([cd "$am_dirpart" \
|
|
4086
|
+
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
4087
|
+
| $MAKE -f - am--depfiles])
|
|
4088
|
+
m4trace:configure.ac:549: -1- _LT_PROG_LTMAIN
|