2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for nautilus-share 0.7.2.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553
# Check that we are running under the correct shell.
554
SHELL=${CONFIG_SHELL-/bin/sh}
558
# Remove one level of quotation (which was required for Make).
559
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564
if test "X$1" = X--no-reexec; then
565
# Discard the --no-reexec flag, and continue.
567
elif test "X$1" = X--fallback-echo; then
568
# Avoid inline document here, it may be left over
570
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
# Yippee, $echo works!
574
# Restart under the correct shell.
575
exec $SHELL "$0" --no-reexec ${1+"$@"}
578
if test "X$1" = X--fallback-echo; then
579
# used as fallback echo
587
# The HP-UX ksh and POSIX shell print the target directory to stdout
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591
if test -z "$ECHO"; then
592
if test "X${echo_test_string+set}" != Xset; then
593
# find a string as large as possible, as long as the shell can cope with it
594
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
echo_test_string=`eval $cmd` &&
598
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# The Solaris, AIX, and Digital Unix default echo programs unquote
611
# backslashes. This makes it impossible to quote backslashes using
612
# echo "$something" | sed 's/\\/\\\\/g'
614
# So, first we look for a working echo in the user's PATH.
616
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
for dir in $PATH /usr/ucb; do
619
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
test "X$echo_testing_string" = "X$echo_test_string"; then
629
if test "X$echo" = Xecho; then
630
# We didn't find a better echo, so look for alternatives.
631
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
test "X$echo_testing_string" = "X$echo_test_string"; then
634
# This shell has a builtin print -r that does the trick.
636
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
test "X$CONFIG_SHELL" != X/bin/ksh; then
638
# If we have ksh, try running configure again with it.
639
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
export ORIGINAL_CONFIG_SHELL
641
CONFIG_SHELL=/bin/ksh
643
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
test "X$echo_testing_string" = "X$echo_test_string"; then
652
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
test "X$echo_testing_string" = 'X\t' &&
654
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
test "X$echo_testing_string" = "X$echo_test_string"; then
656
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658
SHELL="$CONFIG_SHELL"
660
echo="$CONFIG_SHELL $0 --fallback-echo"
661
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
test "X$echo_testing_string" = 'X\t' &&
663
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
test "X$echo_testing_string" = "X$echo_test_string"; then
665
echo="$CONFIG_SHELL $0 --fallback-echo"
667
# maybe with a smaller string...
670
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678
if test "$prev" != 'sed 50q "$0"'; then
679
echo_test_string=`eval $prev`
680
export echo_test_string
681
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683
# Oops. We lost completely, so just stick with echo.
692
# Copy echo and quote the copy suitably for passing to libtool from
693
# the Makefile, instead of quoting the original, which is used later.
695
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702
tagnames=${tagnames+${tagnames},}CXX
704
tagnames=${tagnames+${tagnames},}F77
706
exec 7<&0 </dev/null 6>&1
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
# so uname gets run too.
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716
ac_default_prefix=/usr/local
718
ac_config_libobj_dir=.
724
SHELL=${CONFIG_SHELL-/bin/sh}
726
# Identity of this package.
727
PACKAGE_NAME='nautilus-share'
728
PACKAGE_TARNAME='nautilus-share'
729
PACKAGE_VERSION='0.7.2'
730
PACKAGE_STRING='nautilus-share 0.7.2'
733
ac_unique_file="src/nautilus-share.c"
734
# Factoring default headers for most tests.
735
ac_includes_default="\
737
#ifdef HAVE_SYS_TYPES_H
738
# include <sys/types.h>
740
#ifdef HAVE_SYS_STAT_H
741
# include <sys/stat.h>
747
# ifdef HAVE_STDLIB_H
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757
#ifdef HAVE_STRINGS_H
758
# include <strings.h>
760
#ifdef HAVE_INTTYPES_H
761
# include <inttypes.h>
779
program_transform_name
820
INSTALL_STRIP_PROGRAM
828
INTLTOOL_DESKTOP_RULE
829
INTLTOOL_DIRECTORY_RULE
836
INTLTOOL_SOUNDLIST_RULE
841
INTLTOOL_XML_NOMERGE_RULE
843
INTLTOOL_SCHEMAS_RULE
845
INTLTOOL_SERVICE_RULE
926
ac_precious_vars='build_alias
950
# Initialize some variables set by options.
952
ac_init_version=false
953
# The variables have the same names as the options, with
954
# dashes changed to underlines.
962
program_transform_name=s,x,x,
970
# Installation directory options.
971
# These are left unexpanded so users can "make install exec_prefix=/foo"
972
# and all the variables that are supposed to be based on exec_prefix
973
# by default will actually change.
974
# Use braces instead of parens because sh, perl, etc. also accept them.
975
# (The list follows the same order as the GNU Coding Standards.)
976
bindir='${exec_prefix}/bin'
977
sbindir='${exec_prefix}/sbin'
978
libexecdir='${exec_prefix}/libexec'
979
datarootdir='${prefix}/share'
980
datadir='${datarootdir}'
981
sysconfdir='${prefix}/etc'
982
sharedstatedir='${prefix}/com'
983
localstatedir='${prefix}/var'
984
includedir='${prefix}/include'
985
oldincludedir='/usr/include'
986
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
987
infodir='${datarootdir}/info'
992
libdir='${exec_prefix}/lib'
993
localedir='${datarootdir}/locale'
994
mandir='${datarootdir}/man'
1000
# If the previous option needs an argument, assign it.
1001
if test -n "$ac_prev"; then
1002
eval $ac_prev=\$ac_option
1008
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012
# Accept the important Cygnus configure options, so we can diagnose typos.
1014
case $ac_dashdash$ac_option in
1018
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1020
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021
bindir=$ac_optarg ;;
1023
-build | --build | --buil | --bui | --bu)
1024
ac_prev=build_alias ;;
1025
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026
build_alias=$ac_optarg ;;
1028
-cache-file | --cache-file | --cache-fil | --cache-fi \
1029
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030
ac_prev=cache_file ;;
1031
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033
cache_file=$ac_optarg ;;
1035
--config-cache | -C)
1036
cache_file=config.cache ;;
1038
-datadir | --datadir | --datadi | --datad)
1040
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1041
datadir=$ac_optarg ;;
1043
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044
| --dataroo | --dataro | --datar)
1045
ac_prev=datarootdir ;;
1046
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048
datarootdir=$ac_optarg ;;
1050
-disable-* | --disable-*)
1051
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052
# Reject names that are not valid shell variable names.
1053
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1055
{ (exit 1); exit 1; }; }
1056
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1057
eval enable_$ac_feature=no ;;
1059
-docdir | --docdir | --docdi | --doc | --do)
1061
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1062
docdir=$ac_optarg ;;
1064
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1066
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1067
dvidir=$ac_optarg ;;
1069
-enable-* | --enable-*)
1070
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1071
# Reject names that are not valid shell variable names.
1072
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1074
{ (exit 1); exit 1; }; }
1075
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1076
eval enable_$ac_feature=\$ac_optarg ;;
1078
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1079
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1080
| --exec | --exe | --ex)
1081
ac_prev=exec_prefix ;;
1082
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1083
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1084
| --exec=* | --exe=* | --ex=*)
1085
exec_prefix=$ac_optarg ;;
1087
-gas | --gas | --ga | --g)
1088
# Obsolete; use --with-gas.
1091
-help | --help | --hel | --he | -h)
1092
ac_init_help=long ;;
1093
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1094
ac_init_help=recursive ;;
1095
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1096
ac_init_help=short ;;
1098
-host | --host | --hos | --ho)
1099
ac_prev=host_alias ;;
1100
-host=* | --host=* | --hos=* | --ho=*)
1101
host_alias=$ac_optarg ;;
1103
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107
htmldir=$ac_optarg ;;
1109
-includedir | --includedir | --includedi | --included | --include \
1110
| --includ | --inclu | --incl | --inc)
1111
ac_prev=includedir ;;
1112
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1113
| --includ=* | --inclu=* | --incl=* | --inc=*)
1114
includedir=$ac_optarg ;;
1116
-infodir | --infodir | --infodi | --infod | --info | --inf)
1118
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1119
infodir=$ac_optarg ;;
1121
-libdir | --libdir | --libdi | --libd)
1123
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1124
libdir=$ac_optarg ;;
1126
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1127
| --libexe | --libex | --libe)
1128
ac_prev=libexecdir ;;
1129
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1130
| --libexe=* | --libex=* | --libe=*)
1131
libexecdir=$ac_optarg ;;
1133
-localedir | --localedir | --localedi | --localed | --locale)
1134
ac_prev=localedir ;;
1135
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1136
localedir=$ac_optarg ;;
1138
-localstatedir | --localstatedir | --localstatedi | --localstated \
1139
| --localstate | --localstat | --localsta | --localst | --locals)
1140
ac_prev=localstatedir ;;
1141
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1142
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1143
localstatedir=$ac_optarg ;;
1145
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1148
mandir=$ac_optarg ;;
1150
-nfp | --nfp | --nf)
1151
# Obsolete; use --without-fp.
1154
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1155
| --no-cr | --no-c | -n)
1158
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1159
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1163
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1164
| --oldin | --oldi | --old | --ol | --o)
1165
ac_prev=oldincludedir ;;
1166
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1167
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1168
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1169
oldincludedir=$ac_optarg ;;
1171
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1174
prefix=$ac_optarg ;;
1176
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1177
| --program-pre | --program-pr | --program-p)
1178
ac_prev=program_prefix ;;
1179
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1180
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1181
program_prefix=$ac_optarg ;;
1183
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1184
| --program-suf | --program-su | --program-s)
1185
ac_prev=program_suffix ;;
1186
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1187
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1188
program_suffix=$ac_optarg ;;
1190
-program-transform-name | --program-transform-name \
1191
| --program-transform-nam | --program-transform-na \
1192
| --program-transform-n | --program-transform- \
1193
| --program-transform | --program-transfor \
1194
| --program-transfo | --program-transf \
1195
| --program-trans | --program-tran \
1196
| --progr-tra | --program-tr | --program-t)
1197
ac_prev=program_transform_name ;;
1198
-program-transform-name=* | --program-transform-name=* \
1199
| --program-transform-nam=* | --program-transform-na=* \
1200
| --program-transform-n=* | --program-transform-=* \
1201
| --program-transform=* | --program-transfor=* \
1202
| --program-transfo=* | --program-transf=* \
1203
| --program-trans=* | --program-tran=* \
1204
| --progr-tra=* | --program-tr=* | --program-t=*)
1205
program_transform_name=$ac_optarg ;;
1207
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1210
pdfdir=$ac_optarg ;;
1212
-psdir | --psdir | --psdi | --psd | --ps)
1214
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218
| -silent | --silent | --silen | --sile | --sil)
1221
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225
sbindir=$ac_optarg ;;
1227
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1228
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1229
| --sharedst | --shareds | --shared | --share | --shar \
1231
ac_prev=sharedstatedir ;;
1232
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1233
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1234
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236
sharedstatedir=$ac_optarg ;;
1238
-site | --site | --sit)
1240
-site=* | --site=* | --sit=*)
1243
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1246
srcdir=$ac_optarg ;;
1248
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1249
| --syscon | --sysco | --sysc | --sys | --sy)
1250
ac_prev=sysconfdir ;;
1251
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1252
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1253
sysconfdir=$ac_optarg ;;
1255
-target | --target | --targe | --targ | --tar | --ta | --t)
1256
ac_prev=target_alias ;;
1257
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1258
target_alias=$ac_optarg ;;
1260
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1263
-version | --version | --versio | --versi | --vers | -V)
1264
ac_init_version=: ;;
1267
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268
# Reject names that are not valid shell variable names.
1269
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1271
{ (exit 1); exit 1; }; }
1272
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1273
eval with_$ac_package=\$ac_optarg ;;
1275
-without-* | --without-*)
1276
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277
# Reject names that are not valid shell variable names.
1278
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1280
{ (exit 1); exit 1; }; }
1281
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1282
eval with_$ac_package=no ;;
1285
# Obsolete; use --with-x.
1288
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289
| --x-incl | --x-inc | --x-in | --x-i)
1290
ac_prev=x_includes ;;
1291
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293
x_includes=$ac_optarg ;;
1295
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1296
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297
ac_prev=x_libraries ;;
1298
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300
x_libraries=$ac_optarg ;;
1302
-*) { echo "$as_me: error: unrecognized option: $ac_option
1303
Try \`$0 --help' for more information." >&2
1304
{ (exit 1); exit 1; }; }
1308
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309
# Reject names that are not valid shell variable names.
1310
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312
{ (exit 1); exit 1; }; }
1313
eval $ac_envvar=\$ac_optarg
1314
export $ac_envvar ;;
1317
# FIXME: should be removed in autoconf 3.0.
1318
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327
if test -n "$ac_prev"; then
1328
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329
{ echo "$as_me: error: missing argument to $ac_option" >&2
1330
{ (exit 1); exit 1; }; }
1333
# Be sure to have absolute directory names.
1334
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335
datadir sysconfdir sharedstatedir localstatedir includedir \
1336
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337
libdir localedir mandir
1339
eval ac_val=\$$ac_var
1341
[\\/$]* | ?:[\\/]* ) continue;;
1342
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1344
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1345
{ (exit 1); exit 1; }; }
1348
# There might be people who depend on the old broken behavior: `$host'
1349
# used to hold the argument of --host etc.
1350
# FIXME: To remove some day.
1353
target=$target_alias
1355
# FIXME: To remove some day.
1356
if test "x$host_alias" != x; then
1357
if test "x$build_alias" = x; then
1358
cross_compiling=maybe
1359
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360
If a cross compiler is detected then cross compile mode will be used." >&2
1361
elif test "x$build_alias" != "x$host_alias"; then
1367
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1369
test "$silent" = yes && exec 6>/dev/null
1372
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373
ac_ls_di=`ls -di .` &&
1374
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375
{ echo "$as_me: error: Working directory cannot be determined" >&2
1376
{ (exit 1); exit 1; }; }
1377
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1379
{ (exit 1); exit 1; }; }
1382
# Find the source files, if location was not specified.
1383
if test -z "$srcdir"; then
1384
ac_srcdir_defaulted=yes
1385
# Try the directory containing this script, then the parent directory.
1386
ac_confdir=`$as_dirname -- "$0" ||
1387
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388
X"$0" : 'X\(//\)[^/]' \| \
1389
X"$0" : 'X\(//\)$' \| \
1390
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1392
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1410
if test ! -r "$srcdir/$ac_unique_file"; then
1414
ac_srcdir_defaulted=no
1416
if test ! -r "$srcdir/$ac_unique_file"; then
1417
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1418
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1419
{ (exit 1); exit 1; }; }
1421
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1423
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1424
{ (exit 1); exit 1; }; }
1426
# When building in place, set srcdir=.
1427
if test "$ac_abs_confdir" = "$ac_pwd"; then
1430
# Remove unnecessary trailing slashes from srcdir.
1431
# Double slashes in file names in object file debugging info
1432
# mess up M-x gdb in Emacs.
1434
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436
for ac_var in $ac_precious_vars; do
1437
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1438
eval ac_env_${ac_var}_value=\$${ac_var}
1439
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1440
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444
# Report the --help message.
1446
if test "$ac_init_help" = "long"; then
1447
# Omit some internal or obsolete options to make the list less imposing.
1448
# This message is too long to be a string in the A/UX 3.1 sh.
1450
\`configure' configures nautilus-share 0.7.2 to adapt to many kinds of systems.
1452
Usage: $0 [OPTION]... [VAR=VALUE]...
1454
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455
VAR=VALUE. See below for descriptions of some of the useful variables.
1457
Defaults for the options are specified in brackets.
1460
-h, --help display this help and exit
1461
--help=short display options specific to this package
1462
--help=recursive display the short help of all the included packages
1463
-V, --version display version information and exit
1464
-q, --quiet, --silent do not print \`checking...' messages
1465
--cache-file=FILE cache test results in FILE [disabled]
1466
-C, --config-cache alias for \`--cache-file=config.cache'
1467
-n, --no-create do not create output files
1468
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1470
Installation directories:
1471
--prefix=PREFIX install architecture-independent files in PREFIX
1472
[$ac_default_prefix]
1473
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1476
By default, \`make install' will install all the files in
1477
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479
for instance \`--prefix=\$HOME'.
1481
For better control, use the options below.
1483
Fine tuning of the installation directories:
1484
--bindir=DIR user executables [EPREFIX/bin]
1485
--sbindir=DIR system admin executables [EPREFIX/sbin]
1486
--libexecdir=DIR program executables [EPREFIX/libexec]
1487
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490
--libdir=DIR object code libraries [EPREFIX/lib]
1491
--includedir=DIR C header files [PREFIX/include]
1492
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1493
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495
--infodir=DIR info documentation [DATAROOTDIR/info]
1496
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497
--mandir=DIR man documentation [DATAROOTDIR/man]
1498
--docdir=DIR documentation root [DATAROOTDIR/doc/nautilus-share]
1499
--htmldir=DIR html documentation [DOCDIR]
1500
--dvidir=DIR dvi documentation [DOCDIR]
1501
--pdfdir=DIR pdf documentation [DOCDIR]
1502
--psdir=DIR ps documentation [DOCDIR]
1508
--program-prefix=PREFIX prepend PREFIX to installed program names
1509
--program-suffix=SUFFIX append SUFFIX to installed program names
1510
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1513
--build=BUILD configure for building on BUILD [guessed]
1514
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1518
if test -n "$ac_init_help"; then
1519
case $ac_init_help in
1520
short | recursive ) echo "Configuration of nautilus-share 0.7.2:";;
1525
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1526
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1527
--disable-dependency-tracking speeds up one-time build
1528
--enable-dependency-tracking do not reject slow dependency extractors
1529
--enable-shared[=PKGS] build shared libraries [default=yes]
1530
--enable-static[=PKGS] build static libraries [default=yes]
1531
--enable-fast-install[=PKGS]
1532
optimize for fast installation [default=yes]
1533
--disable-libtool-lock avoid locking (might break parallel builds)
1536
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1539
--with-pic try to use only PIC/non-PIC objects [default=use
1541
--with-tags[=TAGS] include additional configurations [automatic]
1543
Some influential environment variables:
1544
CC C compiler command
1545
CFLAGS C compiler flags
1546
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547
nonstandard directory <lib dir>
1548
LIBS libraries to pass to the linker, e.g. -l<library>
1549
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1550
you have headers in a nonstandard directory <include dir>
1552
CXX C++ compiler command
1553
CXXFLAGS C++ compiler flags
1554
CXXCPP C++ preprocessor
1555
F77 Fortran 77 compiler command
1556
FFLAGS Fortran 77 compiler flags
1557
PKG_CONFIG path to pkg-config utility
1559
C compiler flags for NAUTILUS, overriding pkg-config
1561
linker flags for NAUTILUS, overriding pkg-config
1562
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1563
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1565
C compiler flags for LIBGLADE, overriding pkg-config
1567
linker flags for LIBGLADE, overriding pkg-config
1569
Use these variables to override the choices made by `configure' or to help
1570
it to find libraries and programs with nonstandard names/locations.
1576
if test "$ac_init_help" = "recursive"; then
1577
# If there are subdirs, report their specific --help.
1578
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
test -d "$ac_dir" || continue
1583
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1586
# A ".." for each directory in $ac_dir_suffix.
1587
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1588
case $ac_top_builddir_sub in
1589
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593
ac_abs_top_builddir=$ac_pwd
1594
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595
# for backward compatibility:
1596
ac_top_builddir=$ac_top_build_prefix
1599
.) # We are building in place.
1601
ac_top_srcdir=$ac_top_builddir_sub
1602
ac_abs_top_srcdir=$ac_pwd ;;
1603
[\\/]* | ?:[\\/]* ) # Absolute name.
1604
ac_srcdir=$srcdir$ac_dir_suffix;
1605
ac_top_srcdir=$srcdir
1606
ac_abs_top_srcdir=$srcdir ;;
1608
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609
ac_top_srcdir=$ac_top_build_prefix$srcdir
1610
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614
cd "$ac_dir" || { ac_status=$?; continue; }
1615
# Check for guested configure.
1616
if test -f "$ac_srcdir/configure.gnu"; then
1618
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619
elif test -f "$ac_srcdir/configure"; then
1621
$SHELL "$ac_srcdir/configure" --help=recursive
1623
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625
cd "$ac_pwd" || { ac_status=$?; break; }
1629
test -n "$ac_init_help" && exit $ac_status
1630
if $ac_init_version; then
1632
nautilus-share configure 0.7.2
1633
generated by GNU Autoconf 2.61
1635
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1637
This configure script is free software; the Free Software Foundation
1638
gives unlimited permission to copy, distribute and modify it.
1642
cat >config.log <<_ACEOF
1643
This file contains any messages produced by compilers while
1644
running configure, to aid debugging if configure makes a mistake.
1646
It was created by nautilus-share $as_me 0.7.2, which was
1647
generated by GNU Autoconf 2.61. Invocation command line was
1659
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1660
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1661
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1662
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1663
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1665
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1666
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1668
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1669
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1670
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1671
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1672
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1673
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1674
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682
test -z "$as_dir" && as_dir=.
1683
echo "PATH: $as_dir"
1699
# Keep a trace of the command line.
1700
# Strip out --no-create and --no-recursion so they do not pile up.
1701
# Strip out --silent because we don't want to record it for future runs.
1702
# Also quote any args containing shell meta-characters.
1703
# Make two passes to allow for proper duplicate-argument suppression.
1707
ac_must_keep_next=false
1713
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1714
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715
| -silent | --silent | --silen | --sile | --sil)
1718
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1721
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1723
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1724
if test $ac_must_keep_next = true; then
1725
ac_must_keep_next=false # Got value, back to normal.
1728
*=* | --config-cache | -C | -disable-* | --disable-* \
1729
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1730
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1731
| -with-* | --with-* | -without-* | --without-* | --x)
1732
case "$ac_configure_args0 " in
1733
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1736
-* ) ac_must_keep_next=true ;;
1739
ac_configure_args="$ac_configure_args '$ac_arg'"
1744
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1745
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1747
# When interrupted or exit'd, cleanup temporary files, and complete
1748
# config.log. We remove comments because anyway the quotes in there
1749
# would cause problems or look ugly.
1750
# WARNING: Use '\'' to represent an apostrophe within the trap.
1751
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1752
trap 'exit_status=$?
1753
# Save into config.log some information that might help in debugging.
1758
## ---------------- ##
1759
## Cache variables. ##
1760
## ---------------- ##
1763
# The following way of writing the cache mishandles newlines in values,
1765
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766
eval ac_val=\$$ac_var
1770
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1774
_ | IFS | as_nl) ;; #(
1775
*) $as_unset $ac_var ;;
1780
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1781
*${as_nl}ac_space=\ *)
1783
"s/'\''/'\''\\\\'\'''\''/g;
1784
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1787
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795
## ----------------- ##
1796
## Output variables. ##
1797
## ----------------- ##
1800
for ac_var in $ac_subst_vars
1802
eval ac_val=\$$ac_var
1804
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1806
echo "$ac_var='\''$ac_val'\''"
1810
if test -n "$ac_subst_files"; then
1812
## ------------------- ##
1813
## File substitutions. ##
1814
## ------------------- ##
1817
for ac_var in $ac_subst_files
1819
eval ac_val=\$$ac_var
1821
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823
echo "$ac_var='\''$ac_val'\''"
1828
if test -s confdefs.h; then
1838
test "$ac_signal" != 0 &&
1839
echo "$as_me: caught signal $ac_signal"
1840
echo "$as_me: exit $exit_status"
1842
rm -f core *.core core.conftest.* &&
1843
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1846
for ac_signal in 1 2 13 15; do
1847
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1851
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1852
rm -f -r conftest* confdefs.h
1854
# Predefined preprocessor variables.
1856
cat >>confdefs.h <<_ACEOF
1857
#define PACKAGE_NAME "$PACKAGE_NAME"
1861
cat >>confdefs.h <<_ACEOF
1862
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1866
cat >>confdefs.h <<_ACEOF
1867
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1871
cat >>confdefs.h <<_ACEOF
1872
#define PACKAGE_STRING "$PACKAGE_STRING"
1876
cat >>confdefs.h <<_ACEOF
1877
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881
# Let the site file select an alternate cache file if it wants to.
1882
# Prefer explicitly selected file to automatically selected ones.
1883
if test -n "$CONFIG_SITE"; then
1884
set x "$CONFIG_SITE"
1885
elif test "x$prefix" != xNONE; then
1886
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1888
set x "$ac_default_prefix/share/config.site" \
1889
"$ac_default_prefix/etc/config.site"
1894
if test -r "$ac_site_file"; then
1895
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896
echo "$as_me: loading site script $ac_site_file" >&6;}
1897
sed 's/^/| /' "$ac_site_file" >&5
1902
if test -r "$cache_file"; then
1903
# Some versions of bash will fail to source /dev/null (special
1904
# files actually), so we avoid doing that.
1905
if test -f "$cache_file"; then
1906
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1907
echo "$as_me: loading cache $cache_file" >&6;}
1909
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1910
*) . "./$cache_file";;
1914
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1915
echo "$as_me: creating cache $cache_file" >&6;}
1919
# Check that the precious variables saved in the cache have kept the same
1921
ac_cache_corrupted=false
1922
for ac_var in $ac_precious_vars; do
1923
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924
eval ac_new_set=\$ac_env_${ac_var}_set
1925
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926
eval ac_new_val=\$ac_env_${ac_var}_value
1927
case $ac_old_set,$ac_new_set in
1929
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931
ac_cache_corrupted=: ;;
1933
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1934
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935
ac_cache_corrupted=: ;;
1938
if test "x$ac_old_val" != "x$ac_new_val"; then
1939
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1940
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1941
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1942
echo "$as_me: former value: $ac_old_val" >&2;}
1943
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1944
echo "$as_me: current value: $ac_new_val" >&2;}
1945
ac_cache_corrupted=:
1948
# Pass precious variables to config.status.
1949
if test "$ac_new_set" = set; then
1951
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1952
*) ac_arg=$ac_var=$ac_new_val ;;
1954
case " $ac_configure_args " in
1955
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1956
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1960
if $ac_cache_corrupted; then
1961
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1962
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1963
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1964
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1965
{ (exit 1); exit 1; }; }
1993
ac_cpp='$CPP $CPPFLAGS'
1994
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2000
ac_config_headers="$ac_config_headers config.h"
2002
am__api_version="1.9"
2004
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2005
if test -f "$ac_dir/install-sh"; then
2007
ac_install_sh="$ac_aux_dir/install-sh -c"
2009
elif test -f "$ac_dir/install.sh"; then
2011
ac_install_sh="$ac_aux_dir/install.sh -c"
2013
elif test -f "$ac_dir/shtool"; then
2015
ac_install_sh="$ac_aux_dir/shtool install -c"
2019
if test -z "$ac_aux_dir"; then
2020
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2021
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2022
{ (exit 1); exit 1; }; }
2025
# These three variables are undocumented and unsupported,
2026
# and are intended to be withdrawn in a future Autoconf release.
2027
# They can cause serious problems if a builder's source tree is in a directory
2028
# whose full name contains unusual characters.
2029
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2030
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2031
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2034
# Find a good install program. We prefer a C program (faster),
2035
# so one script is as good as another. But avoid the broken or
2036
# incompatible versions:
2037
# SysV /etc/install, /usr/sbin/install
2038
# SunOS /usr/etc/install
2039
# IRIX /sbin/install
2041
# AmigaOS /C/install, which installs bootblocks on floppy discs
2042
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2043
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2044
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2045
# OS/2's system install, which has a completely different semantic
2046
# ./install, which can be erroneously created by make from ./install.sh.
2047
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2048
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2049
if test -z "$INSTALL"; then
2050
if test "${ac_cv_path_install+set}" = set; then
2051
echo $ECHO_N "(cached) $ECHO_C" >&6
2053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057
test -z "$as_dir" && as_dir=.
2058
# Account for people who put trailing slashes in PATH elements.
2060
./ | .// | /cC/* | \
2061
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2062
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2065
# OSF1 and SCO ODT 3.0 have their own names for install.
2066
# Don't use installbsd from OSF since it installs stuff as root
2068
for ac_prog in ginstall scoinst install; do
2069
for ac_exec_ext in '' $ac_executable_extensions; do
2070
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2071
if test $ac_prog = install &&
2072
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2073
# AIX install. It has an incompatible calling convention.
2075
elif test $ac_prog = install &&
2076
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2077
# program-specific install script used by HP pwplus--don't use.
2080
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2093
if test "${ac_cv_path_install+set}" = set; then
2094
INSTALL=$ac_cv_path_install
2096
# As a last resort, use the slow shell script. Don't cache a
2097
# value for INSTALL within a source directory, because that will
2098
# break other packages using the cache if that directory is
2099
# removed, or if the value is a relative name.
2100
INSTALL=$ac_install_sh
2103
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2104
echo "${ECHO_T}$INSTALL" >&6; }
2106
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2107
# It thinks the first close brace ends the variable substitution.
2108
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2110
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2112
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2114
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2115
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2118
echo timestamp > conftest.file
2119
# Do `set' in a subshell so we don't clobber the current shell's
2120
# arguments. Must try -L first in case configure is actually a
2121
# symlink; some systems play weird games with the mod time of symlinks
2122
# (eg FreeBSD returns the mod time of the symlink's containing
2125
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2126
if test "$*" = "X"; then
2128
set X `ls -t $srcdir/configure conftest.file`
2131
if test "$*" != "X $srcdir/configure conftest.file" \
2132
&& test "$*" != "X conftest.file $srcdir/configure"; then
2134
# If neither matched, then we have a broken ls. This can happen
2135
# if, for instance, CONFIG_SHELL is bash and it inherits a
2136
# broken ls alias from the environment. This has actually
2137
# happened. Such a system could not be considered "sane".
2138
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2139
alias in your environment" >&5
2140
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2141
alias in your environment" >&2;}
2142
{ (exit 1); exit 1; }; }
2145
test "$2" = conftest.file
2151
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2152
Check your system clock" >&5
2153
echo "$as_me: error: newly created file is older than distributed files!
2154
Check your system clock" >&2;}
2155
{ (exit 1); exit 1; }; }
2157
{ echo "$as_me:$LINENO: result: yes" >&5
2158
echo "${ECHO_T}yes" >&6; }
2159
test "$program_prefix" != NONE &&
2160
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2161
# Use a double $ so make ignores it.
2162
test "$program_suffix" != NONE &&
2163
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2164
# Double any \ or $. echo might interpret backslashes.
2165
# By default was `s,x,x', remove it if useless.
2166
cat <<\_ACEOF >conftest.sed
2167
s/[\\$]/&&/g;s/;s,x,x,$//
2169
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2172
# expand $ac_aux_dir to an absolute path
2173
am_aux_dir=`cd $ac_aux_dir && pwd`
2175
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2176
# Use eval to expand $SHELL
2177
if eval "$MISSING --run true"; then
2178
am_missing_run="$MISSING --run "
2181
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2182
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2185
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2186
# We used to keeping the `.' as first argument, in order to
2187
# allow $(mkdir_p) to be used without argument. As in
2188
# $(mkdir_p) $(somedir)
2189
# where $(somedir) is conditionally defined. However this is wrong
2191
# 1. if the package is installed by a user who cannot write `.'
2192
# make install will fail,
2193
# 2. the above comment should most certainly read
2194
# $(mkdir_p) $(DESTDIR)$(somedir)
2195
# so it does not work when $(somedir) is undefined and
2196
# $(DESTDIR) is not.
2197
# To support the latter case, we have to write
2198
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2199
# so the `.' trick is pointless.
2200
mkdir_p='mkdir -p --'
2202
# On NextStep and OpenStep, the `mkdir' command does not
2203
# recognize any option. It will interpret all options as
2204
# directories to create, and then abort because `.' already
2206
for d in ./-p ./--version;
2208
test -d $d && rmdir $d
2210
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2211
if test -f "$ac_aux_dir/mkinstalldirs"; then
2212
mkdir_p='$(mkinstalldirs)'
2214
mkdir_p='$(install_sh) -d'
2218
for ac_prog in gawk mawk nawk awk
2220
# Extract the first word of "$ac_prog", so it can be a program name with args.
2221
set dummy $ac_prog; ac_word=$2
2222
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2223
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2224
if test "${ac_cv_prog_AWK+set}" = set; then
2225
echo $ECHO_N "(cached) $ECHO_C" >&6
2227
if test -n "$AWK"; then
2228
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2230
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234
test -z "$as_dir" && as_dir=.
2235
for ac_exec_ext in '' $ac_executable_extensions; do
2236
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2237
ac_cv_prog_AWK="$ac_prog"
2238
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248
if test -n "$AWK"; then
2249
{ echo "$as_me:$LINENO: result: $AWK" >&5
2250
echo "${ECHO_T}$AWK" >&6; }
2252
{ echo "$as_me:$LINENO: result: no" >&5
2253
echo "${ECHO_T}no" >&6; }
2257
test -n "$AWK" && break
2260
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2261
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2262
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2263
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2264
echo $ECHO_N "(cached) $ECHO_C" >&6
2266
cat >conftest.make <<\_ACEOF
2269
@echo '@@@%%%=$(MAKE)=@@@%%%'
2271
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2272
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2274
eval ac_cv_prog_make_${ac_make}_set=yes;;
2276
eval ac_cv_prog_make_${ac_make}_set=no;;
2280
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2281
{ echo "$as_me:$LINENO: result: yes" >&5
2282
echo "${ECHO_T}yes" >&6; }
2285
{ echo "$as_me:$LINENO: result: no" >&5
2286
echo "${ECHO_T}no" >&6; }
2287
SET_MAKE="MAKE=${MAKE-make}"
2290
rm -rf .tst 2>/dev/null
2291
mkdir .tst 2>/dev/null
2292
if test -d .tst; then
2297
rmdir .tst 2>/dev/null
2299
# test to see if srcdir already configured
2300
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2301
test -f $srcdir/config.status; then
2302
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2303
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2304
{ (exit 1); exit 1; }; }
2307
# test whether we have cygpath
2308
if test -z "$CYGPATH_W"; then
2309
if (cygpath --version) >/dev/null 2>/dev/null; then
2310
CYGPATH_W='cygpath -w'
2317
# Define the identity of the package.
2318
PACKAGE='nautilus-share'
2322
cat >>confdefs.h <<_ACEOF
2323
#define PACKAGE "$PACKAGE"
2327
cat >>confdefs.h <<_ACEOF
2328
#define VERSION "$VERSION"
2331
# Some tools Automake needs.
2333
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2336
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2339
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2342
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2345
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2347
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2349
# Installed binaries are usually stripped using `strip' when the user
2350
# run `make install-strip'. However `strip' might not be the right
2351
# tool to use in cross-compilation environments, therefore Automake
2352
# will honor the `STRIP' environment variable to overrule this program.
2353
if test "$cross_compiling" != no; then
2354
if test -n "$ac_tool_prefix"; then
2355
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2356
set dummy ${ac_tool_prefix}strip; ac_word=$2
2357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359
if test "${ac_cv_prog_STRIP+set}" = set; then
2360
echo $ECHO_N "(cached) $ECHO_C" >&6
2362
if test -n "$STRIP"; then
2363
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369
test -z "$as_dir" && as_dir=.
2370
for ac_exec_ext in '' $ac_executable_extensions; do
2371
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2373
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382
STRIP=$ac_cv_prog_STRIP
2383
if test -n "$STRIP"; then
2384
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2385
echo "${ECHO_T}$STRIP" >&6; }
2387
{ echo "$as_me:$LINENO: result: no" >&5
2388
echo "${ECHO_T}no" >&6; }
2393
if test -z "$ac_cv_prog_STRIP"; then
2395
# Extract the first word of "strip", so it can be a program name with args.
2396
set dummy strip; ac_word=$2
2397
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2398
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2400
echo $ECHO_N "(cached) $ECHO_C" >&6
2402
if test -n "$ac_ct_STRIP"; then
2403
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409
test -z "$as_dir" && as_dir=.
2410
for ac_exec_ext in '' $ac_executable_extensions; do
2411
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412
ac_cv_prog_ac_ct_STRIP="strip"
2413
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2423
if test -n "$ac_ct_STRIP"; then
2424
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2425
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2427
{ echo "$as_me:$LINENO: result: no" >&5
2428
echo "${ECHO_T}no" >&6; }
2431
if test "x$ac_ct_STRIP" = x; then
2434
case $cross_compiling:$ac_tool_warned in
2436
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2437
whose name does not start with the host triplet. If you think this
2438
configuration is useful to you, please write to autoconf@gnu.org." >&5
2439
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2440
whose name does not start with the host triplet. If you think this
2441
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2442
ac_tool_warned=yes ;;
2447
STRIP="$ac_cv_prog_STRIP"
2451
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2453
# We need awk for the "check" target. The system "awk" is bad on
2455
# Always define AMTAR for backward compatibility.
2457
AMTAR=${AMTAR-"${am_missing_run}tar"}
2459
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2467
DEPDIR="${am__leading_dot}deps"
2469
ac_config_commands="$ac_config_commands depfiles"
2472
am_make=${MAKE-make}
2473
cat > confinc << 'END'
2478
# If we don't find an include directive, just comment out the code.
2479
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2480
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2484
# First try GNU make style include.
2485
echo "include confinc" > confmf
2486
# We grep out `Entering directory' and `Leaving directory'
2487
# messages which can occur if `w' ends up in MAKEFLAGS.
2488
# In particular we don't look at `^make:' because GNU make might
2489
# be invoked under some other name (usually "gmake"), in which
2490
# case it prints its new name instead of `make'.
2491
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2496
# Now try BSD make style include.
2497
if test "$am__include" = "#"; then
2498
echo '.include "confinc"' > confmf
2499
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2500
am__include=.include
2507
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2508
echo "${ECHO_T}$_am_result" >&6; }
2509
rm -f confinc confmf
2511
# Check whether --enable-dependency-tracking was given.
2512
if test "${enable_dependency_tracking+set}" = set; then
2513
enableval=$enable_dependency_tracking;
2516
if test "x$enable_dependency_tracking" != xno; then
2517
am_depcomp="$ac_aux_dir/depcomp"
2522
if test "x$enable_dependency_tracking" != xno; then
2533
ac_cpp='$CPP $CPPFLAGS'
2534
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
if test -n "$ac_tool_prefix"; then
2538
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2541
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2542
if test "${ac_cv_prog_CC+set}" = set; then
2543
echo $ECHO_N "(cached) $ECHO_C" >&6
2545
if test -n "$CC"; then
2546
ac_cv_prog_CC="$CC" # Let the user override the test.
2548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552
test -z "$as_dir" && as_dir=.
2553
for ac_exec_ext in '' $ac_executable_extensions; do
2554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566
if test -n "$CC"; then
2567
{ echo "$as_me:$LINENO: result: $CC" >&5
2568
echo "${ECHO_T}$CC" >&6; }
2570
{ echo "$as_me:$LINENO: result: no" >&5
2571
echo "${ECHO_T}no" >&6; }
2576
if test -z "$ac_cv_prog_CC"; then
2578
# Extract the first word of "gcc", so it can be a program name with args.
2579
set dummy gcc; ac_word=$2
2580
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2582
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583
echo $ECHO_N "(cached) $ECHO_C" >&6
2585
if test -n "$ac_ct_CC"; then
2586
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592
test -z "$as_dir" && as_dir=.
2593
for ac_exec_ext in '' $ac_executable_extensions; do
2594
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
ac_cv_prog_ac_ct_CC="gcc"
2596
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606
if test -n "$ac_ct_CC"; then
2607
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2608
echo "${ECHO_T}$ac_ct_CC" >&6; }
2610
{ echo "$as_me:$LINENO: result: no" >&5
2611
echo "${ECHO_T}no" >&6; }
2614
if test "x$ac_ct_CC" = x; then
2617
case $cross_compiling:$ac_tool_warned in
2619
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2620
whose name does not start with the host triplet. If you think this
2621
configuration is useful to you, please write to autoconf@gnu.org." >&5
2622
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2623
whose name does not start with the host triplet. If you think this
2624
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2625
ac_tool_warned=yes ;;
2633
if test -z "$CC"; then
2634
if test -n "$ac_tool_prefix"; then
2635
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2636
set dummy ${ac_tool_prefix}cc; ac_word=$2
2637
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2638
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2639
if test "${ac_cv_prog_CC+set}" = set; then
2640
echo $ECHO_N "(cached) $ECHO_C" >&6
2642
if test -n "$CC"; then
2643
ac_cv_prog_CC="$CC" # Let the user override the test.
2645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649
test -z "$as_dir" && as_dir=.
2650
for ac_exec_ext in '' $ac_executable_extensions; do
2651
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652
ac_cv_prog_CC="${ac_tool_prefix}cc"
2653
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663
if test -n "$CC"; then
2664
{ echo "$as_me:$LINENO: result: $CC" >&5
2665
echo "${ECHO_T}$CC" >&6; }
2667
{ echo "$as_me:$LINENO: result: no" >&5
2668
echo "${ECHO_T}no" >&6; }
2674
if test -z "$CC"; then
2675
# Extract the first word of "cc", so it can be a program name with args.
2676
set dummy cc; ac_word=$2
2677
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2678
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679
if test "${ac_cv_prog_CC+set}" = set; then
2680
echo $ECHO_N "(cached) $ECHO_C" >&6
2682
if test -n "$CC"; then
2683
ac_cv_prog_CC="$CC" # Let the user override the test.
2686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690
test -z "$as_dir" && as_dir=.
2691
for ac_exec_ext in '' $ac_executable_extensions; do
2692
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694
ac_prog_rejected=yes
2698
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705
if test $ac_prog_rejected = yes; then
2706
# We found a bogon in the path, so make sure we never use it.
2707
set dummy $ac_cv_prog_CC
2709
if test $# != 0; then
2710
# We chose a different compiler from the bogus one.
2711
# However, it has the same basename, so the bogon will be chosen
2712
# first if we set CC to just the basename; use the full file name.
2714
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2720
if test -n "$CC"; then
2721
{ echo "$as_me:$LINENO: result: $CC" >&5
2722
echo "${ECHO_T}$CC" >&6; }
2724
{ echo "$as_me:$LINENO: result: no" >&5
2725
echo "${ECHO_T}no" >&6; }
2730
if test -z "$CC"; then
2731
if test -n "$ac_tool_prefix"; then
2732
for ac_prog in cl.exe
2734
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2735
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2736
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2737
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2738
if test "${ac_cv_prog_CC+set}" = set; then
2739
echo $ECHO_N "(cached) $ECHO_C" >&6
2741
if test -n "$CC"; then
2742
ac_cv_prog_CC="$CC" # Let the user override the test.
2744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748
test -z "$as_dir" && as_dir=.
2749
for ac_exec_ext in '' $ac_executable_extensions; do
2750
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2752
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762
if test -n "$CC"; then
2763
{ echo "$as_me:$LINENO: result: $CC" >&5
2764
echo "${ECHO_T}$CC" >&6; }
2766
{ echo "$as_me:$LINENO: result: no" >&5
2767
echo "${ECHO_T}no" >&6; }
2771
test -n "$CC" && break
2774
if test -z "$CC"; then
2776
for ac_prog in cl.exe
2778
# Extract the first word of "$ac_prog", so it can be a program name with args.
2779
set dummy $ac_prog; ac_word=$2
2780
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2781
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2782
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783
echo $ECHO_N "(cached) $ECHO_C" >&6
2785
if test -n "$ac_ct_CC"; then
2786
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792
test -z "$as_dir" && as_dir=.
2793
for ac_exec_ext in '' $ac_executable_extensions; do
2794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
ac_cv_prog_ac_ct_CC="$ac_prog"
2796
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2806
if test -n "$ac_ct_CC"; then
2807
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2808
echo "${ECHO_T}$ac_ct_CC" >&6; }
2810
{ echo "$as_me:$LINENO: result: no" >&5
2811
echo "${ECHO_T}no" >&6; }
2815
test -n "$ac_ct_CC" && break
2818
if test "x$ac_ct_CC" = x; then
2821
case $cross_compiling:$ac_tool_warned in
2823
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2824
whose name does not start with the host triplet. If you think this
2825
configuration is useful to you, please write to autoconf@gnu.org." >&5
2826
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2827
whose name does not start with the host triplet. If you think this
2828
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2829
ac_tool_warned=yes ;;
2838
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2839
See \`config.log' for more details." >&5
2840
echo "$as_me: error: no acceptable C compiler found in \$PATH
2841
See \`config.log' for more details." >&2;}
2842
{ (exit 1); exit 1; }; }
2844
# Provide some information about the compiler.
2845
echo "$as_me:$LINENO: checking for C compiler version" >&5
2846
ac_compiler=`set X $ac_compile; echo $2`
2847
{ (ac_try="$ac_compiler --version >&5"
2849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850
*) ac_try_echo=$ac_try;;
2852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853
(eval "$ac_compiler --version >&5") 2>&5
2855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
(exit $ac_status); }
2857
{ (ac_try="$ac_compiler -v >&5"
2859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860
*) ac_try_echo=$ac_try;;
2862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2863
(eval "$ac_compiler -v >&5") 2>&5
2865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
(exit $ac_status); }
2867
{ (ac_try="$ac_compiler -V >&5"
2869
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
*) ac_try_echo=$ac_try;;
2872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873
(eval "$ac_compiler -V >&5") 2>&5
2875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
(exit $ac_status); }
2878
cat >conftest.$ac_ext <<_ACEOF
2881
cat confdefs.h >>conftest.$ac_ext
2882
cat >>conftest.$ac_ext <<_ACEOF
2883
/* end confdefs.h. */
2893
ac_clean_files_save=$ac_clean_files
2894
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2895
# Try to create an executable without -o first, disregard a.out.
2896
# It will help us diagnose broken compilers, and finding out an intuition
2898
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2899
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2900
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2902
# List of possible output files, starting from the most likely.
2903
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2904
# only as a last resort. b.out is created by i960 compilers.
2905
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2907
# The IRIX 6 linker writes into existing files which may not be
2908
# executable, retaining their permissions. Remove them first so a
2909
# subsequent execution test works.
2911
for ac_file in $ac_files
2914
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2915
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2920
if { (ac_try="$ac_link_default"
2922
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
*) ac_try_echo=$ac_try;;
2925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926
(eval "$ac_link_default") 2>&5
2928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
(exit $ac_status); }; then
2930
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2931
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2932
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2933
# so that the user can short-circuit this test for compilers unknown to
2935
for ac_file in $ac_files ''
2937
test -f "$ac_file" || continue
2939
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2942
# We found the default executable, but exeext='' is most
2946
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2948
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2950
# We set ac_cv_exeext here because the later test for it is not
2951
# safe: cross compilers may not add the suffix if given an `-o'
2952
# argument, so we may need to know it at that point already.
2953
# Even if this section looks crufty: it has the advantage of
2960
test "$ac_cv_exeext" = no && ac_cv_exeext=
2966
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2967
echo "${ECHO_T}$ac_file" >&6; }
2968
if test -z "$ac_file"; then
2969
echo "$as_me: failed program was:" >&5
2970
sed 's/^/| /' conftest.$ac_ext >&5
2972
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2973
See \`config.log' for more details." >&5
2974
echo "$as_me: error: C compiler cannot create executables
2975
See \`config.log' for more details." >&2;}
2976
{ (exit 77); exit 77; }; }
2979
ac_exeext=$ac_cv_exeext
2981
# Check that the compiler produces executables we can run. If not, either
2982
# the compiler is broken, or we cross compile.
2983
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2984
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2985
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2986
# If not cross compiling, check that we can run a simple program.
2987
if test "$cross_compiling" != yes; then
2988
if { ac_try='./$ac_file'
2989
{ (case "(($ac_try" in
2990
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991
*) ac_try_echo=$ac_try;;
2993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994
(eval "$ac_try") 2>&5
2996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997
(exit $ac_status); }; }; then
3000
if test "$cross_compiling" = maybe; then
3003
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3004
If you meant to cross compile, use \`--host'.
3005
See \`config.log' for more details." >&5
3006
echo "$as_me: error: cannot run C compiled programs.
3007
If you meant to cross compile, use \`--host'.
3008
See \`config.log' for more details." >&2;}
3009
{ (exit 1); exit 1; }; }
3013
{ echo "$as_me:$LINENO: result: yes" >&5
3014
echo "${ECHO_T}yes" >&6; }
3016
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3017
ac_clean_files=$ac_clean_files_save
3018
# Check that the compiler produces executables we can run. If not, either
3019
# the compiler is broken, or we cross compile.
3020
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3021
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3022
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3023
echo "${ECHO_T}$cross_compiling" >&6; }
3025
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3026
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3027
if { (ac_try="$ac_link"
3029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030
*) ac_try_echo=$ac_try;;
3032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033
(eval "$ac_link") 2>&5
3035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
(exit $ac_status); }; then
3037
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3038
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3039
# work properly (i.e., refer to `conftest.exe'), while it won't with
3041
for ac_file in conftest.exe conftest conftest.*; do
3042
test -f "$ac_file" || continue
3044
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3045
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3051
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3052
See \`config.log' for more details." >&5
3053
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3054
See \`config.log' for more details." >&2;}
3055
{ (exit 1); exit 1; }; }
3058
rm -f conftest$ac_cv_exeext
3059
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3060
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3062
rm -f conftest.$ac_ext
3063
EXEEXT=$ac_cv_exeext
3065
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3066
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3067
if test "${ac_cv_objext+set}" = set; then
3068
echo $ECHO_N "(cached) $ECHO_C" >&6
3070
cat >conftest.$ac_ext <<_ACEOF
3073
cat confdefs.h >>conftest.$ac_ext
3074
cat >>conftest.$ac_ext <<_ACEOF
3075
/* end confdefs.h. */
3085
rm -f conftest.o conftest.obj
3086
if { (ac_try="$ac_compile"
3088
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089
*) ac_try_echo=$ac_try;;
3091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092
(eval "$ac_compile") 2>&5
3094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095
(exit $ac_status); }; then
3096
for ac_file in conftest.o conftest.obj conftest.*; do
3097
test -f "$ac_file" || continue;
3099
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3100
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3105
echo "$as_me: failed program was:" >&5
3106
sed 's/^/| /' conftest.$ac_ext >&5
3108
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3109
See \`config.log' for more details." >&5
3110
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3111
See \`config.log' for more details." >&2;}
3112
{ (exit 1); exit 1; }; }
3115
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3117
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3118
echo "${ECHO_T}$ac_cv_objext" >&6; }
3119
OBJEXT=$ac_cv_objext
3121
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3122
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3123
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3124
echo $ECHO_N "(cached) $ECHO_C" >&6
3126
cat >conftest.$ac_ext <<_ACEOF
3129
cat confdefs.h >>conftest.$ac_ext
3130
cat >>conftest.$ac_ext <<_ACEOF
3131
/* end confdefs.h. */
3144
rm -f conftest.$ac_objext
3145
if { (ac_try="$ac_compile"
3147
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148
*) ac_try_echo=$ac_try;;
3150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151
(eval "$ac_compile") 2>conftest.er1
3153
grep -v '^ *+' conftest.er1 >conftest.err
3155
cat conftest.err >&5
3156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
(exit $ac_status); } && {
3158
test -z "$ac_c_werror_flag" ||
3159
test ! -s conftest.err
3160
} && test -s conftest.$ac_objext; then
3163
echo "$as_me: failed program was:" >&5
3164
sed 's/^/| /' conftest.$ac_ext >&5
3169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3173
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3174
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3175
GCC=`test $ac_compiler_gnu = yes && echo yes`
3176
ac_test_CFLAGS=${CFLAGS+set}
3177
ac_save_CFLAGS=$CFLAGS
3178
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3180
if test "${ac_cv_prog_cc_g+set}" = set; then
3181
echo $ECHO_N "(cached) $ECHO_C" >&6
3183
ac_save_c_werror_flag=$ac_c_werror_flag
3184
ac_c_werror_flag=yes
3187
cat >conftest.$ac_ext <<_ACEOF
3190
cat confdefs.h >>conftest.$ac_ext
3191
cat >>conftest.$ac_ext <<_ACEOF
3192
/* end confdefs.h. */
3202
rm -f conftest.$ac_objext
3203
if { (ac_try="$ac_compile"
3205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
*) ac_try_echo=$ac_try;;
3208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209
(eval "$ac_compile") 2>conftest.er1
3211
grep -v '^ *+' conftest.er1 >conftest.err
3213
cat conftest.err >&5
3214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
(exit $ac_status); } && {
3216
test -z "$ac_c_werror_flag" ||
3217
test ! -s conftest.err
3218
} && test -s conftest.$ac_objext; then
3221
echo "$as_me: failed program was:" >&5
3222
sed 's/^/| /' conftest.$ac_ext >&5
3225
cat >conftest.$ac_ext <<_ACEOF
3228
cat confdefs.h >>conftest.$ac_ext
3229
cat >>conftest.$ac_ext <<_ACEOF
3230
/* end confdefs.h. */
3240
rm -f conftest.$ac_objext
3241
if { (ac_try="$ac_compile"
3243
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
*) ac_try_echo=$ac_try;;
3246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3247
(eval "$ac_compile") 2>conftest.er1
3249
grep -v '^ *+' conftest.er1 >conftest.err
3251
cat conftest.err >&5
3252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
(exit $ac_status); } && {
3254
test -z "$ac_c_werror_flag" ||
3255
test ! -s conftest.err
3256
} && test -s conftest.$ac_objext; then
3259
echo "$as_me: failed program was:" >&5
3260
sed 's/^/| /' conftest.$ac_ext >&5
3262
ac_c_werror_flag=$ac_save_c_werror_flag
3264
cat >conftest.$ac_ext <<_ACEOF
3267
cat confdefs.h >>conftest.$ac_ext
3268
cat >>conftest.$ac_ext <<_ACEOF
3269
/* end confdefs.h. */
3279
rm -f conftest.$ac_objext
3280
if { (ac_try="$ac_compile"
3282
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283
*) ac_try_echo=$ac_try;;
3285
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286
(eval "$ac_compile") 2>conftest.er1
3288
grep -v '^ *+' conftest.er1 >conftest.err
3290
cat conftest.err >&5
3291
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
(exit $ac_status); } && {
3293
test -z "$ac_c_werror_flag" ||
3294
test ! -s conftest.err
3295
} && test -s conftest.$ac_objext; then
3298
echo "$as_me: failed program was:" >&5
3299
sed 's/^/| /' conftest.$ac_ext >&5
3304
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
ac_c_werror_flag=$ac_save_c_werror_flag
3313
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3314
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3315
if test "$ac_test_CFLAGS" = set; then
3316
CFLAGS=$ac_save_CFLAGS
3317
elif test $ac_cv_prog_cc_g = yes; then
3318
if test "$GCC" = yes; then
3324
if test "$GCC" = yes; then
3330
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3331
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3332
if test "${ac_cv_prog_cc_c89+set}" = set; then
3333
echo $ECHO_N "(cached) $ECHO_C" >&6
3335
ac_cv_prog_cc_c89=no
3337
cat >conftest.$ac_ext <<_ACEOF
3340
cat confdefs.h >>conftest.$ac_ext
3341
cat >>conftest.$ac_ext <<_ACEOF
3342
/* end confdefs.h. */
3345
#include <sys/types.h>
3346
#include <sys/stat.h>
3347
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3348
struct buf { int x; };
3349
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3350
static char *e (p, i)
3356
static char *f (char * (*g) (char **, int), char **p, ...)
3361
s = g (p, va_arg (v,int));
3366
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3367
function prototypes and stuff, but not '\xHH' hex character constants.
3368
These don't provoke an error unfortunately, instead are silently treated
3369
as 'x'. The following induces an error, until -std is added to get
3370
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3371
array size at least. It's necessary to write '\x00'==0 to get something
3372
that's true only with -std. */
3373
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3375
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3376
inside strings and character constants. */
3378
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3380
int test (int i, double x);
3381
struct s1 {int (*f) (int a);};
3382
struct s2 {int (*f) (double a);};
3383
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3389
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3394
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3395
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3397
CC="$ac_save_CC $ac_arg"
3398
rm -f conftest.$ac_objext
3399
if { (ac_try="$ac_compile"
3401
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402
*) ac_try_echo=$ac_try;;
3404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405
(eval "$ac_compile") 2>conftest.er1
3407
grep -v '^ *+' conftest.er1 >conftest.err
3409
cat conftest.err >&5
3410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411
(exit $ac_status); } && {
3412
test -z "$ac_c_werror_flag" ||
3413
test ! -s conftest.err
3414
} && test -s conftest.$ac_objext; then
3415
ac_cv_prog_cc_c89=$ac_arg
3417
echo "$as_me: failed program was:" >&5
3418
sed 's/^/| /' conftest.$ac_ext >&5
3423
rm -f core conftest.err conftest.$ac_objext
3424
test "x$ac_cv_prog_cc_c89" != "xno" && break
3426
rm -f conftest.$ac_ext
3431
case "x$ac_cv_prog_cc_c89" in
3433
{ echo "$as_me:$LINENO: result: none needed" >&5
3434
echo "${ECHO_T}none needed" >&6; } ;;
3436
{ echo "$as_me:$LINENO: result: unsupported" >&5
3437
echo "${ECHO_T}unsupported" >&6; } ;;
3439
CC="$CC $ac_cv_prog_cc_c89"
3440
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3441
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3446
ac_cpp='$CPP $CPPFLAGS'
3447
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451
depcc="$CC" am_compiler_list=
3453
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3454
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3455
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3456
echo $ECHO_N "(cached) $ECHO_C" >&6
3458
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3459
# We make a subdir and do the tests there. Otherwise we can end up
3460
# making bogus files that we don't know about and never remove. For
3461
# instance it was reported that on HP-UX the gcc test will end up
3462
# making a dummy file named `D' -- because `-MD' means `put the output
3465
# Copy depcomp to subdir because otherwise we won't find it if we're
3466
# using a relative directory.
3467
cp "$am_depcomp" conftest.dir
3469
# We will build objects and dependencies in a subdirectory because
3470
# it helps to detect inapplicable dependency modes. For instance
3471
# both Tru64's cc and ICC support -MD to output dependencies as a
3472
# side effect of compilation, but ICC will put the dependencies in
3473
# the current directory while Tru64 will put them in the object
3477
am_cv_CC_dependencies_compiler_type=none
3478
if test "$am_compiler_list" = ""; then
3479
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3481
for depmode in $am_compiler_list; do
3482
# Setup a source with many dependencies, because some compilers
3483
# like to wrap large dependency lists on column 80 (with \), and
3484
# we should not choose a depcomp mode which is confused by this.
3486
# We need to recreate these files for each test, as the compiler may
3487
# overwrite some of them when testing with obscure command lines.
3488
# This happens at least with the AIX C compiler.
3490
for i in 1 2 3 4 5 6; do
3491
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3492
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3493
# Solaris 8's {/usr,}/bin/sh.
3494
touch sub/conftst$i.h
3496
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3500
# after this tag, mechanisms are not by side-effect, so they'll
3501
# only be used when explicitly requested
3502
if test "x$enable_dependency_tracking" = xyes; then
3510
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3511
# mode. It turns out that the SunPro C++ compiler does not properly
3512
# handle `-M -o', and we need to detect this.
3513
if depmode=$depmode \
3514
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3515
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3516
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3517
>/dev/null 2>conftest.err &&
3518
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3519
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3520
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3521
# icc doesn't choke on unknown options, it will just issue warnings
3522
# or remarks (even with -Werror). So we grep stderr for any message
3523
# that says an option was ignored or not supported.
3524
# When given -MP, icc 7.0 and 7.1 complain thusly:
3525
# icc: Command line warning: ignoring option '-M'; no argument required
3526
# The diagnosis changed in icc 8.0:
3527
# icc: Command line remark: option '-MP' not supported
3528
if (grep 'ignoring option' conftest.err ||
3529
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3530
am_cv_CC_dependencies_compiler_type=$depmode
3539
am_cv_CC_dependencies_compiler_type=none
3543
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3544
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3545
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3550
test "x$enable_dependency_tracking" != xno \
3551
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3553
am__fastdepCC_FALSE='#'
3555
am__fastdepCC_TRUE='#'
3556
am__fastdepCC_FALSE=
3562
case "$am__api_version" in
3564
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3565
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3566
{ (exit 1); exit 1; }; }
3572
if test -n "0.29"; then
3573
{ echo "$as_me:$LINENO: checking for intltool >= 0.29" >&5
3574
echo $ECHO_N "checking for intltool >= 0.29... $ECHO_C" >&6; }
3576
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.29 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3577
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3578
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3580
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3581
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3582
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3583
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.29 or later." >&5
3584
echo "$as_me: error: Your intltool is too old. You need intltool 0.29 or later." >&2;}
3585
{ (exit 1); exit 1; }; }
3588
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3589
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3590
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3591
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3592
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3593
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3594
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3595
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3596
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3597
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3598
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3599
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3600
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3601
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3602
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3603
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3604
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3605
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3606
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3628
# Use the tools built into the package, not the ones that are installed.
3629
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3631
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3633
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3636
# Extract the first word of "perl", so it can be a program name with args.
3637
set dummy perl; ac_word=$2
3638
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3639
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3640
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3641
echo $ECHO_N "(cached) $ECHO_C" >&6
3643
case $INTLTOOL_PERL in
3645
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652
test -z "$as_dir" && as_dir=.
3653
for ac_exec_ext in '' $ac_executable_extensions; do
3654
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3656
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3667
if test -n "$INTLTOOL_PERL"; then
3668
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3669
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3671
{ echo "$as_me:$LINENO: result: no" >&5
3672
echo "${ECHO_T}no" >&6; }
3676
if test -z "$INTLTOOL_PERL"; then
3677
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3678
echo "$as_me: error: perl not found; required for intltool" >&2;}
3679
{ (exit 1); exit 1; }; }
3681
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3682
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3683
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3684
{ (exit 1); exit 1; }; }
3686
if test "x" != "xno-xml"; then
3687
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
3688
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3689
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3690
{ echo "$as_me:$LINENO: result: ok" >&5
3691
echo "${ECHO_T}ok" >&6; }
3693
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3694
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3695
{ (exit 1); exit 1; }; }
3699
# Substitute ALL_LINGUAS so we can use it in po/Makefile
3702
# Set DATADIRNAME correctly if it is not set yet
3703
# (copied from glib-gettext.m4)
3704
if test -z "$DATADIRNAME"; then
3705
cat >conftest.$ac_ext <<_ACEOF
3708
cat confdefs.h >>conftest.$ac_ext
3709
cat >>conftest.$ac_ext <<_ACEOF
3710
/* end confdefs.h. */
3715
extern int _nl_msg_cat_cntr;
3716
return _nl_msg_cat_cntr
3721
rm -f conftest.$ac_objext conftest$ac_exeext
3722
if { (ac_try="$ac_link"
3724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725
*) ac_try_echo=$ac_try;;
3727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728
(eval "$ac_link") 2>conftest.er1
3730
grep -v '^ *+' conftest.er1 >conftest.err
3732
cat conftest.err >&5
3733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
(exit $ac_status); } && {
3735
test -z "$ac_c_werror_flag" ||
3736
test ! -s conftest.err
3737
} && test -s conftest$ac_exeext &&
3738
$as_test_x conftest$ac_exeext; then
3741
echo "$as_me: failed program was:" >&5
3742
sed 's/^/| /' conftest.$ac_ext >&5
3746
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3747
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3748
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3749
echo $ECHO_N "(cached) $ECHO_C" >&6
3751
cat >conftest.$ac_ext <<_ACEOF
3754
cat confdefs.h >>conftest.$ac_ext
3755
cat >>conftest.$ac_ext <<_ACEOF
3756
/* end confdefs.h. */
3757
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3758
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3759
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3761
/* System header to define __stub macros and hopefully few prototypes,
3762
which can conflict with char bind_textdomain_codeset (); below.
3763
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3764
<limits.h> exists even on freestanding compilers. */
3767
# include <limits.h>
3769
# include <assert.h>
3772
#undef bind_textdomain_codeset
3774
/* Override any GCC internal prototype to avoid an error.
3775
Use char because int might match the return type of a GCC
3776
builtin and then its argument prototype would still apply. */
3780
char bind_textdomain_codeset ();
3781
/* The GNU C library defines this for functions which it implements
3782
to always fail with ENOSYS. Some functions are actually named
3783
something starting with __ and the normal name is an alias. */
3784
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3791
return bind_textdomain_codeset ();
3796
rm -f conftest.$ac_objext conftest$ac_exeext
3797
if { (ac_try="$ac_link"
3799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800
*) ac_try_echo=$ac_try;;
3802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803
(eval "$ac_link") 2>conftest.er1
3805
grep -v '^ *+' conftest.er1 >conftest.err
3807
cat conftest.err >&5
3808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809
(exit $ac_status); } && {
3810
test -z "$ac_c_werror_flag" ||
3811
test ! -s conftest.err
3812
} && test -s conftest$ac_exeext &&
3813
$as_test_x conftest$ac_exeext; then
3814
ac_cv_func_bind_textdomain_codeset=yes
3816
echo "$as_me: failed program was:" >&5
3817
sed 's/^/| /' conftest.$ac_ext >&5
3819
ac_cv_func_bind_textdomain_codeset=no
3822
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3823
conftest$ac_exeext conftest.$ac_ext
3825
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
3826
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
3827
if test $ac_cv_func_bind_textdomain_codeset = yes; then
3840
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3841
conftest$ac_exeext conftest.$ac_ext
3848
ac_config_commands="$ac_config_commands intltool"
3853
NAUTILUS_REQUIRED=2.10.0
3856
LIBGLADE_REQUIRED=2.4.0
3861
ac_cpp='$CPP $CPPFLAGS'
3862
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865
if test -n "$ac_tool_prefix"; then
3866
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3867
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3868
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3869
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3870
if test "${ac_cv_prog_CC+set}" = set; then
3871
echo $ECHO_N "(cached) $ECHO_C" >&6
3873
if test -n "$CC"; then
3874
ac_cv_prog_CC="$CC" # Let the user override the test.
3876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880
test -z "$as_dir" && as_dir=.
3881
for ac_exec_ext in '' $ac_executable_extensions; do
3882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3883
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3884
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894
if test -n "$CC"; then
3895
{ echo "$as_me:$LINENO: result: $CC" >&5
3896
echo "${ECHO_T}$CC" >&6; }
3898
{ echo "$as_me:$LINENO: result: no" >&5
3899
echo "${ECHO_T}no" >&6; }
3904
if test -z "$ac_cv_prog_CC"; then
3906
# Extract the first word of "gcc", so it can be a program name with args.
3907
set dummy gcc; ac_word=$2
3908
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3909
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3910
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3911
echo $ECHO_N "(cached) $ECHO_C" >&6
3913
if test -n "$ac_ct_CC"; then
3914
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920
test -z "$as_dir" && as_dir=.
3921
for ac_exec_ext in '' $ac_executable_extensions; do
3922
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923
ac_cv_prog_ac_ct_CC="gcc"
3924
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934
if test -n "$ac_ct_CC"; then
3935
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3936
echo "${ECHO_T}$ac_ct_CC" >&6; }
3938
{ echo "$as_me:$LINENO: result: no" >&5
3939
echo "${ECHO_T}no" >&6; }
3942
if test "x$ac_ct_CC" = x; then
3945
case $cross_compiling:$ac_tool_warned in
3947
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3948
whose name does not start with the host triplet. If you think this
3949
configuration is useful to you, please write to autoconf@gnu.org." >&5
3950
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3951
whose name does not start with the host triplet. If you think this
3952
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3953
ac_tool_warned=yes ;;
3961
if test -z "$CC"; then
3962
if test -n "$ac_tool_prefix"; then
3963
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964
set dummy ${ac_tool_prefix}cc; ac_word=$2
3965
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3966
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967
if test "${ac_cv_prog_CC+set}" = set; then
3968
echo $ECHO_N "(cached) $ECHO_C" >&6
3970
if test -n "$CC"; then
3971
ac_cv_prog_CC="$CC" # Let the user override the test.
3973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977
test -z "$as_dir" && as_dir=.
3978
for ac_exec_ext in '' $ac_executable_extensions; do
3979
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980
ac_cv_prog_CC="${ac_tool_prefix}cc"
3981
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3991
if test -n "$CC"; then
3992
{ echo "$as_me:$LINENO: result: $CC" >&5
3993
echo "${ECHO_T}$CC" >&6; }
3995
{ echo "$as_me:$LINENO: result: no" >&5
3996
echo "${ECHO_T}no" >&6; }
4002
if test -z "$CC"; then
4003
# Extract the first word of "cc", so it can be a program name with args.
4004
set dummy cc; ac_word=$2
4005
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4006
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4007
if test "${ac_cv_prog_CC+set}" = set; then
4008
echo $ECHO_N "(cached) $ECHO_C" >&6
4010
if test -n "$CC"; then
4011
ac_cv_prog_CC="$CC" # Let the user override the test.
4014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018
test -z "$as_dir" && as_dir=.
4019
for ac_exec_ext in '' $ac_executable_extensions; do
4020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4022
ac_prog_rejected=yes
4026
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033
if test $ac_prog_rejected = yes; then
4034
# We found a bogon in the path, so make sure we never use it.
4035
set dummy $ac_cv_prog_CC
4037
if test $# != 0; then
4038
# We chose a different compiler from the bogus one.
4039
# However, it has the same basename, so the bogon will be chosen
4040
# first if we set CC to just the basename; use the full file name.
4042
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4048
if test -n "$CC"; then
4049
{ echo "$as_me:$LINENO: result: $CC" >&5
4050
echo "${ECHO_T}$CC" >&6; }
4052
{ echo "$as_me:$LINENO: result: no" >&5
4053
echo "${ECHO_T}no" >&6; }
4058
if test -z "$CC"; then
4059
if test -n "$ac_tool_prefix"; then
4060
for ac_prog in cl.exe
4062
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4063
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4064
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4065
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4066
if test "${ac_cv_prog_CC+set}" = set; then
4067
echo $ECHO_N "(cached) $ECHO_C" >&6
4069
if test -n "$CC"; then
4070
ac_cv_prog_CC="$CC" # Let the user override the test.
4072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076
test -z "$as_dir" && as_dir=.
4077
for ac_exec_ext in '' $ac_executable_extensions; do
4078
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4080
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090
if test -n "$CC"; then
4091
{ echo "$as_me:$LINENO: result: $CC" >&5
4092
echo "${ECHO_T}$CC" >&6; }
4094
{ echo "$as_me:$LINENO: result: no" >&5
4095
echo "${ECHO_T}no" >&6; }
4099
test -n "$CC" && break
4102
if test -z "$CC"; then
4104
for ac_prog in cl.exe
4106
# Extract the first word of "$ac_prog", so it can be a program name with args.
4107
set dummy $ac_prog; ac_word=$2
4108
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4109
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4110
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4111
echo $ECHO_N "(cached) $ECHO_C" >&6
4113
if test -n "$ac_ct_CC"; then
4114
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120
test -z "$as_dir" && as_dir=.
4121
for ac_exec_ext in '' $ac_executable_extensions; do
4122
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123
ac_cv_prog_ac_ct_CC="$ac_prog"
4124
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4134
if test -n "$ac_ct_CC"; then
4135
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4136
echo "${ECHO_T}$ac_ct_CC" >&6; }
4138
{ echo "$as_me:$LINENO: result: no" >&5
4139
echo "${ECHO_T}no" >&6; }
4143
test -n "$ac_ct_CC" && break
4146
if test "x$ac_ct_CC" = x; then
4149
case $cross_compiling:$ac_tool_warned in
4151
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4152
whose name does not start with the host triplet. If you think this
4153
configuration is useful to you, please write to autoconf@gnu.org." >&5
4154
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4155
whose name does not start with the host triplet. If you think this
4156
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4157
ac_tool_warned=yes ;;
4166
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4167
See \`config.log' for more details." >&5
4168
echo "$as_me: error: no acceptable C compiler found in \$PATH
4169
See \`config.log' for more details." >&2;}
4170
{ (exit 1); exit 1; }; }
4172
# Provide some information about the compiler.
4173
echo "$as_me:$LINENO: checking for C compiler version" >&5
4174
ac_compiler=`set X $ac_compile; echo $2`
4175
{ (ac_try="$ac_compiler --version >&5"
4177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178
*) ac_try_echo=$ac_try;;
4180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4181
(eval "$ac_compiler --version >&5") 2>&5
4183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
(exit $ac_status); }
4185
{ (ac_try="$ac_compiler -v >&5"
4187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188
*) ac_try_echo=$ac_try;;
4190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191
(eval "$ac_compiler -v >&5") 2>&5
4193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
(exit $ac_status); }
4195
{ (ac_try="$ac_compiler -V >&5"
4197
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198
*) ac_try_echo=$ac_try;;
4200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201
(eval "$ac_compiler -V >&5") 2>&5
4203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
(exit $ac_status); }
4206
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4207
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4208
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4209
echo $ECHO_N "(cached) $ECHO_C" >&6
4211
cat >conftest.$ac_ext <<_ACEOF
4214
cat confdefs.h >>conftest.$ac_ext
4215
cat >>conftest.$ac_ext <<_ACEOF
4216
/* end confdefs.h. */
4229
rm -f conftest.$ac_objext
4230
if { (ac_try="$ac_compile"
4232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233
*) ac_try_echo=$ac_try;;
4235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236
(eval "$ac_compile") 2>conftest.er1
4238
grep -v '^ *+' conftest.er1 >conftest.err
4240
cat conftest.err >&5
4241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242
(exit $ac_status); } && {
4243
test -z "$ac_c_werror_flag" ||
4244
test ! -s conftest.err
4245
} && test -s conftest.$ac_objext; then
4248
echo "$as_me: failed program was:" >&5
4249
sed 's/^/| /' conftest.$ac_ext >&5
4254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4258
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4259
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4260
GCC=`test $ac_compiler_gnu = yes && echo yes`
4261
ac_test_CFLAGS=${CFLAGS+set}
4262
ac_save_CFLAGS=$CFLAGS
4263
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4264
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4265
if test "${ac_cv_prog_cc_g+set}" = set; then
4266
echo $ECHO_N "(cached) $ECHO_C" >&6
4268
ac_save_c_werror_flag=$ac_c_werror_flag
4269
ac_c_werror_flag=yes
4272
cat >conftest.$ac_ext <<_ACEOF
4275
cat confdefs.h >>conftest.$ac_ext
4276
cat >>conftest.$ac_ext <<_ACEOF
4277
/* end confdefs.h. */
4287
rm -f conftest.$ac_objext
4288
if { (ac_try="$ac_compile"
4290
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291
*) ac_try_echo=$ac_try;;
4293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4294
(eval "$ac_compile") 2>conftest.er1
4296
grep -v '^ *+' conftest.er1 >conftest.err
4298
cat conftest.err >&5
4299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300
(exit $ac_status); } && {
4301
test -z "$ac_c_werror_flag" ||
4302
test ! -s conftest.err
4303
} && test -s conftest.$ac_objext; then
4306
echo "$as_me: failed program was:" >&5
4307
sed 's/^/| /' conftest.$ac_ext >&5
4310
cat >conftest.$ac_ext <<_ACEOF
4313
cat confdefs.h >>conftest.$ac_ext
4314
cat >>conftest.$ac_ext <<_ACEOF
4315
/* end confdefs.h. */
4325
rm -f conftest.$ac_objext
4326
if { (ac_try="$ac_compile"
4328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329
*) ac_try_echo=$ac_try;;
4331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4332
(eval "$ac_compile") 2>conftest.er1
4334
grep -v '^ *+' conftest.er1 >conftest.err
4336
cat conftest.err >&5
4337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
(exit $ac_status); } && {
4339
test -z "$ac_c_werror_flag" ||
4340
test ! -s conftest.err
4341
} && test -s conftest.$ac_objext; then
4344
echo "$as_me: failed program was:" >&5
4345
sed 's/^/| /' conftest.$ac_ext >&5
4347
ac_c_werror_flag=$ac_save_c_werror_flag
4349
cat >conftest.$ac_ext <<_ACEOF
4352
cat confdefs.h >>conftest.$ac_ext
4353
cat >>conftest.$ac_ext <<_ACEOF
4354
/* end confdefs.h. */
4364
rm -f conftest.$ac_objext
4365
if { (ac_try="$ac_compile"
4367
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
*) ac_try_echo=$ac_try;;
4370
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371
(eval "$ac_compile") 2>conftest.er1
4373
grep -v '^ *+' conftest.er1 >conftest.err
4375
cat conftest.err >&5
4376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
(exit $ac_status); } && {
4378
test -z "$ac_c_werror_flag" ||
4379
test ! -s conftest.err
4380
} && test -s conftest.$ac_objext; then
4383
echo "$as_me: failed program was:" >&5
4384
sed 's/^/| /' conftest.$ac_ext >&5
4389
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396
ac_c_werror_flag=$ac_save_c_werror_flag
4398
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4399
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4400
if test "$ac_test_CFLAGS" = set; then
4401
CFLAGS=$ac_save_CFLAGS
4402
elif test $ac_cv_prog_cc_g = yes; then
4403
if test "$GCC" = yes; then
4409
if test "$GCC" = yes; then
4415
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4416
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4417
if test "${ac_cv_prog_cc_c89+set}" = set; then
4418
echo $ECHO_N "(cached) $ECHO_C" >&6
4420
ac_cv_prog_cc_c89=no
4422
cat >conftest.$ac_ext <<_ACEOF
4425
cat confdefs.h >>conftest.$ac_ext
4426
cat >>conftest.$ac_ext <<_ACEOF
4427
/* end confdefs.h. */
4430
#include <sys/types.h>
4431
#include <sys/stat.h>
4432
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433
struct buf { int x; };
4434
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435
static char *e (p, i)
4441
static char *f (char * (*g) (char **, int), char **p, ...)
4446
s = g (p, va_arg (v,int));
4451
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452
function prototypes and stuff, but not '\xHH' hex character constants.
4453
These don't provoke an error unfortunately, instead are silently treated
4454
as 'x'. The following induces an error, until -std is added to get
4455
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456
array size at least. It's necessary to write '\x00'==0 to get something
4457
that's true only with -std. */
4458
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4460
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461
inside strings and character constants. */
4463
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4465
int test (int i, double x);
4466
struct s1 {int (*f) (int a);};
4467
struct s2 {int (*f) (double a);};
4468
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4474
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4479
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4482
CC="$ac_save_CC $ac_arg"
4483
rm -f conftest.$ac_objext
4484
if { (ac_try="$ac_compile"
4486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487
*) ac_try_echo=$ac_try;;
4489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490
(eval "$ac_compile") 2>conftest.er1
4492
grep -v '^ *+' conftest.er1 >conftest.err
4494
cat conftest.err >&5
4495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
(exit $ac_status); } && {
4497
test -z "$ac_c_werror_flag" ||
4498
test ! -s conftest.err
4499
} && test -s conftest.$ac_objext; then
4500
ac_cv_prog_cc_c89=$ac_arg
4502
echo "$as_me: failed program was:" >&5
4503
sed 's/^/| /' conftest.$ac_ext >&5
4508
rm -f core conftest.err conftest.$ac_objext
4509
test "x$ac_cv_prog_cc_c89" != "xno" && break
4511
rm -f conftest.$ac_ext
4516
case "x$ac_cv_prog_cc_c89" in
4518
{ echo "$as_me:$LINENO: result: none needed" >&5
4519
echo "${ECHO_T}none needed" >&6; } ;;
4521
{ echo "$as_me:$LINENO: result: unsupported" >&5
4522
echo "${ECHO_T}unsupported" >&6; } ;;
4524
CC="$CC $ac_cv_prog_cc_c89"
4525
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4526
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4531
ac_cpp='$CPP $CPPFLAGS'
4532
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536
depcc="$CC" am_compiler_list=
4538
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4539
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4540
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4541
echo $ECHO_N "(cached) $ECHO_C" >&6
4543
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4544
# We make a subdir and do the tests there. Otherwise we can end up
4545
# making bogus files that we don't know about and never remove. For
4546
# instance it was reported that on HP-UX the gcc test will end up
4547
# making a dummy file named `D' -- because `-MD' means `put the output
4550
# Copy depcomp to subdir because otherwise we won't find it if we're
4551
# using a relative directory.
4552
cp "$am_depcomp" conftest.dir
4554
# We will build objects and dependencies in a subdirectory because
4555
# it helps to detect inapplicable dependency modes. For instance
4556
# both Tru64's cc and ICC support -MD to output dependencies as a
4557
# side effect of compilation, but ICC will put the dependencies in
4558
# the current directory while Tru64 will put them in the object
4562
am_cv_CC_dependencies_compiler_type=none
4563
if test "$am_compiler_list" = ""; then
4564
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4566
for depmode in $am_compiler_list; do
4567
# Setup a source with many dependencies, because some compilers
4568
# like to wrap large dependency lists on column 80 (with \), and
4569
# we should not choose a depcomp mode which is confused by this.
4571
# We need to recreate these files for each test, as the compiler may
4572
# overwrite some of them when testing with obscure command lines.
4573
# This happens at least with the AIX C compiler.
4575
for i in 1 2 3 4 5 6; do
4576
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4577
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4578
# Solaris 8's {/usr,}/bin/sh.
4579
touch sub/conftst$i.h
4581
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4585
# after this tag, mechanisms are not by side-effect, so they'll
4586
# only be used when explicitly requested
4587
if test "x$enable_dependency_tracking" = xyes; then
4595
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4596
# mode. It turns out that the SunPro C++ compiler does not properly
4597
# handle `-M -o', and we need to detect this.
4598
if depmode=$depmode \
4599
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4600
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4601
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4602
>/dev/null 2>conftest.err &&
4603
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4604
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4605
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4606
# icc doesn't choke on unknown options, it will just issue warnings
4607
# or remarks (even with -Werror). So we grep stderr for any message
4608
# that says an option was ignored or not supported.
4609
# When given -MP, icc 7.0 and 7.1 complain thusly:
4610
# icc: Command line warning: ignoring option '-M'; no argument required
4611
# The diagnosis changed in icc 8.0:
4612
# icc: Command line remark: option '-MP' not supported
4613
if (grep 'ignoring option' conftest.err ||
4614
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4615
am_cv_CC_dependencies_compiler_type=$depmode
4624
am_cv_CC_dependencies_compiler_type=none
4628
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4629
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4630
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4635
test "x$enable_dependency_tracking" != xno \
4636
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4638
am__fastdepCC_FALSE='#'
4640
am__fastdepCC_TRUE='#'
4641
am__fastdepCC_FALSE=
4645
# Check whether --enable-shared was given.
4646
if test "${enable_shared+set}" = set; then
4647
enableval=$enable_shared; p=${PACKAGE-default}
4649
yes) enable_shared=yes ;;
4650
no) enable_shared=no ;;
4653
# Look at the argument we got. We use all the common list separators.
4654
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4655
for pkg in $enableval; do
4657
if test "X$pkg" = "X$p"; then
4669
# Check whether --enable-static was given.
4670
if test "${enable_static+set}" = set; then
4671
enableval=$enable_static; p=${PACKAGE-default}
4673
yes) enable_static=yes ;;
4674
no) enable_static=no ;;
4677
# Look at the argument we got. We use all the common list separators.
4678
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4679
for pkg in $enableval; do
4681
if test "X$pkg" = "X$p"; then
4693
# Check whether --enable-fast-install was given.
4694
if test "${enable_fast_install+set}" = set; then
4695
enableval=$enable_fast_install; p=${PACKAGE-default}
4697
yes) enable_fast_install=yes ;;
4698
no) enable_fast_install=no ;;
4700
enable_fast_install=no
4701
# Look at the argument we got. We use all the common list separators.
4702
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4703
for pkg in $enableval; do
4705
if test "X$pkg" = "X$p"; then
4706
enable_fast_install=yes
4713
enable_fast_install=yes
4717
# Make sure we can run config.sub.
4718
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4719
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4720
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4721
{ (exit 1); exit 1; }; }
4723
{ echo "$as_me:$LINENO: checking build system type" >&5
4724
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4725
if test "${ac_cv_build+set}" = set; then
4726
echo $ECHO_N "(cached) $ECHO_C" >&6
4728
ac_build_alias=$build_alias
4729
test "x$ac_build_alias" = x &&
4730
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4731
test "x$ac_build_alias" = x &&
4732
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4733
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4734
{ (exit 1); exit 1; }; }
4735
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4736
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4737
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4738
{ (exit 1); exit 1; }; }
4741
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4742
echo "${ECHO_T}$ac_cv_build" >&6; }
4743
case $ac_cv_build in
4745
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4746
echo "$as_me: error: invalid value of canonical build" >&2;}
4747
{ (exit 1); exit 1; }; };;
4750
ac_save_IFS=$IFS; IFS='-'
4756
# Remember, the first character of IFS is used to create $*,
4757
# except with old shells:
4760
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4763
{ echo "$as_me:$LINENO: checking host system type" >&5
4764
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4765
if test "${ac_cv_host+set}" = set; then
4766
echo $ECHO_N "(cached) $ECHO_C" >&6
4768
if test "x$host_alias" = x; then
4769
ac_cv_host=$ac_cv_build
4771
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4772
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4773
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4774
{ (exit 1); exit 1; }; }
4778
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4779
echo "${ECHO_T}$ac_cv_host" >&6; }
4782
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4783
echo "$as_me: error: invalid value of canonical host" >&2;}
4784
{ (exit 1); exit 1; }; };;
4787
ac_save_IFS=$IFS; IFS='-'
4793
# Remember, the first character of IFS is used to create $*,
4794
# except with old shells:
4797
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4800
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4801
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4802
if test "${lt_cv_path_SED+set}" = set; then
4803
echo $ECHO_N "(cached) $ECHO_C" >&6
4805
# Loop through the user's path and test for sed and gsed.
4806
# Then use that list of sed's as ones to test for truncation.
4807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811
test -z "$as_dir" && as_dir=.
4812
for lt_ac_prog in sed gsed; do
4813
for ac_exec_ext in '' $ac_executable_extensions; do
4814
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4815
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4823
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4824
# along with /bin/sed that truncates output.
4825
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4826
test ! -f $lt_ac_sed && continue
4827
cat /dev/null > conftest.in
4829
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4830
# Check for GNU sed and select it if it is found.
4831
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4832
lt_cv_path_SED=$lt_ac_sed
4836
cat conftest.in conftest.in >conftest.tmp
4837
mv conftest.tmp conftest.in
4838
cp conftest.in conftest.nl
4840
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4841
cmp -s conftest.out conftest.nl || break
4842
# 10000 chars as input seems more than enough
4843
test $lt_ac_count -gt 10 && break
4844
lt_ac_count=`expr $lt_ac_count + 1`
4845
if test $lt_ac_count -gt $lt_ac_max; then
4846
lt_ac_max=$lt_ac_count
4847
lt_cv_path_SED=$lt_ac_sed
4856
{ echo "$as_me:$LINENO: result: $SED" >&5
4857
echo "${ECHO_T}$SED" >&6; }
4859
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4860
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4861
if test "${ac_cv_path_GREP+set}" = set; then
4862
echo $ECHO_N "(cached) $ECHO_C" >&6
4864
# Extract the first word of "grep ggrep" to use in msg output
4865
if test -z "$GREP"; then
4866
set dummy grep ggrep; ac_prog_name=$2
4867
if test "${ac_cv_path_GREP+set}" = set; then
4868
echo $ECHO_N "(cached) $ECHO_C" >&6
4870
ac_path_GREP_found=false
4871
# Loop through the user's path and test for each of PROGNAME-LIST
4872
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4876
test -z "$as_dir" && as_dir=.
4877
for ac_prog in grep ggrep; do
4878
for ac_exec_ext in '' $ac_executable_extensions; do
4879
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4880
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4881
# Check for GNU ac_path_GREP and select it if it is found.
4882
# Check for GNU $ac_path_GREP
4883
case `"$ac_path_GREP" --version 2>&1` in
4885
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4888
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4891
cat "conftest.in" "conftest.in" >"conftest.tmp"
4892
mv "conftest.tmp" "conftest.in"
4893
cp "conftest.in" "conftest.nl"
4894
echo 'GREP' >> "conftest.nl"
4895
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4896
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4897
ac_count=`expr $ac_count + 1`
4898
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4899
# Best one so far, save it but keep looking for a better one
4900
ac_cv_path_GREP="$ac_path_GREP"
4901
ac_path_GREP_max=$ac_count
4903
# 10*(2^10) chars as input seems more than enough
4904
test $ac_count -gt 10 && break
4906
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4910
$ac_path_GREP_found && break 3
4920
GREP="$ac_cv_path_GREP"
4921
if test -z "$GREP"; then
4922
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4923
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4924
{ (exit 1); exit 1; }; }
4928
ac_cv_path_GREP=$GREP
4933
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4934
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4935
GREP="$ac_cv_path_GREP"
4938
{ echo "$as_me:$LINENO: checking for egrep" >&5
4939
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4940
if test "${ac_cv_path_EGREP+set}" = set; then
4941
echo $ECHO_N "(cached) $ECHO_C" >&6
4943
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4944
then ac_cv_path_EGREP="$GREP -E"
4946
# Extract the first word of "egrep" to use in msg output
4947
if test -z "$EGREP"; then
4948
set dummy egrep; ac_prog_name=$2
4949
if test "${ac_cv_path_EGREP+set}" = set; then
4950
echo $ECHO_N "(cached) $ECHO_C" >&6
4952
ac_path_EGREP_found=false
4953
# Loop through the user's path and test for each of PROGNAME-LIST
4954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4958
test -z "$as_dir" && as_dir=.
4959
for ac_prog in egrep; do
4960
for ac_exec_ext in '' $ac_executable_extensions; do
4961
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4962
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4963
# Check for GNU ac_path_EGREP and select it if it is found.
4964
# Check for GNU $ac_path_EGREP
4965
case `"$ac_path_EGREP" --version 2>&1` in
4967
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4970
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4973
cat "conftest.in" "conftest.in" >"conftest.tmp"
4974
mv "conftest.tmp" "conftest.in"
4975
cp "conftest.in" "conftest.nl"
4976
echo 'EGREP' >> "conftest.nl"
4977
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979
ac_count=`expr $ac_count + 1`
4980
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4981
# Best one so far, save it but keep looking for a better one
4982
ac_cv_path_EGREP="$ac_path_EGREP"
4983
ac_path_EGREP_max=$ac_count
4985
# 10*(2^10) chars as input seems more than enough
4986
test $ac_count -gt 10 && break
4988
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4992
$ac_path_EGREP_found && break 3
5002
EGREP="$ac_cv_path_EGREP"
5003
if test -z "$EGREP"; then
5004
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5005
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5006
{ (exit 1); exit 1; }; }
5010
ac_cv_path_EGREP=$EGREP
5016
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5017
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5018
EGREP="$ac_cv_path_EGREP"
5022
# Check whether --with-gnu-ld was given.
5023
if test "${with_gnu_ld+set}" = set; then
5024
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5030
if test "$GCC" = yes; then
5031
# Check if gcc -print-prog-name=ld gives a path.
5032
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5033
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5036
# gcc leaves a trailing carriage return which upsets mingw
5037
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5039
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5042
# Accept absolute paths.
5044
re_direlt='/[^/][^/]*/\.\./'
5045
# Canonicalize the pathname of ld
5046
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5047
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5048
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5050
test -z "$LD" && LD="$ac_prog"
5053
# If it fails, then pretend we aren't using GCC.
5057
# If it is relative, then search for the first ld in PATH.
5061
elif test "$with_gnu_ld" = yes; then
5062
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
5063
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5065
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5066
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5068
if test "${lt_cv_path_LD+set}" = set; then
5069
echo $ECHO_N "(cached) $ECHO_C" >&6
5071
if test -z "$LD"; then
5072
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5073
for ac_dir in $PATH; do
5075
test -z "$ac_dir" && ac_dir=.
5076
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5077
lt_cv_path_LD="$ac_dir/$ac_prog"
5078
# Check to see if the program is GNU ld. I'd rather use --version,
5079
# but apparently some variants of GNU ld only accept -v.
5080
# Break only if it was the GNU/non-GNU ld that we prefer.
5081
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5082
*GNU* | *'with BFD'*)
5083
test "$with_gnu_ld" != no && break
5086
test "$with_gnu_ld" != yes && break
5093
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5098
if test -n "$LD"; then
5099
{ echo "$as_me:$LINENO: result: $LD" >&5
5100
echo "${ECHO_T}$LD" >&6; }
5102
{ echo "$as_me:$LINENO: result: no" >&5
5103
echo "${ECHO_T}no" >&6; }
5105
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5106
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5107
{ (exit 1); exit 1; }; }
5108
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5109
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5110
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5111
echo $ECHO_N "(cached) $ECHO_C" >&6
5113
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5114
case `$LD -v 2>&1 </dev/null` in
5115
*GNU* | *'with BFD'*)
5116
lt_cv_prog_gnu_ld=yes
5119
lt_cv_prog_gnu_ld=no
5123
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5124
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5125
with_gnu_ld=$lt_cv_prog_gnu_ld
5128
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5129
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5130
if test "${lt_cv_ld_reload_flag+set}" = set; then
5131
echo $ECHO_N "(cached) $ECHO_C" >&6
5133
lt_cv_ld_reload_flag='-r'
5135
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5136
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5137
reload_flag=$lt_cv_ld_reload_flag
5138
case $reload_flag in
5140
*) reload_flag=" $reload_flag" ;;
5142
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5145
if test "$GCC" = yes; then
5146
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5148
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5153
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5154
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5155
if test "${lt_cv_path_NM+set}" = set; then
5156
echo $ECHO_N "(cached) $ECHO_C" >&6
5158
if test -n "$NM"; then
5159
# Let the user override the test.
5162
lt_nm_to_check="${ac_tool_prefix}nm"
5163
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5164
lt_nm_to_check="$lt_nm_to_check nm"
5166
for lt_tmp_nm in $lt_nm_to_check; do
5167
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5168
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5170
test -z "$ac_dir" && ac_dir=.
5171
tmp_nm="$ac_dir/$lt_tmp_nm"
5172
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5173
# Check to see if the nm accepts a BSD-compat flag.
5174
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5175
# nm: unknown option "B" ignored
5176
# Tru64's nm complains that /dev/null is an invalid object file
5177
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5178
*/dev/null* | *'Invalid file or object type'*)
5179
lt_cv_path_NM="$tmp_nm -B"
5183
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5185
lt_cv_path_NM="$tmp_nm -p"
5189
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5190
continue # so that we can try to find one that supports BSD flags
5199
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5202
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5203
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5206
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5207
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5209
if test "$LN_S" = "ln -s"; then
5210
{ echo "$as_me:$LINENO: result: yes" >&5
5211
echo "${ECHO_T}yes" >&6; }
5213
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5214
echo "${ECHO_T}no, using $LN_S" >&6; }
5217
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5218
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5219
if test "${lt_cv_deplibs_check_method+set}" = set; then
5220
echo $ECHO_N "(cached) $ECHO_C" >&6
5222
lt_cv_file_magic_cmd='$MAGIC_CMD'
5223
lt_cv_file_magic_test_file=
5224
lt_cv_deplibs_check_method='unknown'
5225
# Need to set the preceding variable on all platforms that support
5226
# interlibrary dependencies.
5227
# 'none' -- dependencies not supported.
5228
# `unknown' -- same as none, but documents that we really don't know.
5229
# 'pass_all' -- all dependencies passed with no checks.
5230
# 'test_compile' -- check by making test program.
5231
# 'file_magic [[regex]]' -- check by looking for files in library path
5232
# which responds to the $file_magic_cmd with a given extended regex.
5233
# If you have `file' or equivalent on your system and you're not sure
5234
# whether `pass_all' will *always* work, you probably want this one.
5238
lt_cv_deplibs_check_method=pass_all
5242
lt_cv_deplibs_check_method=pass_all
5246
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5247
lt_cv_file_magic_cmd='/usr/bin/file -L'
5248
lt_cv_file_magic_test_file=/shlib/libc.so
5252
# func_win32_libid is a shell function defined in ltmain.sh
5253
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5254
lt_cv_file_magic_cmd='func_win32_libid'
5258
# Base MSYS/MinGW do not provide the 'file' command needed by
5259
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5260
# unless we find 'file', for example because we are cross-compiling.
5261
if ( file / ) >/dev/null 2>&1; then
5262
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5263
lt_cv_file_magic_cmd='func_win32_libid'
5265
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5266
lt_cv_file_magic_cmd='$OBJDUMP -f'
5270
darwin* | rhapsody*)
5271
lt_cv_deplibs_check_method=pass_all
5274
freebsd* | dragonfly*)
5275
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5278
# Not sure whether the presence of OpenBSD here was a mistake.
5279
# Let's accept both of them until this is cleared up.
5280
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5281
lt_cv_file_magic_cmd=/usr/bin/file
5282
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5286
lt_cv_deplibs_check_method=pass_all
5291
lt_cv_deplibs_check_method=pass_all
5294
hpux10.20* | hpux11*)
5295
lt_cv_file_magic_cmd=/usr/bin/file
5298
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5299
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5302
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5303
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5306
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5307
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5313
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5314
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5317
irix5* | irix6* | nonstopux*)
5319
*-32|*"-32 ") libmagic=32-bit;;
5320
*-n32|*"-n32 ") libmagic=N32;;
5321
*-64|*"-64 ") libmagic=64-bit;;
5322
*) libmagic=never-match;;
5324
lt_cv_deplibs_check_method=pass_all
5327
# This must be Linux ELF.
5328
linux* | k*bsd*-gnu)
5329
lt_cv_deplibs_check_method=pass_all
5332
netbsd* | netbsdelf*-gnu)
5333
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5334
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5336
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5341
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5342
lt_cv_file_magic_cmd=/usr/bin/file
5343
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5347
lt_cv_deplibs_check_method=unknown
5351
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5352
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5354
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5358
osf3* | osf4* | osf5*)
5359
lt_cv_deplibs_check_method=pass_all
5363
lt_cv_deplibs_check_method=pass_all
5367
lt_cv_deplibs_check_method=pass_all
5371
case $host_vendor in
5373
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5374
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5377
lt_cv_deplibs_check_method=pass_all
5380
lt_cv_file_magic_cmd='/bin/file'
5381
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5384
lt_cv_file_magic_cmd='/bin/file'
5385
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5386
lt_cv_file_magic_test_file=/lib/libc.so
5389
lt_cv_deplibs_check_method=pass_all
5392
lt_cv_deplibs_check_method=pass_all
5397
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5398
lt_cv_deplibs_check_method=pass_all
5403
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5404
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5405
file_magic_cmd=$lt_cv_file_magic_cmd
5406
deplibs_check_method=$lt_cv_deplibs_check_method
5407
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5412
# If no C compiler was specified, use CC.
5415
# If no C compiler flags were specified, use CFLAGS.
5416
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5418
# Allow CC to be a program name with arguments.
5421
# Check whether --enable-libtool-lock was given.
5422
if test "${enable_libtool_lock+set}" = set; then
5423
enableval=$enable_libtool_lock;
5426
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5428
# Some flags need to be propagated to the compiler or linker for good
5432
# Find out which ABI we are using.
5433
echo 'int i;' > conftest.$ac_ext
5434
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5435
(eval $ac_compile) 2>&5
5437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438
(exit $ac_status); }; then
5439
case `/usr/bin/file conftest.$ac_objext` in
5451
# Find out which ABI we are using.
5452
echo '#line 5452 "configure"' > conftest.$ac_ext
5453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5454
(eval $ac_compile) 2>&5
5456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457
(exit $ac_status); }; then
5458
if test "$lt_cv_prog_gnu_ld" = yes; then
5459
case `/usr/bin/file conftest.$ac_objext` in
5461
LD="${LD-ld} -melf32bsmip"
5464
LD="${LD-ld} -melf32bmipn32"
5467
LD="${LD-ld} -melf64bmip"
5471
case `/usr/bin/file conftest.$ac_objext` in
5487
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5488
s390*-*linux*|sparc*-*linux*)
5489
# Find out which ABI we are using.
5490
echo 'int i;' > conftest.$ac_ext
5491
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492
(eval $ac_compile) 2>&5
5494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495
(exit $ac_status); }; then
5496
case `/usr/bin/file conftest.o` in
5499
x86_64-*kfreebsd*-gnu)
5500
LD="${LD-ld} -m elf_i386_fbsd"
5503
LD="${LD-ld} -m elf_i386"
5505
ppc64-*linux*|powerpc64-*linux*)
5506
LD="${LD-ld} -m elf32ppclinux"
5509
LD="${LD-ld} -m elf_s390"
5512
LD="${LD-ld} -m elf32_sparc"
5518
x86_64-*kfreebsd*-gnu)
5519
LD="${LD-ld} -m elf_x86_64_fbsd"
5522
LD="${LD-ld} -m elf_x86_64"
5524
ppc*-*linux*|powerpc*-*linux*)
5525
LD="${LD-ld} -m elf64ppc"
5528
LD="${LD-ld} -m elf64_s390"
5531
LD="${LD-ld} -m elf64_sparc"
5541
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5542
SAVE_CFLAGS="$CFLAGS"
5543
CFLAGS="$CFLAGS -belf"
5544
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5545
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5546
if test "${lt_cv_cc_needs_belf+set}" = set; then
5547
echo $ECHO_N "(cached) $ECHO_C" >&6
5550
ac_cpp='$CPP $CPPFLAGS'
5551
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5552
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555
cat >conftest.$ac_ext <<_ACEOF
5558
cat confdefs.h >>conftest.$ac_ext
5559
cat >>conftest.$ac_ext <<_ACEOF
5560
/* end confdefs.h. */
5570
rm -f conftest.$ac_objext conftest$ac_exeext
5571
if { (ac_try="$ac_link"
5573
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5574
*) ac_try_echo=$ac_try;;
5576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577
(eval "$ac_link") 2>conftest.er1
5579
grep -v '^ *+' conftest.er1 >conftest.err
5581
cat conftest.err >&5
5582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583
(exit $ac_status); } && {
5584
test -z "$ac_c_werror_flag" ||
5585
test ! -s conftest.err
5586
} && test -s conftest$ac_exeext &&
5587
$as_test_x conftest$ac_exeext; then
5588
lt_cv_cc_needs_belf=yes
5590
echo "$as_me: failed program was:" >&5
5591
sed 's/^/| /' conftest.$ac_ext >&5
5593
lt_cv_cc_needs_belf=no
5596
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5597
conftest$ac_exeext conftest.$ac_ext
5599
ac_cpp='$CPP $CPPFLAGS'
5600
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5601
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5602
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5605
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5606
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5607
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5608
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5609
CFLAGS="$SAVE_CFLAGS"
5613
# Find out which ABI we are using.
5614
echo 'int i;' > conftest.$ac_ext
5615
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616
(eval $ac_compile) 2>&5
5618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619
(exit $ac_status); }; then
5620
case `/usr/bin/file conftest.o` in
5622
case $lt_cv_prog_gnu_ld in
5623
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5624
*) LD="${LD-ld} -64" ;;
5635
need_locks="$enable_libtool_lock"
5639
ac_cpp='$CPP $CPPFLAGS'
5640
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5643
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5644
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5645
# On Suns, sometimes $CPP names a directory.
5646
if test -n "$CPP" && test -d "$CPP"; then
5649
if test -z "$CPP"; then
5650
if test "${ac_cv_prog_CPP+set}" = set; then
5651
echo $ECHO_N "(cached) $ECHO_C" >&6
5653
# Double quotes because CPP needs to be expanded
5654
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5657
for ac_c_preproc_warn_flag in '' yes
5659
# Use a header file that comes with gcc, so configuring glibc
5660
# with a fresh cross-compiler works.
5661
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5662
# <limits.h> exists even on freestanding compilers.
5663
# On the NeXT, cc -E runs the code through the compiler's parser,
5664
# not just through cpp. "Syntax error" is here to catch this case.
5665
cat >conftest.$ac_ext <<_ACEOF
5668
cat confdefs.h >>conftest.$ac_ext
5669
cat >>conftest.$ac_ext <<_ACEOF
5670
/* end confdefs.h. */
5672
# include <limits.h>
5674
# include <assert.h>
5678
if { (ac_try="$ac_cpp conftest.$ac_ext"
5680
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681
*) ac_try_echo=$ac_try;;
5683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5686
grep -v '^ *+' conftest.er1 >conftest.err
5688
cat conftest.err >&5
5689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
(exit $ac_status); } >/dev/null && {
5691
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5692
test ! -s conftest.err
5696
echo "$as_me: failed program was:" >&5
5697
sed 's/^/| /' conftest.$ac_ext >&5
5699
# Broken: fails on valid input.
5703
rm -f conftest.err conftest.$ac_ext
5705
# OK, works on sane cases. Now check whether nonexistent headers
5706
# can be detected and how.
5707
cat >conftest.$ac_ext <<_ACEOF
5710
cat confdefs.h >>conftest.$ac_ext
5711
cat >>conftest.$ac_ext <<_ACEOF
5712
/* end confdefs.h. */
5713
#include <ac_nonexistent.h>
5715
if { (ac_try="$ac_cpp conftest.$ac_ext"
5717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718
*) ac_try_echo=$ac_try;;
5720
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5721
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5723
grep -v '^ *+' conftest.er1 >conftest.err
5725
cat conftest.err >&5
5726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727
(exit $ac_status); } >/dev/null && {
5728
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5729
test ! -s conftest.err
5731
# Broken: success on invalid input.
5734
echo "$as_me: failed program was:" >&5
5735
sed 's/^/| /' conftest.$ac_ext >&5
5737
# Passes both tests.
5742
rm -f conftest.err conftest.$ac_ext
5745
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5746
rm -f conftest.err conftest.$ac_ext
5747
if $ac_preproc_ok; then
5759
{ echo "$as_me:$LINENO: result: $CPP" >&5
5760
echo "${ECHO_T}$CPP" >&6; }
5762
for ac_c_preproc_warn_flag in '' yes
5764
# Use a header file that comes with gcc, so configuring glibc
5765
# with a fresh cross-compiler works.
5766
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5767
# <limits.h> exists even on freestanding compilers.
5768
# On the NeXT, cc -E runs the code through the compiler's parser,
5769
# not just through cpp. "Syntax error" is here to catch this case.
5770
cat >conftest.$ac_ext <<_ACEOF
5773
cat confdefs.h >>conftest.$ac_ext
5774
cat >>conftest.$ac_ext <<_ACEOF
5775
/* end confdefs.h. */
5777
# include <limits.h>
5779
# include <assert.h>
5783
if { (ac_try="$ac_cpp conftest.$ac_ext"
5785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786
*) ac_try_echo=$ac_try;;
5788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5789
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5791
grep -v '^ *+' conftest.er1 >conftest.err
5793
cat conftest.err >&5
5794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795
(exit $ac_status); } >/dev/null && {
5796
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5797
test ! -s conftest.err
5801
echo "$as_me: failed program was:" >&5
5802
sed 's/^/| /' conftest.$ac_ext >&5
5804
# Broken: fails on valid input.
5808
rm -f conftest.err conftest.$ac_ext
5810
# OK, works on sane cases. Now check whether nonexistent headers
5811
# can be detected and how.
5812
cat >conftest.$ac_ext <<_ACEOF
5815
cat confdefs.h >>conftest.$ac_ext
5816
cat >>conftest.$ac_ext <<_ACEOF
5817
/* end confdefs.h. */
5818
#include <ac_nonexistent.h>
5820
if { (ac_try="$ac_cpp conftest.$ac_ext"
5822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823
*) ac_try_echo=$ac_try;;
5825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5826
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5828
grep -v '^ *+' conftest.er1 >conftest.err
5830
cat conftest.err >&5
5831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832
(exit $ac_status); } >/dev/null && {
5833
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5834
test ! -s conftest.err
5836
# Broken: success on invalid input.
5839
echo "$as_me: failed program was:" >&5
5840
sed 's/^/| /' conftest.$ac_ext >&5
5842
# Passes both tests.
5847
rm -f conftest.err conftest.$ac_ext
5850
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5851
rm -f conftest.err conftest.$ac_ext
5852
if $ac_preproc_ok; then
5855
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5856
See \`config.log' for more details." >&5
5857
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5858
See \`config.log' for more details." >&2;}
5859
{ (exit 1); exit 1; }; }
5863
ac_cpp='$CPP $CPPFLAGS'
5864
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5865
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5866
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5869
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5870
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5871
if test "${ac_cv_header_stdc+set}" = set; then
5872
echo $ECHO_N "(cached) $ECHO_C" >&6
5874
cat >conftest.$ac_ext <<_ACEOF
5877
cat confdefs.h >>conftest.$ac_ext
5878
cat >>conftest.$ac_ext <<_ACEOF
5879
/* end confdefs.h. */
5893
rm -f conftest.$ac_objext
5894
if { (ac_try="$ac_compile"
5896
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5897
*) ac_try_echo=$ac_try;;
5899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5900
(eval "$ac_compile") 2>conftest.er1
5902
grep -v '^ *+' conftest.er1 >conftest.err
5904
cat conftest.err >&5
5905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906
(exit $ac_status); } && {
5907
test -z "$ac_c_werror_flag" ||
5908
test ! -s conftest.err
5909
} && test -s conftest.$ac_objext; then
5910
ac_cv_header_stdc=yes
5912
echo "$as_me: failed program was:" >&5
5913
sed 's/^/| /' conftest.$ac_ext >&5
5915
ac_cv_header_stdc=no
5918
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5920
if test $ac_cv_header_stdc = yes; then
5921
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5922
cat >conftest.$ac_ext <<_ACEOF
5925
cat confdefs.h >>conftest.$ac_ext
5926
cat >>conftest.$ac_ext <<_ACEOF
5927
/* end confdefs.h. */
5931
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932
$EGREP "memchr" >/dev/null 2>&1; then
5935
ac_cv_header_stdc=no
5941
if test $ac_cv_header_stdc = yes; then
5942
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5943
cat >conftest.$ac_ext <<_ACEOF
5946
cat confdefs.h >>conftest.$ac_ext
5947
cat >>conftest.$ac_ext <<_ACEOF
5948
/* end confdefs.h. */
5952
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5953
$EGREP "free" >/dev/null 2>&1; then
5956
ac_cv_header_stdc=no
5962
if test $ac_cv_header_stdc = yes; then
5963
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5964
if test "$cross_compiling" = yes; then
5967
cat >conftest.$ac_ext <<_ACEOF
5970
cat confdefs.h >>conftest.$ac_ext
5971
cat >>conftest.$ac_ext <<_ACEOF
5972
/* end confdefs.h. */
5975
#if ((' ' & 0x0FF) == 0x020)
5976
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5977
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5979
# define ISLOWER(c) \
5980
(('a' <= (c) && (c) <= 'i') \
5981
|| ('j' <= (c) && (c) <= 'r') \
5982
|| ('s' <= (c) && (c) <= 'z'))
5983
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5986
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5991
for (i = 0; i < 256; i++)
5992
if (XOR (islower (i), ISLOWER (i))
5993
|| toupper (i) != TOUPPER (i))
5998
rm -f conftest$ac_exeext
5999
if { (ac_try="$ac_link"
6001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6002
*) ac_try_echo=$ac_try;;
6004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005
(eval "$ac_link") 2>&5
6007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6009
{ (case "(($ac_try" in
6010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011
*) ac_try_echo=$ac_try;;
6013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014
(eval "$ac_try") 2>&5
6016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017
(exit $ac_status); }; }; then
6020
echo "$as_me: program exited with status $ac_status" >&5
6021
echo "$as_me: failed program was:" >&5
6022
sed 's/^/| /' conftest.$ac_ext >&5
6025
ac_cv_header_stdc=no
6027
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6033
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6034
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6035
if test $ac_cv_header_stdc = yes; then
6037
cat >>confdefs.h <<\_ACEOF
6038
#define STDC_HEADERS 1
6043
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6053
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6054
inttypes.h stdint.h unistd.h
6056
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6057
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6058
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6059
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6060
echo $ECHO_N "(cached) $ECHO_C" >&6
6062
cat >conftest.$ac_ext <<_ACEOF
6065
cat confdefs.h >>conftest.$ac_ext
6066
cat >>conftest.$ac_ext <<_ACEOF
6067
/* end confdefs.h. */
6068
$ac_includes_default
6070
#include <$ac_header>
6072
rm -f conftest.$ac_objext
6073
if { (ac_try="$ac_compile"
6075
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076
*) ac_try_echo=$ac_try;;
6078
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079
(eval "$ac_compile") 2>conftest.er1
6081
grep -v '^ *+' conftest.er1 >conftest.err
6083
cat conftest.err >&5
6084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085
(exit $ac_status); } && {
6086
test -z "$ac_c_werror_flag" ||
6087
test ! -s conftest.err
6088
} && test -s conftest.$ac_objext; then
6089
eval "$as_ac_Header=yes"
6091
echo "$as_me: failed program was:" >&5
6092
sed 's/^/| /' conftest.$ac_ext >&5
6094
eval "$as_ac_Header=no"
6097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6099
ac_res=`eval echo '${'$as_ac_Header'}'`
6100
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6101
echo "${ECHO_T}$ac_res" >&6; }
6102
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6103
cat >>confdefs.h <<_ACEOF
6104
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6113
for ac_header in dlfcn.h
6115
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6116
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6117
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6118
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6119
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6120
echo $ECHO_N "(cached) $ECHO_C" >&6
6122
ac_res=`eval echo '${'$as_ac_Header'}'`
6123
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6124
echo "${ECHO_T}$ac_res" >&6; }
6126
# Is the header compilable?
6127
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6128
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6129
cat >conftest.$ac_ext <<_ACEOF
6132
cat confdefs.h >>conftest.$ac_ext
6133
cat >>conftest.$ac_ext <<_ACEOF
6134
/* end confdefs.h. */
6135
$ac_includes_default
6136
#include <$ac_header>
6138
rm -f conftest.$ac_objext
6139
if { (ac_try="$ac_compile"
6141
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142
*) ac_try_echo=$ac_try;;
6144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145
(eval "$ac_compile") 2>conftest.er1
6147
grep -v '^ *+' conftest.er1 >conftest.err
6149
cat conftest.err >&5
6150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
(exit $ac_status); } && {
6152
test -z "$ac_c_werror_flag" ||
6153
test ! -s conftest.err
6154
} && test -s conftest.$ac_objext; then
6155
ac_header_compiler=yes
6157
echo "$as_me: failed program was:" >&5
6158
sed 's/^/| /' conftest.$ac_ext >&5
6160
ac_header_compiler=no
6163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6165
echo "${ECHO_T}$ac_header_compiler" >&6; }
6167
# Is the header present?
6168
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6169
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6170
cat >conftest.$ac_ext <<_ACEOF
6173
cat confdefs.h >>conftest.$ac_ext
6174
cat >>conftest.$ac_ext <<_ACEOF
6175
/* end confdefs.h. */
6176
#include <$ac_header>
6178
if { (ac_try="$ac_cpp conftest.$ac_ext"
6180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6181
*) ac_try_echo=$ac_try;;
6183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6186
grep -v '^ *+' conftest.er1 >conftest.err
6188
cat conftest.err >&5
6189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190
(exit $ac_status); } >/dev/null && {
6191
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6192
test ! -s conftest.err
6194
ac_header_preproc=yes
6196
echo "$as_me: failed program was:" >&5
6197
sed 's/^/| /' conftest.$ac_ext >&5
6199
ac_header_preproc=no
6202
rm -f conftest.err conftest.$ac_ext
6203
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6204
echo "${ECHO_T}$ac_header_preproc" >&6; }
6206
# So? What about this header?
6207
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6209
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6210
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6211
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6212
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6213
ac_header_preproc=yes
6216
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6217
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6218
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6219
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6220
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6221
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6222
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6223
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6224
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6225
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6226
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6227
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6231
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6232
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6233
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6234
echo $ECHO_N "(cached) $ECHO_C" >&6
6236
eval "$as_ac_Header=\$ac_header_preproc"
6238
ac_res=`eval echo '${'$as_ac_Header'}'`
6239
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6240
echo "${ECHO_T}$ac_res" >&6; }
6243
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6244
cat >>confdefs.h <<_ACEOF
6245
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6253
ac_cpp='$CXXCPP $CPPFLAGS'
6254
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6257
if test -z "$CXX"; then
6258
if test -n "$CCC"; then
6261
if test -n "$ac_tool_prefix"; then
6262
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6264
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6265
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6266
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6267
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6268
if test "${ac_cv_prog_CXX+set}" = set; then
6269
echo $ECHO_N "(cached) $ECHO_C" >&6
6271
if test -n "$CXX"; then
6272
ac_cv_prog_CXX="$CXX" # Let the user override the test.
6274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278
test -z "$as_dir" && as_dir=.
6279
for ac_exec_ext in '' $ac_executable_extensions; do
6280
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6282
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6292
if test -n "$CXX"; then
6293
{ echo "$as_me:$LINENO: result: $CXX" >&5
6294
echo "${ECHO_T}$CXX" >&6; }
6296
{ echo "$as_me:$LINENO: result: no" >&5
6297
echo "${ECHO_T}no" >&6; }
6301
test -n "$CXX" && break
6304
if test -z "$CXX"; then
6306
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6308
# Extract the first word of "$ac_prog", so it can be a program name with args.
6309
set dummy $ac_prog; ac_word=$2
6310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6312
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6313
echo $ECHO_N "(cached) $ECHO_C" >&6
6315
if test -n "$ac_ct_CXX"; then
6316
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322
test -z "$as_dir" && as_dir=.
6323
for ac_exec_ext in '' $ac_executable_extensions; do
6324
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325
ac_cv_prog_ac_ct_CXX="$ac_prog"
6326
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6336
if test -n "$ac_ct_CXX"; then
6337
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6338
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6340
{ echo "$as_me:$LINENO: result: no" >&5
6341
echo "${ECHO_T}no" >&6; }
6345
test -n "$ac_ct_CXX" && break
6348
if test "x$ac_ct_CXX" = x; then
6351
case $cross_compiling:$ac_tool_warned in
6353
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6354
whose name does not start with the host triplet. If you think this
6355
configuration is useful to you, please write to autoconf@gnu.org." >&5
6356
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6357
whose name does not start with the host triplet. If you think this
6358
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6359
ac_tool_warned=yes ;;
6367
# Provide some information about the compiler.
6368
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6369
ac_compiler=`set X $ac_compile; echo $2`
6370
{ (ac_try="$ac_compiler --version >&5"
6372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373
*) ac_try_echo=$ac_try;;
6375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376
(eval "$ac_compiler --version >&5") 2>&5
6378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
(exit $ac_status); }
6380
{ (ac_try="$ac_compiler -v >&5"
6382
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383
*) ac_try_echo=$ac_try;;
6385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386
(eval "$ac_compiler -v >&5") 2>&5
6388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389
(exit $ac_status); }
6390
{ (ac_try="$ac_compiler -V >&5"
6392
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393
*) ac_try_echo=$ac_try;;
6395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6396
(eval "$ac_compiler -V >&5") 2>&5
6398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
(exit $ac_status); }
6401
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6402
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6403
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6404
echo $ECHO_N "(cached) $ECHO_C" >&6
6406
cat >conftest.$ac_ext <<_ACEOF
6409
cat confdefs.h >>conftest.$ac_ext
6410
cat >>conftest.$ac_ext <<_ACEOF
6411
/* end confdefs.h. */
6424
rm -f conftest.$ac_objext
6425
if { (ac_try="$ac_compile"
6427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6428
*) ac_try_echo=$ac_try;;
6430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431
(eval "$ac_compile") 2>conftest.er1
6433
grep -v '^ *+' conftest.er1 >conftest.err
6435
cat conftest.err >&5
6436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437
(exit $ac_status); } && {
6438
test -z "$ac_cxx_werror_flag" ||
6439
test ! -s conftest.err
6440
} && test -s conftest.$ac_objext; then
6443
echo "$as_me: failed program was:" >&5
6444
sed 's/^/| /' conftest.$ac_ext >&5
6449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6453
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6454
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6455
GXX=`test $ac_compiler_gnu = yes && echo yes`
6456
ac_test_CXXFLAGS=${CXXFLAGS+set}
6457
ac_save_CXXFLAGS=$CXXFLAGS
6458
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6459
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6460
if test "${ac_cv_prog_cxx_g+set}" = set; then
6461
echo $ECHO_N "(cached) $ECHO_C" >&6
6463
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6464
ac_cxx_werror_flag=yes
6467
cat >conftest.$ac_ext <<_ACEOF
6470
cat confdefs.h >>conftest.$ac_ext
6471
cat >>conftest.$ac_ext <<_ACEOF
6472
/* end confdefs.h. */
6482
rm -f conftest.$ac_objext
6483
if { (ac_try="$ac_compile"
6485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486
*) ac_try_echo=$ac_try;;
6488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489
(eval "$ac_compile") 2>conftest.er1
6491
grep -v '^ *+' conftest.er1 >conftest.err
6493
cat conftest.err >&5
6494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
(exit $ac_status); } && {
6496
test -z "$ac_cxx_werror_flag" ||
6497
test ! -s conftest.err
6498
} && test -s conftest.$ac_objext; then
6499
ac_cv_prog_cxx_g=yes
6501
echo "$as_me: failed program was:" >&5
6502
sed 's/^/| /' conftest.$ac_ext >&5
6505
cat >conftest.$ac_ext <<_ACEOF
6508
cat confdefs.h >>conftest.$ac_ext
6509
cat >>conftest.$ac_ext <<_ACEOF
6510
/* end confdefs.h. */
6520
rm -f conftest.$ac_objext
6521
if { (ac_try="$ac_compile"
6523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6524
*) ac_try_echo=$ac_try;;
6526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527
(eval "$ac_compile") 2>conftest.er1
6529
grep -v '^ *+' conftest.er1 >conftest.err
6531
cat conftest.err >&5
6532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533
(exit $ac_status); } && {
6534
test -z "$ac_cxx_werror_flag" ||
6535
test ! -s conftest.err
6536
} && test -s conftest.$ac_objext; then
6539
echo "$as_me: failed program was:" >&5
6540
sed 's/^/| /' conftest.$ac_ext >&5
6542
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6544
cat >conftest.$ac_ext <<_ACEOF
6547
cat confdefs.h >>conftest.$ac_ext
6548
cat >>conftest.$ac_ext <<_ACEOF
6549
/* end confdefs.h. */
6559
rm -f conftest.$ac_objext
6560
if { (ac_try="$ac_compile"
6562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563
*) ac_try_echo=$ac_try;;
6565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566
(eval "$ac_compile") 2>conftest.er1
6568
grep -v '^ *+' conftest.er1 >conftest.err
6570
cat conftest.err >&5
6571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572
(exit $ac_status); } && {
6573
test -z "$ac_cxx_werror_flag" ||
6574
test ! -s conftest.err
6575
} && test -s conftest.$ac_objext; then
6576
ac_cv_prog_cxx_g=yes
6578
echo "$as_me: failed program was:" >&5
6579
sed 's/^/| /' conftest.$ac_ext >&5
6584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6593
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6594
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6595
if test "$ac_test_CXXFLAGS" = set; then
6596
CXXFLAGS=$ac_save_CXXFLAGS
6597
elif test $ac_cv_prog_cxx_g = yes; then
6598
if test "$GXX" = yes; then
6604
if test "$GXX" = yes; then
6611
ac_cpp='$CXXCPP $CPPFLAGS'
6612
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6613
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6614
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6616
depcc="$CXX" am_compiler_list=
6618
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6619
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6620
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6621
echo $ECHO_N "(cached) $ECHO_C" >&6
6623
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6624
# We make a subdir and do the tests there. Otherwise we can end up
6625
# making bogus files that we don't know about and never remove. For
6626
# instance it was reported that on HP-UX the gcc test will end up
6627
# making a dummy file named `D' -- because `-MD' means `put the output
6630
# Copy depcomp to subdir because otherwise we won't find it if we're
6631
# using a relative directory.
6632
cp "$am_depcomp" conftest.dir
6634
# We will build objects and dependencies in a subdirectory because
6635
# it helps to detect inapplicable dependency modes. For instance
6636
# both Tru64's cc and ICC support -MD to output dependencies as a
6637
# side effect of compilation, but ICC will put the dependencies in
6638
# the current directory while Tru64 will put them in the object
6642
am_cv_CXX_dependencies_compiler_type=none
6643
if test "$am_compiler_list" = ""; then
6644
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6646
for depmode in $am_compiler_list; do
6647
# Setup a source with many dependencies, because some compilers
6648
# like to wrap large dependency lists on column 80 (with \), and
6649
# we should not choose a depcomp mode which is confused by this.
6651
# We need to recreate these files for each test, as the compiler may
6652
# overwrite some of them when testing with obscure command lines.
6653
# This happens at least with the AIX C compiler.
6655
for i in 1 2 3 4 5 6; do
6656
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6657
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6658
# Solaris 8's {/usr,}/bin/sh.
6659
touch sub/conftst$i.h
6661
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6665
# after this tag, mechanisms are not by side-effect, so they'll
6666
# only be used when explicitly requested
6667
if test "x$enable_dependency_tracking" = xyes; then
6675
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6676
# mode. It turns out that the SunPro C++ compiler does not properly
6677
# handle `-M -o', and we need to detect this.
6678
if depmode=$depmode \
6679
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6680
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6681
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6682
>/dev/null 2>conftest.err &&
6683
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6684
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6685
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6686
# icc doesn't choke on unknown options, it will just issue warnings
6687
# or remarks (even with -Werror). So we grep stderr for any message
6688
# that says an option was ignored or not supported.
6689
# When given -MP, icc 7.0 and 7.1 complain thusly:
6690
# icc: Command line warning: ignoring option '-M'; no argument required
6691
# The diagnosis changed in icc 8.0:
6692
# icc: Command line remark: option '-MP' not supported
6693
if (grep 'ignoring option' conftest.err ||
6694
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6695
am_cv_CXX_dependencies_compiler_type=$depmode
6704
am_cv_CXX_dependencies_compiler_type=none
6708
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6709
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6710
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6715
test "x$enable_dependency_tracking" != xno \
6716
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6717
am__fastdepCXX_TRUE=
6718
am__fastdepCXX_FALSE='#'
6720
am__fastdepCXX_TRUE='#'
6721
am__fastdepCXX_FALSE=
6727
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6728
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6729
(test "X$CXX" != "Xg++"))) ; then
6731
ac_cpp='$CXXCPP $CPPFLAGS'
6732
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6733
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6734
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6735
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6736
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6737
if test -z "$CXXCPP"; then
6738
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6739
echo $ECHO_N "(cached) $ECHO_C" >&6
6741
# Double quotes because CXXCPP needs to be expanded
6742
for CXXCPP in "$CXX -E" "/lib/cpp"
6745
for ac_cxx_preproc_warn_flag in '' yes
6747
# Use a header file that comes with gcc, so configuring glibc
6748
# with a fresh cross-compiler works.
6749
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750
# <limits.h> exists even on freestanding compilers.
6751
# On the NeXT, cc -E runs the code through the compiler's parser,
6752
# not just through cpp. "Syntax error" is here to catch this case.
6753
cat >conftest.$ac_ext <<_ACEOF
6756
cat confdefs.h >>conftest.$ac_ext
6757
cat >>conftest.$ac_ext <<_ACEOF
6758
/* end confdefs.h. */
6760
# include <limits.h>
6762
# include <assert.h>
6766
if { (ac_try="$ac_cpp conftest.$ac_ext"
6768
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769
*) ac_try_echo=$ac_try;;
6771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6774
grep -v '^ *+' conftest.er1 >conftest.err
6776
cat conftest.err >&5
6777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778
(exit $ac_status); } >/dev/null && {
6779
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6780
test ! -s conftest.err
6784
echo "$as_me: failed program was:" >&5
6785
sed 's/^/| /' conftest.$ac_ext >&5
6787
# Broken: fails on valid input.
6791
rm -f conftest.err conftest.$ac_ext
6793
# OK, works on sane cases. Now check whether nonexistent headers
6794
# can be detected and how.
6795
cat >conftest.$ac_ext <<_ACEOF
6798
cat confdefs.h >>conftest.$ac_ext
6799
cat >>conftest.$ac_ext <<_ACEOF
6800
/* end confdefs.h. */
6801
#include <ac_nonexistent.h>
6803
if { (ac_try="$ac_cpp conftest.$ac_ext"
6805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6806
*) ac_try_echo=$ac_try;;
6808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6809
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6811
grep -v '^ *+' conftest.er1 >conftest.err
6813
cat conftest.err >&5
6814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815
(exit $ac_status); } >/dev/null && {
6816
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6817
test ! -s conftest.err
6819
# Broken: success on invalid input.
6822
echo "$as_me: failed program was:" >&5
6823
sed 's/^/| /' conftest.$ac_ext >&5
6825
# Passes both tests.
6830
rm -f conftest.err conftest.$ac_ext
6833
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6834
rm -f conftest.err conftest.$ac_ext
6835
if $ac_preproc_ok; then
6840
ac_cv_prog_CXXCPP=$CXXCPP
6843
CXXCPP=$ac_cv_prog_CXXCPP
6845
ac_cv_prog_CXXCPP=$CXXCPP
6847
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6848
echo "${ECHO_T}$CXXCPP" >&6; }
6850
for ac_cxx_preproc_warn_flag in '' yes
6852
# Use a header file that comes with gcc, so configuring glibc
6853
# with a fresh cross-compiler works.
6854
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6855
# <limits.h> exists even on freestanding compilers.
6856
# On the NeXT, cc -E runs the code through the compiler's parser,
6857
# not just through cpp. "Syntax error" is here to catch this case.
6858
cat >conftest.$ac_ext <<_ACEOF
6861
cat confdefs.h >>conftest.$ac_ext
6862
cat >>conftest.$ac_ext <<_ACEOF
6863
/* end confdefs.h. */
6865
# include <limits.h>
6867
# include <assert.h>
6871
if { (ac_try="$ac_cpp conftest.$ac_ext"
6873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
*) ac_try_echo=$ac_try;;
6876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6879
grep -v '^ *+' conftest.er1 >conftest.err
6881
cat conftest.err >&5
6882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
(exit $ac_status); } >/dev/null && {
6884
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6885
test ! -s conftest.err
6889
echo "$as_me: failed program was:" >&5
6890
sed 's/^/| /' conftest.$ac_ext >&5
6892
# Broken: fails on valid input.
6896
rm -f conftest.err conftest.$ac_ext
6898
# OK, works on sane cases. Now check whether nonexistent headers
6899
# can be detected and how.
6900
cat >conftest.$ac_ext <<_ACEOF
6903
cat confdefs.h >>conftest.$ac_ext
6904
cat >>conftest.$ac_ext <<_ACEOF
6905
/* end confdefs.h. */
6906
#include <ac_nonexistent.h>
6908
if { (ac_try="$ac_cpp conftest.$ac_ext"
6910
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6911
*) ac_try_echo=$ac_try;;
6913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6914
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6916
grep -v '^ *+' conftest.er1 >conftest.err
6918
cat conftest.err >&5
6919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
(exit $ac_status); } >/dev/null && {
6921
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6922
test ! -s conftest.err
6924
# Broken: success on invalid input.
6927
echo "$as_me: failed program was:" >&5
6928
sed 's/^/| /' conftest.$ac_ext >&5
6930
# Passes both tests.
6935
rm -f conftest.err conftest.$ac_ext
6938
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6939
rm -f conftest.err conftest.$ac_ext
6940
if $ac_preproc_ok; then
6943
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6944
See \`config.log' for more details." >&5
6945
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6946
See \`config.log' for more details." >&2;}
6947
{ (exit 1); exit 1; }; }
6951
ac_cpp='$CXXCPP $CPPFLAGS'
6952
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6960
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6961
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6962
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6963
if test -n "$ac_tool_prefix"; then
6964
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6966
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6967
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6968
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6969
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6970
if test "${ac_cv_prog_F77+set}" = set; then
6971
echo $ECHO_N "(cached) $ECHO_C" >&6
6973
if test -n "$F77"; then
6974
ac_cv_prog_F77="$F77" # Let the user override the test.
6976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980
test -z "$as_dir" && as_dir=.
6981
for ac_exec_ext in '' $ac_executable_extensions; do
6982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6984
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6994
if test -n "$F77"; then
6995
{ echo "$as_me:$LINENO: result: $F77" >&5
6996
echo "${ECHO_T}$F77" >&6; }
6998
{ echo "$as_me:$LINENO: result: no" >&5
6999
echo "${ECHO_T}no" >&6; }
7003
test -n "$F77" && break
7006
if test -z "$F77"; then
7008
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7010
# Extract the first word of "$ac_prog", so it can be a program name with args.
7011
set dummy $ac_prog; ac_word=$2
7012
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7013
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7014
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7015
echo $ECHO_N "(cached) $ECHO_C" >&6
7017
if test -n "$ac_ct_F77"; then
7018
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024
test -z "$as_dir" && as_dir=.
7025
for ac_exec_ext in '' $ac_executable_extensions; do
7026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027
ac_cv_prog_ac_ct_F77="$ac_prog"
7028
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7037
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7038
if test -n "$ac_ct_F77"; then
7039
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7040
echo "${ECHO_T}$ac_ct_F77" >&6; }
7042
{ echo "$as_me:$LINENO: result: no" >&5
7043
echo "${ECHO_T}no" >&6; }
7047
test -n "$ac_ct_F77" && break
7050
if test "x$ac_ct_F77" = x; then
7053
case $cross_compiling:$ac_tool_warned in
7055
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7056
whose name does not start with the host triplet. If you think this
7057
configuration is useful to you, please write to autoconf@gnu.org." >&5
7058
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7059
whose name does not start with the host triplet. If you think this
7060
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7061
ac_tool_warned=yes ;;
7068
# Provide some information about the compiler.
7069
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7070
ac_compiler=`set X $ac_compile; echo $2`
7071
{ (ac_try="$ac_compiler --version >&5"
7073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074
*) ac_try_echo=$ac_try;;
7076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077
(eval "$ac_compiler --version >&5") 2>&5
7079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080
(exit $ac_status); }
7081
{ (ac_try="$ac_compiler -v >&5"
7083
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7084
*) ac_try_echo=$ac_try;;
7086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7087
(eval "$ac_compiler -v >&5") 2>&5
7089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090
(exit $ac_status); }
7091
{ (ac_try="$ac_compiler -V >&5"
7093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7094
*) ac_try_echo=$ac_try;;
7096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7097
(eval "$ac_compiler -V >&5") 2>&5
7099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100
(exit $ac_status); }
7103
# If we don't use `.F' as extension, the preprocessor is not run on the
7104
# input file. (Note that this only needs to work for GNU compilers.)
7107
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7108
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7109
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7110
echo $ECHO_N "(cached) $ECHO_C" >&6
7112
cat >conftest.$ac_ext <<_ACEOF
7120
rm -f conftest.$ac_objext
7121
if { (ac_try="$ac_compile"
7123
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7124
*) ac_try_echo=$ac_try;;
7126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7127
(eval "$ac_compile") 2>conftest.er1
7129
grep -v '^ *+' conftest.er1 >conftest.err
7131
cat conftest.err >&5
7132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133
(exit $ac_status); } && {
7134
test -z "$ac_f77_werror_flag" ||
7135
test ! -s conftest.err
7136
} && test -s conftest.$ac_objext; then
7139
echo "$as_me: failed program was:" >&5
7140
sed 's/^/| /' conftest.$ac_ext >&5
7145
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7149
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7150
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7152
ac_test_FFLAGS=${FFLAGS+set}
7153
ac_save_FFLAGS=$FFLAGS
7155
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7156
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7157
if test "${ac_cv_prog_f77_g+set}" = set; then
7158
echo $ECHO_N "(cached) $ECHO_C" >&6
7161
cat >conftest.$ac_ext <<_ACEOF
7166
rm -f conftest.$ac_objext
7167
if { (ac_try="$ac_compile"
7169
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170
*) ac_try_echo=$ac_try;;
7172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7173
(eval "$ac_compile") 2>conftest.er1
7175
grep -v '^ *+' conftest.er1 >conftest.err
7177
cat conftest.err >&5
7178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179
(exit $ac_status); } && {
7180
test -z "$ac_f77_werror_flag" ||
7181
test ! -s conftest.err
7182
} && test -s conftest.$ac_objext; then
7183
ac_cv_prog_f77_g=yes
7185
echo "$as_me: failed program was:" >&5
7186
sed 's/^/| /' conftest.$ac_ext >&5
7191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7194
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7195
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7196
if test "$ac_test_FFLAGS" = set; then
7197
FFLAGS=$ac_save_FFLAGS
7198
elif test $ac_cv_prog_f77_g = yes; then
7199
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7205
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7212
G77=`test $ac_compiler_gnu = yes && echo yes`
7214
ac_cpp='$CPP $CPPFLAGS'
7215
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7221
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7223
# find the maximum length of command line arguments
7224
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7225
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7226
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7227
echo $ECHO_N "(cached) $ECHO_C" >&6
7234
# On DJGPP, this test can blow up pretty badly due to problems in libc
7235
# (any single argument exceeding 2000 bytes causes a buffer overrun
7236
# during glob expansion). Even if it were fixed, the result of this
7237
# check would be larger than it should be.
7238
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7242
# Under GNU Hurd, this test is not required because there is
7243
# no limit to the length of command line arguments.
7244
# Libtool will interpret -1 as no limit whatsoever
7245
lt_cv_sys_max_cmd_len=-1;
7249
# On Win9x/ME, this test blows up -- it succeeds, but takes
7250
# about 5 minutes as the teststring grows exponentially.
7251
# Worse, since 9x/ME are not pre-emptively multitasking,
7252
# you end up with a "frozen" computer, even though with patience
7253
# the test eventually succeeds (with a max line length of 256k).
7254
# Instead, let's just punt: use the minimum linelength reported by
7255
# all of the supported platforms: 8192 (on NT/2K/XP).
7256
lt_cv_sys_max_cmd_len=8192;
7260
# On AmigaOS with pdksh, this test takes hours, literally.
7261
# So we just punt and use a minimum line length of 8192.
7262
lt_cv_sys_max_cmd_len=8192;
7265
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7266
# This has been around since 386BSD, at least. Likely further.
7267
if test -x /sbin/sysctl; then
7268
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7269
elif test -x /usr/sbin/sysctl; then
7270
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7272
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7274
# And add a safety zone
7275
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7276
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7280
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7281
lt_cv_sys_max_cmd_len=196608
7285
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7286
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7287
# nice to cause kernel panics so lets avoid the loop below.
7288
# First set a reasonable default.
7289
lt_cv_sys_max_cmd_len=16384
7291
if test -x /sbin/sysconfig; then
7292
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7293
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7298
lt_cv_sys_max_cmd_len=102400
7300
sysv5* | sco5v6* | sysv4.2uw2*)
7301
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7302
if test -n "$kargmax"; then
7303
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7305
lt_cv_sys_max_cmd_len=32768
7309
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7310
if test -n "$lt_cv_sys_max_cmd_len"; then
7311
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7312
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7314
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7315
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7316
= "XX$teststring") >/dev/null 2>&1 &&
7317
new_result=`expr "X$teststring" : ".*" 2>&1` &&
7318
lt_cv_sys_max_cmd_len=$new_result &&
7319
test $i != 17 # 1/2 MB should be enough
7322
teststring=$teststring$teststring
7325
# Add a significant safety factor because C++ compilers can tack on massive
7326
# amounts of additional arguments before passing them to the linker.
7327
# It appears as though 1/2 is a usable value.
7328
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7335
if test -n $lt_cv_sys_max_cmd_len ; then
7336
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7337
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7339
{ echo "$as_me:$LINENO: result: none" >&5
7340
echo "${ECHO_T}none" >&6; }
7347
# Check for command to grab the raw symbol name followed by C symbol from nm.
7348
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7349
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7350
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7351
echo $ECHO_N "(cached) $ECHO_C" >&6
7354
# These are sane defaults that work on at least a few old systems.
7355
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7357
# Character class describing NM global symbol codes.
7358
symcode='[BCDEGRST]'
7360
# Regexp to match symbols that can be accessed directly from C.
7361
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7363
# Transform an extracted symbol line into a proper C declaration
7364
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7366
# Transform an extracted symbol line into symbol name and symbol address
7367
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7369
# Define system-specific variables.
7374
cygwin* | mingw* | pw32*)
7375
symcode='[ABCDGISTW]'
7377
hpux*) # Its linker distinguishes data from code symbols
7378
if test "$host_cpu" = ia64; then
7379
symcode='[ABCDEGRST]'
7381
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7382
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7384
linux* | k*bsd*-gnu)
7385
if test "$host_cpu" = ia64; then
7386
symcode='[ABCDGIRSTW]'
7387
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7388
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7392
symcode='[BCDEGRST]'
7395
symcode='[BCDEGQRST]'
7406
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7414
# Handle CRLF in mingw tool chain
7418
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7422
# If we're using GNU nm, then use its standard symbol codes.
7423
case `$NM -V 2>&1` in
7424
*GNU* | *'with BFD'*)
7425
symcode='[ABCDGIRSTW]' ;;
7428
# Try without a prefix undercore, then with it.
7429
for ac_symprfx in "" "_"; do
7431
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7432
symxfrm="\\1 $ac_symprfx\\2 \\2"
7434
# Write the raw and C identifiers.
7435
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7437
# Check to see that the pipe works correctly.
7441
cat > conftest.$ac_ext <<EOF
7446
void nm_test_func(){}
7450
int main(){nm_test_var='a';nm_test_func();return(0);}
7453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454
(eval $ac_compile) 2>&5
7456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457
(exit $ac_status); }; then
7458
# Now try to grab the symbols.
7460
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7461
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464
(exit $ac_status); } && test -s "$nlist"; then
7465
# Try sorting and uniquifying the output.
7466
if sort "$nlist" | uniq > "$nlist"T; then
7467
mv -f "$nlist"T "$nlist"
7472
# Make sure that we snagged all the symbols we need.
7473
if grep ' nm_test_var$' "$nlist" >/dev/null; then
7474
if grep ' nm_test_func$' "$nlist" >/dev/null; then
7475
cat <<EOF > conftest.$ac_ext
7481
# Now generate the symbol file.
7482
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7484
cat <<EOF >> conftest.$ac_ext
7485
#if defined (__STDC__) && __STDC__
7486
# define lt_ptr_t void *
7488
# define lt_ptr_t char *
7492
/* The mapping between symbol names and symbols. */
7497
lt_preloaded_symbols[] =
7500
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7501
cat <<\EOF >> conftest.$ac_ext
7509
# Now try linking the two files.
7510
mv conftest.$ac_objext conftstm.$ac_objext
7511
lt_save_LIBS="$LIBS"
7512
lt_save_CFLAGS="$CFLAGS"
7513
LIBS="conftstm.$ac_objext"
7514
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7515
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7516
(eval $ac_link) 2>&5
7518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519
(exit $ac_status); } && test -s conftest${ac_exeext}; then
7522
LIBS="$lt_save_LIBS"
7523
CFLAGS="$lt_save_CFLAGS"
7525
echo "cannot find nm_test_func in $nlist" >&5
7528
echo "cannot find nm_test_var in $nlist" >&5
7531
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7534
echo "$progname: failed program was:" >&5
7535
cat conftest.$ac_ext >&5
7537
rm -f conftest* conftst*
7539
# Do not use the global_symbol_pipe unless it works.
7540
if test "$pipe_works" = yes; then
7543
lt_cv_sys_global_symbol_pipe=
7549
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7550
lt_cv_sys_global_symbol_to_cdecl=
7552
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7553
{ echo "$as_me:$LINENO: result: failed" >&5
7554
echo "${ECHO_T}failed" >&6; }
7556
{ echo "$as_me:$LINENO: result: ok" >&5
7557
echo "${ECHO_T}ok" >&6; }
7560
{ echo "$as_me:$LINENO: checking for objdir" >&5
7561
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7562
if test "${lt_cv_objdir+set}" = set; then
7563
echo $ECHO_N "(cached) $ECHO_C" >&6
7565
rm -f .libs 2>/dev/null
7566
mkdir .libs 2>/dev/null
7567
if test -d .libs; then
7570
# MS-DOS does not allow filenames that begin with a dot.
7573
rmdir .libs 2>/dev/null
7575
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7576
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7577
objdir=$lt_cv_objdir
7585
# AIX sometimes has problems with the GCC collect2 program. For some
7586
# reason, if we set the COLLECT_NAMES environment variable, the problems
7587
# vanish in a puff of smoke.
7588
if test "X${COLLECT_NAMES+set}" != Xset; then
7590
export COLLECT_NAMES
7595
# Sed substitution that helps us do robust quoting. It backslashifies
7596
# metacharacters that are still active within double-quoted strings.
7597
Xsed='sed -e 1s/^X//'
7598
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7600
# Same as above, but do not quote variable references.
7601
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7603
# Sed substitution to delay expansion of an escaped shell variable in a
7604
# double_quote_subst'ed string.
7605
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7607
# Sed substitution to avoid accidental globbing in evaled expressions
7608
no_glob_subst='s/\*/\\\*/g'
7614
default_ofile=libtool
7615
can_build_shared=yes
7617
# All known linkers require a `.a' archive for static linking (except MSVC,
7618
# which needs '.lib').
7620
ltmain="$ac_aux_dir/ltmain.sh"
7621
ofile="$default_ofile"
7622
with_gnu_ld="$lt_cv_prog_gnu_ld"
7624
if test -n "$ac_tool_prefix"; then
7625
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7626
set dummy ${ac_tool_prefix}ar; ac_word=$2
7627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7629
if test "${ac_cv_prog_AR+set}" = set; then
7630
echo $ECHO_N "(cached) $ECHO_C" >&6
7632
if test -n "$AR"; then
7633
ac_cv_prog_AR="$AR" # Let the user override the test.
7635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639
test -z "$as_dir" && as_dir=.
7640
for ac_exec_ext in '' $ac_executable_extensions; do
7641
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642
ac_cv_prog_AR="${ac_tool_prefix}ar"
7643
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7653
if test -n "$AR"; then
7654
{ echo "$as_me:$LINENO: result: $AR" >&5
7655
echo "${ECHO_T}$AR" >&6; }
7657
{ echo "$as_me:$LINENO: result: no" >&5
7658
echo "${ECHO_T}no" >&6; }
7663
if test -z "$ac_cv_prog_AR"; then
7665
# Extract the first word of "ar", so it can be a program name with args.
7666
set dummy ar; ac_word=$2
7667
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7668
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7669
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7670
echo $ECHO_N "(cached) $ECHO_C" >&6
7672
if test -n "$ac_ct_AR"; then
7673
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679
test -z "$as_dir" && as_dir=.
7680
for ac_exec_ext in '' $ac_executable_extensions; do
7681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682
ac_cv_prog_ac_ct_AR="ar"
7683
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7692
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7693
if test -n "$ac_ct_AR"; then
7694
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7695
echo "${ECHO_T}$ac_ct_AR" >&6; }
7697
{ echo "$as_me:$LINENO: result: no" >&5
7698
echo "${ECHO_T}no" >&6; }
7701
if test "x$ac_ct_AR" = x; then
7704
case $cross_compiling:$ac_tool_warned in
7706
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7707
whose name does not start with the host triplet. If you think this
7708
configuration is useful to you, please write to autoconf@gnu.org." >&5
7709
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7710
whose name does not start with the host triplet. If you think this
7711
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7712
ac_tool_warned=yes ;;
7720
if test -n "$ac_tool_prefix"; then
7721
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7722
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7723
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7724
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725
if test "${ac_cv_prog_RANLIB+set}" = set; then
7726
echo $ECHO_N "(cached) $ECHO_C" >&6
7728
if test -n "$RANLIB"; then
7729
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735
test -z "$as_dir" && as_dir=.
7736
for ac_exec_ext in '' $ac_executable_extensions; do
7737
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7739
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7748
RANLIB=$ac_cv_prog_RANLIB
7749
if test -n "$RANLIB"; then
7750
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
7751
echo "${ECHO_T}$RANLIB" >&6; }
7753
{ echo "$as_me:$LINENO: result: no" >&5
7754
echo "${ECHO_T}no" >&6; }
7759
if test -z "$ac_cv_prog_RANLIB"; then
7760
ac_ct_RANLIB=$RANLIB
7761
# Extract the first word of "ranlib", so it can be a program name with args.
7762
set dummy ranlib; ac_word=$2
7763
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7764
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7766
echo $ECHO_N "(cached) $ECHO_C" >&6
7768
if test -n "$ac_ct_RANLIB"; then
7769
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775
test -z "$as_dir" && as_dir=.
7776
for ac_exec_ext in '' $ac_executable_extensions; do
7777
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778
ac_cv_prog_ac_ct_RANLIB="ranlib"
7779
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7788
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7789
if test -n "$ac_ct_RANLIB"; then
7790
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7791
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7793
{ echo "$as_me:$LINENO: result: no" >&5
7794
echo "${ECHO_T}no" >&6; }
7797
if test "x$ac_ct_RANLIB" = x; then
7800
case $cross_compiling:$ac_tool_warned in
7802
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803
whose name does not start with the host triplet. If you think this
7804
configuration is useful to you, please write to autoconf@gnu.org." >&5
7805
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806
whose name does not start with the host triplet. If you think this
7807
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808
ac_tool_warned=yes ;;
7810
RANLIB=$ac_ct_RANLIB
7813
RANLIB="$ac_cv_prog_RANLIB"
7816
if test -n "$ac_tool_prefix"; then
7817
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7818
set dummy ${ac_tool_prefix}strip; ac_word=$2
7819
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7820
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821
if test "${ac_cv_prog_STRIP+set}" = set; then
7822
echo $ECHO_N "(cached) $ECHO_C" >&6
7824
if test -n "$STRIP"; then
7825
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831
test -z "$as_dir" && as_dir=.
7832
for ac_exec_ext in '' $ac_executable_extensions; do
7833
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7835
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7844
STRIP=$ac_cv_prog_STRIP
7845
if test -n "$STRIP"; then
7846
{ echo "$as_me:$LINENO: result: $STRIP" >&5
7847
echo "${ECHO_T}$STRIP" >&6; }
7849
{ echo "$as_me:$LINENO: result: no" >&5
7850
echo "${ECHO_T}no" >&6; }
7855
if test -z "$ac_cv_prog_STRIP"; then
7857
# Extract the first word of "strip", so it can be a program name with args.
7858
set dummy strip; ac_word=$2
7859
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7860
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7862
echo $ECHO_N "(cached) $ECHO_C" >&6
7864
if test -n "$ac_ct_STRIP"; then
7865
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871
test -z "$as_dir" && as_dir=.
7872
for ac_exec_ext in '' $ac_executable_extensions; do
7873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874
ac_cv_prog_ac_ct_STRIP="strip"
7875
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7884
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7885
if test -n "$ac_ct_STRIP"; then
7886
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7887
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7889
{ echo "$as_me:$LINENO: result: no" >&5
7890
echo "${ECHO_T}no" >&6; }
7893
if test "x$ac_ct_STRIP" = x; then
7896
case $cross_compiling:$ac_tool_warned in
7898
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899
whose name does not start with the host triplet. If you think this
7900
configuration is useful to you, please write to autoconf@gnu.org." >&5
7901
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902
whose name does not start with the host triplet. If you think this
7903
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904
ac_tool_warned=yes ;;
7909
STRIP="$ac_cv_prog_STRIP"
7914
old_CFLAGS="$CFLAGS"
7916
# Set sane defaults for various variables
7917
test -z "$AR" && AR=ar
7918
test -z "$AR_FLAGS" && AR_FLAGS=cru
7919
test -z "$AS" && AS=as
7920
test -z "$CC" && CC=cc
7921
test -z "$LTCC" && LTCC=$CC
7922
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7923
test -z "$DLLTOOL" && DLLTOOL=dlltool
7924
test -z "$LD" && LD=ld
7925
test -z "$LN_S" && LN_S="ln -s"
7926
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7927
test -z "$NM" && NM=nm
7928
test -z "$SED" && SED=sed
7929
test -z "$OBJDUMP" && OBJDUMP=objdump
7930
test -z "$RANLIB" && RANLIB=:
7931
test -z "$STRIP" && STRIP=:
7932
test -z "$ac_objext" && ac_objext=o
7934
# Determine commands to create old-style static archives.
7935
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7936
old_postinstall_cmds='chmod 644 $oldlib'
7937
old_postuninstall_cmds=
7939
if test -n "$RANLIB"; then
7942
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7945
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7948
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7951
for cc_temp in $compiler""; do
7953
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7954
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7959
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7962
# Only perform the check for file, if the check method requires it
7963
case $deplibs_check_method in
7965
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7966
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7967
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7968
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7969
echo $ECHO_N "(cached) $ECHO_C" >&6
7973
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7976
lt_save_MAGIC_CMD="$MAGIC_CMD"
7977
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7978
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7979
for ac_dir in $ac_dummy; do
7981
test -z "$ac_dir" && ac_dir=.
7982
if test -f $ac_dir/${ac_tool_prefix}file; then
7983
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7984
if test -n "$file_magic_test_file"; then
7985
case $deplibs_check_method in
7987
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7988
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7989
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7990
$EGREP "$file_magic_regex" > /dev/null; then
7995
*** Warning: the command libtool uses to detect shared libraries,
7996
*** $file_magic_cmd, produces output that libtool cannot recognize.
7997
*** The result is that libtool may fail to recognize shared libraries
7998
*** as such. This will affect the creation of libtool libraries that
7999
*** depend on shared libraries, but programs linked with such libtool
8000
*** libraries will work regardless of this problem. Nevertheless, you
8001
*** may want to report the problem to your system manager and/or to
8002
*** bug-libtool@gnu.org
8012
MAGIC_CMD="$lt_save_MAGIC_CMD"
8017
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8018
if test -n "$MAGIC_CMD"; then
8019
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8020
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8022
{ echo "$as_me:$LINENO: result: no" >&5
8023
echo "${ECHO_T}no" >&6; }
8026
if test -z "$lt_cv_path_MAGIC_CMD"; then
8027
if test -n "$ac_tool_prefix"; then
8028
{ echo "$as_me:$LINENO: checking for file" >&5
8029
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8030
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8031
echo $ECHO_N "(cached) $ECHO_C" >&6
8035
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8038
lt_save_MAGIC_CMD="$MAGIC_CMD"
8039
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8040
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8041
for ac_dir in $ac_dummy; do
8043
test -z "$ac_dir" && ac_dir=.
8044
if test -f $ac_dir/file; then
8045
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8046
if test -n "$file_magic_test_file"; then
8047
case $deplibs_check_method in
8049
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8050
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8051
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8052
$EGREP "$file_magic_regex" > /dev/null; then
8057
*** Warning: the command libtool uses to detect shared libraries,
8058
*** $file_magic_cmd, produces output that libtool cannot recognize.
8059
*** The result is that libtool may fail to recognize shared libraries
8060
*** as such. This will affect the creation of libtool libraries that
8061
*** depend on shared libraries, but programs linked with such libtool
8062
*** libraries will work regardless of this problem. Nevertheless, you
8063
*** may want to report the problem to your system manager and/or to
8064
*** bug-libtool@gnu.org
8074
MAGIC_CMD="$lt_save_MAGIC_CMD"
8079
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8080
if test -n "$MAGIC_CMD"; then
8081
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8082
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8084
{ echo "$as_me:$LINENO: result: no" >&5
8085
echo "${ECHO_T}no" >&6; }
8100
# Check whether --enable-libtool-lock was given.
8101
if test "${enable_libtool_lock+set}" = set; then
8102
enableval=$enable_libtool_lock;
8105
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8108
# Check whether --with-pic was given.
8109
if test "${with_pic+set}" = set; then
8110
withval=$with_pic; pic_mode="$withval"
8115
test -z "$pic_mode" && pic_mode=default
8117
# Use C for the default configuration in the libtool script
8121
ac_cpp='$CPP $CPPFLAGS'
8122
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8127
# Source file extension for C test sources.
8130
# Object file extension for compiled C test sources.
8134
# Code to be used in simple compile tests
8135
lt_simple_compile_test_code="int some_variable = 0;"
8137
# Code to be used in simple link tests
8138
lt_simple_link_test_code='int main(){return(0);}'
8141
# If no C compiler was specified, use CC.
8144
# If no C compiler flags were specified, use CFLAGS.
8145
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8147
# Allow CC to be a program name with arguments.
8151
# save warnings/boilerplate of simple test code
8152
ac_outfile=conftest.$ac_objext
8153
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8154
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8155
_lt_compiler_boilerplate=`cat conftest.err`
8158
ac_outfile=conftest.$ac_objext
8159
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8160
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8161
_lt_linker_boilerplate=`cat conftest.err`
8166
lt_prog_compiler_no_builtin_flag=
8168
if test "$GCC" = yes; then
8169
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8172
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8173
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8174
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8175
echo $ECHO_N "(cached) $ECHO_C" >&6
8177
lt_cv_prog_compiler_rtti_exceptions=no
8178
ac_outfile=conftest.$ac_objext
8179
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8180
lt_compiler_flag="-fno-rtti -fno-exceptions"
8181
# Insert the option either (1) after the last *FLAGS variable, or
8182
# (2) before a word containing "conftest.", or (3) at the end.
8183
# Note that $ac_compile itself does not contain backslashes and begins
8184
# with a dollar sign (not a hyphen), so the echo should work correctly.
8185
# The option is referenced via a variable to avoid confusing sed.
8186
lt_compile=`echo "$ac_compile" | $SED \
8187
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189
-e 's:$: $lt_compiler_flag:'`
8190
(eval echo "\"\$as_me:8190: $lt_compile\"" >&5)
8191
(eval "$lt_compile" 2>conftest.err)
8193
cat conftest.err >&5
8194
echo "$as_me:8194: \$? = $ac_status" >&5
8195
if (exit $ac_status) && test -s "$ac_outfile"; then
8196
# The compiler can only warn and ignore the option if not recognized
8197
# So say no if there are warnings other than the usual output.
8198
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8199
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8200
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8201
lt_cv_prog_compiler_rtti_exceptions=yes
8207
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8208
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8210
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8211
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8218
lt_prog_compiler_wl=
8219
lt_prog_compiler_pic=
8220
lt_prog_compiler_static=
8222
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8223
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8225
if test "$GCC" = yes; then
8226
lt_prog_compiler_wl='-Wl,'
8227
lt_prog_compiler_static='-static'
8231
# All AIX code is PIC.
8232
if test "$host_cpu" = ia64; then
8233
# AIX 5 now supports IA64 processor
8234
lt_prog_compiler_static='-Bstatic'
8239
# FIXME: we need at least 68020 code to build shared libraries, but
8240
# adding the `-m68020' flag to GCC prevents building anything better,
8242
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8245
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8246
# PIC is the default for these OSes.
8249
mingw* | cygwin* | pw32* | os2*)
8250
# This hack is so that the source file can tell whether it is being
8251
# built for inclusion in a dll (and should export symbols for example).
8252
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8253
# (--disable-auto-import) libraries
8254
lt_prog_compiler_pic='-DDLL_EXPORT'
8257
darwin* | rhapsody*)
8258
# PIC is the default on this platform
8259
# Common symbols not allowed in MH_DYLIB files
8260
lt_prog_compiler_pic='-fno-common'
8264
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8265
# Instead, we relocate shared libraries at runtime.
8269
# Just because we use GCC doesn't mean we suddenly get shared libraries
8270
# on systems that don't support them.
8271
lt_prog_compiler_can_build_shared=no
8276
if test -d /usr/nec; then
8277
lt_prog_compiler_pic=-Kconform_pic
8282
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8289
lt_prog_compiler_pic='-fPIC'
8295
lt_prog_compiler_pic='-fPIC'
8299
# PORTME Check for flag to pass linker flags through the system compiler.
8302
lt_prog_compiler_wl='-Wl,'
8303
if test "$host_cpu" = ia64; then
8304
# AIX 5 now supports IA64 processor
8305
lt_prog_compiler_static='-Bstatic'
8307
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8311
# PIC is the default on this platform
8312
# Common symbols not allowed in MH_DYLIB files
8313
case $cc_basename in
8315
lt_prog_compiler_pic='-qnocommon'
8316
lt_prog_compiler_wl='-Wl,'
8321
mingw* | cygwin* | pw32* | os2*)
8322
# This hack is so that the source file can tell whether it is being
8323
# built for inclusion in a dll (and should export symbols for example).
8324
lt_prog_compiler_pic='-DDLL_EXPORT'
8327
hpux9* | hpux10* | hpux11*)
8328
lt_prog_compiler_wl='-Wl,'
8329
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8336
lt_prog_compiler_pic='+Z'
8339
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8340
lt_prog_compiler_static='${wl}-a ${wl}archive'
8343
irix5* | irix6* | nonstopux*)
8344
lt_prog_compiler_wl='-Wl,'
8345
# PIC (with -KPIC) is the default.
8346
lt_prog_compiler_static='-non_shared'
8350
lt_prog_compiler_pic='-KPIC'
8351
lt_prog_compiler_static='-Bstatic'
8354
linux* | k*bsd*-gnu)
8355
case $cc_basename in
8357
lt_prog_compiler_wl='-Wl,'
8358
lt_prog_compiler_pic='-KPIC'
8359
lt_prog_compiler_static='-static'
8361
pgcc* | pgf77* | pgf90* | pgf95*)
8362
# Portland Group compilers (*not* the Pentium gcc compiler,
8363
# which looks to be a dead project)
8364
lt_prog_compiler_wl='-Wl,'
8365
lt_prog_compiler_pic='-fpic'
8366
lt_prog_compiler_static='-Bstatic'
8369
lt_prog_compiler_wl='-Wl,'
8370
# All Alpha code is PIC.
8371
lt_prog_compiler_static='-non_shared'
8374
case `$CC -V 2>&1 | sed 5q` in
8377
lt_prog_compiler_pic='-KPIC'
8378
lt_prog_compiler_static='-Bstatic'
8379
lt_prog_compiler_wl='-Wl,'
8382
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8383
lt_prog_compiler_pic='-KPIC'
8384
lt_prog_compiler_static='-Bstatic'
8385
lt_prog_compiler_wl=''
8392
osf3* | osf4* | osf5*)
8393
lt_prog_compiler_wl='-Wl,'
8394
# All OSF/1 code is PIC.
8395
lt_prog_compiler_static='-non_shared'
8399
lt_prog_compiler_static='-non_shared'
8403
lt_prog_compiler_pic='-KPIC'
8404
lt_prog_compiler_static='-Bstatic'
8405
case $cc_basename in
8407
lt_prog_compiler_wl='-Qoption ld ';;
8409
lt_prog_compiler_wl='-Wl,';;
8414
lt_prog_compiler_wl='-Qoption ld '
8415
lt_prog_compiler_pic='-PIC'
8416
lt_prog_compiler_static='-Bstatic'
8419
sysv4 | sysv4.2uw2* | sysv4.3*)
8420
lt_prog_compiler_wl='-Wl,'
8421
lt_prog_compiler_pic='-KPIC'
8422
lt_prog_compiler_static='-Bstatic'
8426
if test -d /usr/nec ;then
8427
lt_prog_compiler_pic='-Kconform_pic'
8428
lt_prog_compiler_static='-Bstatic'
8432
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8433
lt_prog_compiler_wl='-Wl,'
8434
lt_prog_compiler_pic='-KPIC'
8435
lt_prog_compiler_static='-Bstatic'
8439
lt_prog_compiler_wl='-Wl,'
8440
lt_prog_compiler_can_build_shared=no
8444
lt_prog_compiler_pic='-pic'
8445
lt_prog_compiler_static='-Bstatic'
8449
lt_prog_compiler_can_build_shared=no
8454
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8455
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8458
# Check to make sure the PIC flag actually works.
8460
if test -n "$lt_prog_compiler_pic"; then
8462
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8463
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8464
if test "${lt_prog_compiler_pic_works+set}" = set; then
8465
echo $ECHO_N "(cached) $ECHO_C" >&6
8467
lt_prog_compiler_pic_works=no
8468
ac_outfile=conftest.$ac_objext
8469
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8470
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8471
# Insert the option either (1) after the last *FLAGS variable, or
8472
# (2) before a word containing "conftest.", or (3) at the end.
8473
# Note that $ac_compile itself does not contain backslashes and begins
8474
# with a dollar sign (not a hyphen), so the echo should work correctly.
8475
# The option is referenced via a variable to avoid confusing sed.
8476
lt_compile=`echo "$ac_compile" | $SED \
8477
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8478
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8479
-e 's:$: $lt_compiler_flag:'`
8480
(eval echo "\"\$as_me:8480: $lt_compile\"" >&5)
8481
(eval "$lt_compile" 2>conftest.err)
8483
cat conftest.err >&5
8484
echo "$as_me:8484: \$? = $ac_status" >&5
8485
if (exit $ac_status) && test -s "$ac_outfile"; then
8486
# The compiler can only warn and ignore the option if not recognized
8487
# So say no if there are warnings other than the usual output.
8488
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8489
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8490
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8491
lt_prog_compiler_pic_works=yes
8497
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8498
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8500
if test x"$lt_prog_compiler_pic_works" = xyes; then
8501
case $lt_prog_compiler_pic in
8503
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8506
lt_prog_compiler_pic=
8507
lt_prog_compiler_can_build_shared=no
8512
# For platforms which do not support PIC, -DPIC is meaningless:
8514
lt_prog_compiler_pic=
8517
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8522
# Check to make sure the static flag actually works.
8524
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8525
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8526
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8527
if test "${lt_prog_compiler_static_works+set}" = set; then
8528
echo $ECHO_N "(cached) $ECHO_C" >&6
8530
lt_prog_compiler_static_works=no
8531
save_LDFLAGS="$LDFLAGS"
8532
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8533
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8534
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8535
# The linker can only warn and ignore the option if not recognized
8536
# So say no if there are warnings
8537
if test -s conftest.err; then
8538
# Append any errors to the config.log.
8539
cat conftest.err 1>&5
8540
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8541
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8542
if diff conftest.exp conftest.er2 >/dev/null; then
8543
lt_prog_compiler_static_works=yes
8546
lt_prog_compiler_static_works=yes
8550
LDFLAGS="$save_LDFLAGS"
8553
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8554
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8556
if test x"$lt_prog_compiler_static_works" = xyes; then
8559
lt_prog_compiler_static=
8563
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8564
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8565
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8566
echo $ECHO_N "(cached) $ECHO_C" >&6
8568
lt_cv_prog_compiler_c_o=no
8569
$rm -r conftest 2>/dev/null
8573
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575
lt_compiler_flag="-o out/conftest2.$ac_objext"
8576
# Insert the option either (1) after the last *FLAGS variable, or
8577
# (2) before a word containing "conftest.", or (3) at the end.
8578
# Note that $ac_compile itself does not contain backslashes and begins
8579
# with a dollar sign (not a hyphen), so the echo should work correctly.
8580
lt_compile=`echo "$ac_compile" | $SED \
8581
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8582
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8583
-e 's:$: $lt_compiler_flag:'`
8584
(eval echo "\"\$as_me:8584: $lt_compile\"" >&5)
8585
(eval "$lt_compile" 2>out/conftest.err)
8587
cat out/conftest.err >&5
8588
echo "$as_me:8588: \$? = $ac_status" >&5
8589
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8591
# The compiler can only warn and ignore the option if not recognized
8592
# So say no if there are warnings
8593
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8594
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8595
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8596
lt_cv_prog_compiler_c_o=yes
8601
# SGI C++ compiler will create directory out/ii_files/ for
8602
# template instantiation
8603
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8604
$rm out/* && rmdir out
8610
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8611
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8614
hard_links="nottested"
8615
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8616
# do not overwrite the value of need_locks provided by the user
8617
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8618
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8621
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8623
ln conftest.a conftest.b 2>&5 || hard_links=no
8624
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8625
{ echo "$as_me:$LINENO: result: $hard_links" >&5
8626
echo "${ECHO_T}$hard_links" >&6; }
8627
if test "$hard_links" = no; then
8628
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8629
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8636
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8637
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8640
allow_undefined_flag=
8641
enable_shared_with_static_runtimes=no
8643
archive_expsym_cmds=
8644
old_archive_From_new_cmds=
8645
old_archive_from_expsyms_cmds=
8646
export_dynamic_flag_spec=
8647
whole_archive_flag_spec=
8648
thread_safe_flag_spec=
8649
hardcode_libdir_flag_spec=
8650
hardcode_libdir_flag_spec_ld=
8651
hardcode_libdir_separator=
8654
hardcode_shlibpath_var=unsupported
8655
link_all_deplibs=unknown
8656
hardcode_automatic=no
8659
always_export_symbols=no
8660
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8661
# include_expsyms should be a list of space-separated symbols to be *always*
8662
# included in the symbol list
8664
# exclude_expsyms can be an extended regexp of symbols to exclude
8665
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8666
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8667
# as well as any symbol that contains `d'.
8668
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8669
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8670
# platforms (ab)use it in PIC code, but their linkers get confused if
8671
# the symbol is explicitly referenced. Since portable code cannot
8672
# rely on this symbol name, it's probably fine to never include it in
8673
# preloaded symbol tables.
8674
extract_expsyms_cmds=
8675
# Just being paranoid about ensuring that cc_basename is set.
8676
for cc_temp in $compiler""; do
8678
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8679
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8684
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8687
cygwin* | mingw* | pw32*)
8688
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8689
# When not using gcc, we currently assume that we are using
8690
# Microsoft Visual C++.
8691
if test "$GCC" != yes; then
8696
# we just hope/assume this is gcc and not c89 (= MSVC++)
8705
if test "$with_gnu_ld" = yes; then
8706
# If archive_cmds runs LD, not CC, wlarc should be empty
8709
# Set some defaults for GNU ld with shared library support. These
8710
# are reset later if shared libraries are not supported. Putting them
8711
# here allows them to be overridden if necessary.
8712
runpath_var=LD_RUN_PATH
8713
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8714
export_dynamic_flag_spec='${wl}--export-dynamic'
8715
# ancient GNU ld didn't support --whole-archive et. al.
8716
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8717
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8719
whole_archive_flag_spec=
8721
supports_anon_versioning=no
8722
case `$LD -v 2>/dev/null` in
8723
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8724
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8725
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8726
*\ 2.11.*) ;; # other 2.11 versions
8727
*) supports_anon_versioning=yes ;;
8730
# See if GNU ld supports shared libraries.
8732
aix3* | aix4* | aix5*)
8733
# On AIX/PPC, the GNU linker is very broken
8734
if test "$host_cpu" != ia64; then
8738
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8739
*** to be unable to reliably create shared libraries on AIX.
8740
*** Therefore, libtool is disabling shared libraries support. If you
8741
*** really care for shared libraries, you may want to modify your PATH
8742
*** so that a non-GNU linker is found, and then restart.
8749
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8750
hardcode_libdir_flag_spec='-L$libdir'
8751
hardcode_minus_L=yes
8753
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8754
# that the semantics of dynamic libraries on AmigaOS, at least up
8755
# to version 4, is to share data among multiple programs linked
8756
# with the same dynamic library. Since this doesn't match the
8757
# behavior of shared libraries on other platforms, we can't use
8763
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8764
allow_undefined_flag=unsupported
8765
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8766
# support --undefined. This deserves some investigation. FIXME
8767
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773
cygwin* | mingw* | pw32*)
8774
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8775
# as there is no search path for DLLs.
8776
hardcode_libdir_flag_spec='-L$libdir'
8777
allow_undefined_flag=unsupported
8778
always_export_symbols=no
8779
enable_shared_with_static_runtimes=yes
8780
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8782
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8783
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8784
# If the export-symbols file already is a .def file (1st line
8785
# is EXPORTS), use it as is; otherwise, prepend...
8786
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8787
cp $export_symbols $output_objdir/$soname.def;
8789
echo EXPORTS > $output_objdir/$soname.def;
8790
cat $export_symbols >> $output_objdir/$soname.def;
8792
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8800
hardcode_shlibpath_var=no
8801
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8802
export_dynamic_flag_spec='${wl}-E'
8803
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8804
# Instead, shared libraries are loaded at an image base (0x10000000 by
8805
# default) and relocated if they conflict, which is a slow very memory
8806
# consuming and fragmenting process. To avoid this, we pick a random,
8807
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8808
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8809
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8810
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8813
gnu* | linux* | k*bsd*-gnu)
8814
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8816
case $cc_basename,$host_cpu in
8817
pgcc*) # Portland Group C compiler
8818
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8819
tmp_addflag=' $pic_flag'
8821
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8822
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8823
tmp_addflag=' $pic_flag -Mnomain' ;;
8824
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8825
tmp_addflag=' -i_dynamic' ;;
8826
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8827
tmp_addflag=' -i_dynamic -nofor_main' ;;
8828
ifc* | ifort*) # Intel Fortran compiler
8829
tmp_addflag=' -nofor_main' ;;
8831
case `$CC -V 2>&1 | sed 5q` in
8832
*Sun\ C*) # Sun C 5.9
8833
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8834
tmp_sharedflag='-G' ;;
8835
*Sun\ F*) # Sun Fortran 8.3
8836
tmp_sharedflag='-G' ;;
8838
tmp_sharedflag='-shared' ;;
8840
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8842
if test $supports_anon_versioning = yes; then
8843
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8844
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8845
$echo "local: *; };" >> $output_objdir/$libname.ver~
8846
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8854
netbsd* | netbsdelf*-gnu)
8855
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8856
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8859
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8865
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8869
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8870
*** create shared libraries on Solaris systems. Therefore, libtool
8871
*** is disabling shared libraries support. We urge you to upgrade GNU
8872
*** binutils to release 2.9.1 or newer. Another option is to modify
8873
*** your PATH or compiler configuration so that the native linker is
8874
*** used, and then restart.
8877
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8878
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8885
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8886
case `$LD -v 2>&1` in
8887
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8891
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8892
*** reliably create shared libraries on SCO systems. Therefore, libtool
8893
*** is disabling shared libraries support. We urge you to upgrade GNU
8894
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8895
*** your PATH or compiler configuration so that the native linker is
8896
*** used, and then restart.
8901
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8902
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8903
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8904
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8913
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8916
hardcode_shlibpath_var=no
8920
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8921
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8922
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8929
if test "$ld_shlibs" = no; then
8931
hardcode_libdir_flag_spec=
8932
export_dynamic_flag_spec=
8933
whole_archive_flag_spec=
8936
# PORTME fill in a description of your system's linker (not GNU ld)
8939
allow_undefined_flag=unsupported
8940
always_export_symbols=yes
8941
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8942
# Note: this linker hardcodes the directories in LIBPATH if there
8943
# are no directories specified by -L.
8944
hardcode_minus_L=yes
8945
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8946
# Neither direct hardcoding nor static linking is supported with a
8948
hardcode_direct=unsupported
8953
if test "$host_cpu" = ia64; then
8954
# On IA64, the linker does run time linking by default, so we don't
8955
# have to do anything special.
8956
aix_use_runtimelinking=no
8957
exp_sym_flag='-Bexport'
8960
# If we're using GNU nm, then we don't want the "-C" option.
8961
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8962
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8963
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8965
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8967
aix_use_runtimelinking=no
8969
# Test if we are trying to use run time linking or normal
8970
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8971
# need to do runtime linking.
8972
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8973
for ld_flag in $LDFLAGS; do
8974
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8975
aix_use_runtimelinking=yes
8982
exp_sym_flag='-bexport'
8983
no_entry_flag='-bnoentry'
8986
# When large executables or shared objects are built, AIX ld can
8987
# have problems creating the table of contents. If linking a library
8988
# or program results in "error TOC overflow" add -mminimal-toc to
8989
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8990
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8994
hardcode_libdir_separator=':'
8995
link_all_deplibs=yes
8997
if test "$GCC" = yes; then
8998
case $host_os in aix4.[012]|aix4.[012].*)
8999
# We only want to do this on AIX 4.2 and lower, the check
9000
# below for broken collect2 doesn't work under 4.3+
9001
collect2name=`${CC} -print-prog-name=collect2`
9002
if test -f "$collect2name" && \
9003
strings "$collect2name" | grep resolve_lib_name >/dev/null
9005
# We have reworked collect2
9008
# We have old collect2
9009
hardcode_direct=unsupported
9010
# It fails to find uninstalled libraries when the uninstalled
9011
# path is not listed in the libpath. Setting hardcode_minus_L
9012
# to unsupported forces relinking
9013
hardcode_minus_L=yes
9014
hardcode_libdir_flag_spec='-L$libdir'
9015
hardcode_libdir_separator=
9019
shared_flag='-shared'
9020
if test "$aix_use_runtimelinking" = yes; then
9021
shared_flag="$shared_flag "'${wl}-G'
9025
if test "$host_cpu" = ia64; then
9026
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9027
# chokes on -Wl,-G. The following line is correct:
9030
if test "$aix_use_runtimelinking" = yes; then
9031
shared_flag='${wl}-G'
9033
shared_flag='${wl}-bM:SRE'
9038
# It seems that -bexpall does not export symbols beginning with
9039
# underscore (_), so it is better to generate a list of symbols to export.
9040
always_export_symbols=yes
9041
if test "$aix_use_runtimelinking" = yes; then
9042
# Warning - without using the other runtime loading flags (-brtl),
9043
# -berok will link without error, but may produce a broken library.
9044
allow_undefined_flag='-berok'
9045
# Determine the default libpath from the value encoded in an empty executable.
9046
cat >conftest.$ac_ext <<_ACEOF
9049
cat confdefs.h >>conftest.$ac_ext
9050
cat >>conftest.$ac_ext <<_ACEOF
9051
/* end confdefs.h. */
9061
rm -f conftest.$ac_objext conftest$ac_exeext
9062
if { (ac_try="$ac_link"
9064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065
*) ac_try_echo=$ac_try;;
9067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068
(eval "$ac_link") 2>conftest.er1
9070
grep -v '^ *+' conftest.er1 >conftest.err
9072
cat conftest.err >&5
9073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
(exit $ac_status); } && {
9075
test -z "$ac_c_werror_flag" ||
9076
test ! -s conftest.err
9077
} && test -s conftest$ac_exeext &&
9078
$as_test_x conftest$ac_exeext; then
9080
lt_aix_libpath_sed='
9081
/Import File Strings/,/^$/ {
9087
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9088
# Check for a 64-bit object if we didn't find anything.
9089
if test -z "$aix_libpath"; then
9090
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9093
echo "$as_me: failed program was:" >&5
9094
sed 's/^/| /' conftest.$ac_ext >&5
9099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9100
conftest$ac_exeext conftest.$ac_ext
9101
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9103
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9104
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9106
if test "$host_cpu" = ia64; then
9107
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9108
allow_undefined_flag="-z nodefs"
9109
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9111
# Determine the default libpath from the value encoded in an empty executable.
9112
cat >conftest.$ac_ext <<_ACEOF
9115
cat confdefs.h >>conftest.$ac_ext
9116
cat >>conftest.$ac_ext <<_ACEOF
9117
/* end confdefs.h. */
9127
rm -f conftest.$ac_objext conftest$ac_exeext
9128
if { (ac_try="$ac_link"
9130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131
*) ac_try_echo=$ac_try;;
9133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134
(eval "$ac_link") 2>conftest.er1
9136
grep -v '^ *+' conftest.er1 >conftest.err
9138
cat conftest.err >&5
9139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140
(exit $ac_status); } && {
9141
test -z "$ac_c_werror_flag" ||
9142
test ! -s conftest.err
9143
} && test -s conftest$ac_exeext &&
9144
$as_test_x conftest$ac_exeext; then
9146
lt_aix_libpath_sed='
9147
/Import File Strings/,/^$/ {
9153
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9154
# Check for a 64-bit object if we didn't find anything.
9155
if test -z "$aix_libpath"; then
9156
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9159
echo "$as_me: failed program was:" >&5
9160
sed 's/^/| /' conftest.$ac_ext >&5
9165
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9166
conftest$ac_exeext conftest.$ac_ext
9167
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9169
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9170
# Warning - without using the other run time loading flags,
9171
# -berok will link without error, but may produce a broken library.
9172
no_undefined_flag=' ${wl}-bernotok'
9173
allow_undefined_flag=' ${wl}-berok'
9174
# Exported symbols can be pulled into shared objects from archives
9175
whole_archive_flag_spec='$convenience'
9176
archive_cmds_need_lc=yes
9177
# This is similar to how AIX traditionally builds its shared libraries.
9178
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9184
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9185
hardcode_libdir_flag_spec='-L$libdir'
9186
hardcode_minus_L=yes
9187
# see comment about different semantics on the GNU ld section
9192
export_dynamic_flag_spec=-rdynamic
9195
cygwin* | mingw* | pw32*)
9196
# When not using gcc, we currently assume that we are using
9197
# Microsoft Visual C++.
9198
# hardcode_libdir_flag_spec is actually meaningless, as there is
9199
# no search path for DLLs.
9200
hardcode_libdir_flag_spec=' '
9201
allow_undefined_flag=unsupported
9202
# Tell ltmain to make .lib files, not .a files.
9204
# Tell ltmain to make .dll files, not .so files.
9206
# FIXME: Setting linknames here is a bad hack.
9207
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9208
# The linker will automatically build a .lib file if we build a DLL.
9209
old_archive_From_new_cmds='true'
9210
# FIXME: Should let the user specify the lib program.
9211
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9212
fix_srcfile_path='`cygpath -w "$srcfile"`'
9213
enable_shared_with_static_runtimes=yes
9216
darwin* | rhapsody*)
9218
rhapsody* | darwin1.[012])
9219
allow_undefined_flag='${wl}-undefined ${wl}suppress'
9222
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9223
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9225
case ${MACOSX_DEPLOYMENT_TARGET} in
9227
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9230
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9236
archive_cmds_need_lc=no
9238
hardcode_automatic=yes
9239
hardcode_shlibpath_var=unsupported
9240
whole_archive_flag_spec=''
9241
link_all_deplibs=yes
9242
if test "$GCC" = yes ; then
9243
output_verbose_link_cmd='echo'
9244
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9245
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9246
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9247
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9248
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9250
case $cc_basename in
9252
output_verbose_link_cmd='echo'
9253
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9254
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9255
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9256
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9257
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9267
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9268
hardcode_libdir_flag_spec='-L$libdir'
9269
hardcode_shlibpath_var=no
9276
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9277
# support. Future versions do this automatically, but an explicit c++rt0.o
9278
# does not break anything, and helps significantly (at the cost of a little
9281
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9282
hardcode_libdir_flag_spec='-R$libdir'
9284
hardcode_shlibpath_var=no
9287
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9289
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9291
hardcode_minus_L=yes
9292
hardcode_shlibpath_var=no
9295
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9296
freebsd* | dragonfly*)
9297
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9298
hardcode_libdir_flag_spec='-R$libdir'
9300
hardcode_shlibpath_var=no
9304
if test "$GCC" = yes; then
9305
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9307
archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9309
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9310
hardcode_libdir_separator=:
9313
# hardcode_minus_L: Not really in the search PATH,
9314
# but as the default location of the library.
9315
hardcode_minus_L=yes
9316
export_dynamic_flag_spec='${wl}-E'
9320
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9321
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9323
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9325
if test "$with_gnu_ld" = no; then
9326
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9327
hardcode_libdir_separator=:
9330
export_dynamic_flag_spec='${wl}-E'
9332
# hardcode_minus_L: Not really in the search PATH,
9333
# but as the default location of the library.
9334
hardcode_minus_L=yes
9339
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9342
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9345
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9348
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9354
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9357
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9360
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9364
if test "$with_gnu_ld" = no; then
9365
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9366
hardcode_libdir_separator=:
9370
hardcode_libdir_flag_spec_ld='+b $libdir'
9372
hardcode_shlibpath_var=no
9376
export_dynamic_flag_spec='${wl}-E'
9378
# hardcode_minus_L: Not really in the search PATH,
9379
# but as the default location of the library.
9380
hardcode_minus_L=yes
9386
irix5* | irix6* | nonstopux*)
9387
if test "$GCC" = yes; then
9388
archive_cmds='$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'
9390
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9391
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9393
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9394
hardcode_libdir_separator=:
9395
link_all_deplibs=yes
9398
netbsd* | netbsdelf*-gnu)
9399
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9400
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9402
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9404
hardcode_libdir_flag_spec='-R$libdir'
9406
hardcode_shlibpath_var=no
9410
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9412
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9413
hardcode_libdir_separator=:
9414
hardcode_shlibpath_var=no
9418
if test -f /usr/libexec/ld.so; then
9420
hardcode_shlibpath_var=no
9421
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9422
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9423
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9424
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9425
export_dynamic_flag_spec='${wl}-E'
9428
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9429
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9430
hardcode_libdir_flag_spec='-R$libdir'
9433
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9434
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9444
hardcode_libdir_flag_spec='-L$libdir'
9445
hardcode_minus_L=yes
9446
allow_undefined_flag=unsupported
9447
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9448
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9452
if test "$GCC" = yes; then
9453
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9454
archive_cmds='$CC -shared${allow_undefined_flag} $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'
9456
allow_undefined_flag=' -expect_unresolved \*'
9457
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9459
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460
hardcode_libdir_separator=:
9463
osf4* | osf5*) # as osf3* with the addition of -msym flag
9464
if test "$GCC" = yes; then
9465
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9466
archive_cmds='$CC -shared${allow_undefined_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'
9467
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9469
allow_undefined_flag=' -expect_unresolved \*'
9470
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9471
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9472
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9474
# Both c and cxx compiler support -rpath directly
9475
hardcode_libdir_flag_spec='-rpath $libdir'
9477
hardcode_libdir_separator=:
9481
no_undefined_flag=' -z text'
9482
if test "$GCC" = yes; then
9484
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9486
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9489
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9490
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9491
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9493
hardcode_libdir_flag_spec='-R$libdir'
9494
hardcode_shlibpath_var=no
9496
solaris2.[0-5] | solaris2.[0-5].*) ;;
9498
# The compiler driver will combine and reorder linker options,
9499
# but understands `-z linker_flag'. GCC discards it without `$wl',
9500
# but is careful enough not to reorder.
9501
# Supported since Solaris 2.6 (maybe 2.5.1?)
9502
if test "$GCC" = yes; then
9503
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9505
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9509
link_all_deplibs=yes
9513
if test "x$host_vendor" = xsequent; then
9514
# Use $CC to link under sequent, because it throws in some extra .o
9515
# files that make .init and .fini sections work.
9516
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9518
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9520
hardcode_libdir_flag_spec='-L$libdir'
9522
hardcode_minus_L=yes
9523
hardcode_shlibpath_var=no
9527
case $host_vendor in
9529
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530
hardcode_direct=yes # is this really true???
9533
## LD is ld it makes a PLAMLIB
9534
## CC just makes a GrossModule.
9535
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9536
reload_cmds='$CC -r -o $output$reload_objs'
9540
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9544
runpath_var='LD_RUN_PATH'
9545
hardcode_shlibpath_var=no
9549
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9550
hardcode_shlibpath_var=no
9551
export_dynamic_flag_spec='-Bexport'
9555
if test -d /usr/nec; then
9556
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557
hardcode_shlibpath_var=no
9558
runpath_var=LD_RUN_PATH
9559
hardcode_runpath_var=yes
9564
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9565
no_undefined_flag='${wl}-z,text'
9566
archive_cmds_need_lc=no
9567
hardcode_shlibpath_var=no
9568
runpath_var='LD_RUN_PATH'
9570
if test "$GCC" = yes; then
9571
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9572
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9574
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9575
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9579
sysv5* | sco3.2v5* | sco5v6*)
9580
# Note: We can NOT use -z defs as we might desire, because we do not
9581
# link with -lc, and that would cause any symbols used from libc to
9582
# always be unresolved, which means just about no library would
9583
# ever link correctly. If we're not using GNU ld we use -z text
9584
# though, which does catch some bad symbols but isn't as heavy-handed
9586
no_undefined_flag='${wl}-z,text'
9587
allow_undefined_flag='${wl}-z,nodefs'
9588
archive_cmds_need_lc=no
9589
hardcode_shlibpath_var=no
9590
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9591
hardcode_libdir_separator=':'
9592
link_all_deplibs=yes
9593
export_dynamic_flag_spec='${wl}-Bexport'
9594
runpath_var='LD_RUN_PATH'
9596
if test "$GCC" = yes; then
9597
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9600
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9601
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9606
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9607
hardcode_libdir_flag_spec='-L$libdir'
9608
hardcode_shlibpath_var=no
9617
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9618
echo "${ECHO_T}$ld_shlibs" >&6; }
9619
test "$ld_shlibs" = no && can_build_shared=no
9622
# Do we need to explicitly link libc?
9624
case "x$archive_cmds_need_lc" in
9626
# Assume -lc should be added
9627
archive_cmds_need_lc=yes
9629
if test "$enable_shared" = yes && test "$GCC" = yes; then
9630
case $archive_cmds in
9632
# FIXME: we may have to deal with multi-command sequences.
9635
# Test whether the compiler implicitly links with -lc since on some
9636
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9637
# to ld, don't add -lc before -lgcc.
9638
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9639
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9641
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9643
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9644
(eval $ac_compile) 2>&5
9646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647
(exit $ac_status); } 2>conftest.err; then
9650
libobjs=conftest.$ac_objext
9652
wl=$lt_prog_compiler_wl
9653
pic_flag=$lt_prog_compiler_pic
9659
lt_save_allow_undefined_flag=$allow_undefined_flag
9660
allow_undefined_flag=
9661
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9662
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665
(exit $ac_status); }
9667
archive_cmds_need_lc=no
9669
archive_cmds_need_lc=yes
9671
allow_undefined_flag=$lt_save_allow_undefined_flag
9673
cat conftest.err 1>&5
9676
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9677
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9684
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9685
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9687
libname_spec='lib$name'
9695
shlibpath_overrides_runpath=unknown
9697
dynamic_linker="$host_os ld.so"
9698
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9700
if test "$GCC" = yes; then
9702
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9703
*) lt_awk_arg="/^libraries:/" ;;
9705
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9706
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9707
# if the path contains ";" then we assume it to be the separator
9708
# otherwise default to the standard path separator (i.e. ":") - it is
9709
# assumed that no part of a normal pathname contains ";" but that should
9710
# okay in the real world where ";" in dirpaths is itself problematic.
9711
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9713
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9715
# Ok, now we have the path, separated by spaces, we can step through it
9716
# and add multilib dir if necessary.
9717
lt_tmp_lt_search_path_spec=
9718
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9719
for lt_sys_path in $lt_search_path_spec; do
9720
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9721
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9723
test -d "$lt_sys_path" && \
9724
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9727
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9728
BEGIN {RS=" "; FS="/|\n";} {
9731
for (lt_i = NF; lt_i > 0; lt_i--) {
9732
if ($lt_i != "" && $lt_i != ".") {
9733
if ($lt_i == "..") {
9736
if (lt_count == 0) {
9737
lt_foo="/" $lt_i lt_foo;
9744
if (lt_foo != "") { lt_freq[lt_foo]++; }
9745
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9747
sys_lib_search_path_spec=`echo $lt_search_path_spec`
9749
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9751
need_lib_prefix=unknown
9752
hardcode_into_libs=no
9754
# when you set need_version to no, make sure it does not cause -set_version
9755
# flags to be left without arguments
9756
need_version=unknown
9761
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9762
shlibpath_var=LIBPATH
9764
# AIX 3 has no versioning support, so we append a major version to the name.
9765
soname_spec='${libname}${release}${shared_ext}$major'
9772
hardcode_into_libs=yes
9773
if test "$host_cpu" = ia64; then
9774
# AIX 5 supports IA64
9775
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9776
shlibpath_var=LD_LIBRARY_PATH
9778
# With GCC up to 2.95.x, collect2 would create an import file
9779
# for dependence libraries. The import file would start with
9780
# the line `#! .'. This would cause the generated library to
9781
# depend on `.', always an invalid library. This was fixed in
9782
# development snapshots of GCC prior to 3.0.
9784
aix4 | aix4.[01] | aix4.[01].*)
9785
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9787
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9794
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9795
# soname into executable. Probably we can add versioning support to
9796
# collect2, so additional links can be useful in future.
9797
if test "$aix_use_runtimelinking" = yes; then
9798
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9799
# instead of lib<name>.a to let people know that these are not
9800
# typical AIX shared libraries.
9801
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9803
# We preserve .a as extension for shared libraries through AIX4.2
9804
# and later when we are not doing run time linking.
9805
library_names_spec='${libname}${release}.a $libname.a'
9806
soname_spec='${libname}${release}${shared_ext}$major'
9808
shlibpath_var=LIBPATH
9813
library_names_spec='$libname.ixlibrary $libname.a'
9814
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9815
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\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'
9819
library_names_spec='${libname}${shared_ext}'
9820
dynamic_linker="$host_os ld.so"
9821
shlibpath_var=LIBRARY_PATH
9827
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9828
soname_spec='${libname}${release}${shared_ext}$major'
9829
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9830
shlibpath_var=LD_LIBRARY_PATH
9831
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9832
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9833
# the default ld.so.conf also contains /usr/contrib/lib and
9834
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9835
# libtool to hard-code these into programs
9838
cygwin* | mingw* | pw32*)
9839
version_type=windows
9844
case $GCC,$host_os in
9845
yes,cygwin* | yes,mingw* | yes,pw32*)
9846
library_names_spec='$libname.dll.a'
9847
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9848
postinstall_cmds='base_file=`basename \${file}`~
9849
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9850
dldir=$destdir/`dirname \$dlpath`~
9851
test -d \$dldir || mkdir -p \$dldir~
9852
$install_prog $dir/$dlname \$dldir/$dlname~
9853
chmod a+x \$dldir/$dlname'
9854
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9855
dlpath=$dir/\$dldll~
9857
shlibpath_overrides_runpath=yes
9861
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9862
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9863
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9866
# MinGW DLLs use traditional 'lib' prefix
9867
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9868
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9869
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9870
# It is most probably a Windows format PATH printed by
9871
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9872
# path with ; separators, and with drive letters. We can handle the
9873
# drive letters (cygwin fileutils understands them), so leave them,
9874
# especially as we might pass files found there to a mingw objdump,
9875
# which wouldn't understand a cygwinified path. Ahh.
9876
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9878
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9882
# pw32 DLLs use 'pw' prefix rather than 'lib'
9883
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9889
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9892
dynamic_linker='Win32 ld.exe'
9893
# FIXME: first we should search . and the directory the executable is in
9897
darwin* | rhapsody*)
9898
dynamic_linker="$host_os dyld"
9902
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9903
soname_spec='${libname}${release}${major}$shared_ext'
9904
shlibpath_overrides_runpath=yes
9905
shlibpath_var=DYLD_LIBRARY_PATH
9906
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9908
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9909
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9916
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9917
soname_spec='${libname}${release}${shared_ext}$major'
9918
shlibpath_var=LD_LIBRARY_PATH
9925
freebsd* | dragonfly*)
9926
# DragonFly does not have aout. When/if they implement a new
9927
# versioning mechanism, adjust this.
9928
if test -x /usr/bin/objformat; then
9929
objformat=`/usr/bin/objformat`
9932
freebsd[123]*) objformat=aout ;;
9936
version_type=freebsd-$objformat
9937
case $version_type in
9939
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9944
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9948
shlibpath_var=LD_LIBRARY_PATH
9951
shlibpath_overrides_runpath=yes
9953
freebsd3.[01]* | freebsdelf3.[01]*)
9954
shlibpath_overrides_runpath=yes
9955
hardcode_into_libs=yes
9957
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9958
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9959
shlibpath_overrides_runpath=no
9960
hardcode_into_libs=yes
9962
*) # from 4.6 on, and DragonFly
9963
shlibpath_overrides_runpath=yes
9964
hardcode_into_libs=yes
9973
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9974
soname_spec='${libname}${release}${shared_ext}$major'
9975
shlibpath_var=LD_LIBRARY_PATH
9976
hardcode_into_libs=yes
9979
hpux9* | hpux10* | hpux11*)
9980
# Give a soname corresponding to the major version so that dld.sl refuses to
9981
# link against other versions.
9988
hardcode_into_libs=yes
9989
dynamic_linker="$host_os dld.so"
9990
shlibpath_var=LD_LIBRARY_PATH
9991
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993
soname_spec='${libname}${release}${shared_ext}$major'
9994
if test "X$HPUX_IA64_MODE" = X32; then
9995
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9997
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9999
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10003
hardcode_into_libs=yes
10004
dynamic_linker="$host_os dld.sl"
10005
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10006
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10007
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008
soname_spec='${libname}${release}${shared_ext}$major'
10009
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10010
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10014
dynamic_linker="$host_os dld.sl"
10015
shlibpath_var=SHLIB_PATH
10016
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10017
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10018
soname_spec='${libname}${release}${shared_ext}$major'
10021
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10022
postinstall_cmds='chmod 555 $lib'
10029
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10030
soname_spec='${libname}${release}${shared_ext}$major'
10031
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10032
shlibpath_var=LD_LIBRARY_PATH
10033
shlibpath_overrides_runpath=no
10034
hardcode_into_libs=yes
10037
irix5* | irix6* | nonstopux*)
10039
nonstopux*) version_type=nonstopux ;;
10041
if test "$lt_cv_prog_gnu_ld" = yes; then
10049
soname_spec='${libname}${release}${shared_ext}$major'
10050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10052
irix5* | nonstopux*)
10053
libsuff= shlibsuff=
10056
case $LD in # libtool.m4 will add one of these switches to LD
10057
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10058
libsuff= shlibsuff= libmagic=32-bit;;
10059
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10060
libsuff=32 shlibsuff=N32 libmagic=N32;;
10061
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10062
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10063
*) libsuff= shlibsuff= libmagic=never-match;;
10067
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10068
shlibpath_overrides_runpath=no
10069
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10070
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10071
hardcode_into_libs=yes
10074
# No shared lib support for Linux oldld, aout, or coff.
10075
linux*oldld* | linux*aout* | linux*coff*)
10079
# This must be Linux ELF.
10080
linux* | k*bsd*-gnu)
10084
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085
soname_spec='${libname}${release}${shared_ext}$major'
10086
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10087
shlibpath_var=LD_LIBRARY_PATH
10088
shlibpath_overrides_runpath=no
10089
# This implies no fast_install, which is unacceptable.
10090
# Some rework will be needed to allow for fast_install
10091
# before this can be enabled.
10092
hardcode_into_libs=yes
10094
# Append ld.so.conf contents to the search path
10095
if test -f /etc/ld.so.conf; then
10096
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 '\n' ' '`
10097
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10100
# We used to test for /lib/ld.so.1 and disable shared libraries on
10101
# powerpc, because MkLinux only supported shared libraries with the
10102
# GNU dynamic linker. Since this was broken with cross compilers,
10103
# most powerpc-linux boxes support dynamic linking these days and
10104
# people can always --disable-shared, the test was removed, and we
10105
# assume the GNU/Linux dynamic linker is in use.
10106
dynamic_linker='GNU/Linux ld.so'
10113
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10114
soname_spec='${libname}${release}${shared_ext}$major'
10115
shlibpath_var=LD_LIBRARY_PATH
10116
shlibpath_overrides_runpath=no
10117
hardcode_into_libs=yes
10118
dynamic_linker='NetBSD ld.elf_so'
10125
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10126
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10127
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10128
dynamic_linker='NetBSD (a.out) ld.so'
10130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10131
soname_spec='${libname}${release}${shared_ext}$major'
10132
dynamic_linker='NetBSD ld.elf_so'
10134
shlibpath_var=LD_LIBRARY_PATH
10135
shlibpath_overrides_runpath=yes
10136
hardcode_into_libs=yes
10141
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142
shlibpath_var=LD_LIBRARY_PATH
10143
shlibpath_overrides_runpath=yes
10150
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151
soname_spec='${libname}${release}${shared_ext}$major'
10152
shlibpath_var=LD_LIBRARY_PATH
10153
shlibpath_overrides_runpath=yes
10158
sys_lib_dlsearch_path_spec="/usr/lib"
10160
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10162
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10163
*) need_version=no ;;
10165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10166
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10167
shlibpath_var=LD_LIBRARY_PATH
10168
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10170
openbsd2.[89] | openbsd2.[89].*)
10171
shlibpath_overrides_runpath=no
10174
shlibpath_overrides_runpath=yes
10178
shlibpath_overrides_runpath=yes
10183
libname_spec='$name'
10186
library_names_spec='$libname${shared_ext} $libname.a'
10187
dynamic_linker='OS/2 ld.exe'
10188
shlibpath_var=LIBPATH
10191
osf3* | osf4* | osf5*)
10195
soname_spec='${libname}${release}${shared_ext}$major'
10196
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10197
shlibpath_var=LD_LIBRARY_PATH
10198
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10199
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10210
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211
soname_spec='${libname}${release}${shared_ext}$major'
10212
shlibpath_var=LD_LIBRARY_PATH
10213
shlibpath_overrides_runpath=yes
10214
hardcode_into_libs=yes
10215
# ldd complains unless libraries are executable
10216
postinstall_cmds='chmod +x $lib'
10221
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10222
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10223
shlibpath_var=LD_LIBRARY_PATH
10224
shlibpath_overrides_runpath=yes
10225
if test "$with_gnu_ld" = yes; then
10233
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234
soname_spec='${libname}${release}${shared_ext}$major'
10235
shlibpath_var=LD_LIBRARY_PATH
10236
case $host_vendor in
10238
shlibpath_overrides_runpath=no
10240
export_dynamic_flag_spec='${wl}-Blargedynsym'
10241
runpath_var=LD_RUN_PATH
10249
shlibpath_overrides_runpath=no
10250
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10256
if test -d /usr/nec ;then
10258
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10259
soname_spec='$libname${shared_ext}.$major'
10260
shlibpath_var=LD_LIBRARY_PATH
10264
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10265
version_type=freebsd-elf
10268
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10269
soname_spec='${libname}${release}${shared_ext}$major'
10270
shlibpath_var=LD_LIBRARY_PATH
10271
hardcode_into_libs=yes
10272
if test "$with_gnu_ld" = yes; then
10273
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10274
shlibpath_overrides_runpath=no
10276
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10277
shlibpath_overrides_runpath=yes
10280
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10284
sys_lib_dlsearch_path_spec='/usr/lib'
10289
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290
soname_spec='${libname}${release}${shared_ext}$major'
10291
shlibpath_var=LD_LIBRARY_PATH
10298
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10299
echo "${ECHO_T}$dynamic_linker" >&6; }
10300
test "$dynamic_linker" = no && can_build_shared=no
10302
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10303
if test "$GCC" = yes; then
10304
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10307
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10308
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10310
if test -n "$hardcode_libdir_flag_spec" || \
10311
test -n "$runpath_var" || \
10312
test "X$hardcode_automatic" = "Xyes" ; then
10314
# We can hardcode non-existant directories.
10315
if test "$hardcode_direct" != no &&
10316
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10317
# have to relink, otherwise we might link with an installed library
10318
# when we should be linking with a yet-to-be-installed one
10319
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10320
test "$hardcode_minus_L" != no; then
10321
# Linking always hardcodes the temporary library directory.
10322
hardcode_action=relink
10324
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10325
hardcode_action=immediate
10328
# We cannot hardcode anything, or else we can only hardcode existing
10330
hardcode_action=unsupported
10332
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10333
echo "${ECHO_T}$hardcode_action" >&6; }
10335
if test "$hardcode_action" = relink; then
10336
# Fast installation is not supported
10337
enable_fast_install=no
10338
elif test "$shlibpath_overrides_runpath" = yes ||
10339
test "$enable_shared" = no; then
10340
# Fast installation is not necessary
10341
enable_fast_install=needless
10346
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10347
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10348
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10349
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10350
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10351
{ echo "$as_me:$LINENO: result: yes" >&5
10352
echo "${ECHO_T}yes" >&6; }
10354
# FIXME - insert some real tests, host_os isn't really good enough
10357
if test -n "$STRIP" ; then
10358
striplib="$STRIP -x"
10359
old_striplib="$STRIP -S"
10360
{ echo "$as_me:$LINENO: result: yes" >&5
10361
echo "${ECHO_T}yes" >&6; }
10363
{ echo "$as_me:$LINENO: result: no" >&5
10364
echo "${ECHO_T}no" >&6; }
10368
{ echo "$as_me:$LINENO: result: no" >&5
10369
echo "${ECHO_T}no" >&6; }
10374
if test "x$enable_dlopen" != xyes; then
10375
enable_dlopen=unknown
10376
enable_dlopen_self=unknown
10377
enable_dlopen_self_static=unknown
10384
lt_cv_dlopen="load_add_on"
10386
lt_cv_dlopen_self=yes
10390
lt_cv_dlopen="LoadLibrary"
10395
lt_cv_dlopen="dlopen"
10400
# if libdl is installed we need to link against it
10401
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10402
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10403
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10404
echo $ECHO_N "(cached) $ECHO_C" >&6
10406
ac_check_lib_save_LIBS=$LIBS
10408
cat >conftest.$ac_ext <<_ACEOF
10411
cat confdefs.h >>conftest.$ac_ext
10412
cat >>conftest.$ac_ext <<_ACEOF
10413
/* end confdefs.h. */
10415
/* Override any GCC internal prototype to avoid an error.
10416
Use char because int might match the return type of a GCC
10417
builtin and then its argument prototype would still apply. */
10430
rm -f conftest.$ac_objext conftest$ac_exeext
10431
if { (ac_try="$ac_link"
10432
case "(($ac_try" in
10433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10434
*) ac_try_echo=$ac_try;;
10436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10437
(eval "$ac_link") 2>conftest.er1
10439
grep -v '^ *+' conftest.er1 >conftest.err
10441
cat conftest.err >&5
10442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443
(exit $ac_status); } && {
10444
test -z "$ac_c_werror_flag" ||
10445
test ! -s conftest.err
10446
} && test -s conftest$ac_exeext &&
10447
$as_test_x conftest$ac_exeext; then
10448
ac_cv_lib_dl_dlopen=yes
10450
echo "$as_me: failed program was:" >&5
10451
sed 's/^/| /' conftest.$ac_ext >&5
10453
ac_cv_lib_dl_dlopen=no
10456
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10457
conftest$ac_exeext conftest.$ac_ext
10458
LIBS=$ac_check_lib_save_LIBS
10460
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10461
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10462
if test $ac_cv_lib_dl_dlopen = yes; then
10463
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10466
lt_cv_dlopen="dyld"
10468
lt_cv_dlopen_self=yes
10475
{ echo "$as_me:$LINENO: checking for shl_load" >&5
10476
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10477
if test "${ac_cv_func_shl_load+set}" = set; then
10478
echo $ECHO_N "(cached) $ECHO_C" >&6
10480
cat >conftest.$ac_ext <<_ACEOF
10483
cat confdefs.h >>conftest.$ac_ext
10484
cat >>conftest.$ac_ext <<_ACEOF
10485
/* end confdefs.h. */
10486
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10487
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10488
#define shl_load innocuous_shl_load
10490
/* System header to define __stub macros and hopefully few prototypes,
10491
which can conflict with char shl_load (); below.
10492
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10493
<limits.h> exists even on freestanding compilers. */
10496
# include <limits.h>
10498
# include <assert.h>
10503
/* Override any GCC internal prototype to avoid an error.
10504
Use char because int might match the return type of a GCC
10505
builtin and then its argument prototype would still apply. */
10510
/* The GNU C library defines this for functions which it implements
10511
to always fail with ENOSYS. Some functions are actually named
10512
something starting with __ and the normal name is an alias. */
10513
#if defined __stub_shl_load || defined __stub___shl_load
10520
return shl_load ();
10525
rm -f conftest.$ac_objext conftest$ac_exeext
10526
if { (ac_try="$ac_link"
10527
case "(($ac_try" in
10528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10529
*) ac_try_echo=$ac_try;;
10531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10532
(eval "$ac_link") 2>conftest.er1
10534
grep -v '^ *+' conftest.er1 >conftest.err
10536
cat conftest.err >&5
10537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538
(exit $ac_status); } && {
10539
test -z "$ac_c_werror_flag" ||
10540
test ! -s conftest.err
10541
} && test -s conftest$ac_exeext &&
10542
$as_test_x conftest$ac_exeext; then
10543
ac_cv_func_shl_load=yes
10545
echo "$as_me: failed program was:" >&5
10546
sed 's/^/| /' conftest.$ac_ext >&5
10548
ac_cv_func_shl_load=no
10551
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10552
conftest$ac_exeext conftest.$ac_ext
10554
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10555
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10556
if test $ac_cv_func_shl_load = yes; then
10557
lt_cv_dlopen="shl_load"
10559
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10560
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10561
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10562
echo $ECHO_N "(cached) $ECHO_C" >&6
10564
ac_check_lib_save_LIBS=$LIBS
10566
cat >conftest.$ac_ext <<_ACEOF
10569
cat confdefs.h >>conftest.$ac_ext
10570
cat >>conftest.$ac_ext <<_ACEOF
10571
/* end confdefs.h. */
10573
/* Override any GCC internal prototype to avoid an error.
10574
Use char because int might match the return type of a GCC
10575
builtin and then its argument prototype would still apply. */
10583
return shl_load ();
10588
rm -f conftest.$ac_objext conftest$ac_exeext
10589
if { (ac_try="$ac_link"
10590
case "(($ac_try" in
10591
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592
*) ac_try_echo=$ac_try;;
10594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10595
(eval "$ac_link") 2>conftest.er1
10597
grep -v '^ *+' conftest.er1 >conftest.err
10599
cat conftest.err >&5
10600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601
(exit $ac_status); } && {
10602
test -z "$ac_c_werror_flag" ||
10603
test ! -s conftest.err
10604
} && test -s conftest$ac_exeext &&
10605
$as_test_x conftest$ac_exeext; then
10606
ac_cv_lib_dld_shl_load=yes
10608
echo "$as_me: failed program was:" >&5
10609
sed 's/^/| /' conftest.$ac_ext >&5
10611
ac_cv_lib_dld_shl_load=no
10614
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10615
conftest$ac_exeext conftest.$ac_ext
10616
LIBS=$ac_check_lib_save_LIBS
10618
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10619
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10620
if test $ac_cv_lib_dld_shl_load = yes; then
10621
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10623
{ echo "$as_me:$LINENO: checking for dlopen" >&5
10624
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10625
if test "${ac_cv_func_dlopen+set}" = set; then
10626
echo $ECHO_N "(cached) $ECHO_C" >&6
10628
cat >conftest.$ac_ext <<_ACEOF
10631
cat confdefs.h >>conftest.$ac_ext
10632
cat >>conftest.$ac_ext <<_ACEOF
10633
/* end confdefs.h. */
10634
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10635
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10636
#define dlopen innocuous_dlopen
10638
/* System header to define __stub macros and hopefully few prototypes,
10639
which can conflict with char dlopen (); below.
10640
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10641
<limits.h> exists even on freestanding compilers. */
10644
# include <limits.h>
10646
# include <assert.h>
10651
/* Override any GCC internal prototype to avoid an error.
10652
Use char because int might match the return type of a GCC
10653
builtin and then its argument prototype would still apply. */
10658
/* The GNU C library defines this for functions which it implements
10659
to always fail with ENOSYS. Some functions are actually named
10660
something starting with __ and the normal name is an alias. */
10661
#if defined __stub_dlopen || defined __stub___dlopen
10673
rm -f conftest.$ac_objext conftest$ac_exeext
10674
if { (ac_try="$ac_link"
10675
case "(($ac_try" in
10676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677
*) ac_try_echo=$ac_try;;
10679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10680
(eval "$ac_link") 2>conftest.er1
10682
grep -v '^ *+' conftest.er1 >conftest.err
10684
cat conftest.err >&5
10685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686
(exit $ac_status); } && {
10687
test -z "$ac_c_werror_flag" ||
10688
test ! -s conftest.err
10689
} && test -s conftest$ac_exeext &&
10690
$as_test_x conftest$ac_exeext; then
10691
ac_cv_func_dlopen=yes
10693
echo "$as_me: failed program was:" >&5
10694
sed 's/^/| /' conftest.$ac_ext >&5
10696
ac_cv_func_dlopen=no
10699
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10700
conftest$ac_exeext conftest.$ac_ext
10702
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10703
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10704
if test $ac_cv_func_dlopen = yes; then
10705
lt_cv_dlopen="dlopen"
10707
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10708
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10709
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10710
echo $ECHO_N "(cached) $ECHO_C" >&6
10712
ac_check_lib_save_LIBS=$LIBS
10714
cat >conftest.$ac_ext <<_ACEOF
10717
cat confdefs.h >>conftest.$ac_ext
10718
cat >>conftest.$ac_ext <<_ACEOF
10719
/* end confdefs.h. */
10721
/* Override any GCC internal prototype to avoid an error.
10722
Use char because int might match the return type of a GCC
10723
builtin and then its argument prototype would still apply. */
10736
rm -f conftest.$ac_objext conftest$ac_exeext
10737
if { (ac_try="$ac_link"
10738
case "(($ac_try" in
10739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10740
*) ac_try_echo=$ac_try;;
10742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10743
(eval "$ac_link") 2>conftest.er1
10745
grep -v '^ *+' conftest.er1 >conftest.err
10747
cat conftest.err >&5
10748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749
(exit $ac_status); } && {
10750
test -z "$ac_c_werror_flag" ||
10751
test ! -s conftest.err
10752
} && test -s conftest$ac_exeext &&
10753
$as_test_x conftest$ac_exeext; then
10754
ac_cv_lib_dl_dlopen=yes
10756
echo "$as_me: failed program was:" >&5
10757
sed 's/^/| /' conftest.$ac_ext >&5
10759
ac_cv_lib_dl_dlopen=no
10762
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10763
conftest$ac_exeext conftest.$ac_ext
10764
LIBS=$ac_check_lib_save_LIBS
10766
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10767
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10768
if test $ac_cv_lib_dl_dlopen = yes; then
10769
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10771
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10772
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10773
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10774
echo $ECHO_N "(cached) $ECHO_C" >&6
10776
ac_check_lib_save_LIBS=$LIBS
10777
LIBS="-lsvld $LIBS"
10778
cat >conftest.$ac_ext <<_ACEOF
10781
cat confdefs.h >>conftest.$ac_ext
10782
cat >>conftest.$ac_ext <<_ACEOF
10783
/* end confdefs.h. */
10785
/* Override any GCC internal prototype to avoid an error.
10786
Use char because int might match the return type of a GCC
10787
builtin and then its argument prototype would still apply. */
10800
rm -f conftest.$ac_objext conftest$ac_exeext
10801
if { (ac_try="$ac_link"
10802
case "(($ac_try" in
10803
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10804
*) ac_try_echo=$ac_try;;
10806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10807
(eval "$ac_link") 2>conftest.er1
10809
grep -v '^ *+' conftest.er1 >conftest.err
10811
cat conftest.err >&5
10812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813
(exit $ac_status); } && {
10814
test -z "$ac_c_werror_flag" ||
10815
test ! -s conftest.err
10816
} && test -s conftest$ac_exeext &&
10817
$as_test_x conftest$ac_exeext; then
10818
ac_cv_lib_svld_dlopen=yes
10820
echo "$as_me: failed program was:" >&5
10821
sed 's/^/| /' conftest.$ac_ext >&5
10823
ac_cv_lib_svld_dlopen=no
10826
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10827
conftest$ac_exeext conftest.$ac_ext
10828
LIBS=$ac_check_lib_save_LIBS
10830
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10831
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10832
if test $ac_cv_lib_svld_dlopen = yes; then
10833
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10835
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10836
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10837
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10838
echo $ECHO_N "(cached) $ECHO_C" >&6
10840
ac_check_lib_save_LIBS=$LIBS
10842
cat >conftest.$ac_ext <<_ACEOF
10845
cat confdefs.h >>conftest.$ac_ext
10846
cat >>conftest.$ac_ext <<_ACEOF
10847
/* end confdefs.h. */
10849
/* Override any GCC internal prototype to avoid an error.
10850
Use char because int might match the return type of a GCC
10851
builtin and then its argument prototype would still apply. */
10859
return dld_link ();
10864
rm -f conftest.$ac_objext conftest$ac_exeext
10865
if { (ac_try="$ac_link"
10866
case "(($ac_try" in
10867
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10868
*) ac_try_echo=$ac_try;;
10870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10871
(eval "$ac_link") 2>conftest.er1
10873
grep -v '^ *+' conftest.er1 >conftest.err
10875
cat conftest.err >&5
10876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877
(exit $ac_status); } && {
10878
test -z "$ac_c_werror_flag" ||
10879
test ! -s conftest.err
10880
} && test -s conftest$ac_exeext &&
10881
$as_test_x conftest$ac_exeext; then
10882
ac_cv_lib_dld_dld_link=yes
10884
echo "$as_me: failed program was:" >&5
10885
sed 's/^/| /' conftest.$ac_ext >&5
10887
ac_cv_lib_dld_dld_link=no
10890
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10891
conftest$ac_exeext conftest.$ac_ext
10892
LIBS=$ac_check_lib_save_LIBS
10894
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10895
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10896
if test $ac_cv_lib_dld_dld_link = yes; then
10897
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10918
if test "x$lt_cv_dlopen" != xno; then
10924
case $lt_cv_dlopen in
10926
save_CPPFLAGS="$CPPFLAGS"
10927
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10929
save_LDFLAGS="$LDFLAGS"
10930
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10933
LIBS="$lt_cv_dlopen_libs $LIBS"
10935
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10936
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10937
if test "${lt_cv_dlopen_self+set}" = set; then
10938
echo $ECHO_N "(cached) $ECHO_C" >&6
10940
if test "$cross_compiling" = yes; then :
10941
lt_cv_dlopen_self=cross
10943
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10944
lt_status=$lt_dlunknown
10945
cat > conftest.$ac_ext <<EOF
10946
#line 10946 "configure"
10947
#include "confdefs.h"
10956
# define LT_DLGLOBAL RTLD_GLOBAL
10959
# define LT_DLGLOBAL DL_GLOBAL
10961
# define LT_DLGLOBAL 0
10965
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10966
find out it does not work in some platform. */
10967
#ifndef LT_DLLAZY_OR_NOW
10969
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10972
# define LT_DLLAZY_OR_NOW DL_LAZY
10975
# define LT_DLLAZY_OR_NOW RTLD_NOW
10978
# define LT_DLLAZY_OR_NOW DL_NOW
10980
# define LT_DLLAZY_OR_NOW 0
10988
extern "C" void exit (int);
10991
void fnord() { int i=42;}
10994
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10995
int status = $lt_dlunknown;
10999
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11000
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11001
/* dlclose (self); */
11009
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11010
(eval $ac_link) 2>&5
11012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11014
(./conftest; exit; ) >&5 2>/dev/null
11016
case x$lt_status in
11017
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11018
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11019
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11022
# compilation failed
11023
lt_cv_dlopen_self=no
11030
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11031
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11033
if test "x$lt_cv_dlopen_self" = xyes; then
11034
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11035
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11036
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11037
if test "${lt_cv_dlopen_self_static+set}" = set; then
11038
echo $ECHO_N "(cached) $ECHO_C" >&6
11040
if test "$cross_compiling" = yes; then :
11041
lt_cv_dlopen_self_static=cross
11043
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11044
lt_status=$lt_dlunknown
11045
cat > conftest.$ac_ext <<EOF
11046
#line 11046 "configure"
11047
#include "confdefs.h"
11056
# define LT_DLGLOBAL RTLD_GLOBAL
11059
# define LT_DLGLOBAL DL_GLOBAL
11061
# define LT_DLGLOBAL 0
11065
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11066
find out it does not work in some platform. */
11067
#ifndef LT_DLLAZY_OR_NOW
11069
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11072
# define LT_DLLAZY_OR_NOW DL_LAZY
11075
# define LT_DLLAZY_OR_NOW RTLD_NOW
11078
# define LT_DLLAZY_OR_NOW DL_NOW
11080
# define LT_DLLAZY_OR_NOW 0
11088
extern "C" void exit (int);
11091
void fnord() { int i=42;}
11094
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11095
int status = $lt_dlunknown;
11099
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11100
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11101
/* dlclose (self); */
11109
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11110
(eval $ac_link) 2>&5
11112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11114
(./conftest; exit; ) >&5 2>/dev/null
11116
case x$lt_status in
11117
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11118
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11119
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11122
# compilation failed
11123
lt_cv_dlopen_self_static=no
11130
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11131
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11134
CPPFLAGS="$save_CPPFLAGS"
11135
LDFLAGS="$save_LDFLAGS"
11140
case $lt_cv_dlopen_self in
11141
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11142
*) enable_dlopen_self=unknown ;;
11145
case $lt_cv_dlopen_self_static in
11146
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11147
*) enable_dlopen_self_static=unknown ;;
11152
# Report which library types will actually be built
11153
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11154
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11155
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11156
echo "${ECHO_T}$can_build_shared" >&6; }
11158
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11159
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11160
test "$can_build_shared" = "no" && enable_shared=no
11162
# On AIX, shared libraries and static libraries use the same namespace, and
11163
# are all built from PIC.
11166
test "$enable_shared" = yes && enable_static=no
11167
if test -n "$RANLIB"; then
11168
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11169
postinstall_cmds='$RANLIB $lib'
11174
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11175
test "$enable_shared" = yes && enable_static=no
11179
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11180
echo "${ECHO_T}$enable_shared" >&6; }
11182
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11183
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11184
# Make sure either enable_shared or enable_static is yes.
11185
test "$enable_shared" = yes || enable_static=yes
11186
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11187
echo "${ECHO_T}$enable_static" >&6; }
11189
# The else clause should only fire when bootstrapping the
11190
# libtool distribution, otherwise you forgot to ship ltmain.sh
11191
# with your package, and you will get complaints that there are
11192
# no rules to generate ltmain.sh.
11193
if test -f "$ltmain"; then
11194
# See if we are running on zsh, and set the options which allow our commands through
11195
# without removal of \ escapes.
11196
if test -n "${ZSH_VERSION+set}" ; then
11197
setopt NO_GLOB_SUBST
11199
# Now quote all the things that may contain metacharacters while being
11200
# careful not to overquote the AC_SUBSTed values. We take copies of the
11201
# variables and quote the copies for generation of the libtool script.
11202
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11204
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11205
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11206
deplibs_check_method reload_flag reload_cmds need_locks \
11207
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11208
lt_cv_sys_global_symbol_to_c_name_address \
11209
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11210
old_postinstall_cmds old_postuninstall_cmds \
11214
lt_prog_compiler_wl \
11215
lt_prog_compiler_pic \
11216
lt_prog_compiler_static \
11217
lt_prog_compiler_no_builtin_flag \
11218
export_dynamic_flag_spec \
11219
thread_safe_flag_spec \
11220
whole_archive_flag_spec \
11221
enable_shared_with_static_runtimes \
11223
old_archive_from_new_cmds \
11228
compiler_lib_search_path \
11230
archive_expsym_cmds \
11232
postuninstall_cmds \
11233
old_archive_from_expsyms_cmds \
11234
allow_undefined_flag \
11235
no_undefined_flag \
11236
export_symbols_cmds \
11237
hardcode_libdir_flag_spec \
11238
hardcode_libdir_flag_spec_ld \
11239
hardcode_libdir_separator \
11240
hardcode_automatic \
11242
module_expsym_cmds \
11243
lt_cv_prog_compiler_c_o \
11246
include_expsyms; do
11249
old_archive_cmds | \
11250
old_archive_from_new_cmds | \
11252
archive_expsym_cmds | \
11254
module_expsym_cmds | \
11255
old_archive_from_expsyms_cmds | \
11256
export_symbols_cmds | \
11257
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11258
postinstall_cmds | postuninstall_cmds | \
11259
old_postinstall_cmds | old_postuninstall_cmds | \
11260
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11261
# Double-quote double-evaled strings.
11262
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11265
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11271
*'\$0 --fallback-echo"')
11272
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11276
cfgfile="${ofile}T"
11277
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11279
{ echo "$as_me:$LINENO: creating $ofile" >&5
11280
echo "$as_me: creating $ofile" >&6;}
11282
cat <<__EOF__ >> "$cfgfile"
11285
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11286
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11287
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11289
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11290
# Free Software Foundation, Inc.
11292
# This file is part of GNU Libtool:
11293
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11295
# This program is free software; you can redistribute it and/or modify
11296
# it under the terms of the GNU General Public License as published by
11297
# the Free Software Foundation; either version 2 of the License, or
11298
# (at your option) any later version.
11300
# This program is distributed in the hope that it will be useful, but
11301
# WITHOUT ANY WARRANTY; without even the implied warranty of
11302
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11303
# General Public License for more details.
11305
# You should have received a copy of the GNU General Public License
11306
# along with this program; if not, write to the Free Software
11307
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11309
# As a special exception to the GNU General Public License, if you
11310
# distribute this file as part of a program that contains a
11311
# configuration script generated by Autoconf, you may include it under
11312
# the same distribution terms that you use for the rest of that program.
11314
# A sed program that does not truncate output.
11317
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11318
Xsed="$SED -e 1s/^X//"
11320
# The HP-UX ksh and POSIX shell print the target directory to stdout
11321
# if CDPATH is set.
11322
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11324
# The names of the tagged configurations supported by this script.
11327
# ### BEGIN LIBTOOL CONFIG
11329
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11331
# Shell to use when invoking shell scripts.
11334
# Whether or not to build shared libraries.
11335
build_libtool_libs=$enable_shared
11337
# Whether or not to build static libraries.
11338
build_old_libs=$enable_static
11340
# Whether or not to add -lc for building shared libraries.
11341
build_libtool_need_lc=$archive_cmds_need_lc
11343
# Whether or not to disallow shared libs when runtime libs are static
11344
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11346
# Whether or not to optimize for fast installation.
11347
fast_install=$enable_fast_install
11350
host_alias=$host_alias
11354
# The build system.
11355
build_alias=$build_alias
11359
# An echo program that does not interpret backslashes.
11364
AR_FLAGS=$lt_AR_FLAGS
11369
# LTCC compiler flags.
11370
LTCFLAGS=$lt_LTCFLAGS
11372
# A language-specific compiler.
11375
# Is the compiler the GNU C compiler?
11381
# The linker used to build libraries.
11384
# Whether we need hard or soft links.
11387
# A BSD-compatible nm program.
11390
# A symbol stripping program
11393
# Used to examine libraries when file_magic_cmd begins "file"
11394
MAGIC_CMD=$MAGIC_CMD
11396
# Used on cygwin: DLL creation program.
11399
# Used on cygwin: object dumper.
11402
# Used on cygwin: assembler.
11405
# The name of the directory that contains temporary libtool files.
11408
# How to create reloadable object files.
11409
reload_flag=$lt_reload_flag
11410
reload_cmds=$lt_reload_cmds
11412
# How to pass a linker flag through the compiler.
11413
wl=$lt_lt_prog_compiler_wl
11415
# Object file suffix (normally "o").
11416
objext="$ac_objext"
11418
# Old archive suffix (normally "a").
11421
# Shared library suffix (normally ".so").
11422
shrext_cmds='$shrext_cmds'
11424
# Executable file suffix (normally "").
11427
# Additional compiler flags for building library objects.
11428
pic_flag=$lt_lt_prog_compiler_pic
11431
# What is the maximum length of a command?
11432
max_cmd_len=$lt_cv_sys_max_cmd_len
11434
# Does compiler simultaneously support -c and -o options?
11435
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11437
# Must we lock files when doing compilation?
11438
need_locks=$lt_need_locks
11440
# Do we need the lib prefix for modules?
11441
need_lib_prefix=$need_lib_prefix
11443
# Do we need a version for libraries?
11444
need_version=$need_version
11446
# Whether dlopen is supported.
11447
dlopen_support=$enable_dlopen
11449
# Whether dlopen of programs is supported.
11450
dlopen_self=$enable_dlopen_self
11452
# Whether dlopen of statically linked programs is supported.
11453
dlopen_self_static=$enable_dlopen_self_static
11455
# Compiler flag to prevent dynamic linking.
11456
link_static_flag=$lt_lt_prog_compiler_static
11458
# Compiler flag to turn off builtin functions.
11459
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11461
# Compiler flag to allow reflexive dlopens.
11462
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11464
# Compiler flag to generate shared objects directly from archives.
11465
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11467
# Compiler flag to generate thread-safe objects.
11468
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11470
# Library versioning type.
11471
version_type=$version_type
11473
# Format of library name prefix.
11474
libname_spec=$lt_libname_spec
11476
# List of archive names. First name is the real one, the rest are links.
11477
# The last name is the one that the linker finds with -lNAME.
11478
library_names_spec=$lt_library_names_spec
11480
# The coded name of the library, if different from the real name.
11481
soname_spec=$lt_soname_spec
11483
# Commands used to build and install an old-style archive.
11485
old_archive_cmds=$lt_old_archive_cmds
11486
old_postinstall_cmds=$lt_old_postinstall_cmds
11487
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11489
# Create an old-style archive from a shared archive.
11490
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11492
# Create a temporary old-style archive to link instead of a shared archive.
11493
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11495
# Commands used to build and install a shared archive.
11496
archive_cmds=$lt_archive_cmds
11497
archive_expsym_cmds=$lt_archive_expsym_cmds
11498
postinstall_cmds=$lt_postinstall_cmds
11499
postuninstall_cmds=$lt_postuninstall_cmds
11501
# Commands used to build a loadable module (assumed same as above if empty)
11502
module_cmds=$lt_module_cmds
11503
module_expsym_cmds=$lt_module_expsym_cmds
11505
# Commands to strip libraries.
11506
old_striplib=$lt_old_striplib
11507
striplib=$lt_striplib
11509
# Dependencies to place before the objects being linked to create a
11511
predep_objects=$lt_predep_objects
11513
# Dependencies to place after the objects being linked to create a
11515
postdep_objects=$lt_postdep_objects
11517
# Dependencies to place before the objects being linked to create a
11519
predeps=$lt_predeps
11521
# Dependencies to place after the objects being linked to create a
11523
postdeps=$lt_postdeps
11525
# The library search path used internally by the compiler when linking
11526
# a shared library.
11527
compiler_lib_search_path=$lt_compiler_lib_search_path
11529
# Method to check whether dependent libraries are shared objects.
11530
deplibs_check_method=$lt_deplibs_check_method
11532
# Command to use when deplibs_check_method == file_magic.
11533
file_magic_cmd=$lt_file_magic_cmd
11535
# Flag that allows shared libraries with undefined symbols to be built.
11536
allow_undefined_flag=$lt_allow_undefined_flag
11538
# Flag that forces no undefined symbols.
11539
no_undefined_flag=$lt_no_undefined_flag
11541
# Commands used to finish a libtool library installation in a directory.
11542
finish_cmds=$lt_finish_cmds
11544
# Same as above, but a single script fragment to be evaled but not shown.
11545
finish_eval=$lt_finish_eval
11547
# Take the output of nm and produce a listing of raw symbols and C names.
11548
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11550
# Transform the output of nm in a proper C declaration
11551
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11553
# Transform the output of nm in a C name address pair
11554
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11556
# This is the shared library runtime path variable.
11557
runpath_var=$runpath_var
11559
# This is the shared library path variable.
11560
shlibpath_var=$shlibpath_var
11562
# Is shlibpath searched before the hard-coded library search path?
11563
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11565
# How to hardcode a shared library path into an executable.
11566
hardcode_action=$hardcode_action
11568
# Whether we should hardcode library paths into libraries.
11569
hardcode_into_libs=$hardcode_into_libs
11571
# Flag to hardcode \$libdir into a binary during linking.
11572
# This must work even if \$libdir does not exist.
11573
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11575
# If ld is used when linking, flag to hardcode \$libdir into
11576
# a binary during linking. This must work even if \$libdir does
11578
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11580
# Whether we need a single -rpath flag with a separated argument.
11581
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11583
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11584
# resulting binary.
11585
hardcode_direct=$hardcode_direct
11587
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11588
# resulting binary.
11589
hardcode_minus_L=$hardcode_minus_L
11591
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11592
# the resulting binary.
11593
hardcode_shlibpath_var=$hardcode_shlibpath_var
11595
# Set to yes if building a shared library automatically hardcodes DIR into the library
11596
# and all subsequent libraries and executables linked against it.
11597
hardcode_automatic=$hardcode_automatic
11599
# Variables whose values should be saved in libtool wrapper scripts and
11600
# restored at relink time.
11601
variables_saved_for_relink="$variables_saved_for_relink"
11603
# Whether libtool must link a program against all its dependency libraries.
11604
link_all_deplibs=$link_all_deplibs
11606
# Compile-time system search path for libraries
11607
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11609
# Run-time system search path for libraries
11610
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11612
# Fix the shell variable \$srcfile for the compiler.
11613
fix_srcfile_path=$lt_fix_srcfile_path
11615
# Set to yes if exported symbols are required.
11616
always_export_symbols=$always_export_symbols
11618
# The commands to list exported symbols.
11619
export_symbols_cmds=$lt_export_symbols_cmds
11621
# The commands to extract the exported symbol list from a shared archive.
11622
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11624
# Symbols that should not be listed in the preloaded symbols.
11625
exclude_expsyms=$lt_exclude_expsyms
11627
# Symbols that must always be exported.
11628
include_expsyms=$lt_include_expsyms
11630
# ### END LIBTOOL CONFIG
11637
cat <<\EOF >> "$cfgfile"
11639
# AIX sometimes has problems with the GCC collect2 program. For some
11640
# reason, if we set the COLLECT_NAMES environment variable, the problems
11641
# vanish in a puff of smoke.
11642
if test "X${COLLECT_NAMES+set}" != Xset; then
11644
export COLLECT_NAMES
11650
# We use sed instead of cat because bash on DJGPP gets confused if
11651
# if finds mixed CR/LF and LF-only lines. Since sed operates in
11652
# text mode, it properly converts lines to CR/LF. This bash problem
11653
# is reportedly fixed, but why not run on old versions too?
11654
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11656
mv -f "$cfgfile" "$ofile" || \
11657
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11661
# If there is no Makefile yet, we rely on a make rule to execute
11662
# `config.status --recheck' to rerun these tests and create the
11663
# libtool script then.
11664
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11665
if test -f "$ltmain_in"; then
11666
test -f Makefile && make "$ltmain"
11672
ac_cpp='$CPP $CPPFLAGS'
11673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11680
# Check whether --with-tags was given.
11681
if test "${with_tags+set}" = set; then
11682
withval=$with_tags; tagnames="$withval"
11686
if test -f "$ltmain" && test -n "$tagnames"; then
11687
if test ! -f "${ofile}"; then
11688
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11689
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11692
if test -z "$LTCC"; then
11693
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11694
if test -z "$LTCC"; then
11695
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11696
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11698
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11699
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11702
if test -z "$LTCFLAGS"; then
11703
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11706
# Extract list of available tagged configurations in $ofile.
11707
# Note that this assumes the entire list is on one line.
11708
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11710
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11711
for tagname in $tagnames; do
11713
# Check whether tagname contains only valid characters
11714
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11716
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11717
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11718
{ (exit 1); exit 1; }; }
11722
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11724
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11725
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11726
{ (exit 1); exit 1; }; }
11729
# Update the list of available tags.
11730
if test -n "$tagname"; then
11731
echo appending configuration tag \"$tagname\" to $ofile
11735
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11736
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11737
(test "X$CXX" != "Xg++"))) ; then
11739
ac_cpp='$CXXCPP $CPPFLAGS'
11740
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11747
archive_cmds_need_lc_CXX=no
11748
allow_undefined_flag_CXX=
11749
always_export_symbols_CXX=no
11750
archive_expsym_cmds_CXX=
11751
export_dynamic_flag_spec_CXX=
11752
hardcode_direct_CXX=no
11753
hardcode_libdir_flag_spec_CXX=
11754
hardcode_libdir_flag_spec_ld_CXX=
11755
hardcode_libdir_separator_CXX=
11756
hardcode_minus_L_CXX=no
11757
hardcode_shlibpath_var_CXX=unsupported
11758
hardcode_automatic_CXX=no
11760
module_expsym_cmds_CXX=
11761
link_all_deplibs_CXX=unknown
11762
old_archive_cmds_CXX=$old_archive_cmds
11763
no_undefined_flag_CXX=
11764
whole_archive_flag_spec_CXX=
11765
enable_shared_with_static_runtimes_CXX=no
11767
# Dependencies to place before and after the object being linked:
11768
predep_objects_CXX=
11769
postdep_objects_CXX=
11772
compiler_lib_search_path_CXX=
11774
# Source file extension for C++ test sources.
11777
# Object file extension for compiled C++ test sources.
11781
# Code to be used in simple compile tests
11782
lt_simple_compile_test_code="int some_variable = 0;"
11784
# Code to be used in simple link tests
11785
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11787
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11789
# If no C compiler was specified, use CC.
11792
# If no C compiler flags were specified, use CFLAGS.
11793
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11795
# Allow CC to be a program name with arguments.
11799
# save warnings/boilerplate of simple test code
11800
ac_outfile=conftest.$ac_objext
11801
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11802
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11803
_lt_compiler_boilerplate=`cat conftest.err`
11806
ac_outfile=conftest.$ac_objext
11807
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11808
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11809
_lt_linker_boilerplate=`cat conftest.err`
11813
# Allow CC to be a program name with arguments.
11818
lt_save_with_gnu_ld=$with_gnu_ld
11819
lt_save_path_LD=$lt_cv_path_LD
11820
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11821
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11823
$as_unset lt_cv_prog_gnu_ld
11825
if test -n "${lt_cv_path_LDCXX+set}"; then
11826
lt_cv_path_LD=$lt_cv_path_LDCXX
11828
$as_unset lt_cv_path_LD
11830
test -z "${LDCXX+set}" || LD=$LDCXX
11834
for cc_temp in $compiler""; do
11836
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11837
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11842
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11845
# We don't want -fno-exception wen compiling C++ code, so set the
11846
# no_builtin_flag separately
11847
if test "$GXX" = yes; then
11848
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11850
lt_prog_compiler_no_builtin_flag_CXX=
11853
if test "$GXX" = yes; then
11854
# Set up default GNU C++ configuration
11857
# Check whether --with-gnu-ld was given.
11858
if test "${with_gnu_ld+set}" = set; then
11859
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11865
if test "$GCC" = yes; then
11866
# Check if gcc -print-prog-name=ld gives a path.
11867
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11868
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11871
# gcc leaves a trailing carriage return which upsets mingw
11872
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11874
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11877
# Accept absolute paths.
11879
re_direlt='/[^/][^/]*/\.\./'
11880
# Canonicalize the pathname of ld
11881
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11882
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11883
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11885
test -z "$LD" && LD="$ac_prog"
11888
# If it fails, then pretend we aren't using GCC.
11892
# If it is relative, then search for the first ld in PATH.
11893
with_gnu_ld=unknown
11896
elif test "$with_gnu_ld" = yes; then
11897
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
11898
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11900
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11901
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11903
if test "${lt_cv_path_LD+set}" = set; then
11904
echo $ECHO_N "(cached) $ECHO_C" >&6
11906
if test -z "$LD"; then
11907
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11908
for ac_dir in $PATH; do
11910
test -z "$ac_dir" && ac_dir=.
11911
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11912
lt_cv_path_LD="$ac_dir/$ac_prog"
11913
# Check to see if the program is GNU ld. I'd rather use --version,
11914
# but apparently some variants of GNU ld only accept -v.
11915
# Break only if it was the GNU/non-GNU ld that we prefer.
11916
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11917
*GNU* | *'with BFD'*)
11918
test "$with_gnu_ld" != no && break
11921
test "$with_gnu_ld" != yes && break
11928
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11932
LD="$lt_cv_path_LD"
11933
if test -n "$LD"; then
11934
{ echo "$as_me:$LINENO: result: $LD" >&5
11935
echo "${ECHO_T}$LD" >&6; }
11937
{ echo "$as_me:$LINENO: result: no" >&5
11938
echo "${ECHO_T}no" >&6; }
11940
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11941
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11942
{ (exit 1); exit 1; }; }
11943
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11944
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11945
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11946
echo $ECHO_N "(cached) $ECHO_C" >&6
11948
# I'd rather use --version here, but apparently some GNU lds only accept -v.
11949
case `$LD -v 2>&1 </dev/null` in
11950
*GNU* | *'with BFD'*)
11951
lt_cv_prog_gnu_ld=yes
11954
lt_cv_prog_gnu_ld=no
11958
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11959
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11960
with_gnu_ld=$lt_cv_prog_gnu_ld
11964
# Check if GNU C++ uses GNU ld as the underlying linker, since the
11965
# archiving commands below assume that GNU ld is being used.
11966
if test "$with_gnu_ld" = yes; then
11967
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11968
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11970
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11971
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11973
# If archive_cmds runs LD, not CC, wlarc should be empty
11974
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11975
# investigate it a little bit more. (MM)
11978
# ancient GNU ld didn't support --whole-archive et. al.
11979
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11980
grep 'no-whole-archive' > /dev/null; then
11981
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11983
whole_archive_flag_spec_CXX=
11989
# A generic and very simple default shared library creation
11990
# command for GNU C++ for the case where it uses the native
11991
# linker, instead of GNU ld. If possible, this setting should
11992
# overridden to take advantage of the native linker features on
11993
# the platform it is being used on.
11994
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11997
# Commands to make compiler produce verbose output that lists
11998
# what "hidden" libraries, object files and flags are used when
11999
# linking a shared library.
12000
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12008
# PORTME: fill in a description of your system's C++ link characteristics
12009
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12010
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12014
# FIXME: insert proper C++ library support
12018
if test "$host_cpu" = ia64; then
12019
# On IA64, the linker does run time linking by default, so we don't
12020
# have to do anything special.
12021
aix_use_runtimelinking=no
12022
exp_sym_flag='-Bexport'
12025
aix_use_runtimelinking=no
12027
# Test if we are trying to use run time linking or normal
12028
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12029
# need to do runtime linking.
12030
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12031
for ld_flag in $LDFLAGS; do
12034
aix_use_runtimelinking=yes
12042
exp_sym_flag='-bexport'
12043
no_entry_flag='-bnoentry'
12046
# When large executables or shared objects are built, AIX ld can
12047
# have problems creating the table of contents. If linking a library
12048
# or program results in "error TOC overflow" add -mminimal-toc to
12049
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12050
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12052
archive_cmds_CXX=''
12053
hardcode_direct_CXX=yes
12054
hardcode_libdir_separator_CXX=':'
12055
link_all_deplibs_CXX=yes
12057
if test "$GXX" = yes; then
12058
case $host_os in aix4.[012]|aix4.[012].*)
12059
# We only want to do this on AIX 4.2 and lower, the check
12060
# below for broken collect2 doesn't work under 4.3+
12061
collect2name=`${CC} -print-prog-name=collect2`
12062
if test -f "$collect2name" && \
12063
strings "$collect2name" | grep resolve_lib_name >/dev/null
12065
# We have reworked collect2
12068
# We have old collect2
12069
hardcode_direct_CXX=unsupported
12070
# It fails to find uninstalled libraries when the uninstalled
12071
# path is not listed in the libpath. Setting hardcode_minus_L
12072
# to unsupported forces relinking
12073
hardcode_minus_L_CXX=yes
12074
hardcode_libdir_flag_spec_CXX='-L$libdir'
12075
hardcode_libdir_separator_CXX=
12079
shared_flag='-shared'
12080
if test "$aix_use_runtimelinking" = yes; then
12081
shared_flag="$shared_flag "'${wl}-G'
12085
if test "$host_cpu" = ia64; then
12086
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12087
# chokes on -Wl,-G. The following line is correct:
12090
if test "$aix_use_runtimelinking" = yes; then
12091
shared_flag='${wl}-G'
12093
shared_flag='${wl}-bM:SRE'
12098
# It seems that -bexpall does not export symbols beginning with
12099
# underscore (_), so it is better to generate a list of symbols to export.
12100
always_export_symbols_CXX=yes
12101
if test "$aix_use_runtimelinking" = yes; then
12102
# Warning - without using the other runtime loading flags (-brtl),
12103
# -berok will link without error, but may produce a broken library.
12104
allow_undefined_flag_CXX='-berok'
12105
# Determine the default libpath from the value encoded in an empty executable.
12106
cat >conftest.$ac_ext <<_ACEOF
12109
cat confdefs.h >>conftest.$ac_ext
12110
cat >>conftest.$ac_ext <<_ACEOF
12111
/* end confdefs.h. */
12121
rm -f conftest.$ac_objext conftest$ac_exeext
12122
if { (ac_try="$ac_link"
12123
case "(($ac_try" in
12124
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12125
*) ac_try_echo=$ac_try;;
12127
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12128
(eval "$ac_link") 2>conftest.er1
12130
grep -v '^ *+' conftest.er1 >conftest.err
12132
cat conftest.err >&5
12133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134
(exit $ac_status); } && {
12135
test -z "$ac_cxx_werror_flag" ||
12136
test ! -s conftest.err
12137
} && test -s conftest$ac_exeext &&
12138
$as_test_x conftest$ac_exeext; then
12140
lt_aix_libpath_sed='
12141
/Import File Strings/,/^$/ {
12147
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12148
# Check for a 64-bit object if we didn't find anything.
12149
if test -z "$aix_libpath"; then
12150
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12153
echo "$as_me: failed program was:" >&5
12154
sed 's/^/| /' conftest.$ac_ext >&5
12159
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12160
conftest$ac_exeext conftest.$ac_ext
12161
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12163
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12165
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12167
if test "$host_cpu" = ia64; then
12168
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12169
allow_undefined_flag_CXX="-z nodefs"
12170
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12172
# Determine the default libpath from the value encoded in an empty executable.
12173
cat >conftest.$ac_ext <<_ACEOF
12176
cat confdefs.h >>conftest.$ac_ext
12177
cat >>conftest.$ac_ext <<_ACEOF
12178
/* end confdefs.h. */
12188
rm -f conftest.$ac_objext conftest$ac_exeext
12189
if { (ac_try="$ac_link"
12190
case "(($ac_try" in
12191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12192
*) ac_try_echo=$ac_try;;
12194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12195
(eval "$ac_link") 2>conftest.er1
12197
grep -v '^ *+' conftest.er1 >conftest.err
12199
cat conftest.err >&5
12200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201
(exit $ac_status); } && {
12202
test -z "$ac_cxx_werror_flag" ||
12203
test ! -s conftest.err
12204
} && test -s conftest$ac_exeext &&
12205
$as_test_x conftest$ac_exeext; then
12207
lt_aix_libpath_sed='
12208
/Import File Strings/,/^$/ {
12214
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12215
# Check for a 64-bit object if we didn't find anything.
12216
if test -z "$aix_libpath"; then
12217
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12220
echo "$as_me: failed program was:" >&5
12221
sed 's/^/| /' conftest.$ac_ext >&5
12226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12227
conftest$ac_exeext conftest.$ac_ext
12228
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12230
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12231
# Warning - without using the other run time loading flags,
12232
# -berok will link without error, but may produce a broken library.
12233
no_undefined_flag_CXX=' ${wl}-bernotok'
12234
allow_undefined_flag_CXX=' ${wl}-berok'
12235
# Exported symbols can be pulled into shared objects from archives
12236
whole_archive_flag_spec_CXX='$convenience'
12237
archive_cmds_need_lc_CXX=yes
12238
# This is similar to how AIX traditionally builds its shared libraries.
12239
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12245
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12246
allow_undefined_flag_CXX=unsupported
12247
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12248
# support --undefined. This deserves some investigation. FIXME
12249
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12256
case $cc_basename in
12258
# FIXME: insert proper C++ library support
12264
cygwin* | mingw* | pw32*)
12265
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12266
# as there is no search path for DLLs.
12267
hardcode_libdir_flag_spec_CXX='-L$libdir'
12268
allow_undefined_flag_CXX=unsupported
12269
always_export_symbols_CXX=no
12270
enable_shared_with_static_runtimes_CXX=yes
12272
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12273
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12274
# If the export-symbols file already is a .def file (1st line
12275
# is EXPORTS), use it as is; otherwise, prepend...
12276
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12277
cp $export_symbols $output_objdir/$soname.def;
12279
echo EXPORTS > $output_objdir/$soname.def;
12280
cat $export_symbols >> $output_objdir/$soname.def;
12282
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12287
darwin* | rhapsody*)
12289
rhapsody* | darwin1.[012])
12290
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12293
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12294
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12296
case ${MACOSX_DEPLOYMENT_TARGET} in
12298
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12301
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12307
archive_cmds_need_lc_CXX=no
12308
hardcode_direct_CXX=no
12309
hardcode_automatic_CXX=yes
12310
hardcode_shlibpath_var_CXX=unsupported
12311
whole_archive_flag_spec_CXX=''
12312
link_all_deplibs_CXX=yes
12314
if test "$GXX" = yes ; then
12315
lt_int_apple_cc_single_mod=no
12316
output_verbose_link_cmd='echo'
12317
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12318
lt_int_apple_cc_single_mod=yes
12320
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12321
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12323
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12325
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12326
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12327
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12328
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12330
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12332
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12334
case $cc_basename in
12336
output_verbose_link_cmd='echo'
12337
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12338
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12339
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12340
archive_expsym_cmds_CXX='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}'
12341
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12351
case $cc_basename in
12353
# FIXME: insert proper C++ library support
12357
# Green Hills C++ Compiler
12358
# FIXME: insert proper C++ library support
12362
# FIXME: insert proper C++ library support
12368
# C++ shared libraries reported to be fairly broken before switch to ELF
12372
archive_cmds_need_lc_CXX=no
12374
freebsd* | dragonfly*)
12375
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12382
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12383
hardcode_libdir_separator_CXX=:
12384
export_dynamic_flag_spec_CXX='${wl}-E'
12385
hardcode_direct_CXX=yes
12386
hardcode_minus_L_CXX=yes # Not in the search PATH,
12387
# but as the default
12388
# location of the library.
12390
case $cc_basename in
12392
# FIXME: insert proper C++ library support
12396
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12397
# Commands to make compiler produce verbose output that lists
12398
# what "hidden" libraries, object files and flags are used when
12399
# linking a shared library.
12401
# There doesn't appear to be a way to prevent this compiler from
12402
# explicitly linking system object files so we need to strip them
12403
# from the output so that they don't get included in the library
12405
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 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'
12408
if test "$GXX" = yes; then
12409
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12411
# FIXME: insert proper C++ library support
12418
if test $with_gnu_ld = no; then
12419
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12420
hardcode_libdir_separator_CXX=:
12425
export_dynamic_flag_spec_CXX='${wl}-E'
12431
hardcode_direct_CXX=no
12432
hardcode_shlibpath_var_CXX=no
12435
hardcode_direct_CXX=yes
12436
hardcode_minus_L_CXX=yes # Not in the search PATH,
12437
# but as the default
12438
# location of the library.
12442
case $cc_basename in
12444
# FIXME: insert proper C++ library support
12450
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12453
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12456
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12459
# Commands to make compiler produce verbose output that lists
12460
# what "hidden" libraries, object files and flags are used when
12461
# linking a shared library.
12463
# There doesn't appear to be a way to prevent this compiler from
12464
# explicitly linking system object files so we need to strip them
12465
# from the output so that they don't get included in the library
12467
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 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'
12470
if test "$GXX" = yes; then
12471
if test $with_gnu_ld = no; then
12474
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12477
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12480
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12485
# FIXME: insert proper C++ library support
12492
hardcode_direct_CXX=no
12493
hardcode_shlibpath_var_CXX=no
12494
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12495
export_dynamic_flag_spec_CXX='${wl}-E'
12496
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12497
# Instead, shared libraries are loaded at an image base (0x10000000 by
12498
# default) and relocated if they conflict, which is a slow very memory
12499
# consuming and fragmenting process. To avoid this, we pick a random,
12500
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12501
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12502
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12503
archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12506
case $cc_basename in
12509
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12511
# Archives containing C++ object files must be created using
12512
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12513
# necessary to make sure instantiated templates are included
12515
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12518
if test "$GXX" = yes; then
12519
if test "$with_gnu_ld" = no; then
12520
archive_cmds_CXX='$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'
12522
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12525
link_all_deplibs_CXX=yes
12528
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12529
hardcode_libdir_separator_CXX=:
12531
linux* | k*bsd*-gnu)
12532
case $cc_basename in
12534
# Kuck and Associates, Inc. (KAI) C++ Compiler
12536
# KCC will only create a shared library if the output file
12537
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12538
# to its proper name (with version) after linking.
12539
archive_cmds_CXX='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 \$templib; mv \$templib $lib'
12540
archive_expsym_cmds_CXX='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 \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12541
# Commands to make compiler produce verbose output that lists
12542
# what "hidden" libraries, object files and flags are used when
12543
# linking a shared library.
12545
# There doesn't appear to be a way to prevent this compiler from
12546
# explicitly linking system object files so we need to strip them
12547
# from the output so that they don't get included in the library
12549
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12551
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12552
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12554
# Archives containing C++ object files must be created using
12555
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12556
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12561
# version 8.0 and above of icpc choke on multiply defined symbols
12562
# if we add $predep_objects and $postdep_objects, however 7.1 and
12563
# earlier do not add the objects themselves.
12564
case `$CC -V 2>&1` in
12566
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12567
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12569
*) # Version 8.0 or newer
12572
ia64*) tmp_idyn=' -i_dynamic';;
12574
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12578
archive_cmds_need_lc_CXX=no
12579
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12580
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12581
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12584
# Portland Group C++ compiler
12585
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12586
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12588
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12589
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12590
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12594
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12595
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12597
runpath_var=LD_RUN_PATH
12598
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12599
hardcode_libdir_separator_CXX=:
12601
# Commands to make compiler produce verbose output that lists
12602
# what "hidden" libraries, object files and flags are used when
12603
# linking a shared library.
12605
# There doesn't appear to be a way to prevent this compiler from
12606
# explicitly linking system object files so we need to strip them
12607
# from the output so that they don't get included in the library
12609
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$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'
12612
case `$CC -V 2>&1 | sed 5q` in
12615
no_undefined_flag_CXX=' -zdefs'
12616
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12617
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12618
hardcode_libdir_flag_spec_CXX='-R$libdir'
12619
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12621
# Not sure whether something based on
12622
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12624
output_verbose_link_cmd='echo'
12626
# Archives containing C++ object files must be created using
12627
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12628
# necessary to make sure instantiated templates are included
12630
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12637
# FIXME: insert proper C++ library support
12641
# FIXME: insert proper C++ library support
12645
case $cc_basename in
12647
# FIXME: insert proper C++ library support
12651
# FIXME: insert proper C++ library support
12656
netbsd* | netbsdelf*-gnu)
12657
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12658
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12660
hardcode_libdir_flag_spec_CXX='-R$libdir'
12661
hardcode_direct_CXX=yes
12662
hardcode_shlibpath_var_CXX=no
12664
# Workaround some broken pre-1.5 toolchains
12665
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12668
# C++ shared libraries are fairly broken
12672
if test -f /usr/libexec/ld.so; then
12673
hardcode_direct_CXX=yes
12674
hardcode_shlibpath_var_CXX=no
12675
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12676
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12677
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12678
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12679
export_dynamic_flag_spec_CXX='${wl}-E'
12680
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12682
output_verbose_link_cmd='echo'
12688
case $cc_basename in
12690
# Kuck and Associates, Inc. (KAI) C++ Compiler
12692
# KCC will only create a shared library if the output file
12693
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12694
# to its proper name (with version) after linking.
12695
archive_cmds_CXX='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 \$templib; mv \$templib $lib'
12697
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12698
hardcode_libdir_separator_CXX=:
12700
# Archives containing C++ object files must be created using
12701
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12702
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12706
# Rational C++ 2.4.1
12707
# FIXME: insert proper C++ library support
12711
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12712
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12714
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12715
hardcode_libdir_separator_CXX=:
12717
# Commands to make compiler produce verbose output that lists
12718
# what "hidden" libraries, object files and flags are used when
12719
# linking a shared library.
12721
# There doesn't appear to be a way to prevent this compiler from
12722
# explicitly linking system object files so we need to strip them
12723
# from the output so that they don't get included in the library
12725
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
12728
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12729
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12730
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $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'
12732
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12733
hardcode_libdir_separator_CXX=:
12735
# Commands to make compiler produce verbose output that lists
12736
# what "hidden" libraries, object files and flags are used when
12737
# linking a shared library.
12738
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12741
# FIXME: insert proper C++ library support
12748
case $cc_basename in
12750
# Kuck and Associates, Inc. (KAI) C++ Compiler
12752
# KCC will only create a shared library if the output file
12753
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12754
# to its proper name (with version) after linking.
12755
archive_cmds_CXX='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 \$templib; mv \$templib $lib'
12757
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758
hardcode_libdir_separator_CXX=:
12760
# Archives containing C++ object files must be created using
12761
# the KAI C++ compiler.
12762
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12765
# Rational C++ 2.4.1
12766
# FIXME: insert proper C++ library support
12770
allow_undefined_flag_CXX=' -expect_unresolved \*'
12771
archive_cmds_CXX='$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'
12772
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12773
echo "-hidden">> $lib.exp~
12774
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12777
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12778
hardcode_libdir_separator_CXX=:
12780
# Commands to make compiler produce verbose output that lists
12781
# what "hidden" libraries, object files and flags are used when
12782
# linking a shared library.
12784
# There doesn't appear to be a way to prevent this compiler from
12785
# explicitly linking system object files so we need to strip them
12786
# from the output so that they don't get included in the library
12788
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
12791
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12792
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12793
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12795
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796
hardcode_libdir_separator_CXX=:
12798
# Commands to make compiler produce verbose output that lists
12799
# what "hidden" libraries, object files and flags are used when
12800
# linking a shared library.
12801
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12804
# FIXME: insert proper C++ library support
12811
# FIXME: insert proper C++ library support
12815
case $cc_basename in
12818
# FIXME: insert proper C++ library support
12823
# FIXME: insert proper C++ library support
12827
# FIXME: insert proper C++ library support
12833
case $cc_basename in
12835
# Sun C++ 4.2, 5.x and Centerline C++
12836
archive_cmds_need_lc_CXX=yes
12837
no_undefined_flag_CXX=' -zdefs'
12838
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12840
$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'
12842
hardcode_libdir_flag_spec_CXX='-R$libdir'
12843
hardcode_shlibpath_var_CXX=no
12845
solaris2.[0-5] | solaris2.[0-5].*) ;;
12847
# The compiler driver will combine and reorder linker options,
12848
# but understands `-z linker_flag'.
12849
# Supported since Solaris 2.6 (maybe 2.5.1?)
12850
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12853
link_all_deplibs_CXX=yes
12855
output_verbose_link_cmd='echo'
12857
# Archives containing C++ object files must be created using
12858
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12859
# necessary to make sure instantiated templates are included
12861
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12864
# Green Hills C++ Compiler
12865
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12867
# The C++ compiler must be used to create the archive.
12868
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12871
# GNU C++ compiler with Solaris linker
12872
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12873
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12874
if $CC --version | grep -v '^2\.7' > /dev/null; then
12875
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12876
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12877
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12879
# Commands to make compiler produce verbose output that lists
12880
# what "hidden" libraries, object files and flags are used when
12881
# linking a shared library.
12882
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12884
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12886
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12887
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12888
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12890
# Commands to make compiler produce verbose output that lists
12891
# what "hidden" libraries, object files and flags are used when
12892
# linking a shared library.
12893
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12896
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12898
solaris2.[0-5] | solaris2.[0-5].*) ;;
12900
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12907
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12908
no_undefined_flag_CXX='${wl}-z,text'
12909
archive_cmds_need_lc_CXX=no
12910
hardcode_shlibpath_var_CXX=no
12911
runpath_var='LD_RUN_PATH'
12913
case $cc_basename in
12915
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12916
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12919
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12920
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12924
sysv5* | sco3.2v5* | sco5v6*)
12925
# Note: We can NOT use -z defs as we might desire, because we do not
12926
# link with -lc, and that would cause any symbols used from libc to
12927
# always be unresolved, which means just about no library would
12928
# ever link correctly. If we're not using GNU ld we use -z text
12929
# though, which does catch some bad symbols but isn't as heavy-handed
12931
# For security reasons, it is highly recommended that you always
12932
# use absolute paths for naming shared libraries, and exclude the
12933
# DT_RUNPATH tag from executables and libraries. But doing so
12934
# requires that you compile everything twice, which is a pain.
12935
# So that behaviour is only enabled if SCOABSPATH is set to a
12936
# non-empty value in the environment. Most likely only useful for
12937
# creating official distributions of packages.
12938
# This is a hack until libtool officially supports absolute path
12939
# names for shared libraries.
12940
no_undefined_flag_CXX='${wl}-z,text'
12941
allow_undefined_flag_CXX='${wl}-z,nodefs'
12942
archive_cmds_need_lc_CXX=no
12943
hardcode_shlibpath_var_CXX=no
12944
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12945
hardcode_libdir_separator_CXX=':'
12946
link_all_deplibs_CXX=yes
12947
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12948
runpath_var='LD_RUN_PATH'
12950
case $cc_basename in
12952
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12953
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12956
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12957
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12962
case $cc_basename in
12964
# NonStop-UX NCC 3.20
12965
# FIXME: insert proper C++ library support
12969
# FIXME: insert proper C++ library support
12975
# FIXME: insert proper C++ library support
12979
# FIXME: insert proper C++ library support
12983
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12984
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12985
test "$ld_shlibs_CXX" = no && can_build_shared=no
12991
cat > conftest.$ac_ext <<EOF
12995
Foo (void) { a = 0; }
13001
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13002
(eval $ac_compile) 2>&5
13004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005
(exit $ac_status); }; then
13006
# Parse the compiler output and extract the necessary
13007
# objects, libraries and library flags.
13009
# Sentinel used to keep track of whether or not we are before
13010
# the conftest object file.
13011
pre_test_object_deps_done=no
13013
# The `*' in the case matches for architectures that use `case' in
13014
# $output_verbose_cmd can trigger glob expansion during the loop
13015
# eval without this substitution.
13016
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13018
for p in `eval $output_verbose_link_cmd`; do
13022
# Some compilers place space between "-{L,R}" and the path.
13023
# Remove the space.
13024
if test $p = "-L" \
13025
|| test $p = "-R"; then
13032
if test "$pre_test_object_deps_done" = no; then
13035
# Internal compiler library paths should come after those
13036
# provided the user. The postdeps already come after the
13037
# user supplied libs so there is no need to process them.
13038
if test -z "$compiler_lib_search_path_CXX"; then
13039
compiler_lib_search_path_CXX="${prev}${p}"
13041
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13044
# The "-l" case would never come before the object being
13045
# linked, so don't bother handling this case.
13048
if test -z "$postdeps_CXX"; then
13049
postdeps_CXX="${prev}${p}"
13051
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13057
# This assumes that the test object file only shows up
13058
# once in the compiler output.
13059
if test "$p" = "conftest.$objext"; then
13060
pre_test_object_deps_done=yes
13064
if test "$pre_test_object_deps_done" = no; then
13065
if test -z "$predep_objects_CXX"; then
13066
predep_objects_CXX="$p"
13068
predep_objects_CXX="$predep_objects_CXX $p"
13071
if test -z "$postdep_objects_CXX"; then
13072
postdep_objects_CXX="$p"
13074
postdep_objects_CXX="$postdep_objects_CXX $p"
13079
*) ;; # Ignore the rest.
13087
echo "libtool.m4: error: problem compiling CXX test program"
13090
$rm -f confest.$objext
13092
# PORTME: override above test on systems where it is broken
13095
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13096
# hack all around it, let's just trust "g++" to DTRT.
13097
predep_objects_CXX=
13098
postdep_objects_CXX=
13103
case `$CC -V 2>&1 | sed 5q` in
13107
# The more standards-conforming stlport4 library is
13108
# incompatible with the Cstd library. Avoid specifying
13109
# it if it's in CXXFLAGS. Ignore libCrun as
13110
# -library=stlport4 depends on it.
13111
case " $CXX $CXXFLAGS " in
13112
*" -library=stlport4 "*)
13113
solaris_use_stlport4=yes
13116
if test "$solaris_use_stlport4" != yes; then
13117
postdeps_CXX='-library=Cstd -library=Crun'
13124
case $cc_basename in
13126
# The more standards-conforming stlport4 library is
13127
# incompatible with the Cstd library. Avoid specifying
13128
# it if it's in CXXFLAGS. Ignore libCrun as
13129
# -library=stlport4 depends on it.
13130
case " $CXX $CXXFLAGS " in
13131
*" -library=stlport4 "*)
13132
solaris_use_stlport4=yes
13136
# Adding this requires a known-good setup of shared libraries for
13137
# Sun compiler versions before 5.6, else PIC objects from an old
13138
# archive will be linked into the output, leading to subtle bugs.
13139
if test "$solaris_use_stlport4" != yes; then
13140
postdeps_CXX='-library=Cstd -library=Crun'
13148
case " $postdeps_CXX " in
13149
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13152
lt_prog_compiler_wl_CXX=
13153
lt_prog_compiler_pic_CXX=
13154
lt_prog_compiler_static_CXX=
13156
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13157
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13159
# C++ specific cases for pic, static, wl, etc.
13160
if test "$GXX" = yes; then
13161
lt_prog_compiler_wl_CXX='-Wl,'
13162
lt_prog_compiler_static_CXX='-static'
13166
# All AIX code is PIC.
13167
if test "$host_cpu" = ia64; then
13168
# AIX 5 now supports IA64 processor
13169
lt_prog_compiler_static_CXX='-Bstatic'
13173
# FIXME: we need at least 68020 code to build shared libraries, but
13174
# adding the `-m68020' flag to GCC prevents building anything better,
13176
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13178
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13179
# PIC is the default for these OSes.
13181
mingw* | cygwin* | os2* | pw32*)
13182
# This hack is so that the source file can tell whether it is being
13183
# built for inclusion in a dll (and should export symbols for example).
13184
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13185
# (--disable-auto-import) libraries
13186
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13188
darwin* | rhapsody*)
13189
# PIC is the default on this platform
13190
# Common symbols not allowed in MH_DYLIB files
13191
lt_prog_compiler_pic_CXX='-fno-common'
13194
# DJGPP does not support shared libraries at all
13195
lt_prog_compiler_pic_CXX=
13198
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13199
# Instead, we relocate shared libraries at runtime.
13202
if test -d /usr/nec; then
13203
lt_prog_compiler_pic_CXX=-Kconform_pic
13207
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13208
# not for PA HP-UX.
13213
lt_prog_compiler_pic_CXX='-fPIC'
13218
lt_prog_compiler_pic_CXX='-fPIC'
13224
# All AIX code is PIC.
13225
if test "$host_cpu" = ia64; then
13226
# AIX 5 now supports IA64 processor
13227
lt_prog_compiler_static_CXX='-Bstatic'
13229
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13233
case $cc_basename in
13235
# Green Hills C++ Compiler
13236
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
13241
# PIC is the default on this platform
13242
# Common symbols not allowed in MH_DYLIB files
13243
case $cc_basename in
13245
lt_prog_compiler_pic_CXX='-qnocommon'
13246
lt_prog_compiler_wl_CXX='-Wl,'
13251
case $cc_basename in
13253
lt_prog_compiler_pic_CXX='-KPIC'
13256
# Green Hills C++ Compiler
13257
lt_prog_compiler_pic_CXX='-pic'
13263
freebsd* | dragonfly*)
13264
# FreeBSD uses GNU C++
13266
hpux9* | hpux10* | hpux11*)
13267
case $cc_basename in
13269
lt_prog_compiler_wl_CXX='-Wl,'
13270
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13271
if test "$host_cpu" != ia64; then
13272
lt_prog_compiler_pic_CXX='+Z'
13276
lt_prog_compiler_wl_CXX='-Wl,'
13277
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13283
lt_prog_compiler_pic_CXX='+Z'
13292
# This is c89, which is MS Visual C++ (no shared libs)
13293
# Anyone wants to do a port?
13295
irix5* | irix6* | nonstopux*)
13296
case $cc_basename in
13298
lt_prog_compiler_wl_CXX='-Wl,'
13299
lt_prog_compiler_static_CXX='-non_shared'
13300
# CC pic flag -KPIC is the default.
13306
linux* | k*bsd*-gnu)
13307
case $cc_basename in
13310
lt_prog_compiler_wl_CXX='--backend -Wl,'
13311
lt_prog_compiler_pic_CXX='-fPIC'
13315
lt_prog_compiler_wl_CXX='-Wl,'
13316
lt_prog_compiler_pic_CXX='-KPIC'
13317
lt_prog_compiler_static_CXX='-static'
13320
# Portland Group C++ compiler.
13321
lt_prog_compiler_wl_CXX='-Wl,'
13322
lt_prog_compiler_pic_CXX='-fpic'
13323
lt_prog_compiler_static_CXX='-Bstatic'
13327
# Make sure the PIC flag is empty. It appears that all Alpha
13328
# Linux and Compaq Tru64 Unix objects are PIC.
13329
lt_prog_compiler_pic_CXX=
13330
lt_prog_compiler_static_CXX='-non_shared'
13333
case `$CC -V 2>&1 | sed 5q` in
13336
lt_prog_compiler_pic_CXX='-KPIC'
13337
lt_prog_compiler_static_CXX='-Bstatic'
13338
lt_prog_compiler_wl_CXX='-Qoption ld '
13349
case $cc_basename in
13351
lt_prog_compiler_pic_CXX='-W c,exportall'
13357
netbsd* | netbsdelf*-gnu)
13359
osf3* | osf4* | osf5*)
13360
case $cc_basename in
13362
lt_prog_compiler_wl_CXX='--backend -Wl,'
13365
# Rational C++ 2.4.1
13366
lt_prog_compiler_pic_CXX='-pic'
13369
# Digital/Compaq C++
13370
lt_prog_compiler_wl_CXX='-Wl,'
13371
# Make sure the PIC flag is empty. It appears that all Alpha
13372
# Linux and Compaq Tru64 Unix objects are PIC.
13373
lt_prog_compiler_pic_CXX=
13374
lt_prog_compiler_static_CXX='-non_shared'
13383
case $cc_basename in
13385
# Sun C++ 4.2, 5.x and Centerline C++
13386
lt_prog_compiler_pic_CXX='-KPIC'
13387
lt_prog_compiler_static_CXX='-Bstatic'
13388
lt_prog_compiler_wl_CXX='-Qoption ld '
13391
# Green Hills C++ Compiler
13392
lt_prog_compiler_pic_CXX='-PIC'
13399
case $cc_basename in
13402
lt_prog_compiler_pic_CXX='-pic'
13403
lt_prog_compiler_static_CXX='-Bstatic'
13407
lt_prog_compiler_pic_CXX='-pic'
13414
case $cc_basename in
13416
# NonStop-UX NCC 3.20
13417
lt_prog_compiler_pic_CXX='-KPIC'
13423
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13424
case $cc_basename in
13426
lt_prog_compiler_wl_CXX='-Wl,'
13427
lt_prog_compiler_pic_CXX='-KPIC'
13428
lt_prog_compiler_static_CXX='-Bstatic'
13435
lt_prog_compiler_can_build_shared_CXX=no
13440
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13441
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13444
# Check to make sure the PIC flag actually works.
13446
if test -n "$lt_prog_compiler_pic_CXX"; then
13448
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13449
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13450
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13451
echo $ECHO_N "(cached) $ECHO_C" >&6
13453
lt_prog_compiler_pic_works_CXX=no
13454
ac_outfile=conftest.$ac_objext
13455
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13456
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13457
# Insert the option either (1) after the last *FLAGS variable, or
13458
# (2) before a word containing "conftest.", or (3) at the end.
13459
# Note that $ac_compile itself does not contain backslashes and begins
13460
# with a dollar sign (not a hyphen), so the echo should work correctly.
13461
# The option is referenced via a variable to avoid confusing sed.
13462
lt_compile=`echo "$ac_compile" | $SED \
13463
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465
-e 's:$: $lt_compiler_flag:'`
13466
(eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
13467
(eval "$lt_compile" 2>conftest.err)
13469
cat conftest.err >&5
13470
echo "$as_me:13470: \$? = $ac_status" >&5
13471
if (exit $ac_status) && test -s "$ac_outfile"; then
13472
# The compiler can only warn and ignore the option if not recognized
13473
# So say no if there are warnings other than the usual output.
13474
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13475
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13476
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13477
lt_prog_compiler_pic_works_CXX=yes
13483
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13484
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13486
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13487
case $lt_prog_compiler_pic_CXX in
13489
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13492
lt_prog_compiler_pic_CXX=
13493
lt_prog_compiler_can_build_shared_CXX=no
13498
# For platforms which do not support PIC, -DPIC is meaningless:
13500
lt_prog_compiler_pic_CXX=
13503
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13508
# Check to make sure the static flag actually works.
13510
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13511
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13512
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13513
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13514
echo $ECHO_N "(cached) $ECHO_C" >&6
13516
lt_prog_compiler_static_works_CXX=no
13517
save_LDFLAGS="$LDFLAGS"
13518
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13519
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13520
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13521
# The linker can only warn and ignore the option if not recognized
13522
# So say no if there are warnings
13523
if test -s conftest.err; then
13524
# Append any errors to the config.log.
13525
cat conftest.err 1>&5
13526
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13527
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13528
if diff conftest.exp conftest.er2 >/dev/null; then
13529
lt_prog_compiler_static_works_CXX=yes
13532
lt_prog_compiler_static_works_CXX=yes
13536
LDFLAGS="$save_LDFLAGS"
13539
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13540
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13542
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13545
lt_prog_compiler_static_CXX=
13549
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13550
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13551
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13552
echo $ECHO_N "(cached) $ECHO_C" >&6
13554
lt_cv_prog_compiler_c_o_CXX=no
13555
$rm -r conftest 2>/dev/null
13559
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13561
lt_compiler_flag="-o out/conftest2.$ac_objext"
13562
# Insert the option either (1) after the last *FLAGS variable, or
13563
# (2) before a word containing "conftest.", or (3) at the end.
13564
# Note that $ac_compile itself does not contain backslashes and begins
13565
# with a dollar sign (not a hyphen), so the echo should work correctly.
13566
lt_compile=`echo "$ac_compile" | $SED \
13567
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13568
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13569
-e 's:$: $lt_compiler_flag:'`
13570
(eval echo "\"\$as_me:13570: $lt_compile\"" >&5)
13571
(eval "$lt_compile" 2>out/conftest.err)
13573
cat out/conftest.err >&5
13574
echo "$as_me:13574: \$? = $ac_status" >&5
13575
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13577
# The compiler can only warn and ignore the option if not recognized
13578
# So say no if there are warnings
13579
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13580
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13581
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13582
lt_cv_prog_compiler_c_o_CXX=yes
13587
# SGI C++ compiler will create directory out/ii_files/ for
13588
# template instantiation
13589
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13590
$rm out/* && rmdir out
13596
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13597
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13600
hard_links="nottested"
13601
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13602
# do not overwrite the value of need_locks provided by the user
13603
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13604
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13607
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13609
ln conftest.a conftest.b 2>&5 || hard_links=no
13610
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13611
{ echo "$as_me:$LINENO: result: $hard_links" >&5
13612
echo "${ECHO_T}$hard_links" >&6; }
13613
if test "$hard_links" = no; then
13614
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13615
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13622
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13623
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13625
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13628
# If we're using GNU nm, then we don't want the "-C" option.
13629
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13630
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13631
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13633
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13637
export_symbols_cmds_CXX="$ltdll_cmds"
13640
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13642
linux* | k*bsd*-gnu)
13643
link_all_deplibs_CXX=no
13646
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13650
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13651
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13652
test "$ld_shlibs_CXX" = no && can_build_shared=no
13655
# Do we need to explicitly link libc?
13657
case "x$archive_cmds_need_lc_CXX" in
13659
# Assume -lc should be added
13660
archive_cmds_need_lc_CXX=yes
13662
if test "$enable_shared" = yes && test "$GCC" = yes; then
13663
case $archive_cmds_CXX in
13665
# FIXME: we may have to deal with multi-command sequences.
13668
# Test whether the compiler implicitly links with -lc since on some
13669
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13670
# to ld, don't add -lc before -lgcc.
13671
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13672
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13674
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13676
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13677
(eval $ac_compile) 2>&5
13679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680
(exit $ac_status); } 2>conftest.err; then
13683
libobjs=conftest.$ac_objext
13685
wl=$lt_prog_compiler_wl_CXX
13686
pic_flag=$lt_prog_compiler_pic_CXX
13692
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13693
allow_undefined_flag_CXX=
13694
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13695
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698
(exit $ac_status); }
13700
archive_cmds_need_lc_CXX=no
13702
archive_cmds_need_lc_CXX=yes
13704
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13706
cat conftest.err 1>&5
13709
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13710
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13717
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13718
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13719
library_names_spec=
13720
libname_spec='lib$name'
13724
postuninstall_cmds=
13728
shlibpath_overrides_runpath=unknown
13730
dynamic_linker="$host_os ld.so"
13731
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13733
need_lib_prefix=unknown
13734
hardcode_into_libs=no
13736
# when you set need_version to no, make sure it does not cause -set_version
13737
# flags to be left without arguments
13738
need_version=unknown
13743
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13744
shlibpath_var=LIBPATH
13746
# AIX 3 has no versioning support, so we append a major version to the name.
13747
soname_spec='${libname}${release}${shared_ext}$major'
13754
hardcode_into_libs=yes
13755
if test "$host_cpu" = ia64; then
13756
# AIX 5 supports IA64
13757
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13758
shlibpath_var=LD_LIBRARY_PATH
13760
# With GCC up to 2.95.x, collect2 would create an import file
13761
# for dependence libraries. The import file would start with
13762
# the line `#! .'. This would cause the generated library to
13763
# depend on `.', always an invalid library. This was fixed in
13764
# development snapshots of GCC prior to 3.0.
13766
aix4 | aix4.[01] | aix4.[01].*)
13767
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13769
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13772
can_build_shared=no
13776
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13777
# soname into executable. Probably we can add versioning support to
13778
# collect2, so additional links can be useful in future.
13779
if test "$aix_use_runtimelinking" = yes; then
13780
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13781
# instead of lib<name>.a to let people know that these are not
13782
# typical AIX shared libraries.
13783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13785
# We preserve .a as extension for shared libraries through AIX4.2
13786
# and later when we are not doing run time linking.
13787
library_names_spec='${libname}${release}.a $libname.a'
13788
soname_spec='${libname}${release}${shared_ext}$major'
13790
shlibpath_var=LIBPATH
13795
library_names_spec='$libname.ixlibrary $libname.a'
13796
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13797
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\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'
13801
library_names_spec='${libname}${shared_ext}'
13802
dynamic_linker="$host_os ld.so"
13803
shlibpath_var=LIBRARY_PATH
13809
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810
soname_spec='${libname}${release}${shared_ext}$major'
13811
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13812
shlibpath_var=LD_LIBRARY_PATH
13813
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13814
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13815
# the default ld.so.conf also contains /usr/contrib/lib and
13816
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13817
# libtool to hard-code these into programs
13820
cygwin* | mingw* | pw32*)
13821
version_type=windows
13826
case $GCC,$host_os in
13827
yes,cygwin* | yes,mingw* | yes,pw32*)
13828
library_names_spec='$libname.dll.a'
13829
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13830
postinstall_cmds='base_file=`basename \${file}`~
13831
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13832
dldir=$destdir/`dirname \$dlpath`~
13833
test -d \$dldir || mkdir -p \$dldir~
13834
$install_prog $dir/$dlname \$dldir/$dlname~
13835
chmod a+x \$dldir/$dlname'
13836
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13837
dlpath=$dir/\$dldll~
13839
shlibpath_overrides_runpath=yes
13843
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13844
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13845
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13848
# MinGW DLLs use traditional 'lib' prefix
13849
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13850
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13851
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13852
# It is most probably a Windows format PATH printed by
13853
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13854
# path with ; separators, and with drive letters. We can handle the
13855
# drive letters (cygwin fileutils understands them), so leave them,
13856
# especially as we might pass files found there to a mingw objdump,
13857
# which wouldn't understand a cygwinified path. Ahh.
13858
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13860
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13864
# pw32 DLLs use 'pw' prefix rather than 'lib'
13865
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13871
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13874
dynamic_linker='Win32 ld.exe'
13875
# FIXME: first we should search . and the directory the executable is in
13879
darwin* | rhapsody*)
13880
dynamic_linker="$host_os dyld"
13881
version_type=darwin
13884
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13885
soname_spec='${libname}${release}${major}$shared_ext'
13886
shlibpath_overrides_runpath=yes
13887
shlibpath_var=DYLD_LIBRARY_PATH
13888
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13890
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13897
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13898
soname_spec='${libname}${release}${shared_ext}$major'
13899
shlibpath_var=LD_LIBRARY_PATH
13906
freebsd* | dragonfly*)
13907
# DragonFly does not have aout. When/if they implement a new
13908
# versioning mechanism, adjust this.
13909
if test -x /usr/bin/objformat; then
13910
objformat=`/usr/bin/objformat`
13913
freebsd[123]*) objformat=aout ;;
13914
*) objformat=elf ;;
13917
version_type=freebsd-$objformat
13918
case $version_type in
13920
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13925
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13929
shlibpath_var=LD_LIBRARY_PATH
13932
shlibpath_overrides_runpath=yes
13934
freebsd3.[01]* | freebsdelf3.[01]*)
13935
shlibpath_overrides_runpath=yes
13936
hardcode_into_libs=yes
13938
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13939
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13940
shlibpath_overrides_runpath=no
13941
hardcode_into_libs=yes
13943
*) # from 4.6 on, and DragonFly
13944
shlibpath_overrides_runpath=yes
13945
hardcode_into_libs=yes
13954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13955
soname_spec='${libname}${release}${shared_ext}$major'
13956
shlibpath_var=LD_LIBRARY_PATH
13957
hardcode_into_libs=yes
13960
hpux9* | hpux10* | hpux11*)
13961
# Give a soname corresponding to the major version so that dld.sl refuses to
13962
# link against other versions.
13969
hardcode_into_libs=yes
13970
dynamic_linker="$host_os dld.so"
13971
shlibpath_var=LD_LIBRARY_PATH
13972
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13973
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974
soname_spec='${libname}${release}${shared_ext}$major'
13975
if test "X$HPUX_IA64_MODE" = X32; then
13976
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13978
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13980
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13984
hardcode_into_libs=yes
13985
dynamic_linker="$host_os dld.sl"
13986
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13987
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13988
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13989
soname_spec='${libname}${release}${shared_ext}$major'
13990
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13991
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13995
dynamic_linker="$host_os dld.sl"
13996
shlibpath_var=SHLIB_PATH
13997
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13998
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13999
soname_spec='${libname}${release}${shared_ext}$major'
14002
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14003
postinstall_cmds='chmod 555 $lib'
14010
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14011
soname_spec='${libname}${release}${shared_ext}$major'
14012
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14013
shlibpath_var=LD_LIBRARY_PATH
14014
shlibpath_overrides_runpath=no
14015
hardcode_into_libs=yes
14018
irix5* | irix6* | nonstopux*)
14020
nonstopux*) version_type=nonstopux ;;
14022
if test "$lt_cv_prog_gnu_ld" = yes; then
14030
soname_spec='${libname}${release}${shared_ext}$major'
14031
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14033
irix5* | nonstopux*)
14034
libsuff= shlibsuff=
14037
case $LD in # libtool.m4 will add one of these switches to LD
14038
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14039
libsuff= shlibsuff= libmagic=32-bit;;
14040
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14041
libsuff=32 shlibsuff=N32 libmagic=N32;;
14042
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14043
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14044
*) libsuff= shlibsuff= libmagic=never-match;;
14048
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14049
shlibpath_overrides_runpath=no
14050
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14051
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14052
hardcode_into_libs=yes
14055
# No shared lib support for Linux oldld, aout, or coff.
14056
linux*oldld* | linux*aout* | linux*coff*)
14060
# This must be Linux ELF.
14061
linux* | k*bsd*-gnu)
14065
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14066
soname_spec='${libname}${release}${shared_ext}$major'
14067
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14068
shlibpath_var=LD_LIBRARY_PATH
14069
shlibpath_overrides_runpath=no
14070
# This implies no fast_install, which is unacceptable.
14071
# Some rework will be needed to allow for fast_install
14072
# before this can be enabled.
14073
hardcode_into_libs=yes
14075
# Append ld.so.conf contents to the search path
14076
if test -f /etc/ld.so.conf; then
14077
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 '\n' ' '`
14078
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14081
# We used to test for /lib/ld.so.1 and disable shared libraries on
14082
# powerpc, because MkLinux only supported shared libraries with the
14083
# GNU dynamic linker. Since this was broken with cross compilers,
14084
# most powerpc-linux boxes support dynamic linking these days and
14085
# people can always --disable-shared, the test was removed, and we
14086
# assume the GNU/Linux dynamic linker is in use.
14087
dynamic_linker='GNU/Linux ld.so'
14094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14095
soname_spec='${libname}${release}${shared_ext}$major'
14096
shlibpath_var=LD_LIBRARY_PATH
14097
shlibpath_overrides_runpath=no
14098
hardcode_into_libs=yes
14099
dynamic_linker='NetBSD ld.elf_so'
14106
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14107
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14108
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14109
dynamic_linker='NetBSD (a.out) ld.so'
14111
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14112
soname_spec='${libname}${release}${shared_ext}$major'
14113
dynamic_linker='NetBSD ld.elf_so'
14115
shlibpath_var=LD_LIBRARY_PATH
14116
shlibpath_overrides_runpath=yes
14117
hardcode_into_libs=yes
14122
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14123
shlibpath_var=LD_LIBRARY_PATH
14124
shlibpath_overrides_runpath=yes
14131
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14132
soname_spec='${libname}${release}${shared_ext}$major'
14133
shlibpath_var=LD_LIBRARY_PATH
14134
shlibpath_overrides_runpath=yes
14139
sys_lib_dlsearch_path_spec="/usr/lib"
14141
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14143
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14144
*) need_version=no ;;
14146
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14147
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14148
shlibpath_var=LD_LIBRARY_PATH
14149
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14151
openbsd2.[89] | openbsd2.[89].*)
14152
shlibpath_overrides_runpath=no
14155
shlibpath_overrides_runpath=yes
14159
shlibpath_overrides_runpath=yes
14164
libname_spec='$name'
14167
library_names_spec='$libname${shared_ext} $libname.a'
14168
dynamic_linker='OS/2 ld.exe'
14169
shlibpath_var=LIBPATH
14172
osf3* | osf4* | osf5*)
14176
soname_spec='${libname}${release}${shared_ext}$major'
14177
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178
shlibpath_var=LD_LIBRARY_PATH
14179
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14180
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14191
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192
soname_spec='${libname}${release}${shared_ext}$major'
14193
shlibpath_var=LD_LIBRARY_PATH
14194
shlibpath_overrides_runpath=yes
14195
hardcode_into_libs=yes
14196
# ldd complains unless libraries are executable
14197
postinstall_cmds='chmod +x $lib'
14202
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14203
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14204
shlibpath_var=LD_LIBRARY_PATH
14205
shlibpath_overrides_runpath=yes
14206
if test "$with_gnu_ld" = yes; then
14214
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215
soname_spec='${libname}${release}${shared_ext}$major'
14216
shlibpath_var=LD_LIBRARY_PATH
14217
case $host_vendor in
14219
shlibpath_overrides_runpath=no
14221
export_dynamic_flag_spec='${wl}-Blargedynsym'
14222
runpath_var=LD_RUN_PATH
14230
shlibpath_overrides_runpath=no
14231
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14237
if test -d /usr/nec ;then
14239
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14240
soname_spec='$libname${shared_ext}.$major'
14241
shlibpath_var=LD_LIBRARY_PATH
14245
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14246
version_type=freebsd-elf
14249
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14250
soname_spec='${libname}${release}${shared_ext}$major'
14251
shlibpath_var=LD_LIBRARY_PATH
14252
hardcode_into_libs=yes
14253
if test "$with_gnu_ld" = yes; then
14254
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14255
shlibpath_overrides_runpath=no
14257
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14258
shlibpath_overrides_runpath=yes
14261
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14265
sys_lib_dlsearch_path_spec='/usr/lib'
14270
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14271
soname_spec='${libname}${release}${shared_ext}$major'
14272
shlibpath_var=LD_LIBRARY_PATH
14279
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14280
echo "${ECHO_T}$dynamic_linker" >&6; }
14281
test "$dynamic_linker" = no && can_build_shared=no
14283
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14284
if test "$GCC" = yes; then
14285
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14288
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14289
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14290
hardcode_action_CXX=
14291
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14292
test -n "$runpath_var_CXX" || \
14293
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14295
# We can hardcode non-existant directories.
14296
if test "$hardcode_direct_CXX" != no &&
14297
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14298
# have to relink, otherwise we might link with an installed library
14299
# when we should be linking with a yet-to-be-installed one
14300
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14301
test "$hardcode_minus_L_CXX" != no; then
14302
# Linking always hardcodes the temporary library directory.
14303
hardcode_action_CXX=relink
14305
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14306
hardcode_action_CXX=immediate
14309
# We cannot hardcode anything, or else we can only hardcode existing
14311
hardcode_action_CXX=unsupported
14313
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14314
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14316
if test "$hardcode_action_CXX" = relink; then
14317
# Fast installation is not supported
14318
enable_fast_install=no
14319
elif test "$shlibpath_overrides_runpath" = yes ||
14320
test "$enable_shared" = no; then
14321
# Fast installation is not necessary
14322
enable_fast_install=needless
14326
# The else clause should only fire when bootstrapping the
14327
# libtool distribution, otherwise you forgot to ship ltmain.sh
14328
# with your package, and you will get complaints that there are
14329
# no rules to generate ltmain.sh.
14330
if test -f "$ltmain"; then
14331
# See if we are running on zsh, and set the options which allow our commands through
14332
# without removal of \ escapes.
14333
if test -n "${ZSH_VERSION+set}" ; then
14334
setopt NO_GLOB_SUBST
14336
# Now quote all the things that may contain metacharacters while being
14337
# careful not to overquote the AC_SUBSTed values. We take copies of the
14338
# variables and quote the copies for generation of the libtool script.
14339
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14341
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14342
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14343
deplibs_check_method reload_flag reload_cmds need_locks \
14344
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14345
lt_cv_sys_global_symbol_to_c_name_address \
14346
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14347
old_postinstall_cmds old_postuninstall_cmds \
14351
lt_prog_compiler_wl_CXX \
14352
lt_prog_compiler_pic_CXX \
14353
lt_prog_compiler_static_CXX \
14354
lt_prog_compiler_no_builtin_flag_CXX \
14355
export_dynamic_flag_spec_CXX \
14356
thread_safe_flag_spec_CXX \
14357
whole_archive_flag_spec_CXX \
14358
enable_shared_with_static_runtimes_CXX \
14359
old_archive_cmds_CXX \
14360
old_archive_from_new_cmds_CXX \
14361
predep_objects_CXX \
14362
postdep_objects_CXX \
14365
compiler_lib_search_path_CXX \
14367
archive_expsym_cmds_CXX \
14368
postinstall_cmds_CXX \
14369
postuninstall_cmds_CXX \
14370
old_archive_from_expsyms_cmds_CXX \
14371
allow_undefined_flag_CXX \
14372
no_undefined_flag_CXX \
14373
export_symbols_cmds_CXX \
14374
hardcode_libdir_flag_spec_CXX \
14375
hardcode_libdir_flag_spec_ld_CXX \
14376
hardcode_libdir_separator_CXX \
14377
hardcode_automatic_CXX \
14379
module_expsym_cmds_CXX \
14380
lt_cv_prog_compiler_c_o_CXX \
14381
fix_srcfile_path_CXX \
14382
exclude_expsyms_CXX \
14383
include_expsyms_CXX; do
14386
old_archive_cmds_CXX | \
14387
old_archive_from_new_cmds_CXX | \
14388
archive_cmds_CXX | \
14389
archive_expsym_cmds_CXX | \
14390
module_cmds_CXX | \
14391
module_expsym_cmds_CXX | \
14392
old_archive_from_expsyms_cmds_CXX | \
14393
export_symbols_cmds_CXX | \
14394
extract_expsyms_cmds | reload_cmds | finish_cmds | \
14395
postinstall_cmds | postuninstall_cmds | \
14396
old_postinstall_cmds | old_postuninstall_cmds | \
14397
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14398
# Double-quote double-evaled strings.
14399
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14402
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14408
*'\$0 --fallback-echo"')
14409
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14415
cat <<__EOF__ >> "$cfgfile"
14416
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14418
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14420
# Shell to use when invoking shell scripts.
14423
# Whether or not to build shared libraries.
14424
build_libtool_libs=$enable_shared
14426
# Whether or not to build static libraries.
14427
build_old_libs=$enable_static
14429
# Whether or not to add -lc for building shared libraries.
14430
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14432
# Whether or not to disallow shared libs when runtime libs are static
14433
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14435
# Whether or not to optimize for fast installation.
14436
fast_install=$enable_fast_install
14439
host_alias=$host_alias
14443
# The build system.
14444
build_alias=$build_alias
14448
# An echo program that does not interpret backslashes.
14453
AR_FLAGS=$lt_AR_FLAGS
14458
# LTCC compiler flags.
14459
LTCFLAGS=$lt_LTCFLAGS
14461
# A language-specific compiler.
14462
CC=$lt_compiler_CXX
14464
# Is the compiler the GNU C compiler?
14470
# The linker used to build libraries.
14473
# Whether we need hard or soft links.
14476
# A BSD-compatible nm program.
14479
# A symbol stripping program
14482
# Used to examine libraries when file_magic_cmd begins "file"
14483
MAGIC_CMD=$MAGIC_CMD
14485
# Used on cygwin: DLL creation program.
14488
# Used on cygwin: object dumper.
14491
# Used on cygwin: assembler.
14494
# The name of the directory that contains temporary libtool files.
14497
# How to create reloadable object files.
14498
reload_flag=$lt_reload_flag
14499
reload_cmds=$lt_reload_cmds
14501
# How to pass a linker flag through the compiler.
14502
wl=$lt_lt_prog_compiler_wl_CXX
14504
# Object file suffix (normally "o").
14505
objext="$ac_objext"
14507
# Old archive suffix (normally "a").
14510
# Shared library suffix (normally ".so").
14511
shrext_cmds='$shrext_cmds'
14513
# Executable file suffix (normally "").
14516
# Additional compiler flags for building library objects.
14517
pic_flag=$lt_lt_prog_compiler_pic_CXX
14520
# What is the maximum length of a command?
14521
max_cmd_len=$lt_cv_sys_max_cmd_len
14523
# Does compiler simultaneously support -c and -o options?
14524
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14526
# Must we lock files when doing compilation?
14527
need_locks=$lt_need_locks
14529
# Do we need the lib prefix for modules?
14530
need_lib_prefix=$need_lib_prefix
14532
# Do we need a version for libraries?
14533
need_version=$need_version
14535
# Whether dlopen is supported.
14536
dlopen_support=$enable_dlopen
14538
# Whether dlopen of programs is supported.
14539
dlopen_self=$enable_dlopen_self
14541
# Whether dlopen of statically linked programs is supported.
14542
dlopen_self_static=$enable_dlopen_self_static
14544
# Compiler flag to prevent dynamic linking.
14545
link_static_flag=$lt_lt_prog_compiler_static_CXX
14547
# Compiler flag to turn off builtin functions.
14548
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14550
# Compiler flag to allow reflexive dlopens.
14551
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14553
# Compiler flag to generate shared objects directly from archives.
14554
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14556
# Compiler flag to generate thread-safe objects.
14557
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14559
# Library versioning type.
14560
version_type=$version_type
14562
# Format of library name prefix.
14563
libname_spec=$lt_libname_spec
14565
# List of archive names. First name is the real one, the rest are links.
14566
# The last name is the one that the linker finds with -lNAME.
14567
library_names_spec=$lt_library_names_spec
14569
# The coded name of the library, if different from the real name.
14570
soname_spec=$lt_soname_spec
14572
# Commands used to build and install an old-style archive.
14574
old_archive_cmds=$lt_old_archive_cmds_CXX
14575
old_postinstall_cmds=$lt_old_postinstall_cmds
14576
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14578
# Create an old-style archive from a shared archive.
14579
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14581
# Create a temporary old-style archive to link instead of a shared archive.
14582
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14584
# Commands used to build and install a shared archive.
14585
archive_cmds=$lt_archive_cmds_CXX
14586
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14587
postinstall_cmds=$lt_postinstall_cmds
14588
postuninstall_cmds=$lt_postuninstall_cmds
14590
# Commands used to build a loadable module (assumed same as above if empty)
14591
module_cmds=$lt_module_cmds_CXX
14592
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14594
# Commands to strip libraries.
14595
old_striplib=$lt_old_striplib
14596
striplib=$lt_striplib
14598
# Dependencies to place before the objects being linked to create a
14600
predep_objects=$lt_predep_objects_CXX
14602
# Dependencies to place after the objects being linked to create a
14604
postdep_objects=$lt_postdep_objects_CXX
14606
# Dependencies to place before the objects being linked to create a
14608
predeps=$lt_predeps_CXX
14610
# Dependencies to place after the objects being linked to create a
14612
postdeps=$lt_postdeps_CXX
14614
# The library search path used internally by the compiler when linking
14615
# a shared library.
14616
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14618
# Method to check whether dependent libraries are shared objects.
14619
deplibs_check_method=$lt_deplibs_check_method
14621
# Command to use when deplibs_check_method == file_magic.
14622
file_magic_cmd=$lt_file_magic_cmd
14624
# Flag that allows shared libraries with undefined symbols to be built.
14625
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14627
# Flag that forces no undefined symbols.
14628
no_undefined_flag=$lt_no_undefined_flag_CXX
14630
# Commands used to finish a libtool library installation in a directory.
14631
finish_cmds=$lt_finish_cmds
14633
# Same as above, but a single script fragment to be evaled but not shown.
14634
finish_eval=$lt_finish_eval
14636
# Take the output of nm and produce a listing of raw symbols and C names.
14637
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14639
# Transform the output of nm in a proper C declaration
14640
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14642
# Transform the output of nm in a C name address pair
14643
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14645
# This is the shared library runtime path variable.
14646
runpath_var=$runpath_var
14648
# This is the shared library path variable.
14649
shlibpath_var=$shlibpath_var
14651
# Is shlibpath searched before the hard-coded library search path?
14652
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14654
# How to hardcode a shared library path into an executable.
14655
hardcode_action=$hardcode_action_CXX
14657
# Whether we should hardcode library paths into libraries.
14658
hardcode_into_libs=$hardcode_into_libs
14660
# Flag to hardcode \$libdir into a binary during linking.
14661
# This must work even if \$libdir does not exist.
14662
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14664
# If ld is used when linking, flag to hardcode \$libdir into
14665
# a binary during linking. This must work even if \$libdir does
14667
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14669
# Whether we need a single -rpath flag with a separated argument.
14670
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14672
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14673
# resulting binary.
14674
hardcode_direct=$hardcode_direct_CXX
14676
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14677
# resulting binary.
14678
hardcode_minus_L=$hardcode_minus_L_CXX
14680
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14681
# the resulting binary.
14682
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14684
# Set to yes if building a shared library automatically hardcodes DIR into the library
14685
# and all subsequent libraries and executables linked against it.
14686
hardcode_automatic=$hardcode_automatic_CXX
14688
# Variables whose values should be saved in libtool wrapper scripts and
14689
# restored at relink time.
14690
variables_saved_for_relink="$variables_saved_for_relink"
14692
# Whether libtool must link a program against all its dependency libraries.
14693
link_all_deplibs=$link_all_deplibs_CXX
14695
# Compile-time system search path for libraries
14696
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14698
# Run-time system search path for libraries
14699
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14701
# Fix the shell variable \$srcfile for the compiler.
14702
fix_srcfile_path=$lt_fix_srcfile_path
14704
# Set to yes if exported symbols are required.
14705
always_export_symbols=$always_export_symbols_CXX
14707
# The commands to list exported symbols.
14708
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14710
# The commands to extract the exported symbol list from a shared archive.
14711
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14713
# Symbols that should not be listed in the preloaded symbols.
14714
exclude_expsyms=$lt_exclude_expsyms_CXX
14716
# Symbols that must always be exported.
14717
include_expsyms=$lt_include_expsyms_CXX
14719
# ### END LIBTOOL TAG CONFIG: $tagname
14725
# If there is no Makefile yet, we rely on a make rule to execute
14726
# `config.status --recheck' to rerun these tests and create the
14727
# libtool script then.
14728
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14729
if test -f "$ltmain_in"; then
14730
test -f Makefile && make "$ltmain"
14736
ac_cpp='$CPP $CPPFLAGS'
14737
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14738
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14739
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14745
with_gnu_ldcxx=$with_gnu_ld
14746
with_gnu_ld=$lt_save_with_gnu_ld
14747
lt_cv_path_LDCXX=$lt_cv_path_LD
14748
lt_cv_path_LD=$lt_save_path_LD
14749
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14750
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14758
if test -n "$F77" && test "X$F77" != "Xno"; then
14761
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14762
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14763
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14766
archive_cmds_need_lc_F77=no
14767
allow_undefined_flag_F77=
14768
always_export_symbols_F77=no
14769
archive_expsym_cmds_F77=
14770
export_dynamic_flag_spec_F77=
14771
hardcode_direct_F77=no
14772
hardcode_libdir_flag_spec_F77=
14773
hardcode_libdir_flag_spec_ld_F77=
14774
hardcode_libdir_separator_F77=
14775
hardcode_minus_L_F77=no
14776
hardcode_automatic_F77=no
14778
module_expsym_cmds_F77=
14779
link_all_deplibs_F77=unknown
14780
old_archive_cmds_F77=$old_archive_cmds
14781
no_undefined_flag_F77=
14782
whole_archive_flag_spec_F77=
14783
enable_shared_with_static_runtimes_F77=no
14785
# Source file extension for f77 test sources.
14788
# Object file extension for compiled f77 test sources.
14792
# Code to be used in simple compile tests
14793
lt_simple_compile_test_code="\
14799
# Code to be used in simple link tests
14800
lt_simple_link_test_code="\
14805
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14807
# If no C compiler was specified, use CC.
14810
# If no C compiler flags were specified, use CFLAGS.
14811
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14813
# Allow CC to be a program name with arguments.
14817
# save warnings/boilerplate of simple test code
14818
ac_outfile=conftest.$ac_objext
14819
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14820
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14821
_lt_compiler_boilerplate=`cat conftest.err`
14824
ac_outfile=conftest.$ac_objext
14825
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14826
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14827
_lt_linker_boilerplate=`cat conftest.err`
14831
# Allow CC to be a program name with arguments.
14836
for cc_temp in $compiler""; do
14838
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14839
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14844
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14847
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14848
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14849
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14850
echo "${ECHO_T}$can_build_shared" >&6; }
14852
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14853
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14854
test "$can_build_shared" = "no" && enable_shared=no
14856
# On AIX, shared libraries and static libraries use the same namespace, and
14857
# are all built from PIC.
14860
test "$enable_shared" = yes && enable_static=no
14861
if test -n "$RANLIB"; then
14862
archive_cmds="$archive_cmds~\$RANLIB \$lib"
14863
postinstall_cmds='$RANLIB $lib'
14867
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14868
test "$enable_shared" = yes && enable_static=no
14872
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14873
echo "${ECHO_T}$enable_shared" >&6; }
14875
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14876
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14877
# Make sure either enable_shared or enable_static is yes.
14878
test "$enable_shared" = yes || enable_static=yes
14879
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14880
echo "${ECHO_T}$enable_static" >&6; }
14885
lt_prog_compiler_wl_F77=
14886
lt_prog_compiler_pic_F77=
14887
lt_prog_compiler_static_F77=
14889
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14890
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14892
if test "$GCC" = yes; then
14893
lt_prog_compiler_wl_F77='-Wl,'
14894
lt_prog_compiler_static_F77='-static'
14898
# All AIX code is PIC.
14899
if test "$host_cpu" = ia64; then
14900
# AIX 5 now supports IA64 processor
14901
lt_prog_compiler_static_F77='-Bstatic'
14906
# FIXME: we need at least 68020 code to build shared libraries, but
14907
# adding the `-m68020' flag to GCC prevents building anything better,
14909
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14912
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14913
# PIC is the default for these OSes.
14916
mingw* | cygwin* | pw32* | os2*)
14917
# This hack is so that the source file can tell whether it is being
14918
# built for inclusion in a dll (and should export symbols for example).
14919
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14920
# (--disable-auto-import) libraries
14921
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14924
darwin* | rhapsody*)
14925
# PIC is the default on this platform
14926
# Common symbols not allowed in MH_DYLIB files
14927
lt_prog_compiler_pic_F77='-fno-common'
14931
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14932
# Instead, we relocate shared libraries at runtime.
14936
# Just because we use GCC doesn't mean we suddenly get shared libraries
14937
# on systems that don't support them.
14938
lt_prog_compiler_can_build_shared_F77=no
14943
if test -d /usr/nec; then
14944
lt_prog_compiler_pic_F77=-Kconform_pic
14949
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14950
# not for PA HP-UX.
14956
lt_prog_compiler_pic_F77='-fPIC'
14962
lt_prog_compiler_pic_F77='-fPIC'
14966
# PORTME Check for flag to pass linker flags through the system compiler.
14969
lt_prog_compiler_wl_F77='-Wl,'
14970
if test "$host_cpu" = ia64; then
14971
# AIX 5 now supports IA64 processor
14972
lt_prog_compiler_static_F77='-Bstatic'
14974
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14978
# PIC is the default on this platform
14979
# Common symbols not allowed in MH_DYLIB files
14980
case $cc_basename in
14982
lt_prog_compiler_pic_F77='-qnocommon'
14983
lt_prog_compiler_wl_F77='-Wl,'
14988
mingw* | cygwin* | pw32* | os2*)
14989
# This hack is so that the source file can tell whether it is being
14990
# built for inclusion in a dll (and should export symbols for example).
14991
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14994
hpux9* | hpux10* | hpux11*)
14995
lt_prog_compiler_wl_F77='-Wl,'
14996
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14997
# not for PA HP-UX.
15003
lt_prog_compiler_pic_F77='+Z'
15006
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15007
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15010
irix5* | irix6* | nonstopux*)
15011
lt_prog_compiler_wl_F77='-Wl,'
15012
# PIC (with -KPIC) is the default.
15013
lt_prog_compiler_static_F77='-non_shared'
15017
lt_prog_compiler_pic_F77='-KPIC'
15018
lt_prog_compiler_static_F77='-Bstatic'
15021
linux* | k*bsd*-gnu)
15022
case $cc_basename in
15024
lt_prog_compiler_wl_F77='-Wl,'
15025
lt_prog_compiler_pic_F77='-KPIC'
15026
lt_prog_compiler_static_F77='-static'
15028
pgcc* | pgf77* | pgf90* | pgf95*)
15029
# Portland Group compilers (*not* the Pentium gcc compiler,
15030
# which looks to be a dead project)
15031
lt_prog_compiler_wl_F77='-Wl,'
15032
lt_prog_compiler_pic_F77='-fpic'
15033
lt_prog_compiler_static_F77='-Bstatic'
15036
lt_prog_compiler_wl_F77='-Wl,'
15037
# All Alpha code is PIC.
15038
lt_prog_compiler_static_F77='-non_shared'
15041
case `$CC -V 2>&1 | sed 5q` in
15044
lt_prog_compiler_pic_F77='-KPIC'
15045
lt_prog_compiler_static_F77='-Bstatic'
15046
lt_prog_compiler_wl_F77='-Wl,'
15049
# Sun Fortran 8.3 passes all unrecognized flags to the linker
15050
lt_prog_compiler_pic_F77='-KPIC'
15051
lt_prog_compiler_static_F77='-Bstatic'
15052
lt_prog_compiler_wl_F77=''
15059
osf3* | osf4* | osf5*)
15060
lt_prog_compiler_wl_F77='-Wl,'
15061
# All OSF/1 code is PIC.
15062
lt_prog_compiler_static_F77='-non_shared'
15066
lt_prog_compiler_static_F77='-non_shared'
15070
lt_prog_compiler_pic_F77='-KPIC'
15071
lt_prog_compiler_static_F77='-Bstatic'
15072
case $cc_basename in
15073
f77* | f90* | f95*)
15074
lt_prog_compiler_wl_F77='-Qoption ld ';;
15076
lt_prog_compiler_wl_F77='-Wl,';;
15081
lt_prog_compiler_wl_F77='-Qoption ld '
15082
lt_prog_compiler_pic_F77='-PIC'
15083
lt_prog_compiler_static_F77='-Bstatic'
15086
sysv4 | sysv4.2uw2* | sysv4.3*)
15087
lt_prog_compiler_wl_F77='-Wl,'
15088
lt_prog_compiler_pic_F77='-KPIC'
15089
lt_prog_compiler_static_F77='-Bstatic'
15093
if test -d /usr/nec ;then
15094
lt_prog_compiler_pic_F77='-Kconform_pic'
15095
lt_prog_compiler_static_F77='-Bstatic'
15099
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15100
lt_prog_compiler_wl_F77='-Wl,'
15101
lt_prog_compiler_pic_F77='-KPIC'
15102
lt_prog_compiler_static_F77='-Bstatic'
15106
lt_prog_compiler_wl_F77='-Wl,'
15107
lt_prog_compiler_can_build_shared_F77=no
15111
lt_prog_compiler_pic_F77='-pic'
15112
lt_prog_compiler_static_F77='-Bstatic'
15116
lt_prog_compiler_can_build_shared_F77=no
15121
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15122
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15125
# Check to make sure the PIC flag actually works.
15127
if test -n "$lt_prog_compiler_pic_F77"; then
15129
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15130
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15131
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15132
echo $ECHO_N "(cached) $ECHO_C" >&6
15134
lt_prog_compiler_pic_works_F77=no
15135
ac_outfile=conftest.$ac_objext
15136
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15137
lt_compiler_flag="$lt_prog_compiler_pic_F77"
15138
# Insert the option either (1) after the last *FLAGS variable, or
15139
# (2) before a word containing "conftest.", or (3) at the end.
15140
# Note that $ac_compile itself does not contain backslashes and begins
15141
# with a dollar sign (not a hyphen), so the echo should work correctly.
15142
# The option is referenced via a variable to avoid confusing sed.
15143
lt_compile=`echo "$ac_compile" | $SED \
15144
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15145
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15146
-e 's:$: $lt_compiler_flag:'`
15147
(eval echo "\"\$as_me:15147: $lt_compile\"" >&5)
15148
(eval "$lt_compile" 2>conftest.err)
15150
cat conftest.err >&5
15151
echo "$as_me:15151: \$? = $ac_status" >&5
15152
if (exit $ac_status) && test -s "$ac_outfile"; then
15153
# The compiler can only warn and ignore the option if not recognized
15154
# So say no if there are warnings other than the usual output.
15155
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15156
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15157
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15158
lt_prog_compiler_pic_works_F77=yes
15164
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15165
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15167
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15168
case $lt_prog_compiler_pic_F77 in
15170
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15173
lt_prog_compiler_pic_F77=
15174
lt_prog_compiler_can_build_shared_F77=no
15179
# For platforms which do not support PIC, -DPIC is meaningless:
15181
lt_prog_compiler_pic_F77=
15184
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15189
# Check to make sure the static flag actually works.
15191
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15192
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15193
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15194
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15195
echo $ECHO_N "(cached) $ECHO_C" >&6
15197
lt_prog_compiler_static_works_F77=no
15198
save_LDFLAGS="$LDFLAGS"
15199
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15200
echo "$lt_simple_link_test_code" > conftest.$ac_ext
15201
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15202
# The linker can only warn and ignore the option if not recognized
15203
# So say no if there are warnings
15204
if test -s conftest.err; then
15205
# Append any errors to the config.log.
15206
cat conftest.err 1>&5
15207
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15208
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15209
if diff conftest.exp conftest.er2 >/dev/null; then
15210
lt_prog_compiler_static_works_F77=yes
15213
lt_prog_compiler_static_works_F77=yes
15217
LDFLAGS="$save_LDFLAGS"
15220
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15221
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15223
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15226
lt_prog_compiler_static_F77=
15230
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15231
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15232
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15233
echo $ECHO_N "(cached) $ECHO_C" >&6
15235
lt_cv_prog_compiler_c_o_F77=no
15236
$rm -r conftest 2>/dev/null
15240
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15242
lt_compiler_flag="-o out/conftest2.$ac_objext"
15243
# Insert the option either (1) after the last *FLAGS variable, or
15244
# (2) before a word containing "conftest.", or (3) at the end.
15245
# Note that $ac_compile itself does not contain backslashes and begins
15246
# with a dollar sign (not a hyphen), so the echo should work correctly.
15247
lt_compile=`echo "$ac_compile" | $SED \
15248
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15249
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15250
-e 's:$: $lt_compiler_flag:'`
15251
(eval echo "\"\$as_me:15251: $lt_compile\"" >&5)
15252
(eval "$lt_compile" 2>out/conftest.err)
15254
cat out/conftest.err >&5
15255
echo "$as_me:15255: \$? = $ac_status" >&5
15256
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15258
# The compiler can only warn and ignore the option if not recognized
15259
# So say no if there are warnings
15260
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15261
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15262
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15263
lt_cv_prog_compiler_c_o_F77=yes
15268
# SGI C++ compiler will create directory out/ii_files/ for
15269
# template instantiation
15270
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15271
$rm out/* && rmdir out
15277
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15278
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15281
hard_links="nottested"
15282
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15283
# do not overwrite the value of need_locks provided by the user
15284
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15285
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15288
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15290
ln conftest.a conftest.b 2>&5 || hard_links=no
15291
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15292
{ echo "$as_me:$LINENO: result: $hard_links" >&5
15293
echo "${ECHO_T}$hard_links" >&6; }
15294
if test "$hard_links" = no; then
15295
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15296
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15303
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15304
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15307
allow_undefined_flag_F77=
15308
enable_shared_with_static_runtimes_F77=no
15310
archive_expsym_cmds_F77=
15311
old_archive_From_new_cmds_F77=
15312
old_archive_from_expsyms_cmds_F77=
15313
export_dynamic_flag_spec_F77=
15314
whole_archive_flag_spec_F77=
15315
thread_safe_flag_spec_F77=
15316
hardcode_libdir_flag_spec_F77=
15317
hardcode_libdir_flag_spec_ld_F77=
15318
hardcode_libdir_separator_F77=
15319
hardcode_direct_F77=no
15320
hardcode_minus_L_F77=no
15321
hardcode_shlibpath_var_F77=unsupported
15322
link_all_deplibs_F77=unknown
15323
hardcode_automatic_F77=no
15325
module_expsym_cmds_F77=
15326
always_export_symbols_F77=no
15327
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15328
# include_expsyms should be a list of space-separated symbols to be *always*
15329
# included in the symbol list
15330
include_expsyms_F77=
15331
# exclude_expsyms can be an extended regexp of symbols to exclude
15332
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15333
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15334
# as well as any symbol that contains `d'.
15335
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15336
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15337
# platforms (ab)use it in PIC code, but their linkers get confused if
15338
# the symbol is explicitly referenced. Since portable code cannot
15339
# rely on this symbol name, it's probably fine to never include it in
15340
# preloaded symbol tables.
15341
extract_expsyms_cmds=
15342
# Just being paranoid about ensuring that cc_basename is set.
15343
for cc_temp in $compiler""; do
15345
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15346
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15351
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15354
cygwin* | mingw* | pw32*)
15355
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15356
# When not using gcc, we currently assume that we are using
15357
# Microsoft Visual C++.
15358
if test "$GCC" != yes; then
15363
# we just hope/assume this is gcc and not c89 (= MSVC++)
15372
if test "$with_gnu_ld" = yes; then
15373
# If archive_cmds runs LD, not CC, wlarc should be empty
15376
# Set some defaults for GNU ld with shared library support. These
15377
# are reset later if shared libraries are not supported. Putting them
15378
# here allows them to be overridden if necessary.
15379
runpath_var=LD_RUN_PATH
15380
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15381
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15382
# ancient GNU ld didn't support --whole-archive et. al.
15383
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15384
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15386
whole_archive_flag_spec_F77=
15388
supports_anon_versioning=no
15389
case `$LD -v 2>/dev/null` in
15390
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15391
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15392
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15393
*\ 2.11.*) ;; # other 2.11 versions
15394
*) supports_anon_versioning=yes ;;
15397
# See if GNU ld supports shared libraries.
15399
aix3* | aix4* | aix5*)
15400
# On AIX/PPC, the GNU linker is very broken
15401
if test "$host_cpu" != ia64; then
15405
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15406
*** to be unable to reliably create shared libraries on AIX.
15407
*** Therefore, libtool is disabling shared libraries support. If you
15408
*** really care for shared libraries, you may want to modify your PATH
15409
*** so that a non-GNU linker is found, and then restart.
15416
archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15417
hardcode_libdir_flag_spec_F77='-L$libdir'
15418
hardcode_minus_L_F77=yes
15420
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15421
# that the semantics of dynamic libraries on AmigaOS, at least up
15422
# to version 4, is to share data among multiple programs linked
15423
# with the same dynamic library. Since this doesn't match the
15424
# behavior of shared libraries on other platforms, we can't use
15430
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15431
allow_undefined_flag_F77=unsupported
15432
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15433
# support --undefined. This deserves some investigation. FIXME
15434
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15440
cygwin* | mingw* | pw32*)
15441
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15442
# as there is no search path for DLLs.
15443
hardcode_libdir_flag_spec_F77='-L$libdir'
15444
allow_undefined_flag_F77=unsupported
15445
always_export_symbols_F77=no
15446
enable_shared_with_static_runtimes_F77=yes
15447
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15449
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15450
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15451
# If the export-symbols file already is a .def file (1st line
15452
# is EXPORTS), use it as is; otherwise, prepend...
15453
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15454
cp $export_symbols $output_objdir/$soname.def;
15456
echo EXPORTS > $output_objdir/$soname.def;
15457
cat $export_symbols >> $output_objdir/$soname.def;
15459
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15466
hardcode_direct_F77=no
15467
hardcode_shlibpath_var_F77=no
15468
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15469
export_dynamic_flag_spec_F77='${wl}-E'
15470
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15471
# Instead, shared libraries are loaded at an image base (0x10000000 by
15472
# default) and relocated if they conflict, which is a slow very memory
15473
# consuming and fragmenting process. To avoid this, we pick a random,
15474
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15475
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15476
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15477
archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15480
gnu* | linux* | k*bsd*-gnu)
15481
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15483
case $cc_basename,$host_cpu in
15484
pgcc*) # Portland Group C compiler
15485
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15486
tmp_addflag=' $pic_flag'
15488
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15489
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15490
tmp_addflag=' $pic_flag -Mnomain' ;;
15491
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15492
tmp_addflag=' -i_dynamic' ;;
15493
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15494
tmp_addflag=' -i_dynamic -nofor_main' ;;
15495
ifc* | ifort*) # Intel Fortran compiler
15496
tmp_addflag=' -nofor_main' ;;
15498
case `$CC -V 2>&1 | sed 5q` in
15499
*Sun\ C*) # Sun C 5.9
15500
whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15501
tmp_sharedflag='-G' ;;
15502
*Sun\ F*) # Sun Fortran 8.3
15503
tmp_sharedflag='-G' ;;
15505
tmp_sharedflag='-shared' ;;
15507
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15509
if test $supports_anon_versioning = yes; then
15510
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15511
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15512
$echo "local: *; };" >> $output_objdir/$libname.ver~
15513
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15515
link_all_deplibs_F77=no
15521
netbsd* | netbsdelf*-gnu)
15522
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15523
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15526
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15527
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15532
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15536
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15537
*** create shared libraries on Solaris systems. Therefore, libtool
15538
*** is disabling shared libraries support. We urge you to upgrade GNU
15539
*** binutils to release 2.9.1 or newer. Another option is to modify
15540
*** your PATH or compiler configuration so that the native linker is
15541
*** used, and then restart.
15544
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15545
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15546
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15552
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15553
case `$LD -v 2>&1` in
15554
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15558
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15559
*** reliably create shared libraries on SCO systems. Therefore, libtool
15560
*** is disabling shared libraries support. We urge you to upgrade GNU
15561
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15562
*** your PATH or compiler configuration so that the native linker is
15563
*** used, and then restart.
15568
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15569
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15570
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15571
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15580
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15582
hardcode_direct_F77=yes
15583
hardcode_shlibpath_var_F77=no
15587
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15588
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15596
if test "$ld_shlibs_F77" = no; then
15598
hardcode_libdir_flag_spec_F77=
15599
export_dynamic_flag_spec_F77=
15600
whole_archive_flag_spec_F77=
15603
# PORTME fill in a description of your system's linker (not GNU ld)
15606
allow_undefined_flag_F77=unsupported
15607
always_export_symbols_F77=yes
15608
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15609
# Note: this linker hardcodes the directories in LIBPATH if there
15610
# are no directories specified by -L.
15611
hardcode_minus_L_F77=yes
15612
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15613
# Neither direct hardcoding nor static linking is supported with a
15615
hardcode_direct_F77=unsupported
15620
if test "$host_cpu" = ia64; then
15621
# On IA64, the linker does run time linking by default, so we don't
15622
# have to do anything special.
15623
aix_use_runtimelinking=no
15624
exp_sym_flag='-Bexport'
15627
# If we're using GNU nm, then we don't want the "-C" option.
15628
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15629
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15630
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15632
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15634
aix_use_runtimelinking=no
15636
# Test if we are trying to use run time linking or normal
15637
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15638
# need to do runtime linking.
15639
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15640
for ld_flag in $LDFLAGS; do
15641
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15642
aix_use_runtimelinking=yes
15649
exp_sym_flag='-bexport'
15650
no_entry_flag='-bnoentry'
15653
# When large executables or shared objects are built, AIX ld can
15654
# have problems creating the table of contents. If linking a library
15655
# or program results in "error TOC overflow" add -mminimal-toc to
15656
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15657
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15659
archive_cmds_F77=''
15660
hardcode_direct_F77=yes
15661
hardcode_libdir_separator_F77=':'
15662
link_all_deplibs_F77=yes
15664
if test "$GCC" = yes; then
15665
case $host_os in aix4.[012]|aix4.[012].*)
15666
# We only want to do this on AIX 4.2 and lower, the check
15667
# below for broken collect2 doesn't work under 4.3+
15668
collect2name=`${CC} -print-prog-name=collect2`
15669
if test -f "$collect2name" && \
15670
strings "$collect2name" | grep resolve_lib_name >/dev/null
15672
# We have reworked collect2
15675
# We have old collect2
15676
hardcode_direct_F77=unsupported
15677
# It fails to find uninstalled libraries when the uninstalled
15678
# path is not listed in the libpath. Setting hardcode_minus_L
15679
# to unsupported forces relinking
15680
hardcode_minus_L_F77=yes
15681
hardcode_libdir_flag_spec_F77='-L$libdir'
15682
hardcode_libdir_separator_F77=
15686
shared_flag='-shared'
15687
if test "$aix_use_runtimelinking" = yes; then
15688
shared_flag="$shared_flag "'${wl}-G'
15692
if test "$host_cpu" = ia64; then
15693
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15694
# chokes on -Wl,-G. The following line is correct:
15697
if test "$aix_use_runtimelinking" = yes; then
15698
shared_flag='${wl}-G'
15700
shared_flag='${wl}-bM:SRE'
15705
# It seems that -bexpall does not export symbols beginning with
15706
# underscore (_), so it is better to generate a list of symbols to export.
15707
always_export_symbols_F77=yes
15708
if test "$aix_use_runtimelinking" = yes; then
15709
# Warning - without using the other runtime loading flags (-brtl),
15710
# -berok will link without error, but may produce a broken library.
15711
allow_undefined_flag_F77='-berok'
15712
# Determine the default libpath from the value encoded in an empty executable.
15713
cat >conftest.$ac_ext <<_ACEOF
15718
rm -f conftest.$ac_objext conftest$ac_exeext
15719
if { (ac_try="$ac_link"
15720
case "(($ac_try" in
15721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722
*) ac_try_echo=$ac_try;;
15724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725
(eval "$ac_link") 2>conftest.er1
15727
grep -v '^ *+' conftest.er1 >conftest.err
15729
cat conftest.err >&5
15730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731
(exit $ac_status); } && {
15732
test -z "$ac_f77_werror_flag" ||
15733
test ! -s conftest.err
15734
} && test -s conftest$ac_exeext &&
15735
$as_test_x conftest$ac_exeext; then
15737
lt_aix_libpath_sed='
15738
/Import File Strings/,/^$/ {
15744
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15745
# Check for a 64-bit object if we didn't find anything.
15746
if test -z "$aix_libpath"; then
15747
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15750
echo "$as_me: failed program was:" >&5
15751
sed 's/^/| /' conftest.$ac_ext >&5
15756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15757
conftest$ac_exeext conftest.$ac_ext
15758
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15760
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15761
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15763
if test "$host_cpu" = ia64; then
15764
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15765
allow_undefined_flag_F77="-z nodefs"
15766
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15768
# Determine the default libpath from the value encoded in an empty executable.
15769
cat >conftest.$ac_ext <<_ACEOF
15774
rm -f conftest.$ac_objext conftest$ac_exeext
15775
if { (ac_try="$ac_link"
15776
case "(($ac_try" in
15777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778
*) ac_try_echo=$ac_try;;
15780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781
(eval "$ac_link") 2>conftest.er1
15783
grep -v '^ *+' conftest.er1 >conftest.err
15785
cat conftest.err >&5
15786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787
(exit $ac_status); } && {
15788
test -z "$ac_f77_werror_flag" ||
15789
test ! -s conftest.err
15790
} && test -s conftest$ac_exeext &&
15791
$as_test_x conftest$ac_exeext; then
15793
lt_aix_libpath_sed='
15794
/Import File Strings/,/^$/ {
15800
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15801
# Check for a 64-bit object if we didn't find anything.
15802
if test -z "$aix_libpath"; then
15803
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15806
echo "$as_me: failed program was:" >&5
15807
sed 's/^/| /' conftest.$ac_ext >&5
15812
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15813
conftest$ac_exeext conftest.$ac_ext
15814
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15816
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15817
# Warning - without using the other run time loading flags,
15818
# -berok will link without error, but may produce a broken library.
15819
no_undefined_flag_F77=' ${wl}-bernotok'
15820
allow_undefined_flag_F77=' ${wl}-berok'
15821
# Exported symbols can be pulled into shared objects from archives
15822
whole_archive_flag_spec_F77='$convenience'
15823
archive_cmds_need_lc_F77=yes
15824
# This is similar to how AIX traditionally builds its shared libraries.
15825
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15831
archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15832
hardcode_libdir_flag_spec_F77='-L$libdir'
15833
hardcode_minus_L_F77=yes
15834
# see comment about different semantics on the GNU ld section
15839
export_dynamic_flag_spec_F77=-rdynamic
15842
cygwin* | mingw* | pw32*)
15843
# When not using gcc, we currently assume that we are using
15844
# Microsoft Visual C++.
15845
# hardcode_libdir_flag_spec is actually meaningless, as there is
15846
# no search path for DLLs.
15847
hardcode_libdir_flag_spec_F77=' '
15848
allow_undefined_flag_F77=unsupported
15849
# Tell ltmain to make .lib files, not .a files.
15851
# Tell ltmain to make .dll files, not .so files.
15853
# FIXME: Setting linknames here is a bad hack.
15854
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15855
# The linker will automatically build a .lib file if we build a DLL.
15856
old_archive_From_new_cmds_F77='true'
15857
# FIXME: Should let the user specify the lib program.
15858
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15859
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15860
enable_shared_with_static_runtimes_F77=yes
15863
darwin* | rhapsody*)
15865
rhapsody* | darwin1.[012])
15866
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15869
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15870
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15872
case ${MACOSX_DEPLOYMENT_TARGET} in
15874
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15877
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15883
archive_cmds_need_lc_F77=no
15884
hardcode_direct_F77=no
15885
hardcode_automatic_F77=yes
15886
hardcode_shlibpath_var_F77=unsupported
15887
whole_archive_flag_spec_F77=''
15888
link_all_deplibs_F77=yes
15889
if test "$GCC" = yes ; then
15890
output_verbose_link_cmd='echo'
15891
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15892
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15893
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15894
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15895
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15897
case $cc_basename in
15899
output_verbose_link_cmd='echo'
15900
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15901
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15902
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15903
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15904
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15914
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15915
hardcode_libdir_flag_spec_F77='-L$libdir'
15916
hardcode_shlibpath_var_F77=no
15923
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15924
# support. Future versions do this automatically, but an explicit c++rt0.o
15925
# does not break anything, and helps significantly (at the cost of a little
15928
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15929
hardcode_libdir_flag_spec_F77='-R$libdir'
15930
hardcode_direct_F77=yes
15931
hardcode_shlibpath_var_F77=no
15934
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
15936
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15937
hardcode_direct_F77=yes
15938
hardcode_minus_L_F77=yes
15939
hardcode_shlibpath_var_F77=no
15942
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15943
freebsd* | dragonfly*)
15944
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15945
hardcode_libdir_flag_spec_F77='-R$libdir'
15946
hardcode_direct_F77=yes
15947
hardcode_shlibpath_var_F77=no
15951
if test "$GCC" = yes; then
15952
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15954
archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15956
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15957
hardcode_libdir_separator_F77=:
15958
hardcode_direct_F77=yes
15960
# hardcode_minus_L: Not really in the search PATH,
15961
# but as the default location of the library.
15962
hardcode_minus_L_F77=yes
15963
export_dynamic_flag_spec_F77='${wl}-E'
15967
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15968
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15970
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15972
if test "$with_gnu_ld" = no; then
15973
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15974
hardcode_libdir_separator_F77=:
15976
hardcode_direct_F77=yes
15977
export_dynamic_flag_spec_F77='${wl}-E'
15979
# hardcode_minus_L: Not really in the search PATH,
15980
# but as the default location of the library.
15981
hardcode_minus_L_F77=yes
15986
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15989
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15992
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15995
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16001
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16004
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16007
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16011
if test "$with_gnu_ld" = no; then
16012
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16013
hardcode_libdir_separator_F77=:
16017
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16018
hardcode_direct_F77=no
16019
hardcode_shlibpath_var_F77=no
16022
hardcode_direct_F77=yes
16023
export_dynamic_flag_spec_F77='${wl}-E'
16025
# hardcode_minus_L: Not really in the search PATH,
16026
# but as the default location of the library.
16027
hardcode_minus_L_F77=yes
16033
irix5* | irix6* | nonstopux*)
16034
if test "$GCC" = yes; then
16035
archive_cmds_F77='$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'
16037
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16038
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16040
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16041
hardcode_libdir_separator_F77=:
16042
link_all_deplibs_F77=yes
16045
netbsd* | netbsdelf*-gnu)
16046
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16047
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16049
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16051
hardcode_libdir_flag_spec_F77='-R$libdir'
16052
hardcode_direct_F77=yes
16053
hardcode_shlibpath_var_F77=no
16057
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16058
hardcode_direct_F77=yes
16059
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16060
hardcode_libdir_separator_F77=:
16061
hardcode_shlibpath_var_F77=no
16065
if test -f /usr/libexec/ld.so; then
16066
hardcode_direct_F77=yes
16067
hardcode_shlibpath_var_F77=no
16068
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16069
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16070
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16071
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16072
export_dynamic_flag_spec_F77='${wl}-E'
16075
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16076
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16077
hardcode_libdir_flag_spec_F77='-R$libdir'
16080
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16081
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16091
hardcode_libdir_flag_spec_F77='-L$libdir'
16092
hardcode_minus_L_F77=yes
16093
allow_undefined_flag_F77=unsupported
16094
archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16095
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16099
if test "$GCC" = yes; then
16100
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16101
archive_cmds_F77='$CC -shared${allow_undefined_flag} $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'
16103
allow_undefined_flag_F77=' -expect_unresolved \*'
16104
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16106
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16107
hardcode_libdir_separator_F77=:
16110
osf4* | osf5*) # as osf3* with the addition of -msym flag
16111
if test "$GCC" = yes; then
16112
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16113
archive_cmds_F77='$CC -shared${allow_undefined_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'
16114
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16116
allow_undefined_flag_F77=' -expect_unresolved \*'
16117
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16118
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16119
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16121
# Both c and cxx compiler support -rpath directly
16122
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16124
hardcode_libdir_separator_F77=:
16128
no_undefined_flag_F77=' -z text'
16129
if test "$GCC" = yes; then
16131
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16132
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16133
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16136
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16137
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16138
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16140
hardcode_libdir_flag_spec_F77='-R$libdir'
16141
hardcode_shlibpath_var_F77=no
16143
solaris2.[0-5] | solaris2.[0-5].*) ;;
16145
# The compiler driver will combine and reorder linker options,
16146
# but understands `-z linker_flag'. GCC discards it without `$wl',
16147
# but is careful enough not to reorder.
16148
# Supported since Solaris 2.6 (maybe 2.5.1?)
16149
if test "$GCC" = yes; then
16150
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16152
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16156
link_all_deplibs_F77=yes
16160
if test "x$host_vendor" = xsequent; then
16161
# Use $CC to link under sequent, because it throws in some extra .o
16162
# files that make .init and .fini sections work.
16163
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16165
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16167
hardcode_libdir_flag_spec_F77='-L$libdir'
16168
hardcode_direct_F77=yes
16169
hardcode_minus_L_F77=yes
16170
hardcode_shlibpath_var_F77=no
16174
case $host_vendor in
16176
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16177
hardcode_direct_F77=yes # is this really true???
16180
## LD is ld it makes a PLAMLIB
16181
## CC just makes a GrossModule.
16182
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16183
reload_cmds_F77='$CC -r -o $output$reload_objs'
16184
hardcode_direct_F77=no
16187
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16188
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16191
runpath_var='LD_RUN_PATH'
16192
hardcode_shlibpath_var_F77=no
16196
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16197
hardcode_shlibpath_var_F77=no
16198
export_dynamic_flag_spec_F77='-Bexport'
16202
if test -d /usr/nec; then
16203
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16204
hardcode_shlibpath_var_F77=no
16205
runpath_var=LD_RUN_PATH
16206
hardcode_runpath_var=yes
16211
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16212
no_undefined_flag_F77='${wl}-z,text'
16213
archive_cmds_need_lc_F77=no
16214
hardcode_shlibpath_var_F77=no
16215
runpath_var='LD_RUN_PATH'
16217
if test "$GCC" = yes; then
16218
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16221
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16222
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16226
sysv5* | sco3.2v5* | sco5v6*)
16227
# Note: We can NOT use -z defs as we might desire, because we do not
16228
# link with -lc, and that would cause any symbols used from libc to
16229
# always be unresolved, which means just about no library would
16230
# ever link correctly. If we're not using GNU ld we use -z text
16231
# though, which does catch some bad symbols but isn't as heavy-handed
16233
no_undefined_flag_F77='${wl}-z,text'
16234
allow_undefined_flag_F77='${wl}-z,nodefs'
16235
archive_cmds_need_lc_F77=no
16236
hardcode_shlibpath_var_F77=no
16237
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16238
hardcode_libdir_separator_F77=':'
16239
link_all_deplibs_F77=yes
16240
export_dynamic_flag_spec_F77='${wl}-Bexport'
16241
runpath_var='LD_RUN_PATH'
16243
if test "$GCC" = yes; then
16244
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16245
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16247
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16248
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16253
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16254
hardcode_libdir_flag_spec_F77='-L$libdir'
16255
hardcode_shlibpath_var_F77=no
16264
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16265
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16266
test "$ld_shlibs_F77" = no && can_build_shared=no
16269
# Do we need to explicitly link libc?
16271
case "x$archive_cmds_need_lc_F77" in
16273
# Assume -lc should be added
16274
archive_cmds_need_lc_F77=yes
16276
if test "$enable_shared" = yes && test "$GCC" = yes; then
16277
case $archive_cmds_F77 in
16279
# FIXME: we may have to deal with multi-command sequences.
16282
# Test whether the compiler implicitly links with -lc since on some
16283
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16284
# to ld, don't add -lc before -lgcc.
16285
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16286
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16288
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16290
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16291
(eval $ac_compile) 2>&5
16293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294
(exit $ac_status); } 2>conftest.err; then
16297
libobjs=conftest.$ac_objext
16299
wl=$lt_prog_compiler_wl_F77
16300
pic_flag=$lt_prog_compiler_pic_F77
16306
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16307
allow_undefined_flag_F77=
16308
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16309
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312
(exit $ac_status); }
16314
archive_cmds_need_lc_F77=no
16316
archive_cmds_need_lc_F77=yes
16318
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16320
cat conftest.err 1>&5
16323
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16324
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16331
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16332
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16333
library_names_spec=
16334
libname_spec='lib$name'
16338
postuninstall_cmds=
16342
shlibpath_overrides_runpath=unknown
16344
dynamic_linker="$host_os ld.so"
16345
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16347
need_lib_prefix=unknown
16348
hardcode_into_libs=no
16350
# when you set need_version to no, make sure it does not cause -set_version
16351
# flags to be left without arguments
16352
need_version=unknown
16357
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16358
shlibpath_var=LIBPATH
16360
# AIX 3 has no versioning support, so we append a major version to the name.
16361
soname_spec='${libname}${release}${shared_ext}$major'
16368
hardcode_into_libs=yes
16369
if test "$host_cpu" = ia64; then
16370
# AIX 5 supports IA64
16371
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16372
shlibpath_var=LD_LIBRARY_PATH
16374
# With GCC up to 2.95.x, collect2 would create an import file
16375
# for dependence libraries. The import file would start with
16376
# the line `#! .'. This would cause the generated library to
16377
# depend on `.', always an invalid library. This was fixed in
16378
# development snapshots of GCC prior to 3.0.
16380
aix4 | aix4.[01] | aix4.[01].*)
16381
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16383
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16386
can_build_shared=no
16390
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16391
# soname into executable. Probably we can add versioning support to
16392
# collect2, so additional links can be useful in future.
16393
if test "$aix_use_runtimelinking" = yes; then
16394
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16395
# instead of lib<name>.a to let people know that these are not
16396
# typical AIX shared libraries.
16397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16399
# We preserve .a as extension for shared libraries through AIX4.2
16400
# and later when we are not doing run time linking.
16401
library_names_spec='${libname}${release}.a $libname.a'
16402
soname_spec='${libname}${release}${shared_ext}$major'
16404
shlibpath_var=LIBPATH
16409
library_names_spec='$libname.ixlibrary $libname.a'
16410
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16411
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\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'
16415
library_names_spec='${libname}${shared_ext}'
16416
dynamic_linker="$host_os ld.so"
16417
shlibpath_var=LIBRARY_PATH
16423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16424
soname_spec='${libname}${release}${shared_ext}$major'
16425
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16426
shlibpath_var=LD_LIBRARY_PATH
16427
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16428
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16429
# the default ld.so.conf also contains /usr/contrib/lib and
16430
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16431
# libtool to hard-code these into programs
16434
cygwin* | mingw* | pw32*)
16435
version_type=windows
16440
case $GCC,$host_os in
16441
yes,cygwin* | yes,mingw* | yes,pw32*)
16442
library_names_spec='$libname.dll.a'
16443
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16444
postinstall_cmds='base_file=`basename \${file}`~
16445
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16446
dldir=$destdir/`dirname \$dlpath`~
16447
test -d \$dldir || mkdir -p \$dldir~
16448
$install_prog $dir/$dlname \$dldir/$dlname~
16449
chmod a+x \$dldir/$dlname'
16450
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16451
dlpath=$dir/\$dldll~
16453
shlibpath_overrides_runpath=yes
16457
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16458
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16459
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16462
# MinGW DLLs use traditional 'lib' prefix
16463
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16464
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16465
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16466
# It is most probably a Windows format PATH printed by
16467
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16468
# path with ; separators, and with drive letters. We can handle the
16469
# drive letters (cygwin fileutils understands them), so leave them,
16470
# especially as we might pass files found there to a mingw objdump,
16471
# which wouldn't understand a cygwinified path. Ahh.
16472
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16474
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16478
# pw32 DLLs use 'pw' prefix rather than 'lib'
16479
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16485
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16488
dynamic_linker='Win32 ld.exe'
16489
# FIXME: first we should search . and the directory the executable is in
16493
darwin* | rhapsody*)
16494
dynamic_linker="$host_os dyld"
16495
version_type=darwin
16498
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16499
soname_spec='${libname}${release}${major}$shared_ext'
16500
shlibpath_overrides_runpath=yes
16501
shlibpath_var=DYLD_LIBRARY_PATH
16502
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16504
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16511
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16512
soname_spec='${libname}${release}${shared_ext}$major'
16513
shlibpath_var=LD_LIBRARY_PATH
16520
freebsd* | dragonfly*)
16521
# DragonFly does not have aout. When/if they implement a new
16522
# versioning mechanism, adjust this.
16523
if test -x /usr/bin/objformat; then
16524
objformat=`/usr/bin/objformat`
16527
freebsd[123]*) objformat=aout ;;
16528
*) objformat=elf ;;
16531
version_type=freebsd-$objformat
16532
case $version_type in
16534
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16539
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16543
shlibpath_var=LD_LIBRARY_PATH
16546
shlibpath_overrides_runpath=yes
16548
freebsd3.[01]* | freebsdelf3.[01]*)
16549
shlibpath_overrides_runpath=yes
16550
hardcode_into_libs=yes
16552
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16553
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16554
shlibpath_overrides_runpath=no
16555
hardcode_into_libs=yes
16557
*) # from 4.6 on, and DragonFly
16558
shlibpath_overrides_runpath=yes
16559
hardcode_into_libs=yes
16568
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16569
soname_spec='${libname}${release}${shared_ext}$major'
16570
shlibpath_var=LD_LIBRARY_PATH
16571
hardcode_into_libs=yes
16574
hpux9* | hpux10* | hpux11*)
16575
# Give a soname corresponding to the major version so that dld.sl refuses to
16576
# link against other versions.
16583
hardcode_into_libs=yes
16584
dynamic_linker="$host_os dld.so"
16585
shlibpath_var=LD_LIBRARY_PATH
16586
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16587
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16588
soname_spec='${libname}${release}${shared_ext}$major'
16589
if test "X$HPUX_IA64_MODE" = X32; then
16590
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16592
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16594
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16598
hardcode_into_libs=yes
16599
dynamic_linker="$host_os dld.sl"
16600
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16601
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16602
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603
soname_spec='${libname}${release}${shared_ext}$major'
16604
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16605
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16609
dynamic_linker="$host_os dld.sl"
16610
shlibpath_var=SHLIB_PATH
16611
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16612
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16613
soname_spec='${libname}${release}${shared_ext}$major'
16616
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16617
postinstall_cmds='chmod 555 $lib'
16624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16625
soname_spec='${libname}${release}${shared_ext}$major'
16626
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16627
shlibpath_var=LD_LIBRARY_PATH
16628
shlibpath_overrides_runpath=no
16629
hardcode_into_libs=yes
16632
irix5* | irix6* | nonstopux*)
16634
nonstopux*) version_type=nonstopux ;;
16636
if test "$lt_cv_prog_gnu_ld" = yes; then
16644
soname_spec='${libname}${release}${shared_ext}$major'
16645
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16647
irix5* | nonstopux*)
16648
libsuff= shlibsuff=
16651
case $LD in # libtool.m4 will add one of these switches to LD
16652
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16653
libsuff= shlibsuff= libmagic=32-bit;;
16654
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16655
libsuff=32 shlibsuff=N32 libmagic=N32;;
16656
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16657
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16658
*) libsuff= shlibsuff= libmagic=never-match;;
16662
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16663
shlibpath_overrides_runpath=no
16664
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16665
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16666
hardcode_into_libs=yes
16669
# No shared lib support for Linux oldld, aout, or coff.
16670
linux*oldld* | linux*aout* | linux*coff*)
16674
# This must be Linux ELF.
16675
linux* | k*bsd*-gnu)
16679
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16680
soname_spec='${libname}${release}${shared_ext}$major'
16681
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16682
shlibpath_var=LD_LIBRARY_PATH
16683
shlibpath_overrides_runpath=no
16684
# This implies no fast_install, which is unacceptable.
16685
# Some rework will be needed to allow for fast_install
16686
# before this can be enabled.
16687
hardcode_into_libs=yes
16689
# Append ld.so.conf contents to the search path
16690
if test -f /etc/ld.so.conf; then
16691
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 '\n' ' '`
16692
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16695
# We used to test for /lib/ld.so.1 and disable shared libraries on
16696
# powerpc, because MkLinux only supported shared libraries with the
16697
# GNU dynamic linker. Since this was broken with cross compilers,
16698
# most powerpc-linux boxes support dynamic linking these days and
16699
# people can always --disable-shared, the test was removed, and we
16700
# assume the GNU/Linux dynamic linker is in use.
16701
dynamic_linker='GNU/Linux ld.so'
16708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16709
soname_spec='${libname}${release}${shared_ext}$major'
16710
shlibpath_var=LD_LIBRARY_PATH
16711
shlibpath_overrides_runpath=no
16712
hardcode_into_libs=yes
16713
dynamic_linker='NetBSD ld.elf_so'
16720
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16721
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16722
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16723
dynamic_linker='NetBSD (a.out) ld.so'
16725
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16726
soname_spec='${libname}${release}${shared_ext}$major'
16727
dynamic_linker='NetBSD ld.elf_so'
16729
shlibpath_var=LD_LIBRARY_PATH
16730
shlibpath_overrides_runpath=yes
16731
hardcode_into_libs=yes
16736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16737
shlibpath_var=LD_LIBRARY_PATH
16738
shlibpath_overrides_runpath=yes
16745
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16746
soname_spec='${libname}${release}${shared_ext}$major'
16747
shlibpath_var=LD_LIBRARY_PATH
16748
shlibpath_overrides_runpath=yes
16753
sys_lib_dlsearch_path_spec="/usr/lib"
16755
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16757
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16758
*) need_version=no ;;
16760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16761
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16762
shlibpath_var=LD_LIBRARY_PATH
16763
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16765
openbsd2.[89] | openbsd2.[89].*)
16766
shlibpath_overrides_runpath=no
16769
shlibpath_overrides_runpath=yes
16773
shlibpath_overrides_runpath=yes
16778
libname_spec='$name'
16781
library_names_spec='$libname${shared_ext} $libname.a'
16782
dynamic_linker='OS/2 ld.exe'
16783
shlibpath_var=LIBPATH
16786
osf3* | osf4* | osf5*)
16790
soname_spec='${libname}${release}${shared_ext}$major'
16791
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16792
shlibpath_var=LD_LIBRARY_PATH
16793
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16794
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806
soname_spec='${libname}${release}${shared_ext}$major'
16807
shlibpath_var=LD_LIBRARY_PATH
16808
shlibpath_overrides_runpath=yes
16809
hardcode_into_libs=yes
16810
# ldd complains unless libraries are executable
16811
postinstall_cmds='chmod +x $lib'
16816
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16817
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16818
shlibpath_var=LD_LIBRARY_PATH
16819
shlibpath_overrides_runpath=yes
16820
if test "$with_gnu_ld" = yes; then
16828
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16829
soname_spec='${libname}${release}${shared_ext}$major'
16830
shlibpath_var=LD_LIBRARY_PATH
16831
case $host_vendor in
16833
shlibpath_overrides_runpath=no
16835
export_dynamic_flag_spec='${wl}-Blargedynsym'
16836
runpath_var=LD_RUN_PATH
16844
shlibpath_overrides_runpath=no
16845
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16851
if test -d /usr/nec ;then
16853
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16854
soname_spec='$libname${shared_ext}.$major'
16855
shlibpath_var=LD_LIBRARY_PATH
16859
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16860
version_type=freebsd-elf
16863
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16864
soname_spec='${libname}${release}${shared_ext}$major'
16865
shlibpath_var=LD_LIBRARY_PATH
16866
hardcode_into_libs=yes
16867
if test "$with_gnu_ld" = yes; then
16868
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16869
shlibpath_overrides_runpath=no
16871
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16872
shlibpath_overrides_runpath=yes
16875
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16879
sys_lib_dlsearch_path_spec='/usr/lib'
16884
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885
soname_spec='${libname}${release}${shared_ext}$major'
16886
shlibpath_var=LD_LIBRARY_PATH
16893
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16894
echo "${ECHO_T}$dynamic_linker" >&6; }
16895
test "$dynamic_linker" = no && can_build_shared=no
16897
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16898
if test "$GCC" = yes; then
16899
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16902
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16903
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16904
hardcode_action_F77=
16905
if test -n "$hardcode_libdir_flag_spec_F77" || \
16906
test -n "$runpath_var_F77" || \
16907
test "X$hardcode_automatic_F77" = "Xyes" ; then
16909
# We can hardcode non-existant directories.
16910
if test "$hardcode_direct_F77" != no &&
16911
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16912
# have to relink, otherwise we might link with an installed library
16913
# when we should be linking with a yet-to-be-installed one
16914
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16915
test "$hardcode_minus_L_F77" != no; then
16916
# Linking always hardcodes the temporary library directory.
16917
hardcode_action_F77=relink
16919
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16920
hardcode_action_F77=immediate
16923
# We cannot hardcode anything, or else we can only hardcode existing
16925
hardcode_action_F77=unsupported
16927
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16928
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16930
if test "$hardcode_action_F77" = relink; then
16931
# Fast installation is not supported
16932
enable_fast_install=no
16933
elif test "$shlibpath_overrides_runpath" = yes ||
16934
test "$enable_shared" = no; then
16935
# Fast installation is not necessary
16936
enable_fast_install=needless
16940
# The else clause should only fire when bootstrapping the
16941
# libtool distribution, otherwise you forgot to ship ltmain.sh
16942
# with your package, and you will get complaints that there are
16943
# no rules to generate ltmain.sh.
16944
if test -f "$ltmain"; then
16945
# See if we are running on zsh, and set the options which allow our commands through
16946
# without removal of \ escapes.
16947
if test -n "${ZSH_VERSION+set}" ; then
16948
setopt NO_GLOB_SUBST
16950
# Now quote all the things that may contain metacharacters while being
16951
# careful not to overquote the AC_SUBSTed values. We take copies of the
16952
# variables and quote the copies for generation of the libtool script.
16953
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16955
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16956
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16957
deplibs_check_method reload_flag reload_cmds need_locks \
16958
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16959
lt_cv_sys_global_symbol_to_c_name_address \
16960
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16961
old_postinstall_cmds old_postuninstall_cmds \
16965
lt_prog_compiler_wl_F77 \
16966
lt_prog_compiler_pic_F77 \
16967
lt_prog_compiler_static_F77 \
16968
lt_prog_compiler_no_builtin_flag_F77 \
16969
export_dynamic_flag_spec_F77 \
16970
thread_safe_flag_spec_F77 \
16971
whole_archive_flag_spec_F77 \
16972
enable_shared_with_static_runtimes_F77 \
16973
old_archive_cmds_F77 \
16974
old_archive_from_new_cmds_F77 \
16975
predep_objects_F77 \
16976
postdep_objects_F77 \
16979
compiler_lib_search_path_F77 \
16981
archive_expsym_cmds_F77 \
16982
postinstall_cmds_F77 \
16983
postuninstall_cmds_F77 \
16984
old_archive_from_expsyms_cmds_F77 \
16985
allow_undefined_flag_F77 \
16986
no_undefined_flag_F77 \
16987
export_symbols_cmds_F77 \
16988
hardcode_libdir_flag_spec_F77 \
16989
hardcode_libdir_flag_spec_ld_F77 \
16990
hardcode_libdir_separator_F77 \
16991
hardcode_automatic_F77 \
16993
module_expsym_cmds_F77 \
16994
lt_cv_prog_compiler_c_o_F77 \
16995
fix_srcfile_path_F77 \
16996
exclude_expsyms_F77 \
16997
include_expsyms_F77; do
17000
old_archive_cmds_F77 | \
17001
old_archive_from_new_cmds_F77 | \
17002
archive_cmds_F77 | \
17003
archive_expsym_cmds_F77 | \
17004
module_cmds_F77 | \
17005
module_expsym_cmds_F77 | \
17006
old_archive_from_expsyms_cmds_F77 | \
17007
export_symbols_cmds_F77 | \
17008
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17009
postinstall_cmds | postuninstall_cmds | \
17010
old_postinstall_cmds | old_postuninstall_cmds | \
17011
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17012
# Double-quote double-evaled strings.
17013
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17016
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17022
*'\$0 --fallback-echo"')
17023
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17029
cat <<__EOF__ >> "$cfgfile"
17030
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17032
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17034
# Shell to use when invoking shell scripts.
17037
# Whether or not to build shared libraries.
17038
build_libtool_libs=$enable_shared
17040
# Whether or not to build static libraries.
17041
build_old_libs=$enable_static
17043
# Whether or not to add -lc for building shared libraries.
17044
build_libtool_need_lc=$archive_cmds_need_lc_F77
17046
# Whether or not to disallow shared libs when runtime libs are static
17047
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17049
# Whether or not to optimize for fast installation.
17050
fast_install=$enable_fast_install
17053
host_alias=$host_alias
17057
# The build system.
17058
build_alias=$build_alias
17062
# An echo program that does not interpret backslashes.
17067
AR_FLAGS=$lt_AR_FLAGS
17072
# LTCC compiler flags.
17073
LTCFLAGS=$lt_LTCFLAGS
17075
# A language-specific compiler.
17076
CC=$lt_compiler_F77
17078
# Is the compiler the GNU C compiler?
17084
# The linker used to build libraries.
17087
# Whether we need hard or soft links.
17090
# A BSD-compatible nm program.
17093
# A symbol stripping program
17096
# Used to examine libraries when file_magic_cmd begins "file"
17097
MAGIC_CMD=$MAGIC_CMD
17099
# Used on cygwin: DLL creation program.
17102
# Used on cygwin: object dumper.
17105
# Used on cygwin: assembler.
17108
# The name of the directory that contains temporary libtool files.
17111
# How to create reloadable object files.
17112
reload_flag=$lt_reload_flag
17113
reload_cmds=$lt_reload_cmds
17115
# How to pass a linker flag through the compiler.
17116
wl=$lt_lt_prog_compiler_wl_F77
17118
# Object file suffix (normally "o").
17119
objext="$ac_objext"
17121
# Old archive suffix (normally "a").
17124
# Shared library suffix (normally ".so").
17125
shrext_cmds='$shrext_cmds'
17127
# Executable file suffix (normally "").
17130
# Additional compiler flags for building library objects.
17131
pic_flag=$lt_lt_prog_compiler_pic_F77
17134
# What is the maximum length of a command?
17135
max_cmd_len=$lt_cv_sys_max_cmd_len
17137
# Does compiler simultaneously support -c and -o options?
17138
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17140
# Must we lock files when doing compilation?
17141
need_locks=$lt_need_locks
17143
# Do we need the lib prefix for modules?
17144
need_lib_prefix=$need_lib_prefix
17146
# Do we need a version for libraries?
17147
need_version=$need_version
17149
# Whether dlopen is supported.
17150
dlopen_support=$enable_dlopen
17152
# Whether dlopen of programs is supported.
17153
dlopen_self=$enable_dlopen_self
17155
# Whether dlopen of statically linked programs is supported.
17156
dlopen_self_static=$enable_dlopen_self_static
17158
# Compiler flag to prevent dynamic linking.
17159
link_static_flag=$lt_lt_prog_compiler_static_F77
17161
# Compiler flag to turn off builtin functions.
17162
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17164
# Compiler flag to allow reflexive dlopens.
17165
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17167
# Compiler flag to generate shared objects directly from archives.
17168
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17170
# Compiler flag to generate thread-safe objects.
17171
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17173
# Library versioning type.
17174
version_type=$version_type
17176
# Format of library name prefix.
17177
libname_spec=$lt_libname_spec
17179
# List of archive names. First name is the real one, the rest are links.
17180
# The last name is the one that the linker finds with -lNAME.
17181
library_names_spec=$lt_library_names_spec
17183
# The coded name of the library, if different from the real name.
17184
soname_spec=$lt_soname_spec
17186
# Commands used to build and install an old-style archive.
17188
old_archive_cmds=$lt_old_archive_cmds_F77
17189
old_postinstall_cmds=$lt_old_postinstall_cmds
17190
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17192
# Create an old-style archive from a shared archive.
17193
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17195
# Create a temporary old-style archive to link instead of a shared archive.
17196
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17198
# Commands used to build and install a shared archive.
17199
archive_cmds=$lt_archive_cmds_F77
17200
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17201
postinstall_cmds=$lt_postinstall_cmds
17202
postuninstall_cmds=$lt_postuninstall_cmds
17204
# Commands used to build a loadable module (assumed same as above if empty)
17205
module_cmds=$lt_module_cmds_F77
17206
module_expsym_cmds=$lt_module_expsym_cmds_F77
17208
# Commands to strip libraries.
17209
old_striplib=$lt_old_striplib
17210
striplib=$lt_striplib
17212
# Dependencies to place before the objects being linked to create a
17214
predep_objects=$lt_predep_objects_F77
17216
# Dependencies to place after the objects being linked to create a
17218
postdep_objects=$lt_postdep_objects_F77
17220
# Dependencies to place before the objects being linked to create a
17222
predeps=$lt_predeps_F77
17224
# Dependencies to place after the objects being linked to create a
17226
postdeps=$lt_postdeps_F77
17228
# The library search path used internally by the compiler when linking
17229
# a shared library.
17230
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17232
# Method to check whether dependent libraries are shared objects.
17233
deplibs_check_method=$lt_deplibs_check_method
17235
# Command to use when deplibs_check_method == file_magic.
17236
file_magic_cmd=$lt_file_magic_cmd
17238
# Flag that allows shared libraries with undefined symbols to be built.
17239
allow_undefined_flag=$lt_allow_undefined_flag_F77
17241
# Flag that forces no undefined symbols.
17242
no_undefined_flag=$lt_no_undefined_flag_F77
17244
# Commands used to finish a libtool library installation in a directory.
17245
finish_cmds=$lt_finish_cmds
17247
# Same as above, but a single script fragment to be evaled but not shown.
17248
finish_eval=$lt_finish_eval
17250
# Take the output of nm and produce a listing of raw symbols and C names.
17251
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17253
# Transform the output of nm in a proper C declaration
17254
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17256
# Transform the output of nm in a C name address pair
17257
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17259
# This is the shared library runtime path variable.
17260
runpath_var=$runpath_var
17262
# This is the shared library path variable.
17263
shlibpath_var=$shlibpath_var
17265
# Is shlibpath searched before the hard-coded library search path?
17266
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17268
# How to hardcode a shared library path into an executable.
17269
hardcode_action=$hardcode_action_F77
17271
# Whether we should hardcode library paths into libraries.
17272
hardcode_into_libs=$hardcode_into_libs
17274
# Flag to hardcode \$libdir into a binary during linking.
17275
# This must work even if \$libdir does not exist.
17276
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17278
# If ld is used when linking, flag to hardcode \$libdir into
17279
# a binary during linking. This must work even if \$libdir does
17281
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17283
# Whether we need a single -rpath flag with a separated argument.
17284
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17286
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17287
# resulting binary.
17288
hardcode_direct=$hardcode_direct_F77
17290
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17291
# resulting binary.
17292
hardcode_minus_L=$hardcode_minus_L_F77
17294
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17295
# the resulting binary.
17296
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17298
# Set to yes if building a shared library automatically hardcodes DIR into the library
17299
# and all subsequent libraries and executables linked against it.
17300
hardcode_automatic=$hardcode_automatic_F77
17302
# Variables whose values should be saved in libtool wrapper scripts and
17303
# restored at relink time.
17304
variables_saved_for_relink="$variables_saved_for_relink"
17306
# Whether libtool must link a program against all its dependency libraries.
17307
link_all_deplibs=$link_all_deplibs_F77
17309
# Compile-time system search path for libraries
17310
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17312
# Run-time system search path for libraries
17313
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17315
# Fix the shell variable \$srcfile for the compiler.
17316
fix_srcfile_path=$lt_fix_srcfile_path
17318
# Set to yes if exported symbols are required.
17319
always_export_symbols=$always_export_symbols_F77
17321
# The commands to list exported symbols.
17322
export_symbols_cmds=$lt_export_symbols_cmds_F77
17324
# The commands to extract the exported symbol list from a shared archive.
17325
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17327
# Symbols that should not be listed in the preloaded symbols.
17328
exclude_expsyms=$lt_exclude_expsyms_F77
17330
# Symbols that must always be exported.
17331
include_expsyms=$lt_include_expsyms_F77
17333
# ### END LIBTOOL TAG CONFIG: $tagname
17339
# If there is no Makefile yet, we rely on a make rule to execute
17340
# `config.status --recheck' to rerun these tests and create the
17341
# libtool script then.
17342
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17343
if test -f "$ltmain_in"; then
17344
test -f Makefile && make "$ltmain"
17350
ac_cpp='$CPP $CPPFLAGS'
17351
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17363
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17366
# Source file extension for Java test sources.
17369
# Object file extension for compiled Java test sources.
17373
# Code to be used in simple compile tests
17374
lt_simple_compile_test_code="class foo {}"
17376
# Code to be used in simple link tests
17377
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17379
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17381
# If no C compiler was specified, use CC.
17384
# If no C compiler flags were specified, use CFLAGS.
17385
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17387
# Allow CC to be a program name with arguments.
17391
# save warnings/boilerplate of simple test code
17392
ac_outfile=conftest.$ac_objext
17393
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17394
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17395
_lt_compiler_boilerplate=`cat conftest.err`
17398
ac_outfile=conftest.$ac_objext
17399
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17400
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17401
_lt_linker_boilerplate=`cat conftest.err`
17405
# Allow CC to be a program name with arguments.
17410
for cc_temp in $compiler""; do
17412
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17413
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17418
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17421
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17422
archive_cmds_need_lc_GCJ=no
17424
old_archive_cmds_GCJ=$old_archive_cmds
17427
lt_prog_compiler_no_builtin_flag_GCJ=
17429
if test "$GCC" = yes; then
17430
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17433
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17434
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17435
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17436
echo $ECHO_N "(cached) $ECHO_C" >&6
17438
lt_cv_prog_compiler_rtti_exceptions=no
17439
ac_outfile=conftest.$ac_objext
17440
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17441
lt_compiler_flag="-fno-rtti -fno-exceptions"
17442
# Insert the option either (1) after the last *FLAGS variable, or
17443
# (2) before a word containing "conftest.", or (3) at the end.
17444
# Note that $ac_compile itself does not contain backslashes and begins
17445
# with a dollar sign (not a hyphen), so the echo should work correctly.
17446
# The option is referenced via a variable to avoid confusing sed.
17447
lt_compile=`echo "$ac_compile" | $SED \
17448
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17449
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17450
-e 's:$: $lt_compiler_flag:'`
17451
(eval echo "\"\$as_me:17451: $lt_compile\"" >&5)
17452
(eval "$lt_compile" 2>conftest.err)
17454
cat conftest.err >&5
17455
echo "$as_me:17455: \$? = $ac_status" >&5
17456
if (exit $ac_status) && test -s "$ac_outfile"; then
17457
# The compiler can only warn and ignore the option if not recognized
17458
# So say no if there are warnings other than the usual output.
17459
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17460
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17461
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17462
lt_cv_prog_compiler_rtti_exceptions=yes
17468
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17469
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17471
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17472
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17479
lt_prog_compiler_wl_GCJ=
17480
lt_prog_compiler_pic_GCJ=
17481
lt_prog_compiler_static_GCJ=
17483
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17484
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17486
if test "$GCC" = yes; then
17487
lt_prog_compiler_wl_GCJ='-Wl,'
17488
lt_prog_compiler_static_GCJ='-static'
17492
# All AIX code is PIC.
17493
if test "$host_cpu" = ia64; then
17494
# AIX 5 now supports IA64 processor
17495
lt_prog_compiler_static_GCJ='-Bstatic'
17500
# FIXME: we need at least 68020 code to build shared libraries, but
17501
# adding the `-m68020' flag to GCC prevents building anything better,
17503
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17506
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17507
# PIC is the default for these OSes.
17510
mingw* | cygwin* | pw32* | os2*)
17511
# This hack is so that the source file can tell whether it is being
17512
# built for inclusion in a dll (and should export symbols for example).
17513
# Although the cygwin gcc ignores -fPIC, still need this for old-style
17514
# (--disable-auto-import) libraries
17515
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17518
darwin* | rhapsody*)
17519
# PIC is the default on this platform
17520
# Common symbols not allowed in MH_DYLIB files
17521
lt_prog_compiler_pic_GCJ='-fno-common'
17525
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
17526
# Instead, we relocate shared libraries at runtime.
17530
# Just because we use GCC doesn't mean we suddenly get shared libraries
17531
# on systems that don't support them.
17532
lt_prog_compiler_can_build_shared_GCJ=no
17537
if test -d /usr/nec; then
17538
lt_prog_compiler_pic_GCJ=-Kconform_pic
17543
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17544
# not for PA HP-UX.
17550
lt_prog_compiler_pic_GCJ='-fPIC'
17556
lt_prog_compiler_pic_GCJ='-fPIC'
17560
# PORTME Check for flag to pass linker flags through the system compiler.
17563
lt_prog_compiler_wl_GCJ='-Wl,'
17564
if test "$host_cpu" = ia64; then
17565
# AIX 5 now supports IA64 processor
17566
lt_prog_compiler_static_GCJ='-Bstatic'
17568
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17572
# PIC is the default on this platform
17573
# Common symbols not allowed in MH_DYLIB files
17574
case $cc_basename in
17576
lt_prog_compiler_pic_GCJ='-qnocommon'
17577
lt_prog_compiler_wl_GCJ='-Wl,'
17582
mingw* | cygwin* | pw32* | os2*)
17583
# This hack is so that the source file can tell whether it is being
17584
# built for inclusion in a dll (and should export symbols for example).
17585
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17588
hpux9* | hpux10* | hpux11*)
17589
lt_prog_compiler_wl_GCJ='-Wl,'
17590
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17591
# not for PA HP-UX.
17597
lt_prog_compiler_pic_GCJ='+Z'
17600
# Is there a better lt_prog_compiler_static that works with the bundled CC?
17601
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17604
irix5* | irix6* | nonstopux*)
17605
lt_prog_compiler_wl_GCJ='-Wl,'
17606
# PIC (with -KPIC) is the default.
17607
lt_prog_compiler_static_GCJ='-non_shared'
17611
lt_prog_compiler_pic_GCJ='-KPIC'
17612
lt_prog_compiler_static_GCJ='-Bstatic'
17615
linux* | k*bsd*-gnu)
17616
case $cc_basename in
17618
lt_prog_compiler_wl_GCJ='-Wl,'
17619
lt_prog_compiler_pic_GCJ='-KPIC'
17620
lt_prog_compiler_static_GCJ='-static'
17622
pgcc* | pgf77* | pgf90* | pgf95*)
17623
# Portland Group compilers (*not* the Pentium gcc compiler,
17624
# which looks to be a dead project)
17625
lt_prog_compiler_wl_GCJ='-Wl,'
17626
lt_prog_compiler_pic_GCJ='-fpic'
17627
lt_prog_compiler_static_GCJ='-Bstatic'
17630
lt_prog_compiler_wl_GCJ='-Wl,'
17631
# All Alpha code is PIC.
17632
lt_prog_compiler_static_GCJ='-non_shared'
17635
case `$CC -V 2>&1 | sed 5q` in
17638
lt_prog_compiler_pic_GCJ='-KPIC'
17639
lt_prog_compiler_static_GCJ='-Bstatic'
17640
lt_prog_compiler_wl_GCJ='-Wl,'
17643
# Sun Fortran 8.3 passes all unrecognized flags to the linker
17644
lt_prog_compiler_pic_GCJ='-KPIC'
17645
lt_prog_compiler_static_GCJ='-Bstatic'
17646
lt_prog_compiler_wl_GCJ=''
17653
osf3* | osf4* | osf5*)
17654
lt_prog_compiler_wl_GCJ='-Wl,'
17655
# All OSF/1 code is PIC.
17656
lt_prog_compiler_static_GCJ='-non_shared'
17660
lt_prog_compiler_static_GCJ='-non_shared'
17664
lt_prog_compiler_pic_GCJ='-KPIC'
17665
lt_prog_compiler_static_GCJ='-Bstatic'
17666
case $cc_basename in
17667
f77* | f90* | f95*)
17668
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17670
lt_prog_compiler_wl_GCJ='-Wl,';;
17675
lt_prog_compiler_wl_GCJ='-Qoption ld '
17676
lt_prog_compiler_pic_GCJ='-PIC'
17677
lt_prog_compiler_static_GCJ='-Bstatic'
17680
sysv4 | sysv4.2uw2* | sysv4.3*)
17681
lt_prog_compiler_wl_GCJ='-Wl,'
17682
lt_prog_compiler_pic_GCJ='-KPIC'
17683
lt_prog_compiler_static_GCJ='-Bstatic'
17687
if test -d /usr/nec ;then
17688
lt_prog_compiler_pic_GCJ='-Kconform_pic'
17689
lt_prog_compiler_static_GCJ='-Bstatic'
17693
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17694
lt_prog_compiler_wl_GCJ='-Wl,'
17695
lt_prog_compiler_pic_GCJ='-KPIC'
17696
lt_prog_compiler_static_GCJ='-Bstatic'
17700
lt_prog_compiler_wl_GCJ='-Wl,'
17701
lt_prog_compiler_can_build_shared_GCJ=no
17705
lt_prog_compiler_pic_GCJ='-pic'
17706
lt_prog_compiler_static_GCJ='-Bstatic'
17710
lt_prog_compiler_can_build_shared_GCJ=no
17715
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17716
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17719
# Check to make sure the PIC flag actually works.
17721
if test -n "$lt_prog_compiler_pic_GCJ"; then
17723
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17724
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17725
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17726
echo $ECHO_N "(cached) $ECHO_C" >&6
17728
lt_prog_compiler_pic_works_GCJ=no
17729
ac_outfile=conftest.$ac_objext
17730
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17731
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17732
# Insert the option either (1) after the last *FLAGS variable, or
17733
# (2) before a word containing "conftest.", or (3) at the end.
17734
# Note that $ac_compile itself does not contain backslashes and begins
17735
# with a dollar sign (not a hyphen), so the echo should work correctly.
17736
# The option is referenced via a variable to avoid confusing sed.
17737
lt_compile=`echo "$ac_compile" | $SED \
17738
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17739
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17740
-e 's:$: $lt_compiler_flag:'`
17741
(eval echo "\"\$as_me:17741: $lt_compile\"" >&5)
17742
(eval "$lt_compile" 2>conftest.err)
17744
cat conftest.err >&5
17745
echo "$as_me:17745: \$? = $ac_status" >&5
17746
if (exit $ac_status) && test -s "$ac_outfile"; then
17747
# The compiler can only warn and ignore the option if not recognized
17748
# So say no if there are warnings other than the usual output.
17749
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17750
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17751
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17752
lt_prog_compiler_pic_works_GCJ=yes
17758
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17759
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17761
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17762
case $lt_prog_compiler_pic_GCJ in
17764
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17767
lt_prog_compiler_pic_GCJ=
17768
lt_prog_compiler_can_build_shared_GCJ=no
17773
# For platforms which do not support PIC, -DPIC is meaningless:
17775
lt_prog_compiler_pic_GCJ=
17778
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17783
# Check to make sure the static flag actually works.
17785
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17786
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17787
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17788
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17789
echo $ECHO_N "(cached) $ECHO_C" >&6
17791
lt_prog_compiler_static_works_GCJ=no
17792
save_LDFLAGS="$LDFLAGS"
17793
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17794
echo "$lt_simple_link_test_code" > conftest.$ac_ext
17795
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17796
# The linker can only warn and ignore the option if not recognized
17797
# So say no if there are warnings
17798
if test -s conftest.err; then
17799
# Append any errors to the config.log.
17800
cat conftest.err 1>&5
17801
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17802
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17803
if diff conftest.exp conftest.er2 >/dev/null; then
17804
lt_prog_compiler_static_works_GCJ=yes
17807
lt_prog_compiler_static_works_GCJ=yes
17811
LDFLAGS="$save_LDFLAGS"
17814
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17815
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17817
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17820
lt_prog_compiler_static_GCJ=
17824
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17825
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17826
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17827
echo $ECHO_N "(cached) $ECHO_C" >&6
17829
lt_cv_prog_compiler_c_o_GCJ=no
17830
$rm -r conftest 2>/dev/null
17834
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17836
lt_compiler_flag="-o out/conftest2.$ac_objext"
17837
# Insert the option either (1) after the last *FLAGS variable, or
17838
# (2) before a word containing "conftest.", or (3) at the end.
17839
# Note that $ac_compile itself does not contain backslashes and begins
17840
# with a dollar sign (not a hyphen), so the echo should work correctly.
17841
lt_compile=`echo "$ac_compile" | $SED \
17842
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17843
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17844
-e 's:$: $lt_compiler_flag:'`
17845
(eval echo "\"\$as_me:17845: $lt_compile\"" >&5)
17846
(eval "$lt_compile" 2>out/conftest.err)
17848
cat out/conftest.err >&5
17849
echo "$as_me:17849: \$? = $ac_status" >&5
17850
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17852
# The compiler can only warn and ignore the option if not recognized
17853
# So say no if there are warnings
17854
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17855
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17856
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17857
lt_cv_prog_compiler_c_o_GCJ=yes
17862
# SGI C++ compiler will create directory out/ii_files/ for
17863
# template instantiation
17864
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17865
$rm out/* && rmdir out
17871
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17872
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17875
hard_links="nottested"
17876
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17877
# do not overwrite the value of need_locks provided by the user
17878
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17879
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17882
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17884
ln conftest.a conftest.b 2>&5 || hard_links=no
17885
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17886
{ echo "$as_me:$LINENO: result: $hard_links" >&5
17887
echo "${ECHO_T}$hard_links" >&6; }
17888
if test "$hard_links" = no; then
17889
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17890
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17897
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17898
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17901
allow_undefined_flag_GCJ=
17902
enable_shared_with_static_runtimes_GCJ=no
17904
archive_expsym_cmds_GCJ=
17905
old_archive_From_new_cmds_GCJ=
17906
old_archive_from_expsyms_cmds_GCJ=
17907
export_dynamic_flag_spec_GCJ=
17908
whole_archive_flag_spec_GCJ=
17909
thread_safe_flag_spec_GCJ=
17910
hardcode_libdir_flag_spec_GCJ=
17911
hardcode_libdir_flag_spec_ld_GCJ=
17912
hardcode_libdir_separator_GCJ=
17913
hardcode_direct_GCJ=no
17914
hardcode_minus_L_GCJ=no
17915
hardcode_shlibpath_var_GCJ=unsupported
17916
link_all_deplibs_GCJ=unknown
17917
hardcode_automatic_GCJ=no
17919
module_expsym_cmds_GCJ=
17920
always_export_symbols_GCJ=no
17921
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17922
# include_expsyms should be a list of space-separated symbols to be *always*
17923
# included in the symbol list
17924
include_expsyms_GCJ=
17925
# exclude_expsyms can be an extended regexp of symbols to exclude
17926
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17927
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17928
# as well as any symbol that contains `d'.
17929
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17930
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17931
# platforms (ab)use it in PIC code, but their linkers get confused if
17932
# the symbol is explicitly referenced. Since portable code cannot
17933
# rely on this symbol name, it's probably fine to never include it in
17934
# preloaded symbol tables.
17935
extract_expsyms_cmds=
17936
# Just being paranoid about ensuring that cc_basename is set.
17937
for cc_temp in $compiler""; do
17939
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17940
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17945
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17948
cygwin* | mingw* | pw32*)
17949
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17950
# When not using gcc, we currently assume that we are using
17951
# Microsoft Visual C++.
17952
if test "$GCC" != yes; then
17957
# we just hope/assume this is gcc and not c89 (= MSVC++)
17966
if test "$with_gnu_ld" = yes; then
17967
# If archive_cmds runs LD, not CC, wlarc should be empty
17970
# Set some defaults for GNU ld with shared library support. These
17971
# are reset later if shared libraries are not supported. Putting them
17972
# here allows them to be overridden if necessary.
17973
runpath_var=LD_RUN_PATH
17974
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17975
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17976
# ancient GNU ld didn't support --whole-archive et. al.
17977
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17978
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17980
whole_archive_flag_spec_GCJ=
17982
supports_anon_versioning=no
17983
case `$LD -v 2>/dev/null` in
17984
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17985
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17986
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17987
*\ 2.11.*) ;; # other 2.11 versions
17988
*) supports_anon_versioning=yes ;;
17991
# See if GNU ld supports shared libraries.
17993
aix3* | aix4* | aix5*)
17994
# On AIX/PPC, the GNU linker is very broken
17995
if test "$host_cpu" != ia64; then
17999
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18000
*** to be unable to reliably create shared libraries on AIX.
18001
*** Therefore, libtool is disabling shared libraries support. If you
18002
*** really care for shared libraries, you may want to modify your PATH
18003
*** so that a non-GNU linker is found, and then restart.
18010
archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18011
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18012
hardcode_minus_L_GCJ=yes
18014
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18015
# that the semantics of dynamic libraries on AmigaOS, at least up
18016
# to version 4, is to share data among multiple programs linked
18017
# with the same dynamic library. Since this doesn't match the
18018
# behavior of shared libraries on other platforms, we can't use
18024
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18025
allow_undefined_flag_GCJ=unsupported
18026
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18027
# support --undefined. This deserves some investigation. FIXME
18028
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18034
cygwin* | mingw* | pw32*)
18035
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18036
# as there is no search path for DLLs.
18037
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18038
allow_undefined_flag_GCJ=unsupported
18039
always_export_symbols_GCJ=no
18040
enable_shared_with_static_runtimes_GCJ=yes
18041
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18043
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18044
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18045
# If the export-symbols file already is a .def file (1st line
18046
# is EXPORTS), use it as is; otherwise, prepend...
18047
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18048
cp $export_symbols $output_objdir/$soname.def;
18050
echo EXPORTS > $output_objdir/$soname.def;
18051
cat $export_symbols >> $output_objdir/$soname.def;
18053
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18060
hardcode_direct_GCJ=no
18061
hardcode_shlibpath_var_GCJ=no
18062
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18063
export_dynamic_flag_spec_GCJ='${wl}-E'
18064
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18065
# Instead, shared libraries are loaded at an image base (0x10000000 by
18066
# default) and relocated if they conflict, which is a slow very memory
18067
# consuming and fragmenting process. To avoid this, we pick a random,
18068
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18069
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
18070
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18071
archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18074
gnu* | linux* | k*bsd*-gnu)
18075
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18077
case $cc_basename,$host_cpu in
18078
pgcc*) # Portland Group C compiler
18079
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18080
tmp_addflag=' $pic_flag'
18082
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18083
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18084
tmp_addflag=' $pic_flag -Mnomain' ;;
18085
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18086
tmp_addflag=' -i_dynamic' ;;
18087
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18088
tmp_addflag=' -i_dynamic -nofor_main' ;;
18089
ifc* | ifort*) # Intel Fortran compiler
18090
tmp_addflag=' -nofor_main' ;;
18092
case `$CC -V 2>&1 | sed 5q` in
18093
*Sun\ C*) # Sun C 5.9
18094
whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18095
tmp_sharedflag='-G' ;;
18096
*Sun\ F*) # Sun Fortran 8.3
18097
tmp_sharedflag='-G' ;;
18099
tmp_sharedflag='-shared' ;;
18101
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18103
if test $supports_anon_versioning = yes; then
18104
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18105
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18106
$echo "local: *; };" >> $output_objdir/$libname.ver~
18107
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18109
link_all_deplibs_GCJ=no
18115
netbsd* | netbsdelf*-gnu)
18116
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18117
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18120
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18121
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18126
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18130
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18131
*** create shared libraries on Solaris systems. Therefore, libtool
18132
*** is disabling shared libraries support. We urge you to upgrade GNU
18133
*** binutils to release 2.9.1 or newer. Another option is to modify
18134
*** your PATH or compiler configuration so that the native linker is
18135
*** used, and then restart.
18138
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18139
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18140
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18146
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18147
case `$LD -v 2>&1` in
18148
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18152
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18153
*** reliably create shared libraries on SCO systems. Therefore, libtool
18154
*** is disabling shared libraries support. We urge you to upgrade GNU
18155
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18156
*** your PATH or compiler configuration so that the native linker is
18157
*** used, and then restart.
18162
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18163
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18164
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18165
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18174
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18176
hardcode_direct_GCJ=yes
18177
hardcode_shlibpath_var_GCJ=no
18181
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18182
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18183
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18190
if test "$ld_shlibs_GCJ" = no; then
18192
hardcode_libdir_flag_spec_GCJ=
18193
export_dynamic_flag_spec_GCJ=
18194
whole_archive_flag_spec_GCJ=
18197
# PORTME fill in a description of your system's linker (not GNU ld)
18200
allow_undefined_flag_GCJ=unsupported
18201
always_export_symbols_GCJ=yes
18202
archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18203
# Note: this linker hardcodes the directories in LIBPATH if there
18204
# are no directories specified by -L.
18205
hardcode_minus_L_GCJ=yes
18206
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18207
# Neither direct hardcoding nor static linking is supported with a
18209
hardcode_direct_GCJ=unsupported
18214
if test "$host_cpu" = ia64; then
18215
# On IA64, the linker does run time linking by default, so we don't
18216
# have to do anything special.
18217
aix_use_runtimelinking=no
18218
exp_sym_flag='-Bexport'
18221
# If we're using GNU nm, then we don't want the "-C" option.
18222
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18223
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18224
export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18226
export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18228
aix_use_runtimelinking=no
18230
# Test if we are trying to use run time linking or normal
18231
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
18232
# need to do runtime linking.
18233
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18234
for ld_flag in $LDFLAGS; do
18235
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18236
aix_use_runtimelinking=yes
18243
exp_sym_flag='-bexport'
18244
no_entry_flag='-bnoentry'
18247
# When large executables or shared objects are built, AIX ld can
18248
# have problems creating the table of contents. If linking a library
18249
# or program results in "error TOC overflow" add -mminimal-toc to
18250
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18251
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18253
archive_cmds_GCJ=''
18254
hardcode_direct_GCJ=yes
18255
hardcode_libdir_separator_GCJ=':'
18256
link_all_deplibs_GCJ=yes
18258
if test "$GCC" = yes; then
18259
case $host_os in aix4.[012]|aix4.[012].*)
18260
# We only want to do this on AIX 4.2 and lower, the check
18261
# below for broken collect2 doesn't work under 4.3+
18262
collect2name=`${CC} -print-prog-name=collect2`
18263
if test -f "$collect2name" && \
18264
strings "$collect2name" | grep resolve_lib_name >/dev/null
18266
# We have reworked collect2
18269
# We have old collect2
18270
hardcode_direct_GCJ=unsupported
18271
# It fails to find uninstalled libraries when the uninstalled
18272
# path is not listed in the libpath. Setting hardcode_minus_L
18273
# to unsupported forces relinking
18274
hardcode_minus_L_GCJ=yes
18275
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18276
hardcode_libdir_separator_GCJ=
18280
shared_flag='-shared'
18281
if test "$aix_use_runtimelinking" = yes; then
18282
shared_flag="$shared_flag "'${wl}-G'
18286
if test "$host_cpu" = ia64; then
18287
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18288
# chokes on -Wl,-G. The following line is correct:
18291
if test "$aix_use_runtimelinking" = yes; then
18292
shared_flag='${wl}-G'
18294
shared_flag='${wl}-bM:SRE'
18299
# It seems that -bexpall does not export symbols beginning with
18300
# underscore (_), so it is better to generate a list of symbols to export.
18301
always_export_symbols_GCJ=yes
18302
if test "$aix_use_runtimelinking" = yes; then
18303
# Warning - without using the other runtime loading flags (-brtl),
18304
# -berok will link without error, but may produce a broken library.
18305
allow_undefined_flag_GCJ='-berok'
18306
# Determine the default libpath from the value encoded in an empty executable.
18307
cat >conftest.$ac_ext <<_ACEOF
18310
cat confdefs.h >>conftest.$ac_ext
18311
cat >>conftest.$ac_ext <<_ACEOF
18312
/* end confdefs.h. */
18322
rm -f conftest.$ac_objext conftest$ac_exeext
18323
if { (ac_try="$ac_link"
18324
case "(($ac_try" in
18325
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18326
*) ac_try_echo=$ac_try;;
18328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18329
(eval "$ac_link") 2>conftest.er1
18331
grep -v '^ *+' conftest.er1 >conftest.err
18333
cat conftest.err >&5
18334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335
(exit $ac_status); } && {
18336
test -z "$ac_c_werror_flag" ||
18337
test ! -s conftest.err
18338
} && test -s conftest$ac_exeext &&
18339
$as_test_x conftest$ac_exeext; then
18341
lt_aix_libpath_sed='
18342
/Import File Strings/,/^$/ {
18348
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18349
# Check for a 64-bit object if we didn't find anything.
18350
if test -z "$aix_libpath"; then
18351
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18354
echo "$as_me: failed program was:" >&5
18355
sed 's/^/| /' conftest.$ac_ext >&5
18360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18361
conftest$ac_exeext conftest.$ac_ext
18362
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18364
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18365
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18367
if test "$host_cpu" = ia64; then
18368
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18369
allow_undefined_flag_GCJ="-z nodefs"
18370
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18372
# Determine the default libpath from the value encoded in an empty executable.
18373
cat >conftest.$ac_ext <<_ACEOF
18376
cat confdefs.h >>conftest.$ac_ext
18377
cat >>conftest.$ac_ext <<_ACEOF
18378
/* end confdefs.h. */
18388
rm -f conftest.$ac_objext conftest$ac_exeext
18389
if { (ac_try="$ac_link"
18390
case "(($ac_try" in
18391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392
*) ac_try_echo=$ac_try;;
18394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395
(eval "$ac_link") 2>conftest.er1
18397
grep -v '^ *+' conftest.er1 >conftest.err
18399
cat conftest.err >&5
18400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401
(exit $ac_status); } && {
18402
test -z "$ac_c_werror_flag" ||
18403
test ! -s conftest.err
18404
} && test -s conftest$ac_exeext &&
18405
$as_test_x conftest$ac_exeext; then
18407
lt_aix_libpath_sed='
18408
/Import File Strings/,/^$/ {
18414
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18415
# Check for a 64-bit object if we didn't find anything.
18416
if test -z "$aix_libpath"; then
18417
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18420
echo "$as_me: failed program was:" >&5
18421
sed 's/^/| /' conftest.$ac_ext >&5
18426
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18427
conftest$ac_exeext conftest.$ac_ext
18428
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18430
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18431
# Warning - without using the other run time loading flags,
18432
# -berok will link without error, but may produce a broken library.
18433
no_undefined_flag_GCJ=' ${wl}-bernotok'
18434
allow_undefined_flag_GCJ=' ${wl}-berok'
18435
# Exported symbols can be pulled into shared objects from archives
18436
whole_archive_flag_spec_GCJ='$convenience'
18437
archive_cmds_need_lc_GCJ=yes
18438
# This is similar to how AIX traditionally builds its shared libraries.
18439
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18445
archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18446
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18447
hardcode_minus_L_GCJ=yes
18448
# see comment about different semantics on the GNU ld section
18453
export_dynamic_flag_spec_GCJ=-rdynamic
18456
cygwin* | mingw* | pw32*)
18457
# When not using gcc, we currently assume that we are using
18458
# Microsoft Visual C++.
18459
# hardcode_libdir_flag_spec is actually meaningless, as there is
18460
# no search path for DLLs.
18461
hardcode_libdir_flag_spec_GCJ=' '
18462
allow_undefined_flag_GCJ=unsupported
18463
# Tell ltmain to make .lib files, not .a files.
18465
# Tell ltmain to make .dll files, not .so files.
18467
# FIXME: Setting linknames here is a bad hack.
18468
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18469
# The linker will automatically build a .lib file if we build a DLL.
18470
old_archive_From_new_cmds_GCJ='true'
18471
# FIXME: Should let the user specify the lib program.
18472
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18473
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18474
enable_shared_with_static_runtimes_GCJ=yes
18477
darwin* | rhapsody*)
18479
rhapsody* | darwin1.[012])
18480
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18483
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18484
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18486
case ${MACOSX_DEPLOYMENT_TARGET} in
18488
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18491
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18497
archive_cmds_need_lc_GCJ=no
18498
hardcode_direct_GCJ=no
18499
hardcode_automatic_GCJ=yes
18500
hardcode_shlibpath_var_GCJ=unsupported
18501
whole_archive_flag_spec_GCJ=''
18502
link_all_deplibs_GCJ=yes
18503
if test "$GCC" = yes ; then
18504
output_verbose_link_cmd='echo'
18505
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18506
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18507
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18508
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18509
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18511
case $cc_basename in
18513
output_verbose_link_cmd='echo'
18514
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18515
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18516
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18517
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18518
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18528
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18529
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18530
hardcode_shlibpath_var_GCJ=no
18537
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18538
# support. Future versions do this automatically, but an explicit c++rt0.o
18539
# does not break anything, and helps significantly (at the cost of a little
18542
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18543
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18544
hardcode_direct_GCJ=yes
18545
hardcode_shlibpath_var_GCJ=no
18548
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18550
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18551
hardcode_direct_GCJ=yes
18552
hardcode_minus_L_GCJ=yes
18553
hardcode_shlibpath_var_GCJ=no
18556
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18557
freebsd* | dragonfly*)
18558
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18559
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18560
hardcode_direct_GCJ=yes
18561
hardcode_shlibpath_var_GCJ=no
18565
if test "$GCC" = yes; then
18566
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18568
archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18570
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18571
hardcode_libdir_separator_GCJ=:
18572
hardcode_direct_GCJ=yes
18574
# hardcode_minus_L: Not really in the search PATH,
18575
# but as the default location of the library.
18576
hardcode_minus_L_GCJ=yes
18577
export_dynamic_flag_spec_GCJ='${wl}-E'
18581
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18582
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18584
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18586
if test "$with_gnu_ld" = no; then
18587
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18588
hardcode_libdir_separator_GCJ=:
18590
hardcode_direct_GCJ=yes
18591
export_dynamic_flag_spec_GCJ='${wl}-E'
18593
# hardcode_minus_L: Not really in the search PATH,
18594
# but as the default location of the library.
18595
hardcode_minus_L_GCJ=yes
18600
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18603
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18606
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18609
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18615
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18618
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18621
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18625
if test "$with_gnu_ld" = no; then
18626
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18627
hardcode_libdir_separator_GCJ=:
18631
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18632
hardcode_direct_GCJ=no
18633
hardcode_shlibpath_var_GCJ=no
18636
hardcode_direct_GCJ=yes
18637
export_dynamic_flag_spec_GCJ='${wl}-E'
18639
# hardcode_minus_L: Not really in the search PATH,
18640
# but as the default location of the library.
18641
hardcode_minus_L_GCJ=yes
18647
irix5* | irix6* | nonstopux*)
18648
if test "$GCC" = yes; then
18649
archive_cmds_GCJ='$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'
18651
archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18652
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18654
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18655
hardcode_libdir_separator_GCJ=:
18656
link_all_deplibs_GCJ=yes
18659
netbsd* | netbsdelf*-gnu)
18660
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18661
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18663
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18665
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18666
hardcode_direct_GCJ=yes
18667
hardcode_shlibpath_var_GCJ=no
18671
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18672
hardcode_direct_GCJ=yes
18673
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18674
hardcode_libdir_separator_GCJ=:
18675
hardcode_shlibpath_var_GCJ=no
18679
if test -f /usr/libexec/ld.so; then
18680
hardcode_direct_GCJ=yes
18681
hardcode_shlibpath_var_GCJ=no
18682
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18683
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18684
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18685
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18686
export_dynamic_flag_spec_GCJ='${wl}-E'
18689
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18690
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18691
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18694
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18695
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18705
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18706
hardcode_minus_L_GCJ=yes
18707
allow_undefined_flag_GCJ=unsupported
18708
archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18709
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18713
if test "$GCC" = yes; then
18714
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18715
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $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'
18717
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18718
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18720
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18721
hardcode_libdir_separator_GCJ=:
18724
osf4* | osf5*) # as osf3* with the addition of -msym flag
18725
if test "$GCC" = yes; then
18726
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18727
archive_cmds_GCJ='$CC -shared${allow_undefined_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'
18728
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18730
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18731
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18732
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18733
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18735
# Both c and cxx compiler support -rpath directly
18736
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18738
hardcode_libdir_separator_GCJ=:
18742
no_undefined_flag_GCJ=' -z text'
18743
if test "$GCC" = yes; then
18745
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18746
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18747
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18750
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18751
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18752
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18754
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18755
hardcode_shlibpath_var_GCJ=no
18757
solaris2.[0-5] | solaris2.[0-5].*) ;;
18759
# The compiler driver will combine and reorder linker options,
18760
# but understands `-z linker_flag'. GCC discards it without `$wl',
18761
# but is careful enough not to reorder.
18762
# Supported since Solaris 2.6 (maybe 2.5.1?)
18763
if test "$GCC" = yes; then
18764
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18766
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18770
link_all_deplibs_GCJ=yes
18774
if test "x$host_vendor" = xsequent; then
18775
# Use $CC to link under sequent, because it throws in some extra .o
18776
# files that make .init and .fini sections work.
18777
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18779
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18781
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18782
hardcode_direct_GCJ=yes
18783
hardcode_minus_L_GCJ=yes
18784
hardcode_shlibpath_var_GCJ=no
18788
case $host_vendor in
18790
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18791
hardcode_direct_GCJ=yes # is this really true???
18794
## LD is ld it makes a PLAMLIB
18795
## CC just makes a GrossModule.
18796
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18797
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18798
hardcode_direct_GCJ=no
18801
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18802
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18805
runpath_var='LD_RUN_PATH'
18806
hardcode_shlibpath_var_GCJ=no
18810
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18811
hardcode_shlibpath_var_GCJ=no
18812
export_dynamic_flag_spec_GCJ='-Bexport'
18816
if test -d /usr/nec; then
18817
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18818
hardcode_shlibpath_var_GCJ=no
18819
runpath_var=LD_RUN_PATH
18820
hardcode_runpath_var=yes
18825
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18826
no_undefined_flag_GCJ='${wl}-z,text'
18827
archive_cmds_need_lc_GCJ=no
18828
hardcode_shlibpath_var_GCJ=no
18829
runpath_var='LD_RUN_PATH'
18831
if test "$GCC" = yes; then
18832
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18833
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18835
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18836
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18840
sysv5* | sco3.2v5* | sco5v6*)
18841
# Note: We can NOT use -z defs as we might desire, because we do not
18842
# link with -lc, and that would cause any symbols used from libc to
18843
# always be unresolved, which means just about no library would
18844
# ever link correctly. If we're not using GNU ld we use -z text
18845
# though, which does catch some bad symbols but isn't as heavy-handed
18847
no_undefined_flag_GCJ='${wl}-z,text'
18848
allow_undefined_flag_GCJ='${wl}-z,nodefs'
18849
archive_cmds_need_lc_GCJ=no
18850
hardcode_shlibpath_var_GCJ=no
18851
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18852
hardcode_libdir_separator_GCJ=':'
18853
link_all_deplibs_GCJ=yes
18854
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18855
runpath_var='LD_RUN_PATH'
18857
if test "$GCC" = yes; then
18858
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18859
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18861
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18862
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18867
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18868
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18869
hardcode_shlibpath_var_GCJ=no
18878
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18879
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18880
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18883
# Do we need to explicitly link libc?
18885
case "x$archive_cmds_need_lc_GCJ" in
18887
# Assume -lc should be added
18888
archive_cmds_need_lc_GCJ=yes
18890
if test "$enable_shared" = yes && test "$GCC" = yes; then
18891
case $archive_cmds_GCJ in
18893
# FIXME: we may have to deal with multi-command sequences.
18896
# Test whether the compiler implicitly links with -lc since on some
18897
# systems, -lgcc has to come before -lc. If gcc already passes -lc
18898
# to ld, don't add -lc before -lgcc.
18899
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18900
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18902
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18904
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18905
(eval $ac_compile) 2>&5
18907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908
(exit $ac_status); } 2>conftest.err; then
18911
libobjs=conftest.$ac_objext
18913
wl=$lt_prog_compiler_wl_GCJ
18914
pic_flag=$lt_prog_compiler_pic_GCJ
18920
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18921
allow_undefined_flag_GCJ=
18922
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18923
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926
(exit $ac_status); }
18928
archive_cmds_need_lc_GCJ=no
18930
archive_cmds_need_lc_GCJ=yes
18932
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18934
cat conftest.err 1>&5
18937
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18938
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18945
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18946
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18947
library_names_spec=
18948
libname_spec='lib$name'
18952
postuninstall_cmds=
18956
shlibpath_overrides_runpath=unknown
18958
dynamic_linker="$host_os ld.so"
18959
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18961
need_lib_prefix=unknown
18962
hardcode_into_libs=no
18964
# when you set need_version to no, make sure it does not cause -set_version
18965
# flags to be left without arguments
18966
need_version=unknown
18971
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18972
shlibpath_var=LIBPATH
18974
# AIX 3 has no versioning support, so we append a major version to the name.
18975
soname_spec='${libname}${release}${shared_ext}$major'
18982
hardcode_into_libs=yes
18983
if test "$host_cpu" = ia64; then
18984
# AIX 5 supports IA64
18985
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18986
shlibpath_var=LD_LIBRARY_PATH
18988
# With GCC up to 2.95.x, collect2 would create an import file
18989
# for dependence libraries. The import file would start with
18990
# the line `#! .'. This would cause the generated library to
18991
# depend on `.', always an invalid library. This was fixed in
18992
# development snapshots of GCC prior to 3.0.
18994
aix4 | aix4.[01] | aix4.[01].*)
18995
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18997
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19000
can_build_shared=no
19004
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19005
# soname into executable. Probably we can add versioning support to
19006
# collect2, so additional links can be useful in future.
19007
if test "$aix_use_runtimelinking" = yes; then
19008
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19009
# instead of lib<name>.a to let people know that these are not
19010
# typical AIX shared libraries.
19011
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19013
# We preserve .a as extension for shared libraries through AIX4.2
19014
# and later when we are not doing run time linking.
19015
library_names_spec='${libname}${release}.a $libname.a'
19016
soname_spec='${libname}${release}${shared_ext}$major'
19018
shlibpath_var=LIBPATH
19023
library_names_spec='$libname.ixlibrary $libname.a'
19024
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19025
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\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'
19029
library_names_spec='${libname}${shared_ext}'
19030
dynamic_linker="$host_os ld.so"
19031
shlibpath_var=LIBRARY_PATH
19037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19038
soname_spec='${libname}${release}${shared_ext}$major'
19039
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19040
shlibpath_var=LD_LIBRARY_PATH
19041
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19042
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19043
# the default ld.so.conf also contains /usr/contrib/lib and
19044
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19045
# libtool to hard-code these into programs
19048
cygwin* | mingw* | pw32*)
19049
version_type=windows
19054
case $GCC,$host_os in
19055
yes,cygwin* | yes,mingw* | yes,pw32*)
19056
library_names_spec='$libname.dll.a'
19057
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19058
postinstall_cmds='base_file=`basename \${file}`~
19059
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19060
dldir=$destdir/`dirname \$dlpath`~
19061
test -d \$dldir || mkdir -p \$dldir~
19062
$install_prog $dir/$dlname \$dldir/$dlname~
19063
chmod a+x \$dldir/$dlname'
19064
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19065
dlpath=$dir/\$dldll~
19067
shlibpath_overrides_runpath=yes
19071
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19072
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19073
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19076
# MinGW DLLs use traditional 'lib' prefix
19077
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19078
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19079
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19080
# It is most probably a Windows format PATH printed by
19081
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19082
# path with ; separators, and with drive letters. We can handle the
19083
# drive letters (cygwin fileutils understands them), so leave them,
19084
# especially as we might pass files found there to a mingw objdump,
19085
# which wouldn't understand a cygwinified path. Ahh.
19086
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19088
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19092
# pw32 DLLs use 'pw' prefix rather than 'lib'
19093
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19099
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19102
dynamic_linker='Win32 ld.exe'
19103
# FIXME: first we should search . and the directory the executable is in
19107
darwin* | rhapsody*)
19108
dynamic_linker="$host_os dyld"
19109
version_type=darwin
19112
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19113
soname_spec='${libname}${release}${major}$shared_ext'
19114
shlibpath_overrides_runpath=yes
19115
shlibpath_var=DYLD_LIBRARY_PATH
19116
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19118
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19125
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19126
soname_spec='${libname}${release}${shared_ext}$major'
19127
shlibpath_var=LD_LIBRARY_PATH
19134
freebsd* | dragonfly*)
19135
# DragonFly does not have aout. When/if they implement a new
19136
# versioning mechanism, adjust this.
19137
if test -x /usr/bin/objformat; then
19138
objformat=`/usr/bin/objformat`
19141
freebsd[123]*) objformat=aout ;;
19142
*) objformat=elf ;;
19145
version_type=freebsd-$objformat
19146
case $version_type in
19148
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19153
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19157
shlibpath_var=LD_LIBRARY_PATH
19160
shlibpath_overrides_runpath=yes
19162
freebsd3.[01]* | freebsdelf3.[01]*)
19163
shlibpath_overrides_runpath=yes
19164
hardcode_into_libs=yes
19166
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19167
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19168
shlibpath_overrides_runpath=no
19169
hardcode_into_libs=yes
19171
*) # from 4.6 on, and DragonFly
19172
shlibpath_overrides_runpath=yes
19173
hardcode_into_libs=yes
19182
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19183
soname_spec='${libname}${release}${shared_ext}$major'
19184
shlibpath_var=LD_LIBRARY_PATH
19185
hardcode_into_libs=yes
19188
hpux9* | hpux10* | hpux11*)
19189
# Give a soname corresponding to the major version so that dld.sl refuses to
19190
# link against other versions.
19197
hardcode_into_libs=yes
19198
dynamic_linker="$host_os dld.so"
19199
shlibpath_var=LD_LIBRARY_PATH
19200
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19201
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19202
soname_spec='${libname}${release}${shared_ext}$major'
19203
if test "X$HPUX_IA64_MODE" = X32; then
19204
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19206
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19208
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19212
hardcode_into_libs=yes
19213
dynamic_linker="$host_os dld.sl"
19214
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19215
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19217
soname_spec='${libname}${release}${shared_ext}$major'
19218
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19219
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19223
dynamic_linker="$host_os dld.sl"
19224
shlibpath_var=SHLIB_PATH
19225
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19226
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19227
soname_spec='${libname}${release}${shared_ext}$major'
19230
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19231
postinstall_cmds='chmod 555 $lib'
19238
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19239
soname_spec='${libname}${release}${shared_ext}$major'
19240
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19241
shlibpath_var=LD_LIBRARY_PATH
19242
shlibpath_overrides_runpath=no
19243
hardcode_into_libs=yes
19246
irix5* | irix6* | nonstopux*)
19248
nonstopux*) version_type=nonstopux ;;
19250
if test "$lt_cv_prog_gnu_ld" = yes; then
19258
soname_spec='${libname}${release}${shared_ext}$major'
19259
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19261
irix5* | nonstopux*)
19262
libsuff= shlibsuff=
19265
case $LD in # libtool.m4 will add one of these switches to LD
19266
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19267
libsuff= shlibsuff= libmagic=32-bit;;
19268
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19269
libsuff=32 shlibsuff=N32 libmagic=N32;;
19270
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19271
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19272
*) libsuff= shlibsuff= libmagic=never-match;;
19276
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19277
shlibpath_overrides_runpath=no
19278
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19279
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19280
hardcode_into_libs=yes
19283
# No shared lib support for Linux oldld, aout, or coff.
19284
linux*oldld* | linux*aout* | linux*coff*)
19288
# This must be Linux ELF.
19289
linux* | k*bsd*-gnu)
19293
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19294
soname_spec='${libname}${release}${shared_ext}$major'
19295
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19296
shlibpath_var=LD_LIBRARY_PATH
19297
shlibpath_overrides_runpath=no
19298
# This implies no fast_install, which is unacceptable.
19299
# Some rework will be needed to allow for fast_install
19300
# before this can be enabled.
19301
hardcode_into_libs=yes
19303
# Append ld.so.conf contents to the search path
19304
if test -f /etc/ld.so.conf; then
19305
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 '\n' ' '`
19306
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19309
# We used to test for /lib/ld.so.1 and disable shared libraries on
19310
# powerpc, because MkLinux only supported shared libraries with the
19311
# GNU dynamic linker. Since this was broken with cross compilers,
19312
# most powerpc-linux boxes support dynamic linking these days and
19313
# people can always --disable-shared, the test was removed, and we
19314
# assume the GNU/Linux dynamic linker is in use.
19315
dynamic_linker='GNU/Linux ld.so'
19322
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19323
soname_spec='${libname}${release}${shared_ext}$major'
19324
shlibpath_var=LD_LIBRARY_PATH
19325
shlibpath_overrides_runpath=no
19326
hardcode_into_libs=yes
19327
dynamic_linker='NetBSD ld.elf_so'
19334
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19335
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19336
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19337
dynamic_linker='NetBSD (a.out) ld.so'
19339
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19340
soname_spec='${libname}${release}${shared_ext}$major'
19341
dynamic_linker='NetBSD ld.elf_so'
19343
shlibpath_var=LD_LIBRARY_PATH
19344
shlibpath_overrides_runpath=yes
19345
hardcode_into_libs=yes
19350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19351
shlibpath_var=LD_LIBRARY_PATH
19352
shlibpath_overrides_runpath=yes
19359
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19360
soname_spec='${libname}${release}${shared_ext}$major'
19361
shlibpath_var=LD_LIBRARY_PATH
19362
shlibpath_overrides_runpath=yes
19367
sys_lib_dlsearch_path_spec="/usr/lib"
19369
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19371
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19372
*) need_version=no ;;
19374
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19375
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19376
shlibpath_var=LD_LIBRARY_PATH
19377
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19379
openbsd2.[89] | openbsd2.[89].*)
19380
shlibpath_overrides_runpath=no
19383
shlibpath_overrides_runpath=yes
19387
shlibpath_overrides_runpath=yes
19392
libname_spec='$name'
19395
library_names_spec='$libname${shared_ext} $libname.a'
19396
dynamic_linker='OS/2 ld.exe'
19397
shlibpath_var=LIBPATH
19400
osf3* | osf4* | osf5*)
19404
soname_spec='${libname}${release}${shared_ext}$major'
19405
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19406
shlibpath_var=LD_LIBRARY_PATH
19407
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19408
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19419
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19420
soname_spec='${libname}${release}${shared_ext}$major'
19421
shlibpath_var=LD_LIBRARY_PATH
19422
shlibpath_overrides_runpath=yes
19423
hardcode_into_libs=yes
19424
# ldd complains unless libraries are executable
19425
postinstall_cmds='chmod +x $lib'
19430
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19431
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19432
shlibpath_var=LD_LIBRARY_PATH
19433
shlibpath_overrides_runpath=yes
19434
if test "$with_gnu_ld" = yes; then
19442
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19443
soname_spec='${libname}${release}${shared_ext}$major'
19444
shlibpath_var=LD_LIBRARY_PATH
19445
case $host_vendor in
19447
shlibpath_overrides_runpath=no
19449
export_dynamic_flag_spec='${wl}-Blargedynsym'
19450
runpath_var=LD_RUN_PATH
19458
shlibpath_overrides_runpath=no
19459
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19465
if test -d /usr/nec ;then
19467
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19468
soname_spec='$libname${shared_ext}.$major'
19469
shlibpath_var=LD_LIBRARY_PATH
19473
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19474
version_type=freebsd-elf
19477
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19478
soname_spec='${libname}${release}${shared_ext}$major'
19479
shlibpath_var=LD_LIBRARY_PATH
19480
hardcode_into_libs=yes
19481
if test "$with_gnu_ld" = yes; then
19482
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19483
shlibpath_overrides_runpath=no
19485
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19486
shlibpath_overrides_runpath=yes
19489
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19493
sys_lib_dlsearch_path_spec='/usr/lib'
19498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19499
soname_spec='${libname}${release}${shared_ext}$major'
19500
shlibpath_var=LD_LIBRARY_PATH
19507
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19508
echo "${ECHO_T}$dynamic_linker" >&6; }
19509
test "$dynamic_linker" = no && can_build_shared=no
19511
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19512
if test "$GCC" = yes; then
19513
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19516
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19517
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19518
hardcode_action_GCJ=
19519
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19520
test -n "$runpath_var_GCJ" || \
19521
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19523
# We can hardcode non-existant directories.
19524
if test "$hardcode_direct_GCJ" != no &&
19525
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19526
# have to relink, otherwise we might link with an installed library
19527
# when we should be linking with a yet-to-be-installed one
19528
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19529
test "$hardcode_minus_L_GCJ" != no; then
19530
# Linking always hardcodes the temporary library directory.
19531
hardcode_action_GCJ=relink
19533
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19534
hardcode_action_GCJ=immediate
19537
# We cannot hardcode anything, or else we can only hardcode existing
19539
hardcode_action_GCJ=unsupported
19541
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19542
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19544
if test "$hardcode_action_GCJ" = relink; then
19545
# Fast installation is not supported
19546
enable_fast_install=no
19547
elif test "$shlibpath_overrides_runpath" = yes ||
19548
test "$enable_shared" = no; then
19549
# Fast installation is not necessary
19550
enable_fast_install=needless
19554
# The else clause should only fire when bootstrapping the
19555
# libtool distribution, otherwise you forgot to ship ltmain.sh
19556
# with your package, and you will get complaints that there are
19557
# no rules to generate ltmain.sh.
19558
if test -f "$ltmain"; then
19559
# See if we are running on zsh, and set the options which allow our commands through
19560
# without removal of \ escapes.
19561
if test -n "${ZSH_VERSION+set}" ; then
19562
setopt NO_GLOB_SUBST
19564
# Now quote all the things that may contain metacharacters while being
19565
# careful not to overquote the AC_SUBSTed values. We take copies of the
19566
# variables and quote the copies for generation of the libtool script.
19567
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19569
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19570
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19571
deplibs_check_method reload_flag reload_cmds need_locks \
19572
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19573
lt_cv_sys_global_symbol_to_c_name_address \
19574
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19575
old_postinstall_cmds old_postuninstall_cmds \
19579
lt_prog_compiler_wl_GCJ \
19580
lt_prog_compiler_pic_GCJ \
19581
lt_prog_compiler_static_GCJ \
19582
lt_prog_compiler_no_builtin_flag_GCJ \
19583
export_dynamic_flag_spec_GCJ \
19584
thread_safe_flag_spec_GCJ \
19585
whole_archive_flag_spec_GCJ \
19586
enable_shared_with_static_runtimes_GCJ \
19587
old_archive_cmds_GCJ \
19588
old_archive_from_new_cmds_GCJ \
19589
predep_objects_GCJ \
19590
postdep_objects_GCJ \
19593
compiler_lib_search_path_GCJ \
19595
archive_expsym_cmds_GCJ \
19596
postinstall_cmds_GCJ \
19597
postuninstall_cmds_GCJ \
19598
old_archive_from_expsyms_cmds_GCJ \
19599
allow_undefined_flag_GCJ \
19600
no_undefined_flag_GCJ \
19601
export_symbols_cmds_GCJ \
19602
hardcode_libdir_flag_spec_GCJ \
19603
hardcode_libdir_flag_spec_ld_GCJ \
19604
hardcode_libdir_separator_GCJ \
19605
hardcode_automatic_GCJ \
19607
module_expsym_cmds_GCJ \
19608
lt_cv_prog_compiler_c_o_GCJ \
19609
fix_srcfile_path_GCJ \
19610
exclude_expsyms_GCJ \
19611
include_expsyms_GCJ; do
19614
old_archive_cmds_GCJ | \
19615
old_archive_from_new_cmds_GCJ | \
19616
archive_cmds_GCJ | \
19617
archive_expsym_cmds_GCJ | \
19618
module_cmds_GCJ | \
19619
module_expsym_cmds_GCJ | \
19620
old_archive_from_expsyms_cmds_GCJ | \
19621
export_symbols_cmds_GCJ | \
19622
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19623
postinstall_cmds | postuninstall_cmds | \
19624
old_postinstall_cmds | old_postuninstall_cmds | \
19625
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19626
# Double-quote double-evaled strings.
19627
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19630
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19636
*'\$0 --fallback-echo"')
19637
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19643
cat <<__EOF__ >> "$cfgfile"
19644
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19646
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19648
# Shell to use when invoking shell scripts.
19651
# Whether or not to build shared libraries.
19652
build_libtool_libs=$enable_shared
19654
# Whether or not to build static libraries.
19655
build_old_libs=$enable_static
19657
# Whether or not to add -lc for building shared libraries.
19658
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19660
# Whether or not to disallow shared libs when runtime libs are static
19661
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19663
# Whether or not to optimize for fast installation.
19664
fast_install=$enable_fast_install
19667
host_alias=$host_alias
19671
# The build system.
19672
build_alias=$build_alias
19676
# An echo program that does not interpret backslashes.
19681
AR_FLAGS=$lt_AR_FLAGS
19686
# LTCC compiler flags.
19687
LTCFLAGS=$lt_LTCFLAGS
19689
# A language-specific compiler.
19690
CC=$lt_compiler_GCJ
19692
# Is the compiler the GNU C compiler?
19698
# The linker used to build libraries.
19701
# Whether we need hard or soft links.
19704
# A BSD-compatible nm program.
19707
# A symbol stripping program
19710
# Used to examine libraries when file_magic_cmd begins "file"
19711
MAGIC_CMD=$MAGIC_CMD
19713
# Used on cygwin: DLL creation program.
19716
# Used on cygwin: object dumper.
19719
# Used on cygwin: assembler.
19722
# The name of the directory that contains temporary libtool files.
19725
# How to create reloadable object files.
19726
reload_flag=$lt_reload_flag
19727
reload_cmds=$lt_reload_cmds
19729
# How to pass a linker flag through the compiler.
19730
wl=$lt_lt_prog_compiler_wl_GCJ
19732
# Object file suffix (normally "o").
19733
objext="$ac_objext"
19735
# Old archive suffix (normally "a").
19738
# Shared library suffix (normally ".so").
19739
shrext_cmds='$shrext_cmds'
19741
# Executable file suffix (normally "").
19744
# Additional compiler flags for building library objects.
19745
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19748
# What is the maximum length of a command?
19749
max_cmd_len=$lt_cv_sys_max_cmd_len
19751
# Does compiler simultaneously support -c and -o options?
19752
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19754
# Must we lock files when doing compilation?
19755
need_locks=$lt_need_locks
19757
# Do we need the lib prefix for modules?
19758
need_lib_prefix=$need_lib_prefix
19760
# Do we need a version for libraries?
19761
need_version=$need_version
19763
# Whether dlopen is supported.
19764
dlopen_support=$enable_dlopen
19766
# Whether dlopen of programs is supported.
19767
dlopen_self=$enable_dlopen_self
19769
# Whether dlopen of statically linked programs is supported.
19770
dlopen_self_static=$enable_dlopen_self_static
19772
# Compiler flag to prevent dynamic linking.
19773
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19775
# Compiler flag to turn off builtin functions.
19776
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19778
# Compiler flag to allow reflexive dlopens.
19779
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19781
# Compiler flag to generate shared objects directly from archives.
19782
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19784
# Compiler flag to generate thread-safe objects.
19785
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19787
# Library versioning type.
19788
version_type=$version_type
19790
# Format of library name prefix.
19791
libname_spec=$lt_libname_spec
19793
# List of archive names. First name is the real one, the rest are links.
19794
# The last name is the one that the linker finds with -lNAME.
19795
library_names_spec=$lt_library_names_spec
19797
# The coded name of the library, if different from the real name.
19798
soname_spec=$lt_soname_spec
19800
# Commands used to build and install an old-style archive.
19802
old_archive_cmds=$lt_old_archive_cmds_GCJ
19803
old_postinstall_cmds=$lt_old_postinstall_cmds
19804
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19806
# Create an old-style archive from a shared archive.
19807
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19809
# Create a temporary old-style archive to link instead of a shared archive.
19810
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19812
# Commands used to build and install a shared archive.
19813
archive_cmds=$lt_archive_cmds_GCJ
19814
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19815
postinstall_cmds=$lt_postinstall_cmds
19816
postuninstall_cmds=$lt_postuninstall_cmds
19818
# Commands used to build a loadable module (assumed same as above if empty)
19819
module_cmds=$lt_module_cmds_GCJ
19820
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19822
# Commands to strip libraries.
19823
old_striplib=$lt_old_striplib
19824
striplib=$lt_striplib
19826
# Dependencies to place before the objects being linked to create a
19828
predep_objects=$lt_predep_objects_GCJ
19830
# Dependencies to place after the objects being linked to create a
19832
postdep_objects=$lt_postdep_objects_GCJ
19834
# Dependencies to place before the objects being linked to create a
19836
predeps=$lt_predeps_GCJ
19838
# Dependencies to place after the objects being linked to create a
19840
postdeps=$lt_postdeps_GCJ
19842
# The library search path used internally by the compiler when linking
19843
# a shared library.
19844
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19846
# Method to check whether dependent libraries are shared objects.
19847
deplibs_check_method=$lt_deplibs_check_method
19849
# Command to use when deplibs_check_method == file_magic.
19850
file_magic_cmd=$lt_file_magic_cmd
19852
# Flag that allows shared libraries with undefined symbols to be built.
19853
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19855
# Flag that forces no undefined symbols.
19856
no_undefined_flag=$lt_no_undefined_flag_GCJ
19858
# Commands used to finish a libtool library installation in a directory.
19859
finish_cmds=$lt_finish_cmds
19861
# Same as above, but a single script fragment to be evaled but not shown.
19862
finish_eval=$lt_finish_eval
19864
# Take the output of nm and produce a listing of raw symbols and C names.
19865
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19867
# Transform the output of nm in a proper C declaration
19868
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19870
# Transform the output of nm in a C name address pair
19871
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19873
# This is the shared library runtime path variable.
19874
runpath_var=$runpath_var
19876
# This is the shared library path variable.
19877
shlibpath_var=$shlibpath_var
19879
# Is shlibpath searched before the hard-coded library search path?
19880
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19882
# How to hardcode a shared library path into an executable.
19883
hardcode_action=$hardcode_action_GCJ
19885
# Whether we should hardcode library paths into libraries.
19886
hardcode_into_libs=$hardcode_into_libs
19888
# Flag to hardcode \$libdir into a binary during linking.
19889
# This must work even if \$libdir does not exist.
19890
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19892
# If ld is used when linking, flag to hardcode \$libdir into
19893
# a binary during linking. This must work even if \$libdir does
19895
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19897
# Whether we need a single -rpath flag with a separated argument.
19898
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19900
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19901
# resulting binary.
19902
hardcode_direct=$hardcode_direct_GCJ
19904
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19905
# resulting binary.
19906
hardcode_minus_L=$hardcode_minus_L_GCJ
19908
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19909
# the resulting binary.
19910
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19912
# Set to yes if building a shared library automatically hardcodes DIR into the library
19913
# and all subsequent libraries and executables linked against it.
19914
hardcode_automatic=$hardcode_automatic_GCJ
19916
# Variables whose values should be saved in libtool wrapper scripts and
19917
# restored at relink time.
19918
variables_saved_for_relink="$variables_saved_for_relink"
19920
# Whether libtool must link a program against all its dependency libraries.
19921
link_all_deplibs=$link_all_deplibs_GCJ
19923
# Compile-time system search path for libraries
19924
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19926
# Run-time system search path for libraries
19927
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19929
# Fix the shell variable \$srcfile for the compiler.
19930
fix_srcfile_path=$lt_fix_srcfile_path
19932
# Set to yes if exported symbols are required.
19933
always_export_symbols=$always_export_symbols_GCJ
19935
# The commands to list exported symbols.
19936
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19938
# The commands to extract the exported symbol list from a shared archive.
19939
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19941
# Symbols that should not be listed in the preloaded symbols.
19942
exclude_expsyms=$lt_exclude_expsyms_GCJ
19944
# Symbols that must always be exported.
19945
include_expsyms=$lt_include_expsyms_GCJ
19947
# ### END LIBTOOL TAG CONFIG: $tagname
19953
# If there is no Makefile yet, we rely on a make rule to execute
19954
# `config.status --recheck' to rerun these tests and create the
19955
# libtool script then.
19956
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19957
if test -f "$ltmain_in"; then
19958
test -f Makefile && make "$ltmain"
19964
ac_cpp='$CPP $CPPFLAGS'
19965
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19966
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19967
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19979
# Source file extension for RC test sources.
19982
# Object file extension for compiled RC test sources.
19986
# Code to be used in simple compile tests
19987
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19989
# Code to be used in simple link tests
19990
lt_simple_link_test_code="$lt_simple_compile_test_code"
19992
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19994
# If no C compiler was specified, use CC.
19997
# If no C compiler flags were specified, use CFLAGS.
19998
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20000
# Allow CC to be a program name with arguments.
20004
# save warnings/boilerplate of simple test code
20005
ac_outfile=conftest.$ac_objext
20006
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20007
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20008
_lt_compiler_boilerplate=`cat conftest.err`
20011
ac_outfile=conftest.$ac_objext
20012
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20013
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20014
_lt_linker_boilerplate=`cat conftest.err`
20018
# Allow CC to be a program name with arguments.
20023
for cc_temp in $compiler""; do
20025
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20026
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20031
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20033
lt_cv_prog_compiler_c_o_RC=yes
20035
# The else clause should only fire when bootstrapping the
20036
# libtool distribution, otherwise you forgot to ship ltmain.sh
20037
# with your package, and you will get complaints that there are
20038
# no rules to generate ltmain.sh.
20039
if test -f "$ltmain"; then
20040
# See if we are running on zsh, and set the options which allow our commands through
20041
# without removal of \ escapes.
20042
if test -n "${ZSH_VERSION+set}" ; then
20043
setopt NO_GLOB_SUBST
20045
# Now quote all the things that may contain metacharacters while being
20046
# careful not to overquote the AC_SUBSTed values. We take copies of the
20047
# variables and quote the copies for generation of the libtool script.
20048
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20050
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20051
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20052
deplibs_check_method reload_flag reload_cmds need_locks \
20053
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20054
lt_cv_sys_global_symbol_to_c_name_address \
20055
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20056
old_postinstall_cmds old_postuninstall_cmds \
20060
lt_prog_compiler_wl_RC \
20061
lt_prog_compiler_pic_RC \
20062
lt_prog_compiler_static_RC \
20063
lt_prog_compiler_no_builtin_flag_RC \
20064
export_dynamic_flag_spec_RC \
20065
thread_safe_flag_spec_RC \
20066
whole_archive_flag_spec_RC \
20067
enable_shared_with_static_runtimes_RC \
20068
old_archive_cmds_RC \
20069
old_archive_from_new_cmds_RC \
20070
predep_objects_RC \
20071
postdep_objects_RC \
20074
compiler_lib_search_path_RC \
20076
archive_expsym_cmds_RC \
20077
postinstall_cmds_RC \
20078
postuninstall_cmds_RC \
20079
old_archive_from_expsyms_cmds_RC \
20080
allow_undefined_flag_RC \
20081
no_undefined_flag_RC \
20082
export_symbols_cmds_RC \
20083
hardcode_libdir_flag_spec_RC \
20084
hardcode_libdir_flag_spec_ld_RC \
20085
hardcode_libdir_separator_RC \
20086
hardcode_automatic_RC \
20088
module_expsym_cmds_RC \
20089
lt_cv_prog_compiler_c_o_RC \
20090
fix_srcfile_path_RC \
20091
exclude_expsyms_RC \
20092
include_expsyms_RC; do
20095
old_archive_cmds_RC | \
20096
old_archive_from_new_cmds_RC | \
20097
archive_cmds_RC | \
20098
archive_expsym_cmds_RC | \
20100
module_expsym_cmds_RC | \
20101
old_archive_from_expsyms_cmds_RC | \
20102
export_symbols_cmds_RC | \
20103
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20104
postinstall_cmds | postuninstall_cmds | \
20105
old_postinstall_cmds | old_postuninstall_cmds | \
20106
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20107
# Double-quote double-evaled strings.
20108
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20111
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20117
*'\$0 --fallback-echo"')
20118
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20124
cat <<__EOF__ >> "$cfgfile"
20125
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20127
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20129
# Shell to use when invoking shell scripts.
20132
# Whether or not to build shared libraries.
20133
build_libtool_libs=$enable_shared
20135
# Whether or not to build static libraries.
20136
build_old_libs=$enable_static
20138
# Whether or not to add -lc for building shared libraries.
20139
build_libtool_need_lc=$archive_cmds_need_lc_RC
20141
# Whether or not to disallow shared libs when runtime libs are static
20142
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20144
# Whether or not to optimize for fast installation.
20145
fast_install=$enable_fast_install
20148
host_alias=$host_alias
20152
# The build system.
20153
build_alias=$build_alias
20157
# An echo program that does not interpret backslashes.
20162
AR_FLAGS=$lt_AR_FLAGS
20167
# LTCC compiler flags.
20168
LTCFLAGS=$lt_LTCFLAGS
20170
# A language-specific compiler.
20173
# Is the compiler the GNU C compiler?
20179
# The linker used to build libraries.
20182
# Whether we need hard or soft links.
20185
# A BSD-compatible nm program.
20188
# A symbol stripping program
20191
# Used to examine libraries when file_magic_cmd begins "file"
20192
MAGIC_CMD=$MAGIC_CMD
20194
# Used on cygwin: DLL creation program.
20197
# Used on cygwin: object dumper.
20200
# Used on cygwin: assembler.
20203
# The name of the directory that contains temporary libtool files.
20206
# How to create reloadable object files.
20207
reload_flag=$lt_reload_flag
20208
reload_cmds=$lt_reload_cmds
20210
# How to pass a linker flag through the compiler.
20211
wl=$lt_lt_prog_compiler_wl_RC
20213
# Object file suffix (normally "o").
20214
objext="$ac_objext"
20216
# Old archive suffix (normally "a").
20219
# Shared library suffix (normally ".so").
20220
shrext_cmds='$shrext_cmds'
20222
# Executable file suffix (normally "").
20225
# Additional compiler flags for building library objects.
20226
pic_flag=$lt_lt_prog_compiler_pic_RC
20229
# What is the maximum length of a command?
20230
max_cmd_len=$lt_cv_sys_max_cmd_len
20232
# Does compiler simultaneously support -c and -o options?
20233
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20235
# Must we lock files when doing compilation?
20236
need_locks=$lt_need_locks
20238
# Do we need the lib prefix for modules?
20239
need_lib_prefix=$need_lib_prefix
20241
# Do we need a version for libraries?
20242
need_version=$need_version
20244
# Whether dlopen is supported.
20245
dlopen_support=$enable_dlopen
20247
# Whether dlopen of programs is supported.
20248
dlopen_self=$enable_dlopen_self
20250
# Whether dlopen of statically linked programs is supported.
20251
dlopen_self_static=$enable_dlopen_self_static
20253
# Compiler flag to prevent dynamic linking.
20254
link_static_flag=$lt_lt_prog_compiler_static_RC
20256
# Compiler flag to turn off builtin functions.
20257
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20259
# Compiler flag to allow reflexive dlopens.
20260
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20262
# Compiler flag to generate shared objects directly from archives.
20263
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20265
# Compiler flag to generate thread-safe objects.
20266
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20268
# Library versioning type.
20269
version_type=$version_type
20271
# Format of library name prefix.
20272
libname_spec=$lt_libname_spec
20274
# List of archive names. First name is the real one, the rest are links.
20275
# The last name is the one that the linker finds with -lNAME.
20276
library_names_spec=$lt_library_names_spec
20278
# The coded name of the library, if different from the real name.
20279
soname_spec=$lt_soname_spec
20281
# Commands used to build and install an old-style archive.
20283
old_archive_cmds=$lt_old_archive_cmds_RC
20284
old_postinstall_cmds=$lt_old_postinstall_cmds
20285
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20287
# Create an old-style archive from a shared archive.
20288
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20290
# Create a temporary old-style archive to link instead of a shared archive.
20291
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20293
# Commands used to build and install a shared archive.
20294
archive_cmds=$lt_archive_cmds_RC
20295
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20296
postinstall_cmds=$lt_postinstall_cmds
20297
postuninstall_cmds=$lt_postuninstall_cmds
20299
# Commands used to build a loadable module (assumed same as above if empty)
20300
module_cmds=$lt_module_cmds_RC
20301
module_expsym_cmds=$lt_module_expsym_cmds_RC
20303
# Commands to strip libraries.
20304
old_striplib=$lt_old_striplib
20305
striplib=$lt_striplib
20307
# Dependencies to place before the objects being linked to create a
20309
predep_objects=$lt_predep_objects_RC
20311
# Dependencies to place after the objects being linked to create a
20313
postdep_objects=$lt_postdep_objects_RC
20315
# Dependencies to place before the objects being linked to create a
20317
predeps=$lt_predeps_RC
20319
# Dependencies to place after the objects being linked to create a
20321
postdeps=$lt_postdeps_RC
20323
# The library search path used internally by the compiler when linking
20324
# a shared library.
20325
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20327
# Method to check whether dependent libraries are shared objects.
20328
deplibs_check_method=$lt_deplibs_check_method
20330
# Command to use when deplibs_check_method == file_magic.
20331
file_magic_cmd=$lt_file_magic_cmd
20333
# Flag that allows shared libraries with undefined symbols to be built.
20334
allow_undefined_flag=$lt_allow_undefined_flag_RC
20336
# Flag that forces no undefined symbols.
20337
no_undefined_flag=$lt_no_undefined_flag_RC
20339
# Commands used to finish a libtool library installation in a directory.
20340
finish_cmds=$lt_finish_cmds
20342
# Same as above, but a single script fragment to be evaled but not shown.
20343
finish_eval=$lt_finish_eval
20345
# Take the output of nm and produce a listing of raw symbols and C names.
20346
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20348
# Transform the output of nm in a proper C declaration
20349
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20351
# Transform the output of nm in a C name address pair
20352
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20354
# This is the shared library runtime path variable.
20355
runpath_var=$runpath_var
20357
# This is the shared library path variable.
20358
shlibpath_var=$shlibpath_var
20360
# Is shlibpath searched before the hard-coded library search path?
20361
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20363
# How to hardcode a shared library path into an executable.
20364
hardcode_action=$hardcode_action_RC
20366
# Whether we should hardcode library paths into libraries.
20367
hardcode_into_libs=$hardcode_into_libs
20369
# Flag to hardcode \$libdir into a binary during linking.
20370
# This must work even if \$libdir does not exist.
20371
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20373
# If ld is used when linking, flag to hardcode \$libdir into
20374
# a binary during linking. This must work even if \$libdir does
20376
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20378
# Whether we need a single -rpath flag with a separated argument.
20379
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20381
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20382
# resulting binary.
20383
hardcode_direct=$hardcode_direct_RC
20385
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20386
# resulting binary.
20387
hardcode_minus_L=$hardcode_minus_L_RC
20389
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20390
# the resulting binary.
20391
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20393
# Set to yes if building a shared library automatically hardcodes DIR into the library
20394
# and all subsequent libraries and executables linked against it.
20395
hardcode_automatic=$hardcode_automatic_RC
20397
# Variables whose values should be saved in libtool wrapper scripts and
20398
# restored at relink time.
20399
variables_saved_for_relink="$variables_saved_for_relink"
20401
# Whether libtool must link a program against all its dependency libraries.
20402
link_all_deplibs=$link_all_deplibs_RC
20404
# Compile-time system search path for libraries
20405
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20407
# Run-time system search path for libraries
20408
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20410
# Fix the shell variable \$srcfile for the compiler.
20411
fix_srcfile_path=$lt_fix_srcfile_path
20413
# Set to yes if exported symbols are required.
20414
always_export_symbols=$always_export_symbols_RC
20416
# The commands to list exported symbols.
20417
export_symbols_cmds=$lt_export_symbols_cmds_RC
20419
# The commands to extract the exported symbol list from a shared archive.
20420
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20422
# Symbols that should not be listed in the preloaded symbols.
20423
exclude_expsyms=$lt_exclude_expsyms_RC
20425
# Symbols that must always be exported.
20426
include_expsyms=$lt_include_expsyms_RC
20428
# ### END LIBTOOL TAG CONFIG: $tagname
20434
# If there is no Makefile yet, we rely on a make rule to execute
20435
# `config.status --recheck' to rerun these tests and create the
20436
# libtool script then.
20437
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20438
if test -f "$ltmain_in"; then
20439
test -f Makefile && make "$ltmain"
20445
ac_cpp='$CPP $CPPFLAGS'
20446
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20447
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20448
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20455
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20456
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20457
{ (exit 1); exit 1; }; }
20461
# Append the new tag name to the list of available tags.
20462
if test -n "$tagname" ; then
20463
available_tags="$available_tags $tagname"
20469
# Now substitute the updated list of available tags.
20470
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20471
mv "${ofile}T" "$ofile"
20475
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20476
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20477
{ (exit 1); exit 1; }; }
20483
# This can be used to rebuild libtool when needed
20484
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20486
# Always use our own libtool.
20487
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20489
# Prevent multiple expansion
20511
# Extract the first word of "pkg-config", so it can be a program name with args.
20512
set dummy pkg-config; ac_word=$2
20513
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20515
if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
20516
echo $ECHO_N "(cached) $ECHO_C" >&6
20518
if test -n "$HAVE_PKGCONFIG"; then
20519
ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
20521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20522
for as_dir in $PATH
20525
test -z "$as_dir" && as_dir=.
20526
for ac_exec_ext in '' $ac_executable_extensions; do
20527
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20528
ac_cv_prog_HAVE_PKGCONFIG="yes"
20529
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20536
test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
20539
HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
20540
if test -n "$HAVE_PKGCONFIG"; then
20541
{ echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
20542
echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
20544
{ echo "$as_me:$LINENO: result: no" >&5
20545
echo "${ECHO_T}no" >&6; }
20550
if test "x$HAVE_PKGCONFIG" = "xno"; then
20551
{ { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
20552
echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
20553
{ (exit 1); exit 1; }; }
20558
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20559
if test -n "$ac_tool_prefix"; then
20560
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20561
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20562
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20563
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20564
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20565
echo $ECHO_N "(cached) $ECHO_C" >&6
20567
case $PKG_CONFIG in
20569
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20572
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20573
for as_dir in $PATH
20576
test -z "$as_dir" && as_dir=.
20577
for ac_exec_ext in '' $ac_executable_extensions; do
20578
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20579
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20580
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20590
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20591
if test -n "$PKG_CONFIG"; then
20592
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20593
echo "${ECHO_T}$PKG_CONFIG" >&6; }
20595
{ echo "$as_me:$LINENO: result: no" >&5
20596
echo "${ECHO_T}no" >&6; }
20601
if test -z "$ac_cv_path_PKG_CONFIG"; then
20602
ac_pt_PKG_CONFIG=$PKG_CONFIG
20603
# Extract the first word of "pkg-config", so it can be a program name with args.
20604
set dummy pkg-config; ac_word=$2
20605
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20606
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20607
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20608
echo $ECHO_N "(cached) $ECHO_C" >&6
20610
case $ac_pt_PKG_CONFIG in
20612
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20616
for as_dir in $PATH
20619
test -z "$as_dir" && as_dir=.
20620
for ac_exec_ext in '' $ac_executable_extensions; do
20621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20622
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20623
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20633
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20634
if test -n "$ac_pt_PKG_CONFIG"; then
20635
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20636
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20638
{ echo "$as_me:$LINENO: result: no" >&5
20639
echo "${ECHO_T}no" >&6; }
20642
if test "x$ac_pt_PKG_CONFIG" = x; then
20645
case $cross_compiling:$ac_tool_warned in
20647
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20648
whose name does not start with the host triplet. If you think this
20649
configuration is useful to you, please write to autoconf@gnu.org." >&5
20650
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20651
whose name does not start with the host triplet. If you think this
20652
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20653
ac_tool_warned=yes ;;
20655
PKG_CONFIG=$ac_pt_PKG_CONFIG
20658
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20662
if test -n "$PKG_CONFIG"; then
20663
_pkg_min_version=0.9.0
20664
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20665
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20666
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20667
{ echo "$as_me:$LINENO: result: yes" >&5
20668
echo "${ECHO_T}yes" >&6; }
20670
{ echo "$as_me:$LINENO: result: no" >&5
20671
echo "${ECHO_T}no" >&6; }
20678
{ echo "$as_me:$LINENO: checking for NAUTILUS" >&5
20679
echo $ECHO_N "checking for NAUTILUS... $ECHO_C" >&6; }
20681
if test -n "$PKG_CONFIG"; then
20682
if test -n "$NAUTILUS_CFLAGS"; then
20683
pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
20685
if test -n "$PKG_CONFIG" && \
20686
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5
20687
($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5
20689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690
(exit $ac_status); }; then
20691
pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null`
20699
if test -n "$PKG_CONFIG"; then
20700
if test -n "$NAUTILUS_LIBS"; then
20701
pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
20703
if test -n "$PKG_CONFIG" && \
20704
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5
20705
($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5
20707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708
(exit $ac_status); }; then
20709
pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null`
20720
if test $pkg_failed = yes; then
20722
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20723
_pkg_short_errors_supported=yes
20725
_pkg_short_errors_supported=no
20727
if test $_pkg_short_errors_supported = yes; then
20728
NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"`
20730
NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"`
20732
# Put the nasty error message in config.log where it belongs
20733
echo "$NAUTILUS_PKG_ERRORS" >&5
20735
{ { echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met:
20737
$NAUTILUS_PKG_ERRORS
20739
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20740
installed software in a non-standard prefix.
20742
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20743
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20744
See the pkg-config man page for more details.
20746
echo "$as_me: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met:
20748
$NAUTILUS_PKG_ERRORS
20750
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20751
installed software in a non-standard prefix.
20753
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20754
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20755
See the pkg-config man page for more details.
20757
{ (exit 1); exit 1; }; }
20758
elif test $pkg_failed = untried; then
20759
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20760
is in your PATH or set the PKG_CONFIG environment variable to the full
20761
path to pkg-config.
20763
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20764
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20765
See the pkg-config man page for more details.
20767
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20768
See \`config.log' for more details." >&5
20769
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20770
is in your PATH or set the PKG_CONFIG environment variable to the full
20771
path to pkg-config.
20773
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20774
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20775
See the pkg-config man page for more details.
20777
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20778
See \`config.log' for more details." >&2;}
20779
{ (exit 1); exit 1; }; }
20781
NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
20782
NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
20783
{ echo "$as_me:$LINENO: result: yes" >&5
20784
echo "${ECHO_T}yes" >&6; }
20789
{ echo "$as_me:$LINENO: checking for GLIB" >&5
20790
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
20792
if test -n "$PKG_CONFIG"; then
20793
if test -n "$GLIB_CFLAGS"; then
20794
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20796
if test -n "$PKG_CONFIG" && \
20797
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
20798
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
20800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801
(exit $ac_status); }; then
20802
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20810
if test -n "$PKG_CONFIG"; then
20811
if test -n "$GLIB_LIBS"; then
20812
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20814
if test -n "$PKG_CONFIG" && \
20815
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
20816
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
20818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819
(exit $ac_status); }; then
20820
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20831
if test $pkg_failed = yes; then
20833
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20834
_pkg_short_errors_supported=yes
20836
_pkg_short_errors_supported=no
20838
if test $_pkg_short_errors_supported = yes; then
20839
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
20841
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
20843
# Put the nasty error message in config.log where it belongs
20844
echo "$GLIB_PKG_ERRORS" >&5
20846
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
20850
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20851
installed software in a non-standard prefix.
20853
Alternatively, you may set the environment variables GLIB_CFLAGS
20854
and GLIB_LIBS to avoid the need to call pkg-config.
20855
See the pkg-config man page for more details.
20857
echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
20861
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20862
installed software in a non-standard prefix.
20864
Alternatively, you may set the environment variables GLIB_CFLAGS
20865
and GLIB_LIBS to avoid the need to call pkg-config.
20866
See the pkg-config man page for more details.
20868
{ (exit 1); exit 1; }; }
20869
elif test $pkg_failed = untried; then
20870
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20871
is in your PATH or set the PKG_CONFIG environment variable to the full
20872
path to pkg-config.
20874
Alternatively, you may set the environment variables GLIB_CFLAGS
20875
and GLIB_LIBS to avoid the need to call pkg-config.
20876
See the pkg-config man page for more details.
20878
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20879
See \`config.log' for more details." >&5
20880
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20881
is in your PATH or set the PKG_CONFIG environment variable to the full
20882
path to pkg-config.
20884
Alternatively, you may set the environment variables GLIB_CFLAGS
20885
and GLIB_LIBS to avoid the need to call pkg-config.
20886
See the pkg-config man page for more details.
20888
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20889
See \`config.log' for more details." >&2;}
20890
{ (exit 1); exit 1; }; }
20892
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20893
GLIB_LIBS=$pkg_cv_GLIB_LIBS
20894
{ echo "$as_me:$LINENO: result: yes" >&5
20895
echo "${ECHO_T}yes" >&6; }
20900
{ echo "$as_me:$LINENO: checking for LIBGLADE" >&5
20901
echo $ECHO_N "checking for LIBGLADE... $ECHO_C" >&6; }
20903
if test -n "$PKG_CONFIG"; then
20904
if test -n "$LIBGLADE_CFLAGS"; then
20905
pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS"
20907
if test -n "$PKG_CONFIG" && \
20908
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$LIBGLADE_REQUIRED\"") >&5
20909
($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED") 2>&5
20911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912
(exit $ac_status); }; then
20913
pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= $LIBGLADE_REQUIRED" 2>/dev/null`
20921
if test -n "$PKG_CONFIG"; then
20922
if test -n "$LIBGLADE_LIBS"; then
20923
pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS"
20925
if test -n "$PKG_CONFIG" && \
20926
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$LIBGLADE_REQUIRED\"") >&5
20927
($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED") 2>&5
20929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930
(exit $ac_status); }; then
20931
pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= $LIBGLADE_REQUIRED" 2>/dev/null`
20942
if test $pkg_failed = yes; then
20944
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20945
_pkg_short_errors_supported=yes
20947
_pkg_short_errors_supported=no
20949
if test $_pkg_short_errors_supported = yes; then
20950
LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED"`
20952
LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED"`
20954
# Put the nasty error message in config.log where it belongs
20955
echo "$LIBGLADE_PKG_ERRORS" >&5
20957
{ { echo "$as_me:$LINENO: error: Package requirements (libglade-2.0 >= $LIBGLADE_REQUIRED) were not met:
20959
$LIBGLADE_PKG_ERRORS
20961
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20962
installed software in a non-standard prefix.
20964
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20965
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20966
See the pkg-config man page for more details.
20968
echo "$as_me: error: Package requirements (libglade-2.0 >= $LIBGLADE_REQUIRED) were not met:
20970
$LIBGLADE_PKG_ERRORS
20972
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20973
installed software in a non-standard prefix.
20975
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20976
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20977
See the pkg-config man page for more details.
20979
{ (exit 1); exit 1; }; }
20980
elif test $pkg_failed = untried; then
20981
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20982
is in your PATH or set the PKG_CONFIG environment variable to the full
20983
path to pkg-config.
20985
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20986
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20987
See the pkg-config man page for more details.
20989
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20990
See \`config.log' for more details." >&5
20991
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20992
is in your PATH or set the PKG_CONFIG environment variable to the full
20993
path to pkg-config.
20995
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20996
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20997
See the pkg-config man page for more details.
20999
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21000
See \`config.log' for more details." >&2;}
21001
{ (exit 1); exit 1; }; }
21003
LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS
21004
LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS
21005
{ echo "$as_me:$LINENO: result: yes" >&5
21006
echo "${ECHO_T}yes" >&6; }
21021
if test "x${prefix}" = "xNONE"; then
21023
cat >>confdefs.h <<_ACEOF
21024
#define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21027
pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21029
cat >>confdefs.h <<_ACEOF
21030
#define INTERFACES_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21033
interfacesdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21036
cat >>confdefs.h <<_ACEOF
21037
#define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21040
pixmapsdir="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21042
cat >>confdefs.h <<_ACEOF
21043
#define INTERFACES_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21046
interfacesdir="${prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21053
ALL_LINGUAS="ar ca en_GB es de dz eu fi fr hu it pl pt_BR"
21054
GETTEXT_PACKAGE=nautilus-share
21057
cat >>confdefs.h <<_ACEOF
21058
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
21063
for ac_header in locale.h
21065
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21066
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21067
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21068
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21069
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21070
echo $ECHO_N "(cached) $ECHO_C" >&6
21072
ac_res=`eval echo '${'$as_ac_Header'}'`
21073
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21074
echo "${ECHO_T}$ac_res" >&6; }
21076
# Is the header compilable?
21077
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21078
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21079
cat >conftest.$ac_ext <<_ACEOF
21082
cat confdefs.h >>conftest.$ac_ext
21083
cat >>conftest.$ac_ext <<_ACEOF
21084
/* end confdefs.h. */
21085
$ac_includes_default
21086
#include <$ac_header>
21088
rm -f conftest.$ac_objext
21089
if { (ac_try="$ac_compile"
21090
case "(($ac_try" in
21091
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092
*) ac_try_echo=$ac_try;;
21094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095
(eval "$ac_compile") 2>conftest.er1
21097
grep -v '^ *+' conftest.er1 >conftest.err
21099
cat conftest.err >&5
21100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101
(exit $ac_status); } && {
21102
test -z "$ac_c_werror_flag" ||
21103
test ! -s conftest.err
21104
} && test -s conftest.$ac_objext; then
21105
ac_header_compiler=yes
21107
echo "$as_me: failed program was:" >&5
21108
sed 's/^/| /' conftest.$ac_ext >&5
21110
ac_header_compiler=no
21113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21115
echo "${ECHO_T}$ac_header_compiler" >&6; }
21117
# Is the header present?
21118
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21119
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21120
cat >conftest.$ac_ext <<_ACEOF
21123
cat confdefs.h >>conftest.$ac_ext
21124
cat >>conftest.$ac_ext <<_ACEOF
21125
/* end confdefs.h. */
21126
#include <$ac_header>
21128
if { (ac_try="$ac_cpp conftest.$ac_ext"
21129
case "(($ac_try" in
21130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21131
*) ac_try_echo=$ac_try;;
21133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21136
grep -v '^ *+' conftest.er1 >conftest.err
21138
cat conftest.err >&5
21139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140
(exit $ac_status); } >/dev/null && {
21141
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21142
test ! -s conftest.err
21144
ac_header_preproc=yes
21146
echo "$as_me: failed program was:" >&5
21147
sed 's/^/| /' conftest.$ac_ext >&5
21149
ac_header_preproc=no
21152
rm -f conftest.err conftest.$ac_ext
21153
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21154
echo "${ECHO_T}$ac_header_preproc" >&6; }
21156
# So? What about this header?
21157
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21159
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21160
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21161
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21162
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21163
ac_header_preproc=yes
21166
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21167
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21168
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21169
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21170
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21171
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21172
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21173
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21174
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21175
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21176
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21177
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21181
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21182
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21183
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21184
echo $ECHO_N "(cached) $ECHO_C" >&6
21186
eval "$as_ac_Header=\$ac_header_preproc"
21188
ac_res=`eval echo '${'$as_ac_Header'}'`
21189
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21190
echo "${ECHO_T}$ac_res" >&6; }
21193
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21194
cat >>confdefs.h <<_ACEOF
21195
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21202
if test $ac_cv_header_locale_h = yes; then
21203
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21204
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21205
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21206
echo $ECHO_N "(cached) $ECHO_C" >&6
21208
cat >conftest.$ac_ext <<_ACEOF
21211
cat confdefs.h >>conftest.$ac_ext
21212
cat >>conftest.$ac_ext <<_ACEOF
21213
/* end confdefs.h. */
21214
#include <locale.h>
21223
rm -f conftest.$ac_objext conftest$ac_exeext
21224
if { (ac_try="$ac_link"
21225
case "(($ac_try" in
21226
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227
*) ac_try_echo=$ac_try;;
21229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230
(eval "$ac_link") 2>conftest.er1
21232
grep -v '^ *+' conftest.er1 >conftest.err
21234
cat conftest.err >&5
21235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236
(exit $ac_status); } && {
21237
test -z "$ac_c_werror_flag" ||
21238
test ! -s conftest.err
21239
} && test -s conftest$ac_exeext &&
21240
$as_test_x conftest$ac_exeext; then
21241
am_cv_val_LC_MESSAGES=yes
21243
echo "$as_me: failed program was:" >&5
21244
sed 's/^/| /' conftest.$ac_ext >&5
21246
am_cv_val_LC_MESSAGES=no
21249
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21250
conftest$ac_exeext conftest.$ac_ext
21252
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21253
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21254
if test $am_cv_val_LC_MESSAGES = yes; then
21256
cat >>confdefs.h <<\_ACEOF
21257
#define HAVE_LC_MESSAGES 1
21265
gt_cv_have_gettext=no
21271
if test "${ac_cv_header_libintl_h+set}" = set; then
21272
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21273
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21274
if test "${ac_cv_header_libintl_h+set}" = set; then
21275
echo $ECHO_N "(cached) $ECHO_C" >&6
21277
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21278
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21280
# Is the header compilable?
21281
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21282
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21283
cat >conftest.$ac_ext <<_ACEOF
21286
cat confdefs.h >>conftest.$ac_ext
21287
cat >>conftest.$ac_ext <<_ACEOF
21288
/* end confdefs.h. */
21289
$ac_includes_default
21290
#include <libintl.h>
21292
rm -f conftest.$ac_objext
21293
if { (ac_try="$ac_compile"
21294
case "(($ac_try" in
21295
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21296
*) ac_try_echo=$ac_try;;
21298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299
(eval "$ac_compile") 2>conftest.er1
21301
grep -v '^ *+' conftest.er1 >conftest.err
21303
cat conftest.err >&5
21304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305
(exit $ac_status); } && {
21306
test -z "$ac_c_werror_flag" ||
21307
test ! -s conftest.err
21308
} && test -s conftest.$ac_objext; then
21309
ac_header_compiler=yes
21311
echo "$as_me: failed program was:" >&5
21312
sed 's/^/| /' conftest.$ac_ext >&5
21314
ac_header_compiler=no
21317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21319
echo "${ECHO_T}$ac_header_compiler" >&6; }
21321
# Is the header present?
21322
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21323
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21324
cat >conftest.$ac_ext <<_ACEOF
21327
cat confdefs.h >>conftest.$ac_ext
21328
cat >>conftest.$ac_ext <<_ACEOF
21329
/* end confdefs.h. */
21330
#include <libintl.h>
21332
if { (ac_try="$ac_cpp conftest.$ac_ext"
21333
case "(($ac_try" in
21334
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21335
*) ac_try_echo=$ac_try;;
21337
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21338
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21340
grep -v '^ *+' conftest.er1 >conftest.err
21342
cat conftest.err >&5
21343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344
(exit $ac_status); } >/dev/null && {
21345
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21346
test ! -s conftest.err
21348
ac_header_preproc=yes
21350
echo "$as_me: failed program was:" >&5
21351
sed 's/^/| /' conftest.$ac_ext >&5
21353
ac_header_preproc=no
21356
rm -f conftest.err conftest.$ac_ext
21357
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21358
echo "${ECHO_T}$ac_header_preproc" >&6; }
21360
# So? What about this header?
21361
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21363
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21364
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21365
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21366
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21367
ac_header_preproc=yes
21370
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21371
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21372
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21373
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
21374
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21375
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21376
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
21377
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
21378
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21379
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21380
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21381
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21385
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21386
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21387
if test "${ac_cv_header_libintl_h+set}" = set; then
21388
echo $ECHO_N "(cached) $ECHO_C" >&6
21390
ac_cv_header_libintl_h=$ac_header_preproc
21392
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21393
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21396
if test $ac_cv_header_libintl_h = yes; then
21397
gt_cv_func_dgettext_libintl="no"
21398
libintl_extra_libs=""
21401
# First check in libc
21403
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21404
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21405
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21406
echo $ECHO_N "(cached) $ECHO_C" >&6
21408
cat >conftest.$ac_ext <<_ACEOF
21411
cat confdefs.h >>conftest.$ac_ext
21412
cat >>conftest.$ac_ext <<_ACEOF
21413
/* end confdefs.h. */
21415
#include <libintl.h>
21420
return !ngettext ("","", 1)
21425
rm -f conftest.$ac_objext conftest$ac_exeext
21426
if { (ac_try="$ac_link"
21427
case "(($ac_try" in
21428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21429
*) ac_try_echo=$ac_try;;
21431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432
(eval "$ac_link") 2>conftest.er1
21434
grep -v '^ *+' conftest.er1 >conftest.err
21436
cat conftest.err >&5
21437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438
(exit $ac_status); } && {
21439
test -z "$ac_c_werror_flag" ||
21440
test ! -s conftest.err
21441
} && test -s conftest$ac_exeext &&
21442
$as_test_x conftest$ac_exeext; then
21443
gt_cv_func_ngettext_libc=yes
21445
echo "$as_me: failed program was:" >&5
21446
sed 's/^/| /' conftest.$ac_ext >&5
21448
gt_cv_func_ngettext_libc=no
21451
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21452
conftest$ac_exeext conftest.$ac_ext
21455
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21456
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21458
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21459
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21460
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21461
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21462
echo $ECHO_N "(cached) $ECHO_C" >&6
21464
cat >conftest.$ac_ext <<_ACEOF
21467
cat confdefs.h >>conftest.$ac_ext
21468
cat >>conftest.$ac_ext <<_ACEOF
21469
/* end confdefs.h. */
21471
#include <libintl.h>
21476
return !dgettext ("","")
21481
rm -f conftest.$ac_objext conftest$ac_exeext
21482
if { (ac_try="$ac_link"
21483
case "(($ac_try" in
21484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485
*) ac_try_echo=$ac_try;;
21487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488
(eval "$ac_link") 2>conftest.er1
21490
grep -v '^ *+' conftest.er1 >conftest.err
21492
cat conftest.err >&5
21493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494
(exit $ac_status); } && {
21495
test -z "$ac_c_werror_flag" ||
21496
test ! -s conftest.err
21497
} && test -s conftest$ac_exeext &&
21498
$as_test_x conftest$ac_exeext; then
21499
gt_cv_func_dgettext_libc=yes
21501
echo "$as_me: failed program was:" >&5
21502
sed 's/^/| /' conftest.$ac_ext >&5
21504
gt_cv_func_dgettext_libc=no
21507
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21508
conftest$ac_exeext conftest.$ac_ext
21511
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21512
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21515
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21517
for ac_func in bind_textdomain_codeset
21519
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21520
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21521
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21522
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21523
echo $ECHO_N "(cached) $ECHO_C" >&6
21525
cat >conftest.$ac_ext <<_ACEOF
21528
cat confdefs.h >>conftest.$ac_ext
21529
cat >>conftest.$ac_ext <<_ACEOF
21530
/* end confdefs.h. */
21531
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21532
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21533
#define $ac_func innocuous_$ac_func
21535
/* System header to define __stub macros and hopefully few prototypes,
21536
which can conflict with char $ac_func (); below.
21537
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21538
<limits.h> exists even on freestanding compilers. */
21541
# include <limits.h>
21543
# include <assert.h>
21548
/* Override any GCC internal prototype to avoid an error.
21549
Use char because int might match the return type of a GCC
21550
builtin and then its argument prototype would still apply. */
21555
/* The GNU C library defines this for functions which it implements
21556
to always fail with ENOSYS. Some functions are actually named
21557
something starting with __ and the normal name is an alias. */
21558
#if defined __stub_$ac_func || defined __stub___$ac_func
21565
return $ac_func ();
21570
rm -f conftest.$ac_objext conftest$ac_exeext
21571
if { (ac_try="$ac_link"
21572
case "(($ac_try" in
21573
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574
*) ac_try_echo=$ac_try;;
21576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577
(eval "$ac_link") 2>conftest.er1
21579
grep -v '^ *+' conftest.er1 >conftest.err
21581
cat conftest.err >&5
21582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583
(exit $ac_status); } && {
21584
test -z "$ac_c_werror_flag" ||
21585
test ! -s conftest.err
21586
} && test -s conftest$ac_exeext &&
21587
$as_test_x conftest$ac_exeext; then
21588
eval "$as_ac_var=yes"
21590
echo "$as_me: failed program was:" >&5
21591
sed 's/^/| /' conftest.$ac_ext >&5
21593
eval "$as_ac_var=no"
21596
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21597
conftest$ac_exeext conftest.$ac_ext
21599
ac_res=`eval echo '${'$as_ac_var'}'`
21600
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21601
echo "${ECHO_T}$ac_res" >&6; }
21602
if test `eval echo '${'$as_ac_var'}'` = yes; then
21603
cat >>confdefs.h <<_ACEOF
21604
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21613
# If we don't have everything we want, check in libintl
21615
if test "$gt_cv_func_dgettext_libc" != "yes" \
21616
|| test "$gt_cv_func_ngettext_libc" != "yes" \
21617
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21619
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21620
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21621
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21622
echo $ECHO_N "(cached) $ECHO_C" >&6
21624
ac_check_lib_save_LIBS=$LIBS
21625
LIBS="-lintl $LIBS"
21626
cat >conftest.$ac_ext <<_ACEOF
21629
cat confdefs.h >>conftest.$ac_ext
21630
cat >>conftest.$ac_ext <<_ACEOF
21631
/* end confdefs.h. */
21633
/* Override any GCC internal prototype to avoid an error.
21634
Use char because int might match the return type of a GCC
21635
builtin and then its argument prototype would still apply. */
21639
char bindtextdomain ();
21643
return bindtextdomain ();
21648
rm -f conftest.$ac_objext conftest$ac_exeext
21649
if { (ac_try="$ac_link"
21650
case "(($ac_try" in
21651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652
*) ac_try_echo=$ac_try;;
21654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655
(eval "$ac_link") 2>conftest.er1
21657
grep -v '^ *+' conftest.er1 >conftest.err
21659
cat conftest.err >&5
21660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
(exit $ac_status); } && {
21662
test -z "$ac_c_werror_flag" ||
21663
test ! -s conftest.err
21664
} && test -s conftest$ac_exeext &&
21665
$as_test_x conftest$ac_exeext; then
21666
ac_cv_lib_intl_bindtextdomain=yes
21668
echo "$as_me: failed program was:" >&5
21669
sed 's/^/| /' conftest.$ac_ext >&5
21671
ac_cv_lib_intl_bindtextdomain=no
21674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21675
conftest$ac_exeext conftest.$ac_ext
21676
LIBS=$ac_check_lib_save_LIBS
21678
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21679
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21680
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21681
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21682
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21683
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21684
echo $ECHO_N "(cached) $ECHO_C" >&6
21686
ac_check_lib_save_LIBS=$LIBS
21687
LIBS="-lintl $LIBS"
21688
cat >conftest.$ac_ext <<_ACEOF
21691
cat confdefs.h >>conftest.$ac_ext
21692
cat >>conftest.$ac_ext <<_ACEOF
21693
/* end confdefs.h. */
21695
/* Override any GCC internal prototype to avoid an error.
21696
Use char because int might match the return type of a GCC
21697
builtin and then its argument prototype would still apply. */
21705
return ngettext ();
21710
rm -f conftest.$ac_objext conftest$ac_exeext
21711
if { (ac_try="$ac_link"
21712
case "(($ac_try" in
21713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714
*) ac_try_echo=$ac_try;;
21716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717
(eval "$ac_link") 2>conftest.er1
21719
grep -v '^ *+' conftest.er1 >conftest.err
21721
cat conftest.err >&5
21722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723
(exit $ac_status); } && {
21724
test -z "$ac_c_werror_flag" ||
21725
test ! -s conftest.err
21726
} && test -s conftest$ac_exeext &&
21727
$as_test_x conftest$ac_exeext; then
21728
ac_cv_lib_intl_ngettext=yes
21730
echo "$as_me: failed program was:" >&5
21731
sed 's/^/| /' conftest.$ac_ext >&5
21733
ac_cv_lib_intl_ngettext=no
21736
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21737
conftest$ac_exeext conftest.$ac_ext
21738
LIBS=$ac_check_lib_save_LIBS
21740
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21741
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21742
if test $ac_cv_lib_intl_ngettext = yes; then
21743
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21744
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21745
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21746
echo $ECHO_N "(cached) $ECHO_C" >&6
21748
ac_check_lib_save_LIBS=$LIBS
21749
LIBS="-lintl $LIBS"
21750
cat >conftest.$ac_ext <<_ACEOF
21753
cat confdefs.h >>conftest.$ac_ext
21754
cat >>conftest.$ac_ext <<_ACEOF
21755
/* end confdefs.h. */
21757
/* Override any GCC internal prototype to avoid an error.
21758
Use char because int might match the return type of a GCC
21759
builtin and then its argument prototype would still apply. */
21767
return dgettext ();
21772
rm -f conftest.$ac_objext conftest$ac_exeext
21773
if { (ac_try="$ac_link"
21774
case "(($ac_try" in
21775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776
*) ac_try_echo=$ac_try;;
21778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779
(eval "$ac_link") 2>conftest.er1
21781
grep -v '^ *+' conftest.er1 >conftest.err
21783
cat conftest.err >&5
21784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785
(exit $ac_status); } && {
21786
test -z "$ac_c_werror_flag" ||
21787
test ! -s conftest.err
21788
} && test -s conftest$ac_exeext &&
21789
$as_test_x conftest$ac_exeext; then
21790
ac_cv_lib_intl_dgettext=yes
21792
echo "$as_me: failed program was:" >&5
21793
sed 's/^/| /' conftest.$ac_ext >&5
21795
ac_cv_lib_intl_dgettext=no
21798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21799
conftest$ac_exeext conftest.$ac_ext
21800
LIBS=$ac_check_lib_save_LIBS
21802
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21803
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21804
if test $ac_cv_lib_intl_dgettext = yes; then
21805
gt_cv_func_dgettext_libintl=yes
21813
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21814
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21815
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
21816
{ echo "$as_me:$LINENO: result: " >&5
21817
echo "${ECHO_T}" >&6; }
21818
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21819
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21820
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21821
echo $ECHO_N "(cached) $ECHO_C" >&6
21823
ac_check_lib_save_LIBS=$LIBS
21824
LIBS="-lintl -liconv $LIBS"
21825
cat >conftest.$ac_ext <<_ACEOF
21828
cat confdefs.h >>conftest.$ac_ext
21829
cat >>conftest.$ac_ext <<_ACEOF
21830
/* end confdefs.h. */
21832
/* Override any GCC internal prototype to avoid an error.
21833
Use char because int might match the return type of a GCC
21834
builtin and then its argument prototype would still apply. */
21842
return ngettext ();
21847
rm -f conftest.$ac_objext conftest$ac_exeext
21848
if { (ac_try="$ac_link"
21849
case "(($ac_try" in
21850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851
*) ac_try_echo=$ac_try;;
21853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854
(eval "$ac_link") 2>conftest.er1
21856
grep -v '^ *+' conftest.er1 >conftest.err
21858
cat conftest.err >&5
21859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860
(exit $ac_status); } && {
21861
test -z "$ac_c_werror_flag" ||
21862
test ! -s conftest.err
21863
} && test -s conftest$ac_exeext &&
21864
$as_test_x conftest$ac_exeext; then
21865
ac_cv_lib_intl_ngettext=yes
21867
echo "$as_me: failed program was:" >&5
21868
sed 's/^/| /' conftest.$ac_ext >&5
21870
ac_cv_lib_intl_ngettext=no
21873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21874
conftest$ac_exeext conftest.$ac_ext
21875
LIBS=$ac_check_lib_save_LIBS
21877
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21878
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21879
if test $ac_cv_lib_intl_ngettext = yes; then
21880
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21881
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
21882
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21883
echo $ECHO_N "(cached) $ECHO_C" >&6
21885
ac_check_lib_save_LIBS=$LIBS
21886
LIBS="-lintl -liconv $LIBS"
21887
cat >conftest.$ac_ext <<_ACEOF
21890
cat confdefs.h >>conftest.$ac_ext
21891
cat >>conftest.$ac_ext <<_ACEOF
21892
/* end confdefs.h. */
21894
/* Override any GCC internal prototype to avoid an error.
21895
Use char because int might match the return type of a GCC
21896
builtin and then its argument prototype would still apply. */
21904
return dcgettext ();
21909
rm -f conftest.$ac_objext conftest$ac_exeext
21910
if { (ac_try="$ac_link"
21911
case "(($ac_try" in
21912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913
*) ac_try_echo=$ac_try;;
21915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916
(eval "$ac_link") 2>conftest.er1
21918
grep -v '^ *+' conftest.er1 >conftest.err
21920
cat conftest.err >&5
21921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922
(exit $ac_status); } && {
21923
test -z "$ac_c_werror_flag" ||
21924
test ! -s conftest.err
21925
} && test -s conftest$ac_exeext &&
21926
$as_test_x conftest$ac_exeext; then
21927
ac_cv_lib_intl_dcgettext=yes
21929
echo "$as_me: failed program was:" >&5
21930
sed 's/^/| /' conftest.$ac_ext >&5
21932
ac_cv_lib_intl_dcgettext=no
21935
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21936
conftest$ac_exeext conftest.$ac_ext
21937
LIBS=$ac_check_lib_save_LIBS
21939
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21940
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
21941
if test $ac_cv_lib_intl_dcgettext = yes; then
21942
gt_cv_func_dgettext_libintl=yes
21943
libintl_extra_libs=-liconv
21955
# If we found libintl, then check in it for bind_textdomain_codeset();
21956
# we'll prefer libc if neither have bind_textdomain_codeset(),
21957
# and both have dgettext and ngettext
21959
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21960
glib_save_LIBS="$LIBS"
21961
LIBS="$LIBS -lintl $libintl_extra_libs"
21962
unset ac_cv_func_bind_textdomain_codeset
21964
for ac_func in bind_textdomain_codeset
21966
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21967
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21968
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21969
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21970
echo $ECHO_N "(cached) $ECHO_C" >&6
21972
cat >conftest.$ac_ext <<_ACEOF
21975
cat confdefs.h >>conftest.$ac_ext
21976
cat >>conftest.$ac_ext <<_ACEOF
21977
/* end confdefs.h. */
21978
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21979
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21980
#define $ac_func innocuous_$ac_func
21982
/* System header to define __stub macros and hopefully few prototypes,
21983
which can conflict with char $ac_func (); below.
21984
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21985
<limits.h> exists even on freestanding compilers. */
21988
# include <limits.h>
21990
# include <assert.h>
21995
/* Override any GCC internal prototype to avoid an error.
21996
Use char because int might match the return type of a GCC
21997
builtin and then its argument prototype would still apply. */
22002
/* The GNU C library defines this for functions which it implements
22003
to always fail with ENOSYS. Some functions are actually named
22004
something starting with __ and the normal name is an alias. */
22005
#if defined __stub_$ac_func || defined __stub___$ac_func
22012
return $ac_func ();
22017
rm -f conftest.$ac_objext conftest$ac_exeext
22018
if { (ac_try="$ac_link"
22019
case "(($ac_try" in
22020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021
*) ac_try_echo=$ac_try;;
22023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024
(eval "$ac_link") 2>conftest.er1
22026
grep -v '^ *+' conftest.er1 >conftest.err
22028
cat conftest.err >&5
22029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030
(exit $ac_status); } && {
22031
test -z "$ac_c_werror_flag" ||
22032
test ! -s conftest.err
22033
} && test -s conftest$ac_exeext &&
22034
$as_test_x conftest$ac_exeext; then
22035
eval "$as_ac_var=yes"
22037
echo "$as_me: failed program was:" >&5
22038
sed 's/^/| /' conftest.$ac_ext >&5
22040
eval "$as_ac_var=no"
22043
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22044
conftest$ac_exeext conftest.$ac_ext
22046
ac_res=`eval echo '${'$as_ac_var'}'`
22047
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22048
echo "${ECHO_T}$ac_res" >&6; }
22049
if test `eval echo '${'$as_ac_var'}'` = yes; then
22050
cat >>confdefs.h <<_ACEOF
22051
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22057
LIBS="$glib_save_LIBS"
22059
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22060
gt_cv_func_dgettext_libc=no
22062
if test "$gt_cv_func_dgettext_libc" = "yes" \
22063
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
22064
gt_cv_func_dgettext_libintl=no
22070
if test "$gt_cv_func_dgettext_libc" = "yes" \
22071
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
22072
gt_cv_have_gettext=yes
22075
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22076
INTLLIBS="-lintl $libintl_extra_libs"
22079
if test "$gt_cv_have_gettext" = "yes"; then
22081
cat >>confdefs.h <<\_ACEOF
22082
#define HAVE_GETTEXT 1
22085
# Extract the first word of "msgfmt", so it can be a program name with args.
22086
set dummy msgfmt; ac_word=$2
22087
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22088
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22089
if test "${ac_cv_path_MSGFMT+set}" = set; then
22090
echo $ECHO_N "(cached) $ECHO_C" >&6
22094
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22097
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22098
for ac_dir in $PATH; do
22099
test -z "$ac_dir" && ac_dir=.
22100
if test -f $ac_dir/$ac_word; then
22101
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22102
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22108
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
22112
MSGFMT="$ac_cv_path_MSGFMT"
22113
if test "$MSGFMT" != "no"; then
22114
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22115
echo "${ECHO_T}$MSGFMT" >&6; }
22117
{ echo "$as_me:$LINENO: result: no" >&5
22118
echo "${ECHO_T}no" >&6; }
22120
if test "$MSGFMT" != "no"; then
22121
glib_save_LIBS="$LIBS"
22122
LIBS="$LIBS $INTLLIBS"
22124
for ac_func in dcgettext
22126
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22127
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22128
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22129
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22130
echo $ECHO_N "(cached) $ECHO_C" >&6
22132
cat >conftest.$ac_ext <<_ACEOF
22135
cat confdefs.h >>conftest.$ac_ext
22136
cat >>conftest.$ac_ext <<_ACEOF
22137
/* end confdefs.h. */
22138
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22139
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22140
#define $ac_func innocuous_$ac_func
22142
/* System header to define __stub macros and hopefully few prototypes,
22143
which can conflict with char $ac_func (); below.
22144
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22145
<limits.h> exists even on freestanding compilers. */
22148
# include <limits.h>
22150
# include <assert.h>
22155
/* Override any GCC internal prototype to avoid an error.
22156
Use char because int might match the return type of a GCC
22157
builtin and then its argument prototype would still apply. */
22162
/* The GNU C library defines this for functions which it implements
22163
to always fail with ENOSYS. Some functions are actually named
22164
something starting with __ and the normal name is an alias. */
22165
#if defined __stub_$ac_func || defined __stub___$ac_func
22172
return $ac_func ();
22177
rm -f conftest.$ac_objext conftest$ac_exeext
22178
if { (ac_try="$ac_link"
22179
case "(($ac_try" in
22180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22181
*) ac_try_echo=$ac_try;;
22183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184
(eval "$ac_link") 2>conftest.er1
22186
grep -v '^ *+' conftest.er1 >conftest.err
22188
cat conftest.err >&5
22189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190
(exit $ac_status); } && {
22191
test -z "$ac_c_werror_flag" ||
22192
test ! -s conftest.err
22193
} && test -s conftest$ac_exeext &&
22194
$as_test_x conftest$ac_exeext; then
22195
eval "$as_ac_var=yes"
22197
echo "$as_me: failed program was:" >&5
22198
sed 's/^/| /' conftest.$ac_ext >&5
22200
eval "$as_ac_var=no"
22203
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22204
conftest$ac_exeext conftest.$ac_ext
22206
ac_res=`eval echo '${'$as_ac_var'}'`
22207
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22208
echo "${ECHO_T}$ac_res" >&6; }
22209
if test `eval echo '${'$as_ac_var'}'` = yes; then
22210
cat >>confdefs.h <<_ACEOF
22211
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22218
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22219
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22220
cat >conftest.foo <<_ACEOF
22224
"Content-Type: text/plain; charset=UTF-8\n"
22225
"Project-Id-Version: test 1.0\n"
22226
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
22227
"Last-Translator: test <foo@bar.xx>\n"
22228
"Language-Team: C <LL@li.org>\n"
22229
"MIME-Version: 1.0\n"
22230
"Content-Transfer-Encoding: 8bit\n"
22233
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22234
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237
(exit $ac_status); }; then
22238
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22239
echo "${ECHO_T}yes" >&6; }
22240
else { echo "$as_me:$LINENO: result: no" >&5
22241
echo "${ECHO_T}no" >&6; }
22242
echo "$as_me: failed input was:" >&5
22243
sed 's/^/| /' conftest.foo >&5
22246
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22247
set dummy gmsgfmt; ac_word=$2
22248
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22249
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22250
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22251
echo $ECHO_N "(cached) $ECHO_C" >&6
22255
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22259
for as_dir in $PATH
22262
test -z "$as_dir" && as_dir=.
22263
for ac_exec_ext in '' $ac_executable_extensions; do
22264
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22265
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22266
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22273
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22277
GMSGFMT=$ac_cv_path_GMSGFMT
22278
if test -n "$GMSGFMT"; then
22279
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22280
echo "${ECHO_T}$GMSGFMT" >&6; }
22282
{ echo "$as_me:$LINENO: result: no" >&5
22283
echo "${ECHO_T}no" >&6; }
22287
# Extract the first word of "xgettext", so it can be a program name with args.
22288
set dummy xgettext; ac_word=$2
22289
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22291
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22292
echo $ECHO_N "(cached) $ECHO_C" >&6
22294
case "$XGETTEXT" in
22296
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22299
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22300
for ac_dir in $PATH; do
22301
test -z "$ac_dir" && ac_dir=.
22302
if test -f $ac_dir/$ac_word; then
22303
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22304
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22310
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22314
XGETTEXT="$ac_cv_path_XGETTEXT"
22315
if test "$XGETTEXT" != ":"; then
22316
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22317
echo "${ECHO_T}$XGETTEXT" >&6; }
22319
{ echo "$as_me:$LINENO: result: no" >&5
22320
echo "${ECHO_T}no" >&6; }
22323
cat >conftest.$ac_ext <<_ACEOF
22326
cat confdefs.h >>conftest.$ac_ext
22327
cat >>conftest.$ac_ext <<_ACEOF
22328
/* end confdefs.h. */
22333
extern int _nl_msg_cat_cntr;
22334
return _nl_msg_cat_cntr
22339
rm -f conftest.$ac_objext conftest$ac_exeext
22340
if { (ac_try="$ac_link"
22341
case "(($ac_try" in
22342
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22343
*) ac_try_echo=$ac_try;;
22345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22346
(eval "$ac_link") 2>conftest.er1
22348
grep -v '^ *+' conftest.er1 >conftest.err
22350
cat conftest.err >&5
22351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352
(exit $ac_status); } && {
22353
test -z "$ac_c_werror_flag" ||
22354
test ! -s conftest.err
22355
} && test -s conftest$ac_exeext &&
22356
$as_test_x conftest$ac_exeext; then
22360
echo "$as_me: failed program was:" >&5
22361
sed 's/^/| /' conftest.$ac_ext >&5
22365
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22366
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22367
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22368
echo $ECHO_N "(cached) $ECHO_C" >&6
22370
cat >conftest.$ac_ext <<_ACEOF
22373
cat confdefs.h >>conftest.$ac_ext
22374
cat >>conftest.$ac_ext <<_ACEOF
22375
/* end confdefs.h. */
22376
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22377
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22378
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22380
/* System header to define __stub macros and hopefully few prototypes,
22381
which can conflict with char bind_textdomain_codeset (); below.
22382
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22383
<limits.h> exists even on freestanding compilers. */
22386
# include <limits.h>
22388
# include <assert.h>
22391
#undef bind_textdomain_codeset
22393
/* Override any GCC internal prototype to avoid an error.
22394
Use char because int might match the return type of a GCC
22395
builtin and then its argument prototype would still apply. */
22399
char bind_textdomain_codeset ();
22400
/* The GNU C library defines this for functions which it implements
22401
to always fail with ENOSYS. Some functions are actually named
22402
something starting with __ and the normal name is an alias. */
22403
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22410
return bind_textdomain_codeset ();
22415
rm -f conftest.$ac_objext conftest$ac_exeext
22416
if { (ac_try="$ac_link"
22417
case "(($ac_try" in
22418
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419
*) ac_try_echo=$ac_try;;
22421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422
(eval "$ac_link") 2>conftest.er1
22424
grep -v '^ *+' conftest.er1 >conftest.err
22426
cat conftest.err >&5
22427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428
(exit $ac_status); } && {
22429
test -z "$ac_c_werror_flag" ||
22430
test ! -s conftest.err
22431
} && test -s conftest$ac_exeext &&
22432
$as_test_x conftest$ac_exeext; then
22433
ac_cv_func_bind_textdomain_codeset=yes
22435
echo "$as_me: failed program was:" >&5
22436
sed 's/^/| /' conftest.$ac_ext >&5
22438
ac_cv_func_bind_textdomain_codeset=no
22441
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22442
conftest$ac_exeext conftest.$ac_ext
22444
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22445
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22446
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22463
conftest$ac_exeext conftest.$ac_ext
22464
LIBS="$glib_save_LIBS"
22467
gt_cv_have_gettext=no
22475
if test "$gt_cv_have_gettext" = "yes" ; then
22477
cat >>confdefs.h <<\_ACEOF
22478
#define ENABLE_NLS 1
22483
if test "$XGETTEXT" != ":"; then
22484
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22487
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22488
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22493
# We need to process the po/ directory.
22496
ac_config_commands="$ac_config_commands default-1"
22499
for lang in $ALL_LINGUAS; do
22500
GMOFILES="$GMOFILES $lang.gmo"
22501
POFILES="$POFILES $lang.po"
22516
if test "$gt_cv_have_gettext" = "yes"; then
22517
if test "x$ALL_LINGUAS" = "x"; then
22520
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22521
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22523
for presentlang in $ALL_LINGUAS; do
22525
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22526
desiredlanguages="$LINGUAS"
22528
desiredlanguages="$ALL_LINGUAS"
22530
for desiredlang in $desiredlanguages; do
22531
# Use the presentlang catalog if desiredlang is
22532
# a. equal to presentlang, or
22533
# b. a variant of presentlang (because in this case,
22534
# presentlang can be used as a fallback for messages
22535
# which are not translated in the desiredlang catalog).
22536
case "$desiredlang" in
22537
"$presentlang"*) useit=yes;;
22540
if test $useit = yes; then
22541
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22544
LINGUAS=$NEW_LINGUAS
22545
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
22546
echo "${ECHO_T}$LINGUAS" >&6; }
22549
if test -n "$LINGUAS"; then
22550
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22555
if test -n "$ac_aux_dir"; then
22556
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22558
if test -z "$MKINSTALLDIRS"; then
22559
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22563
test -d po || mkdir po
22564
if test "x$srcdir" != "x."; then
22565
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22566
posrcprefix="$srcdir/"
22568
posrcprefix="../$srcdir/"
22574
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22575
< $srcdir/po/POTFILES.in > po/POTFILES
22577
glib_save_prefix="$prefix"
22578
glib_save_exec_prefix="$exec_prefix"
22579
glib_save_datarootdir="$datarootdir"
22580
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22581
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
22582
datarootdir=`eval echo "${datarootdir}"`
22583
if test "x$CATOBJEXT" = "x.mo" ; then
22584
localedir=`eval echo "${libdir}/locale"`
22586
localedir=`eval echo "${datadir}/locale"`
22588
prefix="$glib_save_prefix"
22589
exec_prefix="$glib_save_exec_prefix"
22590
datarootdir="$glib_save_datarootdir"
22592
cat >>confdefs.h <<_ACEOF
22593
#define NAUTILUS_SHARE_LOCALEDIR "$localedir"
22598
# AM_GNOME_GETTEXT above substs $DATADIRNAME
22599
# this is the directory where the *.{mo,gmo} files are installed
22600
gnomelocaledir='${prefix}/${DATADIRNAME}/locale'
22605
ac_config_files="$ac_config_files Makefile src/Makefile pixmaps/Makefile interfaces/Makefile po/Makefile.in"
22607
cat >confcache <<\_ACEOF
22608
# This file is a shell script that caches the results of configure
22609
# tests run on this system so they can be shared between configure
22610
# scripts and configure runs, see configure's option --config-cache.
22611
# It is not useful on other systems. If it contains results you don't
22612
# want to keep, you may remove or edit it.
22614
# config.status only pays attention to the cache file if you give it
22615
# the --recheck option to rerun configure.
22617
# `ac_cv_env_foo' variables (set or unset) will be overridden when
22618
# loading this file, other *unset* `ac_cv_foo' will be assigned the
22619
# following values.
22623
# The following way of writing the cache mishandles newlines in values,
22624
# but we know of no workaround that is simple, portable, and efficient.
22625
# So, we kill variables containing newlines.
22626
# Ultrix sh set writes to stderr and can't be redirected directly,
22627
# and sets the high bit in the cache file unless we assign to the vars.
22629
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22630
eval ac_val=\$$ac_var
22634
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22635
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22638
_ | IFS | as_nl) ;; #(
22639
*) $as_unset $ac_var ;;
22645
case $as_nl`(ac_space=' '; set) 2>&1` in #(
22646
*${as_nl}ac_space=\ *)
22647
# `set' does not quote correctly, so add quotes (double-quote
22648
# substitution turns \\\\ into \\, and sed turns \\ into \).
22651
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22654
# `set' quotes correctly as required by POSIX, so do not add quotes.
22655
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22664
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22666
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22668
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22669
if test -w "$cache_file"; then
22670
test "x$cache_file" != "x/dev/null" &&
22671
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
22672
echo "$as_me: updating cache $cache_file" >&6;}
22673
cat confcache >$cache_file
22675
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22676
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22681
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22682
# Let make expand exec_prefix.
22683
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22685
DEFS=-DHAVE_CONFIG_H
22689
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22690
# 1. Remove the extension, and $U if already installed.
22691
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22692
ac_i=`echo "$ac_i" | sed "$ac_script"`
22693
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22694
# will be set to the directory where LIBOBJS objects are built.
22695
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22696
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22698
LIBOBJS=$ac_libobjs
22700
LTLIBOBJS=$ac_ltlibobjs
22703
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22704
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22705
Usually this means the macro was only invoked conditionally." >&5
22706
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22707
Usually this means the macro was only invoked conditionally." >&2;}
22708
{ (exit 1); exit 1; }; }
22710
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22711
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22712
Usually this means the macro was only invoked conditionally." >&5
22713
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22714
Usually this means the macro was only invoked conditionally." >&2;}
22715
{ (exit 1); exit 1; }; }
22718
ac_config_commands="$ac_config_commands po/stamp-it"
22721
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22722
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22723
Usually this means the macro was only invoked conditionally." >&5
22724
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22725
Usually this means the macro was only invoked conditionally." >&2;}
22726
{ (exit 1); exit 1; }; }
22728
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22729
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22730
Usually this means the macro was only invoked conditionally." >&5
22731
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22732
Usually this means the macro was only invoked conditionally." >&2;}
22733
{ (exit 1); exit 1; }; }
22736
: ${CONFIG_STATUS=./config.status}
22737
ac_clean_files_save=$ac_clean_files
22738
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22739
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22740
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22741
cat >$CONFIG_STATUS <<_ACEOF
22743
# Generated by $as_me.
22744
# Run this file to recreate the current configuration.
22745
# Compiler output produced by configure, useful for debugging
22746
# configure, is in config.log if it exists.
22749
ac_cs_recheck=false
22751
SHELL=\${CONFIG_SHELL-$SHELL}
22754
cat >>$CONFIG_STATUS <<\_ACEOF
22755
## --------------------- ##
22756
## M4sh Initialization. ##
22757
## --------------------- ##
22759
# Be more Bourne compatible
22760
DUALCASE=1; export DUALCASE # for MKS sh
22761
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22764
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22765
# is contrary to our usage. Disable this feature.
22766
alias -g '${1+"$@"}'='"$@"'
22767
setopt NO_GLOB_SUBST
22769
case `(set -o) 2>/dev/null` in
22770
*posix*) set -o posix ;;
22779
# Avoid depending upon Character Ranges.
22780
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22781
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22782
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22783
as_cr_digits='0123456789'
22784
as_cr_alnum=$as_cr_Letters$as_cr_digits
22786
# The user is always right.
22787
if test "${PATH_SEPARATOR+set}" != set; then
22788
echo "#! /bin/sh" >conf$$.sh
22789
echo "exit 0" >>conf$$.sh
22791
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22799
# Support unset when possible.
22800
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22808
# We need space, tab and new line, in precisely that order. Quoting is
22809
# there to prevent editors from complaining about space-tab.
22810
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22811
# splitting by setting IFS to empty value.)
22816
# Find who we are. Look in the path if we contain no directory separator.
22818
*[\\/]* ) as_myself=$0 ;;
22819
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22820
for as_dir in $PATH
22823
test -z "$as_dir" && as_dir=.
22824
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22830
# We did not find ourselves, most probably we were run as `sh COMMAND'
22831
# in which case we are not to be found in the path.
22832
if test "x$as_myself" = x; then
22835
if test ! -f "$as_myself"; then
22836
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22837
{ (exit 1); exit 1; }
22840
# Work around bugs in pre-3.0 UWIN ksh.
22841
for as_var in ENV MAIL MAILPATH
22842
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22850
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22851
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22852
LC_TELEPHONE LC_TIME
22854
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22855
eval $as_var=C; export $as_var
22857
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22861
# Required to use basename.
22862
if expr a : '\(a\)' >/dev/null 2>&1 &&
22863
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22869
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22870
as_basename=basename
22876
# Name of the executable.
22877
as_me=`$as_basename -- "$0" ||
22878
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22879
X"$0" : 'X\(//\)$' \| \
22880
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22882
sed '/^.*\/\([^/][^/]*\)\/*$/{
22901
as_lineno_1=$LINENO
22902
as_lineno_2=$LINENO
22903
test "x$as_lineno_1" != "x$as_lineno_2" &&
22904
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22906
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22907
# uniformly replaced by the line number. The first 'sed' inserts a
22908
# line-number line after each line using $LINENO; the second 'sed'
22909
# does the real work. The second script uses 'N' to pair each
22910
# line-number line with the line containing $LINENO, and appends
22911
# trailing '-' during substitution so that $LINENO is not a special
22912
# case at line end.
22913
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22914
# scripts with optimization help from Paolo Bonzini. Blame Lee
22915
# E. McMahon (1931-1989) for sed's syntax. :-)
22927
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22930
' >$as_me.lineno &&
22931
chmod +x "$as_me.lineno" ||
22932
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22933
{ (exit 1); exit 1; }; }
22935
# Don't try to exec as it changes $[0], causing all sort of problems
22936
# (the dirname of $[0] is not the place where we might find the
22937
# original and so on. Autoconf is especially sensitive to this).
22938
. "./$as_me.lineno"
22939
# Exit status is that of the last command.
22944
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22950
ECHO_C= ECHO_N= ECHO_T=
22951
case `echo -n x` in
22953
case `echo 'x\c'` in
22954
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22961
if expr a : '\(a\)' >/dev/null 2>&1 &&
22962
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22968
rm -f conf$$ conf$$.exe conf$$.file
22969
if test -d conf$$.dir; then
22970
rm -f conf$$.dir/conf$$.file
22976
if ln -s conf$$.file conf$$ 2>/dev/null; then
22978
# ... but there are two gotchas:
22979
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22980
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22981
# In both cases, we have to default to `cp -p'.
22982
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22984
elif ln conf$$.file conf$$ 2>/dev/null; then
22989
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22990
rmdir conf$$.dir 2>/dev/null
22992
if mkdir -p . 2>/dev/null; then
22995
test -d ./-p && rmdir ./-p
22999
if test -x / >/dev/null 2>&1; then
23000
as_test_x='test -x'
23002
if ls -dL / >/dev/null 2>&1; then
23009
if test -d "$1"; then
23015
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23016
???[sx]*):;;*)false;;esac;fi
23020
as_executable_p=$as_test_x
23022
# Sed expression to map a string onto a valid CPP name.
23023
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23025
# Sed expression to map a string onto a valid variable name.
23026
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23031
# Save the log message, to keep $[0] and so on meaningful, and to
23032
# report actual input values of CONFIG_FILES etc. instead of their
23033
# values after options handling.
23035
This file was extended by nautilus-share $as_me 0.7.2, which was
23036
generated by GNU Autoconf 2.61. Invocation command line was
23038
CONFIG_FILES = $CONFIG_FILES
23039
CONFIG_HEADERS = $CONFIG_HEADERS
23040
CONFIG_LINKS = $CONFIG_LINKS
23041
CONFIG_COMMANDS = $CONFIG_COMMANDS
23044
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23049
cat >>$CONFIG_STATUS <<_ACEOF
23050
# Files that config.status was made for.
23051
config_files="$ac_config_files"
23052
config_headers="$ac_config_headers"
23053
config_commands="$ac_config_commands"
23057
cat >>$CONFIG_STATUS <<\_ACEOF
23059
\`$as_me' instantiates files from templates according to the
23060
current configuration.
23062
Usage: $0 [OPTIONS] [FILE]...
23064
-h, --help print this help, then exit
23065
-V, --version print version number and configuration settings, then exit
23066
-q, --quiet do not print progress messages
23067
-d, --debug don't remove temporary files
23068
--recheck update $as_me by reconfiguring in the same conditions
23069
--file=FILE[:TEMPLATE]
23070
instantiate the configuration file FILE
23071
--header=FILE[:TEMPLATE]
23072
instantiate the configuration header FILE
23074
Configuration files:
23077
Configuration headers:
23080
Configuration commands:
23083
Report bugs to <bug-autoconf@gnu.org>."
23086
cat >>$CONFIG_STATUS <<_ACEOF
23088
nautilus-share config.status 0.7.2
23089
configured by $0, generated by GNU Autoconf 2.61,
23090
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23092
Copyright (C) 2006 Free Software Foundation, Inc.
23093
This config.status script is free software; the Free Software Foundation
23094
gives unlimited permission to copy, distribute and modify it."
23101
cat >>$CONFIG_STATUS <<\_ACEOF
23102
# If no file are specified by the user, then we need to provide default
23103
# value. By we need to know if files were specified by the user.
23109
ac_option=`expr "X$1" : 'X\([^=]*\)='`
23110
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23121
# Handling of the options.
23122
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23124
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23125
echo "$ac_cs_version"; exit ;;
23126
--debug | --debu | --deb | --de | --d | -d )
23128
--file | --fil | --fi | --f )
23130
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23131
ac_need_defaults=false;;
23132
--header | --heade | --head | --hea )
23134
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23135
ac_need_defaults=false;;
23137
# Conflict between --help and --header
23138
{ echo "$as_me: error: ambiguous option: $1
23139
Try \`$0 --help' for more information." >&2
23140
{ (exit 1); exit 1; }; };;
23141
--help | --hel | -h )
23142
echo "$ac_cs_usage"; exit ;;
23143
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
23144
| -silent | --silent | --silen | --sile | --sil | --si | --s)
23147
# This is an error.
23148
-*) { echo "$as_me: error: unrecognized option: $1
23149
Try \`$0 --help' for more information." >&2
23150
{ (exit 1); exit 1; }; } ;;
23152
*) ac_config_targets="$ac_config_targets $1"
23153
ac_need_defaults=false ;;
23159
ac_configure_extra_args=
23161
if $ac_cs_silent; then
23163
ac_configure_extra_args="$ac_configure_extra_args --silent"
23167
cat >>$CONFIG_STATUS <<_ACEOF
23168
if \$ac_cs_recheck; then
23169
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23170
CONFIG_SHELL=$SHELL
23171
export CONFIG_SHELL
23172
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23176
cat >>$CONFIG_STATUS <<\_ACEOF
23180
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23181
## Running $as_me. ##
23187
cat >>$CONFIG_STATUS <<_ACEOF
23191
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23192
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23193
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23194
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
23199
cat >>$CONFIG_STATUS <<\_ACEOF
23201
# Handling of arguments.
23202
for ac_config_target in $ac_config_targets
23204
case $ac_config_target in
23205
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23206
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23207
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23208
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23209
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23210
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23211
"pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
23212
"interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Makefile" ;;
23213
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23214
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23216
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23217
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23218
{ (exit 1); exit 1; }; };;
23223
# If the user did not use the arguments to specify the items to instantiate,
23224
# then the envvar interface is used. Set only those that are not.
23225
# We use the long form for the default assignment because of an extremely
23226
# bizarre bug on SunOS 4.1.3.
23227
if $ac_need_defaults; then
23228
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23229
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23230
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23233
# Have a temporary directory for convenience. Make it in the build tree
23234
# simply because there is no reason against having it here, and in addition,
23235
# creating and moving files from /tmp can sometimes cause problems.
23236
# Hook for its removal unless debugging.
23237
# Note that there is a small window in which the directory will not be cleaned:
23238
# after its creation but before its name has been assigned to `$tmp'.
23242
trap 'exit_status=$?
23243
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23245
trap '{ (exit 1); exit 1; }' 1 2 13 15
23247
# Create a (secure) tmp directory for tmp files.
23250
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23251
test -n "$tmp" && test -d "$tmp"
23254
tmp=./conf$$-$RANDOM
23255
(umask 077 && mkdir "$tmp")
23258
echo "$me: cannot create a temporary directory in ." >&2
23259
{ (exit 1); exit 1; }
23263
# Set up the sed scripts for CONFIG_FILES section.
23266
# No need to generate the scripts if there are no CONFIG_FILES.
23267
# This happens for instance when ./config.status config.h
23268
if test -n "$CONFIG_FILES"; then
23275
for ac_last_try in false false false false false :; do
23276
cat >conf$$subs.sed <<_ACEOF
23277
SHELL!$SHELL$ac_delim
23278
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23279
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23280
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23281
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23282
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23283
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23284
exec_prefix!$exec_prefix$ac_delim
23285
prefix!$prefix$ac_delim
23286
program_transform_name!$program_transform_name$ac_delim
23287
bindir!$bindir$ac_delim
23288
sbindir!$sbindir$ac_delim
23289
libexecdir!$libexecdir$ac_delim
23290
datarootdir!$datarootdir$ac_delim
23291
datadir!$datadir$ac_delim
23292
sysconfdir!$sysconfdir$ac_delim
23293
sharedstatedir!$sharedstatedir$ac_delim
23294
localstatedir!$localstatedir$ac_delim
23295
includedir!$includedir$ac_delim
23296
oldincludedir!$oldincludedir$ac_delim
23297
docdir!$docdir$ac_delim
23298
infodir!$infodir$ac_delim
23299
htmldir!$htmldir$ac_delim
23300
dvidir!$dvidir$ac_delim
23301
pdfdir!$pdfdir$ac_delim
23302
psdir!$psdir$ac_delim
23303
libdir!$libdir$ac_delim
23304
localedir!$localedir$ac_delim
23305
mandir!$mandir$ac_delim
23306
DEFS!$DEFS$ac_delim
23307
ECHO_C!$ECHO_C$ac_delim
23308
ECHO_N!$ECHO_N$ac_delim
23309
ECHO_T!$ECHO_T$ac_delim
23310
LIBS!$LIBS$ac_delim
23311
build_alias!$build_alias$ac_delim
23312
host_alias!$host_alias$ac_delim
23313
target_alias!$target_alias$ac_delim
23314
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23315
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23316
INSTALL_DATA!$INSTALL_DATA$ac_delim
23317
CYGPATH_W!$CYGPATH_W$ac_delim
23318
PACKAGE!$PACKAGE$ac_delim
23319
VERSION!$VERSION$ac_delim
23320
ACLOCAL!$ACLOCAL$ac_delim
23321
AUTOCONF!$AUTOCONF$ac_delim
23322
AUTOMAKE!$AUTOMAKE$ac_delim
23323
AUTOHEADER!$AUTOHEADER$ac_delim
23324
MAKEINFO!$MAKEINFO$ac_delim
23325
install_sh!$install_sh$ac_delim
23326
STRIP!$STRIP$ac_delim
23327
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23328
mkdir_p!$mkdir_p$ac_delim
23330
SET_MAKE!$SET_MAKE$ac_delim
23331
am__leading_dot!$am__leading_dot$ac_delim
23332
AMTAR!$AMTAR$ac_delim
23333
am__tar!$am__tar$ac_delim
23334
am__untar!$am__untar$ac_delim
23335
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23336
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23337
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23338
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23339
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23340
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23341
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23342
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23343
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23344
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23345
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23346
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23347
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23348
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23349
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23350
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23351
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23352
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23353
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23354
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23355
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23356
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23357
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23358
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23360
CFLAGS!$CFLAGS$ac_delim
23361
LDFLAGS!$LDFLAGS$ac_delim
23362
CPPFLAGS!$CPPFLAGS$ac_delim
23363
ac_ct_CC!$ac_ct_CC$ac_delim
23364
EXEEXT!$EXEEXT$ac_delim
23365
OBJEXT!$OBJEXT$ac_delim
23366
DEPDIR!$DEPDIR$ac_delim
23367
am__include!$am__include$ac_delim
23368
am__quote!$am__quote$ac_delim
23369
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23370
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23371
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23372
CCDEPMODE!$CCDEPMODE$ac_delim
23373
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23376
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23378
elif $ac_last_try; then
23379
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23380
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23381
{ (exit 1); exit 1; }; }
23383
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23387
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23388
if test -n "$ac_eof"; then
23389
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23390
ac_eof=`expr $ac_eof + 1`
23393
cat >>$CONFIG_STATUS <<_ACEOF
23394
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23395
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23398
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23399
s/^/s,@/; s/!/@,|#_!!_#|/
23402
s/'"$ac_delim"'$/,g/; t
23404
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23405
' >>$CONFIG_STATUS <conf$$subs.sed
23406
rm -f conf$$subs.sed
23407
cat >>$CONFIG_STATUS <<_ACEOF
23413
for ac_last_try in false false false false false :; do
23414
cat >conf$$subs.sed <<_ACEOF
23415
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23416
DATADIRNAME!$DATADIRNAME$ac_delim
23417
build!$build$ac_delim
23418
build_cpu!$build_cpu$ac_delim
23419
build_vendor!$build_vendor$ac_delim
23420
build_os!$build_os$ac_delim
23421
host!$host$ac_delim
23422
host_cpu!$host_cpu$ac_delim
23423
host_vendor!$host_vendor$ac_delim
23424
host_os!$host_os$ac_delim
23426
GREP!$GREP$ac_delim
23427
EGREP!$EGREP$ac_delim
23428
LN_S!$LN_S$ac_delim
23429
ECHO!$ECHO$ac_delim
23431
RANLIB!$RANLIB$ac_delim
23434
CXXFLAGS!$CXXFLAGS$ac_delim
23435
ac_ct_CXX!$ac_ct_CXX$ac_delim
23436
CXXDEPMODE!$CXXDEPMODE$ac_delim
23437
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23438
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23439
CXXCPP!$CXXCPP$ac_delim
23441
FFLAGS!$FFLAGS$ac_delim
23442
ac_ct_F77!$ac_ct_F77$ac_delim
23443
LIBTOOL!$LIBTOOL$ac_delim
23444
HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
23445
PKG_CONFIG!$PKG_CONFIG$ac_delim
23446
NAUTILUS_CFLAGS!$NAUTILUS_CFLAGS$ac_delim
23447
NAUTILUS_LIBS!$NAUTILUS_LIBS$ac_delim
23448
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
23449
GLIB_LIBS!$GLIB_LIBS$ac_delim
23450
LIBGLADE_CFLAGS!$LIBGLADE_CFLAGS$ac_delim
23451
LIBGLADE_LIBS!$LIBGLADE_LIBS$ac_delim
23452
pixmapsdir!$pixmapsdir$ac_delim
23453
interfacesdir!$interfacesdir$ac_delim
23454
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23455
USE_NLS!$USE_NLS$ac_delim
23456
MSGFMT!$MSGFMT$ac_delim
23457
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23458
GMSGFMT!$GMSGFMT$ac_delim
23459
XGETTEXT!$XGETTEXT$ac_delim
23460
CATALOGS!$CATALOGS$ac_delim
23461
CATOBJEXT!$CATOBJEXT$ac_delim
23462
GMOFILES!$GMOFILES$ac_delim
23463
INSTOBJEXT!$INSTOBJEXT$ac_delim
23464
INTLLIBS!$INTLLIBS$ac_delim
23465
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23466
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23467
POFILES!$POFILES$ac_delim
23468
POSUB!$POSUB$ac_delim
23469
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23470
gnomelocaledir!$gnomelocaledir$ac_delim
23471
LIBOBJS!$LIBOBJS$ac_delim
23472
LTLIBOBJS!$LTLIBOBJS$ac_delim
23475
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 58; then
23477
elif $ac_last_try; then
23478
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23479
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23480
{ (exit 1); exit 1; }; }
23482
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23486
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23487
if test -n "$ac_eof"; then
23488
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23489
ac_eof=`expr $ac_eof + 1`
23492
cat >>$CONFIG_STATUS <<_ACEOF
23493
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23494
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23497
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23498
s/^/s,@/; s/!/@,|#_!!_#|/
23501
s/'"$ac_delim"'$/,g/; t
23503
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23504
' >>$CONFIG_STATUS <conf$$subs.sed
23505
rm -f conf$$subs.sed
23506
cat >>$CONFIG_STATUS <<_ACEOF
23513
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23514
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23515
# trailing colons and then remove the whole line if VPATH becomes empty
23516
# (actually we leave an empty line to preserve line numbers).
23517
if test "x$srcdir" = x.; then
23518
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23519
s/:*\$(srcdir):*/:/
23520
s/:*\${srcdir}:*/:/
23522
s/^\([^=]*=[ ]*\):*/\1/
23528
cat >>$CONFIG_STATUS <<\_ACEOF
23529
fi # test -n "$CONFIG_FILES"
23532
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23535
:[FHLC]) ac_mode=$ac_tag; continue;;
23537
case $ac_mode$ac_tag in
23539
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23540
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23541
{ (exit 1); exit 1; }; };;
23542
:[FH]-) ac_tag=-:-;;
23543
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23560
-) ac_f="$tmp/stdin";;
23561
*) # Look for the file first in the build tree, then in the source tree
23562
# (if the path is not absolute). The absolute path cannot be DOS-style,
23563
# because $ac_f cannot contain `:'.
23567
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23569
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23570
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23571
{ (exit 1); exit 1; }; };;
23573
ac_file_inputs="$ac_file_inputs $ac_f"
23576
# Let's still pretend it is `configure' which instantiates (i.e., don't
23577
# use $as_me), people would be surprised to read:
23578
# /* config.h. Generated by config.status. */
23579
configure_input="Generated from "`IFS=:
23580
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23581
if test x"$ac_file" != x-; then
23582
configure_input="$ac_file. $configure_input"
23583
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23584
echo "$as_me: creating $ac_file" >&6;}
23588
*:-:* | *:-) cat >"$tmp/stdin";;
23593
ac_dir=`$as_dirname -- "$ac_file" ||
23594
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23595
X"$ac_file" : 'X\(//\)[^/]' \| \
23596
X"$ac_file" : 'X\(//\)$' \| \
23597
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23599
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23603
/^X\(\/\/\)[^/].*/{
23618
-*) as_dir=./$as_dir;;
23620
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23624
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23625
*) as_qdir=$as_dir;;
23627
as_dirs="'$as_qdir' $as_dirs"
23628
as_dir=`$as_dirname -- "$as_dir" ||
23629
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23630
X"$as_dir" : 'X\(//\)[^/]' \| \
23631
X"$as_dir" : 'X\(//\)$' \| \
23632
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23634
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23638
/^X\(\/\/\)[^/].*/{
23651
test -d "$as_dir" && break
23653
test -z "$as_dirs" || eval "mkdir $as_dirs"
23654
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23655
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23656
{ (exit 1); exit 1; }; }; }
23660
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23662
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23663
# A ".." for each directory in $ac_dir_suffix.
23664
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23665
case $ac_top_builddir_sub in
23666
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23667
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23670
ac_abs_top_builddir=$ac_pwd
23671
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23672
# for backward compatibility:
23673
ac_top_builddir=$ac_top_build_prefix
23676
.) # We are building in place.
23678
ac_top_srcdir=$ac_top_builddir_sub
23679
ac_abs_top_srcdir=$ac_pwd ;;
23680
[\\/]* | ?:[\\/]* ) # Absolute name.
23681
ac_srcdir=$srcdir$ac_dir_suffix;
23682
ac_top_srcdir=$srcdir
23683
ac_abs_top_srcdir=$srcdir ;;
23684
*) # Relative name.
23685
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23686
ac_top_srcdir=$ac_top_build_prefix$srcdir
23687
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23689
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23699
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23700
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23704
cat >>$CONFIG_STATUS <<\_ACEOF
23705
# If the template does not know about datarootdir, expand it.
23706
# FIXME: This hack should be removed a few years after 2.60.
23707
ac_datarootdir_hack=; ac_datarootdir_seen=
23709
case `sed -n '/datarootdir/ {
23718
' $ac_file_inputs` in
23719
*datarootdir*) ac_datarootdir_seen=yes;;
23720
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23721
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23722
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23724
cat >>$CONFIG_STATUS <<_ACEOF
23725
ac_datarootdir_hack='
23726
s&@datadir@&$datadir&g
23727
s&@docdir@&$docdir&g
23728
s&@infodir@&$infodir&g
23729
s&@localedir@&$localedir&g
23730
s&@mandir@&$mandir&g
23731
s&\\\${datarootdir}&$datarootdir&g' ;;
23735
# Neutralize VPATH when `$srcdir' = `.'.
23736
# Shell code in configure.ac might set extrasub.
23737
# FIXME: do we really want to maintain this feature?
23738
cat >>$CONFIG_STATUS <<_ACEOF
23742
cat >>$CONFIG_STATUS <<\_ACEOF
23744
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23745
s&@configure_input@&$configure_input&;t t
23746
s&@top_builddir@&$ac_top_builddir_sub&;t t
23747
s&@srcdir@&$ac_srcdir&;t t
23748
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23749
s&@top_srcdir@&$ac_top_srcdir&;t t
23750
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23751
s&@builddir@&$ac_builddir&;t t
23752
s&@abs_builddir@&$ac_abs_builddir&;t t
23753
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23754
s&@INSTALL@&$ac_INSTALL&;t t
23755
$ac_datarootdir_hack
23756
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23758
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23759
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23760
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23761
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23762
which seems to be undefined. Please make sure it is defined." >&5
23763
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23764
which seems to be undefined. Please make sure it is defined." >&2;}
23768
-) cat "$tmp/out"; rm -f "$tmp/out";;
23769
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23778
# Transform confdefs.h into a sed script `conftest.defines', that
23779
# substitutes the proper values into config.h.in to produce config.h.
23780
rm -f conftest.defines conftest.tail
23781
# First, append a space to every undef/define line, to ease matching.
23782
echo 's/$/ /' >conftest.defines
23783
# Then, protect against being on the right side of a sed subst, or in
23784
# an unquoted here document, in config.status. If some macros were
23785
# called several times there might be several #defines for the same
23786
# symbol, which is useless. But do not sort them, since the last
23787
# AC_DEFINE must be honored.
23788
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23789
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23790
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23791
# PARAMS is the parameter list in the macro definition--in most cases, it's
23792
# just an empty string.
23793
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23794
ac_dB='\\)[ (].*,\\1define\\2'
23802
s/^[ ]*#[ ]*define[ ][ ]*//
23807
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23808
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23809
' >>conftest.defines
23811
# Remove the space that was appended to ease matching.
23812
# Then replace #undef with comments. This is necessary, for
23813
# example, in the case of _POSIX_SOURCE, which is predefined and required
23814
# on some systems where configure will not decide to define it.
23815
# (The regexp can be short, since the line contains either #define or #undef.)
23817
s,^[ #]*u.*,/* & */,' >>conftest.defines
23819
# Break up conftest.defines:
23820
ac_max_sed_lines=50
23822
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23823
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23824
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23826
ac_in='$ac_file_inputs'
23827
ac_out='"$tmp/out1"'
23828
ac_nxt='"$tmp/out2"'
23832
# Write a here document:
23833
cat >>$CONFIG_STATUS <<_ACEOF
23834
# First, check the format of the line:
23835
cat >"\$tmp/defines.sed" <<\\CEOF
23836
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23837
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23841
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23843
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23844
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23845
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23846
grep . conftest.tail >/dev/null || break
23847
rm -f conftest.defines
23848
mv conftest.tail conftest.defines
23850
rm -f conftest.defines conftest.tail
23852
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23853
cat >>$CONFIG_STATUS <<\_ACEOF
23854
if test x"$ac_file" != x-; then
23855
echo "/* $configure_input */" >"$tmp/config.h"
23856
cat "$ac_result" >>"$tmp/config.h"
23857
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23858
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23859
echo "$as_me: $ac_file is unchanged" >&6;}
23862
mv "$tmp/config.h" $ac_file
23865
echo "/* $configure_input */"
23869
# Compute $ac_file's index in $config_headers.
23871
for _am_header in $config_headers :; do
23872
case $_am_header in
23873
$ac_file | $ac_file:* )
23876
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
23879
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23880
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23881
X$ac_file : 'X\(//\)[^/]' \| \
23882
X$ac_file : 'X\(//\)$' \| \
23883
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23885
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23889
/^X\(\/\/\)[^/].*/{
23901
s/.*/./; q'`/stamp-h$_am_stamp_count
23904
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23905
echo "$as_me: executing $ac_file commands" >&6;}
23910
case $ac_file$ac_mode in
23911
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23912
# Strip MF so we end up with the name of the file.
23913
mf=`echo "$mf" | sed -e 's/:.*$//'`
23914
# Check whether this is an Automake generated Makefile or not.
23915
# We used to match only the files named `Makefile.in', but
23916
# some people rename them; so instead we look at the file content.
23917
# Grep'ing the first line is not enough: some people post-process
23918
# each Makefile.in and add a new line on top of each file to say so.
23919
# So let's grep whole file.
23920
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23921
dirpart=`$as_dirname -- "$mf" ||
23922
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23923
X"$mf" : 'X\(//\)[^/]' \| \
23924
X"$mf" : 'X\(//\)$' \| \
23925
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23927
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23931
/^X\(\/\/\)[^/].*/{
23947
# Extract the definition of DEPDIR, am__include, and am__quote
23948
# from the Makefile without running `make'.
23949
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23950
test -z "$DEPDIR" && continue
23951
am__include=`sed -n 's/^am__include = //p' < "$mf"`
23952
test -z "am__include" && continue
23953
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23954
# When using ansi2knr, U may be empty or an underscore; expand it
23955
U=`sed -n 's/^U = //p' < "$mf"`
23956
# Find all dependency output files, they are included files with
23957
# $(DEPDIR) in their names. We invoke sed twice because it is the
23958
# simplest approach to changing $(DEPDIR) to its actual value in the
23960
for file in `sed -n "
23961
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23962
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23963
# Make sure the directory exists.
23964
test -f "$dirpart/$file" && continue
23965
fdir=`$as_dirname -- "$file" ||
23966
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23967
X"$file" : 'X\(//\)[^/]' \| \
23968
X"$file" : 'X\(//\)$' \| \
23969
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23971
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23975
/^X\(\/\/\)[^/].*/{
23988
{ as_dir=$dirpart/$fdir
23990
-*) as_dir=./$as_dir;;
23992
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23996
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23997
*) as_qdir=$as_dir;;
23999
as_dirs="'$as_qdir' $as_dirs"
24000
as_dir=`$as_dirname -- "$as_dir" ||
24001
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24002
X"$as_dir" : 'X\(//\)[^/]' \| \
24003
X"$as_dir" : 'X\(//\)$' \| \
24004
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24006
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24010
/^X\(\/\/\)[^/].*/{
24023
test -d "$as_dir" && break
24025
test -z "$as_dirs" || eval "mkdir $as_dirs"
24026
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24027
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24028
{ (exit 1); exit 1; }; }; }
24029
# echo "creating $dirpart/$file"
24030
echo '# dummy' > "$dirpart/$file"
24036
for file in intltool-extract intltool-merge intltool-update; do
24037
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24038
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24039
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24040
< ${ac_aux_dir}/${file}.in > ${file}.out
24041
if cmp -s ${file} ${file}.out 2>/dev/null; then
24044
mv -f ${file}.out ${file}
24046
chmod ugo+x ${file}
24051
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24052
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24055
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24060
'"s|^| $ac_top_srcdir/|" \
24061
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24063
if test ! -f "po/Makefile"; then
24064
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24065
echo "$as_me: error: po/Makefile is not ready." >&2;}
24066
{ (exit 1); exit 1; }; }
24068
mv "po/Makefile" "po/Makefile.tmp"
24069
sed '/^POTFILES =/,/[^\\]$/ {
24073
' "po/Makefile.tmp" >"po/Makefile"
24074
rm -f "po/Makefile.tmp"
24075
mv "po/stamp-it.tmp" "po/stamp-it"
24082
{ (exit 0); exit 0; }
24084
chmod +x $CONFIG_STATUS
24085
ac_clean_files=$ac_clean_files_save
24088
# configure is writing to config.log, and then calls config.status.
24089
# config.status does its own redirection, appending to config.log.
24090
# Unfortunately, on DOS this fails, as config.log is still kept open
24091
# by configure, so config.status won't be able to write to it; its
24092
# output is simply discarded. So we exec the FD to /dev/null,
24093
# effectively closing config.log, so it can be properly (re)opened and
24094
# appended to by config.status. When coming back to configure, we
24095
# need to make the FD available again.
24096
if test "$no_create" != yes; then
24098
ac_config_status_args=
24099
test "$silent" = yes &&
24100
ac_config_status_args="$ac_config_status_args --quiet"
24102
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24104
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
24105
# would make configure fail if this is the last instruction.
24106
$ac_cs_success || { (exit 1); exit 1; }