])]) dnl And a similar setup for Fortran 77 support
AC_PROVIDE_IFELSE([AC_PROG_F77],
[AC_LIBTOOL_F77],
[define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
])])
dnl Quote AM_PROG_GCJ so that aclocal doesn't bring it in need-
lessly. dnl If either AC_PROG_GCJ or AM_PROG_GCJ have already
been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise,
hook it in at the end of both.
AC_PROVIDE_IFELSE([AC_PROG_GCJ],
[AC_LIBTOOL_GCJ],
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
[AC_LIBTOOL_GCJ],
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
[AC_LIBTOOL_GCJ],
[ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ],
defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
ifdef([A][M_PROG_GCJ], [de-
fine([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
ifdef([LT_AC_PROG_GCJ], [de-
fine([LT_AC_PROG_GCJ],
defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
])]) m4trace:/usr/share/aclocal/libtool.m4:60: -1- AC_DE-
FUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BE-
FORE([$0],[AC_LIBTOOL_CXX])dnl AC_BE-
FORE([$0],[AC_LIBTOOL_F77])dnl AC_BE-
FORE([$0],[AC_LIBTOOL_GCJ])dnl
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
# Always use our own libtool. LIBTOOL='$(SHELL) $(top_build-
dir)/libtool' AC_SUBST(LIBTOOL)dnl
# Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])
m4trace:/usr/share/aclocal/libtool.m4:80: -1- AC_DE-
FUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_EN-
ABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_RE-
QUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONI-
CAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_RE-
QUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_RE-
QUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl
AC_REQUIRE([AC_PROG_LN_S])dnl AC_RE-
QUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT
and AC_EXEEXT macros only works for C compilers! AC_RE-
QUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl
AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
AC_LIBTOOL_OBJDIR
# Sed substitution that helps us do robust quoting. It back-
slashifies # metacharacters that are still active within double-
quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_sub-
st='s/"\`$\\]/\1/g']
# Same as above, but do not quote variable references. [dou-
ble_quote_subst='s/"\`\\]/\1/g']
# Sed substitution to delay expansion of an escaped shell vari-
able in a # double_quote_subst'ed string. delay_variable_sub-
st='s/\\\\\\\\$/g'
# Sed substitution to avoid accidental globbing in evaled expres-
sions no_glob_subst='s/\g'
# Constants: rm="rm -f"
# Global variables: default_ofile=libtool can_build_shared=yes
# All known linkers require a `.a' archive for static linking
(except MSVC, # which needs '.lib'). libext=a lt-
main="$ac_aux_dir/ltmain.sh" ofile="$default_ofile"
with_gnu_ld="$lt_cv_prog_gnu_ld"
AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(STRIP, strip, :)
old_CC="$CC" old_CFLAGS="$CFLAGS"
# Set sane defaults for various variables test -z "$AR" && AR=ar
test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test
-z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS"
&& LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z
"$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAG-
IC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED"
&& SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RAN-
LIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext"
&& ac_objext=o
# Determine commands to create old-style static archives.
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postin-
stall_cmds='chmod 644 $oldlib' old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
openbsd*)
old_postinstall_cmds="$old_postinstall_cmds~ANLIB -t ldlib"
;;
*)
old_postinstall_cmds="$old_postinstall_cmds~ANLIB ldlib"
;;
esac
AC_ARG_ENABLE([libtool-lock],
[AC_HELP_STRING([--disable-libtool-lock], [avoid
locking (might break parallel builds)])]) test "x$en-
able_libtool_lock" != xno && enable_libtool_lock=yes
AC_ARG_WITH([pic],
[AC_HELP_STRING([--with-pic], [try to use only
PIC/non-PIC objects @<:@default=use both@:>@])],
[pic_mode="$withval"],
[pic_mode=default]) test -z "$pic_mode" && pic_mode=default
# Use C for the default configuration in the libtool script tag-
name= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])
m4trace:/usr/share/aclocal/libtool.m4:225: -1- AC_DE-
FUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl
# If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"}
# If no C compiler flags were specified, use CFLAGS.
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
# Allow CC to be a program name with arguments. compiler=$CC ])
m4trace:/usr/share/aclocal/libtool.m4:242: -1- AC_DE-
FUN([_LT_CC_BASENAME], [for cc_temp in $1""; do
case $cc_temp in
compile | *[[\/]]compile | ccache | *[[\/]]ccache ) ;;
distcc | *[[\/]]distcc | purify | *[[\/]]purify ) ;;
-*) ;;
*) break;;
esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%'
-e "s%^$host_alias-%%"` ]) m4trace:/usr/share/aclo-
cal/libtool.m4:259: -1- AC_DEFUN([_LT_COMPILER_BOILERPLATE],
[AC_REQUIRE([LT_AC_PROG_SED])dnl ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval
"$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >con-
ftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm con-
ftest* ]) m4trace:/usr/share/aclocal/libtool.m4:273: -1- AC_DE-
FUN([_LT_LINKER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl
ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code"
>conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d;
/^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err`
$rm conftest* ]) m4trace:/usr/share/aclocal/libtool.m4:291: -1-
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_RE-
QUIRE([LT_AC_PROG_SED])dnl AC_LINK_IFELSE(AC_LANG_PROGRAM,[
lt_aix_libpath_sed='
/Import File Strings/,/^$/ { /^0/ { s/^0
*$/1/ p }
}' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED
-n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we
didn't find anything. if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED
echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then
# Discard the --no-reexec flag, and continue.
shift elif test "X[$]1" = X--fallback-echo; then
# Avoid inline document here, it may be left over
: elif test "X`($echo '') 2>/dev/null`" = 'X' ; then
# Yippee, $echo works!
: else
# Restart under the correct shell.
exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi
if test "X[$]1" = X--fallback-echo; then
# used as fallback echo
shift
cat <<EOF [$]* EOF
exit 0 fi
# The HP-UX ksh and POSIX shell print the target directory to
stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && un-
set CDPATH
if test -z "$ECHO"; then if test "X${echo_test_string+set}" !=
Xset; then # find a string as large as possible, as long as the
shell can cope with it
for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"'
'sed 2q "[$]0"' 'echo test'; do
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes,
...
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
echo_test_string=`eval $cmd` &&
(test "X$echo_test_string" = "X$echo_test_string")
2>/dev/null
then
break
fi
done fi
if test "X`($echo '') 2>/dev/null`" = 'X' &&
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null`
&&
test "X$echo_testing_string" = "X$echo_test_string"; then
: else
# The Solaris, AIX, and Digital Unix default echo programs un-
quote
# backslashes. This makes it impossible to quote backslashes
using
# echo "$something" | sed 's/\/\\/g'
#
# So, first we look for a working echo in the user's PATH.
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for dir in $PATH /usr/ucb; do
if test "X`(print -r '') 2>/dev/null`" = 'X' &&
echo_testing_string=`(print -r "$echo_test_string")
2>/dev/null` &&
test "X$echo_testing_string" = "X$echo_test_string"; then
# This shell has a builtin print -r that does the trick.
echo='print -r'
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
test "X$CONFIG_SHELL" != X/bin/ksh; then
# If we have ksh, try running configure again with it.
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
export ORIGINAL_CONFIG_SHELL
CONFIG_SHELL=/bin/ksh
export CONFIG_SHELL
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
else
# Try using printf.
echo='printf %s0
if test "X`($echo '') 2>/dev/null`" = 'X' &&
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
test "X$echo_testing_string" = "X$echo_test_string";
then # Cool, printf works :
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0"
--fallback-echo '') 2>/dev/null` && test "X$echo_test-
ing_string" = 'X' && echo_testing_string=`($ORIGI-
NAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string")
2>/dev/null` && test "X$echo_testing_string" =
"X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CON-
FIG_SHELL export CONFIG_SHELL SHELL="$CON-
FIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0
--fallback-echo"
elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-
echo '') 2>/dev/null` && test "X$echo_testing_string"
= 'X' && echo_testing_string=`($CONFIG_SHELL "[$]0"
--fallback-echo "$echo_test_string") 2>/dev/null` &&
test "X$echo_testing_string" = "X$echo_test_string"; then
echo="$CONFIG_SHELL [$]0 --fallback-echo"
else # maybe with a smaller string...
prev=:
for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"'
'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test
"X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then
break fi prev="$cmd" done
if test "$prev" != 'sed 50q "[$]0"'; then
echo_test_string=`eval $prev` export echo_test_string
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}}
"[$]0" ${1+"[$]@"} else # Oops. We lost com-
pletely, so just stick with echo. echo=echo fi
fi
fi
fi fi fi
good # libtool support. case $host in ia64-*-hpux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
case `/usr/bin/file conftest.$ac_objext` in
*ELF-32*)
HPUX_IA64_MODE="32"
;;
*ELF-64*)
HPUX_IA64_MODE="64"
;;
esac
fi
rm -rf conftest*
;; *-*-irix6*)
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
if test "$lt_cv_prog_gnu_ld" = yes; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -melf32bsmip"
;;
*N32*)
LD="${LD-ld} -melf32bmipn32"
;;
*64-bit*)
LD="${LD-ld} -melf64bmip"
;;
esac
else
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
;;
*N32*)
LD="${LD-ld} -n32"
;;
*64-bit*)
LD="${LD-ld} -64"
;;
esac
fi
fi
rm -rf conftest*
;;
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*lin-
ux*| s390*-*linux*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
;;
sparc64-*linux*)
LD="${LD-ld} -m elf32_sparc"
;;
esac
;;
*64-bit*)
case $host in
x86_64-*kfreebsd*-gnu)
LD="${LD-ld} -m elf_x86_64_fbsd"
;;
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
ppc*-*linux*|powerpc*-*linux*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*)
LD="${LD-ld} -m elf64_s390"
;;
sparc*-*linux*)
LD="${LD-ld} -m elf64_sparc"
;;
esac
;;
esac
fi
rm -rf conftest*
;;
*-*-sco3.2v5*)
# On SCO OpenServer 5, we need -belf to get full-featured bina-
ries.
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
AC_CACHE_CHECK([whether the C compiler needs -belf],
lt_cv_cc_needs_belf,
[AC_LANG_PUSH(C)
AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
AC_LANG_POP])
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for
-belf
CFLAGS="$SAVE_CFLAGS"
fi
;; sparc*-*solaris*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
case `/usr/bin/file conftest.o` in
*64-bit*)
case $lt_cv_prog_gnu_ld in
;;
]) esac
need_locks="$enable_libtool_lock"
]) m4trace:/usr/share/aclocal/libtool.m4:632: -1- AC_DE-
FUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])
AC_CACHE_CHECK([$1], [$2],
[$2=no
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_out-
file=$4])
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="$3"
# Insert the option either (1) after the last *FLAGS variable,
or
# (2) before a word containing "conftest.", or (3) at the end.
# Note that $ac_compile itself does not contain backslashes
and begins
# with a dollar sign (not a hyphen), so the echo should work
correctly.
# The option is referenced via a variable to avoid confusing
sed.
lt_compile=`echo "$ac_compile" | $SED -e 's:.*FLAGS}0,1
:&$lt_compiler_flag :; t' -e 's: [[^ ]]*conftest.: $lt_compil-
er_flag&:; t' -e 's:$: $lt_compiler_flag:'`
(eval echo "
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&AS_MESSAGE_LOG_FD
echo "$as_me:__oline__: = $ac_status" >&AS_MESSAGE_LOG_FD
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not
recognized
# So say no if there are warnings other than the usual out-
put.
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >con-
ftest.exp
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
if test ! -s conftest.er2 || diff conftest.exp conftest.er2
>/dev/null; then
$2=yes
fi
fi
$rm conftest* ])
if test x"[$]$2" = xyes; then
ifelse([$5], , :, [$5]) else
ifelse([$6], , :, [$6]) fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:677: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
[AC_REQUIRE([LT_AC_PROG_SED])dnl AC_CACHE_CHECK([$1], [$2],
[$2=no
save_LDFLAGS="$LDFLAGS"
$2=yes
fi
else
$2=yes
fi
fi
$rm conftest*
LDFLAGS="$save_LDFLAGS" ])
if test x"[$]$2" = xyes; then
ifelse([$4], , :, [$4]) else
ifelse([$5], , :, [$5]) fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:713: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [#
find the maximum length of command line arguments AC_MSG_CHECK-
ING([the maximum length of command line arguments])
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
i=0
teststring="ABCD"
case $build_os in
msdosdjgpp*)
# On DJGPP, this test can blow up pretty badly due to prob-
lems in libc
# (any single argument exceeding 2000 bytes causes a buffer
overrun
# during glob expansion). Even if it were fixed, the result
of this
# check would be larger than it should be.
lt_cv_sys_max_cmd_len=12288; # 12K is about right
;;
gnu*)
# Under GNU Hurd, this test is not required because there is
# no limit to the length of command line arguments.
# Libtool will interpret -1 as no limit whatsoever
lt_cv_sys_max_cmd_len=-1;
;;
cygwin* | mingw*)
# On Win9x/ME, this test blows up -- it succeeds, but takes
# about 5 minutes as the teststring grows exponentially.
# Worse, since 9x/ME are not pre-emptively multitasking,
# you end up with a "frozen" computer, even though with pa-
tience
# the test eventually succeeds (with a max line length of
256k).
# Instead, let's just punt: use the minimum linelength re-
ported by
# all of the supported platforms: 8192 (on NT/2K/XP).
lt_cv_sys_max_cmd_len=8192;
;;
lt_cv_sys_max_cmd_len=65536 # usable default for all
BSDs
fi
# And add a safety zone
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len 3`
;;
interix*)
# We know the value 262144 and hardcode it with a safety zone
(like BSD)
lt_cv_sys_max_cmd_len=196608
;;
osf*)
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic
running configure
# due to this test when exec_disable_arg_limit is 1 on Tru64.
It is not
# nice to cause kernel panics so lets avoid the loop below.
# First set a reasonable default.
lt_cv_sys_max_cmd_len=16384
#
if test -x /sbin/sysconfig; then
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
*1*) lt_cv_sys_max_cmd_len=-1 ;;
esac
fi
;;
sco3.2v5*)
lt_cv_sys_max_cmd_len=102400
;;
sysv5* | sco5v6* | sysv4.2uw2*)
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
if test -n "$kargmax"; then
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[
]]//'`
else
lt_cv_sys_max_cmd_len=32768
fi
;;
*)
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
if test -n "$lt_cv_sys_max_cmd_len"; then
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len 3`
else
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring"
2>/dev/null` = "XX$teststring") >/dev/null 2>&1 &&
new_result=`expr "X$teststring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
esac ]) if test -n $lt_cv_sys_max_cmd_len ; then
AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else
AC_MSG_RESULT(none) fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:831: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN],
[AC_CHECK_HEADERS(dlfcn.h)dnl ]) m4trace:/usr/share/aclo-
cal/libtool.m4:839: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" =
yes; then :
[$4] else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF [#line __oline__ "configure" #in-
clude "confdefs.h"
#if HAVE_DLFCN_H #include <dlfcn.h> #endif
#include <stdio.h>
#ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL
#else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOB-
AL # else # define LT_DLGLOBAL 0 # endif #endif
/* We may have to define LT_DLLAZY_OR_NOW in the command line if
we
find out it does not work in some platform. */ #ifndef LT_DL-
LAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DL-
LAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY #
define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef
RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW #
else # ifdef DL_NOW # define LT_DL-
LAZY_OR_NOW DL_NOW # else # define LT_DL-
LAZY_OR_NOW 0 # endif # endif # endif # en-
dif #endif
#ifdef __cplusplus extern "C" void exit (int); #endif
void fnord() { int i=42;} int main () {
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
int status = $lt_dlunknown;
if (self)
{
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
/* dlclose (self); */
}
else
puts (dlerror ());
exit (status); }] EOF
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}
2>/dev/null; then
enable_dlopen=unknown
enable_dlopen_self=unknown
enable_dlopen_self_static=unknown else
lt_cv_dlopen=no
lt_cv_dlopen_libs=
case $host_os in
beos*)
lt_cv_dlopen="load_add_on"
lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes
;;
mingw* | pw32*)
lt_cv_dlopen="LoadLibrary"
lt_cv_dlopen_libs=
;;
cygwin*)
lt_cv_dlopen="dlopen"
lt_cv_dlopen_libs=
;;
darwin*)
# if libdl is installed we need to link against it
AC_CHECK_LIB([dl], [dlopen],
[lt_cv_dlopen="dlopen"
lt_cv_dlopen_libs="-ldl"],[
lt_cv_dlopen="dyld"
lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes
])
;;
*)
AC_CHECK_FUNC([shl_load],
[lt_cv_dlopen="shl_load"],
[AC_CHECK_LIB([dld], [shl_load],
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
[AC_CHECK_FUNC([dlopen],
[lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen],
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
[AC_CHECK_LIB([svld], [dlopen],
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
[AC_CHECK_LIB([dld], [dld_link],
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
]) ]) ]) ])
])
;;
esac
if test "x$lt_cv_dlopen" != xno; then
save_LIBS="$LIBS"
LIBS="$lt_cv_dlopen_libs $LIBS"
AC_CACHE_CHECK([whether a program can dlopen itself],
lt_cv_dlopen_self, [dnl
_LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes,
lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no,
lt_cv_dlopen_self=cross)
])
if test "x$lt_cv_dlopen_self" = xyes; then
wl=$lt_prog_compiler_wl eval LDFLAGS=
AC_CACHE_CHECK([whether a statically linked program can
dlopen itself],
lt_cv_dlopen_self_static, [dnl
_LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes,
lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_stat-
ic=no, lt_cv_dlopen_self_static=cross)
])
fi
CPPFLAGS="$save_CPPFLAGS"
LDFLAGS="$save_LDFLAGS"
LIBS="$save_LIBS"
;;
esac
case $lt_cv_dlopen_self in
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
*) enable_dlopen_self=unknown ;;
esac
case $lt_cv_dlopen_self_static in
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
*) enable_dlopen_self_static=unknown ;;
esac fi ]) m4trace:/usr/share/aclocal/libtool.m4:1043: -1-
AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_RE-
QUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
$rm -r conftest 2>/dev/null
mkdir conftest
cd conftest
mkdir out
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-o out/conftest2.$ac_objext"
# Insert the option either (1) after the last *FLAGS variable,
or
# (2) before a word containing "conftest.", or (3) at the end.
# Note that $ac_compile itself does not contain backslashes
recognized
# So say no if there are warnings
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >
out/conftest.exp
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
if test ! -s out/conftest.er2 || diff out/conftest.exp
out/conftest.er2 >/dev/null; then
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
fi
fi
chmod u+w . 2>&AS_MESSAGE_LOG_FD
$rm conftest*
# SGI C++ compiler will create directory out/ii_files/ for
# template instantiation
test -d out/ii_files && $rm out/ii_files/* && rmdir
out/ii_files
$rm out/* && rmdir out
cd ..
rmdir conftest
$rm conftest* ]) ]) m4trace:/usr/share/aclo-
cal/libtool.m4:1095: -1- AC_DE-
FUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_RE-
QUIRE([_LT_AC_LOCK])dnl
hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compil-
er_c_o, $1)" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
AC_MSG_CHECKING([if we can lock with hard links])
hard_links=yes
$rm conftest*
ln conftest.a conftest.b 2>/dev/null && hard_links=no
touch conftest.a
ln conftest.a conftest.b 2>&5 || hard_links=no
ln conftest.a conftest.b 2>/dev/null && hard_links=no
AC_MSG_RESULT([$hard_links])
if test "$hard_links" = no; then
AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may
be unsafe])
need_locks=warn
fi else
need_locks=no fi ]) m4trace:/usr/share/aclocal/libtool.m4:1121:
-1- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir],
[lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null
if test -d .libs; then
lt_cv_objdir=.libs else
# MS-DOS does not allow filenames that begin with a dot.
lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) ob-
jdir=$lt_cv_objdir ]) m4trace:/usr/share/aclocal/libtool.m4:1139:
-1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
[AC_MSG_CHECKING([how to hardcode library paths into programs])
_LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAG-
VAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_AC_TAG-
_LT_AC_TAGVAR(hardcode_action, $1)=relink
else
# We can link without hardcoding, and we can hardcode nonex-
isting dirs.
_LT_AC_TAGVAR(hardcode_action, $1)=immediate
fi else
# We cannot hardcode anything, or else we can only hardcode ex-
isting
# directories.
_LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RE-
SULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
# Fast installation is not supported
enable_fast_install=no elif test "$shlibpath_overrides_runpath"
= yes ||
test "$enable_shared" = no; then
# Fast installation is not necessary
enable_fast_install=needless fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:1179: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
[striplib= old_striplib= AC_MSG_CHECKING([whether stripping li-
braries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
AC_MSG_RESULT([yes]) else # FIXME - insert some real tests,
host_os isn't really good enough
case $host_os in
darwin*)
if test -n "$STRIP" ; then
striplib="$STRIP -x"
old_striplib="$STRIP -S"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no]) fi
;;
*)
AC_MSG_RESULT([no])
;;
esac fi ]) m4trace:/usr/share/aclocal/libtool.m4:1210: -1-
AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_RE-
QUIRE([LT_AC_PROG_SED])dnl AC_MSG_CHECKING([dynamic linker char-
acteristics]) library_names_spec= libname_spec='lib$name' son-
ame_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds=
finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_run-
path=unknown version_type=none dynamic_linker="$host_os ld.so"
sys_lib_dlsearch_path_spec="/lib /usr/lib" m4_if($1,[],[ if test
"$GCC" = yes; then
case $host_os in
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
*) lt_awk_arg="/^libraries:/" ;;
esac
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e
"s/$PATH_SEPARATOR/ /g"`
fi
# Ok, now we have the path, separated by spaces, we can step
through it
# and add multilib dir if necessary.
lt_tmp_lt_search_path_spec=
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-
os-directory 2>/dev/null`
for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec
$lt_sys_path/$lt_multi_os_dir"
else
test -d "$lt_sys_path" &&
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec
$lt_sys_path"
fi
done
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
BEGIN {RS=" "; FS="/|0;} {
lt_foo="";
lt_count=0;
for (lt_i = NF; lt_i > 0; lt_i--) {
if ($lt_i != "" && $lt_i != ".") {
if ($lt_i == "..") {
lt_count++;
} else {
if (lt_count == 0) {
lt_foo="/" $lt_i lt_foo;
} else {
lt_count--;
}
}
}
}
if (lt_foo != "") { lt_freq[[lt_foo]]++; }
if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'`
sys_lib_search_path_spec=`echo $lt_search_path_spec` else
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi])
need_lib_prefix=unknown hardcode_into_libs=no
# when you set need_version to no, make sure it does not cause
-set_version # flags to be left without arguments need_ver-
sion=unknown
case $host_os in aix3*)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix
$libname.a'
shlibpath_var=LIBPATH
name${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
else
# With GCC up to 2.95.x, collect2 would create an import file
# for dependence libraries. The import file would start with
# the line `#! .'. This would cause the generated library to
# depend on `.', always an invalid library. This was fixed
in
# development snapshots of GCC prior to 3.0.
case $host_os in
aix4 | aix4.[[01]] | aix4.[[01]].*)
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MI-
NOR__ >= 97)' echo ' yes ' echo '#endif'; }
| ${CC} -E - | grep yes > /dev/null; then :
else can_build_shared=no
fi
;;
esac
# AIX (on Power*) has no versioning support, so currently we
can not hardcode correct
# soname into executable. Probably we can add versioning sup-
port to
# collect2, so additional links can be useful in future.
if test "$aix_use_runtimelinking" = yes; then
# If using run time linking (on AIX 4.2 or later) use
lib<name>.so
# instead of lib<name>.a to let people know that these are
not
# typical AIX shared libraries.
library_names_spec='${libname}${release}${shared_ext}$ver-
suffix ${libname}${release}${shared_ext}$major $lib-
name${shared_ext}'
else
# We preserve .a as extension for shared libraries through
AIX4.2
# and later when we are not doing run time linking.
library_names_spec='${libname}${release}.a $libname.a'
soname_spec='${libname}${release}${shared_ext}$major'
fi
shlibpath_var=LIBPATH
fi
;;
amigaos*)
library_names_spec='$libname.ixlibrary $libname.a'
# Create ${libname}_ixlibrary.a entries in /sys/libs.
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`;
do libname=`$echo "X$lib" | $Xsed -e '''s%^.*/^/]]*.ixli-
brary$%1%'''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show
"cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs
&& $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
;;
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib
/usr/contrib/lib /lib /usr/local/lib"
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
# the default ld.so.conf also contains /usr/contrib/lib and
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us
allow
# libtool to hard-code these into programs
;;
cygwin* | mingw* | pw32*)
version_type=windows
shrext_cmds=".dll"
need_version=no
need_lib_prefix=no
case $GCC,$host_os in
yes,cygwin* | yes,mingw* | yes,pw32*)
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename file}`~
dlpath=`$SHELL 2>&1 -c '''. $dir/'''base_file}'''i;echo
lname'''`~
dldir=$destdir/`dirname lpath`~
test -d ldir || mkdir -p ldir~
$install_prog $dir/$dlname ldir/$dlname~
chmod a+x ldir/$dlname'
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '''. $file; echo
lname'''`~
dlpath=$dir/ldll~
$rm lpath'
shlibpath_overrides_runpath=yes
case $host_os in
cygwin*)
# 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}'
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib
/usr/local/lib"
;;
mingw*)
# MinGW DLLs use traditional 'lib' prefix
soname_spec='${libname}`echo ${release} | $SED -e
's/[[.]]/-/g'`${versuffix}${shared_ext}'
sys_lib_search_path_spec=`$CC -print-search-dirs | grep
"^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/'
>/dev/null]; then
# It is most probably a Windows format PATH printed by
# mingw gcc, but we are running on Cygwin. Gcc prints its
search
pw32*)
# pw32 DLLs use 'pw' prefix rather than 'lib'
library_names_spec='`echo ${libname} | sed -e
's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuf-
fix}${shared_ext}'
;;
esac
;;
*)
library_names_spec='${libname}`echo ${release} | $SED -e
's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
;;
esac
dynamic_linker='Win32 ld.exe'
# FIXME: first we should search . and the directory the exe-
cutable is in
shlibpath_var=PATH
;;
darwin* | rhapsody*)
dynamic_linker="$host_os dyld"
version_type=darwin
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${versuffix}$shared_ext
${libname}${release}${major}$shared_ext ${libname}$shared_ext'
soname_spec='${libname}${release}${major}$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
m4_if([$1], [],[
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lo-
cal/lib"])
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
;;
dgux*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname$shared_ext'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
;;
freebsd1*)
dynamic_linker=no
;;
freebsd* | dragonfly*)
suffix ${libname}${release}${shared_ext} $libname${shared_ext}'
need_version=no
need_lib_prefix=no
;;
freebsd-*)
library_names_spec='${libname}${release}${shared_ext}$ver-
suffix $libname${shared_ext}$versuffix'
need_version=yes
;;
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
freebsd2*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[[01]]* | freebsdelf3.[[01]]*)
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
;;
freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | freebsd4.[[0-5]] |
freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
*) # from 4.6 on, and DragonFly
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
;;
esac
;;
gnu*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}${major} ${lib-
name}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
hardcode_into_libs=yes
;;
hpux9* | hpux10* | hpux11*)
# Give a soname corresponding to the major version so that
dld.sl refuses to
# link against other versions.
version_type=sunos
need_lib_prefix=no
need_version=no
case $host_cpu in
ia64*)
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/lo-
cal/lib/hpux64"
fi
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
hppa*64*)
shrext_cmds='.sl'
hardcode_into_libs=yes
dynamic_linker="$host_os dld.sl"
shlibpath_var=LD_LIBRARY_PATH # How should we handle
SHLIB_PATH
shlibpath_overrides_runpath=yes # Unless +noenvvar is speci-
fied.
library_names_spec='${libname}${release}${shared_ext}$ver-
suffix ${libname}${release}${shared_ext}$major $lib-
name${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
sys_lib_search_path_spec="/usr/lib/pa20_64
/usr/ccs/lib/pa20_64"
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
*)
shrext_cmds='.sl'
dynamic_linker="$host_os dld.sl"
shlibpath_var=SHLIB_PATH
shlibpath_overrides_runpath=no # +s is required to enable
SHLIB_PATH
library_names_spec='${libname}${release}${shared_ext}$versuf-
fix ${libname}${release}${shared_ext}$major $lib-
name${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
;;
esac
# HP-UX runs *really* slowly unless shared libraries are mode
555.
postinstall_cmds='chmod 555 $lib'
;;
interix[[3-9]]*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
irix5* | irix6* | nonstopux*)
libsuff= shlibsuff=
;;
*)
case $LD in # libtool.m4 will add one of these switches to LD
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
libsuff= shlibsuff= libmagic=32-bit;;
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
libsuff=32 shlibsuff=N32 libmagic=N32;;
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
libsuff=64 shlibsuff=64 libmagic=64-bit;;
*) libsuff= shlibsuff= libmagic=never-match;;
esac
;;
esac
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
shlibpath_overrides_runpath=no
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff}
/usr/local/lib${libsuff}"
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
hardcode_into_libs=yes
;;
# No shared lib support for Linux oldld, aout, or coff. lin-
ux*oldld* | linux*aout* | linux*coff*)
dynamic_linker=no
;;
# This must be Linux ELF. linux* | k*bsd*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="ATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
# This implies no fast_install, which is unacceptable.
# Some rework will be needed to allow for fast_install
# before this can be enabled.
hardcode_into_libs=yes
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat
%s 2>/dev/null", 2)); skip = 1; } { if (!skip) print 0; skip = 0;
}' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[
]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '0 ' '`
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
fi
netbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
library_names_spec='${libname}${release}${shared_ext}$versuf-
fix ${libname}${shared_ext}$versuffix'
finish_cmds='PATH="ATH:/sbin" ldconfig -m $libdir'
dynamic_linker='NetBSD (a.out) ld.so'
else
library_names_spec='${libname}${release}${shared_ext}$versuf-
fix ${libname}${release}${shared_ext}$major ${lib-
name}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
dynamic_linker='NetBSD ld.elf_so'
fi
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
;;
newsos6)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
;;
nto-qnx*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
;;
openbsd*)
version_type=sunos
sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need ver-
sioned libs.
case $host_os in
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
*) need_version=no ;;
esac
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${shared_ext}$versuffix'
os2*)
libname_spec='$name'
shrext_cmds=".dll"
need_lib_prefix=no
library_names_spec='$libname${shared_ext} $libname.a'
dynamic_linker='OS/2 ld.exe'
shlibpath_var=LIBPATH
;;
osf3* | osf4* | osf5*)
version_type=osf
need_lib_prefix=no
need_version=no
soname_spec='${libname}${release}${shared_ext}$major'
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cm-
plrs/cc /usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
rdos*)
dynamic_linker=no
;;
solaris*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
# ldd complains unless libraries are executable
postinstall_cmds='chmod +x $lib'
;;
sunos4*)
version_type=sunos
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${shared_ext}$versuffix'
finish_cmds='PATH="ATH:/usr/etc" ldconfig $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
if test "$with_gnu_ld" = yes; then
need_lib_prefix=no
fi
need_version=yes
;;
siemens)
need_lib_prefix=no
;;
motorola)
need_lib_prefix=no
need_version=no
shlibpath_overrides_runpath=no
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
;;
esac
;;
sysv4*MP*)
if test -d /usr/nec ;then
version_type=linux
library_names_spec='$libname${shared_ext}.$versuffix $lib-
name${shared_ext}.$major $libname${shared_ext}'
soname_spec='$libname${shared_ext}.$major'
shlibpath_var=LD_LIBRARY_PATH
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
sysv4*uw2*)
version_type=freebsd-elf
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext} $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
hardcode_into_libs=yes
if test "$with_gnu_ld" = yes; then
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib
/usr/ccs/lib /usr/lib /lib'
shlibpath_overrides_runpath=no
else
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
shlibpath_overrides_runpath=yes
case $host_os in
sco3.2v5*)
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
;;
esac
fi
sys_lib_dlsearch_path_spec='/usr/lib'
;;
uts4*)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major $libname${shared_ext}'
FUN([_LT_AC_TAGCONFIG], [AC_REQUIRE([LT_AC_PROG_SED])dnl
AC_ARG_WITH([tags],
[AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
[include additional configurations @<:@automatic@:>@])],
[tagnames="$withval"])
if test -f "$ltmain" && test -n "$tagnames"; then
if test ! -f "${ofile}"; then
AC_MSG_WARN([output file `$ofile' does not exist])
fi
if test -z "$LTCC"; then
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
if test -z "$LTCC"; then
AC_MSG_WARN([output file `$ofile' does not look like a
libtool script])
else
AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
fi
fi
if test -z "$LTCFLAGS"; then
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
fi
# Extract list of available tagged configurations in $ofile.
# Note that this assumes the entire list is on one line.
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e
's/available_tags=$/1/' -e 's/
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
for tagname in $tagnames; do
IFS="$lt_save_ifs"
# Check whether tagname contains only valid characters
case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHI-
JKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
"") ;;
*) AC_MSG_ERROR([invalid tag name: $tagname]) ;;
esac
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" <
"${ofile}" > /dev/null
then
AC_MSG_ERROR([tag name
fi
# Update the list of available tags.
if test -n "$tagname"; then
echo appending configuration tag
case $tagname in
CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno"
&& ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null
*) AC_MSG_ERROR([Unsupported tag name: $tagname])
;;
esac
# Append the new tag name to the list of available tags.
if test -n "$tagname" ; then
available_tags="$available_tags $tagname"
fi
fi
done
IFS="$lt_save_ifs"
# Now substitute the updated list of available tags.
if eval "sed -e 's/^available_tags=.*available_tags=
mv "${ofile}T" "$ofile"
chmod +x "$ofile"
else
rm -f "${ofile}T"
AC_MSG_ERROR([unable to update list of available tagged con-
figurations.])
fi fi ]) m4trace:/usr/share/aclocal/libtool.m4:1931: -1- AC_DE-
FUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])
m4trace:/usr/share/aclocal/libtool.m4:1939: -1- AC_DE-
FUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
]) m4trace:/usr/share/aclocal/libtool.m4:1948: -1- AC_DE-
FUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT],
ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared],
[AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
[build shared libraries @<:@default=]AC_ENABLE_SHARED_DE-
FAULT[@:>@])],
[p=${PACKAGE-default}
case $enableval in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
enable_shared=no
# Look at the argument we got. We use all the common list
separators.
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
for pkg in $enableval; do IFS="$lt_save_ifs"
if test "X$pkg" = "X$p"; then enable_shared=yes
fi
done
IFS="$lt_save_ifs"
;;
esac],
[enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])
m4trace:/usr/share/aclocal/libtool.m4:1977: -1- AC_DEFUN([AC_DIS-
ABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_EN-
ABLE_SHARED(no) ]) m4trace:/usr/share/aclocal/libtool.m4:1987:
-1- AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DE-
FAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static],
fi
done
IFS="$lt_save_ifs"
;;
esac],
[enable_static=]AC_ENABLE_STATIC_DEFAULT) ])
m4trace:/usr/share/aclocal/libtool.m4:2016: -1- AC_DEFUN([AC_DIS-
ABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_EN-
ABLE_STATIC(no) ]) m4trace:/usr/share/aclocal/libtool.m4:2026:
-1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_EN-
ABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
AC_ARG_ENABLE([fast-install],
[AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
[optimize for fast installation @<:@default=]AC_EN-
ABLE_FAST_INSTALL_DEFAULT[@:>@])],
[p=${PACKAGE-default}
case $enableval in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
enable_fast_install=no
# Look at the argument we got. We use all the common list
separators.
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
for pkg in $enableval; do IFS="$lt_save_ifs"
if test "X$pkg" = "X$p"; then enable_fast_in-
stall=yes fi
done
IFS="$lt_save_ifs"
;;
esac],
[enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])
m4trace:/usr/share/aclocal/libtool.m4:2055: -1- AC_DEFUN([AC_DIS-
ABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_EN-
ABLE_FAST_INSTALL(no) ]) m4trace:/usr/share/aclo-
cal/libtool.m4:2065: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BE-
FORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default)
]) m4trace:/usr/share/aclocal/libtool.m4:2089: -1- AC_DE-
FUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl
AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
[case $MAGIC_CMD in [[\/*] | ?:[\/]*])
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the
test with a path.
;; *)
lt_save_MAGIC_CMD="$MAGIC_CMD"
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces
splitting on constant user-supplied paths. dnl POSIX.2 word
splitting is done only on the output of word expansions, dnl not
every word. This closes a longstanding sh security hole.
ac_dummy="ifelse([$2], , $PATH, [$2])"
for ac_dir in $ac_dummy; do
IFS="$lt_save_ifs"
shared libraries *** as such. This will affect the creation of
libtool libraries that *** depend on shared libraries, but pro-
grams linked with such libtool *** libraries will work regardless
of this problem. Nevertheless, you *** may want to report the
problem to your system manager and/or to *** bug-libtool@gnu.org
EOF fi ;; esac
fi
break
fi
done
IFS="$lt_save_ifs"
MAGIC_CMD="$lt_save_MAGIC_CMD"
;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAG-
IC_CMD"; then
AC_MSG_RESULT($MAGIC_CMD) else
AC_MSG_RESULT(no) fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:2152: -1- AC_DEFUN([AC_PATH_MAGIC],
[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARA-
TOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
else
MAGIC_CMD=:
fi fi ]) m4trace:/usr/share/aclocal/libtool.m4:2167: -1- AC_DE-
FUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld],
[AC_HELP_STRING([--with-gnu-ld], [assume the C com-
piler uses GNU ld @<:@default=no@:>@])],
[test "$withval" = no || with_gnu_ld=yes],
[with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_RE-
QUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_RE-
QUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes;
then
# Check if gcc -print-prog-name=ld gives a path.
AC_MSG_CHECKING([for ld used by $CC])
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d ' 15'` ;;
*)
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
esac
case $ac_prog in
# Accept absolute paths.
[[\/]]* | ?:[[\/]]*)
re_direlt='/[[^/]][[^/]]*/../'
# Canonicalize the pathname of ld
ac_prog=`echo $ac_prog| $SED 's%\\%/%g'`
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1;
do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
done
test -z "$LD" && LD="$ac_prog"
for ac_dir in $PATH; do
IFS="$lt_save_ifs"
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f
"$ac_dir/$ac_prog$ac_exeext"; then
lt_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use
--version,
# but apparently some variants of GNU ld only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*) test "$with_gnu_ld" != no &&
break ;;
*) test "$with_gnu_ld" != yes && break ;;
esac
fi
done
IFS="$lt_save_ifs" else
lt_cv_path_LD="$LD" # Let the user override the test with a
path. fi]) LD="$lt_cv_path_LD" if test -n "$LD"; then
AC_MSG_RESULT($LD) else
AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no accept-
able ld found in ATH]) AC_PROG_LD_GNU ]) m4trace:/usr/share/aclo-
cal/libtool.m4:2251: -1- AC_DEFUN([AC_PROG_LD_GNU], [AC_RE-
QUIRE([AC_PROG_EGREP])dnl AC_CACHE_CHECK([if the linker ($LD) is
GNU ld], lt_cv_prog_gnu_ld, [# I'd rather use --version here, but
apparently some GNU lds only accept -v. case `$LD -v 2>&1
return(0);}'
# Report which library types will actually be built AC_MSG_CHECK-
ING([if libtool supports shared libraries]) AC_MSG_RE-
SULT([$can_build_shared])
AC_MSG_CHECKING([whether to build shared libraries]) test
"$can_build_shared" = "no" && enable_shared=no
# On AIX, shared libraries and static libraries use the same
namespace, and # are all built from PIC. case $host_os in aix3*)
test "$enable_shared" = yes && enable_static=no
if test -n "$RANLIB"; then
archive_cmds="$archive_cmds~ANLIB ib"
postinstall_cmds='$RANLIB $lib'
fi
;;
aix4* | aix5*)
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" =
no ; then
test "$enable_shared" = yes && enable_static=no
fi
;; esac AC_MSG_RESULT([$enable_shared])
AC_MSG_CHECKING([whether to build static libraries]) # Make sure
either enable_shared or enable_static is yes. test "$en-
able_shared" = yes || enable_static=yes AC_MSG_RESULT([$en-
able_static])
AC_LIBTOOL_CONFIG($1)
AC_LANG_POP CC="$lt_save_CC" ]) m4trace:/usr/share/aclo-
cal/libtool.m4:2780: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG],
[_LT_AC_LANG_CXX_CONFIG(CXX)]) m4trace:/usr/share/aclo-
cal/libtool.m4:2781: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
[AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_RE-
QUIRE([_LT_AC_PROG_CXXCPP])
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(al-
low_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols,
$1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(ex-
port_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct,
$1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAG-
VAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hard-
code_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L,
$1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
_LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(mod-
ule_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAG-
VAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds,
$1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)=
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(en-
able_shared_with_static_runtimes, $1)=no
ple_link_test_code='int main(int, char *[[]]) { return(0); }'
# ltmain only uses $CC for tagged configurations so make sure $CC
is set. _LT_AC_SYS_COMPILER
# save warnings/boilerplate of simple test code _LT_COMPIL-
ER_BOILERPLATE _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments. lt_save_CC=$CC
lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX
lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else
$as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LD-
CXX+set}"; then
lt_cv_path_LD=$lt_cv_path_LDCXX else
$as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX
CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
# We don't want -fno-exception wen compiling C++ code, so set the
# no_builtin_flag separately if test "$GXX" = yes; then
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-
builtin' else
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi
if test "$GXX" = yes; then
# Set up default GNU C++ configuration
AC_PROG_LD
# Check if GNU C++ uses GNU ld as the underlying linker, since
the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pre-
dep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-soname $wl$soname -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file
$wl$export_symbols -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath
${wl}$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-
dynamic'
# If archive_cmds runs LD, not CC, wlarc should be empty
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need
to
# investigate it a little bit more. (MM)
# A generic and very simple default shared library creation
# command for GNU C++ for the case where it uses the native
# linker, instead of GNU ld. If possible, this setting
should
# overridden to take advantage of the native linker features
on
# the platform it is being used on.
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pre-
dep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o
$lib'
fi
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$ob-
jext 2>&1 | grep "-L"'
else
GXX=no
with_gnu_ld=no
wlarc= fi
# PORTME: fill in a description of your system's C++ link charac-
teristics AC_MSG_CHECKING([whether the $compiler linker ($LD)
supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case
$host_os in
aix3*)
# FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
aix4* | aix5*)
if test "$host_cpu" = ia64; then
# On IA64, the linker does run time linking by default, so
we don't
# have to do anything special.
aix_use_runtimelinking=no
exp_sym_flag='-Bexport'
no_entry_flag=""
else
aix_use_runtimelinking=no
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking.
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
for ld_flag in $LDFLAGS; do case $ld_flag in
*-brtl*) aix_use_runtimelinking=yes
break ;; esac done
;;
esac
_LT_AC_TAGVAR(archive_cmds, $1)=''
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
if test "$GXX" = yes; then
case $host_os in aix4.[[012]]|aix4.[[012]].*)
# We only want to do this on AIX 4.2 and lower, the check
# below for broken collect2 doesn't work under 4.3+
collect2name=`${CC} -print-prog-name=collect2` if
test -f "$collect2name" && strings "$collect2name" | grep
resolve_lib_name >/dev/null then # We have re-
worked collect2 : else # We have old
collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
# It fails to find uninstalled libraries when the unin-
stalled # path is not listed in the libpath. Setting
hardcode_minus_L # to unsupported forces relinking
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi
;;
esac
shared_flag='-shared'
if test "$aix_use_runtimelinking" = yes; then
shared_flag="$shared_flag "'${wl}-G'
fi
else
# not using gcc
if test "$host_cpu" = ia64; then # VisualAge C++,
Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes
on -Wl,-G. The following line is correct:
shared_flag='-G'
else if test "$aix_use_runtimelinking" = yes; then
shared_flag='${wl}-G' else
shared_flag='${wl}-bM:SRE' fi
fi
fi
# It seems that -bexpall does not export symbols beginning
with
# underscore (_), so it is better to generate a list of sym-
bols to export.
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
if test "$aix_use_runtimelinking" = yes; then
# Warning - without using the other runtime loading flags
(-brtl),
# -berok will link without error, but may produce a broken
library.
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
# Determine the default libpath from the value encoded in
an empty executable.
$shared_flag"' -o $output_objdir/$soname $libobjs $deplibs
'"wl}$no_entry_flag"' $compiler_flags ${wl}${allow_unde-
fined_flag} '"wl}$exp_sym_flag:xport_symbols"
else # Determine the default libpath from the value
encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blib-
path:$libdir:'"$aix_libpath" # Warning - without using
the other run time loading flags, # -berok will link
without error, but may produce a broken library.
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
# Exported symbols can be pulled into shared objects from
archives _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc,
$1)=yes # This is similar to how AIX traditionally builds
its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds,
$1)="C $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs
${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${al-
low_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$re-
lease.a $output_objdir/$soname'
fi
fi
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
# Joseph Beckenbach <jrb3@best.com> says some releases of
gcc
# support --undefined. This deserves some investigation.
FIXME
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs
$deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
else
_LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
chorus*)
case $cc_basename in
*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
esac
;;
cygwin* | mingw* | pw32*)
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually
meaningless,
# as there is no search path for DLLs.
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
else echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
fi~
$CC -shared -nostdlib $output_objdir/$soname.def $pre-
dep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o
$output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker
--out-implib -Xlinker $lib'
else
_LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
darwin* | rhapsody*)
case $host_os in
rhapsody* | darwin1.[[012]])
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined
${wl}suppress'
;;
*) # Darwin 1.3 on
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
_LT_AC_TAGVAR(allow_undefined_flag,
$1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
else
case ${MACOSX_DEPLOYMENT_TARGET} in
10.[[012]])
_LT_AC_TAGVAR(allow_undefined_flag,
$1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
;;
10.*)
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-un-
defined ${wl}dynamic_lookup'
;;
esac
fi
;;
esac
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
if test "$GXX" = yes ; then
lt_int_apple_cc_single_mod=no
output_verbose_link_cmd='echo'
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null
; then
lt_int_apple_cc_single_mod=yes
fi
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -sin-
gle_module $allow_undefined_flag -o $lib $libobjs $deplibs $com-
$output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -sin-
gle_module $allow_undefined_flag -o $lib $libobjs $deplibs $com-
piler_flags -install_name $rpath/$soname $verstring~nmedit -s
$output_objdir/${libname}-symbols.expsym ${lib}'
else
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e
"s,#.*,," -e "s,^[ ]*,," -e "s,^*,_&," < $export_symbols >
$output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_ex-
terns -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $al-
low_undefined_flag -o $lib ${lib}-master.o $deplibs $compil-
er_flags -install_name $rpath/$soname $verstring~nmedit -s $out-
put_objdir/${libname}-symbols.expsym ${lib}'
fi
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e
"s,#.*,," -e "s,^[ ]*,," -e "s,^*,_&," < $export_symbols >
$output_objdir/${libname}-symbols.expsym~$CC $allow_unde-
fined_flag -o $lib -bundle $libobjs $deplibs$compil-
er_flags~nmedit -s $output_objdir/${libname}-symbols.expsym
${lib}'
else
case $cc_basename in
xlc*)
output_verbose_link_cmd='echo'
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj
${wl}-single_module $allow_undefined_flag -o $lib $libobjs
$deplibs $compiler_flags ${wl}-install_name ${wl}`echo
$rpath/$soname` $xlcverstring'
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_unde-
fined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list
flag, it doesn't exist in older darwin lds
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e
"s,#.*,," -e "s,^[ ]*,," -e "s,^*,_&," < $export_symbols >
$output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj
${wl}-single_module $allow_undefined_flag -o $lib $libobjs
$deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname
$xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym
${lib}'
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,,"
-e "s,^[ ]*,," -e "s,^*,_&," < $export_symbols > $output_ob-
jdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib
-bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_ob-
jdir/${libname}-symbols.expsym ${lib}'
;;
*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
esac
fi
;;
dgux*)
;;
freebsd-elf*)
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
;;
freebsd* | dragonfly*)
# FreeBSD 3 and later use GNU C++ and GNU ld with standard
ELF
# conventions
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
;;
gnu*)
;;
hpux9*)
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search
PATH, # but as the default
# location of the library.
case $cc_basename in
CC*)
# FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
aCC*)
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$son-
ame~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags~test $output_objdir/$soname = $lib || mv $output_ob-
jdir/$soname $lib'
# Commands to make compiler produce verbose output that
lists
# what "hidden" libraries, object files and flags are used
when
# linking a shared library.
#
# There doesn't appear to be a way to prevent this compiler
from
# explicitly linking system object files so we need to
strip them
# from the output so that they don't get included in the
library
# dependencies.
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v con-
ftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $tem-
plist; do case $z in conftest.$objext) list="$list $z";; *.$ob-
jext);; *) list="$list $z";;esac; done; echo $list'
;;
*)
if test $with_gnu_ld = no; then
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
case $host_cpu in
hppa*64*|ia64*) ;;
*) _LT_AC_TAGVAR(export_dynamic_flag_spec,
$1)='${wl}-E'
;;
esac
fi
case $host_cpu in
hppa*64*|ia64*)
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
*)
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search
PATH, # but as the
default # location
of the library.
;;
esac
case $cc_basename in
CC*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
aCC*) case $host_cpu in hppa*64*)
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o
$lib $predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags' ;; ia64*) _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath
-o $lib $predep_objects $libobjs $deplibs $postdep_objects $com-
piler_flags' ;; *) _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$in-
stall_libdir -o $lib $predep_objects $libobjs $deplibs $post-
dep_objects $compiler_flags' ;; esac #
Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are
used when # linking a shared library. #
# There doesn't appear to be a way to prevent this com-
piler from # explicitly linking system object files so we
need to strip them # from the output so that they don't
get included in the library # dependencies. out-
put_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$ob-
jext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z
in conftest.$objext) list="$list $z";; *.$objext);; *)
list="$list $z";;esac; done; echo $list' ;;
*) if test "$GXX" = yes; then if test
$with_gnu_ld = no; then case $host_cpu in
esac
;;
interix[[3-9]]*)
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}-rpath,$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
# Hack: On Interix 3.x, we cannot compile PIC because of a
broken gcc.
# Instead, shared libraries are loaded at an image base
(0x10000000 by
# default) and relocated if they conflict, which is a slow
very memory
# consuming and fragmenting process. To avoid this, we pick
a random,
# 256 KiB-aligned image base between 0x50000000 and
0x6FFC0000 at link
# time. Moving up from 0x10000000 also allows more sbrk(2)
space.
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $li-
bobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-
base,`expr ${RANDOM-$$} % 4096 / 2 262144 + 1342177280` -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $ex-
port_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,`ex-
pr ${RANDOM-$$} % 4096 / 2 262144 + 1342177280` -o $lib'
;;
irix5* | irix6*)
case $cc_basename in
CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds,
$1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags -soname $soname `test -n "$ver-
string" && echo -set_version $verstring` -update_registry ${out-
put_objdir}/so_locations -o $lib'
# Archives containing C++ object files must be created
using # "CC -ar", where "CC" is the IRIX C++ compiler.
This is # necessary to make sure instantiated templates
are included # in the archive. _LT_AC_TAG-
VAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
;;
*) if test "$GXX" = yes; then if test
"$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds,
$1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test
-n "$verstring" && echo ${wl}-set_version ${wl}$verstring`
${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
else _LT_AC_TAGVAR(archive_cmds, $1)='$CC
-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_ob-
jects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$ver-
file # ends with ".so" (or ".sl" for HP-UX), so rename
the library # to its proper name (with version) after
linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo
$shared_ext | $SED -e '''s/^()0-9A-Za-z{}]]/\\1/g'''`; tem-
plib=`echo $lib | $SED -e "s/tempext}..*/.so/"`; $CC $predep_ob-
jects $libobjs $deplibs $postdep_objects $compiler_flags --soname
$soname -o emplib; mv emplib $lib' _LT_AC_TAGVAR(ar-
chive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e
'''s/^()0-9A-Za-z{}]]/\\1/g'''`; templib=`echo $lib | $SED -e
"s/tempext}..*/.so/"`; $CC $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags --soname $soname -o emplib
${wl}-retain-symbols-file,$export_symbols; mv emplib $lib'
# Commands to make compiler produce verbose output that
lists # what "hidden" libraries, object files and flags
are used when # linking a shared library. #
# There doesn't appear to be a way to prevent this com-
piler from # explicitly linking system object files so we
need to strip them # from the output so that they don't
get included in the library # dependencies. out-
put_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext
-o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libcon-
ftest$shared_ext; list=""; for z in $templist; do case $z in con-
ftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; echo $list'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynam-
ic_flag_spec, $1)='${wl}--export-dynamic'
# Archives containing C++ object files must be created
using # "CC -Bstatic", where "CC" is the KAI C++ compil-
er. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o
$oldlib $oldobjs' ;;
icpc*) # Intel C++ with_gnu_ld=yes
# version 8.0 and above of icpc choke on multiply defined
symbols # if we add $predep_objects and $postdep_objects,
however 7.1 and # earlier do not add the objects them-
selves. case `$CC -V 2>&1` in *"Version 7."*)
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pre-
dep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-soname $wl$soname -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file
$wl$export_symbols -o $lib' ;; *) # Version
8.0 or newer tmp_idyn= case $host_cpu in
ia64*) tmp_idyn=' -i_dynamic';; esac
_LT_AC_TAGVAR(archive_cmds, $1)='$CC
-shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-son-
ame $wl$soname -o $lib' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $com-
piler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file
$compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-
file ${wl}$export_symbols -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dy-
namic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAG-
VAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv
in $convenience
;;
cxx*) # Compaq C++ _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pre-
dep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file
$wl$export_symbols'
runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hard-
code_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAG-
VAR(hardcode_libdir_separator, $1)=:
# Commands to make compiler produce verbose output that
lists # what "hidden" libraries, object files and flags
are used when # linking a shared library. #
# There doesn't appear to be a way to prevent this com-
piler from # explicitly linking system object files so we
need to strip them # from the output so that they don't
get included in the library # dependencies. out-
put_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v con-
ftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED
"s/*ld.*.*ld .*$/1/"`; list=""; for z in $templist; do case $z in
conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; echo $list' ;;
*) case `$CC -V 2>&1 | sed 5q` in *Sun C*)
# Sun C++ 5.9 _LT_AC_TAGVAR(no_unde-
fined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds,
$1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_ob-
jects $libobjs $deplibs $postdep_objects $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${al-
low_undefined_flag} -h$soname -o $lib $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-
file ${wl}$export_symbols' _LT_AC_TAGVAR(hardcode_lib-
dir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(whole_ar-
chive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for
conv in $convenience
# Not sure whether something based on # $CC
$CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
# would be better. output_ver-
bose_link_cmd='echo'
# Archives containing C++ object files must be created
;;
mvs*)
case $cc_basename in
cxx*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
esac
;;
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib
$predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
wlarc=
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
fi
# Workaround some broken pre-1.5 toolchains
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$ob-
jext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc
-lgcc::"'
;;
openbsd2*)
# C++ shared libraries are fairly broken
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}-rpath,$libdir'
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared
$pic_flag $predep_objects $libobjs $deplibs $postdep_objects
$compiler_flags ${wl}-retain-symbols-file,$export_symbols -o
$lib' _LT_AC_TAGVAR(export_dynamic_flag_spec,
$1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-ar-
chive'
fi
output_verbose_link_cmd='echo'
else
_LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
osf3*)
$1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_lib-
dir_separator, $1)=:
# Archives containing C++ object files must be created
using # "CC -Bstatic", where "CC" is the KAI C++ compil-
er. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o
$oldlib $oldobjs'
;;
RCC*) # Rational C++ 2.4.1 # FIXME: insert
proper C++ library support _LT_AC_TAGVAR(ld_shlibs,
$1)=no ;;
cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='
${wl}-expect_unresolved ${wl} _LT_AC_TAGVAR(archive_cmds,
$1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags ${wl}-soname $soname
`test -n "$verstring" && echo ${wl}-set_version $verstring` -up-
date_registry ${output_objdir}/so_locations -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath
${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator,
$1)=:
# Commands to make compiler produce verbose output that
lists # what "hidden" libraries, object files and flags
are used when # linking a shared library. #
# There doesn't appear to be a way to prevent this com-
piler from # explicitly linking system object files so we
need to strip them # from the output so that they don't
get included in the library # dependencies. out-
put_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v con-
ftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo
$templist | $SED "s/*ld.*.*ld.*$/1/"`; list=""; for z in $tem-
plist; do case $z in conftest.$objext) list="$list $z";; *.$ob-
jext);; *) list="$list $z";;esac; done; echo $list' ;;
*) if test "$GXX" = yes && test "$with_gnu_ld" =
no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='
${wl}-expect_unresolved ${wl} _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag}
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo
${wl}-set_version ${wl}$verstring` ${wl}-update_registry
${wl}${output_objdir}/so_locations -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hard-
code_libdir_separator, $1)=:
# Commands to make compiler produce verbose output that
lists # what "hidden" libraries, object files and flags
are used when # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext
linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo
$shared_ext | $SED -e '''s/^()0-9A-Za-z{}]]/\\1/g'''`; tem-
plib=`echo $lib | $SED -e "s/tempext}..*/.so/"`; $CC $predep_ob-
jects $libobjs $deplibs $postdep_objects $compiler_flags --soname
$soname -o emplib; mv emplib $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec,
$1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_lib-
dir_separator, $1)=:
# Archives containing C++ object files must be created
using # the KAI C++ compiler. _LT_AC_TAG-
VAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
RCC*) # Rational C++ 2.4.1 # FIXME: insert
proper C++ library support _LT_AC_TAGVAR(ld_shlibs,
$1)=no ;;
cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='
-expect_unresolved _LT_AC_TAGVAR(archive_cmds, $1)='$CC
-shared${allow_undefined_flag} $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags -msym -soname $soname `test -n
"$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(ar-
chive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf
"%s %s\n" -exported_symbol "" >> $lib.exp; done~ echo
"-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n
"$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib~ $rm $lib.exp'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath
$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
# Commands to make compiler produce verbose output that
lists # what "hidden" libraries, object files and flags
are used when # linking a shared library. #
# There doesn't appear to be a way to prevent this com-
piler from # explicitly linking system object files so we
need to strip them # from the output so that they don't
get included in the library # dependencies. out-
put_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v con-
ftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo
$templist | $SED "s/*ld.*.*ld.*$/1/"`; list=""; for z in $tem-
plist; do case $z in conftest.$objext) list="$list $z";; *.$ob-
jext);; *) list="$list $z";;esac; done; echo $list' ;;
*) if test "$GXX" = yes && test "$with_gnu_ld" =
no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='
${wl}-expect_unresolved ${wl} _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag}
$predep_objects $libobjs $deplibs $postdep_objects $compil-
er_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$ver-
string" && echo ${wl}-set_version ${wl}$verstring` ${wl}-up-
esac
;;
psos*)
# FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
sunos4*)
case $cc_basename in
CC*) # Sun C++ 4.x # FIXME: insert proper
C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
lcc*) # Lucid # FIXME: insert proper C++
library support _LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
esac
;;
solaris*)
case $cc_basename in
CC*) # Sun C++ 4.2, 5.x and Centerline C++
_LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_unde-
fined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags' _LT_AC_TAGVAR(ar-
chive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $ex-
port_symbols | $SED -e "s//1;/" >> $lib.exp~$echo "local: *; };"
>> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M
${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags~$rm $lib.exp'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case
$host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
*) # The compiler driver will combine and
reorder linker options, # but understands `-z link-
er_flag'. # Supported since Solaris 2.6 (maybe
2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)='-z allextract$convenience -z defaultextract' ;;
esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
output_verbose_link_cmd='echo'
# Archives containing C++ object files must be created
using # "CC -xar", where "CC" is the Sun C++ compiler.
This is # necessary to make sure instantiated templates
are included # in the archive. _LT_AC_TAG-
VAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
;;
gcx*) # Green Hills C++ Compiler
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_ob-
global:" > $lib.exp~cat $export_symbols | $SED -e "s//1;/" >>
$lib.exp~$echo "local: *; };" >> $lib.exp~ $CC
-shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
# Commands to make compiler produce verbose output
that lists # what "hidden" libraries, object files
and flags are used when # linking a shared library.
output_verbose_link_cmd="$CC -shared $CFLAGS -v con-
ftest.$objext 2>&1 | grep else # g++ 2.7
appears to require `-G' NOT `-shared' on this # plat-
form. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nost-
dlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects
$compiler_flags ${wl}-h $wl$soname -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" >
$lib.exp~cat $export_symbols | $SED -e "s//1;/" >> $lib.exp~$echo
"local: *; };" >> $lib.exp~ $CC -G -nostdlib
${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags~$rm $lib.exp'
# Commands to make compiler produce verbose output
that lists # what "hidden" libraries, object files
and flags are used when # linking a shared library.
output_verbose_link_cmd="$CC -G $CFLAGS -v con-
ftest.$objext 2>&1 | grep fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R
$wl$libdir' case $host_os in solaris2.[[0-5]]
| solaris2.[[0-5]].*) ;; *) _LT_AC_TAG-
VAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$conve-
nience ${wl}-z ${wl}defaultextract' ;; esac
fi ;;
esac
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* |
unixware7* | sco3.2v5.0.[[024]]*)
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
runpath_var='LD_RUN_PATH'
case $cc_basename in
CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G
${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bex-
port:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs
$compiler_flags' ;;
*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared
${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared
${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' ;;
# For security reasons, it is highly recommended that you al-
ways
# use absolute paths for naming shared libraries, and exclude
the
# DT_RUNPATH tag from executables and libraries. But doing
so
# requires that you compile everything twice, which is a
pain.
# So that behaviour is only enabled if SCOABSPATH is set to a
# non-empty value in the environment. Most likely only use-
ful for
# creating official distributions of packages.
# This is a hack until libtool officially supports absolute
path
# names for shared libraries.
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z
"$SCOABSPATH" && echo ${wl}-R,$libdir`'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
runpath_var='LD_RUN_PATH'
case $cc_basename in
CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags' ;;
*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags' ;;
esac
;;
tandem*)
case $cc_basename in
NCC*) # NonStop-UX NCC 3.20 # FIXME: insert
proper C++ library support _LT_AC_TAGVAR(ld_shlibs,
$1)=no ;;
*) # FIXME: insert proper C++ library support
_LT_AC_TAGVAR(ld_shlibs, $1)=no ;;
esac
;;
vxworks*)
# FIXME: insert proper C++ library support
AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
AC_LIBTOOL_CONFIG($1)
AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD
GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld
with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD
lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ld-
cxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])
m4trace:/usr/share/aclocal/libtool.m4:3814: -1- AC_DE-
FUN([AC_LIBTOOL_POSTDEP_PREDEP], [ dnl we can't use the lt_sim-
ple_compile_test_code here, dnl because it contains code intended
for an executable, dnl not a library. It's possible we should
let each dnl tag define a new lt_????_link_test_code variable,
dnl but it's only used here... ifelse([$1],[],[cat > con-
ftest.$ac_ext <<EOF int a; void foo (void) { a = 0; } EOF
],[$1],[CXX],[cat > conftest.$ac_ext <<EOF class Foo { public:
Foo (void) { a = 0; } private:
int a; }; EOF ],[$1],[F77],[cat > conftest.$ac_ext <<EOF
subroutine foo
implicit none
integer*4 a
a=0
return
end EOF ],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF public
class foo {
private int a;
public void bar (void) {
a = 0;
} }; EOF ]) dnl Parse the compiler output and extract the nec-
essary dnl objects, libraries and library flags. if
AC_TRY_EVAL(ac_compile); then
# Parse the compiler output and extract the necessary
# objects, libraries and library flags.
# Sentinel used to keep track of whether or not we are before
# the conftest object file.
pre_test_object_deps_done=no
# The `*' in the case matches for architectures that use `case'
in
# $output_verbose_cmd can trigger glob expansion during the
loop
# eval without this substitution.
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" |
$Xsed -e "$no_glob_subst"`
for p in `eval $output_verbose_link_cmd`; do
case $p in
test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
_LT_AC_TAGVAR(compiler_lib_search_path,
$1)="${prev}${p}" else _LT_AC_TAGVAR(com-
piler_lib_search_path, $1)="${_LT_AC_TAGVAR(compil-
er_lib_search_path, $1)} ${prev}${p}" fi ;;
# The "-l" case would never come before the object being
# linked, so don't bother handling this case.
esac
else if test -z "$_LT_AC_TAGVAR(postdeps, $1)";
then _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
else _LT_AC_TAGVAR(postdeps,
$1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}" fi
fi
;;
*.$objext)
# This assumes that the test object file only shows up
# once in the compiler output.
if test "$p" = "conftest.$objext"; then
pre_test_object_deps_done=yes continue
fi
if test "$pre_test_object_deps_done" = no; then
if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
_LT_AC_TAGVAR(predep_objects, $1)="$p" else
_LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects,
$1) $p" fi
else if test -z "$_LT_AC_TAGVAR(postdep_objects,
$1)"; then _LT_AC_TAGVAR(postdep_objects, $1)="$p"
else _LT_AC_TAGVAR(postdep_objects,
$1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p" fi
fi
;;
*) ;; # Ignore the rest.
esac
done
# Clean up.
rm -f a.out a.exe else
echo "libtool.m4: error: problem compiling $1 test program" fi
$rm -f confest.$objext
# PORTME: override above test on systems where it is broken
ifelse([$1],[CXX], [case $host_os in interix[[3-9]]*)
# Interix 3.5 installs completely hosed .la files for C++, so
rather than
# hack all around it, let's just trust "g++" to DTRT.
_LT_AC_TAGVAR(predep_objects,$1)=
_LT_AC_TAGVAR(postdep_objects,$1)=
solaris_use_stlport4=yes
;;
esac
if test "$solaris_use_stlport4" != yes; then
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
fi
;;
esac
;;
solaris*)
case $cc_basename in
CC*)
# The more standards-conforming stlport4 library is
# incompatible with the Cstd library. Avoid specifying
# it if it's in CXXFLAGS. Ignore libCrun as
# -library=stlport4 depends on it.
case " $CXX $CXXFLAGS " in
*" -library=stlport4 "*)
solaris_use_stlport4=yes
;;
esac
# Adding this requires a known-good setup of shared libraries
for
# Sun compiler versions before 5.6, else PIC objects from an
old
# archive will be linked into the output, leading to subtle
bugs.
if test "$solaris_use_stlport4" != yes; then
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
fi
;;
esac
;; esac ])
case " $_LT_AC_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_AC_TAG-
VAR(archive_cmds_need_lc, $1)=no ;; esac ])
m4trace:/usr/share/aclocal/libtool.m4:4006: -1- AC_DE-
FUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
m4trace:/usr/share/aclocal/libtool.m4:4007: -1- AC_DE-
FUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77])
AC_LANG_PUSH(Fortran 77)
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(al-
low_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols,
$1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(ex-
port_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct,
$1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAG-
VAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hard-
code_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L,
$1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAG-
end "
# Code to be used in simple link tests lt_simple_link_test_code="
program t
end "
# ltmain only uses $CC for tagged configurations so make sure $CC
is set. _LT_AC_SYS_COMPILER
# save warnings/boilerplate of simple test code _LT_COMPIL-
ER_BOILERPLATE _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments. lt_save_CC="$CC"
CC=${F77-"f77"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
AC_MSG_CHECKING([if libtool supports shared libraries])
AC_MSG_RESULT([$can_build_shared])
AC_MSG_CHECKING([whether to build shared libraries]) test
"$can_build_shared" = "no" && enable_shared=no
# On AIX, shared libraries and static libraries use the same
namespace, and # are all built from PIC. case $host_os in aix3*)
test "$enable_shared" = yes && enable_static=no
if test -n "$RANLIB"; then
archive_cmds="$archive_cmds~ANLIB ib"
postinstall_cmds='$RANLIB $lib'
fi
;; aix4* | aix5*)
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" =
no ; then
test "$enable_shared" = yes && enable_static=no
fi
;; esac AC_MSG_RESULT([$enable_shared])
AC_MSG_CHECKING([whether to build static libraries]) # Make sure
either enable_shared or enable_static is yes. test "$en-
able_shared" = yes || enable_static=yes AC_MSG_RESULT([$en-
able_static])
_LT_AC_TAGVAR(GCC, $1)="$G77" _LT_AC_TAGVAR(LD, $1)="$LD"
AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1)
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1)
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARD-
CODE_LIBPATH($1)
AC_LIBTOOL_CONFIG($1)
AC_LANG_POP CC="$lt_save_CC" ]) m4trace:/usr/share/aclo-
cal/libtool.m4:4115: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG],
main(String[[]] argv) {}; }'
# ltmain only uses $CC for tagged configurations so make sure $CC
is set. _LT_AC_SYS_COMPILER
# save warnings/boilerplate of simple test code _LT_COMPIL-
ER_BOILERPLATE _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments. lt_save_CC="$CC"
CC=${GCJ-"gcj"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
# GCJ did not exist at the time GCC didn't implicitly link libc
in. _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
## CAVEAT EMPTOR: ## There is no encapsulation within the follow-
ing macros, do not change ## the running order or otherwise move
them around unless you know exactly ## what you are doing...
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPIL-
ER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1)
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1)
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARD-
CODE_LIBPATH($1)
AC_LIBTOOL_CONFIG($1)
AC_LANG_RESTORE CC="$lt_save_CC" ]) m4trace:/usr/share/aclo-
cal/libtool.m4:4175: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG],
[_LT_AC_LANG_RC_CONFIG(RC)]) m4trace:/usr/share/aclo-
cal/libtool.m4:4176: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
[AC_LANG_SAVE
# Source file extension for RC test sources. ac_ext=rc
# Object file extension for compiled RC test sources. objext=o
_LT_AC_TAGVAR(objext, $1)=$objext
# Code to be used in simple compile tests lt_simple_com-
pile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
# Code to be used in simple link tests lt_sim-
ple_link_test_code="$lt_simple_compile_test_code"
# ltmain only uses $CC for tagged configurations so make sure $CC
is set. _LT_AC_SYS_COMPILER
# save warnings/boilerplate of simple test code _LT_COMPIL-
ER_BOILERPLATE _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments. lt_save_CC="$CC"
# without removal of escapes.
if test -n "${ZSH_VERSION+set}" ; then
setopt NO_GLOB_SUBST
fi
# Now quote all the things that may contain metacharacters
while being
# careful not to overquote the AC_SUBSTed values. We take
copies of the
# variables and quote the copies for generation of the libtool
script.
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S
LTCC LTCFLAGS NM SED SHELL STRIP libname_spec li-
brary_names_spec soname_spec extract_expsyms_cmds
old_striplib striplib file_magic_cmd finish_cmds finish_eval
deplibs_check_method reload_flag reload_cmds need_locks
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl
lt_cv_sys_global_symbol_to_c_name_address
sys_lib_search_path_spec sys_lib_dlsearch_path_spec
old_postinstall_cmds old_postuninstall_cmds _LT_AC_TAG-
VAR(compiler, $1) _LT_AC_TAGVAR(CC, $1) _LT_AC_TAGVAR(LD,
$1) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1) _LT_AC_TAGVAR(lt_prog_compil-
er_static, $1) _LT_AC_TAGVAR(lt_prog_compil-
er_no_builtin_flag, $1) _LT_AC_TAGVAR(export_dynam-
ic_flag_spec, $1) _LT_AC_TAGVAR(thread_safe_flag_spec, $1)
_LT_AC_TAGVAR(whole_archive_flag_spec, $1) _LT_AC_TAGVAR(en-
able_shared_with_static_runtimes, $1) _LT_AC_TAGVAR(old_ar-
chive_cmds, $1) _LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
_LT_AC_TAGVAR(predep_objects, $1) _LT_AC_TAGVAR(postdep_ob-
jects, $1) _LT_AC_TAGVAR(predeps, $1) _LT_AC_TAGVAR(post-
deps, $1) _LT_AC_TAGVAR(compiler_lib_search_path, $1)
_LT_AC_TAGVAR(archive_cmds, $1) _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1) _LT_AC_TAGVAR(postinstall_cmds, $1)
_LT_AC_TAGVAR(postuninstall_cmds, $1) _LT_AC_TAGVAR(old_ar-
chive_from_expsyms_cmds, $1) _LT_AC_TAGVAR(allow_unde-
fined_flag, $1) _LT_AC_TAGVAR(no_undefined_flag, $1)
_LT_AC_TAGVAR(export_symbols_cmds, $1) _LT_AC_TAGVAR(hard-
code_libdir_flag_spec, $1) _LT_AC_TAGVAR(hardcode_lib-
dir_flag_spec_ld, $1) _LT_AC_TAGVAR(hardcode_libdir_separa-
tor, $1) _LT_AC_TAGVAR(hardcode_automatic, $1)
_LT_AC_TAGVAR(module_cmds, $1) _LT_AC_TAGVAR(module_exp-
sym_cmds, $1) _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
_LT_AC_TAGVAR(fix_srcfile_path, $1) _LT_AC_TAGVAR(exclude_ex-
psyms, $1) _LT_AC_TAGVAR(include_expsyms, $1); do
case $var in
_LT_AC_TAGVAR(old_archive_cmds, $1) | _LT_AC_TAG-
VAR(old_archive_from_new_cmds, $1) | _LT_AC_TAGVAR(ar-
chive_cmds, $1) | _LT_AC_TAGVAR(archive_expsym_cmds, $1) |
_LT_AC_TAGVAR(module_cmds, $1) | _LT_AC_TAGVAR(module_exp-
sym_cmds, $1) | _LT_AC_TAGVAR(old_archive_from_expsyms_cmds,
$1) | _LT_AC_TAGVAR(export_symbols_cmds, $1) | ex-
*'0 --fallback-echo"')
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\0 --fallback-
echo"[$]/[$]0 --fallback-echo"/'`
;;
esac
ifelse([$1], [],
[cfgfile="${ofile}T"
trap "$rm
$rm -f "$cfgfile"
AC_MSG_NOTICE([creating $ofile])],
[cfgfile="$ofile"])
cat <<__EOF__ >> "$cfgfile" ifelse([$1], [], [#! $SHELL
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized li-
brary-building support services. # Generated automatically by
$PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made
to this file will be lost: look at ltmain.sh. # # Copyright (C)
1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007 # Free Software Foundation, Inc. # # This file is part of
GNU Libtool: # Originally by Gordon Matzigkeit
echo(1) options
like -n. Xsed="$SED -e 1s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to
stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && un-
set CDPATH
# The names of the tagged configurations supported by this
script. available_tags=
# ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG:
build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
# Whether or not to disallow shared libs when runtime libs are
static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(en-
able_shared_with_static_runtimes, $1)
# Whether or not to optimize for fast installation. fast_in-
stall=$enable_fast_install
# The host system. host_alias=$host_alias host=$host
host_os=$host_os
# The build system. build_alias=$build_alias build=$build
build_os=$build_os
# An echo program that does not interpret backslashes.
echo=$lt_echo
# The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS
# A C compiler. LTCC=$lt_LTCC
# LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS
# A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler,
$1)
# Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAG-
VAR(GCC, $1)
# An ERE matcher. EGREP=$lt_EGREP
# The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD,
$1)
# Whether we need hard or soft links. LN_S=$lt_LN_S
# A BSD-compatible nm program. NM=$lt_NM
# A symbol stripping program STRIP=$lt_STRIP
# Used to examine libraries when file_magic_cmd begins "file"
MAGIC_CMD=$MAGIC_CMD
# Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL"
# Used on cygwin: object dumper. OBJDUMP="$OBJDUMP"
# Used on cygwin: assembler. AS="$AS"
# The name of the directory that contains temporary libtool
files. objdir=$objdir
# Executable file suffix (normally ""). exeext="$exeext"
# Additional compiler flags for building library objects.
pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
pic_mode=$pic_mode
# What is the maximum length of a command?
max_cmd_len=$lt_cv_sys_max_cmd_len
# Does compiler simultaneously support -c and -o options? com-
piler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
# Do we need the lib prefix for modules? need_lib_pre-
fix=$need_lib_prefix
# Do we need a version for libraries? need_version=$need_version
# Whether dlopen is supported. dlopen_support=$enable_dlopen
# Whether dlopen of programs is supported. dlopen_self=$en-
able_dlopen_self
# Whether dlopen of statically linked programs is supported.
dlopen_self_static=$enable_dlopen_self_static
# Compiler flag to prevent dynamic linking. link_stat-
ic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compil-
er_no_builtin_flag, $1)
# Compiler flag to allow reflexive dlopens. export_dynam-
ic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
# Compiler flag to generate shared objects directly from ar-
chives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_ar-
chive_flag_spec, $1)
# Compiler flag to generate thread-safe objects.
thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec,
$1)
# Library versioning type. version_type=$version_type
# Format of library name prefix. libname_spec=$lt_libname_spec
# List of archive names. First name is the real one, the rest
are links. # The last name is the one that the linker finds with
# Create a temporary old-style archive to link instead of a
shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAG-
VAR(old_archive_from_expsyms_cmds, $1)
# Commands used to build and install a shared archive. ar-
chive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_exp-
sym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postin-
stall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postunin-
stall_cmds
# Commands used to build a loadable module (assumed same as above
if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) mod-
ule_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
# Commands to strip libraries. old_striplib=$lt_old_striplib
striplib=$lt_striplib
# Dependencies to place before the objects being linked to create
a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(pre-
dep_objects, $1)
# Dependencies to place after the objects being linked to create
a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(post-
dep_objects, $1)
# Dependencies to place before the objects being linked to create
a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
# Dependencies to place after the objects being linked to create
a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
# The library search path used internally by the compiler when
linking # a shared library. compil-
er_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path,
$1)
# Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method
# Command to use when deplibs_check_method == file_magic.
file_magic_cmd=$lt_file_magic_cmd
# Flag that allows shared libraries with undefined symbols to be
built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_unde-
fined_flag, $1)
# Flag that forces no undefined symbols. no_unde-
fined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
# Commands used to finish a libtool library installation in a di-
rectory. finish_cmds=$lt_finish_cmds
path_var=$runpath_var
# This is the shared library path variable. shlib-
path_var=$shlibpath_var
# Is shlibpath searched before the hard-coded library search
path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath
# How to hardcode a shared library path into an executable.
hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
# Whether we should hardcode library paths into libraries. hard-
code_into_libs=$hardcode_into_libs
# Flag to hardcode ibdir into a binary during linking. # This
must work even if ibdir does not exist. hardcode_lib-
dir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
# If ld is used when linking, flag to hardcode ibdir into # a bi-
nary during linking. This must work even if ibdir does # not ex-
ist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hard-
code_libdir_flag_spec_ld, $1)
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_lib-
dir_separator, $1)
# Set to yes if using DIR/libNAME${shared_ext} during linking
hardcodes DIR into the # resulting binary. hardcode_di-
rect=$_LT_AC_TAGVAR(hardcode_direct, $1)
# Set to yes if using the -LDIR flag during linking hardcodes DIR
into the # resulting binary. hardcode_minus_L=$_LT_AC_TAG-
VAR(hardcode_minus_L, $1)
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes
DIR into # the resulting binary. hardcode_shlib-
path_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
# Set to yes if building a shared library automatically hardcodes
DIR into the library # and all subsequent libraries and executa-
bles linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hard-
code_automatic, $1)
# Variables whose values should be saved in libtool wrapper
scripts and # restored at relink time. variables_saved_for_re-
link="$variables_saved_for_relink"
# Whether libtool must link a program against all its dependency
libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
# Compile-time system search path for libraries
# The commands to extract the exported symbol list from a shared
archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds
# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
# Symbols that must always be exported. include_exp-
syms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL
TAG CONFIG: $tagname])
__EOF__
ifelse([$1],[], [
case $host_os in
aix3*)
cat << >> "$cfgfile"
# AIX sometimes has problems with the GCC collect2 program. For
some # reason, if we set the COLLECT_NAMES environment variable,
the problems # vanish in a puff of smoke. if test "X${COL-
LECT_NAMES+set}" != Xset; then
COLLECT_NAMES=
export COLLECT_NAMES fi EOF
;;
esac
# We use sed instead of cat because bash on DJGPP gets confused
if
# 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
# is reportedly fixed, but why not run on old versions too?
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfg-
file" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile" ]) else
# If there is no Makefile yet, we rely on a make rule to exe-
cute
# `config.status --recheck' to rerun these tests and create the
# libtool script then.
ltmain_in=`echo $ltmain | sed -e 's/.sh$/.in/'`
if test -f "$ltmain_in"; then
test -f Makefile && make "$ltmain"
fi fi ]) m4trace:/usr/share/aclocal/libtool.m4:4711: -1- AC_DE-
FUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_RE-
QUIRE([_LT_AC_SYS_COMPILER])dnl
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
QUIRE([LT_AC_PROG_SED]) AC_REQUIRE([AC_PROG_NM]) AC_RE-
QUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol
name followed by C symbol from nm. AC_MSG_CHECKING([command to
parse $NM output from $compiler object])
AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane
defaults that work on at least a few old systems. # [They come
from Ultrix. What could be older than Ultrix?!! ;)]
# Character class describing NM global symbol codes. sym-
code='[[BCDEGRST]]'
# Regexp to match symbols that can be accessed directly from C.
sympat='_A-Za-z]][[_A-Za-z0-9]]*'
# Transform an extracted symbol line into a proper C declaration
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* $/extern int
1;/p'"
# Transform an extracted symbol line into symbol name and symbol
address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e
's/^: ^ ]]* $/ {\
# Define system-specific variables. case $host_os in aix*)
symcode='[[BCDT]]'
;; cygwin* | mingw* | pw32*)
symcode='[[ABCDGISTW]]'
;; hpux*) # Its linker distinguishes data from code symbols
if test "$host_cpu" = ia64; then
symcode='[[ABCDEGRST]]'
fi
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* $/extern
int 1();/p' -e 's/^$symcode* .* $/extern char 1;/p'"
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: ^
]]* $/ {\
;; linux* | k*bsd*-gnu)
if test "$host_cpu" = ia64; then
symcode='[[ABCDGIRSTW]]'
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* $/extern
int 1();/p' -e 's/^$symcode* .* $/extern char 1;/p'"
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: ^
]]* $/ {\
fi
;; irix* | nonstopux*)
symcode='[[BCDEGRST]]'
;; osf*)
symcode='[[BCDEGQRST]]'
;; solaris*)
symcode='[[BDRT]]'
;; sco3.2v5*)
symcode='[[DT]]'
;; sysv4.2uw2*)
symcode='[[DT]]'
# Try without a prefix undercore, then with it. for ac_symprfx
in "" "_"; do
# Transform symcode, sympat, and symprfx into a raw symbol and
a C symbol.
symxfrm="\1 $ac_symprfx\2 \2"
# Write the raw and C identifiers.
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]ym-
code$symcode*[[ ]][[ ]]*$ac_symprfx$sym-
pat$opt_cr$/$symxfrm/p'"
# Check to see that the pipe works correctly.
pipe_works=no
rm -f conftest*
cat > conftest.$ac_ext <<EOF #ifdef __cplusplus extern "C" {
#endif char nm_test_var; void nm_test_func(){} #ifdef __cplusplus
} #endif int main(){nm_test_var='a';nm_test_func();return(0);}
EOF
if AC_TRY_EVAL(ac_compile); then
# Now try to grab the symbols.
nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext $lt_cv_sys_global_sym-
bol_pipe > $nlist) && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then mv -f
"$nlist"T "$nlist"
else rm -f "$nlist"T
fi
# Make sure that we snagged all the symbols we need.
if grep ' nm_test_var$' "$nlist" >/dev/null; then
if grep ' nm_test_func$' "$nlist" >/dev/null; then
cat <<EOF > conftest.$ac_ext #ifdef __cplusplus extern
"C" { #endif
EOF # Now generate the symbol file. eval
"$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >>
conftest.$ac_ext'
cat <<EOF >> conftest.$ac_ext #if defined (__STDC__) &&
__STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char *
# define const #endif
/* The mapping between symbol names and symbols. */ const struct
{
const char *name;
lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF
$SED "s/^$symcode$symcode* $/ { cat << >> con-
>&AS_MESSAGE_LOG_FD
fi
else
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MES-
SAGE_LOG_FD
fi
else
echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
cat conftest.$ac_ext >&5
fi
rm -f conftest* conftst*
# Do not use the global_symbol_pipe unless it works.
if test "$pipe_works" = yes; then
break
else
lt_cv_sys_global_symbol_pipe=
fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then
lt_cv_sys_global_symbol_to_cdecl= fi if test -z
"$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl";
then
AC_MSG_RESULT(failed) else
AC_MSG_RESULT(ok) fi ]) m4trace:/usr/share/aclo-
cal/libtool.m4:4932: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compil-
er_static, $1)=
AC_MSG_CHECKING([for $compiler option to produce PIC])
ifelse([$1],[CXX],[
# C++ specific cases for pic, static, wl, etc.
if test "$GXX" = yes; then
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
case $host_os in
aix*)
# All AIX code is PIC.
if test "$host_cpu" = ia64; then # AIX 5 now sup-
ports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_stat-
ic, $1)='-Bstatic'
fi
;;
amigaos*)
# FIXME: we need at least 68020 code to build shared li-
braries, but
# adding the `-m68020' flag to GCC prevents building any-
thing better,
# like `-m68040'.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resi-
dent32 -malways-restore-a4'
;;
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
;;
*djgpp*)
# DJGPP does not support shared libraries at all
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
;;
interix[[3-9]]*)
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
# Instead, we relocate shared libraries at runtime.
;;
sysv4*MP*)
if test -d /usr/nec; then _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)=-Kconform_pic
fi
;;
hpux*)
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
# not for PA HP-UX.
case $host_cpu in
hppa*64*|ia64*) ;;
*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
esac
;;
*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
esac
else
case $host_os in
aix4* | aix5*) # All AIX code is PIC. if
test "$host_cpu" = ia64; then # AIX 5 now supports IA64
processor _LT_AC_TAGVAR(lt_prog_compiler_static,
$1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_com-
piler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi
;;
chorus*) case $cc_basename in cxch68*)
# Green Hills C++ Compiler # _LT_AC_TAG-
VAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u
__main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a
$MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
;; esac ;;
darwin*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
case $cc_basename in
xlc*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
;;
ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic,
$1)='+Z' fi ;; aCC*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
case $host_cpu in hppa*64*|ia64*)
# +Z the default ;; *)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
;; esac ;; *)
;; esac ;;
interix*) # This is c89, which is MS Visual C++ (no
shared libs) # Anyone wants to do a port? ;;
irix5* | irix6* | nonstopux*) case $cc_basename in
CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl,
$1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static,
$1)='-non_shared' # CC pic flag -KPIC is the default.
;; *) ;; esac
;;
linux* | k*bsd*-gnu) case $cc_basename in
KCC*) # KAI C++ Compiler _LT_AC_TAG-
VAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;;
icpc* | ecpc*) # Intel C++
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
;; pgCC*) # Portland Group C++ compiler.
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;; cxx*) # Compaq C++
# Make sure the PIC flag is empty. It appears that all Alpha
# Linux and Compaq Tru64 Unix objects are PIC.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;; *) case `$CC -V 2>&1 | sed 5q` in
*Sun C*) # Sun C++ 5.9
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
;; esac ;; esac ;;
lynxos*) ;;
m88k*) ;;
mvs*) case $cc_basename in cxx*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
;; *) ;; esac ;;
netbsd*) ;;
osf3* | osf4* | osf5*) case $cc_basename in
KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl,
$1)='--backend -Wl,' ;; RCC*) #
Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compil-
er_pic, $1)='-pic' ;; cxx*) #
Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl,
;; *) ;; esac
;;
sunos4*) case $cc_basename in CC*)
# Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_com-
piler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compil-
er_static, $1)='-Bstatic' ;; lcc*)
# Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic,
$1)='-pic' ;; *) ;;
esac ;;
tandem*) case $cc_basename in NCC*)
# NonStop-UX NCC 3.20 _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *)
;; esac ;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
case $cc_basename in CC*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;; esac ;;
vxworks*) ;;
*) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared,
$1)=no ;;
esac
fi ], [
if test "$GCC" = yes; then
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
case $host_os in
aix*)
# All AIX code is PIC.
if test "$host_cpu" = ia64; then # AIX 5 now sup-
ports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_stat-
ic, $1)='-Bstatic'
fi
;;
amigaos*)
# FIXME: we need at least 68020 code to build shared li-
braries, but
# adding the `-m68020' flag to GCC prevents building any-
thing better,
# like `-m68040'.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resi-
dent32 -malways-restore-a4'
;;
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
# PIC is the default for these OSes.
;;
mingw* | cygwin* | pw32* | os2*)
;;
interix[[3-9]]*)
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
# Instead, we relocate shared libraries at runtime.
;;
msdosdjgpp*)
# Just because we use GCC doesn't mean we suddenly get
shared libraries
# on systems that don't support them.
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
enable_shared=no
;;
sysv4*MP*)
if test -d /usr/nec; then _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)=-Kconform_pic
fi
;;
hpux*)
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
# not for PA HP-UX.
case $host_cpu in
hppa*64*|ia64*) # +Z the default ;;
*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
esac
;;
*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
esac
else
# PORTME Check for flag to pass linker flags through the sys-
tem compiler.
case $host_os in
aix*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
if test "$host_cpu" = ia64; then # AIX 5 now sup-
ports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_stat-
ic, $1)='-Bstatic'
else _LT_AC_TAGVAR(lt_prog_compiler_static,
$1)='-bnso -bI:/lib/syscalls.exp'
fi
;;
darwin*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
case $cc_basename in
hpux9* | hpux10* | hpux11*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
# not for PA HP-UX.
case $host_cpu in
hppa*64*|ia64*) # +Z the default ;;
*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
;;
esac
# Is there a better lt_prog_compiler_static that works with
the bundled CC?
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a
${wl}archive'
;;
irix5* | irix6* | nonstopux*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# PIC (with -KPIC) is the default.
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
newsos6)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
linux* | k*bsd*-gnu)
case $cc_basename in
icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl,
$1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic,
$1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static,
$1)='-static'
;;
pgcc* | pgf77* | pgf90* | pgf95*)
# Portland Group compilers (*not* the Pentium gcc compil-
er, # which looks to be a dead project)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
ccc*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# All Alpha code is PIC.
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
*)
case `$CC -V 2>&1 | sed 5q` in *Sun C*)
# Sun C 5.9 _LT_AC_TAGVAR(lt_prog_compiler_pic,
$1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static,
$1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl,
$1)='-Wl,' ;; *Sun F*) # Sun Fortran
rdos*)
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
solaris*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
case $cc_basename in
f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compil-
er_wl, $1)='-Qoption ld ';;
*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
esac
;;
sunos4*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
sysv4 | sysv4.2uw2* | sysv4.3*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
sysv4*MP*)
if test -d /usr/nec ;then _LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAG-
VAR(lt_prog_compiler_static, $1)='-Bstatic'
fi
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
unicos*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
;;
uts4*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
*)
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
;;
esac],
[_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi
case $host_os in
# For platforms which do not support PIC, -DPIC is meaningless:
*djgpp*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
;;
*)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAG-
VAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[
-DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
;; esac
# # Check to make sure the static flag actually works. #
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_stat-
ic_flag= AC_LIBTOOL_LINKER_OPTION([if $compiler static flag
$lt_tmp_static_flag works],
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
$lt_tmp_static_flag,
[],
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) ])
m4trace:/usr/share/aclocal/libtool.m4:5491: -1- AC_DE-
FUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_REQUIRE([LT_AC_PROG_SED])dnl
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports
shared libraries]) ifelse([$1],[CXX],[
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $conve-
nience | $global_symbol_pipe | $SED '''s/.* //''' | sort | uniq >
$export_symbols'
case $host_os in
aix4* | aix5*)
# If we're using GNU nm, then we don't want the "-C" option.
# -C means demangle to AIX nm, but means don't demangle with
GNU nm
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs
$convenience | awk '''{ if (((2 == "T") || (2 == "D") || (2 ==
"B")) && ([substr](3,1,1) != ".")) { print 3 } }''' | sort -u >
$export_symbols'
else
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs
$convenience | awk '''{ if (((2 == "T") || (2 == "D") || (2 ==
"B")) && ([substr](3,1,1) != ".")) { print 3 } }''' | sort -u >
$export_symbols'
fi
;;
pw32*)
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
;;
cygwin* | mingw*)
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $conve-
nience | $global_symbol_pipe | $SED -e '''/^[[BCDGRS]][[
_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
_LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
_LT_AC_TAGVAR(hardcode_automatic, $1)=no
_LT_AC_TAGVAR(module_cmds, $1)=
_LT_AC_TAGVAR(module_expsym_cmds, $1)=
_LT_AC_TAGVAR(always_export_symbols, $1)=no
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $conve-
nience | $global_symbol_pipe | $SED '''s/.* //''' | sort | uniq >
$export_symbols'
# include_expsyms should be a list of space-separated symbols
to be *always*
# included in the symbol list
_LT_AC_TAGVAR(include_expsyms, $1)=
# exclude_expsyms can be an extended regexp of symbols to ex-
clude
# it will be wrapped by ` (' and `)$', so one must not match
beginning or
# end of line. Example: `a|bc|.*d.*' will exclude the symbols
`a' and `bc',
# as well as any symbol that contains `d'.
_LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most
a.out
# platforms (ab)use it in PIC code, but their linkers get con-
fused if
# the symbol is explicitly referenced. Since portable code
cannot
# rely on this symbol name, it's probably fine to never include
it in
# preloaded symbol tables.
extract_expsyms_cmds=
# Just being paranoid about ensuring that cc_basename is set.
_LT_CC_BASENAME([$compiler])
case $host_os in
cygwin* | mingw* | pw32*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
if test "$GCC" != yes; then
with_gnu_ld=no
fi
# Set some defaults for GNU ld with shared library support.
These
# are reset later if shared libraries are not supported.
Putting them
# here allows them to be overridden if necessary.
runpath_var=LD_RUN_PATH
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath
${wl}$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-
dynamic'
# ancient GNU ld didn't support --whole-archive et. al.
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null;
then _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-ar-
chive'
else
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
fi
supports_anon_versioning=no
case `$LD -v 2>/dev/null` in
* [[01]].* | * 2.[[0-9]].* | * 2.10.*) ;; # catch versions
< 2.11
* 2.11.93.0.2 *) supports_anon_versioning=yes ;; # RH7.3
...
* 2.11.92.0.12 *) supports_anon_versioning=yes ;; # Man-
drake 8.2 ...
* 2.11.*) ;; # other 2.11 versions
*) supports_anon_versioning=yes ;;
esac
# See if GNU ld supports shared libraries.
case $host_os in
aix3* | aix4* | aix5*)
# On AIX/PPC, the GNU linker is very broken
if test "$host_cpu" != ia64; then _LT_AC_TAG-
VAR(ld_shlibs, $1)=no cat <<EOF 1>&2
*** Warning: the GNU linker, at least up to release 2.9.1, is re-
ported *** to be unable to reliably create shared libraries on
AIX. *** Therefore, libtool is disabling shared libraries sup-
port. If you *** really care for shared libraries, you may want
to modify your PATH *** so that a non-GNU linker is found, and
then restart.
EOF
fi
;;
amigaos*)
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixli-
brary.data~$echo "#define NAME $libname" > $output_objdir/a2ixli-
# with the same dynamic library. Since this doesn't match
the
# behavior of shared libraries on other platforms, we can't
use
# them.
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then _LT_AC_TAGVAR(allow_undefined_flag,
$1)=unsupported # Joseph Beckenbach <jrb3@best.com> says
some releases of gcc # support --undefined. This de-
serves some investigation. FIXME _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
else _LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
cygwin* | mingw* | pw32*)
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually
meaningless,
# as there is no search path for DLLs.
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
_LT_AC_TAGVAR(always_export_symbols, $1)=no
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $con-
venience | $global_symbol_pipe | $SED -e '''/^[[BCDGRS]][[
]]/s/.*[[ ]]^ ]]*/1 DATA/''' -e '''/^[[AITW]][[ ]]/s/.*[[ ]]//'''
| sort | uniq > $export_symbols'
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs
$deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-
auto-image-base -Xlinker --out-implib -Xlinker $lib' # If
the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is; otherwise, prepend...
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED
1q $export_symbols`" = xEXPORTS; then cp $export_sym-
bols $output_objdir/$soname.def; else echo EX-
PORTS > $output_objdir/$soname.def; cat $export_symbols
>> $output_objdir/$soname.def; fi~ $CC -shared
$output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o
$output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker
--out-implib -Xlinker $lib'
else _LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
interix[[3-9]]*)
0x6FFC0000 at link
# time. Moving up from 0x10000000 also allows more sbrk(2)
space.
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $li-
bobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-
base,`expr ${RANDOM-$$} % 4096 / 2 262144 + 1342177280` -o $lib'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $ex-
port_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,`ex-
pr ${RANDOM-$$} % 4096 / 2 262144 + 1342177280` -o $lib'
;;
gnu* | linux* | k*bsd*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then tmp_addflag= case $cc_base-
name,$host_cpu in pgcc*) # Port-
land Group C compiler _LT_AC_TAGVAR(whole_ar-
chive_flag_spec, $1)='${wl}--whole-archive`for conv in $conve-
nience tmp_addflag=' $pic_flag' ;;
pgf77* | pgf90* | pgf95*) # Portland Group f77 and
f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)='${wl}--whole-archive`for conv in $convenience
tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* |
icc*,ia64*) # Intel C compiler on ia64
tmp_addflag=' -i_dynamic' ;; efc*,ia64* |
ifort*,ia64*) # Intel Fortran compiler on ia64
tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* |
ifort*) # Intel Fortran compiler
tmp_addflag=' -nofor_main' ;; esac case `$CC -V
2>&1 | sed 5q` in *Sun C*) # Sun C
5.9 _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)='${wl}--whole-archive`new_convenience=; for conv in $conve-
nience tmp_sharedflag='-G' ;;
*Sun F*) # Sun Fortran 8.3
tmp_sharedflag='-G' ;; *) tmp_shared-
flag='-shared' ;; esac _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs
$deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
if test $supports_anon_versioning = yes; then
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $out-
put_objdir/$libname.ver~
cat $export_symbols | sed -e "s//1;/" >> $output_objdir/$lib-
name.ver~
$echo "local: *; };" >> $output_objdir/$libname.ver~
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compil-
er_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$out-
put_objdir/$libname.ver -o $lib' fi
else _LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
if $LD -v 2>&1 | grep 'BFD 2.8' > /dev/null; then
_LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<EOF 1>&2
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
*** create shared libraries on Solaris systems. Therefore,
libtool *** is disabling shared libraries support. We urge you
to upgrade GNU *** binutils to release 2.9.1 or newer. Another
option is to modify *** your PATH or compiler configuration so
that the native linker is *** used, and then restart.
EOF
elif $LD --help 2>&1 | grep ': supported targets:.* elf' >
/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC
-shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname
-o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC
-shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname
${wl}-retain-symbols-file $wl$export_symbols -o $lib'
else _LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in
* [[01]].* | * 2.[[0-9]].* | * 2.1[[0-5]].*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF
1>&2
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can
not *** reliably create shared libraries on SCO systems. There-
fore, libtool *** is disabling shared libraries support. We urge
you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer.
Another option is to modify *** your PATH or compiler configura-
tion so that the native linker is *** used, and then restart.
_LT_EOF ;; *) if $LD --help 2>&1 | grep
': supported targets:.* elf' > /dev/null; then
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOAB-
SPATH" && echo ${wl}-rpath,$libdir`' _LT_AC_TAG-
VAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compil-
er_flags ${wl}-soname,SCOABSPATH:+${install_libdir}/}$soname -o
$lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC
-shared $libobjs $deplibs $compiler_flags ${wl}-soname,SCOAB-
SPATH:+${install_libdir}/}$soname,-retain-symbols-file,$ex-
port_symbols -o $lib' else _LT_AC_TAG-
VAR(ld_shlibs, $1)=no fi ;;
esac
;;
sunos4*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text
-Bshareable -o $lib $libobjs $deplibs $linker_flags'
wlarc=
esac
if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
runpath_var=
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
fi
else
# PORTME fill in a description of your system's linker (not
GNU ld)
case $host_os in
aix3*)
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_ob-
jdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols
-T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
# Note: this linker hardcodes the directories in LIBPATH if
there
# are no directories specified by -L.
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
if test "$GCC" = yes && test -z "$lt_prog_compiler_static";
then # Neither direct hardcoding nor static linking is
supported with a # broken collect2. _LT_AC_TAG-
VAR(hardcode_direct, $1)=unsupported
fi
;;
aix4* | aix5*)
if test "$host_cpu" = ia64; then # On IA64, the
linker does run time linking by default, so we don't #
have to do anything special. aix_use_runtimelinking=no
exp_sym_flag='-Bexport' no_entry_flag=""
else # If we're using GNU nm, then we don't want
the "-C" option. # -C means demangle to AIX nm, but
means don't demangle with GNU nm if $NM -V 2>&1 | grep
'GNU' > /dev/null; then _LT_AC_TAGVAR(export_sym-
bols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '''{ if (((2
== "T") || (2 == "D") || (2 == "B")) && ([substr](3,1,1) != "."))
{ print 3 } }''' | sort -u > $export_symbols' else
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $li-
bobjs $convenience | awk '''{ if (((2 == "T") || (2 == "D") || (2
== "B")) && ([substr](3,1,1) != ".")) { print 3 } }''' | sort -u
> $export_symbols' fi aix_use_runtimelinking=no
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking. case $host_os in
aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LD-
FLAGS; do
if (test $ld_flag = "-brtl" || test $ld_flag =
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is
not
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
_LT_AC_TAGVAR(archive_cmds, $1)=''
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
if test "$GCC" = yes; then case $host_os in
aix4.[[012]]|aix4.[[012]].*) # We only want to do this
on AIX 4.2 and lower, the check # below for broken col-
lect2 doesn't work under 4.3+ collect2name=`${CC}
-print-prog-name=collect2` if test -f "$collect2name"
&& strings "$collect2name" | grep resolve_lib_name
>/dev/null then
# We have reworked collect2
: else
# We have old collect2
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
# It fails to find uninstalled libraries when the unin-
stalled
# path is not listed in the libpath. Setting hard-
code_minus_L
# to unsupported forces relinking
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$lib-
dir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
fi ;; esac shared_flag='-shared'
if test "$aix_use_runtimelinking" = yes; then
shared_flag="$shared_flag "'${wl}-G' fi
else # not using gcc if test "$host_cpu" =
ia64; then
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3
Release
# chokes on -Wl,-G. The following line is correct:
shared_flag='-G' else if test
"$aix_use_runtimelinking" = yes; then
shared_flag='${wl}-G' else
shared_flag='${wl}-bM:SRE' fi fi
fi
# It seems that -bexpall does not export symbols beginning
with
# underscore (_), so it is better to generate a list of
symbols to export.
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
if test "$aix_use_runtimelinking" = yes; then #
Warning - without using the other runtime loading flags (-brtl),
# -berok will link without error, but may produce a bro-
ken library. _LT_AC_TAGVAR(allow_undefined_flag,
$1)="C $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs
'"wl}$no_entry_flag"' $compiler_flags ${wl}${allow_unde-
fined_flag} '"wl}$exp_sym_flag:xport_symbols" else
# Determine the default libpath from the value encoded
in an empty executable. _LT_AC_SYS_LIBPATH_AIX
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blib-
path:$libdir:'"$aix_libpath" # Warning - without using
the other run time loading flags, # -berok will link
without error, but may produce a broken library.
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
# Exported symbols can be pulled into shared objects from ar-
chives _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc,
$1)=yes # This is similar to how AIX traditionally
builds its shared libraries. _LT_AC_TAGVAR(archive_ex-
psym_cmds, $1)="C $shared_flag"' -o $output_objdir/$soname $li-
bobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$ex-
port_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_ob-
jdir/$libname$release.a $output_objdir/$soname' fi
fi
;;
amigaos*)
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixli-
brary.data~$echo "#define NAME $libname" > $output_objdir/a2ixli-
brary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixli-
brary.data~$echo "#define VERSION $major" >> $output_ob-
jdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $out-
put_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB
$lib~(cd $output_objdir && a2ixlibrary -32)'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
# see comment about different semantics on the GNU ld sec-
tion
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
bsdi[[45]]*)
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
;;
cygwin* | mingw* | pw32*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as
there is
# no search path for DLLs.
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
# Tell ltmain to make .lib files, not .a files.
libext=lib
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
;;
darwin* | rhapsody*)
case $host_os in
rhapsody* | darwin1.[[012]])
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined
${wl}suppress'
;;
*) # Darwin 1.3 on
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
_LT_AC_TAGVAR(allow_undefined_flag,
$1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
else
case ${MACOSX_DEPLOYMENT_TARGET} in
10.[[012]])
_LT_AC_TAGVAR(allow_undefined_flag,
$1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
;;
10.*)
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-un-
defined ${wl}dynamic_lookup'
;;
esac
fi
;;
esac
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
if test "$GCC" = yes ; then
output_verbose_link_cmd='echo'
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $al-
low_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -in-
stall_name $rpath/$soname $verstring'
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag
-o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list
flag, it doesn't exist in older darwin lds
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e
"s,^[ ]*,," -e "s,^*,_&," < $export_symbols > $output_ob-
jdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_unde-
fined_flag -o $lib $libobjs $deplibs $compiler_flags -in-
stall_name $rpath/$soname $verstring~nmedit -s $output_ob-
jdir/${libname}-symbols.expsym ${lib}'
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e
"s,^[ ]*,," -e "s,^*,_&," < $export_symbols > $output_ob-
jdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib
-bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_ob-
jdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_unde-
fined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-in-
stall_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $out-
put_objdir/${libname}-symbols.expsym ${lib}'
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,,"
-e "s,^[ ]*,," -e "s,^*,_&," < $export_symbols > $output_ob-
jdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib
-bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_ob-
jdir/${libname}-symbols.expsym ${lib}'
;;
*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
esac
fi
;;
dgux*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib
$libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
freebsd1*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++
constructor
# support. Future versions do this automatically, but an ex-
plicit c++rt0.o
# does not break anything, and helps significantly (at the
cost of a little
# extra space).
freebsd2.2*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib
$libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
# Unfortunately, older versions of FreeBSD 2 do not have this
feature.
freebsd2*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib
$libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs
$deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv
$output_objdir/$soname $lib'
else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $out-
put_objdir/$soname~$LD -b +b $install_libdir -o $output_ob-
jdir/$soname $libobjs $deplibs $linker_flags~test $output_ob-
jdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
;;
hpux10*)
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC
${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libob-
js $deplibs $compiler_flags'
else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h
$soname +b $install_libdir -o $lib $libobjs $deplibs $link-
er_flags'
fi
if test "$with_gnu_ld" = no; then _LT_AC_TAG-
VAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
fi
;;
hpux11*)
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
case $host_cpu in hppa*64*) _LT_AC_TAG-
VAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib
$libobjs $deplibs $compiler_flags' ;; ia64*)
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h
${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $com-
piler_flags' ;; *) _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b
${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
;; esac
case $host_cpu in hppa*64*|ia64*)
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
_LT_AC_TAGVAR(hardcode_direct, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;;
*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac
fi
;;
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && echo
${wl}-set_version ${wl}$verstring` ${wl}-update_registry
${wl}${output_objdir}/so_locations -o $lib'
else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared
$libobjs $deplibs $linker_flags -soname $soname `test -n "$ver-
string" && echo -set_version $verstring` -update_registry ${out-
put_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hard-
code_libdir_flag_spec_ld, $1)='-rpath $libdir'
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
;;
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib
$libobjs $deplibs $linker_flags' # a.out
else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared
-o $lib $libobjs $deplibs $linker_flags' # ELF
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
newsos6)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib
$libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
sd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs
$deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_lib-
dir_flag_spec, $1)='-R$libdir' ;; *)
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared
$pic_flag -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$lib-
dir' ;; esac
fi
else _LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
os2*)
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
_LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname
INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o
$output_objdir/$libname.a $output_objdir/$libname.def'
;;
osf3*)
if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_un-
defined_flag, $1)=' ${wl}-expect_unresolved ${wl}
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_unde-
fined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname
${wl}$soname `test -n "$verstring" && echo ${wl}-set_version
${wl}$verstring` ${wl}-update_registry ${wl}${output_ob-
jdir}/so_locations -o $lib'
else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -ex-
pect_unresolved _LT_AC_TAGVAR(archive_cmds, $1)='$LD
-shared${allow_undefined_flag} $libobjs $deplibs $linker_flags
-soname $soname `test -n "$verstring" && echo -set_version $ver-
string` -update_registry ${output_objdir}/so_locations -o $lib'
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath
${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
;;
osf4* | osf5*) # as osf3* with the addition of -msym
flag
if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_un-
defined_flag, $1)=' ${wl}-expect_unresolved ${wl}
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_unde-
fined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym
${wl}-soname ${wl}$soname `test -n "$verstring" && echo
${wl}-set_version ${wl}$verstring` ${wl}-update_registry
${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAG-
VAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath
$libdir'
fi
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
;;
solaris*)
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
if test "$GCC" = yes; then wlarc='${wl}'
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h
${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:"
> $lib.exp~cat $export_symbols | $SED -e "s//1;/" >>
$lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared
${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs
$deplibs $compiler_flags~$rm $lib.exp'
else wlarc='' _LT_AC_TAGVAR(archive_cmds,
$1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs
$deplibs $linker_flags' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s//1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o
$lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
case $host_os in
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
*) # The compiler driver will combine and reorder
linker options, # but understands `-z linker_flag'. GCC
discards it without `$wl', # but is careful enough not to
reorder.
# Supported since Solaris 2.6 (maybe 2.5.1?) if
test "$GCC" = yes; then _LT_AC_TAGVAR(whole_ar-
chive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z
${wl}defaultextract' else _LT_AC_TAG-
VAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z
defaultextract' fi ;;
esac
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
;;
sunos4*)
if test "x$host_vendor" = xsequent; then # Use $CC
to link under sequent, because it throws in some extra .o
# files that make .init and .fini sections work.
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname
-o $lib $libobjs $deplibs $compiler_flags'
else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert
pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
fi
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_direct, $1)=no
;; motorola) _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no
#Motorola manual says yes, but my tests say they lie ;;
esac
runpath_var='LD_RUN_PATH'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
sysv4.3*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib
$libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
;;
sysv4*MP*)
if test -d /usr/nec; then _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var,
$1)=no runpath_var=LD_RUN_PATH hardcode_run-
path_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes
fi
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* |
unixware7* | sco3.2v5.0.[[024]]*)
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
runpath_var='LD_RUN_PATH'
if test "$GCC" = yes; then _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols
${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G
${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bex-
port:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs
$compiler_flags'
fi
;;
sysv5* | sco3.2v5* | sco5v6*)
# Note: We can NOT use -z defs as we might desire, because
we do not
# link with -lc, and that would cause any symbols used from
libc to
# always be unresolved, which means just about no library
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
runpath_var='LD_RUN_PATH'
if test "$GCC" = yes; then _LT_AC_TAGVAR(ar-
chive_cmds, $1)='$CC -shared ${wl}-h,SCOABSPATH:+${install_lib-
dir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared
${wl}-Bexport:$export_symbols ${wl}-h,SCOABSPATH:+${install_lib-
dir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags' _LT_AC_TAGVAR(archive_exp-
sym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols
${wl}-h,SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs
$deplibs $compiler_flags'
fi
;;
uts4*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib
$libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
esac
fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test
"$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
# # Do we need to explicitly link libc? # case "x$_LT_AC_TAG-
VAR(archive_cmds_need_lc, $1)" in x|xyes)
# Assume -lc should be added
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
if test "$enable_shared" = yes && test "$GCC" = yes; then
case $_LT_AC_TAGVAR(archive_cmds, $1) in
*'~'*)
# FIXME: we may have to deal with multi-command sequences.
;;
'$CC '*)
# Test whether the compiler implicitly links with -lc since
on some
# systems, -lgcc has to come before -lc. If gcc already
passes -lc
# to ld, don't add -lc before -lgcc.
AC_MSG_CHECKING([whether -lc should be explicitly linked
in])
$rm conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
fined_flag, $1)
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2>1 grep
then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
else _LT_AC_TAGVAR(archive_cmds_need_lc,
$1)=yes
fi
_LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_al-
low_undefined_flag
else
cat conftest.err 1>&5
fi
$rm conftest*
AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
;;
esac
fi
;; esac ]) m4trace:/usr/share/aclocal/libtool.m4:6434: -1-
AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ #
#define WIN32_LEAN_AND_MEAN # #include <windows.h> # #undef
WIN32_LEAN_AND_MEAN # #include <stdio.h> # # #ifndef __CYGWIN__ #
# ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # #
endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif #
BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID re-
served); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__
# #include <cygwin/cygwin_dll.h> # DECLARE_CYGWIN_DLL( DllMain );
# #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY #
DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { #
__hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c
ends here */ ]) m4trace:/usr/share/aclocal/libtool.m4:6473: -1-
AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
m4trace:/usr/share/aclocal/libtool.m4:6477: -1- AC_DE-
FUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
m4trace:/usr/share/aclocal/libtool.m4:6478: -1- AC_DEFUN([AM_EN-
ABLE_SHARED], [AC_ENABLE_SHARED($@)]) m4trace:/usr/share/aclo-
cal/libtool.m4:6479: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_EN-
ABLE_STATIC($@)]) m4trace:/usr/share/aclocal/libtool.m4:6480: -1-
AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
m4trace:/usr/share/aclocal/libtool.m4:6481: -1- AC_DEFUN([AM_DIS-
ABLE_STATIC], [AC_DISABLE_STATIC($@)]) m4trace:/usr/share/aclo-
cal/libtool.m4:6482: -1- AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
m4trace:/usr/share/aclocal/libtool.m4:6483: -1- AC_DE-
FUN([AM_PROG_NM], [AC_PROG_NM]) m4trace:/usr/share/aclo-
cal/libtool.m4:6488: -1- AC_DEFUN([LT_AC_PROG_GCJ],
[AC_CHECK_TOOL(GCJ, gcj, no)
test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
AC_SUBST(GCJFLAGS) ]) m4trace:/usr/share/aclo-
cal/libtool.m4:6494: -1- AC_DEFUN([LT_AC_PROG_RC],
[AC_CHECK_TOOL(RC, windres, no) ]) m4trace:/usr/share/aclo-
cal/libtool.m4:6532: -1- AC_DEFUN([LT_AC_PROG_SED],
[AC_MSG_CHECKING([for a sed that does not truncate output])
AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and
/usr/xpg4/bin/sed as it is typically found on Solaris # along
with /bin/sed that truncates output. for lt_ac_sed in
$lt_ac_sed_list /usr/xpg4/bin/sed; do
test ! -f $lt_ac_sed && continue
cat /dev/null > conftest.in
lt_ac_count=0
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
# Check for GNU sed and select it if it is found.
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' >
/dev/null; then
lt_cv_path_SED=$lt_ac_sed
break
fi
while true; do
cat conftest.in conftest.in >conftest.tmp
mv conftest.tmp conftest.in
cp conftest.in conftest.nl
echo >>conftest.nl
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
cmp -s conftest.out conftest.nl || break
# 10000 chars as input seems more than enough
test $lt_ac_count -gt 10 && break
lt_ac_count=`expr $lt_ac_count + 1`
if test $lt_ac_count -gt $lt_ac_max; then
lt_ac_max=$lt_ac_count
lt_cv_path_SED=$lt_ac_sed
fi
done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RE-
SULT([$SED]) ]) m4trace:configure.in:8: -1- m4_pattern_for-
bid([^_?A[CHUM]_]) m4trace:configure.in:8: -1- m4_pattern_for-
bid([_AC_]) m4trace:configure.in:8: -1- m4_pattern_forbid([^LI-
BOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section
`AC_LIBOBJ vs LIBOBJS']) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^AS_FLAGS$]) m4trace:configure.in:8: -1- m4_pat-
tern_forbid([^_?m4_]) m4trace:configure.in:8: -1- m4_pattern_for-
bid([^dnl$]) m4trace:configure.in:8: -1- m4_pattern_for-
bid([^_?AS_]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^SHELL$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^PATH_SEPARATOR$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^PACKAGE_NAME$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^PACKAGE_TARNAME$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.in:8:
-1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^prefix$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^program_transform_name$]) m4trace:configure.in:8:
-1- m4_pattern_allow([^bindir$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^sbindir$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^libexecdir$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^datarootdir$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^datadir$]) m4trace:configure.in:8: -1- m4_pat-
low([^PACKAGE_NAME$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^PACKAGE_TARNAME$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^PACKAGE_VERSION$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.in:8:
-1- m4_pattern_allow([^DEFS$]) m4trace:configure.in:8: -1-
m4_pattern_allow([^ECHO_C$]) m4trace:configure.in:8: -1- m4_pat-
tern_allow([^ECHO_N$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^ECHO_T$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^LIBS$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^build_alias$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^host_alias$]) m4trace:configure.in:8: -1- m4_pattern_al-
low([^target_alias$]) m4trace:configure.in:19: -2- _m4_warn([ob-
solete], [The macro `AC_HELP_STRING' is obsolete. You should run
autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING
is expanded from... configure.in:19: the top level])
m4trace:configure.in:21: -1- m4_pattern_allow([^USE_ASSERT$])
m4trace:configure.in:23: -1- m4_pattern_allow([^USE_ASSERT$])
m4trace:configure.in:26: -2- _m4_warn([obsolete], [The macro
`AC_HELP_STRING' is obsolete. You should run autoupdate.],
[../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded
from... configure.in:26: the top level]) m4trace:config-
ure.in:28: -1- m4_pattern_allow([^ARES$]) m4trace:config-
ure.in:30: -1- m4_pattern_allow([^ARES$]) m4trace:config-
ure.in:33: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING'
is obsolete. You should run autoupdate.], [../../lib/auto-
conf/general.m4:209: AC_HELP_STRING is expanded from... config-
ure.in:33: the top level]) m4trace:configure.in:35: -1- m4_pat-
tern_allow([^IPV6_SUPPORT$]) m4trace:configure.in:37: -1- m4_pat-
tern_allow([^IPV6_SUPPORT$]) m4trace:configure.in:40: -2-
_m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:209:
AC_HELP_STRING is expanded from... configure.in:40: the top lev-
el]) m4trace:configure.in:42: -1- m4_pattern_allow([^SSL_SUP-
PORT$]) m4trace:configure.in:44: -1- m4_pattern_allow([^SSL_SUP-
PORT$]) m4trace:configure.in:47: -2- _m4_warn([obsolete], [The
macro `AC_HELP_STRING' is obsolete. You should run autoupdate.],
[../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded
from... configure.in:47: the top level]) m4trace:config-
ure.in:49: -1- m4_pattern_allow([^WIN32$]) m4trace:config-
ure.in:52: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING'
is obsolete. You should run autoupdate.], [../../lib/auto-
conf/general.m4:209: AC_HELP_STRING is expanded from... config-
ure.in:52: the top level]) m4trace:configure.in:54: -1- m4_pat-
tern_allow([^MEMDEBUG$]) m4trace:configure.in:56: -1- m4_pat-
tern_allow([^MEMDEBUG$]) m4trace:configure.in:59: -2-
_m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:209:
AC_HELP_STRING is expanded from... configure.in:59: the top lev-
el]) m4trace:configure.in:61: -1- m4_pattern_allow([^FDDEBUG$])
m4trace:configure.in:63: -1- m4_pattern_allow([^FDDEBUG$])
m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro
low([^LIBS$]) m4trace:configure.in:83: -1- m4_pattern_al-
low([^CPPFLAGS$]) m4trace:configure.in:83: -1- m4_pattern_al-
low([^CC$]) m4trace:configure.in:83: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:83: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:83: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:83: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.in:83: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.in:83: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.in:84: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.in:85: -1- m4_pattern_allow([^INSTALL_PRO-
GRAM$]) m4trace:configure.in:85: -1- m4_pattern_allow([^IN-
STALL_SCRIPT$]) m4trace:configure.in:85: -1- m4_pattern_al-
low([^INSTALL_DATA$]) m4trace:configure.in:86: -1- m4_pattern_al-
low([^LN_S$]) m4trace:configure.in:90: -1- m4_pattern_al-
low([^SH$]) m4trace:configure.in:91: -1- m4_pattern_al-
low([^ECHO$]) m4trace:configure.in:93: -1- m4_pattern_al-
low([^LS$]) m4trace:configure.in:94: -1- m4_pattern_al-
low([^FILE$]) m4trace:configure.in:95: -1- m4_pattern_al-
low([^TOUCH$]) m4trace:configure.in:96: -1- m4_pattern_al-
low([^MKDIR$]) m4trace:configure.in:97: -1- m4_pattern_al-
low([^RMDIR$]) m4trace:configure.in:98: -1- m4_pattern_al-
low([^CP$]) m4trace:configure.in:99: -1- m4_pattern_allow([^RM$])
m4trace:configure.in:100: -1- m4_pattern_allow([^MV$])
m4trace:configure.in:101: -1- m4_pattern_allow([^LN$])
m4trace:configure.in:102: -1- m4_pattern_allow([^CAT$])
m4trace:configure.in:103: -1- m4_pattern_allow([^SED$])
m4trace:configure.in:105: -1- m4_pattern_allow([^UNAME$])
m4trace:configure.in:106: -1- m4_pattern_allow([^WHOAMI$])
m4trace:configure.in:107: -1- m4_pattern_allow([^DATE$])
m4trace:configure.in:108: -1- m4_pattern_allow([^ID$])
m4trace:configure.in:109: -1- m4_pattern_allow([^PS$])
m4trace:configure.in:110: -1- m4_pattern_allow([^MAIL$])
m4trace:configure.in:114: -1- m4_pattern_allow([^AWK$])
m4trace:configure.in:115: -1- m4_pattern_allow([^GAWK$])
m4trace:configure.in:116: -1- m4_pattern_allow([^NAWK$])
m4trace:configure.in:119: -1- m4_pattern_allow([^GREP$])
m4trace:configure.in:120: -1- AC_PROG_EGREP m4trace:config-
ure.in:120: -1- m4_pattern_allow([^GREP$]) m4trace:config-
ure.in:120: -1- m4_pattern_allow([^GREP$]) m4trace:config-
ure.in:120: -1- m4_pattern_allow([^EGREP$]) m4trace:config-
ure.in:120: -1- m4_pattern_allow([^EGREP$]) m4trace:config-
ure.in:121: -1- m4_pattern_allow([^FGREP$]) m4trace:config-
ure.in:121: -1- m4_pattern_allow([^FGREP$]) m4trace:config-
ure.in:124: -1- m4_pattern_allow([^CHMOD$]) m4trace:config-
ure.in:125: -1- m4_pattern_allow([^CHOWN$]) m4trace:config-
ure.in:126: -1- m4_pattern_allow([^CHGRP$]) m4trace:config-
ure.in:127: -1- m4_pattern_allow([^USERADD$]) m4trace:config-
ure.in:128: -1- m4_pattern_allow([^USERDEL$]) m4trace:config-
ure.in:129: -1- m4_pattern_allow([^GROUPADD$]) m4trace:config-
ure.in:130: -1- m4_pattern_allow([^GROUPDEL$]) m4trace:config-
ure.in:131: -1- m4_pattern_allow([^PW$]) m4trace:config-
ure.in:132: -1- m4_pattern_allow([^CRONTAB$]) m4trace:config-
m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) m4trace:config-
ure.in:335: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
m4trace:configure.in:336: -1- m4_pattern_allow([^HAVE_DECL_VS-
NPRINTF$]) m4trace:configure.in:336: -1- m4_pattern_al-
low([^HAVE_DECL_VSNPRINTF$]) m4trace:configure.in:337: -1-
m4_pattern_allow([^HAVE_DECL_CRYPT$]) m4trace:configure.in:337:
-1- m4_pattern_allow([^HAVE_DECL_CRYPT$]) m4trace:config-
ure.in:343: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
m4trace:configure.in:343: -1- m4_pattern_allow([^HAVE_DE-
CL_STRSIGNAL$]) m4trace:configure.in:382: -1- m4_pattern_al-
low([^SOURCES$]) m4trace:configure.in:389: -1- m4_pattern_al-
low([^OS_BSD$]) m4trace:configure.in:393: -1- m4_pattern_al-
low([^OS_LINUX$]) m4trace:configure.in:397: -1- m4_pattern_al-
low([^OS_SOLARIS$]) m4trace:configure.in:401: -1- m4_pattern_al-
low([^OS_SOLARIS$]) m4trace:configure.in:405: -1- m4_pattern_al-
low([^OS_AIX$]) m4trace:configure.in:409: -1- m4_pattern_al-
low([^OS_HPUNIX$]) m4trace:configure.in:413: -1- m4_pattern_al-
low([^OS_OSF1$]) m4trace:configure.in:417: -1- m4_pattern_al-
low([^OS_GENERIC$]) m4trace:configure.in:421: -1- m4_pattern_al-
low([^LIB@&t@OBJS$]) m4trace:configure.in:421: -1- m4_pattern_al-
low([^LTLIBOBJS$]) m4trace:configure.in:424: -1- _m4_warn([obso-
lete], [The macro `AC_TRY_RUN' is obsolete. You should run
autoupdate.], [../../lib/autoconf/general.m4:2478: AC_TRY_RUN is
expanded from... configure.in:424: the top level]) m4trace:con-
figure.in:424: -1- _m4_warn([cross], [AC_RUN_IFELSE called with-
out default to allow cross compiling], [../../lib/autoconf/gener-
al.m4:2462: AC_RUN_IFELSE is expanded from... configure.in:424:
the top level]) m4trace:configure.in:424: -1- m4_pattern_al-
low([^NBLOCK_POSIX$]) m4trace:configure.in:508: -1- _m4_warn([ob-
solete], [The macro `AC_TRY_RUN' is obsolete. You should run
autoupdate.], [../../lib/autoconf/general.m4:2478: AC_TRY_RUN is
expanded from... configure.in:508: the top level]) m4trace:con-
figure.in:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called with-
out default to allow cross compiling], [../../lib/autoconf/gener-
al.m4:2462: AC_RUN_IFELSE is expanded from... configure.in:508:
the top level]) m4trace:configure.in:508: -1- m4_pattern_al-
low([^NBLOCK_BSD$]) m4trace:configure.in:592: -1- _m4_warn([obso-
lete], [The macro `AC_TRY_RUN' is obsolete. You should run
autoupdate.], [../../lib/autoconf/general.m4:2478: AC_TRY_RUN is
expanded from... configure.in:592: the top level]) m4trace:con-
figure.in:592: -1- _m4_warn([cross], [AC_RUN_IFELSE called with-
out default to allow cross compiling], [../../lib/autoconf/gener-
al.m4:2462: AC_RUN_IFELSE is expanded from... configure.in:592:
the top level]) m4trace:configure.in:592: -1- m4_pattern_al-
low([^NBLOCK_SYSV$]) m4trace:configure.in:673: -1- _m4_warn([ob-
solete], [AC_OUTPUT should be used without arguments. You should
run autoupdate.], []) m4trace:configure.in:673: -1- m4_pat-
tern_allow([^LIB@&t@OBJS$]) m4trace:configure.in:673: -1- m4_pat-
tern_allow([^LTLIBOBJS$])
Man(1) output converted with
man2html