version 1.4, 2020/01/08 17:10:53 |
version 1.5, 2022/09/07 03:17:44 |
|
|
# generated automatically by aclocal 1.16.1 -*- Autoconf -*- |
# generated automatically by aclocal 1.16.5 -*- Autoconf -*- |
|
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
# Copyright (C) 1996-2021 Free Software Foundation, Inc. |
|
|
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
|
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
m4_ifndef([AC_AUTOCONF_VERSION], |
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, |
[m4_warning([this file was generated for autoconf 2.69. |
[m4_warning([this file was generated for autoconf 2.71. |
You have another version of autoconf. It may work, but is not guaranteed to. |
You have another version of autoconf. It may work, but is not guaranteed to. |
If you have problems, you may need to regenerate the build system entirely. |
If you have problems, you may need to regenerate the build system entirely. |
To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
|
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
# |
# |
# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. |
# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software |
|
# Foundation, Inc. |
# Written by Gordon Matzigkeit, 1996 |
# Written by Gordon Matzigkeit, 1996 |
# |
# |
# This file is free software; the Free Software Foundation gives |
# This file is free software; the Free Software Foundation gives |
Line 53 m4_define([_LT_COPYING], [dnl |
|
Line 54 m4_define([_LT_COPYING], [dnl |
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
]) |
]) |
|
|
# serial 58 LT_INIT |
# serial 59 LT_INIT |
|
|
|
|
# LT_PREREQ(VERSION) |
# LT_PREREQ(VERSION) |
Line 203 m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
|
Line 204 m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
|
m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl |
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl |
m4_require([_LT_CMD_RELOAD])dnl |
m4_require([_LT_CMD_RELOAD])dnl |
|
m4_require([_LT_DECL_FILECMD])dnl |
m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl |
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl |
m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
|
|
ofile=libtool |
ofile=libtool |
can_build_shared=yes |
can_build_shared=yes |
|
|
# All known linkers require a '.a' archive for static linking (except MSVC, |
# All known linkers require a '.a' archive for static linking (except MSVC and |
# which needs '.lib'). |
# ICC, which need '.lib'). |
libext=a |
libext=a |
|
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# text mode, it properly converts lines to CR/LF. This bash problem |
# text mode, it properly converts lines to CR/LF. This bash problem |
# is reportedly fixed, but why not run on old versions too? |
# is reportedly fixed, but why not run on old versions too? |
sed '$q' "$ltmain" >> "$cfgfile" \ |
$SED '$q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
|| (rm -f "$cfgfile"; exit 1) |
|
|
mv -f "$cfgfile" "$ofile" || |
mv -f "$cfgfile" "$ofile" || |
Line 1056 int forced_loaded() { return 2;} |
|
Line 1058 int forced_loaded() { return 2;} |
|
_LT_EOF |
_LT_EOF |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD |
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD |
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD |
$AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD |
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
cat > conftest.c << _LT_EOF |
cat > conftest.c << _LT_EOF |
|
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
darwin1.*) |
darwin1.*) |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
darwin*) # darwin 5.x on |
darwin*) |
# if running on 10.5 or later, the deployment target defaults |
case $MACOSX_DEPLOYMENT_TARGET,$host in |
# to the OS version, if on x86, and 10.4, the deployment |
10.[[012]],*|,*powerpc*-darwin[[5-8]]*) |
# target defaults to 10.4. Don't you love it? |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
*) |
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
|
10.[[012]][[,.]]*) |
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
|
10.*) |
|
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
|
esac |
esac |
;; |
;; |
esac |
esac |
Line 1140 m4_defun([_LT_DARWIN_LINKER_FEATURES], |
|
Line 1137 m4_defun([_LT_DARWIN_LINKER_FEATURES], |
|
output_verbose_link_cmd=func_echo_all |
output_verbose_link_cmd=func_echo_all |
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
_LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
_LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
m4_if([$1], [CXX], |
m4_if([$1], [CXX], |
[ if test yes != "$lt_cv_apple_cc_single_mod"; then |
[ if test yes != "$lt_cv_apple_cc_single_mod"; then |
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" |
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" |
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" |
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" |
fi |
fi |
],[]) |
],[]) |
else |
else |
Line 1259 _LT_DECL([], [ECHO], [1], [An echo program that protec |
|
Line 1256 _LT_DECL([], [ECHO], [1], [An echo program that protec |
|
# _LT_WITH_SYSROOT |
# _LT_WITH_SYSROOT |
# ---------------- |
# ---------------- |
AC_DEFUN([_LT_WITH_SYSROOT], |
AC_DEFUN([_LT_WITH_SYSROOT], |
[AC_MSG_CHECKING([for sysroot]) |
[m4_require([_LT_DECL_SED])dnl |
|
AC_MSG_CHECKING([for sysroot]) |
AC_ARG_WITH([sysroot], |
AC_ARG_WITH([sysroot], |
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], |
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], |
[Search for dependent libraries within DIR (or the compiler's sysroot |
[Search for dependent libraries within DIR (or the compiler's sysroot |
Line 1276 case $with_sysroot in #( |
|
Line 1274 case $with_sysroot in #( |
|
fi |
fi |
;; #( |
;; #( |
/*) |
/*) |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` |
;; #( |
;; #( |
no|'') |
no|'') |
;; #( |
;; #( |
|
|
# options accordingly. |
# options accordingly. |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if AC_TRY_EVAL(ac_compile); then |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*ELF-32*) |
*ELF-32*) |
HPUX_IA64_MODE=32 |
HPUX_IA64_MODE=32 |
;; |
;; |
|
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if AC_TRY_EVAL(ac_compile); then |
if test yes = "$lt_cv_prog_gnu_ld"; then |
if test yes = "$lt_cv_prog_gnu_ld"; then |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*32-bit*) |
*32-bit*) |
LD="${LD-ld} -melf32bsmip" |
LD="${LD-ld} -melf32bsmip" |
;; |
;; |
|
|
;; |
;; |
esac |
esac |
else |
else |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*32-bit*) |
*32-bit*) |
LD="${LD-ld} -32" |
LD="${LD-ld} -32" |
;; |
;; |
Line 1357 mips64*-*linux*) |
|
Line 1355 mips64*-*linux*) |
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if AC_TRY_EVAL(ac_compile); then |
emul=elf |
emul=elf |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*32-bit*) |
*32-bit*) |
emul="${emul}32" |
emul="${emul}32" |
;; |
;; |
Line 1365 mips64*-*linux*) |
|
Line 1363 mips64*-*linux*) |
|
emul="${emul}64" |
emul="${emul}64" |
;; |
;; |
esac |
esac |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*MSB*) |
*MSB*) |
emul="${emul}btsmip" |
emul="${emul}btsmip" |
;; |
;; |
Line 1373 mips64*-*linux*) |
|
Line 1371 mips64*-*linux*) |
|
emul="${emul}ltsmip" |
emul="${emul}ltsmip" |
;; |
;; |
esac |
esac |
case `/usr/bin/file conftest.$ac_objext` in |
case `$FILECMD conftest.$ac_objext` in |
*N32*) |
*N32*) |
emul="${emul}n32" |
emul="${emul}n32" |
;; |
;; |
Line 1393 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
Line 1391 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
# not appear in the list. |
# not appear in the list. |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if AC_TRY_EVAL(ac_compile); then |
case `/usr/bin/file conftest.o` in |
case `$FILECMD conftest.o` in |
*32-bit*) |
*32-bit*) |
case $host in |
case $host in |
x86_64-*kfreebsd*-gnu) |
x86_64-*kfreebsd*-gnu) |
LD="${LD-ld} -m elf_i386_fbsd" |
LD="${LD-ld} -m elf_i386_fbsd" |
;; |
;; |
x86_64-*linux*) |
x86_64-*linux*) |
case `/usr/bin/file conftest.o` in |
case `$FILECMD conftest.o` in |
*x86-64*) |
*x86-64*) |
LD="${LD-ld} -m elf32_x86_64" |
LD="${LD-ld} -m elf32_x86_64" |
;; |
;; |
Line 1468 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
Line 1466 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
# options accordingly. |
# options accordingly. |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if AC_TRY_EVAL(ac_compile); then |
case `/usr/bin/file conftest.o` in |
case `$FILECMD conftest.o` in |
*64-bit*) |
*64-bit*) |
case $lt_cv_prog_gnu_ld in |
case $lt_cv_prog_gnu_ld in |
yes*) |
yes*) |
Line 1507 need_locks=$enable_libtool_lock |
|
Line 1505 need_locks=$enable_libtool_lock |
|
m4_defun([_LT_PROG_AR], |
m4_defun([_LT_PROG_AR], |
[AC_CHECK_TOOLS(AR, [ar], false) |
[AC_CHECK_TOOLS(AR, [ar], false) |
: ${AR=ar} |
: ${AR=ar} |
: ${AR_FLAGS=cru} |
|
_LT_DECL([], [AR], [1], [The archiver]) |
_LT_DECL([], [AR], [1], [The archiver]) |
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
|
|
|
|
# Use ARFLAGS variable as AR's operation code to sync the variable naming with |
|
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
|
# higher priority because thats what people were doing historically (setting |
|
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
|
# variable obsoleted/removed. |
|
|
|
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
|
lt_ar_flags=$AR_FLAGS |
|
_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)]) |
|
|
|
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
|
# by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
|
_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}], |
|
[Flags to create an archive]) |
|
|
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], |
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], |
[lt_cv_ar_at_file=no |
[lt_cv_ar_at_file=no |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM], |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM], |
Line 1728 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
|
Line 1739 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
|
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
;; |
;; |
|
|
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
# This has been around since 386BSD, at least. Likely further. |
# This has been around since 386BSD, at least. Likely further. |
if test -x /sbin/sysctl; then |
if test -x /sbin/sysctl; then |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
Line 1771 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
|
Line 1782 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
|
sysv5* | sco5v6* | sysv4.2uw2*) |
sysv5* | sco5v6* | sysv4.2uw2*) |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
if test -n "$kargmax"; then |
if test -n "$kargmax"; then |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'` |
else |
else |
lt_cv_sys_max_cmd_len=32768 |
lt_cv_sys_max_cmd_len=32768 |
fi |
fi |
Line 2221 m4_defun([_LT_CMD_STRIPLIB], |
|
Line 2232 m4_defun([_LT_CMD_STRIPLIB], |
|
striplib= |
striplib= |
old_striplib= |
old_striplib= |
AC_MSG_CHECKING([whether stripping libraries is possible]) |
AC_MSG_CHECKING([whether stripping libraries is possible]) |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
if test -z "$STRIP"; then |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
AC_MSG_RESULT([no]) |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
AC_MSG_RESULT([yes]) |
|
else |
else |
# FIXME - insert some real tests, host_os isn't really good enough |
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
case $host_os in |
old_striplib="$STRIP --strip-debug" |
darwin*) |
striplib="$STRIP --strip-unneeded" |
if test -n "$STRIP"; then |
AC_MSG_RESULT([yes]) |
|
else |
|
case $host_os in |
|
darwin*) |
|
# FIXME - insert some real tests, host_os isn't really good enough |
striplib="$STRIP -x" |
striplib="$STRIP -x" |
old_striplib="$STRIP -S" |
old_striplib="$STRIP -S" |
AC_MSG_RESULT([yes]) |
AC_MSG_RESULT([yes]) |
else |
;; |
|
freebsd*) |
|
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then |
|
old_striplib="$STRIP --strip-debug" |
|
striplib="$STRIP --strip-unneeded" |
|
AC_MSG_RESULT([yes]) |
|
else |
|
AC_MSG_RESULT([no]) |
|
fi |
|
;; |
|
*) |
AC_MSG_RESULT([no]) |
AC_MSG_RESULT([no]) |
fi |
;; |
;; |
esac |
*) |
fi |
AC_MSG_RESULT([no]) |
|
;; |
|
esac |
|
fi |
fi |
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) |
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) |
_LT_DECL([], [striplib], [1]) |
_LT_DECL([], [striplib], [1]) |
Line 2563 cygwin* | mingw* | pw32* | cegcc*) |
|
Line 2583 cygwin* | mingw* | pw32* | cegcc*) |
|
case $host_os in |
case $host_os in |
cygwin*) |
cygwin*) |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
m4_if([$1], [],[ |
m4_if([$1], [],[ |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) |
;; |
;; |
Line 2573 m4_if([$1], [],[ |
|
Line 2593 m4_if([$1], [],[ |
|
;; |
;; |
pw32*) |
pw32*) |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
;; |
;; |
esac |
esac |
dynamic_linker='Win32 ld.exe' |
dynamic_linker='Win32 ld.exe' |
;; |
;; |
|
|
*,cl*) |
*,cl* | *,icl*) |
# Native MSVC |
# Native MSVC or ICC |
libname_spec='$name' |
libname_spec='$name' |
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
library_names_spec='$libname.dll.lib' |
library_names_spec='$libname.dll.lib' |
Line 2599 m4_if([$1], [],[ |
|
Line 2619 m4_if([$1], [],[ |
|
done |
done |
IFS=$lt_save_ifs |
IFS=$lt_save_ifs |
# Convert to MSYS style. |
# Convert to MSYS style. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` |
;; |
;; |
cygwin*) |
cygwin*) |
# Convert to unix form, then to dos form, then back to unix form |
# Convert to unix form, then to dos form, then back to unix form |
Line 2636 m4_if([$1], [],[ |
|
Line 2656 m4_if([$1], [],[ |
|
;; |
;; |
|
|
*) |
*) |
# Assume MSVC wrapper |
# Assume MSVC and ICC wrapper |
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' |
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' |
dynamic_linker='Win32 ld.exe' |
dynamic_linker='Win32 ld.exe' |
;; |
;; |
|
|
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
;; |
;; |
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly* | midnightbsd*) |
# DragonFly does not have aout. When/if they implement a new |
# DragonFly does not have aout. When/if they implement a new |
# versioning mechanism, adjust this. |
# versioning mechanism, adjust this. |
if test -x /usr/bin/objformat; then |
if test -x /usr/bin/objformat; then |
|
|
|
|
bsdi[[45]]*) |
bsdi[[45]]*) |
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' |
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
lt_cv_file_magic_cmd='$FILECMD -L' |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
;; |
;; |
|
|
Line 3502 darwin* | rhapsody*) |
|
Line 3522 darwin* | rhapsody*) |
|
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly* | midnightbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
case $host_cpu in |
case $host_cpu in |
i*86 ) |
i*86 ) |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=$FILECMD |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
;; |
;; |
esac |
esac |
|
|
;; |
;; |
|
|
hpux10.20* | hpux11*) |
hpux10.20* | hpux11*) |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=$FILECMD |
case $host_cpu in |
case $host_cpu in |
ia64*) |
ia64*) |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' |
|
|
|
|
newos6*) |
newos6*) |
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' |
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=$FILECMD |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
;; |
;; |
|
|
|
|
mingw*) lt_bad_file=conftest.nm/nofile ;; |
mingw*) lt_bad_file=conftest.nm/nofile ;; |
*) lt_bad_file=/dev/null ;; |
*) lt_bad_file=/dev/null ;; |
esac |
esac |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
*$lt_bad_file* | *'Invalid file or object type'*) |
*$lt_bad_file* | *'Invalid file or object type'*) |
lt_cv_path_NM="$tmp_nm -B" |
lt_cv_path_NM="$tmp_nm -B" |
break 2 |
break 2 |
;; |
;; |
*) |
*) |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in |
*/dev/null*) |
*/dev/null*) |
lt_cv_path_NM="$tmp_nm -p" |
lt_cv_path_NM="$tmp_nm -p" |
break 2 |
break 2 |
|
|
# Let the user override the test. |
# Let the user override the test. |
else |
else |
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) |
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in |
*COFF*) |
*COFF*) |
DUMPBIN="$DUMPBIN -symbols -headers" |
DUMPBIN="$DUMPBIN -symbols -headers" |
;; |
;; |
|
|
|
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
# Gets list of data symbols to import. |
# Gets list of data symbols to import. |
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
# Adjust the below global symbol transforms to fixup imported variables. |
# Adjust the below global symbol transforms to fixup imported variables. |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
|
|
# Transform an extracted symbol line into a proper C declaration. |
# Transform an extracted symbol line into a proper C declaration. |
# Some systems (esp. on ia64) link data and code symbols differently, |
# Some systems (esp. on ia64) link data and code symbols differently, |
# so use this general approach. |
# so use this general approach. |
lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
$lt_cdecl_hook\ |
$lt_cdecl_hook\ |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
# Transform an extracted symbol line into symbol name and symbol address |
# Transform an extracted symbol line into symbol name and symbol address |
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
$lt_c_name_hook\ |
$lt_c_name_hook\ |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
|
|
# Transform an extracted symbol line into symbol name with lib prefix and |
# Transform an extracted symbol line into symbol name with lib prefix and |
# symbol address. |
# symbol address. |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
$lt_c_name_lib_hook\ |
$lt_c_name_lib_hook\ |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
Line 4024 for ac_symprfx in "" "_"; do |
|
Line 4044 for ac_symprfx in "" "_"; do |
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
# Fake it for dumpbin and say T for any non-static function, |
# Fake it for dumpbin and say T for any non-static function, |
# D for any global variable and I for any imported variable. |
# D for any global variable and I for any imported variable. |
# Also find C++ and __fastcall symbols from MSVC++, |
# Also find C++ and __fastcall symbols from MSVC++ or ICC, |
# which start with @ or ?. |
# which start with @ or ?. |
lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
" {last_section=section; section=\$ 3};"\ |
" {last_section=section; section=\$ 3};"\ |
Line 4042 for ac_symprfx in "" "_"; do |
|
Line 4062 for ac_symprfx in "" "_"; do |
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
" ' prfx=^$ac_symprfx]" |
" ' prfx=^$ac_symprfx]" |
else |
else |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
fi |
fi |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
|
|
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
pipe_works=no |
pipe_works=no |
Line 4331 m4_if([$1], [CXX], [ |
|
Line 4351 m4_if([$1], [CXX], [ |
|
;; |
;; |
esac |
esac |
;; |
;; |
freebsd* | dragonfly*) |
freebsd* | dragonfly* | midnightbsd*) |
# FreeBSD uses GNU C++ |
# FreeBSD uses GNU C++ |
;; |
;; |
hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
Line 4414 m4_if([$1], [CXX], [ |
|
Line 4434 m4_if([$1], [CXX], [ |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
;; |
;; |
*) |
*) |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | $SED 5q` in |
*Sun\ C*) |
*Sun\ C*) |
# Sun C++ 5.9 |
# Sun C++ 5.9 |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
Line 4750 m4_if([$1], [CXX], [ |
|
Line 4770 m4_if([$1], [CXX], [ |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
;; |
;; |
*) |
*) |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | $SED 5q` in |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
Line 4933 m4_if([$1], [CXX], [ |
|
Line 4953 m4_if([$1], [CXX], [ |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
else |
else |
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
fi |
fi |
;; |
;; |
pw32*) |
pw32*) |
Line 4941 m4_if([$1], [CXX], [ |
|
Line 4961 m4_if([$1], [CXX], [ |
|
;; |
;; |
cygwin* | mingw* | cegcc*) |
cygwin* | mingw* | cegcc*) |
case $cc_basename in |
case $cc_basename in |
cl*) |
cl* | icl*) |
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
;; |
;; |
*) |
*) |
Line 4998 dnl Note also adjust exclude_expsyms for C++ above. |
|
Line 5018 dnl Note also adjust exclude_expsyms for C++ above. |
|
|
|
case $host_os in |
case $host_os in |
cygwin* | mingw* | pw32* | cegcc*) |
cygwin* | mingw* | pw32* | cegcc*) |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
# When not using gcc, we currently assume that we are using |
# When not using gcc, we currently assume that we are using |
# Microsoft Visual C++. |
# Microsoft Visual C++ or Intel C++ Compiler. |
if test yes != "$GCC"; then |
if test yes != "$GCC"; then |
with_gnu_ld=no |
with_gnu_ld=no |
fi |
fi |
;; |
;; |
interix*) |
interix*) |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
with_gnu_ld=yes |
with_gnu_ld=yes |
;; |
;; |
openbsd* | bitrig*) |
openbsd* | bitrig*) |
Line 5058 dnl Note also adjust exclude_expsyms for C++ above. |
|
Line 5078 dnl Note also adjust exclude_expsyms for C++ above. |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
fi |
fi |
supports_anon_versioning=no |
supports_anon_versioning=no |
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in |
*GNU\ gold*) supports_anon_versioning=yes ;; |
*GNU\ gold*) supports_anon_versioning=yes ;; |
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
emximp -o $lib $output_objdir/$libname.def' |
emximp -o $lib $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
|
_LT_TAGVAR(file_list_spec, $1)='@' |
;; |
;; |
|
|
interix[[3-9]]*) |
interix[[3-9]]*) |
|
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
;; |
;; |
|
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
|
_LT_TAGVAR(compiler_needs_object, $1)=yes |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
;; |
;; |
esac |
esac |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | $SED 5q` in |
*Sun\ C*) # Sun C 5.9 |
*Sun\ C*) # Sun C 5.9 |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
|
|
|
|
if test yes = "$supports_anon_versioning"; then |
if test yes = "$supports_anon_versioning"; then |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
fi |
fi |
|
|
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
if test yes = "$supports_anon_versioning"; then |
if test yes = "$supports_anon_versioning"; then |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
fi |
fi |
|
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
else |
else |
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
fi |
fi |
aix_use_runtimelinking=no |
aix_use_runtimelinking=no |
|
|
|
|
|
|
cygwin* | mingw* | pw32* | cegcc*) |
cygwin* | mingw* | pw32* | cegcc*) |
# When not using gcc, we currently assume that we are using |
# When not using gcc, we currently assume that we are using |
# Microsoft Visual C++. |
# Microsoft Visual C++ or Intel C++ Compiler. |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
# no search path for DLLs. |
case $cc_basename in |
case $cc_basename in |
cl*) |
cl* | icl*) |
# Native MSVC |
# Native MSVC or ICC |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=yes |
_LT_TAGVAR(always_export_symbols, $1)=yes |
|
|
fi' |
fi' |
;; |
;; |
*) |
*) |
# Assume MSVC wrapper |
# Assume MSVC and ICC wrapper |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
# Tell ltmain to make .lib files, not .a files. |
# Tell ltmain to make .lib files, not .a files. |
|
|
;; |
;; |
|
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
freebsd* | dragonfly*) |
freebsd* | dragonfly* | midnightbsd*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_TAGVAR(hardcode_direct, $1)=yes |
_LT_TAGVAR(hardcode_direct, $1)=yes |
|
|
emximp -o $lib $output_objdir/$libname.def' |
emximp -o $lib $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
|
_LT_TAGVAR(file_list_spec, $1)='@' |
;; |
;; |
|
|
osf3*) |
osf3*) |
Line 6641 if test yes != "$_lt_caught_CXX_error"; then |
|
Line 6663 if test yes != "$_lt_caught_CXX_error"; then |
|
|
|
cygwin* | mingw* | pw32* | cegcc*) |
cygwin* | mingw* | pw32* | cegcc*) |
case $GXX,$cc_basename in |
case $GXX,$cc_basename in |
,cl* | no,cl*) |
,cl* | no,cl* | ,icl* | no,icl*) |
# Native MSVC |
# Native MSVC or ICC |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
# no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
Line 6740 if test yes != "$_lt_caught_CXX_error"; then |
|
Line 6762 if test yes != "$_lt_caught_CXX_error"; then |
|
emximp -o $lib $output_objdir/$libname.def' |
emximp -o $lib $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
|
_LT_TAGVAR(file_list_spec, $1)='@' |
;; |
;; |
|
|
dgux*) |
dgux*) |
Line 6770 if test yes != "$_lt_caught_CXX_error"; then |
|
Line 6793 if test yes != "$_lt_caught_CXX_error"; then |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
;; |
;; |
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly* | midnightbsd*) |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
# conventions |
# conventions |
_LT_TAGVAR(ld_shlibs, $1)=yes |
_LT_TAGVAR(ld_shlibs, $1)=yes |
Line 6907 if test yes != "$_lt_caught_CXX_error"; then |
|
Line 6930 if test yes != "$_lt_caught_CXX_error"; then |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
;; |
;; |
irix5* | irix6*) |
irix5* | irix6*) |
case $cc_basename in |
case $cc_basename in |
Line 7047 if test yes != "$_lt_caught_CXX_error"; then |
|
Line 7070 if test yes != "$_lt_caught_CXX_error"; then |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
if test yes = "$supports_anon_versioning"; then |
if test yes = "$supports_anon_versioning"; then |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
fi |
fi |
;; |
;; |
*) |
*) |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | $SED 5q` in |
*Sun\ C*) |
*Sun\ C*) |
# Sun C++ 5.9 |
# Sun C++ 5.9 |
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
Line 8191 _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) |
|
Line 8214 _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) |
|
AC_SUBST([DLLTOOL]) |
AC_SUBST([DLLTOOL]) |
]) |
]) |
|
|
|
# _LT_DECL_FILECMD |
|
# ---------------- |
|
# Check for a file(cmd) program that can be used to detect file type and magic |
|
m4_defun([_LT_DECL_FILECMD], |
|
[AC_CHECK_TOOL([FILECMD], [file], [:]) |
|
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types]) |
|
])# _LD_DECL_FILECMD |
|
|
# _LT_DECL_SED |
# _LT_DECL_SED |
# ------------ |
# ------------ |
# Check for a fully-functional sed program, that truncates |
# Check for a fully-functional sed program, that truncates |
Line 8370 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
|
Line 8401 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
|
|
|
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
# |
# |
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software |
# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free |
# Foundation, Inc. |
# Software Foundation, Inc. |
# Written by Gary V. Vaughan, 2004 |
# Written by Gary V. Vaughan, 2004 |
# |
# |
# This file is free software; the Free Software Foundation gives |
# This file is free software; the Free Software Foundation gives |
Line 8802 LT_OPTION_DEFINE([LTDL_INIT], [convenience], |
|
Line 8833 LT_OPTION_DEFINE([LTDL_INIT], [convenience], |
|
|
|
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- |
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- |
# |
# |
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software |
# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software |
# Foundation, Inc. |
# Foundation, Inc. |
# Written by Gary V. Vaughan, 2004 |
# Written by Gary V. Vaughan, 2004 |
# |
# |
Line 8927 m4_define([lt_dict_filter], |
|
Line 8958 m4_define([lt_dict_filter], |
|
|
|
# ltversion.m4 -- version numbers -*- Autoconf -*- |
# ltversion.m4 -- version numbers -*- Autoconf -*- |
# |
# |
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. |
# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation, |
|
# Inc. |
# Written by Scott James Remnant, 2004 |
# Written by Scott James Remnant, 2004 |
# |
# |
# This file is free software; the Free Software Foundation gives |
# This file is free software; the Free Software Foundation gives |
Line 8936 m4_define([lt_dict_filter], |
|
Line 8968 m4_define([lt_dict_filter], |
|
|
|
# @configure_input@ |
# @configure_input@ |
|
|
# serial 4179 ltversion.m4 |
# serial 4245 ltversion.m4 |
# This file is part of GNU Libtool |
# This file is part of GNU Libtool |
|
|
m4_define([LT_PACKAGE_VERSION], [2.4.6]) |
m4_define([LT_PACKAGE_VERSION], [2.4.7]) |
m4_define([LT_PACKAGE_REVISION], [2.4.6]) |
m4_define([LT_PACKAGE_REVISION], [2.4.7]) |
|
|
AC_DEFUN([LTVERSION_VERSION], |
AC_DEFUN([LTVERSION_VERSION], |
[macro_version='2.4.6' |
[macro_version='2.4.7' |
macro_revision='2.4.6' |
macro_revision='2.4.7' |
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
_LT_DECL(, macro_revision, 0) |
_LT_DECL(, macro_revision, 0) |
]) |
]) |
|
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
# |
# |
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software |
# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free |
# Foundation, Inc. |
# Software Foundation, Inc. |
# Written by Scott James Remnant, 2004. |
# Written by Scott James Remnant, 2004. |
# |
# |
# This file is free software; the Free Software Foundation gives |
# This file is free software; the Free Software Foundation gives |
Line 9049 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
|
Line 9081 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
|
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
|
|
# Copyright (C) 2002-2018 Free Software Foundation, Inc. |
# Copyright (C) 2002-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9064 AC_DEFUN([AM_AUTOMAKE_VERSION], |
|
Line 9096 AC_DEFUN([AM_AUTOMAKE_VERSION], |
|
[am__api_version='1.16' |
[am__api_version='1.16' |
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
dnl require some minimum version. Point them to the right macro. |
dnl require some minimum version. Point them to the right macro. |
m4_if([$1], [1.16.1], [], |
m4_if([$1], [1.16.5], [], |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
]) |
]) |
|
|
Line 9080 m4_define([_AM_AUTOCONF_VERSION], []) |
|
Line 9112 m4_define([_AM_AUTOCONF_VERSION], []) |
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
[AM_AUTOMAKE_VERSION([1.16.1])dnl |
[AM_AUTOMAKE_VERSION([1.16.5])dnl |
m4_ifndef([AC_AUTOCONF_VERSION], |
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9139 am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
Line 9171 am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
|
|
# AM_CONDITIONAL -*- Autoconf -*- |
# AM_CONDITIONAL -*- Autoconf -*- |
|
|
# Copyright (C) 1997-2018 Free Software Foundation, Inc. |
# Copyright (C) 1997-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9170 AC_CONFIG_COMMANDS_PRE( |
|
Line 9202 AC_CONFIG_COMMANDS_PRE( |
|
Usually this means the macro was only invoked conditionally.]]) |
Usually this means the macro was only invoked conditionally.]]) |
fi])]) |
fi])]) |
|
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc. |
# Copyright (C) 1999-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9361 _AM_SUBST_NOTMAKE([am__nodep])dnl |
|
Line 9393 _AM_SUBST_NOTMAKE([am__nodep])dnl |
|
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*- |
# Generate code to set up dependency tracking. -*- Autoconf -*- |
|
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc. |
# Copyright (C) 1999-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9400 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
Line 9432 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
done |
done |
if test $am_rc -ne 0; then |
if test $am_rc -ne 0; then |
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments |
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments |
for automatic dependency tracking. Try re-running configure with the |
for automatic dependency tracking. If GNU make was not used, consider |
|
re-running the configure script with MAKE="gmake" (or whatever is |
|
necessary). You can also try re-running configure with the |
'--disable-dependency-tracking' option to at least be able to build |
'--disable-dependency-tracking' option to at least be able to build |
the package (albeit without support for automatic dependency tracking).]) |
the package (albeit without support for automatic dependency tracking).]) |
fi |
fi |
Line 9427 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
Line 9461 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
|
|
# Do all the work for Automake. -*- Autoconf -*- |
# Do all the work for Automake. -*- Autoconf -*- |
|
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
# Copyright (C) 1996-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9455 m4_defn([AC_PROG_CC]) |
|
Line 9489 m4_defn([AC_PROG_CC]) |
|
# release and drop the old call support. |
# release and drop the old call support. |
AC_DEFUN([AM_INIT_AUTOMAKE], |
AC_DEFUN([AM_INIT_AUTOMAKE], |
[AC_PREREQ([2.65])dnl |
[AC_PREREQ([2.65])dnl |
|
m4_ifdef([_$0_ALREADY_INIT], |
|
[m4_fatal([$0 expanded multiple times |
|
]m4_defn([_$0_ALREADY_INIT]))], |
|
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl |
dnl Autoconf wants to disallow AM_ names. We explicitly allow |
dnl Autoconf wants to disallow AM_ names. We explicitly allow |
dnl the ones we care about. |
dnl the ones we care about. |
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
Line 9491 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
|
Line 9529 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
|
[_AM_SET_OPTIONS([$1])dnl |
[_AM_SET_OPTIONS([$1])dnl |
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
m4_if( |
m4_if( |
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), |
[ok:ok],, |
[ok:ok],, |
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
Line 9543 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
|
Line 9581 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
|
[m4_define([AC_PROG_OBJCXX], |
[m4_define([AC_PROG_OBJCXX], |
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
]) |
]) |
|
# Variables for tags utilities; see am/tags.am |
|
if test -z "$CTAGS"; then |
|
CTAGS=ctags |
|
fi |
|
AC_SUBST([CTAGS]) |
|
if test -z "$ETAGS"; then |
|
ETAGS=etags |
|
fi |
|
AC_SUBST([ETAGS]) |
|
if test -z "$CSCOPE"; then |
|
CSCOPE=cscope |
|
fi |
|
AC_SUBST([CSCOPE]) |
|
|
AC_REQUIRE([AM_SILENT_RULES])dnl |
AC_REQUIRE([AM_SILENT_RULES])dnl |
dnl The testsuite driver may need to know about EXEEXT, so add the |
dnl The testsuite driver may need to know about EXEEXT, so add the |
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
Line 9624 for _am_header in $config_headers :; do |
|
Line 9676 for _am_header in $config_headers :; do |
|
done |
done |
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9645 if test x"${install_sh+set}" != xset; then |
|
Line 9697 if test x"${install_sh+set}" != xset; then |
|
fi |
fi |
AC_SUBST([install_sh])]) |
AC_SUBST([install_sh])]) |
|
|
# Copyright (C) 2003-2018 Free Software Foundation, Inc. |
# Copyright (C) 2003-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9667 AC_SUBST([am__leading_dot])]) |
|
Line 9719 AC_SUBST([am__leading_dot])]) |
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
# From Jim Meyering |
# From Jim Meyering |
|
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
# Copyright (C) 1996-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9702 AC_MSG_CHECKING([whether to enable maintainer-specific |
|
Line 9754 AC_MSG_CHECKING([whether to enable maintainer-specific |
|
|
|
# Check to see how 'make' treats includes. -*- Autoconf -*- |
# Check to see how 'make' treats includes. -*- Autoconf -*- |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9745 AC_SUBST([am__quote])]) |
|
Line 9797 AC_SUBST([am__quote])]) |
|
|
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
|
|
# Copyright (C) 1997-2018 Free Software Foundation, Inc. |
# Copyright (C) 1997-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9766 AC_DEFUN([AM_MISSING_HAS_RUN], |
|
Line 9818 AC_DEFUN([AM_MISSING_HAS_RUN], |
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
AC_REQUIRE_AUX_FILE([missing])dnl |
AC_REQUIRE_AUX_FILE([missing])dnl |
if test x"${MISSING+set}" != xset; then |
if test x"${MISSING+set}" != xset; then |
case $am_aux_dir in |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
*\ * | *\ *) |
|
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
*) |
|
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
esac |
|
fi |
fi |
# Use eval to expand $SHELL |
# Use eval to expand $SHELL |
if eval "$MISSING --is-lightweight"; then |
if eval "$MISSING --is-lightweight"; then |
|
|
|
|
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9813 AC_DEFUN([_AM_SET_OPTIONS], |
|
Line 9860 AC_DEFUN([_AM_SET_OPTIONS], |
|
AC_DEFUN([_AM_IF_OPTION], |
AC_DEFUN([_AM_IF_OPTION], |
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
|
|
# Copyright (C) 1999-2018 Free Software Foundation, Inc. |
# Copyright (C) 1999-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9860 AC_LANG_POP([C])]) |
|
Line 9907 AC_LANG_POP([C])]) |
|
# For backward compatibility. |
# For backward compatibility. |
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9879 AC_DEFUN([AM_RUN_LOG], |
|
Line 9926 AC_DEFUN([AM_RUN_LOG], |
|
|
|
# Check to make sure that the build environment is sane. -*- Autoconf -*- |
# Check to make sure that the build environment is sane. -*- Autoconf -*- |
|
|
# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
# Copyright (C) 1996-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 9960 AC_CONFIG_COMMANDS_PRE( |
|
Line 10007 AC_CONFIG_COMMANDS_PRE( |
|
rm -f conftest.file |
rm -f conftest.file |
]) |
]) |
|
|
# Copyright (C) 2009-2018 Free Software Foundation, Inc. |
# Copyright (C) 2009-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 10020 AC_SUBST([AM_BACKSLASH])dnl |
|
Line 10067 AC_SUBST([AM_BACKSLASH])dnl |
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
]) |
]) |
|
|
# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
# Copyright (C) 2001-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
|
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|
|
# Copyright (C) 2006-2018 Free Software Foundation, Inc. |
# Copyright (C) 2006-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
Line 10067 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
Line 10114 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
|
|
# Check how to create a tarball. -*- Autoconf -*- |
# Check how to create a tarball. -*- Autoconf -*- |
|
|
# Copyright (C) 2004-2018 Free Software Foundation, Inc. |
# Copyright (C) 2004-2021 Free Software Foundation, Inc. |
# |
# |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |