1
1
# ltmain.sh - Provide generalized library-building support services.
2
2
# NOTE: Changing this file will not affect anything until you rerun configure.
4
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
5
# 2007 Free Software Foundation, Inc.
4
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
5
# Free Software Foundation, Inc.
6
6
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8
8
# This program is free software; you can redistribute it and/or modify
47
TIMESTAMP=" (1.1220.2.437 2007/02/17 09:08:45)"
47
TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
49
# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
50
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
54
# is contrary to our usage. Disable this feature.
55
alias -g '${1+"$@"}'='"$@"'
49
# See if we are running on zsh, and set the options which allow our
50
# commands through without removal of \ escapes.
51
if test -n "${ZSH_VERSION+set}" ; then
56
52
setopt NO_GLOB_SUBST
58
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
60
BIN_SH=xpg4; export BIN_SH # for Tru64
61
DUALCASE=1; export DUALCASE # for MKS sh
63
55
# Check that we have a working $echo.
64
56
if test "X$1" = X--no-reexec; then
113
105
# These must not be set unconditionally because not all systems understand
114
106
# e.g. LANG=C (notably SCO).
115
107
# We save the old values to restore during execute mode.
116
for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
118
eval "if test \"\${$lt_var+set}\" = set; then
119
save_$lt_var=\$$lt_var
108
if test "${LC_ALL+set}" = set; then
109
save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
111
if test "${LANG+set}" = set; then
112
save_LANG="$LANG"; LANG=C; export LANG
125
115
# Make sure IFS has a sensible default
208
196
if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
209
197
$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
210
198
win32_nmres=`eval $NM -f posix -A $1 | \
199
$SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
218
200
case $win32_nmres in
219
201
import*) win32_libid_type="x86 archive import";;
220
202
*) win32_libid_type="x86 archive static";;
276
258
CC_quoted="$CC_quoted $arg"
278
# user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
279
trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"`
280
# and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
281
extendcc=${host}-${CC}
282
# and sometimes libtool has CC=<OLDHOST>-gcc but user has CC=<NEWHOST>-gcc
283
# (Gentoo-specific hack because we always export $CHOST)
284
mungedcc=${CHOST-${host}}-${trimedcc}
286
"cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\
287
"gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
290
"$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
291
"$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\
292
"$mungedcc "* | " $mungedcc "* | "`$echo $mungedcc` "* | " `$echo $mungedcc` "*|\
293
261
" $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
294
262
# The compiler in the base compile command matches
295
263
# the one in the tagged configuration.
359
327
*) my_xabs=`pwd`"/$my_xlib" ;;
361
329
my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
364
case " $extracted_archives " in
366
extracted_serial=`expr $extracted_serial + 1`
367
my_xlib_u=lt$extracted_serial-$my_xlib ;;
371
extracted_archives="$extracted_archives $my_xlib_u"
372
my_xdir="$my_gentop/$my_xlib_u"
330
my_xdir="$my_gentop/$my_xlib"
374
332
$show "${rm}r $my_xdir"
375
333
$run ${rm}r "$my_xdir"
500
$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
502
Copyright (C) 2007 Free Software Foundation, Inc.
503
This is free software; see the source for copying conditions. There is NO
504
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
457
$echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
459
$echo "Copyright (C) 2005 Free Software Foundation, Inc."
460
$echo "This is free software; see the source for copying conditions. There is NO"
461
$echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
895
851
# Lock this critical section if it is needed
896
852
# We use this script file to make the link, it avoids creating a new file
897
853
if test "$need_locks" = yes; then
898
until $run ln "$srcfile" "$lockfile" 2>/dev/null; do
854
until $run ln "$progpath" "$lockfile" 2>/dev/null; do
899
855
$show "Waiting for $lockfile to be removed"
1185
-all-static | -static | -static-libtool-libs)
1141
-all-static | -static)
1142
if test "X$arg" = "X-all-static"; then
1188
1143
if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
1189
1144
$echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
1192
1147
dlopen_self=$dlopen_self_static
1194
1149
prefer_static_libs=yes
1197
1151
if test -z "$pic_flag" && test -n "$link_static_flag"; then
1198
1152
dlopen_self=$dlopen_self_static
1200
1154
prefer_static_libs=built
1202
-static-libtool-libs)
1203
if test -z "$pic_flag" && test -n "$link_static_flag"; then
1204
dlopen_self=$dlopen_self_static
1206
prefer_static_libs=yes
1209
1156
build_libtool_libs=no
1210
1157
build_old_libs=yes
1656
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
1603
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
1657
1604
compiler_flags="$compiler_flags $arg"
1658
1605
compile_command="$compile_command $arg"
1659
1606
finalize_command="$finalize_command $arg"
1673
1620
# -m* pass through architecture-specific compiler args for GCC
1674
1621
# -m*, -t[45]*, -txscale* pass through architecture-specific
1675
1622
# compiler args for GCC
1676
# -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
1677
# -F/path gives path to uninstalled frameworks, gcc on darwin
1623
# -pg pass through profiling flag for GCC
1678
1624
# @file GCC response files
1679
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
1680
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
1625
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
1626
-t[45]*|-txscale*|@*)
1682
1628
# Unknown arguments in both finalize_command and compile_command need
1683
1629
# to be aesthetically quoted because they are evaled later.
1769
-static | -static-libtool-libs)
1770
1716
# The effects of -static are defined in a previous loop.
1771
1717
# We used to do the same as -all-static on platforms that
1772
1718
# didn't have a PIC flag, but the assumption that the effects
2150
2096
case $deplib in
2151
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
2097
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
2152
2098
if test "$linkmode,$pass" = "prog,link"; then
2153
2099
compile_deplibs="$deplib $compile_deplibs"
2154
2100
finalize_deplibs="$deplib $finalize_deplibs"
2545
2491
if test "$linkmode,$pass" = "prog,link"; then
2546
2492
if test -n "$library_names" &&
2547
{ { test "$prefer_static_libs" = no ||
2548
test "$prefer_static_libs,$installed" = "built,yes"; } ||
2549
test -z "$old_library"; }; then
2493
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
2550
2494
# We need to hardcode the library path
2551
2495
if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
2552
2496
# Make sure the rpath contains only unique directories.
3242
3186
# which has an extra 1 added just for fun
3244
3188
case $version_type in
3245
darwin|linux|osf|windows|none)
3189
darwin|linux|osf|windows)
3246
3190
current=`expr $number_major + $number_minor`
3247
3191
age="$number_minor"
3248
3192
revision="$number_revision"
3468
3412
# Eliminate all temporary directories.
3469
#for path in $notinst_path; do
3470
# lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
3471
# deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
3472
# dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
3413
for path in $notinst_path; do
3414
lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
3415
deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
3416
dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
3475
3419
if test -n "$xrpath"; then
3476
3420
# If the user specified any rpath flags, then add them.
3571
3515
int main() { return 0; }
3574
if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
3518
$LTCC $LTCFLAGS -o conftest conftest.c $deplibs
3519
if test "$?" -eq 0 ; then
3575
3520
ldd_output=`ldd conftest`
3576
3521
for i in $deplibs; do
3577
3522
name=`expr $i : '-l\(.*\)'`
3578
3523
# If $name is empty we are operating on a -L argument.
3579
if test "$name" != "" && test "$name" != "0"; then
3524
if test "$name" != "" && test "$name" -ne "0"; then
3580
3525
if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
3581
3526
case " $predeps $postdeps " in
3615
3560
# If $name is empty we are operating on a -L argument.
3616
3561
if test "$name" != "" && test "$name" != "0"; then
3618
if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
3563
$LTCC $LTCFLAGS -o conftest conftest.c $i
3565
if test "$?" -eq 0 ; then
3619
3566
ldd_output=`ldd conftest`
3620
3567
if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
3621
3568
case " $predeps $postdeps " in
3647
3594
droppeddeps=yes
3649
3596
$echo "*** Warning! Library $i is needed by this library but I was not able to"
3650
$echo "*** make it link in! You will probably need to install it or some"
3597
$echo "*** make it link in! You will probably need to install it or some"
3651
3598
$echo "*** library that it depends on before this library will be fully"
3652
3599
$echo "*** functional. Installing it before continuing would be even better."
3933
3880
test -n "$hardcode_libdirs"; then
3934
3881
libdir="$hardcode_libdirs"
3935
3882
if test -n "$hardcode_libdir_flag_spec_ld"; then
3936
case $archive_cmds in
3937
*\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
3938
*) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
3883
eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
3941
3885
eval dep_rpath=\"$hardcode_libdir_flag_spec\"
4295
4239
reload_conv_objs=
4297
4241
# reload_cmds runs $LD directly, so let us get rid of
4298
# -Wl from whole_archive_flag_spec and hope we can get by with
4299
# turning comma into space..
4242
# -Wl from whole_archive_flag_spec
4302
4245
if test -n "$convenience"; then
4303
4246
if test -n "$whole_archive_flag_spec"; then
4304
eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
4305
reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
4247
eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
4307
4249
gentop="$output_objdir/${obj}x"
4308
4250
generated="$generated $gentop"
4751
4693
*cygwin* | *mingw* )
4752
4694
if test -f "$output_objdir/${outputname}.def" ; then
4753
compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
4754
finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
4695
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4696
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4756
compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
4757
finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
4698
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4699
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4761
compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
4762
finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
4703
compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4704
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4774
4716
# really was required.
4776
4718
# Nullify the symbol file.
4777
compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
4778
finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
4719
compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
4720
finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
4781
4723
if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
4782
4724
# Replace the output file specification.
4783
compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
4725
compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
4784
4726
link_command="$compile_command$compile_rpath"
4786
4728
# We have no uninstalled library dependencies, so finalize right now.
4867
4809
if test "$fast_install" != no; then
4868
4810
link_command="$finalize_var$compile_command$finalize_rpath"
4869
4811
if test "$fast_install" = yes; then
4870
relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
4812
relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
4872
4814
# fast_install is set to needless
4873
4815
relink_command=
4906
4848
relink_command="(cd `pwd`; $relink_command)"
4907
relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
4849
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
4910
4852
# Quote $echo for shipping.
5311
5253
Xsed='${SED} -e 1s/^X//'
5312
5254
sed_quote_subst='$sed_quote_subst'
5314
# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
5315
if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
5318
# Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
5319
# is contrary to our usage. Disable this feature.
5320
alias -g '\${1+\"\$@\"}'='\"\$@\"'
5321
setopt NO_GLOB_SUBST
5323
case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
5325
BIN_SH=xpg4; export BIN_SH # for Tru64
5326
DUALCASE=1; export DUALCASE # for MKS sh
5328
5256
# The HP-UX ksh and POSIX shell print the target directory to stdout
5329
5257
# if CDPATH is set.
5330
5258
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5451
5379
$echo >> $output "\
5452
5380
if test \"\$libtool_execute_magic\" != \"$magic\"; then
5453
5381
# Run the actual program with our arguments.
5455
# Make sure env LD_LIBRARY_PATH does not mess us up
5456
if test -n \"\${LD_LIBRARY_PATH+set}\"; then
5457
export LD_LIBRARY_PATH=\$progdir:\$LD_LIBRARY_PATH
5461
5384
# Backslashes separate directories on plain windows
5659
5582
# Quote the link command for shipping.
5660
5583
relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
5661
relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
5584
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
5662
5585
if test "$hardcode_automatic" = yes ; then
5663
5586
relink_command=
5683
5606
$echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
5684
5607
exit $EXIT_FAILURE
5686
if test "X$EGREP" = X ; then
5689
# We do not want portage's install root ($D) present. Check only for
5690
# this if the .la is being installed.
5691
if test "$installed" = yes && test "$D"; then
5692
eval mynewdependency_lib=`echo "$libdir/$name" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5694
mynewdependency_lib="$libdir/$name"
5696
# Do not add duplicates
5697
if test "$mynewdependency_lib"; then
5698
my_little_ninja_foo_1=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
5699
if test -z "$my_little_ninja_foo_1"; then
5700
newdependency_libs="$newdependency_libs $mynewdependency_lib"
5705
if test "$installed" = yes; then
5706
# Rather use S=WORKDIR if our version of portage supports it.
5707
# This is because some ebuild (gcc) do not use $S as buildroot.
5708
if test "$PWORKDIR"; then
5711
# We do not want portage's build root ($S) present.
5712
my_little_ninja_foo_2=`echo $deplib |$EGREP -e "$S"`
5713
# We do not want portage's install root ($D) present.
5714
my_little_ninja_foo_3=`echo $deplib |$EGREP -e "$D"`
5715
if test -n "$my_little_ninja_foo_2" && test "$S"; then
5716
mynewdependency_lib=""
5717
elif test -n "$my_little_ninja_foo_3" && test "$D"; then
5718
eval mynewdependency_lib=`echo "$deplib" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5720
mynewdependency_lib="$deplib"
5723
mynewdependency_lib="$deplib"
5725
# Do not add duplicates
5726
if test "$mynewdependency_lib"; then
5727
my_little_ninja_foo_4=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
5728
if test -z "$my_little_ninja_foo_4"; then
5729
newdependency_libs="$newdependency_libs $mynewdependency_lib"
5609
newdependency_libs="$newdependency_libs $libdir/$name"
5611
*) newdependency_libs="$newdependency_libs $deplib" ;;
5735
5614
dependency_libs="$newdependency_libs"
5781
5660
case $host,$output,$installed,$module,$dlname in
5782
5661
*cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
5784
# Do not add duplicates
5785
if test "$installed" = yes && test "$D"; then
5786
install_libdir=`echo "$install_libdir" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5788
5663
$echo > $output "\
5789
5664
# $outputname - a libtool library file
5790
5665
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
6052
5927
if test -n "$inst_prefix_dir"; then
6053
5928
# Stick the inst_prefix_dir data into the link command.
6054
relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
5929
relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
6056
relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
5931
relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
6059
5934
$echo "$modename: warning: relinking \`$file'" 1>&2
6262
6137
file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
6263
6138
outputname="$tmpdir/$file"
6264
6139
# Replace the output file specification.
6265
relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
6140
relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
6267
6142
$show "$relink_command"
6268
6143
if $run eval "$relink_command"; then :
6473
6348
if test -f "$dir/$objdir/$dlname"; then
6474
6349
dir="$dir/$objdir"
6476
if test ! -f "$dir/$dlname"; then
6477
$echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
6351
$echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
6542
6415
# Restore saved environment variables
6543
for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
6545
eval "if test \"\${save_$lt_var+set}\" = set; then
6546
$lt_var=\$save_$lt_var; export $lt_var
6416
if test "${save_LC_ALL+set}" = set; then
6417
LC_ALL="$save_LC_ALL"; export LC_ALL
6419
if test "${save_LANG+set}" = set; then
6420
LANG="$save_LANG"; export LANG
6552
6423
# Now prepare to actually exec the command.
6553
6424
exec_cmd="\$cmd$args"
6904
6775
-dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
6905
6776
-export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
6906
6777
-export-symbols SYMFILE
6907
try to export only the symbols listed in SYMFILE
6778
try to export only the symbols listed in SYMFILE
6908
6779
-export-symbols-regex REGEX
6909
try to export only the symbols matching REGEX
6780
try to export only the symbols matching REGEX
6910
6781
-LLIBDIR search LIBDIR for required installed libraries
6911
6782
-lNAME OUTPUT-FILE requires the installed library libNAME
6912
6783
-module build a library that can dlopened
6920
6791
-release RELEASE specify package release information
6921
6792
-rpath LIBDIR the created library will eventually be installed in LIBDIR
6922
6793
-R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
6923
-static do not do any dynamic linking of uninstalled libtool libraries
6924
-static-libtool-libs
6925
do not do any dynamic linking of libtool libraries
6794
-static do not do any dynamic linking of libtool libraries
6926
6795
-version-info CURRENT[:REVISION[:AGE]]
6927
specify library version info [each variable defaults to 0]
6796
specify library version info [each variable defaults to 0]
6929
6798
All other options (arguments beginning with \`-') are ignored.