2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for cd-compiz-icon 0.0.1.
5
@%:@ Report bugs to <ChAnGFu (changfu@hollowproject.org) ()>.
7
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
@%:@ This configure script is free software; the Free Software Foundation
10
@%:@ gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
# Check that we are running under the correct shell.
556
SHELL=${CONFIG_SHELL-/bin/sh}
560
# Remove one level of quotation (which was required for Make).
561
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566
if test "X$1" = X--no-reexec; then
567
# Discard the --no-reexec flag, and continue.
569
elif test "X$1" = X--fallback-echo; then
570
# Avoid inline document here, it may be left over
572
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
# Yippee, $echo works!
576
# Restart under the correct shell.
577
exec $SHELL "$0" --no-reexec ${1+"$@"}
580
if test "X$1" = X--fallback-echo; then
581
# used as fallback echo
589
# The HP-UX ksh and POSIX shell print the target directory to stdout
591
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593
if test -z "$ECHO"; then
594
if test "X${echo_test_string+set}" != Xset; then
595
# find a string as large as possible, as long as the shell can cope with it
596
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
echo_test_string=`eval $cmd` &&
600
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
607
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
612
# The Solaris, AIX, and Digital Unix default echo programs unquote
613
# backslashes. This makes it impossible to quote backslashes using
614
# echo "$something" | sed 's/\\/\\\\/g'
616
# So, first we look for a working echo in the user's PATH.
618
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
for dir in $PATH /usr/ucb; do
621
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
test "X$echo_testing_string" = "X$echo_test_string"; then
631
if test "X$echo" = Xecho; then
632
# We didn't find a better echo, so look for alternatives.
633
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
# This shell has a builtin print -r that does the trick.
638
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
test "X$CONFIG_SHELL" != X/bin/ksh; then
640
# If we have ksh, try running configure again with it.
641
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
export ORIGINAL_CONFIG_SHELL
643
CONFIG_SHELL=/bin/ksh
645
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
test "X$echo_testing_string" = "X$echo_test_string"; then
654
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
test "X$echo_testing_string" = 'X\t' &&
656
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
test "X$echo_testing_string" = "X$echo_test_string"; then
658
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660
SHELL="$CONFIG_SHELL"
662
echo="$CONFIG_SHELL $0 --fallback-echo"
663
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
test "X$echo_testing_string" = 'X\t' &&
665
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
test "X$echo_testing_string" = "X$echo_test_string"; then
667
echo="$CONFIG_SHELL $0 --fallback-echo"
669
# maybe with a smaller string...
672
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
680
if test "$prev" != 'sed 50q "$0"'; then
681
echo_test_string=`eval $prev`
682
export echo_test_string
683
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685
# Oops. We lost completely, so just stick with echo.
694
# Copy echo and quote the copy suitably for passing to libtool from
695
# the Makefile, instead of quoting the original, which is used later.
697
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704
tagnames=${tagnames+${tagnames},}CXX
706
tagnames=${tagnames+${tagnames},}F77
708
exec 7<&0 </dev/null 6>&1
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712
# so uname gets run too.
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718
ac_default_prefix=/usr/local
720
ac_config_libobj_dir=.
726
SHELL=${CONFIG_SHELL-/bin/sh}
728
# Identity of this package.
729
PACKAGE_NAME='cd-compiz-icon'
730
PACKAGE_TARNAME='cd-compiz-icon'
731
PACKAGE_VERSION='0.0.1'
732
PACKAGE_STRING='cd-compiz-icon 0.0.1'
733
PACKAGE_BUGREPORT='ChAnGFu (changfu@hollowproject.org) ()'
735
ac_unique_file="config.h.in"
736
# Factoring default headers for most tests.
737
ac_includes_default="\
739
#ifdef HAVE_SYS_TYPES_H
740
# include <sys/types.h>
742
#ifdef HAVE_SYS_STAT_H
743
# include <sys/stat.h>
749
# ifdef HAVE_STDLIB_H
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759
#ifdef HAVE_STRINGS_H
760
# include <strings.h>
762
#ifdef HAVE_INTTYPES_H
763
# include <inttypes.h>
781
program_transform_name
822
INSTALL_STRIP_PROGRAM
873
INTLTOOL_DESKTOP_RULE
874
INTLTOOL_DIRECTORY_RULE
881
INTLTOOL_SOUNDLIST_RULE
886
INTLTOOL_XML_NOMERGE_RULE
888
INTLTOOL_SCHEMAS_RULE
890
INTLTOOL_SERVICE_RULE
921
ac_precious_vars='build_alias
941
# Initialize some variables set by options.
943
ac_init_version=false
944
# The variables have the same names as the options, with
945
# dashes changed to underlines.
953
program_transform_name=s,x,x,
961
# Installation directory options.
962
# These are left unexpanded so users can "make install exec_prefix=/foo"
963
# and all the variables that are supposed to be based on exec_prefix
964
# by default will actually change.
965
# Use braces instead of parens because sh, perl, etc. also accept them.
966
# (The list follows the same order as the GNU Coding Standards.)
967
bindir='${exec_prefix}/bin'
968
sbindir='${exec_prefix}/sbin'
969
libexecdir='${exec_prefix}/libexec'
970
datarootdir='${prefix}/share'
971
datadir='${datarootdir}'
972
sysconfdir='${prefix}/etc'
973
sharedstatedir='${prefix}/com'
974
localstatedir='${prefix}/var'
975
includedir='${prefix}/include'
976
oldincludedir='/usr/include'
977
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
978
infodir='${datarootdir}/info'
983
libdir='${exec_prefix}/lib'
984
localedir='${datarootdir}/locale'
985
mandir='${datarootdir}/man'
991
# If the previous option needs an argument, assign it.
992
if test -n "$ac_prev"; then
993
eval $ac_prev=\$ac_option
999
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003
# Accept the important Cygnus configure options, so we can diagnose typos.
1005
case $ac_dashdash$ac_option in
1009
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1011
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1012
bindir=$ac_optarg ;;
1014
-build | --build | --buil | --bui | --bu)
1015
ac_prev=build_alias ;;
1016
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1017
build_alias=$ac_optarg ;;
1019
-cache-file | --cache-file | --cache-fil | --cache-fi \
1020
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1021
ac_prev=cache_file ;;
1022
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1023
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1024
cache_file=$ac_optarg ;;
1026
--config-cache | -C)
1027
cache_file=config.cache ;;
1029
-datadir | --datadir | --datadi | --datad)
1031
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1032
datadir=$ac_optarg ;;
1034
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1035
| --dataroo | --dataro | --datar)
1036
ac_prev=datarootdir ;;
1037
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1038
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1039
datarootdir=$ac_optarg ;;
1041
-disable-* | --disable-*)
1042
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043
# Reject names that are not valid shell variable names.
1044
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1045
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1046
{ (exit 1); exit 1; }; }
1047
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1048
eval enable_$ac_feature=no ;;
1050
-docdir | --docdir | --docdi | --doc | --do)
1052
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1053
docdir=$ac_optarg ;;
1055
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1057
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1058
dvidir=$ac_optarg ;;
1060
-enable-* | --enable-*)
1061
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1062
# Reject names that are not valid shell variable names.
1063
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1064
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1065
{ (exit 1); exit 1; }; }
1066
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1067
eval enable_$ac_feature=\$ac_optarg ;;
1069
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071
| --exec | --exe | --ex)
1072
ac_prev=exec_prefix ;;
1073
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075
| --exec=* | --exe=* | --ex=*)
1076
exec_prefix=$ac_optarg ;;
1078
-gas | --gas | --ga | --g)
1079
# Obsolete; use --with-gas.
1082
-help | --help | --hel | --he | -h)
1083
ac_init_help=long ;;
1084
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085
ac_init_help=recursive ;;
1086
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087
ac_init_help=short ;;
1089
-host | --host | --hos | --ho)
1090
ac_prev=host_alias ;;
1091
-host=* | --host=* | --hos=* | --ho=*)
1092
host_alias=$ac_optarg ;;
1094
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1096
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1098
htmldir=$ac_optarg ;;
1100
-includedir | --includedir | --includedi | --included | --include \
1101
| --includ | --inclu | --incl | --inc)
1102
ac_prev=includedir ;;
1103
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104
| --includ=* | --inclu=* | --incl=* | --inc=*)
1105
includedir=$ac_optarg ;;
1107
-infodir | --infodir | --infodi | --infod | --info | --inf)
1109
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110
infodir=$ac_optarg ;;
1112
-libdir | --libdir | --libdi | --libd)
1114
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1115
libdir=$ac_optarg ;;
1117
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118
| --libexe | --libex | --libe)
1119
ac_prev=libexecdir ;;
1120
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121
| --libexe=* | --libex=* | --libe=*)
1122
libexecdir=$ac_optarg ;;
1124
-localedir | --localedir | --localedi | --localed | --locale)
1125
ac_prev=localedir ;;
1126
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127
localedir=$ac_optarg ;;
1129
-localstatedir | --localstatedir | --localstatedi | --localstated \
1130
| --localstate | --localstat | --localsta | --localst | --locals)
1131
ac_prev=localstatedir ;;
1132
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134
localstatedir=$ac_optarg ;;
1136
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1138
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139
mandir=$ac_optarg ;;
1141
-nfp | --nfp | --nf)
1142
# Obsolete; use --without-fp.
1145
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146
| --no-cr | --no-c | -n)
1149
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1153
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155
| --oldin | --oldi | --old | --ol | --o)
1156
ac_prev=oldincludedir ;;
1157
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160
oldincludedir=$ac_optarg ;;
1162
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1164
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165
prefix=$ac_optarg ;;
1167
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1168
| --program-pre | --program-pr | --program-p)
1169
ac_prev=program_prefix ;;
1170
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1171
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172
program_prefix=$ac_optarg ;;
1174
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1175
| --program-suf | --program-su | --program-s)
1176
ac_prev=program_suffix ;;
1177
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1178
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179
program_suffix=$ac_optarg ;;
1181
-program-transform-name | --program-transform-name \
1182
| --program-transform-nam | --program-transform-na \
1183
| --program-transform-n | --program-transform- \
1184
| --program-transform | --program-transfor \
1185
| --program-transfo | --program-transf \
1186
| --program-trans | --program-tran \
1187
| --progr-tra | --program-tr | --program-t)
1188
ac_prev=program_transform_name ;;
1189
-program-transform-name=* | --program-transform-name=* \
1190
| --program-transform-nam=* | --program-transform-na=* \
1191
| --program-transform-n=* | --program-transform-=* \
1192
| --program-transform=* | --program-transfor=* \
1193
| --program-transfo=* | --program-transf=* \
1194
| --program-trans=* | --program-tran=* \
1195
| --progr-tra=* | --program-tr=* | --program-t=*)
1196
program_transform_name=$ac_optarg ;;
1198
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1200
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201
pdfdir=$ac_optarg ;;
1203
-psdir | --psdir | --psdi | --psd | --ps)
1205
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1208
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209
| -silent | --silent | --silen | --sile | --sil)
1212
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1214
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1216
sbindir=$ac_optarg ;;
1218
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1219
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220
| --sharedst | --shareds | --shared | --share | --shar \
1222
ac_prev=sharedstatedir ;;
1223
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1227
sharedstatedir=$ac_optarg ;;
1229
-site | --site | --sit)
1231
-site=* | --site=* | --sit=*)
1234
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1236
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237
srcdir=$ac_optarg ;;
1239
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240
| --syscon | --sysco | --sysc | --sys | --sy)
1241
ac_prev=sysconfdir ;;
1242
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244
sysconfdir=$ac_optarg ;;
1246
-target | --target | --targe | --targ | --tar | --ta | --t)
1247
ac_prev=target_alias ;;
1248
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249
target_alias=$ac_optarg ;;
1251
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1254
-version | --version | --versio | --versi | --vers | -V)
1255
ac_init_version=: ;;
1258
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259
# Reject names that are not valid shell variable names.
1260
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1262
{ (exit 1); exit 1; }; }
1263
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1264
eval with_$ac_package=\$ac_optarg ;;
1266
-without-* | --without-*)
1267
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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=no ;;
1276
# Obsolete; use --with-x.
1279
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1280
| --x-incl | --x-inc | --x-in | --x-i)
1281
ac_prev=x_includes ;;
1282
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1283
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1284
x_includes=$ac_optarg ;;
1286
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1287
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1288
ac_prev=x_libraries ;;
1289
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1290
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1291
x_libraries=$ac_optarg ;;
1293
-*) { echo "$as_me: error: unrecognized option: $ac_option
1294
Try \`$0 --help' for more information." >&2
1295
{ (exit 1); exit 1; }; }
1299
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300
# Reject names that are not valid shell variable names.
1301
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1302
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1303
{ (exit 1); exit 1; }; }
1304
eval $ac_envvar=\$ac_optarg
1305
export $ac_envvar ;;
1308
# FIXME: should be removed in autoconf 3.0.
1309
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1310
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1312
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318
if test -n "$ac_prev"; then
1319
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1320
{ echo "$as_me: error: missing argument to $ac_option" >&2
1321
{ (exit 1); exit 1; }; }
1324
# Be sure to have absolute directory names.
1325
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326
datadir sysconfdir sharedstatedir localstatedir includedir \
1327
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328
libdir localedir mandir
1330
eval ac_val=\$$ac_var
1332
[\\/$]* | ?:[\\/]* ) continue;;
1333
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1335
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1336
{ (exit 1); exit 1; }; }
1339
# There might be people who depend on the old broken behavior: `$host'
1340
# used to hold the argument of --host etc.
1341
# FIXME: To remove some day.
1344
target=$target_alias
1346
# FIXME: To remove some day.
1347
if test "x$host_alias" != x; then
1348
if test "x$build_alias" = x; then
1349
cross_compiling=maybe
1350
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1351
If a cross compiler is detected then cross compile mode will be used." >&2
1352
elif test "x$build_alias" != "x$host_alias"; then
1358
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1360
test "$silent" = yes && exec 6>/dev/null
1363
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364
ac_ls_di=`ls -di .` &&
1365
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366
{ echo "$as_me: error: Working directory cannot be determined" >&2
1367
{ (exit 1); exit 1; }; }
1368
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1370
{ (exit 1); exit 1; }; }
1373
# Find the source files, if location was not specified.
1374
if test -z "$srcdir"; then
1375
ac_srcdir_defaulted=yes
1376
# Try the directory containing this script, then the parent directory.
1377
ac_confdir=`$as_dirname -- "$0" ||
1378
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379
X"$0" : 'X\(//\)[^/]' \| \
1380
X"$0" : 'X\(//\)$' \| \
1381
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1383
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401
if test ! -r "$srcdir/$ac_unique_file"; then
1405
ac_srcdir_defaulted=no
1407
if test ! -r "$srcdir/$ac_unique_file"; then
1408
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1410
{ (exit 1); exit 1; }; }
1412
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1415
{ (exit 1); exit 1; }; }
1417
# When building in place, set srcdir=.
1418
if test "$ac_abs_confdir" = "$ac_pwd"; then
1421
# Remove unnecessary trailing slashes from srcdir.
1422
# Double slashes in file names in object file debugging info
1423
# mess up M-x gdb in Emacs.
1425
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427
for ac_var in $ac_precious_vars; do
1428
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429
eval ac_env_${ac_var}_value=\$${ac_var}
1430
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435
# Report the --help message.
1437
if test "$ac_init_help" = "long"; then
1438
# Omit some internal or obsolete options to make the list less imposing.
1439
# This message is too long to be a string in the A/UX 3.1 sh.
1441
\`configure' configures cd-compiz-icon 0.0.1 to adapt to many kinds of systems.
1443
Usage: $0 [OPTION]... [VAR=VALUE]...
1445
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446
VAR=VALUE. See below for descriptions of some of the useful variables.
1448
Defaults for the options are specified in brackets.
1451
-h, --help display this help and exit
1452
--help=short display options specific to this package
1453
--help=recursive display the short help of all the included packages
1454
-V, --version display version information and exit
1455
-q, --quiet, --silent do not print \`checking...' messages
1456
--cache-file=FILE cache test results in FILE [disabled]
1457
-C, --config-cache alias for \`--cache-file=config.cache'
1458
-n, --no-create do not create output files
1459
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1461
Installation directories:
1462
--prefix=PREFIX install architecture-independent files in PREFIX
1463
[$ac_default_prefix]
1464
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467
By default, \`make install' will install all the files in
1468
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470
for instance \`--prefix=\$HOME'.
1472
For better control, use the options below.
1474
Fine tuning of the installation directories:
1475
--bindir=DIR user executables [EPREFIX/bin]
1476
--sbindir=DIR system admin executables [EPREFIX/sbin]
1477
--libexecdir=DIR program executables [EPREFIX/libexec]
1478
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481
--libdir=DIR object code libraries [EPREFIX/lib]
1482
--includedir=DIR C header files [PREFIX/include]
1483
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1484
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486
--infodir=DIR info documentation [DATAROOTDIR/info]
1487
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488
--mandir=DIR man documentation [DATAROOTDIR/man]
1489
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/cd-compiz-icon@:>@
1490
--htmldir=DIR html documentation [DOCDIR]
1491
--dvidir=DIR dvi documentation [DOCDIR]
1492
--pdfdir=DIR pdf documentation [DOCDIR]
1493
--psdir=DIR ps documentation [DOCDIR]
1499
--program-prefix=PREFIX prepend PREFIX to installed program names
1500
--program-suffix=SUFFIX append SUFFIX to installed program names
1501
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504
--build=BUILD configure for building on BUILD [guessed]
1505
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1509
if test -n "$ac_init_help"; then
1510
case $ac_init_help in
1511
short | recursive ) echo "Configuration of cd-compiz-icon 0.0.1:";;
1516
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1517
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1518
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1519
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1520
--enable-fast-install@<:@=PKGS@:>@
1521
optimize for fast installation @<:@default=yes@:>@
1522
--disable-dependency-tracking speeds up one-time build
1523
--enable-dependency-tracking do not reject slow dependency extractors
1524
--disable-libtool-lock avoid locking (might break parallel builds)
1527
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1528
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1529
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1530
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1532
--with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1534
Some influential environment variables:
1535
CC C compiler command
1536
CFLAGS C compiler flags
1537
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1538
nonstandard directory <lib dir>
1539
LIBS libraries to pass to the linker, e.g. -l<library>
1540
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1541
you have headers in a nonstandard directory <include dir>
1543
CXX C++ compiler command
1544
CXXFLAGS C++ compiler flags
1545
CXXCPP C++ preprocessor
1546
F77 Fortran 77 compiler command
1547
FFLAGS Fortran 77 compiler flags
1548
PKG_CONFIG path to pkg-config utility
1550
C compiler flags for PACKAGE, overriding pkg-config
1552
linker flags for PACKAGE, overriding pkg-config
1554
Use these variables to override the choices made by `configure' or to help
1555
it to find libraries and programs with nonstandard names/locations.
1557
Report bugs to <ChAnGFu (changfu@hollowproject.org) ()>.
1562
if test "$ac_init_help" = "recursive"; then
1563
# If there are subdirs, report their specific --help.
1564
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1565
test -d "$ac_dir" || continue
1569
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1572
# A ".." for each directory in $ac_dir_suffix.
1573
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1574
case $ac_top_builddir_sub in
1575
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579
ac_abs_top_builddir=$ac_pwd
1580
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581
# for backward compatibility:
1582
ac_top_builddir=$ac_top_build_prefix
1585
.) # We are building in place.
1587
ac_top_srcdir=$ac_top_builddir_sub
1588
ac_abs_top_srcdir=$ac_pwd ;;
1589
[\\/]* | ?:[\\/]* ) # Absolute name.
1590
ac_srcdir=$srcdir$ac_dir_suffix;
1591
ac_top_srcdir=$srcdir
1592
ac_abs_top_srcdir=$srcdir ;;
1594
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1595
ac_top_srcdir=$ac_top_build_prefix$srcdir
1596
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1598
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1600
cd "$ac_dir" || { ac_status=$?; continue; }
1601
# Check for guested configure.
1602
if test -f "$ac_srcdir/configure.gnu"; then
1604
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1605
elif test -f "$ac_srcdir/configure"; then
1607
$SHELL "$ac_srcdir/configure" --help=recursive
1609
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1611
cd "$ac_pwd" || { ac_status=$?; break; }
1615
test -n "$ac_init_help" && exit $ac_status
1616
if $ac_init_version; then
1618
cd-compiz-icon configure 0.0.1
1619
generated by GNU Autoconf 2.61
1621
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1622
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1623
This configure script is free software; the Free Software Foundation
1624
gives unlimited permission to copy, distribute and modify it.
1628
cat >config.log <<_ACEOF
1629
This file contains any messages produced by compilers while
1630
running configure, to aid debugging if configure makes a mistake.
1632
It was created by cd-compiz-icon $as_me 0.0.1, which was
1633
generated by GNU Autoconf 2.61. Invocation command line was
1641
@%:@@%:@ --------- @%:@@%:@
1642
@%:@@%:@ Platform. @%:@@%:@
1643
@%:@@%:@ --------- @%:@@%:@
1645
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1646
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1647
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1648
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1649
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1651
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1652
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1654
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1655
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1656
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1657
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1658
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1659
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1660
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668
test -z "$as_dir" && as_dir=.
1669
echo "PATH: $as_dir"
1678
@%:@@%:@ ----------- @%:@@%:@
1679
@%:@@%:@ Core tests. @%:@@%:@
1680
@%:@@%:@ ----------- @%:@@%:@
1685
# Keep a trace of the command line.
1686
# Strip out --no-create and --no-recursion so they do not pile up.
1687
# Strip out --silent because we don't want to record it for future runs.
1688
# Also quote any args containing shell meta-characters.
1689
# Make two passes to allow for proper duplicate-argument suppression.
1693
ac_must_keep_next=false
1699
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1700
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1701
| -silent | --silent | --silen | --sile | --sil)
1704
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1707
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1709
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1710
if test $ac_must_keep_next = true; then
1711
ac_must_keep_next=false # Got value, back to normal.
1714
*=* | --config-cache | -C | -disable-* | --disable-* \
1715
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1716
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1717
| -with-* | --with-* | -without-* | --without-* | --x)
1718
case "$ac_configure_args0 " in
1719
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1722
-* ) ac_must_keep_next=true ;;
1725
ac_configure_args="$ac_configure_args '$ac_arg'"
1730
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1731
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1733
# When interrupted or exit'd, cleanup temporary files, and complete
1734
# config.log. We remove comments because anyway the quotes in there
1735
# would cause problems or look ugly.
1736
# WARNING: Use '\'' to represent an apostrophe within the trap.
1737
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1738
trap 'exit_status=$?
1739
# Save into config.log some information that might help in debugging.
1744
@%:@@%:@ ---------------- @%:@@%:@
1745
@%:@@%:@ Cache variables. @%:@@%:@
1746
@%:@@%:@ ---------------- @%:@@%:@
1749
# The following way of writing the cache mishandles newlines in values,
1751
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1752
eval ac_val=\$$ac_var
1756
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1757
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1760
_ | IFS | as_nl) ;; #(
1761
*) $as_unset $ac_var ;;
1766
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1767
*${as_nl}ac_space=\ *)
1769
"s/'\''/'\''\\\\'\'''\''/g;
1770
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1773
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1781
@%:@@%:@ ----------------- @%:@@%:@
1782
@%:@@%:@ Output variables. @%:@@%:@
1783
@%:@@%:@ ----------------- @%:@@%:@
1786
for ac_var in $ac_subst_vars
1788
eval ac_val=\$$ac_var
1790
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792
echo "$ac_var='\''$ac_val'\''"
1796
if test -n "$ac_subst_files"; then
1798
@%:@@%:@ ------------------- @%:@@%:@
1799
@%:@@%:@ File substitutions. @%:@@%:@
1800
@%:@@%:@ ------------------- @%:@@%:@
1803
for ac_var in $ac_subst_files
1805
eval ac_val=\$$ac_var
1807
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1809
echo "$ac_var='\''$ac_val'\''"
1814
if test -s confdefs.h; then
1816
@%:@@%:@ ----------- @%:@@%:@
1817
@%:@@%:@ confdefs.h. @%:@@%:@
1818
@%:@@%:@ ----------- @%:@@%:@
1824
test "$ac_signal" != 0 &&
1825
echo "$as_me: caught signal $ac_signal"
1826
echo "$as_me: exit $exit_status"
1828
rm -f core *.core core.conftest.* &&
1829
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1832
for ac_signal in 1 2 13 15; do
1833
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1837
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1838
rm -f -r conftest* confdefs.h
1840
# Predefined preprocessor variables.
1842
cat >>confdefs.h <<_ACEOF
1843
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1847
cat >>confdefs.h <<_ACEOF
1848
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1852
cat >>confdefs.h <<_ACEOF
1853
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1857
cat >>confdefs.h <<_ACEOF
1858
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1862
cat >>confdefs.h <<_ACEOF
1863
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1867
# Let the site file select an alternate cache file if it wants to.
1868
# Prefer explicitly selected file to automatically selected ones.
1869
if test -n "$CONFIG_SITE"; then
1870
set x "$CONFIG_SITE"
1871
elif test "x$prefix" != xNONE; then
1872
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1874
set x "$ac_default_prefix/share/config.site" \
1875
"$ac_default_prefix/etc/config.site"
1880
if test -r "$ac_site_file"; then
1881
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1882
echo "$as_me: loading site script $ac_site_file" >&6;}
1883
sed 's/^/| /' "$ac_site_file" >&5
1888
if test -r "$cache_file"; then
1889
# Some versions of bash will fail to source /dev/null (special
1890
# files actually), so we avoid doing that.
1891
if test -f "$cache_file"; then
1892
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1893
echo "$as_me: loading cache $cache_file" >&6;}
1895
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1896
*) . "./$cache_file";;
1900
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1901
echo "$as_me: creating cache $cache_file" >&6;}
1905
# Check that the precious variables saved in the cache have kept the same
1907
ac_cache_corrupted=false
1908
for ac_var in $ac_precious_vars; do
1909
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1910
eval ac_new_set=\$ac_env_${ac_var}_set
1911
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1912
eval ac_new_val=\$ac_env_${ac_var}_value
1913
case $ac_old_set,$ac_new_set in
1915
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1916
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1917
ac_cache_corrupted=: ;;
1919
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1920
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1921
ac_cache_corrupted=: ;;
1924
if test "x$ac_old_val" != "x$ac_new_val"; then
1925
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1926
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1927
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1928
echo "$as_me: former value: $ac_old_val" >&2;}
1929
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1930
echo "$as_me: current value: $ac_new_val" >&2;}
1931
ac_cache_corrupted=:
1934
# Pass precious variables to config.status.
1935
if test "$ac_new_set" = set; then
1937
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1938
*) ac_arg=$ac_var=$ac_new_val ;;
1940
case " $ac_configure_args " in
1941
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1942
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1946
if $ac_cache_corrupted; then
1947
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1948
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1949
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1950
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1951
{ (exit 1); exit 1; }; }
1979
ac_cpp='$CPP $CPPFLAGS'
1980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1986
ac_config_headers="$ac_config_headers config.h"
1989
am__api_version="1.9"
1991
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1992
if test -f "$ac_dir/install-sh"; then
1994
ac_install_sh="$ac_aux_dir/install-sh -c"
1996
elif test -f "$ac_dir/install.sh"; then
1998
ac_install_sh="$ac_aux_dir/install.sh -c"
2000
elif test -f "$ac_dir/shtool"; then
2002
ac_install_sh="$ac_aux_dir/shtool install -c"
2006
if test -z "$ac_aux_dir"; then
2007
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2008
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2009
{ (exit 1); exit 1; }; }
2012
# These three variables are undocumented and unsupported,
2013
# and are intended to be withdrawn in a future Autoconf release.
2014
# They can cause serious problems if a builder's source tree is in a directory
2015
# whose full name contains unusual characters.
2016
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2017
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2018
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2021
# Find a good install program. We prefer a C program (faster),
2022
# so one script is as good as another. But avoid the broken or
2023
# incompatible versions:
2024
# SysV /etc/install, /usr/sbin/install
2025
# SunOS /usr/etc/install
2026
# IRIX /sbin/install
2028
# AmigaOS /C/install, which installs bootblocks on floppy discs
2029
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2030
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2031
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2032
# OS/2's system install, which has a completely different semantic
2033
# ./install, which can be erroneously created by make from ./install.sh.
2034
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2035
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2036
if test -z "$INSTALL"; then
2037
if test "${ac_cv_path_install+set}" = set; then
2038
echo $ECHO_N "(cached) $ECHO_C" >&6
2040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044
test -z "$as_dir" && as_dir=.
2045
# Account for people who put trailing slashes in PATH elements.
2047
./ | .// | /cC/* | \
2048
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2049
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2052
# OSF1 and SCO ODT 3.0 have their own names for install.
2053
# Don't use installbsd from OSF since it installs stuff as root
2055
for ac_prog in ginstall scoinst install; do
2056
for ac_exec_ext in '' $ac_executable_extensions; do
2057
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2058
if test $ac_prog = install &&
2059
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2060
# AIX install. It has an incompatible calling convention.
2062
elif test $ac_prog = install &&
2063
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2064
# program-specific install script used by HP pwplus--don't use.
2067
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2080
if test "${ac_cv_path_install+set}" = set; then
2081
INSTALL=$ac_cv_path_install
2083
# As a last resort, use the slow shell script. Don't cache a
2084
# value for INSTALL within a source directory, because that will
2085
# break other packages using the cache if that directory is
2086
# removed, or if the value is a relative name.
2087
INSTALL=$ac_install_sh
2090
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2091
echo "${ECHO_T}$INSTALL" >&6; }
2093
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2094
# It thinks the first close brace ends the variable substitution.
2095
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2097
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2099
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2101
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2102
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2105
echo timestamp > conftest.file
2106
# Do `set' in a subshell so we don't clobber the current shell's
2107
# arguments. Must try -L first in case configure is actually a
2108
# symlink; some systems play weird games with the mod time of symlinks
2109
# (eg FreeBSD returns the mod time of the symlink's containing
2112
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2113
if test "$*" = "X"; then
2115
set X `ls -t $srcdir/configure conftest.file`
2118
if test "$*" != "X $srcdir/configure conftest.file" \
2119
&& test "$*" != "X conftest.file $srcdir/configure"; then
2121
# If neither matched, then we have a broken ls. This can happen
2122
# if, for instance, CONFIG_SHELL is bash and it inherits a
2123
# broken ls alias from the environment. This has actually
2124
# happened. Such a system could not be considered "sane".
2125
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2126
alias in your environment" >&5
2127
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2128
alias in your environment" >&2;}
2129
{ (exit 1); exit 1; }; }
2132
test "$2" = conftest.file
2138
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2139
Check your system clock" >&5
2140
echo "$as_me: error: newly created file is older than distributed files!
2141
Check your system clock" >&2;}
2142
{ (exit 1); exit 1; }; }
2144
{ echo "$as_me:$LINENO: result: yes" >&5
2145
echo "${ECHO_T}yes" >&6; }
2146
test "$program_prefix" != NONE &&
2147
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2148
# Use a double $ so make ignores it.
2149
test "$program_suffix" != NONE &&
2150
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2151
# Double any \ or $. echo might interpret backslashes.
2152
# By default was `s,x,x', remove it if useless.
2153
cat <<\_ACEOF >conftest.sed
2154
s/[\\$]/&&/g;s/;s,x,x,$//
2156
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2159
# expand $ac_aux_dir to an absolute path
2160
am_aux_dir=`cd $ac_aux_dir && pwd`
2162
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2163
# Use eval to expand $SHELL
2164
if eval "$MISSING --run true"; then
2165
am_missing_run="$MISSING --run "
2168
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2169
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2172
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2173
# We used to keeping the `.' as first argument, in order to
2174
# allow $(mkdir_p) to be used without argument. As in
2175
# $(mkdir_p) $(somedir)
2176
# where $(somedir) is conditionally defined. However this is wrong
2178
# 1. if the package is installed by a user who cannot write `.'
2179
# make install will fail,
2180
# 2. the above comment should most certainly read
2181
# $(mkdir_p) $(DESTDIR)$(somedir)
2182
# so it does not work when $(somedir) is undefined and
2183
# $(DESTDIR) is not.
2184
# To support the latter case, we have to write
2185
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2186
# so the `.' trick is pointless.
2187
mkdir_p='mkdir -p --'
2189
# On NextStep and OpenStep, the `mkdir' command does not
2190
# recognize any option. It will interpret all options as
2191
# directories to create, and then abort because `.' already
2193
for d in ./-p ./--version;
2195
test -d $d && rmdir $d
2197
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2198
if test -f "$ac_aux_dir/mkinstalldirs"; then
2199
mkdir_p='$(mkinstalldirs)'
2201
mkdir_p='$(install_sh) -d'
2205
for ac_prog in gawk mawk nawk awk
2207
# Extract the first word of "$ac_prog", so it can be a program name with args.
2208
set dummy $ac_prog; ac_word=$2
2209
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2211
if test "${ac_cv_prog_AWK+set}" = set; then
2212
echo $ECHO_N "(cached) $ECHO_C" >&6
2214
if test -n "$AWK"; then
2215
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221
test -z "$as_dir" && as_dir=.
2222
for ac_exec_ext in '' $ac_executable_extensions; do
2223
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224
ac_cv_prog_AWK="$ac_prog"
2225
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235
if test -n "$AWK"; then
2236
{ echo "$as_me:$LINENO: result: $AWK" >&5
2237
echo "${ECHO_T}$AWK" >&6; }
2239
{ echo "$as_me:$LINENO: result: no" >&5
2240
echo "${ECHO_T}no" >&6; }
2244
test -n "$AWK" && break
2247
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2248
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2249
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2250
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2251
echo $ECHO_N "(cached) $ECHO_C" >&6
2253
cat >conftest.make <<\_ACEOF
2256
@echo '@@@%%%=$(MAKE)=@@@%%%'
2258
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2259
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2261
eval ac_cv_prog_make_${ac_make}_set=yes;;
2263
eval ac_cv_prog_make_${ac_make}_set=no;;
2267
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2268
{ echo "$as_me:$LINENO: result: yes" >&5
2269
echo "${ECHO_T}yes" >&6; }
2272
{ echo "$as_me:$LINENO: result: no" >&5
2273
echo "${ECHO_T}no" >&6; }
2274
SET_MAKE="MAKE=${MAKE-make}"
2277
rm -rf .tst 2>/dev/null
2278
mkdir .tst 2>/dev/null
2279
if test -d .tst; then
2284
rmdir .tst 2>/dev/null
2286
# test to see if srcdir already configured
2287
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2288
test -f $srcdir/config.status; then
2289
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2290
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2291
{ (exit 1); exit 1; }; }
2294
# test whether we have cygpath
2295
if test -z "$CYGPATH_W"; then
2296
if (cygpath --version) >/dev/null 2>/dev/null; then
2297
CYGPATH_W='cygpath -w'
2304
# Define the identity of the package.
2305
PACKAGE='cd-compiz-icon'
2309
cat >>confdefs.h <<_ACEOF
2310
@%:@define PACKAGE "$PACKAGE"
2314
cat >>confdefs.h <<_ACEOF
2315
@%:@define VERSION "$VERSION"
2318
# Some tools Automake needs.
2320
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2323
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2326
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2329
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2332
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2334
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2336
# Installed binaries are usually stripped using `strip' when the user
2337
# run `make install-strip'. However `strip' might not be the right
2338
# tool to use in cross-compilation environments, therefore Automake
2339
# will honor the `STRIP' environment variable to overrule this program.
2340
if test "$cross_compiling" != no; then
2341
if test -n "$ac_tool_prefix"; then
2342
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2343
set dummy ${ac_tool_prefix}strip; ac_word=$2
2344
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346
if test "${ac_cv_prog_STRIP+set}" = set; then
2347
echo $ECHO_N "(cached) $ECHO_C" >&6
2349
if test -n "$STRIP"; then
2350
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356
test -z "$as_dir" && as_dir=.
2357
for ac_exec_ext in '' $ac_executable_extensions; do
2358
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2360
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
STRIP=$ac_cv_prog_STRIP
2370
if test -n "$STRIP"; then
2371
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2372
echo "${ECHO_T}$STRIP" >&6; }
2374
{ echo "$as_me:$LINENO: result: no" >&5
2375
echo "${ECHO_T}no" >&6; }
2380
if test -z "$ac_cv_prog_STRIP"; then
2382
# Extract the first word of "strip", so it can be a program name with args.
2383
set dummy strip; ac_word=$2
2384
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2385
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2387
echo $ECHO_N "(cached) $ECHO_C" >&6
2389
if test -n "$ac_ct_STRIP"; then
2390
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396
test -z "$as_dir" && as_dir=.
2397
for ac_exec_ext in '' $ac_executable_extensions; do
2398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399
ac_cv_prog_ac_ct_STRIP="strip"
2400
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2410
if test -n "$ac_ct_STRIP"; then
2411
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2412
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2414
{ echo "$as_me:$LINENO: result: no" >&5
2415
echo "${ECHO_T}no" >&6; }
2418
if test "x$ac_ct_STRIP" = x; then
2421
case $cross_compiling:$ac_tool_warned in
2423
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2424
whose name does not start with the host triplet. If you think this
2425
configuration is useful to you, please write to autoconf@gnu.org." >&5
2426
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2427
whose name does not start with the host triplet. If you think this
2428
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2429
ac_tool_warned=yes ;;
2434
STRIP="$ac_cv_prog_STRIP"
2438
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2440
# We need awk for the "check" target. The system "awk" is bad on
2442
# Always define AMTAR for backward compatibility.
2444
AMTAR=${AMTAR-"${am_missing_run}tar"}
2446
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2452
# Check whether --enable-shared was given.
2453
if test "${enable_shared+set}" = set; then
2454
enableval=$enable_shared; p=${PACKAGE-default}
2456
yes) enable_shared=yes ;;
2457
no) enable_shared=no ;;
2460
# Look at the argument we got. We use all the common list separators.
2461
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2462
for pkg in $enableval; do
2464
if test "X$pkg" = "X$p"; then
2476
# Check whether --enable-static was given.
2477
if test "${enable_static+set}" = set; then
2478
enableval=$enable_static; p=${PACKAGE-default}
2480
yes) enable_static=yes ;;
2481
no) enable_static=no ;;
2484
# Look at the argument we got. We use all the common list separators.
2485
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2486
for pkg in $enableval; do
2488
if test "X$pkg" = "X$p"; then
2500
# Check whether --enable-fast-install was given.
2501
if test "${enable_fast_install+set}" = set; then
2502
enableval=$enable_fast_install; p=${PACKAGE-default}
2504
yes) enable_fast_install=yes ;;
2505
no) enable_fast_install=no ;;
2507
enable_fast_install=no
2508
# Look at the argument we got. We use all the common list separators.
2509
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2510
for pkg in $enableval; do
2512
if test "X$pkg" = "X$p"; then
2513
enable_fast_install=yes
2520
enable_fast_install=yes
2524
# Make sure we can run config.sub.
2525
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2526
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2527
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2528
{ (exit 1); exit 1; }; }
2530
{ echo "$as_me:$LINENO: checking build system type" >&5
2531
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2532
if test "${ac_cv_build+set}" = set; then
2533
echo $ECHO_N "(cached) $ECHO_C" >&6
2535
ac_build_alias=$build_alias
2536
test "x$ac_build_alias" = x &&
2537
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2538
test "x$ac_build_alias" = x &&
2539
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2540
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2541
{ (exit 1); exit 1; }; }
2542
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2543
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2544
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2545
{ (exit 1); exit 1; }; }
2548
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2549
echo "${ECHO_T}$ac_cv_build" >&6; }
2550
case $ac_cv_build in
2552
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2553
echo "$as_me: error: invalid value of canonical build" >&2;}
2554
{ (exit 1); exit 1; }; };;
2557
ac_save_IFS=$IFS; IFS='-'
2563
# Remember, the first character of IFS is used to create $*,
2564
# except with old shells:
2567
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2570
{ echo "$as_me:$LINENO: checking host system type" >&5
2571
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2572
if test "${ac_cv_host+set}" = set; then
2573
echo $ECHO_N "(cached) $ECHO_C" >&6
2575
if test "x$host_alias" = x; then
2576
ac_cv_host=$ac_cv_build
2578
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2579
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2580
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2581
{ (exit 1); exit 1; }; }
2585
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2586
echo "${ECHO_T}$ac_cv_host" >&6; }
2589
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2590
echo "$as_me: error: invalid value of canonical host" >&2;}
2591
{ (exit 1); exit 1; }; };;
2594
ac_save_IFS=$IFS; IFS='-'
2600
# Remember, the first character of IFS is used to create $*,
2601
# except with old shells:
2604
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2607
DEPDIR="${am__leading_dot}deps"
2609
ac_config_commands="$ac_config_commands depfiles"
2612
am_make=${MAKE-make}
2613
cat > confinc << 'END'
2618
# If we don't find an include directive, just comment out the code.
2619
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2620
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2624
# First try GNU make style include.
2625
echo "include confinc" > confmf
2626
# We grep out `Entering directory' and `Leaving directory'
2627
# messages which can occur if `w' ends up in MAKEFLAGS.
2628
# In particular we don't look at `^make:' because GNU make might
2629
# be invoked under some other name (usually "gmake"), in which
2630
# case it prints its new name instead of `make'.
2631
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2636
# Now try BSD make style include.
2637
if test "$am__include" = "#"; then
2638
echo '.include "confinc"' > confmf
2639
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2640
am__include=.include
2647
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2648
echo "${ECHO_T}$_am_result" >&6; }
2649
rm -f confinc confmf
2651
# Check whether --enable-dependency-tracking was given.
2652
if test "${enable_dependency_tracking+set}" = set; then
2653
enableval=$enable_dependency_tracking;
2656
if test "x$enable_dependency_tracking" != xno; then
2657
am_depcomp="$ac_aux_dir/depcomp"
2662
if test "x$enable_dependency_tracking" != xno; then
2673
ac_cpp='$CPP $CPPFLAGS'
2674
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2675
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2676
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2677
if test -n "$ac_tool_prefix"; then
2678
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2679
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2680
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2681
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2682
if test "${ac_cv_prog_CC+set}" = set; then
2683
echo $ECHO_N "(cached) $ECHO_C" >&6
2685
if test -n "$CC"; then
2686
ac_cv_prog_CC="$CC" # Let the user override the test.
2688
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692
test -z "$as_dir" && as_dir=.
2693
for ac_exec_ext in '' $ac_executable_extensions; do
2694
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2696
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706
if test -n "$CC"; then
2707
{ echo "$as_me:$LINENO: result: $CC" >&5
2708
echo "${ECHO_T}$CC" >&6; }
2710
{ echo "$as_me:$LINENO: result: no" >&5
2711
echo "${ECHO_T}no" >&6; }
2716
if test -z "$ac_cv_prog_CC"; then
2718
# Extract the first word of "gcc", so it can be a program name with args.
2719
set dummy gcc; ac_word=$2
2720
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2721
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2722
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2723
echo $ECHO_N "(cached) $ECHO_C" >&6
2725
if test -n "$ac_ct_CC"; then
2726
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732
test -z "$as_dir" && as_dir=.
2733
for ac_exec_ext in '' $ac_executable_extensions; do
2734
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735
ac_cv_prog_ac_ct_CC="gcc"
2736
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2745
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2746
if test -n "$ac_ct_CC"; then
2747
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2748
echo "${ECHO_T}$ac_ct_CC" >&6; }
2750
{ echo "$as_me:$LINENO: result: no" >&5
2751
echo "${ECHO_T}no" >&6; }
2754
if test "x$ac_ct_CC" = x; then
2757
case $cross_compiling:$ac_tool_warned in
2759
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2760
whose name does not start with the host triplet. If you think this
2761
configuration is useful to you, please write to autoconf@gnu.org." >&5
2762
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2763
whose name does not start with the host triplet. If you think this
2764
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2765
ac_tool_warned=yes ;;
2773
if test -z "$CC"; then
2774
if test -n "$ac_tool_prefix"; then
2775
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776
set dummy ${ac_tool_prefix}cc; ac_word=$2
2777
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2779
if test "${ac_cv_prog_CC+set}" = set; then
2780
echo $ECHO_N "(cached) $ECHO_C" >&6
2782
if test -n "$CC"; then
2783
ac_cv_prog_CC="$CC" # Let the user override the test.
2785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
test -z "$as_dir" && as_dir=.
2790
for ac_exec_ext in '' $ac_executable_extensions; do
2791
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792
ac_cv_prog_CC="${ac_tool_prefix}cc"
2793
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803
if test -n "$CC"; then
2804
{ echo "$as_me:$LINENO: result: $CC" >&5
2805
echo "${ECHO_T}$CC" >&6; }
2807
{ echo "$as_me:$LINENO: result: no" >&5
2808
echo "${ECHO_T}no" >&6; }
2814
if test -z "$CC"; then
2815
# Extract the first word of "cc", so it can be a program name with args.
2816
set dummy cc; ac_word=$2
2817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2818
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2819
if test "${ac_cv_prog_CC+set}" = set; then
2820
echo $ECHO_N "(cached) $ECHO_C" >&6
2822
if test -n "$CC"; then
2823
ac_cv_prog_CC="$CC" # Let the user override the test.
2826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830
test -z "$as_dir" && as_dir=.
2831
for ac_exec_ext in '' $ac_executable_extensions; do
2832
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2834
ac_prog_rejected=yes
2838
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845
if test $ac_prog_rejected = yes; then
2846
# We found a bogon in the path, so make sure we never use it.
2847
set dummy $ac_cv_prog_CC
2849
if test $@%:@ != 0; then
2850
# We chose a different compiler from the bogus one.
2851
# However, it has the same basename, so the bogon will be chosen
2852
# first if we set CC to just the basename; use the full file name.
2854
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2860
if test -n "$CC"; then
2861
{ echo "$as_me:$LINENO: result: $CC" >&5
2862
echo "${ECHO_T}$CC" >&6; }
2864
{ echo "$as_me:$LINENO: result: no" >&5
2865
echo "${ECHO_T}no" >&6; }
2870
if test -z "$CC"; then
2871
if test -n "$ac_tool_prefix"; then
2872
for ac_prog in cl.exe
2874
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2875
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2876
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2877
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2878
if test "${ac_cv_prog_CC+set}" = set; then
2879
echo $ECHO_N "(cached) $ECHO_C" >&6
2881
if test -n "$CC"; then
2882
ac_cv_prog_CC="$CC" # Let the user override the test.
2884
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888
test -z "$as_dir" && as_dir=.
2889
for ac_exec_ext in '' $ac_executable_extensions; do
2890
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2892
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902
if test -n "$CC"; then
2903
{ echo "$as_me:$LINENO: result: $CC" >&5
2904
echo "${ECHO_T}$CC" >&6; }
2906
{ echo "$as_me:$LINENO: result: no" >&5
2907
echo "${ECHO_T}no" >&6; }
2911
test -n "$CC" && break
2914
if test -z "$CC"; then
2916
for ac_prog in cl.exe
2918
# Extract the first word of "$ac_prog", so it can be a program name with args.
2919
set dummy $ac_prog; ac_word=$2
2920
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2921
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2922
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2923
echo $ECHO_N "(cached) $ECHO_C" >&6
2925
if test -n "$ac_ct_CC"; then
2926
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932
test -z "$as_dir" && as_dir=.
2933
for ac_exec_ext in '' $ac_executable_extensions; do
2934
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935
ac_cv_prog_ac_ct_CC="$ac_prog"
2936
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2945
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2946
if test -n "$ac_ct_CC"; then
2947
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2948
echo "${ECHO_T}$ac_ct_CC" >&6; }
2950
{ echo "$as_me:$LINENO: result: no" >&5
2951
echo "${ECHO_T}no" >&6; }
2955
test -n "$ac_ct_CC" && break
2958
if test "x$ac_ct_CC" = x; then
2961
case $cross_compiling:$ac_tool_warned in
2963
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2964
whose name does not start with the host triplet. If you think this
2965
configuration is useful to you, please write to autoconf@gnu.org." >&5
2966
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2967
whose name does not start with the host triplet. If you think this
2968
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2969
ac_tool_warned=yes ;;
2978
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2979
See \`config.log' for more details." >&5
2980
echo "$as_me: error: no acceptable C compiler found in \$PATH
2981
See \`config.log' for more details." >&2;}
2982
{ (exit 1); exit 1; }; }
2984
# Provide some information about the compiler.
2985
echo "$as_me:$LINENO: checking for C compiler version" >&5
2986
ac_compiler=`set X $ac_compile; echo $2`
2987
{ (ac_try="$ac_compiler --version >&5"
2989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990
*) ac_try_echo=$ac_try;;
2992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993
(eval "$ac_compiler --version >&5") 2>&5
2995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996
(exit $ac_status); }
2997
{ (ac_try="$ac_compiler -v >&5"
2999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000
*) ac_try_echo=$ac_try;;
3002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003
(eval "$ac_compiler -v >&5") 2>&5
3005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006
(exit $ac_status); }
3007
{ (ac_try="$ac_compiler -V >&5"
3009
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010
*) ac_try_echo=$ac_try;;
3012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013
(eval "$ac_compiler -V >&5") 2>&5
3015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016
(exit $ac_status); }
3018
cat >conftest.$ac_ext <<_ACEOF
3021
cat confdefs.h >>conftest.$ac_ext
3022
cat >>conftest.$ac_ext <<_ACEOF
3023
/* end confdefs.h. */
3033
ac_clean_files_save=$ac_clean_files
3034
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3035
# Try to create an executable without -o first, disregard a.out.
3036
# It will help us diagnose broken compilers, and finding out an intuition
3038
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3039
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3040
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3042
# List of possible output files, starting from the most likely.
3043
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3044
# only as a last resort. b.out is created by i960 compilers.
3045
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3047
# The IRIX 6 linker writes into existing files which may not be
3048
# executable, retaining their permissions. Remove them first so a
3049
# subsequent execution test works.
3051
for ac_file in $ac_files
3054
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3055
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3060
if { (ac_try="$ac_link_default"
3062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063
*) ac_try_echo=$ac_try;;
3065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066
(eval "$ac_link_default") 2>&5
3068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069
(exit $ac_status); }; then
3070
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3071
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3072
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3073
# so that the user can short-circuit this test for compilers unknown to
3075
for ac_file in $ac_files ''
3077
test -f "$ac_file" || continue
3079
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3082
# We found the default executable, but exeext='' is most
3086
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3088
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090
# We set ac_cv_exeext here because the later test for it is not
3091
# safe: cross compilers may not add the suffix if given an `-o'
3092
# argument, so we may need to know it at that point already.
3093
# Even if this section looks crufty: it has the advantage of
3100
test "$ac_cv_exeext" = no && ac_cv_exeext=
3106
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3107
echo "${ECHO_T}$ac_file" >&6; }
3108
if test -z "$ac_file"; then
3109
echo "$as_me: failed program was:" >&5
3110
sed 's/^/| /' conftest.$ac_ext >&5
3112
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3113
See \`config.log' for more details." >&5
3114
echo "$as_me: error: C compiler cannot create executables
3115
See \`config.log' for more details." >&2;}
3116
{ (exit 77); exit 77; }; }
3119
ac_exeext=$ac_cv_exeext
3121
# Check that the compiler produces executables we can run. If not, either
3122
# the compiler is broken, or we cross compile.
3123
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3124
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3125
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3126
# If not cross compiling, check that we can run a simple program.
3127
if test "$cross_compiling" != yes; then
3128
if { ac_try='./$ac_file'
3129
{ (case "(($ac_try" in
3130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131
*) ac_try_echo=$ac_try;;
3133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3134
(eval "$ac_try") 2>&5
3136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137
(exit $ac_status); }; }; then
3140
if test "$cross_compiling" = maybe; then
3143
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3144
If you meant to cross compile, use \`--host'.
3145
See \`config.log' for more details." >&5
3146
echo "$as_me: error: cannot run C compiled programs.
3147
If you meant to cross compile, use \`--host'.
3148
See \`config.log' for more details." >&2;}
3149
{ (exit 1); exit 1; }; }
3153
{ echo "$as_me:$LINENO: result: yes" >&5
3154
echo "${ECHO_T}yes" >&6; }
3156
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3157
ac_clean_files=$ac_clean_files_save
3158
# Check that the compiler produces executables we can run. If not, either
3159
# the compiler is broken, or we cross compile.
3160
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3161
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3162
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3163
echo "${ECHO_T}$cross_compiling" >&6; }
3165
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3166
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3167
if { (ac_try="$ac_link"
3169
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170
*) ac_try_echo=$ac_try;;
3172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173
(eval "$ac_link") 2>&5
3175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
(exit $ac_status); }; then
3177
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3178
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3179
# work properly (i.e., refer to `conftest.exe'), while it won't with
3181
for ac_file in conftest.exe conftest conftest.*; do
3182
test -f "$ac_file" || continue
3184
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3185
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3191
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3192
See \`config.log' for more details." >&5
3193
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3194
See \`config.log' for more details." >&2;}
3195
{ (exit 1); exit 1; }; }
3198
rm -f conftest$ac_cv_exeext
3199
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3200
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3202
rm -f conftest.$ac_ext
3203
EXEEXT=$ac_cv_exeext
3205
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3206
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3207
if test "${ac_cv_objext+set}" = set; then
3208
echo $ECHO_N "(cached) $ECHO_C" >&6
3210
cat >conftest.$ac_ext <<_ACEOF
3213
cat confdefs.h >>conftest.$ac_ext
3214
cat >>conftest.$ac_ext <<_ACEOF
3215
/* end confdefs.h. */
3225
rm -f conftest.o conftest.obj
3226
if { (ac_try="$ac_compile"
3228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229
*) ac_try_echo=$ac_try;;
3231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232
(eval "$ac_compile") 2>&5
3234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235
(exit $ac_status); }; then
3236
for ac_file in conftest.o conftest.obj conftest.*; do
3237
test -f "$ac_file" || continue;
3239
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3240
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3245
echo "$as_me: failed program was:" >&5
3246
sed 's/^/| /' conftest.$ac_ext >&5
3248
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3249
See \`config.log' for more details." >&5
3250
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3251
See \`config.log' for more details." >&2;}
3252
{ (exit 1); exit 1; }; }
3255
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3258
echo "${ECHO_T}$ac_cv_objext" >&6; }
3259
OBJEXT=$ac_cv_objext
3261
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3262
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3263
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3264
echo $ECHO_N "(cached) $ECHO_C" >&6
3266
cat >conftest.$ac_ext <<_ACEOF
3269
cat confdefs.h >>conftest.$ac_ext
3270
cat >>conftest.$ac_ext <<_ACEOF
3271
/* end confdefs.h. */
3284
rm -f conftest.$ac_objext
3285
if { (ac_try="$ac_compile"
3287
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288
*) ac_try_echo=$ac_try;;
3290
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3291
(eval "$ac_compile") 2>conftest.er1
3293
grep -v '^ *+' conftest.er1 >conftest.err
3295
cat conftest.err >&5
3296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
(exit $ac_status); } && {
3298
test -z "$ac_c_werror_flag" ||
3299
test ! -s conftest.err
3300
} && test -s conftest.$ac_objext; then
3303
echo "$as_me: failed program was:" >&5
3304
sed 's/^/| /' conftest.$ac_ext >&5
3309
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3313
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3314
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3315
GCC=`test $ac_compiler_gnu = yes && echo yes`
3316
ac_test_CFLAGS=${CFLAGS+set}
3317
ac_save_CFLAGS=$CFLAGS
3318
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3319
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3320
if test "${ac_cv_prog_cc_g+set}" = set; then
3321
echo $ECHO_N "(cached) $ECHO_C" >&6
3323
ac_save_c_werror_flag=$ac_c_werror_flag
3324
ac_c_werror_flag=yes
3327
cat >conftest.$ac_ext <<_ACEOF
3330
cat confdefs.h >>conftest.$ac_ext
3331
cat >>conftest.$ac_ext <<_ACEOF
3332
/* end confdefs.h. */
3342
rm -f conftest.$ac_objext
3343
if { (ac_try="$ac_compile"
3345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346
*) ac_try_echo=$ac_try;;
3348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349
(eval "$ac_compile") 2>conftest.er1
3351
grep -v '^ *+' conftest.er1 >conftest.err
3353
cat conftest.err >&5
3354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
(exit $ac_status); } && {
3356
test -z "$ac_c_werror_flag" ||
3357
test ! -s conftest.err
3358
} && test -s conftest.$ac_objext; then
3361
echo "$as_me: failed program was:" >&5
3362
sed 's/^/| /' conftest.$ac_ext >&5
3365
cat >conftest.$ac_ext <<_ACEOF
3368
cat confdefs.h >>conftest.$ac_ext
3369
cat >>conftest.$ac_ext <<_ACEOF
3370
/* end confdefs.h. */
3380
rm -f conftest.$ac_objext
3381
if { (ac_try="$ac_compile"
3383
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
*) ac_try_echo=$ac_try;;
3386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387
(eval "$ac_compile") 2>conftest.er1
3389
grep -v '^ *+' conftest.er1 >conftest.err
3391
cat conftest.err >&5
3392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393
(exit $ac_status); } && {
3394
test -z "$ac_c_werror_flag" ||
3395
test ! -s conftest.err
3396
} && test -s conftest.$ac_objext; then
3399
echo "$as_me: failed program was:" >&5
3400
sed 's/^/| /' conftest.$ac_ext >&5
3402
ac_c_werror_flag=$ac_save_c_werror_flag
3404
cat >conftest.$ac_ext <<_ACEOF
3407
cat confdefs.h >>conftest.$ac_ext
3408
cat >>conftest.$ac_ext <<_ACEOF
3409
/* end confdefs.h. */
3419
rm -f conftest.$ac_objext
3420
if { (ac_try="$ac_compile"
3422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423
*) ac_try_echo=$ac_try;;
3425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426
(eval "$ac_compile") 2>conftest.er1
3428
grep -v '^ *+' conftest.er1 >conftest.err
3430
cat conftest.err >&5
3431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432
(exit $ac_status); } && {
3433
test -z "$ac_c_werror_flag" ||
3434
test ! -s conftest.err
3435
} && test -s conftest.$ac_objext; then
3438
echo "$as_me: failed program was:" >&5
3439
sed 's/^/| /' conftest.$ac_ext >&5
3444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451
ac_c_werror_flag=$ac_save_c_werror_flag
3453
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3454
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3455
if test "$ac_test_CFLAGS" = set; then
3456
CFLAGS=$ac_save_CFLAGS
3457
elif test $ac_cv_prog_cc_g = yes; then
3458
if test "$GCC" = yes; then
3464
if test "$GCC" = yes; then
3470
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3471
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3472
if test "${ac_cv_prog_cc_c89+set}" = set; then
3473
echo $ECHO_N "(cached) $ECHO_C" >&6
3475
ac_cv_prog_cc_c89=no
3477
cat >conftest.$ac_ext <<_ACEOF
3480
cat confdefs.h >>conftest.$ac_ext
3481
cat >>conftest.$ac_ext <<_ACEOF
3482
/* end confdefs.h. */
3485
#include <sys/types.h>
3486
#include <sys/stat.h>
3487
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488
struct buf { int x; };
3489
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490
static char *e (p, i)
3496
static char *f (char * (*g) (char **, int), char **p, ...)
3501
s = g (p, va_arg (v,int));
3506
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507
function prototypes and stuff, but not '\xHH' hex character constants.
3508
These don't provoke an error unfortunately, instead are silently treated
3509
as 'x'. The following induces an error, until -std is added to get
3510
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511
array size at least. It's necessary to write '\x00'==0 to get something
3512
that's true only with -std. */
3513
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516
inside strings and character constants. */
3518
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520
int test (int i, double x);
3521
struct s1 {int (*f) (int a);};
3522
struct s2 {int (*f) (double a);};
3523
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537
CC="$ac_save_CC $ac_arg"
3538
rm -f conftest.$ac_objext
3539
if { (ac_try="$ac_compile"
3541
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542
*) ac_try_echo=$ac_try;;
3544
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3545
(eval "$ac_compile") 2>conftest.er1
3547
grep -v '^ *+' conftest.er1 >conftest.err
3549
cat conftest.err >&5
3550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
(exit $ac_status); } && {
3552
test -z "$ac_c_werror_flag" ||
3553
test ! -s conftest.err
3554
} && test -s conftest.$ac_objext; then
3555
ac_cv_prog_cc_c89=$ac_arg
3557
echo "$as_me: failed program was:" >&5
3558
sed 's/^/| /' conftest.$ac_ext >&5
3563
rm -f core conftest.err conftest.$ac_objext
3564
test "x$ac_cv_prog_cc_c89" != "xno" && break
3566
rm -f conftest.$ac_ext
3571
case "x$ac_cv_prog_cc_c89" in
3573
{ echo "$as_me:$LINENO: result: none needed" >&5
3574
echo "${ECHO_T}none needed" >&6; } ;;
3576
{ echo "$as_me:$LINENO: result: unsupported" >&5
3577
echo "${ECHO_T}unsupported" >&6; } ;;
3579
CC="$CC $ac_cv_prog_cc_c89"
3580
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3581
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3586
ac_cpp='$CPP $CPPFLAGS'
3587
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591
depcc="$CC" am_compiler_list=
3593
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3594
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3595
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3596
echo $ECHO_N "(cached) $ECHO_C" >&6
3598
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3599
# We make a subdir and do the tests there. Otherwise we can end up
3600
# making bogus files that we don't know about and never remove. For
3601
# instance it was reported that on HP-UX the gcc test will end up
3602
# making a dummy file named `D' -- because `-MD' means `put the output
3605
# Copy depcomp to subdir because otherwise we won't find it if we're
3606
# using a relative directory.
3607
cp "$am_depcomp" conftest.dir
3609
# We will build objects and dependencies in a subdirectory because
3610
# it helps to detect inapplicable dependency modes. For instance
3611
# both Tru64's cc and ICC support -MD to output dependencies as a
3612
# side effect of compilation, but ICC will put the dependencies in
3613
# the current directory while Tru64 will put them in the object
3617
am_cv_CC_dependencies_compiler_type=none
3618
if test "$am_compiler_list" = ""; then
3619
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3621
for depmode in $am_compiler_list; do
3622
# Setup a source with many dependencies, because some compilers
3623
# like to wrap large dependency lists on column 80 (with \), and
3624
# we should not choose a depcomp mode which is confused by this.
3626
# We need to recreate these files for each test, as the compiler may
3627
# overwrite some of them when testing with obscure command lines.
3628
# This happens at least with the AIX C compiler.
3630
for i in 1 2 3 4 5 6; do
3631
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3632
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3633
# Solaris 8's {/usr,}/bin/sh.
3634
touch sub/conftst$i.h
3636
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3640
# after this tag, mechanisms are not by side-effect, so they'll
3641
# only be used when explicitly requested
3642
if test "x$enable_dependency_tracking" = xyes; then
3650
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3651
# mode. It turns out that the SunPro C++ compiler does not properly
3652
# handle `-M -o', and we need to detect this.
3653
if depmode=$depmode \
3654
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3655
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3656
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3657
>/dev/null 2>conftest.err &&
3658
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3659
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3660
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3661
# icc doesn't choke on unknown options, it will just issue warnings
3662
# or remarks (even with -Werror). So we grep stderr for any message
3663
# that says an option was ignored or not supported.
3664
# When given -MP, icc 7.0 and 7.1 complain thusly:
3665
# icc: Command line warning: ignoring option '-M'; no argument required
3666
# The diagnosis changed in icc 8.0:
3667
# icc: Command line remark: option '-MP' not supported
3668
if (grep 'ignoring option' conftest.err ||
3669
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3670
am_cv_CC_dependencies_compiler_type=$depmode
3679
am_cv_CC_dependencies_compiler_type=none
3683
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3684
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3685
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3690
test "x$enable_dependency_tracking" != xno \
3691
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3693
am__fastdepCC_FALSE='#'
3695
am__fastdepCC_TRUE='#'
3696
am__fastdepCC_FALSE=
3700
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3701
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3702
if test "${lt_cv_path_SED+set}" = set; then
3703
echo $ECHO_N "(cached) $ECHO_C" >&6
3705
# Loop through the user's path and test for sed and gsed.
3706
# Then use that list of sed's as ones to test for truncation.
3707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711
test -z "$as_dir" && as_dir=.
3712
for lt_ac_prog in sed gsed; do
3713
for ac_exec_ext in '' $ac_executable_extensions; do
3714
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3715
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3723
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3724
# along with /bin/sed that truncates output.
3725
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3726
test ! -f $lt_ac_sed && continue
3727
cat /dev/null > conftest.in
3729
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3730
# Check for GNU sed and select it if it is found.
3731
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3732
lt_cv_path_SED=$lt_ac_sed
3736
cat conftest.in conftest.in >conftest.tmp
3737
mv conftest.tmp conftest.in
3738
cp conftest.in conftest.nl
3740
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3741
cmp -s conftest.out conftest.nl || break
3742
# 10000 chars as input seems more than enough
3743
test $lt_ac_count -gt 10 && break
3744
lt_ac_count=`expr $lt_ac_count + 1`
3745
if test $lt_ac_count -gt $lt_ac_max; then
3746
lt_ac_max=$lt_ac_count
3747
lt_cv_path_SED=$lt_ac_sed
3756
{ echo "$as_me:$LINENO: result: $SED" >&5
3757
echo "${ECHO_T}$SED" >&6; }
3759
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3760
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3761
if test "${ac_cv_path_GREP+set}" = set; then
3762
echo $ECHO_N "(cached) $ECHO_C" >&6
3764
# Extract the first word of "grep ggrep" to use in msg output
3765
if test -z "$GREP"; then
3766
set dummy grep ggrep; ac_prog_name=$2
3767
if test "${ac_cv_path_GREP+set}" = set; then
3768
echo $ECHO_N "(cached) $ECHO_C" >&6
3770
ac_path_GREP_found=false
3771
# Loop through the user's path and test for each of PROGNAME-LIST
3772
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3776
test -z "$as_dir" && as_dir=.
3777
for ac_prog in grep ggrep; do
3778
for ac_exec_ext in '' $ac_executable_extensions; do
3779
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3780
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3781
# Check for GNU ac_path_GREP and select it if it is found.
3782
# Check for GNU $ac_path_GREP
3783
case `"$ac_path_GREP" --version 2>&1` in
3785
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3788
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3791
cat "conftest.in" "conftest.in" >"conftest.tmp"
3792
mv "conftest.tmp" "conftest.in"
3793
cp "conftest.in" "conftest.nl"
3794
echo 'GREP' >> "conftest.nl"
3795
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3796
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3797
ac_count=`expr $ac_count + 1`
3798
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3799
# Best one so far, save it but keep looking for a better one
3800
ac_cv_path_GREP="$ac_path_GREP"
3801
ac_path_GREP_max=$ac_count
3803
# 10*(2^10) chars as input seems more than enough
3804
test $ac_count -gt 10 && break
3806
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3810
$ac_path_GREP_found && break 3
3820
GREP="$ac_cv_path_GREP"
3821
if test -z "$GREP"; then
3822
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3823
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3824
{ (exit 1); exit 1; }; }
3828
ac_cv_path_GREP=$GREP
3833
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3834
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3835
GREP="$ac_cv_path_GREP"
3838
{ echo "$as_me:$LINENO: checking for egrep" >&5
3839
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3840
if test "${ac_cv_path_EGREP+set}" = set; then
3841
echo $ECHO_N "(cached) $ECHO_C" >&6
3843
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3844
then ac_cv_path_EGREP="$GREP -E"
3846
# Extract the first word of "egrep" to use in msg output
3847
if test -z "$EGREP"; then
3848
set dummy egrep; ac_prog_name=$2
3849
if test "${ac_cv_path_EGREP+set}" = set; then
3850
echo $ECHO_N "(cached) $ECHO_C" >&6
3852
ac_path_EGREP_found=false
3853
# Loop through the user's path and test for each of PROGNAME-LIST
3854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3858
test -z "$as_dir" && as_dir=.
3859
for ac_prog in egrep; do
3860
for ac_exec_ext in '' $ac_executable_extensions; do
3861
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3862
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3863
# Check for GNU ac_path_EGREP and select it if it is found.
3864
# Check for GNU $ac_path_EGREP
3865
case `"$ac_path_EGREP" --version 2>&1` in
3867
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3870
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3873
cat "conftest.in" "conftest.in" >"conftest.tmp"
3874
mv "conftest.tmp" "conftest.in"
3875
cp "conftest.in" "conftest.nl"
3876
echo 'EGREP' >> "conftest.nl"
3877
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3878
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3879
ac_count=`expr $ac_count + 1`
3880
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3881
# Best one so far, save it but keep looking for a better one
3882
ac_cv_path_EGREP="$ac_path_EGREP"
3883
ac_path_EGREP_max=$ac_count
3885
# 10*(2^10) chars as input seems more than enough
3886
test $ac_count -gt 10 && break
3888
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3892
$ac_path_EGREP_found && break 3
3902
EGREP="$ac_cv_path_EGREP"
3903
if test -z "$EGREP"; then
3904
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3905
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3906
{ (exit 1); exit 1; }; }
3910
ac_cv_path_EGREP=$EGREP
3916
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3917
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3918
EGREP="$ac_cv_path_EGREP"
3922
# Check whether --with-gnu-ld was given.
3923
if test "${with_gnu_ld+set}" = set; then
3924
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3930
if test "$GCC" = yes; then
3931
# Check if gcc -print-prog-name=ld gives a path.
3932
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3933
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3936
# gcc leaves a trailing carriage return which upsets mingw
3937
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3939
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3942
# Accept absolute paths.
3944
re_direlt='/[^/][^/]*/\.\./'
3945
# Canonicalize the pathname of ld
3946
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3947
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3948
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3950
test -z "$LD" && LD="$ac_prog"
3953
# If it fails, then pretend we aren't using GCC.
3957
# If it is relative, then search for the first ld in PATH.
3961
elif test "$with_gnu_ld" = yes; then
3962
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
3963
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3965
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3966
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3968
if test "${lt_cv_path_LD+set}" = set; then
3969
echo $ECHO_N "(cached) $ECHO_C" >&6
3971
if test -z "$LD"; then
3972
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3973
for ac_dir in $PATH; do
3975
test -z "$ac_dir" && ac_dir=.
3976
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3977
lt_cv_path_LD="$ac_dir/$ac_prog"
3978
# Check to see if the program is GNU ld. I'd rather use --version,
3979
# but apparently some variants of GNU ld only accept -v.
3980
# Break only if it was the GNU/non-GNU ld that we prefer.
3981
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3982
*GNU* | *'with BFD'*)
3983
test "$with_gnu_ld" != no && break
3986
test "$with_gnu_ld" != yes && break
3993
lt_cv_path_LD="$LD" # Let the user override the test with a path.
3998
if test -n "$LD"; then
3999
{ echo "$as_me:$LINENO: result: $LD" >&5
4000
echo "${ECHO_T}$LD" >&6; }
4002
{ echo "$as_me:$LINENO: result: no" >&5
4003
echo "${ECHO_T}no" >&6; }
4005
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4006
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4007
{ (exit 1); exit 1; }; }
4008
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4009
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4010
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4011
echo $ECHO_N "(cached) $ECHO_C" >&6
4013
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4014
case `$LD -v 2>&1 </dev/null` in
4015
*GNU* | *'with BFD'*)
4016
lt_cv_prog_gnu_ld=yes
4019
lt_cv_prog_gnu_ld=no
4023
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4024
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4025
with_gnu_ld=$lt_cv_prog_gnu_ld
4028
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4029
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4030
if test "${lt_cv_ld_reload_flag+set}" = set; then
4031
echo $ECHO_N "(cached) $ECHO_C" >&6
4033
lt_cv_ld_reload_flag='-r'
4035
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4036
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4037
reload_flag=$lt_cv_ld_reload_flag
4038
case $reload_flag in
4040
*) reload_flag=" $reload_flag" ;;
4042
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4045
if test "$GCC" = yes; then
4046
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4048
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4053
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4054
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4055
if test "${lt_cv_path_NM+set}" = set; then
4056
echo $ECHO_N "(cached) $ECHO_C" >&6
4058
if test -n "$NM"; then
4059
# Let the user override the test.
4062
lt_nm_to_check="${ac_tool_prefix}nm"
4063
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4064
lt_nm_to_check="$lt_nm_to_check nm"
4066
for lt_tmp_nm in $lt_nm_to_check; do
4067
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4068
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4070
test -z "$ac_dir" && ac_dir=.
4071
tmp_nm="$ac_dir/$lt_tmp_nm"
4072
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4073
# Check to see if the nm accepts a BSD-compat flag.
4074
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4075
# nm: unknown option "B" ignored
4076
# Tru64's nm complains that /dev/null is an invalid object file
4077
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4078
*/dev/null* | *'Invalid file or object type'*)
4079
lt_cv_path_NM="$tmp_nm -B"
4083
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4085
lt_cv_path_NM="$tmp_nm -p"
4089
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4090
continue # so that we can try to find one that supports BSD flags
4099
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4102
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4103
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4106
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4107
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4109
if test "$LN_S" = "ln -s"; then
4110
{ echo "$as_me:$LINENO: result: yes" >&5
4111
echo "${ECHO_T}yes" >&6; }
4113
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4114
echo "${ECHO_T}no, using $LN_S" >&6; }
4117
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4118
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4119
if test "${lt_cv_deplibs_check_method+set}" = set; then
4120
echo $ECHO_N "(cached) $ECHO_C" >&6
4122
lt_cv_file_magic_cmd='$MAGIC_CMD'
4123
lt_cv_file_magic_test_file=
4124
lt_cv_deplibs_check_method='unknown'
4125
# Need to set the preceding variable on all platforms that support
4126
# interlibrary dependencies.
4127
# 'none' -- dependencies not supported.
4128
# `unknown' -- same as none, but documents that we really don't know.
4129
# 'pass_all' -- all dependencies passed with no checks.
4130
# 'test_compile' -- check by making test program.
4131
# 'file_magic [[regex]]' -- check by looking for files in library path
4132
# which responds to the $file_magic_cmd with a given extended regex.
4133
# If you have `file' or equivalent on your system and you're not sure
4134
# whether `pass_all' will *always* work, you probably want this one.
4138
lt_cv_deplibs_check_method=pass_all
4142
lt_cv_deplibs_check_method=pass_all
4146
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4147
lt_cv_file_magic_cmd='/usr/bin/file -L'
4148
lt_cv_file_magic_test_file=/shlib/libc.so
4152
# func_win32_libid is a shell function defined in ltmain.sh
4153
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4154
lt_cv_file_magic_cmd='func_win32_libid'
4158
# Base MSYS/MinGW do not provide the 'file' command needed by
4159
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4160
# unless we find 'file', for example because we are cross-compiling.
4161
if ( file / ) >/dev/null 2>&1; then
4162
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4163
lt_cv_file_magic_cmd='func_win32_libid'
4165
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4166
lt_cv_file_magic_cmd='$OBJDUMP -f'
4170
darwin* | rhapsody*)
4171
lt_cv_deplibs_check_method=pass_all
4174
freebsd* | dragonfly*)
4175
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4178
# Not sure whether the presence of OpenBSD here was a mistake.
4179
# Let's accept both of them until this is cleared up.
4180
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4181
lt_cv_file_magic_cmd=/usr/bin/file
4182
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4186
lt_cv_deplibs_check_method=pass_all
4191
lt_cv_deplibs_check_method=pass_all
4194
hpux10.20* | hpux11*)
4195
lt_cv_file_magic_cmd=/usr/bin/file
4198
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4199
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4202
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]'
4203
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4206
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4207
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4213
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4214
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4217
irix5* | irix6* | nonstopux*)
4219
*-32|*"-32 ") libmagic=32-bit;;
4220
*-n32|*"-n32 ") libmagic=N32;;
4221
*-64|*"-64 ") libmagic=64-bit;;
4222
*) libmagic=never-match;;
4224
lt_cv_deplibs_check_method=pass_all
4227
# This must be Linux ELF.
4228
linux* | k*bsd*-gnu)
4229
lt_cv_deplibs_check_method=pass_all
4232
netbsd* | netbsdelf*-gnu)
4233
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4234
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4236
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4241
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4242
lt_cv_file_magic_cmd=/usr/bin/file
4243
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4247
lt_cv_deplibs_check_method=unknown
4251
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4252
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4254
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4258
osf3* | osf4* | osf5*)
4259
lt_cv_deplibs_check_method=pass_all
4263
lt_cv_deplibs_check_method=pass_all
4267
lt_cv_deplibs_check_method=pass_all
4271
case $host_vendor in
4273
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]'
4274
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4277
lt_cv_deplibs_check_method=pass_all
4280
lt_cv_file_magic_cmd='/bin/file'
4281
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4284
lt_cv_file_magic_cmd='/bin/file'
4285
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4286
lt_cv_file_magic_test_file=/lib/libc.so
4289
lt_cv_deplibs_check_method=pass_all
4292
lt_cv_deplibs_check_method=pass_all
4297
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4298
lt_cv_deplibs_check_method=pass_all
4303
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4304
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4305
file_magic_cmd=$lt_cv_file_magic_cmd
4306
deplibs_check_method=$lt_cv_deplibs_check_method
4307
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4312
# If no C compiler was specified, use CC.
4315
# If no C compiler flags were specified, use CFLAGS.
4316
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4318
# Allow CC to be a program name with arguments.
4322
# Check whether --enable-libtool-lock was given.
4323
if test "${enable_libtool_lock+set}" = set; then
4324
enableval=$enable_libtool_lock;
4327
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4329
# Some flags need to be propagated to the compiler or linker for good
4333
# Find out which ABI we are using.
4334
echo 'int i;' > conftest.$ac_ext
4335
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336
(eval $ac_compile) 2>&5
4338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339
(exit $ac_status); }; then
4340
case `/usr/bin/file conftest.$ac_objext` in
4352
# Find out which ABI we are using.
4353
echo '#line __oline__ "configure"' > conftest.$ac_ext
4354
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355
(eval $ac_compile) 2>&5
4357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358
(exit $ac_status); }; then
4359
if test "$lt_cv_prog_gnu_ld" = yes; then
4360
case `/usr/bin/file conftest.$ac_objext` in
4362
LD="${LD-ld} -melf32bsmip"
4365
LD="${LD-ld} -melf32bmipn32"
4368
LD="${LD-ld} -melf64bmip"
4372
case `/usr/bin/file conftest.$ac_objext` in
4388
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4389
s390*-*linux*|sparc*-*linux*)
4390
# Find out which ABI we are using.
4391
echo 'int i;' > conftest.$ac_ext
4392
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393
(eval $ac_compile) 2>&5
4395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
(exit $ac_status); }; then
4397
case `/usr/bin/file conftest.o` in
4400
x86_64-*kfreebsd*-gnu)
4401
LD="${LD-ld} -m elf_i386_fbsd"
4404
LD="${LD-ld} -m elf_i386"
4406
ppc64-*linux*|powerpc64-*linux*)
4407
LD="${LD-ld} -m elf32ppclinux"
4410
LD="${LD-ld} -m elf_s390"
4413
LD="${LD-ld} -m elf32_sparc"
4419
x86_64-*kfreebsd*-gnu)
4420
LD="${LD-ld} -m elf_x86_64_fbsd"
4423
LD="${LD-ld} -m elf_x86_64"
4425
ppc*-*linux*|powerpc*-*linux*)
4426
LD="${LD-ld} -m elf64ppc"
4429
LD="${LD-ld} -m elf64_s390"
4432
LD="${LD-ld} -m elf64_sparc"
4442
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
4443
SAVE_CFLAGS="$CFLAGS"
4444
CFLAGS="$CFLAGS -belf"
4445
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4446
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4447
if test "${lt_cv_cc_needs_belf+set}" = set; then
4448
echo $ECHO_N "(cached) $ECHO_C" >&6
4451
ac_cpp='$CPP $CPPFLAGS'
4452
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456
cat >conftest.$ac_ext <<_ACEOF
4459
cat confdefs.h >>conftest.$ac_ext
4460
cat >>conftest.$ac_ext <<_ACEOF
4461
/* end confdefs.h. */
4471
rm -f conftest.$ac_objext conftest$ac_exeext
4472
if { (ac_try="$ac_link"
4474
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475
*) ac_try_echo=$ac_try;;
4477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478
(eval "$ac_link") 2>conftest.er1
4480
grep -v '^ *+' conftest.er1 >conftest.err
4482
cat conftest.err >&5
4483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484
(exit $ac_status); } && {
4485
test -z "$ac_c_werror_flag" ||
4486
test ! -s conftest.err
4487
} && test -s conftest$ac_exeext &&
4488
$as_test_x conftest$ac_exeext; then
4489
lt_cv_cc_needs_belf=yes
4491
echo "$as_me: failed program was:" >&5
4492
sed 's/^/| /' conftest.$ac_ext >&5
4494
lt_cv_cc_needs_belf=no
4497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4498
conftest$ac_exeext conftest.$ac_ext
4500
ac_cpp='$CPP $CPPFLAGS'
4501
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4502
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4503
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4506
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4507
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4508
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4509
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4510
CFLAGS="$SAVE_CFLAGS"
4514
# Find out which ABI we are using.
4515
echo 'int i;' > conftest.$ac_ext
4516
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517
(eval $ac_compile) 2>&5
4519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520
(exit $ac_status); }; then
4521
case `/usr/bin/file conftest.o` in
4523
case $lt_cv_prog_gnu_ld in
4524
yes*) LD="${LD-ld} -m elf64_sparc" ;;
4525
*) LD="${LD-ld} -64" ;;
4536
need_locks="$enable_libtool_lock"
4540
ac_cpp='$CPP $CPPFLAGS'
4541
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4544
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4545
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4546
# On Suns, sometimes $CPP names a directory.
4547
if test -n "$CPP" && test -d "$CPP"; then
4550
if test -z "$CPP"; then
4551
if test "${ac_cv_prog_CPP+set}" = set; then
4552
echo $ECHO_N "(cached) $ECHO_C" >&6
4554
# Double quotes because CPP needs to be expanded
4555
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4558
for ac_c_preproc_warn_flag in '' yes
4560
# Use a header file that comes with gcc, so configuring glibc
4561
# with a fresh cross-compiler works.
4562
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4563
# <limits.h> exists even on freestanding compilers.
4564
# On the NeXT, cc -E runs the code through the compiler's parser,
4565
# not just through cpp. "Syntax error" is here to catch this case.
4566
cat >conftest.$ac_ext <<_ACEOF
4569
cat confdefs.h >>conftest.$ac_ext
4570
cat >>conftest.$ac_ext <<_ACEOF
4571
/* end confdefs.h. */
4573
@%:@ include <limits.h>
4575
@%:@ include <assert.h>
4579
if { (ac_try="$ac_cpp conftest.$ac_ext"
4581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4582
*) ac_try_echo=$ac_try;;
4584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4585
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4587
grep -v '^ *+' conftest.er1 >conftest.err
4589
cat conftest.err >&5
4590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591
(exit $ac_status); } >/dev/null && {
4592
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4593
test ! -s conftest.err
4597
echo "$as_me: failed program was:" >&5
4598
sed 's/^/| /' conftest.$ac_ext >&5
4600
# Broken: fails on valid input.
4604
rm -f conftest.err conftest.$ac_ext
4606
# OK, works on sane cases. Now check whether nonexistent headers
4607
# can be detected and how.
4608
cat >conftest.$ac_ext <<_ACEOF
4611
cat confdefs.h >>conftest.$ac_ext
4612
cat >>conftest.$ac_ext <<_ACEOF
4613
/* end confdefs.h. */
4614
@%:@include <ac_nonexistent.h>
4616
if { (ac_try="$ac_cpp conftest.$ac_ext"
4618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619
*) ac_try_echo=$ac_try;;
4621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4622
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4624
grep -v '^ *+' conftest.er1 >conftest.err
4626
cat conftest.err >&5
4627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628
(exit $ac_status); } >/dev/null && {
4629
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4630
test ! -s conftest.err
4632
# Broken: success on invalid input.
4635
echo "$as_me: failed program was:" >&5
4636
sed 's/^/| /' conftest.$ac_ext >&5
4638
# Passes both tests.
4643
rm -f conftest.err conftest.$ac_ext
4646
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4647
rm -f conftest.err conftest.$ac_ext
4648
if $ac_preproc_ok; then
4660
{ echo "$as_me:$LINENO: result: $CPP" >&5
4661
echo "${ECHO_T}$CPP" >&6; }
4663
for ac_c_preproc_warn_flag in '' yes
4665
# Use a header file that comes with gcc, so configuring glibc
4666
# with a fresh cross-compiler works.
4667
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4668
# <limits.h> exists even on freestanding compilers.
4669
# On the NeXT, cc -E runs the code through the compiler's parser,
4670
# not just through cpp. "Syntax error" is here to catch this case.
4671
cat >conftest.$ac_ext <<_ACEOF
4674
cat confdefs.h >>conftest.$ac_ext
4675
cat >>conftest.$ac_ext <<_ACEOF
4676
/* end confdefs.h. */
4678
@%:@ include <limits.h>
4680
@%:@ include <assert.h>
4684
if { (ac_try="$ac_cpp conftest.$ac_ext"
4686
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4687
*) ac_try_echo=$ac_try;;
4689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4690
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4692
grep -v '^ *+' conftest.er1 >conftest.err
4694
cat conftest.err >&5
4695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696
(exit $ac_status); } >/dev/null && {
4697
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4698
test ! -s conftest.err
4702
echo "$as_me: failed program was:" >&5
4703
sed 's/^/| /' conftest.$ac_ext >&5
4705
# Broken: fails on valid input.
4709
rm -f conftest.err conftest.$ac_ext
4711
# OK, works on sane cases. Now check whether nonexistent headers
4712
# can be detected and how.
4713
cat >conftest.$ac_ext <<_ACEOF
4716
cat confdefs.h >>conftest.$ac_ext
4717
cat >>conftest.$ac_ext <<_ACEOF
4718
/* end confdefs.h. */
4719
@%:@include <ac_nonexistent.h>
4721
if { (ac_try="$ac_cpp conftest.$ac_ext"
4723
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724
*) ac_try_echo=$ac_try;;
4726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4729
grep -v '^ *+' conftest.er1 >conftest.err
4731
cat conftest.err >&5
4732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733
(exit $ac_status); } >/dev/null && {
4734
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4735
test ! -s conftest.err
4737
# Broken: success on invalid input.
4740
echo "$as_me: failed program was:" >&5
4741
sed 's/^/| /' conftest.$ac_ext >&5
4743
# Passes both tests.
4748
rm -f conftest.err conftest.$ac_ext
4751
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4752
rm -f conftest.err conftest.$ac_ext
4753
if $ac_preproc_ok; then
4756
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4757
See \`config.log' for more details." >&5
4758
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4759
See \`config.log' for more details." >&2;}
4760
{ (exit 1); exit 1; }; }
4764
ac_cpp='$CPP $CPPFLAGS'
4765
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4766
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4767
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4770
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4771
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4772
if test "${ac_cv_header_stdc+set}" = set; then
4773
echo $ECHO_N "(cached) $ECHO_C" >&6
4775
cat >conftest.$ac_ext <<_ACEOF
4778
cat confdefs.h >>conftest.$ac_ext
4779
cat >>conftest.$ac_ext <<_ACEOF
4780
/* end confdefs.h. */
4794
rm -f conftest.$ac_objext
4795
if { (ac_try="$ac_compile"
4797
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798
*) ac_try_echo=$ac_try;;
4800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4801
(eval "$ac_compile") 2>conftest.er1
4803
grep -v '^ *+' conftest.er1 >conftest.err
4805
cat conftest.err >&5
4806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807
(exit $ac_status); } && {
4808
test -z "$ac_c_werror_flag" ||
4809
test ! -s conftest.err
4810
} && test -s conftest.$ac_objext; then
4811
ac_cv_header_stdc=yes
4813
echo "$as_me: failed program was:" >&5
4814
sed 's/^/| /' conftest.$ac_ext >&5
4816
ac_cv_header_stdc=no
4819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821
if test $ac_cv_header_stdc = yes; then
4822
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4823
cat >conftest.$ac_ext <<_ACEOF
4826
cat confdefs.h >>conftest.$ac_ext
4827
cat >>conftest.$ac_ext <<_ACEOF
4828
/* end confdefs.h. */
4832
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4833
$EGREP "memchr" >/dev/null 2>&1; then
4836
ac_cv_header_stdc=no
4842
if test $ac_cv_header_stdc = yes; then
4843
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4844
cat >conftest.$ac_ext <<_ACEOF
4847
cat confdefs.h >>conftest.$ac_ext
4848
cat >>conftest.$ac_ext <<_ACEOF
4849
/* end confdefs.h. */
4853
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4854
$EGREP "free" >/dev/null 2>&1; then
4857
ac_cv_header_stdc=no
4863
if test $ac_cv_header_stdc = yes; then
4864
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4865
if test "$cross_compiling" = yes; then
4868
cat >conftest.$ac_ext <<_ACEOF
4871
cat confdefs.h >>conftest.$ac_ext
4872
cat >>conftest.$ac_ext <<_ACEOF
4873
/* end confdefs.h. */
4876
#if ((' ' & 0x0FF) == 0x020)
4877
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4878
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4880
# define ISLOWER(c) \
4881
(('a' <= (c) && (c) <= 'i') \
4882
|| ('j' <= (c) && (c) <= 'r') \
4883
|| ('s' <= (c) && (c) <= 'z'))
4884
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4887
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4892
for (i = 0; i < 256; i++)
4893
if (XOR (islower (i), ISLOWER (i))
4894
|| toupper (i) != TOUPPER (i))
4899
rm -f conftest$ac_exeext
4900
if { (ac_try="$ac_link"
4902
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903
*) ac_try_echo=$ac_try;;
4905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906
(eval "$ac_link") 2>&5
4908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4910
{ (case "(($ac_try" in
4911
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912
*) ac_try_echo=$ac_try;;
4914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915
(eval "$ac_try") 2>&5
4917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918
(exit $ac_status); }; }; then
4921
echo "$as_me: program exited with status $ac_status" >&5
4922
echo "$as_me: failed program was:" >&5
4923
sed 's/^/| /' conftest.$ac_ext >&5
4926
ac_cv_header_stdc=no
4928
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4934
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4935
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4936
if test $ac_cv_header_stdc = yes; then
4938
cat >>confdefs.h <<\_ACEOF
4939
@%:@define STDC_HEADERS 1
4944
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4954
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4955
inttypes.h stdint.h unistd.h
4957
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4958
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4959
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4960
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4961
echo $ECHO_N "(cached) $ECHO_C" >&6
4963
cat >conftest.$ac_ext <<_ACEOF
4966
cat confdefs.h >>conftest.$ac_ext
4967
cat >>conftest.$ac_ext <<_ACEOF
4968
/* end confdefs.h. */
4969
$ac_includes_default
4971
@%:@include <$ac_header>
4973
rm -f conftest.$ac_objext
4974
if { (ac_try="$ac_compile"
4976
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977
*) ac_try_echo=$ac_try;;
4979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980
(eval "$ac_compile") 2>conftest.er1
4982
grep -v '^ *+' conftest.er1 >conftest.err
4984
cat conftest.err >&5
4985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986
(exit $ac_status); } && {
4987
test -z "$ac_c_werror_flag" ||
4988
test ! -s conftest.err
4989
} && test -s conftest.$ac_objext; then
4990
eval "$as_ac_Header=yes"
4992
echo "$as_me: failed program was:" >&5
4993
sed 's/^/| /' conftest.$ac_ext >&5
4995
eval "$as_ac_Header=no"
4998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000
ac_res=`eval echo '${'$as_ac_Header'}'`
5001
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5002
echo "${ECHO_T}$ac_res" >&6; }
5003
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5004
cat >>confdefs.h <<_ACEOF
5005
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5014
for ac_header in dlfcn.h
5016
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5017
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5018
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5019
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5020
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5021
echo $ECHO_N "(cached) $ECHO_C" >&6
5023
ac_res=`eval echo '${'$as_ac_Header'}'`
5024
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5025
echo "${ECHO_T}$ac_res" >&6; }
5027
# Is the header compilable?
5028
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5029
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5030
cat >conftest.$ac_ext <<_ACEOF
5033
cat confdefs.h >>conftest.$ac_ext
5034
cat >>conftest.$ac_ext <<_ACEOF
5035
/* end confdefs.h. */
5036
$ac_includes_default
5037
@%:@include <$ac_header>
5039
rm -f conftest.$ac_objext
5040
if { (ac_try="$ac_compile"
5042
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043
*) ac_try_echo=$ac_try;;
5045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046
(eval "$ac_compile") 2>conftest.er1
5048
grep -v '^ *+' conftest.er1 >conftest.err
5050
cat conftest.err >&5
5051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052
(exit $ac_status); } && {
5053
test -z "$ac_c_werror_flag" ||
5054
test ! -s conftest.err
5055
} && test -s conftest.$ac_objext; then
5056
ac_header_compiler=yes
5058
echo "$as_me: failed program was:" >&5
5059
sed 's/^/| /' conftest.$ac_ext >&5
5061
ac_header_compiler=no
5064
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5066
echo "${ECHO_T}$ac_header_compiler" >&6; }
5068
# Is the header present?
5069
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5070
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5071
cat >conftest.$ac_ext <<_ACEOF
5074
cat confdefs.h >>conftest.$ac_ext
5075
cat >>conftest.$ac_ext <<_ACEOF
5076
/* end confdefs.h. */
5077
@%:@include <$ac_header>
5079
if { (ac_try="$ac_cpp conftest.$ac_ext"
5081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5082
*) ac_try_echo=$ac_try;;
5084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5085
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5087
grep -v '^ *+' conftest.er1 >conftest.err
5089
cat conftest.err >&5
5090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091
(exit $ac_status); } >/dev/null && {
5092
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5093
test ! -s conftest.err
5095
ac_header_preproc=yes
5097
echo "$as_me: failed program was:" >&5
5098
sed 's/^/| /' conftest.$ac_ext >&5
5100
ac_header_preproc=no
5103
rm -f conftest.err conftest.$ac_ext
5104
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5105
echo "${ECHO_T}$ac_header_preproc" >&6; }
5107
# So? What about this header?
5108
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5110
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5111
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5112
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5113
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5114
ac_header_preproc=yes
5117
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5118
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5119
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5120
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5121
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5122
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5123
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5124
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5125
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5126
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5127
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5128
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5130
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
5131
@%:@@%:@ Report this to ChAnGFu (changfu@hollowproject.org) () @%:@@%:@
5132
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
5134
) | sed "s/^/$as_me: WARNING: /" >&2
5137
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5138
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5139
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5140
echo $ECHO_N "(cached) $ECHO_C" >&6
5142
eval "$as_ac_Header=\$ac_header_preproc"
5144
ac_res=`eval echo '${'$as_ac_Header'}'`
5145
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5146
echo "${ECHO_T}$ac_res" >&6; }
5149
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5150
cat >>confdefs.h <<_ACEOF
5151
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5159
ac_cpp='$CXXCPP $CPPFLAGS'
5160
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5163
if test -z "$CXX"; then
5164
if test -n "$CCC"; then
5167
if test -n "$ac_tool_prefix"; then
5168
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5170
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5172
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5173
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5174
if test "${ac_cv_prog_CXX+set}" = set; then
5175
echo $ECHO_N "(cached) $ECHO_C" >&6
5177
if test -n "$CXX"; then
5178
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184
test -z "$as_dir" && as_dir=.
5185
for ac_exec_ext in '' $ac_executable_extensions; do
5186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5188
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198
if test -n "$CXX"; then
5199
{ echo "$as_me:$LINENO: result: $CXX" >&5
5200
echo "${ECHO_T}$CXX" >&6; }
5202
{ echo "$as_me:$LINENO: result: no" >&5
5203
echo "${ECHO_T}no" >&6; }
5207
test -n "$CXX" && break
5210
if test -z "$CXX"; then
5212
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5214
# Extract the first word of "$ac_prog", so it can be a program name with args.
5215
set dummy $ac_prog; ac_word=$2
5216
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5217
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5218
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5219
echo $ECHO_N "(cached) $ECHO_C" >&6
5221
if test -n "$ac_ct_CXX"; then
5222
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228
test -z "$as_dir" && as_dir=.
5229
for ac_exec_ext in '' $ac_executable_extensions; do
5230
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231
ac_cv_prog_ac_ct_CXX="$ac_prog"
5232
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5241
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5242
if test -n "$ac_ct_CXX"; then
5243
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5244
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5246
{ echo "$as_me:$LINENO: result: no" >&5
5247
echo "${ECHO_T}no" >&6; }
5251
test -n "$ac_ct_CXX" && break
5254
if test "x$ac_ct_CXX" = x; then
5257
case $cross_compiling:$ac_tool_warned in
5259
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5260
whose name does not start with the host triplet. If you think this
5261
configuration is useful to you, please write to autoconf@gnu.org." >&5
5262
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5263
whose name does not start with the host triplet. If you think this
5264
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5265
ac_tool_warned=yes ;;
5273
# Provide some information about the compiler.
5274
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5275
ac_compiler=`set X $ac_compile; echo $2`
5276
{ (ac_try="$ac_compiler --version >&5"
5278
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279
*) ac_try_echo=$ac_try;;
5281
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282
(eval "$ac_compiler --version >&5") 2>&5
5284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285
(exit $ac_status); }
5286
{ (ac_try="$ac_compiler -v >&5"
5288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289
*) ac_try_echo=$ac_try;;
5291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292
(eval "$ac_compiler -v >&5") 2>&5
5294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295
(exit $ac_status); }
5296
{ (ac_try="$ac_compiler -V >&5"
5298
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299
*) ac_try_echo=$ac_try;;
5301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302
(eval "$ac_compiler -V >&5") 2>&5
5304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305
(exit $ac_status); }
5307
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5308
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5309
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5310
echo $ECHO_N "(cached) $ECHO_C" >&6
5312
cat >conftest.$ac_ext <<_ACEOF
5315
cat confdefs.h >>conftest.$ac_ext
5316
cat >>conftest.$ac_ext <<_ACEOF
5317
/* end confdefs.h. */
5330
rm -f conftest.$ac_objext
5331
if { (ac_try="$ac_compile"
5333
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334
*) ac_try_echo=$ac_try;;
5336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337
(eval "$ac_compile") 2>conftest.er1
5339
grep -v '^ *+' conftest.er1 >conftest.err
5341
cat conftest.err >&5
5342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
(exit $ac_status); } && {
5344
test -z "$ac_cxx_werror_flag" ||
5345
test ! -s conftest.err
5346
} && test -s conftest.$ac_objext; then
5349
echo "$as_me: failed program was:" >&5
5350
sed 's/^/| /' conftest.$ac_ext >&5
5355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5359
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5360
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5361
GXX=`test $ac_compiler_gnu = yes && echo yes`
5362
ac_test_CXXFLAGS=${CXXFLAGS+set}
5363
ac_save_CXXFLAGS=$CXXFLAGS
5364
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5365
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5366
if test "${ac_cv_prog_cxx_g+set}" = set; then
5367
echo $ECHO_N "(cached) $ECHO_C" >&6
5369
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5370
ac_cxx_werror_flag=yes
5373
cat >conftest.$ac_ext <<_ACEOF
5376
cat confdefs.h >>conftest.$ac_ext
5377
cat >>conftest.$ac_ext <<_ACEOF
5378
/* end confdefs.h. */
5388
rm -f conftest.$ac_objext
5389
if { (ac_try="$ac_compile"
5391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392
*) ac_try_echo=$ac_try;;
5394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395
(eval "$ac_compile") 2>conftest.er1
5397
grep -v '^ *+' conftest.er1 >conftest.err
5399
cat conftest.err >&5
5400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401
(exit $ac_status); } && {
5402
test -z "$ac_cxx_werror_flag" ||
5403
test ! -s conftest.err
5404
} && test -s conftest.$ac_objext; then
5405
ac_cv_prog_cxx_g=yes
5407
echo "$as_me: failed program was:" >&5
5408
sed 's/^/| /' conftest.$ac_ext >&5
5411
cat >conftest.$ac_ext <<_ACEOF
5414
cat confdefs.h >>conftest.$ac_ext
5415
cat >>conftest.$ac_ext <<_ACEOF
5416
/* end confdefs.h. */
5426
rm -f conftest.$ac_objext
5427
if { (ac_try="$ac_compile"
5429
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430
*) ac_try_echo=$ac_try;;
5432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433
(eval "$ac_compile") 2>conftest.er1
5435
grep -v '^ *+' conftest.er1 >conftest.err
5437
cat conftest.err >&5
5438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439
(exit $ac_status); } && {
5440
test -z "$ac_cxx_werror_flag" ||
5441
test ! -s conftest.err
5442
} && test -s conftest.$ac_objext; then
5445
echo "$as_me: failed program was:" >&5
5446
sed 's/^/| /' conftest.$ac_ext >&5
5448
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5450
cat >conftest.$ac_ext <<_ACEOF
5453
cat confdefs.h >>conftest.$ac_ext
5454
cat >>conftest.$ac_ext <<_ACEOF
5455
/* end confdefs.h. */
5465
rm -f conftest.$ac_objext
5466
if { (ac_try="$ac_compile"
5468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469
*) ac_try_echo=$ac_try;;
5471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5472
(eval "$ac_compile") 2>conftest.er1
5474
grep -v '^ *+' conftest.er1 >conftest.err
5476
cat conftest.err >&5
5477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478
(exit $ac_status); } && {
5479
test -z "$ac_cxx_werror_flag" ||
5480
test ! -s conftest.err
5481
} && test -s conftest.$ac_objext; then
5482
ac_cv_prog_cxx_g=yes
5484
echo "$as_me: failed program was:" >&5
5485
sed 's/^/| /' conftest.$ac_ext >&5
5490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5493
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5497
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5499
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5500
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5501
if test "$ac_test_CXXFLAGS" = set; then
5502
CXXFLAGS=$ac_save_CXXFLAGS
5503
elif test $ac_cv_prog_cxx_g = yes; then
5504
if test "$GXX" = yes; then
5510
if test "$GXX" = yes; then
5517
ac_cpp='$CXXCPP $CPPFLAGS'
5518
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5519
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5520
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5522
depcc="$CXX" am_compiler_list=
5524
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5525
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5526
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5527
echo $ECHO_N "(cached) $ECHO_C" >&6
5529
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5530
# We make a subdir and do the tests there. Otherwise we can end up
5531
# making bogus files that we don't know about and never remove. For
5532
# instance it was reported that on HP-UX the gcc test will end up
5533
# making a dummy file named `D' -- because `-MD' means `put the output
5536
# Copy depcomp to subdir because otherwise we won't find it if we're
5537
# using a relative directory.
5538
cp "$am_depcomp" conftest.dir
5540
# We will build objects and dependencies in a subdirectory because
5541
# it helps to detect inapplicable dependency modes. For instance
5542
# both Tru64's cc and ICC support -MD to output dependencies as a
5543
# side effect of compilation, but ICC will put the dependencies in
5544
# the current directory while Tru64 will put them in the object
5548
am_cv_CXX_dependencies_compiler_type=none
5549
if test "$am_compiler_list" = ""; then
5550
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5552
for depmode in $am_compiler_list; do
5553
# Setup a source with many dependencies, because some compilers
5554
# like to wrap large dependency lists on column 80 (with \), and
5555
# we should not choose a depcomp mode which is confused by this.
5557
# We need to recreate these files for each test, as the compiler may
5558
# overwrite some of them when testing with obscure command lines.
5559
# This happens at least with the AIX C compiler.
5561
for i in 1 2 3 4 5 6; do
5562
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5563
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5564
# Solaris 8's {/usr,}/bin/sh.
5565
touch sub/conftst$i.h
5567
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5571
# after this tag, mechanisms are not by side-effect, so they'll
5572
# only be used when explicitly requested
5573
if test "x$enable_dependency_tracking" = xyes; then
5581
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5582
# mode. It turns out that the SunPro C++ compiler does not properly
5583
# handle `-M -o', and we need to detect this.
5584
if depmode=$depmode \
5585
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5586
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5587
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5588
>/dev/null 2>conftest.err &&
5589
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5590
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5591
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5592
# icc doesn't choke on unknown options, it will just issue warnings
5593
# or remarks (even with -Werror). So we grep stderr for any message
5594
# that says an option was ignored or not supported.
5595
# When given -MP, icc 7.0 and 7.1 complain thusly:
5596
# icc: Command line warning: ignoring option '-M'; no argument required
5597
# The diagnosis changed in icc 8.0:
5598
# icc: Command line remark: option '-MP' not supported
5599
if (grep 'ignoring option' conftest.err ||
5600
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5601
am_cv_CXX_dependencies_compiler_type=$depmode
5610
am_cv_CXX_dependencies_compiler_type=none
5614
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5615
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5616
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5621
test "x$enable_dependency_tracking" != xno \
5622
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5623
am__fastdepCXX_TRUE=
5624
am__fastdepCXX_FALSE='#'
5626
am__fastdepCXX_TRUE='#'
5627
am__fastdepCXX_FALSE=
5633
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5634
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5635
(test "X$CXX" != "Xg++"))) ; then
5637
ac_cpp='$CXXCPP $CPPFLAGS'
5638
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5641
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5642
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5643
if test -z "$CXXCPP"; then
5644
if test "${ac_cv_prog_CXXCPP+set}" = set; then
5645
echo $ECHO_N "(cached) $ECHO_C" >&6
5647
# Double quotes because CXXCPP needs to be expanded
5648
for CXXCPP in "$CXX -E" "/lib/cpp"
5651
for ac_cxx_preproc_warn_flag in '' yes
5653
# Use a header file that comes with gcc, so configuring glibc
5654
# with a fresh cross-compiler works.
5655
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5656
# <limits.h> exists even on freestanding compilers.
5657
# On the NeXT, cc -E runs the code through the compiler's parser,
5658
# not just through cpp. "Syntax error" is here to catch this case.
5659
cat >conftest.$ac_ext <<_ACEOF
5662
cat confdefs.h >>conftest.$ac_ext
5663
cat >>conftest.$ac_ext <<_ACEOF
5664
/* end confdefs.h. */
5666
@%:@ include <limits.h>
5668
@%:@ include <assert.h>
5672
if { (ac_try="$ac_cpp conftest.$ac_ext"
5674
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5675
*) ac_try_echo=$ac_try;;
5677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5680
grep -v '^ *+' conftest.er1 >conftest.err
5682
cat conftest.err >&5
5683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684
(exit $ac_status); } >/dev/null && {
5685
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5686
test ! -s conftest.err
5690
echo "$as_me: failed program was:" >&5
5691
sed 's/^/| /' conftest.$ac_ext >&5
5693
# Broken: fails on valid input.
5697
rm -f conftest.err conftest.$ac_ext
5699
# OK, works on sane cases. Now check whether nonexistent headers
5700
# can be detected and how.
5701
cat >conftest.$ac_ext <<_ACEOF
5704
cat confdefs.h >>conftest.$ac_ext
5705
cat >>conftest.$ac_ext <<_ACEOF
5706
/* end confdefs.h. */
5707
@%:@include <ac_nonexistent.h>
5709
if { (ac_try="$ac_cpp conftest.$ac_ext"
5711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712
*) ac_try_echo=$ac_try;;
5714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5717
grep -v '^ *+' conftest.er1 >conftest.err
5719
cat conftest.err >&5
5720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721
(exit $ac_status); } >/dev/null && {
5722
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5723
test ! -s conftest.err
5725
# Broken: success on invalid input.
5728
echo "$as_me: failed program was:" >&5
5729
sed 's/^/| /' conftest.$ac_ext >&5
5731
# Passes both tests.
5736
rm -f conftest.err conftest.$ac_ext
5739
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5740
rm -f conftest.err conftest.$ac_ext
5741
if $ac_preproc_ok; then
5746
ac_cv_prog_CXXCPP=$CXXCPP
5749
CXXCPP=$ac_cv_prog_CXXCPP
5751
ac_cv_prog_CXXCPP=$CXXCPP
5753
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5754
echo "${ECHO_T}$CXXCPP" >&6; }
5756
for ac_cxx_preproc_warn_flag in '' yes
5758
# Use a header file that comes with gcc, so configuring glibc
5759
# with a fresh cross-compiler works.
5760
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5761
# <limits.h> exists even on freestanding compilers.
5762
# On the NeXT, cc -E runs the code through the compiler's parser,
5763
# not just through cpp. "Syntax error" is here to catch this case.
5764
cat >conftest.$ac_ext <<_ACEOF
5767
cat confdefs.h >>conftest.$ac_ext
5768
cat >>conftest.$ac_ext <<_ACEOF
5769
/* end confdefs.h. */
5771
@%:@ include <limits.h>
5773
@%:@ include <assert.h>
5777
if { (ac_try="$ac_cpp conftest.$ac_ext"
5779
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5780
*) ac_try_echo=$ac_try;;
5782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5785
grep -v '^ *+' conftest.er1 >conftest.err
5787
cat conftest.err >&5
5788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
(exit $ac_status); } >/dev/null && {
5790
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5791
test ! -s conftest.err
5795
echo "$as_me: failed program was:" >&5
5796
sed 's/^/| /' conftest.$ac_ext >&5
5798
# Broken: fails on valid input.
5802
rm -f conftest.err conftest.$ac_ext
5804
# OK, works on sane cases. Now check whether nonexistent headers
5805
# can be detected and how.
5806
cat >conftest.$ac_ext <<_ACEOF
5809
cat confdefs.h >>conftest.$ac_ext
5810
cat >>conftest.$ac_ext <<_ACEOF
5811
/* end confdefs.h. */
5812
@%:@include <ac_nonexistent.h>
5814
if { (ac_try="$ac_cpp conftest.$ac_ext"
5816
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817
*) ac_try_echo=$ac_try;;
5819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5820
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5822
grep -v '^ *+' conftest.er1 >conftest.err
5824
cat conftest.err >&5
5825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826
(exit $ac_status); } >/dev/null && {
5827
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5828
test ! -s conftest.err
5830
# Broken: success on invalid input.
5833
echo "$as_me: failed program was:" >&5
5834
sed 's/^/| /' conftest.$ac_ext >&5
5836
# Passes both tests.
5841
rm -f conftest.err conftest.$ac_ext
5844
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5845
rm -f conftest.err conftest.$ac_ext
5846
if $ac_preproc_ok; then
5849
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5850
See \`config.log' for more details." >&5
5851
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5852
See \`config.log' for more details." >&2;}
5853
{ (exit 1); exit 1; }; }
5857
ac_cpp='$CXXCPP $CPPFLAGS'
5858
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5859
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5860
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5866
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5867
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5869
if test -n "$ac_tool_prefix"; then
5870
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
5872
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5873
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5874
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5875
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5876
if test "${ac_cv_prog_F77+set}" = set; then
5877
echo $ECHO_N "(cached) $ECHO_C" >&6
5879
if test -n "$F77"; then
5880
ac_cv_prog_F77="$F77" # Let the user override the test.
5882
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886
test -z "$as_dir" && as_dir=.
5887
for ac_exec_ext in '' $ac_executable_extensions; do
5888
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5890
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5900
if test -n "$F77"; then
5901
{ echo "$as_me:$LINENO: result: $F77" >&5
5902
echo "${ECHO_T}$F77" >&6; }
5904
{ echo "$as_me:$LINENO: result: no" >&5
5905
echo "${ECHO_T}no" >&6; }
5909
test -n "$F77" && break
5912
if test -z "$F77"; then
5914
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
5916
# Extract the first word of "$ac_prog", so it can be a program name with args.
5917
set dummy $ac_prog; ac_word=$2
5918
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5919
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5921
echo $ECHO_N "(cached) $ECHO_C" >&6
5923
if test -n "$ac_ct_F77"; then
5924
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930
test -z "$as_dir" && as_dir=.
5931
for ac_exec_ext in '' $ac_executable_extensions; do
5932
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933
ac_cv_prog_ac_ct_F77="$ac_prog"
5934
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5943
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5944
if test -n "$ac_ct_F77"; then
5945
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5946
echo "${ECHO_T}$ac_ct_F77" >&6; }
5948
{ echo "$as_me:$LINENO: result: no" >&5
5949
echo "${ECHO_T}no" >&6; }
5953
test -n "$ac_ct_F77" && break
5956
if test "x$ac_ct_F77" = x; then
5959
case $cross_compiling:$ac_tool_warned in
5961
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5962
whose name does not start with the host triplet. If you think this
5963
configuration is useful to you, please write to autoconf@gnu.org." >&5
5964
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5965
whose name does not start with the host triplet. If you think this
5966
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5967
ac_tool_warned=yes ;;
5974
# Provide some information about the compiler.
5975
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5976
ac_compiler=`set X $ac_compile; echo $2`
5977
{ (ac_try="$ac_compiler --version >&5"
5979
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5980
*) ac_try_echo=$ac_try;;
5982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5983
(eval "$ac_compiler --version >&5") 2>&5
5985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
(exit $ac_status); }
5987
{ (ac_try="$ac_compiler -v >&5"
5989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5990
*) ac_try_echo=$ac_try;;
5992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5993
(eval "$ac_compiler -v >&5") 2>&5
5995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996
(exit $ac_status); }
5997
{ (ac_try="$ac_compiler -V >&5"
5999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6000
*) ac_try_echo=$ac_try;;
6002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6003
(eval "$ac_compiler -V >&5") 2>&5
6005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006
(exit $ac_status); }
6009
# If we don't use `.F' as extension, the preprocessor is not run on the
6010
# input file. (Note that this only needs to work for GNU compilers.)
6013
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6014
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6015
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6016
echo $ECHO_N "(cached) $ECHO_C" >&6
6018
cat >conftest.$ac_ext <<_ACEOF
6026
rm -f conftest.$ac_objext
6027
if { (ac_try="$ac_compile"
6029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6030
*) ac_try_echo=$ac_try;;
6032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6033
(eval "$ac_compile") 2>conftest.er1
6035
grep -v '^ *+' conftest.er1 >conftest.err
6037
cat conftest.err >&5
6038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039
(exit $ac_status); } && {
6040
test -z "$ac_f77_werror_flag" ||
6041
test ! -s conftest.err
6042
} && test -s conftest.$ac_objext; then
6045
echo "$as_me: failed program was:" >&5
6046
sed 's/^/| /' conftest.$ac_ext >&5
6051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6055
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6056
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6058
ac_test_FFLAGS=${FFLAGS+set}
6059
ac_save_FFLAGS=$FFLAGS
6061
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6062
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6063
if test "${ac_cv_prog_f77_g+set}" = set; then
6064
echo $ECHO_N "(cached) $ECHO_C" >&6
6067
cat >conftest.$ac_ext <<_ACEOF
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_f77_werror_flag" ||
6087
test ! -s conftest.err
6088
} && test -s conftest.$ac_objext; then
6089
ac_cv_prog_f77_g=yes
6091
echo "$as_me: failed program was:" >&5
6092
sed 's/^/| /' conftest.$ac_ext >&5
6097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6101
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6102
if test "$ac_test_FFLAGS" = set; then
6103
FFLAGS=$ac_save_FFLAGS
6104
elif test $ac_cv_prog_f77_g = yes; then
6105
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6111
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6118
G77=`test $ac_compiler_gnu = yes && echo yes`
6120
ac_cpp='$CPP $CPPFLAGS'
6121
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6122
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6123
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6127
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6129
# find the maximum length of command line arguments
6130
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6131
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6132
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6133
echo $ECHO_N "(cached) $ECHO_C" >&6
6140
# On DJGPP, this test can blow up pretty badly due to problems in libc
6141
# (any single argument exceeding 2000 bytes causes a buffer overrun
6142
# during glob expansion). Even if it were fixed, the result of this
6143
# check would be larger than it should be.
6144
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6148
# Under GNU Hurd, this test is not required because there is
6149
# no limit to the length of command line arguments.
6150
# Libtool will interpret -1 as no limit whatsoever
6151
lt_cv_sys_max_cmd_len=-1;
6155
# On Win9x/ME, this test blows up -- it succeeds, but takes
6156
# about 5 minutes as the teststring grows exponentially.
6157
# Worse, since 9x/ME are not pre-emptively multitasking,
6158
# you end up with a "frozen" computer, even though with patience
6159
# the test eventually succeeds (with a max line length of 256k).
6160
# Instead, let's just punt: use the minimum linelength reported by
6161
# all of the supported platforms: 8192 (on NT/2K/XP).
6162
lt_cv_sys_max_cmd_len=8192;
6166
# On AmigaOS with pdksh, this test takes hours, literally.
6167
# So we just punt and use a minimum line length of 8192.
6168
lt_cv_sys_max_cmd_len=8192;
6171
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6172
# This has been around since 386BSD, at least. Likely further.
6173
if test -x /sbin/sysctl; then
6174
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6175
elif test -x /usr/sbin/sysctl; then
6176
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6178
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6180
# And add a safety zone
6181
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6182
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6186
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6187
lt_cv_sys_max_cmd_len=196608
6191
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6192
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6193
# nice to cause kernel panics so lets avoid the loop below.
6194
# First set a reasonable default.
6195
lt_cv_sys_max_cmd_len=16384
6197
if test -x /sbin/sysconfig; then
6198
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6199
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6204
lt_cv_sys_max_cmd_len=102400
6206
sysv5* | sco5v6* | sysv4.2uw2*)
6207
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6208
if test -n "$kargmax"; then
6209
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6211
lt_cv_sys_max_cmd_len=32768
6215
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6216
if test -n "$lt_cv_sys_max_cmd_len"; then
6217
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6218
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6220
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6221
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6222
= "XX$teststring") >/dev/null 2>&1 &&
6223
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6224
lt_cv_sys_max_cmd_len=$new_result &&
6225
test $i != 17 # 1/2 MB should be enough
6228
teststring=$teststring$teststring
6231
# Add a significant safety factor because C++ compilers can tack on massive
6232
# amounts of additional arguments before passing them to the linker.
6233
# It appears as though 1/2 is a usable value.
6234
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6241
if test -n $lt_cv_sys_max_cmd_len ; then
6242
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6243
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6245
{ echo "$as_me:$LINENO: result: none" >&5
6246
echo "${ECHO_T}none" >&6; }
6253
# Check for command to grab the raw symbol name followed by C symbol from nm.
6254
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6255
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6256
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6257
echo $ECHO_N "(cached) $ECHO_C" >&6
6260
# These are sane defaults that work on at least a few old systems.
6261
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6263
# Character class describing NM global symbol codes.
6264
symcode='[BCDEGRST]'
6266
# Regexp to match symbols that can be accessed directly from C.
6267
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6269
# Transform an extracted symbol line into a proper C declaration
6270
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6272
# Transform an extracted symbol line into symbol name and symbol address
6273
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'"
6275
# Define system-specific variables.
6280
cygwin* | mingw* | pw32*)
6281
symcode='[ABCDGISTW]'
6283
hpux*) # Its linker distinguishes data from code symbols
6284
if test "$host_cpu" = ia64; then
6285
symcode='[ABCDEGRST]'
6287
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6288
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'"
6290
linux* | k*bsd*-gnu)
6291
if test "$host_cpu" = ia64; then
6292
symcode='[ABCDGIRSTW]'
6293
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6294
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'"
6298
symcode='[BCDEGRST]'
6301
symcode='[BCDEGQRST]'
6312
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6320
# Handle CRLF in mingw tool chain
6324
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6328
# If we're using GNU nm, then use its standard symbol codes.
6329
case `$NM -V 2>&1` in
6330
*GNU* | *'with BFD'*)
6331
symcode='[ABCDGIRSTW]' ;;
6334
# Try without a prefix undercore, then with it.
6335
for ac_symprfx in "" "_"; do
6337
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6338
symxfrm="\\1 $ac_symprfx\\2 \\2"
6340
# Write the raw and C identifiers.
6341
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6343
# Check to see that the pipe works correctly.
6347
cat > conftest.$ac_ext <<EOF
6352
void nm_test_func(){}
6356
int main(){nm_test_var='a';nm_test_func();return(0);}
6359
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360
(eval $ac_compile) 2>&5
6362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363
(exit $ac_status); }; then
6364
# Now try to grab the symbols.
6366
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6367
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
(exit $ac_status); } && test -s "$nlist"; then
6371
# Try sorting and uniquifying the output.
6372
if sort "$nlist" | uniq > "$nlist"T; then
6373
mv -f "$nlist"T "$nlist"
6378
# Make sure that we snagged all the symbols we need.
6379
if grep ' nm_test_var$' "$nlist" >/dev/null; then
6380
if grep ' nm_test_func$' "$nlist" >/dev/null; then
6381
cat <<EOF > conftest.$ac_ext
6387
# Now generate the symbol file.
6388
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6390
cat <<EOF >> conftest.$ac_ext
6391
#if defined (__STDC__) && __STDC__
6392
# define lt_ptr_t void *
6394
# define lt_ptr_t char *
6398
/* The mapping between symbol names and symbols. */
6403
lt_preloaded_symbols[] =
6406
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6407
cat <<\EOF >> conftest.$ac_ext
6415
# Now try linking the two files.
6416
mv conftest.$ac_objext conftstm.$ac_objext
6417
lt_save_LIBS="$LIBS"
6418
lt_save_CFLAGS="$CFLAGS"
6419
LIBS="conftstm.$ac_objext"
6420
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6421
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6422
(eval $ac_link) 2>&5
6424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425
(exit $ac_status); } && test -s conftest${ac_exeext}; then
6428
LIBS="$lt_save_LIBS"
6429
CFLAGS="$lt_save_CFLAGS"
6431
echo "cannot find nm_test_func in $nlist" >&5
6434
echo "cannot find nm_test_var in $nlist" >&5
6437
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6440
echo "$progname: failed program was:" >&5
6441
cat conftest.$ac_ext >&5
6443
rm -f conftest* conftst*
6445
# Do not use the global_symbol_pipe unless it works.
6446
if test "$pipe_works" = yes; then
6449
lt_cv_sys_global_symbol_pipe=
6455
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6456
lt_cv_sys_global_symbol_to_cdecl=
6458
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6459
{ echo "$as_me:$LINENO: result: failed" >&5
6460
echo "${ECHO_T}failed" >&6; }
6462
{ echo "$as_me:$LINENO: result: ok" >&5
6463
echo "${ECHO_T}ok" >&6; }
6466
{ echo "$as_me:$LINENO: checking for objdir" >&5
6467
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6468
if test "${lt_cv_objdir+set}" = set; then
6469
echo $ECHO_N "(cached) $ECHO_C" >&6
6471
rm -f .libs 2>/dev/null
6472
mkdir .libs 2>/dev/null
6473
if test -d .libs; then
6476
# MS-DOS does not allow filenames that begin with a dot.
6479
rmdir .libs 2>/dev/null
6481
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6482
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6483
objdir=$lt_cv_objdir
6491
# AIX sometimes has problems with the GCC collect2 program. For some
6492
# reason, if we set the COLLECT_NAMES environment variable, the problems
6493
# vanish in a puff of smoke.
6494
if test "X${COLLECT_NAMES+set}" != Xset; then
6496
export COLLECT_NAMES
6501
# Sed substitution that helps us do robust quoting. It backslashifies
6502
# metacharacters that are still active within double-quoted strings.
6503
Xsed='sed -e 1s/^X//'
6504
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6506
# Same as above, but do not quote variable references.
6507
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6509
# Sed substitution to delay expansion of an escaped shell variable in a
6510
# double_quote_subst'ed string.
6511
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6513
# Sed substitution to avoid accidental globbing in evaled expressions
6514
no_glob_subst='s/\*/\\\*/g'
6520
default_ofile=libtool
6521
can_build_shared=yes
6523
# All known linkers require a `.a' archive for static linking (except MSVC,
6524
# which needs '.lib').
6526
ltmain="$ac_aux_dir/ltmain.sh"
6527
ofile="$default_ofile"
6528
with_gnu_ld="$lt_cv_prog_gnu_ld"
6530
if test -n "$ac_tool_prefix"; then
6531
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6532
set dummy ${ac_tool_prefix}ar; ac_word=$2
6533
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6535
if test "${ac_cv_prog_AR+set}" = set; then
6536
echo $ECHO_N "(cached) $ECHO_C" >&6
6538
if test -n "$AR"; then
6539
ac_cv_prog_AR="$AR" # Let the user override the test.
6541
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545
test -z "$as_dir" && as_dir=.
6546
for ac_exec_ext in '' $ac_executable_extensions; do
6547
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6548
ac_cv_prog_AR="${ac_tool_prefix}ar"
6549
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559
if test -n "$AR"; then
6560
{ echo "$as_me:$LINENO: result: $AR" >&5
6561
echo "${ECHO_T}$AR" >&6; }
6563
{ echo "$as_me:$LINENO: result: no" >&5
6564
echo "${ECHO_T}no" >&6; }
6569
if test -z "$ac_cv_prog_AR"; then
6571
# Extract the first word of "ar", so it can be a program name with args.
6572
set dummy ar; ac_word=$2
6573
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6574
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6575
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6576
echo $ECHO_N "(cached) $ECHO_C" >&6
6578
if test -n "$ac_ct_AR"; then
6579
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585
test -z "$as_dir" && as_dir=.
6586
for ac_exec_ext in '' $ac_executable_extensions; do
6587
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588
ac_cv_prog_ac_ct_AR="ar"
6589
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6598
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6599
if test -n "$ac_ct_AR"; then
6600
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6601
echo "${ECHO_T}$ac_ct_AR" >&6; }
6603
{ echo "$as_me:$LINENO: result: no" >&5
6604
echo "${ECHO_T}no" >&6; }
6607
if test "x$ac_ct_AR" = x; then
6610
case $cross_compiling:$ac_tool_warned in
6612
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6613
whose name does not start with the host triplet. If you think this
6614
configuration is useful to you, please write to autoconf@gnu.org." >&5
6615
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6616
whose name does not start with the host triplet. If you think this
6617
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6618
ac_tool_warned=yes ;;
6626
if test -n "$ac_tool_prefix"; then
6627
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6628
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6629
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6630
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6631
if test "${ac_cv_prog_RANLIB+set}" = set; then
6632
echo $ECHO_N "(cached) $ECHO_C" >&6
6634
if test -n "$RANLIB"; then
6635
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641
test -z "$as_dir" && as_dir=.
6642
for ac_exec_ext in '' $ac_executable_extensions; do
6643
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6645
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6654
RANLIB=$ac_cv_prog_RANLIB
6655
if test -n "$RANLIB"; then
6656
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
6657
echo "${ECHO_T}$RANLIB" >&6; }
6659
{ echo "$as_me:$LINENO: result: no" >&5
6660
echo "${ECHO_T}no" >&6; }
6665
if test -z "$ac_cv_prog_RANLIB"; then
6666
ac_ct_RANLIB=$RANLIB
6667
# Extract the first word of "ranlib", so it can be a program name with args.
6668
set dummy ranlib; ac_word=$2
6669
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6671
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6672
echo $ECHO_N "(cached) $ECHO_C" >&6
6674
if test -n "$ac_ct_RANLIB"; then
6675
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681
test -z "$as_dir" && as_dir=.
6682
for ac_exec_ext in '' $ac_executable_extensions; do
6683
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684
ac_cv_prog_ac_ct_RANLIB="ranlib"
6685
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6694
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6695
if test -n "$ac_ct_RANLIB"; then
6696
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6697
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6699
{ echo "$as_me:$LINENO: result: no" >&5
6700
echo "${ECHO_T}no" >&6; }
6703
if test "x$ac_ct_RANLIB" = x; then
6706
case $cross_compiling:$ac_tool_warned in
6708
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6709
whose name does not start with the host triplet. If you think this
6710
configuration is useful to you, please write to autoconf@gnu.org." >&5
6711
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6712
whose name does not start with the host triplet. If you think this
6713
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6714
ac_tool_warned=yes ;;
6716
RANLIB=$ac_ct_RANLIB
6719
RANLIB="$ac_cv_prog_RANLIB"
6722
if test -n "$ac_tool_prefix"; then
6723
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6724
set dummy ${ac_tool_prefix}strip; ac_word=$2
6725
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6726
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6727
if test "${ac_cv_prog_STRIP+set}" = set; then
6728
echo $ECHO_N "(cached) $ECHO_C" >&6
6730
if test -n "$STRIP"; then
6731
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6733
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737
test -z "$as_dir" && as_dir=.
6738
for ac_exec_ext in '' $ac_executable_extensions; do
6739
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6741
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6750
STRIP=$ac_cv_prog_STRIP
6751
if test -n "$STRIP"; then
6752
{ echo "$as_me:$LINENO: result: $STRIP" >&5
6753
echo "${ECHO_T}$STRIP" >&6; }
6755
{ echo "$as_me:$LINENO: result: no" >&5
6756
echo "${ECHO_T}no" >&6; }
6761
if test -z "$ac_cv_prog_STRIP"; then
6763
# Extract the first word of "strip", so it can be a program name with args.
6764
set dummy strip; ac_word=$2
6765
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6766
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6767
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6768
echo $ECHO_N "(cached) $ECHO_C" >&6
6770
if test -n "$ac_ct_STRIP"; then
6771
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777
test -z "$as_dir" && as_dir=.
6778
for ac_exec_ext in '' $ac_executable_extensions; do
6779
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780
ac_cv_prog_ac_ct_STRIP="strip"
6781
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6790
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6791
if test -n "$ac_ct_STRIP"; then
6792
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6793
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6795
{ echo "$as_me:$LINENO: result: no" >&5
6796
echo "${ECHO_T}no" >&6; }
6799
if test "x$ac_ct_STRIP" = x; then
6802
case $cross_compiling:$ac_tool_warned in
6804
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6805
whose name does not start with the host triplet. If you think this
6806
configuration is useful to you, please write to autoconf@gnu.org." >&5
6807
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6808
whose name does not start with the host triplet. If you think this
6809
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6810
ac_tool_warned=yes ;;
6815
STRIP="$ac_cv_prog_STRIP"
6820
old_CFLAGS="$CFLAGS"
6822
# Set sane defaults for various variables
6823
test -z "$AR" && AR=ar
6824
test -z "$AR_FLAGS" && AR_FLAGS=cru
6825
test -z "$AS" && AS=as
6826
test -z "$CC" && CC=cc
6827
test -z "$LTCC" && LTCC=$CC
6828
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6829
test -z "$DLLTOOL" && DLLTOOL=dlltool
6830
test -z "$LD" && LD=ld
6831
test -z "$LN_S" && LN_S="ln -s"
6832
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6833
test -z "$NM" && NM=nm
6834
test -z "$SED" && SED=sed
6835
test -z "$OBJDUMP" && OBJDUMP=objdump
6836
test -z "$RANLIB" && RANLIB=:
6837
test -z "$STRIP" && STRIP=:
6838
test -z "$ac_objext" && ac_objext=o
6840
# Determine commands to create old-style static archives.
6841
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6842
old_postinstall_cmds='chmod 644 $oldlib'
6843
old_postuninstall_cmds=
6845
if test -n "$RANLIB"; then
6848
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6851
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6854
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6857
for cc_temp in $compiler""; do
6859
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6860
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6865
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6868
# Only perform the check for file, if the check method requires it
6869
case $deplibs_check_method in
6871
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6872
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6873
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6874
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6875
echo $ECHO_N "(cached) $ECHO_C" >&6
6879
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6882
lt_save_MAGIC_CMD="$MAGIC_CMD"
6883
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6884
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6885
for ac_dir in $ac_dummy; do
6887
test -z "$ac_dir" && ac_dir=.
6888
if test -f $ac_dir/${ac_tool_prefix}file; then
6889
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6890
if test -n "$file_magic_test_file"; then
6891
case $deplibs_check_method in
6893
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6894
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6895
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6896
$EGREP "$file_magic_regex" > /dev/null; then
6901
*** Warning: the command libtool uses to detect shared libraries,
6902
*** $file_magic_cmd, produces output that libtool cannot recognize.
6903
*** The result is that libtool may fail to recognize shared libraries
6904
*** as such. This will affect the creation of libtool libraries that
6905
*** depend on shared libraries, but programs linked with such libtool
6906
*** libraries will work regardless of this problem. Nevertheless, you
6907
*** may want to report the problem to your system manager and/or to
6908
*** bug-libtool@gnu.org
6918
MAGIC_CMD="$lt_save_MAGIC_CMD"
6923
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6924
if test -n "$MAGIC_CMD"; then
6925
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6926
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6928
{ echo "$as_me:$LINENO: result: no" >&5
6929
echo "${ECHO_T}no" >&6; }
6932
if test -z "$lt_cv_path_MAGIC_CMD"; then
6933
if test -n "$ac_tool_prefix"; then
6934
{ echo "$as_me:$LINENO: checking for file" >&5
6935
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6936
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6937
echo $ECHO_N "(cached) $ECHO_C" >&6
6941
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6944
lt_save_MAGIC_CMD="$MAGIC_CMD"
6945
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6946
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6947
for ac_dir in $ac_dummy; do
6949
test -z "$ac_dir" && ac_dir=.
6950
if test -f $ac_dir/file; then
6951
lt_cv_path_MAGIC_CMD="$ac_dir/file"
6952
if test -n "$file_magic_test_file"; then
6953
case $deplibs_check_method in
6955
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6956
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6957
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6958
$EGREP "$file_magic_regex" > /dev/null; then
6963
*** Warning: the command libtool uses to detect shared libraries,
6964
*** $file_magic_cmd, produces output that libtool cannot recognize.
6965
*** The result is that libtool may fail to recognize shared libraries
6966
*** as such. This will affect the creation of libtool libraries that
6967
*** depend on shared libraries, but programs linked with such libtool
6968
*** libraries will work regardless of this problem. Nevertheless, you
6969
*** may want to report the problem to your system manager and/or to
6970
*** bug-libtool@gnu.org
6980
MAGIC_CMD="$lt_save_MAGIC_CMD"
6985
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6986
if test -n "$MAGIC_CMD"; then
6987
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6988
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6990
{ echo "$as_me:$LINENO: result: no" >&5
6991
echo "${ECHO_T}no" >&6; }
7006
# Check whether --enable-libtool-lock was given.
7007
if test "${enable_libtool_lock+set}" = set; then
7008
enableval=$enable_libtool_lock;
7011
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7014
# Check whether --with-pic was given.
7015
if test "${with_pic+set}" = set; then
7016
withval=$with_pic; pic_mode="$withval"
7021
test -z "$pic_mode" && pic_mode=default
7023
# Use C for the default configuration in the libtool script
7027
ac_cpp='$CPP $CPPFLAGS'
7028
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7029
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7030
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033
# Source file extension for C test sources.
7036
# Object file extension for compiled C test sources.
7040
# Code to be used in simple compile tests
7041
lt_simple_compile_test_code="int some_variable = 0;"
7043
# Code to be used in simple link tests
7044
lt_simple_link_test_code='int main(){return(0);}'
7047
# If no C compiler was specified, use CC.
7050
# If no C compiler flags were specified, use CFLAGS.
7051
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7053
# Allow CC to be a program name with arguments.
7057
# save warnings/boilerplate of simple test code
7058
ac_outfile=conftest.$ac_objext
7059
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7060
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7061
_lt_compiler_boilerplate=`cat conftest.err`
7064
ac_outfile=conftest.$ac_objext
7065
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7066
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7067
_lt_linker_boilerplate=`cat conftest.err`
7072
lt_prog_compiler_no_builtin_flag=
7074
if test "$GCC" = yes; then
7075
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7078
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7079
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7080
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7081
echo $ECHO_N "(cached) $ECHO_C" >&6
7083
lt_cv_prog_compiler_rtti_exceptions=no
7084
ac_outfile=conftest.$ac_objext
7085
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7086
lt_compiler_flag="-fno-rtti -fno-exceptions"
7087
# Insert the option either (1) after the last *FLAGS variable, or
7088
# (2) before a word containing "conftest.", or (3) at the end.
7089
# Note that $ac_compile itself does not contain backslashes and begins
7090
# with a dollar sign (not a hyphen), so the echo should work correctly.
7091
# The option is referenced via a variable to avoid confusing sed.
7092
lt_compile=`echo "$ac_compile" | $SED \
7093
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7094
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7095
-e 's:$: $lt_compiler_flag:'`
7096
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7097
(eval "$lt_compile" 2>conftest.err)
7099
cat conftest.err >&5
7100
echo "$as_me:__oline__: \$? = $ac_status" >&5
7101
if (exit $ac_status) && test -s "$ac_outfile"; then
7102
# The compiler can only warn and ignore the option if not recognized
7103
# So say no if there are warnings other than the usual output.
7104
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7105
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7106
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7107
lt_cv_prog_compiler_rtti_exceptions=yes
7113
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7114
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7116
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7117
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7124
lt_prog_compiler_wl=
7125
lt_prog_compiler_pic=
7126
lt_prog_compiler_static=
7128
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7129
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7131
if test "$GCC" = yes; then
7132
lt_prog_compiler_wl='-Wl,'
7133
lt_prog_compiler_static='-static'
7137
# All AIX code is PIC.
7138
if test "$host_cpu" = ia64; then
7139
# AIX 5 now supports IA64 processor
7140
lt_prog_compiler_static='-Bstatic'
7145
# FIXME: we need at least 68020 code to build shared libraries, but
7146
# adding the `-m68020' flag to GCC prevents building anything better,
7148
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7151
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7152
# PIC is the default for these OSes.
7155
mingw* | cygwin* | pw32* | os2*)
7156
# This hack is so that the source file can tell whether it is being
7157
# built for inclusion in a dll (and should export symbols for example).
7158
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7159
# (--disable-auto-import) libraries
7160
lt_prog_compiler_pic='-DDLL_EXPORT'
7163
darwin* | rhapsody*)
7164
# PIC is the default on this platform
7165
# Common symbols not allowed in MH_DYLIB files
7166
lt_prog_compiler_pic='-fno-common'
7170
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7171
# Instead, we relocate shared libraries at runtime.
7175
# Just because we use GCC doesn't mean we suddenly get shared libraries
7176
# on systems that don't support them.
7177
lt_prog_compiler_can_build_shared=no
7182
if test -d /usr/nec; then
7183
lt_prog_compiler_pic=-Kconform_pic
7188
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7195
lt_prog_compiler_pic='-fPIC'
7201
lt_prog_compiler_pic='-fPIC'
7205
# PORTME Check for flag to pass linker flags through the system compiler.
7208
lt_prog_compiler_wl='-Wl,'
7209
if test "$host_cpu" = ia64; then
7210
# AIX 5 now supports IA64 processor
7211
lt_prog_compiler_static='-Bstatic'
7213
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7217
# PIC is the default on this platform
7218
# Common symbols not allowed in MH_DYLIB files
7219
case $cc_basename in
7221
lt_prog_compiler_pic='-qnocommon'
7222
lt_prog_compiler_wl='-Wl,'
7227
mingw* | cygwin* | pw32* | os2*)
7228
# This hack is so that the source file can tell whether it is being
7229
# built for inclusion in a dll (and should export symbols for example).
7230
lt_prog_compiler_pic='-DDLL_EXPORT'
7233
hpux9* | hpux10* | hpux11*)
7234
lt_prog_compiler_wl='-Wl,'
7235
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7242
lt_prog_compiler_pic='+Z'
7245
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7246
lt_prog_compiler_static='${wl}-a ${wl}archive'
7249
irix5* | irix6* | nonstopux*)
7250
lt_prog_compiler_wl='-Wl,'
7251
# PIC (with -KPIC) is the default.
7252
lt_prog_compiler_static='-non_shared'
7256
lt_prog_compiler_pic='-KPIC'
7257
lt_prog_compiler_static='-Bstatic'
7260
linux* | k*bsd*-gnu)
7261
case $cc_basename in
7263
lt_prog_compiler_wl='-Wl,'
7264
lt_prog_compiler_pic='-KPIC'
7265
lt_prog_compiler_static='-static'
7267
pgcc* | pgf77* | pgf90* | pgf95*)
7268
# Portland Group compilers (*not* the Pentium gcc compiler,
7269
# which looks to be a dead project)
7270
lt_prog_compiler_wl='-Wl,'
7271
lt_prog_compiler_pic='-fpic'
7272
lt_prog_compiler_static='-Bstatic'
7275
lt_prog_compiler_wl='-Wl,'
7276
# All Alpha code is PIC.
7277
lt_prog_compiler_static='-non_shared'
7280
case `$CC -V 2>&1 | sed 5q` in
7283
lt_prog_compiler_pic='-KPIC'
7284
lt_prog_compiler_static='-Bstatic'
7285
lt_prog_compiler_wl='-Wl,'
7288
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7289
lt_prog_compiler_pic='-KPIC'
7290
lt_prog_compiler_static='-Bstatic'
7291
lt_prog_compiler_wl=''
7298
osf3* | osf4* | osf5*)
7299
lt_prog_compiler_wl='-Wl,'
7300
# All OSF/1 code is PIC.
7301
lt_prog_compiler_static='-non_shared'
7305
lt_prog_compiler_static='-non_shared'
7309
lt_prog_compiler_pic='-KPIC'
7310
lt_prog_compiler_static='-Bstatic'
7311
case $cc_basename in
7313
lt_prog_compiler_wl='-Qoption ld ';;
7315
lt_prog_compiler_wl='-Wl,';;
7320
lt_prog_compiler_wl='-Qoption ld '
7321
lt_prog_compiler_pic='-PIC'
7322
lt_prog_compiler_static='-Bstatic'
7325
sysv4 | sysv4.2uw2* | sysv4.3*)
7326
lt_prog_compiler_wl='-Wl,'
7327
lt_prog_compiler_pic='-KPIC'
7328
lt_prog_compiler_static='-Bstatic'
7332
if test -d /usr/nec ;then
7333
lt_prog_compiler_pic='-Kconform_pic'
7334
lt_prog_compiler_static='-Bstatic'
7338
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7339
lt_prog_compiler_wl='-Wl,'
7340
lt_prog_compiler_pic='-KPIC'
7341
lt_prog_compiler_static='-Bstatic'
7345
lt_prog_compiler_wl='-Wl,'
7346
lt_prog_compiler_can_build_shared=no
7350
lt_prog_compiler_pic='-pic'
7351
lt_prog_compiler_static='-Bstatic'
7355
lt_prog_compiler_can_build_shared=no
7360
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7361
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7364
# Check to make sure the PIC flag actually works.
7366
if test -n "$lt_prog_compiler_pic"; then
7368
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7369
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7370
if test "${lt_prog_compiler_pic_works+set}" = set; then
7371
echo $ECHO_N "(cached) $ECHO_C" >&6
7373
lt_prog_compiler_pic_works=no
7374
ac_outfile=conftest.$ac_objext
7375
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7376
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7377
# Insert the option either (1) after the last *FLAGS variable, or
7378
# (2) before a word containing "conftest.", or (3) at the end.
7379
# Note that $ac_compile itself does not contain backslashes and begins
7380
# with a dollar sign (not a hyphen), so the echo should work correctly.
7381
# The option is referenced via a variable to avoid confusing sed.
7382
lt_compile=`echo "$ac_compile" | $SED \
7383
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7384
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7385
-e 's:$: $lt_compiler_flag:'`
7386
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7387
(eval "$lt_compile" 2>conftest.err)
7389
cat conftest.err >&5
7390
echo "$as_me:__oline__: \$? = $ac_status" >&5
7391
if (exit $ac_status) && test -s "$ac_outfile"; then
7392
# The compiler can only warn and ignore the option if not recognized
7393
# So say no if there are warnings other than the usual output.
7394
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7395
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7396
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7397
lt_prog_compiler_pic_works=yes
7403
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7404
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7406
if test x"$lt_prog_compiler_pic_works" = xyes; then
7407
case $lt_prog_compiler_pic in
7409
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7412
lt_prog_compiler_pic=
7413
lt_prog_compiler_can_build_shared=no
7418
# For platforms which do not support PIC, -DPIC is meaningless:
7420
lt_prog_compiler_pic=
7423
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7428
# Check to make sure the static flag actually works.
7430
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7431
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7432
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7433
if test "${lt_prog_compiler_static_works+set}" = set; then
7434
echo $ECHO_N "(cached) $ECHO_C" >&6
7436
lt_prog_compiler_static_works=no
7437
save_LDFLAGS="$LDFLAGS"
7438
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7439
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7440
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7441
# The linker can only warn and ignore the option if not recognized
7442
# So say no if there are warnings
7443
if test -s conftest.err; then
7444
# Append any errors to the config.log.
7445
cat conftest.err 1>&5
7446
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7447
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7448
if diff conftest.exp conftest.er2 >/dev/null; then
7449
lt_prog_compiler_static_works=yes
7452
lt_prog_compiler_static_works=yes
7456
LDFLAGS="$save_LDFLAGS"
7459
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7460
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7462
if test x"$lt_prog_compiler_static_works" = xyes; then
7465
lt_prog_compiler_static=
7469
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7470
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7471
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7472
echo $ECHO_N "(cached) $ECHO_C" >&6
7474
lt_cv_prog_compiler_c_o=no
7475
$rm -r conftest 2>/dev/null
7479
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7481
lt_compiler_flag="-o out/conftest2.$ac_objext"
7482
# Insert the option either (1) after the last *FLAGS variable, or
7483
# (2) before a word containing "conftest.", or (3) at the end.
7484
# Note that $ac_compile itself does not contain backslashes and begins
7485
# with a dollar sign (not a hyphen), so the echo should work correctly.
7486
lt_compile=`echo "$ac_compile" | $SED \
7487
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7488
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7489
-e 's:$: $lt_compiler_flag:'`
7490
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7491
(eval "$lt_compile" 2>out/conftest.err)
7493
cat out/conftest.err >&5
7494
echo "$as_me:__oline__: \$? = $ac_status" >&5
7495
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7497
# The compiler can only warn and ignore the option if not recognized
7498
# So say no if there are warnings
7499
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7500
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7501
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7502
lt_cv_prog_compiler_c_o=yes
7507
# SGI C++ compiler will create directory out/ii_files/ for
7508
# template instantiation
7509
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7510
$rm out/* && rmdir out
7516
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7517
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7520
hard_links="nottested"
7521
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7522
# do not overwrite the value of need_locks provided by the user
7523
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7524
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7527
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7529
ln conftest.a conftest.b 2>&5 || hard_links=no
7530
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7531
{ echo "$as_me:$LINENO: result: $hard_links" >&5
7532
echo "${ECHO_T}$hard_links" >&6; }
7533
if test "$hard_links" = no; then
7534
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7535
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7542
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7543
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7546
allow_undefined_flag=
7547
enable_shared_with_static_runtimes=no
7549
archive_expsym_cmds=
7550
old_archive_From_new_cmds=
7551
old_archive_from_expsyms_cmds=
7552
export_dynamic_flag_spec=
7553
whole_archive_flag_spec=
7554
thread_safe_flag_spec=
7555
hardcode_libdir_flag_spec=
7556
hardcode_libdir_flag_spec_ld=
7557
hardcode_libdir_separator=
7560
hardcode_shlibpath_var=unsupported
7561
link_all_deplibs=unknown
7562
hardcode_automatic=no
7565
always_export_symbols=no
7566
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7567
# include_expsyms should be a list of space-separated symbols to be *always*
7568
# included in the symbol list
7570
# exclude_expsyms can be an extended regexp of symbols to exclude
7571
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7572
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7573
# as well as any symbol that contains `d'.
7574
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7575
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7576
# platforms (ab)use it in PIC code, but their linkers get confused if
7577
# the symbol is explicitly referenced. Since portable code cannot
7578
# rely on this symbol name, it's probably fine to never include it in
7579
# preloaded symbol tables.
7580
extract_expsyms_cmds=
7581
# Just being paranoid about ensuring that cc_basename is set.
7582
for cc_temp in $compiler""; do
7584
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7585
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7590
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7593
cygwin* | mingw* | pw32*)
7594
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7595
# When not using gcc, we currently assume that we are using
7596
# Microsoft Visual C++.
7597
if test "$GCC" != yes; then
7602
# we just hope/assume this is gcc and not c89 (= MSVC++)
7611
if test "$with_gnu_ld" = yes; then
7612
# If archive_cmds runs LD, not CC, wlarc should be empty
7615
# Set some defaults for GNU ld with shared library support. These
7616
# are reset later if shared libraries are not supported. Putting them
7617
# here allows them to be overridden if necessary.
7618
runpath_var=LD_RUN_PATH
7619
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7620
export_dynamic_flag_spec='${wl}--export-dynamic'
7621
# ancient GNU ld didn't support --whole-archive et. al.
7622
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7623
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7625
whole_archive_flag_spec=
7627
supports_anon_versioning=no
7628
case `$LD -v 2>/dev/null` in
7629
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7630
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7631
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7632
*\ 2.11.*) ;; # other 2.11 versions
7633
*) supports_anon_versioning=yes ;;
7636
# See if GNU ld supports shared libraries.
7638
aix3* | aix4* | aix5*)
7639
# On AIX/PPC, the GNU linker is very broken
7640
if test "$host_cpu" != ia64; then
7644
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7645
*** to be unable to reliably create shared libraries on AIX.
7646
*** Therefore, libtool is disabling shared libraries support. If you
7647
*** really care for shared libraries, you may want to modify your PATH
7648
*** so that a non-GNU linker is found, and then restart.
7655
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)'
7656
hardcode_libdir_flag_spec='-L$libdir'
7657
hardcode_minus_L=yes
7659
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7660
# that the semantics of dynamic libraries on AmigaOS, at least up
7661
# to version 4, is to share data among multiple programs linked
7662
# with the same dynamic library. Since this doesn't match the
7663
# behavior of shared libraries on other platforms, we can't use
7669
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7670
allow_undefined_flag=unsupported
7671
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7672
# support --undefined. This deserves some investigation. FIXME
7673
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7679
cygwin* | mingw* | pw32*)
7680
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7681
# as there is no search path for DLLs.
7682
hardcode_libdir_flag_spec='-L$libdir'
7683
allow_undefined_flag=unsupported
7684
always_export_symbols=no
7685
enable_shared_with_static_runtimes=yes
7686
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7688
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7689
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7690
# If the export-symbols file already is a .def file (1st line
7691
# is EXPORTS), use it as is; otherwise, prepend...
7692
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7693
cp $export_symbols $output_objdir/$soname.def;
7695
echo EXPORTS > $output_objdir/$soname.def;
7696
cat $export_symbols >> $output_objdir/$soname.def;
7698
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7706
hardcode_shlibpath_var=no
7707
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7708
export_dynamic_flag_spec='${wl}-E'
7709
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7710
# Instead, shared libraries are loaded at an image base (0x10000000 by
7711
# default) and relocated if they conflict, which is a slow very memory
7712
# consuming and fragmenting process. To avoid this, we pick a random,
7713
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7714
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
7715
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7716
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'
7719
gnu* | linux* | k*bsd*-gnu)
7720
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7722
case $cc_basename,$host_cpu in
7723
pgcc*) # Portland Group C compiler
7724
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'
7725
tmp_addflag=' $pic_flag'
7727
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7728
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'
7729
tmp_addflag=' $pic_flag -Mnomain' ;;
7730
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7731
tmp_addflag=' -i_dynamic' ;;
7732
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7733
tmp_addflag=' -i_dynamic -nofor_main' ;;
7734
ifc* | ifort*) # Intel Fortran compiler
7735
tmp_addflag=' -nofor_main' ;;
7737
case `$CC -V 2>&1 | sed 5q` in
7738
*Sun\ C*) # Sun C 5.9
7739
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'
7740
tmp_sharedflag='-G' ;;
7741
*Sun\ F*) # Sun Fortran 8.3
7742
tmp_sharedflag='-G' ;;
7744
tmp_sharedflag='-shared' ;;
7746
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7748
if test $supports_anon_versioning = yes; then
7749
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7750
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7751
$echo "local: *; };" >> $output_objdir/$libname.ver~
7752
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7760
netbsd* | netbsdelf*-gnu)
7761
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7762
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7765
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7766
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7771
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7775
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7776
*** create shared libraries on Solaris systems. Therefore, libtool
7777
*** is disabling shared libraries support. We urge you to upgrade GNU
7778
*** binutils to release 2.9.1 or newer. Another option is to modify
7779
*** your PATH or compiler configuration so that the native linker is
7780
*** used, and then restart.
7783
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7784
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7785
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7791
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7792
case `$LD -v 2>&1` in
7793
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7797
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7798
*** reliably create shared libraries on SCO systems. Therefore, libtool
7799
*** is disabling shared libraries support. We urge you to upgrade GNU
7800
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7801
*** your PATH or compiler configuration so that the native linker is
7802
*** used, and then restart.
7807
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7808
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7809
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7810
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7819
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7822
hardcode_shlibpath_var=no
7826
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7827
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7828
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7835
if test "$ld_shlibs" = no; then
7837
hardcode_libdir_flag_spec=
7838
export_dynamic_flag_spec=
7839
whole_archive_flag_spec=
7842
# PORTME fill in a description of your system's linker (not GNU ld)
7845
allow_undefined_flag=unsupported
7846
always_export_symbols=yes
7847
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'
7848
# Note: this linker hardcodes the directories in LIBPATH if there
7849
# are no directories specified by -L.
7850
hardcode_minus_L=yes
7851
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7852
# Neither direct hardcoding nor static linking is supported with a
7854
hardcode_direct=unsupported
7859
if test "$host_cpu" = ia64; then
7860
# On IA64, the linker does run time linking by default, so we don't
7861
# have to do anything special.
7862
aix_use_runtimelinking=no
7863
exp_sym_flag='-Bexport'
7866
# If we're using GNU nm, then we don't want the "-C" option.
7867
# -C means demangle to AIX nm, but means don't demangle with GNU nm
7868
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7869
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'
7871
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'
7873
aix_use_runtimelinking=no
7875
# Test if we are trying to use run time linking or normal
7876
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
7877
# need to do runtime linking.
7878
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7879
for ld_flag in $LDFLAGS; do
7880
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7881
aix_use_runtimelinking=yes
7888
exp_sym_flag='-bexport'
7889
no_entry_flag='-bnoentry'
7892
# When large executables or shared objects are built, AIX ld can
7893
# have problems creating the table of contents. If linking a library
7894
# or program results in "error TOC overflow" add -mminimal-toc to
7895
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7896
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7900
hardcode_libdir_separator=':'
7901
link_all_deplibs=yes
7903
if test "$GCC" = yes; then
7904
case $host_os in aix4.[012]|aix4.[012].*)
7905
# We only want to do this on AIX 4.2 and lower, the check
7906
# below for broken collect2 doesn't work under 4.3+
7907
collect2name=`${CC} -print-prog-name=collect2`
7908
if test -f "$collect2name" && \
7909
strings "$collect2name" | grep resolve_lib_name >/dev/null
7911
# We have reworked collect2
7914
# We have old collect2
7915
hardcode_direct=unsupported
7916
# It fails to find uninstalled libraries when the uninstalled
7917
# path is not listed in the libpath. Setting hardcode_minus_L
7918
# to unsupported forces relinking
7919
hardcode_minus_L=yes
7920
hardcode_libdir_flag_spec='-L$libdir'
7921
hardcode_libdir_separator=
7925
shared_flag='-shared'
7926
if test "$aix_use_runtimelinking" = yes; then
7927
shared_flag="$shared_flag "'${wl}-G'
7931
if test "$host_cpu" = ia64; then
7932
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7933
# chokes on -Wl,-G. The following line is correct:
7936
if test "$aix_use_runtimelinking" = yes; then
7937
shared_flag='${wl}-G'
7939
shared_flag='${wl}-bM:SRE'
7944
# It seems that -bexpall does not export symbols beginning with
7945
# underscore (_), so it is better to generate a list of symbols to export.
7946
always_export_symbols=yes
7947
if test "$aix_use_runtimelinking" = yes; then
7948
# Warning - without using the other runtime loading flags (-brtl),
7949
# -berok will link without error, but may produce a broken library.
7950
allow_undefined_flag='-berok'
7951
# Determine the default libpath from the value encoded in an empty executable.
7952
cat >conftest.$ac_ext <<_ACEOF
7955
cat confdefs.h >>conftest.$ac_ext
7956
cat >>conftest.$ac_ext <<_ACEOF
7957
/* end confdefs.h. */
7967
rm -f conftest.$ac_objext conftest$ac_exeext
7968
if { (ac_try="$ac_link"
7970
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7971
*) ac_try_echo=$ac_try;;
7973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7974
(eval "$ac_link") 2>conftest.er1
7976
grep -v '^ *+' conftest.er1 >conftest.err
7978
cat conftest.err >&5
7979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980
(exit $ac_status); } && {
7981
test -z "$ac_c_werror_flag" ||
7982
test ! -s conftest.err
7983
} && test -s conftest$ac_exeext &&
7984
$as_test_x conftest$ac_exeext; then
7986
lt_aix_libpath_sed='
7987
/Import File Strings/,/^$/ {
7993
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7994
# Check for a 64-bit object if we didn't find anything.
7995
if test -z "$aix_libpath"; then
7996
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7999
echo "$as_me: failed program was:" >&5
8000
sed 's/^/| /' conftest.$ac_ext >&5
8005
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8006
conftest$ac_exeext conftest.$ac_ext
8007
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8009
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8010
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"
8012
if test "$host_cpu" = ia64; then
8013
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8014
allow_undefined_flag="-z nodefs"
8015
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"
8017
# Determine the default libpath from the value encoded in an empty executable.
8018
cat >conftest.$ac_ext <<_ACEOF
8021
cat confdefs.h >>conftest.$ac_ext
8022
cat >>conftest.$ac_ext <<_ACEOF
8023
/* end confdefs.h. */
8033
rm -f conftest.$ac_objext conftest$ac_exeext
8034
if { (ac_try="$ac_link"
8036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8037
*) ac_try_echo=$ac_try;;
8039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8040
(eval "$ac_link") 2>conftest.er1
8042
grep -v '^ *+' conftest.er1 >conftest.err
8044
cat conftest.err >&5
8045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046
(exit $ac_status); } && {
8047
test -z "$ac_c_werror_flag" ||
8048
test ! -s conftest.err
8049
} && test -s conftest$ac_exeext &&
8050
$as_test_x conftest$ac_exeext; then
8052
lt_aix_libpath_sed='
8053
/Import File Strings/,/^$/ {
8059
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8060
# Check for a 64-bit object if we didn't find anything.
8061
if test -z "$aix_libpath"; then
8062
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8065
echo "$as_me: failed program was:" >&5
8066
sed 's/^/| /' conftest.$ac_ext >&5
8071
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8072
conftest$ac_exeext conftest.$ac_ext
8073
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8075
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8076
# Warning - without using the other run time loading flags,
8077
# -berok will link without error, but may produce a broken library.
8078
no_undefined_flag=' ${wl}-bernotok'
8079
allow_undefined_flag=' ${wl}-berok'
8080
# Exported symbols can be pulled into shared objects from archives
8081
whole_archive_flag_spec='$convenience'
8082
archive_cmds_need_lc=yes
8083
# This is similar to how AIX traditionally builds its shared libraries.
8084
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'
8090
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)'
8091
hardcode_libdir_flag_spec='-L$libdir'
8092
hardcode_minus_L=yes
8093
# see comment about different semantics on the GNU ld section
8098
export_dynamic_flag_spec=-rdynamic
8101
cygwin* | mingw* | pw32*)
8102
# When not using gcc, we currently assume that we are using
8103
# Microsoft Visual C++.
8104
# hardcode_libdir_flag_spec is actually meaningless, as there is
8105
# no search path for DLLs.
8106
hardcode_libdir_flag_spec=' '
8107
allow_undefined_flag=unsupported
8108
# Tell ltmain to make .lib files, not .a files.
8110
# Tell ltmain to make .dll files, not .so files.
8112
# FIXME: Setting linknames here is a bad hack.
8113
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8114
# The linker will automatically build a .lib file if we build a DLL.
8115
old_archive_From_new_cmds='true'
8116
# FIXME: Should let the user specify the lib program.
8117
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8118
fix_srcfile_path='`cygpath -w "$srcfile"`'
8119
enable_shared_with_static_runtimes=yes
8122
darwin* | rhapsody*)
8124
rhapsody* | darwin1.[012])
8125
allow_undefined_flag='${wl}-undefined ${wl}suppress'
8128
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8129
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8131
case ${MACOSX_DEPLOYMENT_TARGET} in
8133
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8136
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8142
archive_cmds_need_lc=no
8144
hardcode_automatic=yes
8145
hardcode_shlibpath_var=unsupported
8146
whole_archive_flag_spec=''
8147
link_all_deplibs=yes
8148
if test "$GCC" = yes ; then
8149
output_verbose_link_cmd='echo'
8150
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8151
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8152
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8153
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}'
8154
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}'
8156
case $cc_basename in
8158
output_verbose_link_cmd='echo'
8159
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8160
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8161
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8162
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}'
8163
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}'
8173
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8174
hardcode_libdir_flag_spec='-L$libdir'
8175
hardcode_shlibpath_var=no
8182
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8183
# support. Future versions do this automatically, but an explicit c++rt0.o
8184
# does not break anything, and helps significantly (at the cost of a little
8187
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8188
hardcode_libdir_flag_spec='-R$libdir'
8190
hardcode_shlibpath_var=no
8193
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8195
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8197
hardcode_minus_L=yes
8198
hardcode_shlibpath_var=no
8201
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8202
freebsd* | dragonfly*)
8203
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8204
hardcode_libdir_flag_spec='-R$libdir'
8206
hardcode_shlibpath_var=no
8210
if test "$GCC" = yes; then
8211
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'
8213
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'
8215
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8216
hardcode_libdir_separator=:
8219
# hardcode_minus_L: Not really in the search PATH,
8220
# but as the default location of the library.
8221
hardcode_minus_L=yes
8222
export_dynamic_flag_spec='${wl}-E'
8226
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8227
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8229
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8231
if test "$with_gnu_ld" = no; then
8232
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8233
hardcode_libdir_separator=:
8236
export_dynamic_flag_spec='${wl}-E'
8238
# hardcode_minus_L: Not really in the search PATH,
8239
# but as the default location of the library.
8240
hardcode_minus_L=yes
8245
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8248
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8251
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8254
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8260
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8263
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8266
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8270
if test "$with_gnu_ld" = no; then
8271
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8272
hardcode_libdir_separator=:
8276
hardcode_libdir_flag_spec_ld='+b $libdir'
8278
hardcode_shlibpath_var=no
8282
export_dynamic_flag_spec='${wl}-E'
8284
# hardcode_minus_L: Not really in the search PATH,
8285
# but as the default location of the library.
8286
hardcode_minus_L=yes
8292
irix5* | irix6* | nonstopux*)
8293
if test "$GCC" = yes; then
8294
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'
8296
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'
8297
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8299
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8300
hardcode_libdir_separator=:
8301
link_all_deplibs=yes
8304
netbsd* | netbsdelf*-gnu)
8305
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8306
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8308
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8310
hardcode_libdir_flag_spec='-R$libdir'
8312
hardcode_shlibpath_var=no
8316
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8318
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8319
hardcode_libdir_separator=:
8320
hardcode_shlibpath_var=no
8324
if test -f /usr/libexec/ld.so; then
8326
hardcode_shlibpath_var=no
8327
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8328
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8329
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8330
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8331
export_dynamic_flag_spec='${wl}-E'
8334
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8335
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8336
hardcode_libdir_flag_spec='-R$libdir'
8339
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8340
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8350
hardcode_libdir_flag_spec='-L$libdir'
8351
hardcode_minus_L=yes
8352
allow_undefined_flag=unsupported
8353
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'
8354
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8358
if test "$GCC" = yes; then
8359
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8360
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'
8362
allow_undefined_flag=' -expect_unresolved \*'
8363
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'
8365
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8366
hardcode_libdir_separator=:
8369
osf4* | osf5*) # as osf3* with the addition of -msym flag
8370
if test "$GCC" = yes; then
8371
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8372
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'
8373
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8375
allow_undefined_flag=' -expect_unresolved \*'
8376
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'
8377
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8378
$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'
8380
# Both c and cxx compiler support -rpath directly
8381
hardcode_libdir_flag_spec='-rpath $libdir'
8383
hardcode_libdir_separator=:
8387
no_undefined_flag=' -z text'
8388
if test "$GCC" = yes; then
8390
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8391
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8392
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8395
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8396
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8397
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8399
hardcode_libdir_flag_spec='-R$libdir'
8400
hardcode_shlibpath_var=no
8402
solaris2.[0-5] | solaris2.[0-5].*) ;;
8404
# The compiler driver will combine and reorder linker options,
8405
# but understands `-z linker_flag'. GCC discards it without `$wl',
8406
# but is careful enough not to reorder.
8407
# Supported since Solaris 2.6 (maybe 2.5.1?)
8408
if test "$GCC" = yes; then
8409
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8411
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8415
link_all_deplibs=yes
8419
if test "x$host_vendor" = xsequent; then
8420
# Use $CC to link under sequent, because it throws in some extra .o
8421
# files that make .init and .fini sections work.
8422
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8424
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8426
hardcode_libdir_flag_spec='-L$libdir'
8428
hardcode_minus_L=yes
8429
hardcode_shlibpath_var=no
8433
case $host_vendor in
8435
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8436
hardcode_direct=yes # is this really true???
8439
## LD is ld it makes a PLAMLIB
8440
## CC just makes a GrossModule.
8441
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8442
reload_cmds='$CC -r -o $output$reload_objs'
8446
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8447
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8450
runpath_var='LD_RUN_PATH'
8451
hardcode_shlibpath_var=no
8455
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8456
hardcode_shlibpath_var=no
8457
export_dynamic_flag_spec='-Bexport'
8461
if test -d /usr/nec; then
8462
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463
hardcode_shlibpath_var=no
8464
runpath_var=LD_RUN_PATH
8465
hardcode_runpath_var=yes
8470
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8471
no_undefined_flag='${wl}-z,text'
8472
archive_cmds_need_lc=no
8473
hardcode_shlibpath_var=no
8474
runpath_var='LD_RUN_PATH'
8476
if test "$GCC" = yes; then
8477
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8478
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8480
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8481
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8485
sysv5* | sco3.2v5* | sco5v6*)
8486
# Note: We can NOT use -z defs as we might desire, because we do not
8487
# link with -lc, and that would cause any symbols used from libc to
8488
# always be unresolved, which means just about no library would
8489
# ever link correctly. If we're not using GNU ld we use -z text
8490
# though, which does catch some bad symbols but isn't as heavy-handed
8492
no_undefined_flag='${wl}-z,text'
8493
allow_undefined_flag='${wl}-z,nodefs'
8494
archive_cmds_need_lc=no
8495
hardcode_shlibpath_var=no
8496
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8497
hardcode_libdir_separator=':'
8498
link_all_deplibs=yes
8499
export_dynamic_flag_spec='${wl}-Bexport'
8500
runpath_var='LD_RUN_PATH'
8502
if test "$GCC" = yes; then
8503
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8504
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8506
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8507
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8512
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8513
hardcode_libdir_flag_spec='-L$libdir'
8514
hardcode_shlibpath_var=no
8523
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8524
echo "${ECHO_T}$ld_shlibs" >&6; }
8525
test "$ld_shlibs" = no && can_build_shared=no
8528
# Do we need to explicitly link libc?
8530
case "x$archive_cmds_need_lc" in
8532
# Assume -lc should be added
8533
archive_cmds_need_lc=yes
8535
if test "$enable_shared" = yes && test "$GCC" = yes; then
8536
case $archive_cmds in
8538
# FIXME: we may have to deal with multi-command sequences.
8541
# Test whether the compiler implicitly links with -lc since on some
8542
# systems, -lgcc has to come before -lc. If gcc already passes -lc
8543
# to ld, don't add -lc before -lgcc.
8544
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8545
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8547
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8549
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8550
(eval $ac_compile) 2>&5
8552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553
(exit $ac_status); } 2>conftest.err; then
8556
libobjs=conftest.$ac_objext
8558
wl=$lt_prog_compiler_wl
8559
pic_flag=$lt_prog_compiler_pic
8565
lt_save_allow_undefined_flag=$allow_undefined_flag
8566
allow_undefined_flag=
8567
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8568
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571
(exit $ac_status); }
8573
archive_cmds_need_lc=no
8575
archive_cmds_need_lc=yes
8577
allow_undefined_flag=$lt_save_allow_undefined_flag
8579
cat conftest.err 1>&5
8582
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8583
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8590
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8591
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8593
libname_spec='lib$name'
8601
shlibpath_overrides_runpath=unknown
8603
dynamic_linker="$host_os ld.so"
8604
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8606
if test "$GCC" = yes; then
8608
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8609
*) lt_awk_arg="/^libraries:/" ;;
8611
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8612
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8613
# if the path contains ";" then we assume it to be the separator
8614
# otherwise default to the standard path separator (i.e. ":") - it is
8615
# assumed that no part of a normal pathname contains ";" but that should
8616
# okay in the real world where ";" in dirpaths is itself problematic.
8617
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8619
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8621
# Ok, now we have the path, separated by spaces, we can step through it
8622
# and add multilib dir if necessary.
8623
lt_tmp_lt_search_path_spec=
8624
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8625
for lt_sys_path in $lt_search_path_spec; do
8626
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8627
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8629
test -d "$lt_sys_path" && \
8630
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8633
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8634
BEGIN {RS=" "; FS="/|\n";} {
8637
for (lt_i = NF; lt_i > 0; lt_i--) {
8638
if ($lt_i != "" && $lt_i != ".") {
8639
if ($lt_i == "..") {
8642
if (lt_count == 0) {
8643
lt_foo="/" $lt_i lt_foo;
8650
if (lt_foo != "") { lt_freq[lt_foo]++; }
8651
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8653
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8655
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8657
need_lib_prefix=unknown
8658
hardcode_into_libs=no
8660
# when you set need_version to no, make sure it does not cause -set_version
8661
# flags to be left without arguments
8662
need_version=unknown
8667
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8668
shlibpath_var=LIBPATH
8670
# AIX 3 has no versioning support, so we append a major version to the name.
8671
soname_spec='${libname}${release}${shared_ext}$major'
8678
hardcode_into_libs=yes
8679
if test "$host_cpu" = ia64; then
8680
# AIX 5 supports IA64
8681
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8682
shlibpath_var=LD_LIBRARY_PATH
8684
# With GCC up to 2.95.x, collect2 would create an import file
8685
# for dependence libraries. The import file would start with
8686
# the line `#! .'. This would cause the generated library to
8687
# depend on `.', always an invalid library. This was fixed in
8688
# development snapshots of GCC prior to 3.0.
8690
aix4 | aix4.[01] | aix4.[01].*)
8691
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8693
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8700
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8701
# soname into executable. Probably we can add versioning support to
8702
# collect2, so additional links can be useful in future.
8703
if test "$aix_use_runtimelinking" = yes; then
8704
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
8705
# instead of lib<name>.a to let people know that these are not
8706
# typical AIX shared libraries.
8707
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8709
# We preserve .a as extension for shared libraries through AIX4.2
8710
# and later when we are not doing run time linking.
8711
library_names_spec='${libname}${release}.a $libname.a'
8712
soname_spec='${libname}${release}${shared_ext}$major'
8714
shlibpath_var=LIBPATH
8719
library_names_spec='$libname.ixlibrary $libname.a'
8720
# Create ${libname}_ixlibrary.a entries in /sys/libs.
8721
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'
8725
library_names_spec='${libname}${shared_ext}'
8726
dynamic_linker="$host_os ld.so"
8727
shlibpath_var=LIBRARY_PATH
8733
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8734
soname_spec='${libname}${release}${shared_ext}$major'
8735
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8736
shlibpath_var=LD_LIBRARY_PATH
8737
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8738
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8739
# the default ld.so.conf also contains /usr/contrib/lib and
8740
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8741
# libtool to hard-code these into programs
8744
cygwin* | mingw* | pw32*)
8745
version_type=windows
8750
case $GCC,$host_os in
8751
yes,cygwin* | yes,mingw* | yes,pw32*)
8752
library_names_spec='$libname.dll.a'
8753
# DLL is installed to $(libdir)/../bin by postinstall_cmds
8754
postinstall_cmds='base_file=`basename \${file}`~
8755
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8756
dldir=$destdir/`dirname \$dlpath`~
8757
test -d \$dldir || mkdir -p \$dldir~
8758
$install_prog $dir/$dlname \$dldir/$dlname~
8759
chmod a+x \$dldir/$dlname'
8760
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8761
dlpath=$dir/\$dldll~
8763
shlibpath_overrides_runpath=yes
8767
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
8768
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8769
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8772
# MinGW DLLs use traditional 'lib' prefix
8773
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8774
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8775
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8776
# It is most probably a Windows format PATH printed by
8777
# mingw gcc, but we are running on Cygwin. Gcc prints its search
8778
# path with ; separators, and with drive letters. We can handle the
8779
# drive letters (cygwin fileutils understands them), so leave them,
8780
# especially as we might pass files found there to a mingw objdump,
8781
# which wouldn't understand a cygwinified path. Ahh.
8782
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8784
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8788
# pw32 DLLs use 'pw' prefix rather than 'lib'
8789
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8795
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8798
dynamic_linker='Win32 ld.exe'
8799
# FIXME: first we should search . and the directory the executable is in
8803
darwin* | rhapsody*)
8804
dynamic_linker="$host_os dyld"
8808
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8809
soname_spec='${libname}${release}${major}$shared_ext'
8810
shlibpath_overrides_runpath=yes
8811
shlibpath_var=DYLD_LIBRARY_PATH
8812
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8814
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8815
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8822
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8823
soname_spec='${libname}${release}${shared_ext}$major'
8824
shlibpath_var=LD_LIBRARY_PATH
8831
freebsd* | dragonfly*)
8832
# DragonFly does not have aout. When/if they implement a new
8833
# versioning mechanism, adjust this.
8834
if test -x /usr/bin/objformat; then
8835
objformat=`/usr/bin/objformat`
8838
freebsd[123]*) objformat=aout ;;
8842
version_type=freebsd-$objformat
8843
case $version_type in
8845
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8850
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8854
shlibpath_var=LD_LIBRARY_PATH
8857
shlibpath_overrides_runpath=yes
8859
freebsd3.[01]* | freebsdelf3.[01]*)
8860
shlibpath_overrides_runpath=yes
8861
hardcode_into_libs=yes
8863
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8864
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8865
shlibpath_overrides_runpath=no
8866
hardcode_into_libs=yes
8868
*) # from 4.6 on, and DragonFly
8869
shlibpath_overrides_runpath=yes
8870
hardcode_into_libs=yes
8879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8880
soname_spec='${libname}${release}${shared_ext}$major'
8881
shlibpath_var=LD_LIBRARY_PATH
8882
hardcode_into_libs=yes
8885
hpux9* | hpux10* | hpux11*)
8886
# Give a soname corresponding to the major version so that dld.sl refuses to
8887
# link against other versions.
8894
hardcode_into_libs=yes
8895
dynamic_linker="$host_os dld.so"
8896
shlibpath_var=LD_LIBRARY_PATH
8897
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8898
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8899
soname_spec='${libname}${release}${shared_ext}$major'
8900
if test "X$HPUX_IA64_MODE" = X32; then
8901
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8903
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8905
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8909
hardcode_into_libs=yes
8910
dynamic_linker="$host_os dld.sl"
8911
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8912
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8913
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8914
soname_spec='${libname}${release}${shared_ext}$major'
8915
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8916
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8920
dynamic_linker="$host_os dld.sl"
8921
shlibpath_var=SHLIB_PATH
8922
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8924
soname_spec='${libname}${release}${shared_ext}$major'
8927
# HP-UX runs *really* slowly unless shared libraries are mode 555.
8928
postinstall_cmds='chmod 555 $lib'
8935
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8936
soname_spec='${libname}${release}${shared_ext}$major'
8937
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8938
shlibpath_var=LD_LIBRARY_PATH
8939
shlibpath_overrides_runpath=no
8940
hardcode_into_libs=yes
8943
irix5* | irix6* | nonstopux*)
8945
nonstopux*) version_type=nonstopux ;;
8947
if test "$lt_cv_prog_gnu_ld" = yes; then
8955
soname_spec='${libname}${release}${shared_ext}$major'
8956
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8958
irix5* | nonstopux*)
8962
case $LD in # libtool.m4 will add one of these switches to LD
8963
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8964
libsuff= shlibsuff= libmagic=32-bit;;
8965
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8966
libsuff=32 shlibsuff=N32 libmagic=N32;;
8967
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8968
libsuff=64 shlibsuff=64 libmagic=64-bit;;
8969
*) libsuff= shlibsuff= libmagic=never-match;;
8973
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8974
shlibpath_overrides_runpath=no
8975
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8976
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8977
hardcode_into_libs=yes
8980
# No shared lib support for Linux oldld, aout, or coff.
8981
linux*oldld* | linux*aout* | linux*coff*)
8985
# This must be Linux ELF.
8986
linux* | k*bsd*-gnu)
8990
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8991
soname_spec='${libname}${release}${shared_ext}$major'
8992
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8993
shlibpath_var=LD_LIBRARY_PATH
8994
shlibpath_overrides_runpath=no
8995
# This implies no fast_install, which is unacceptable.
8996
# Some rework will be needed to allow for fast_install
8997
# before this can be enabled.
8998
hardcode_into_libs=yes
9000
# Append ld.so.conf contents to the search path
9001
if test -f /etc/ld.so.conf; then
9002
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' ' '`
9003
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9006
# We used to test for /lib/ld.so.1 and disable shared libraries on
9007
# powerpc, because MkLinux only supported shared libraries with the
9008
# GNU dynamic linker. Since this was broken with cross compilers,
9009
# most powerpc-linux boxes support dynamic linking these days and
9010
# people can always --disable-shared, the test was removed, and we
9011
# assume the GNU/Linux dynamic linker is in use.
9012
dynamic_linker='GNU/Linux ld.so'
9019
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9020
soname_spec='${libname}${release}${shared_ext}$major'
9021
shlibpath_var=LD_LIBRARY_PATH
9022
shlibpath_overrides_runpath=no
9023
hardcode_into_libs=yes
9024
dynamic_linker='NetBSD ld.elf_so'
9031
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9032
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9033
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9034
dynamic_linker='NetBSD (a.out) ld.so'
9036
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9037
soname_spec='${libname}${release}${shared_ext}$major'
9038
dynamic_linker='NetBSD ld.elf_so'
9040
shlibpath_var=LD_LIBRARY_PATH
9041
shlibpath_overrides_runpath=yes
9042
hardcode_into_libs=yes
9047
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9048
shlibpath_var=LD_LIBRARY_PATH
9049
shlibpath_overrides_runpath=yes
9056
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9057
soname_spec='${libname}${release}${shared_ext}$major'
9058
shlibpath_var=LD_LIBRARY_PATH
9059
shlibpath_overrides_runpath=yes
9064
sys_lib_dlsearch_path_spec="/usr/lib"
9066
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9068
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9069
*) need_version=no ;;
9071
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9072
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9073
shlibpath_var=LD_LIBRARY_PATH
9074
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9076
openbsd2.[89] | openbsd2.[89].*)
9077
shlibpath_overrides_runpath=no
9080
shlibpath_overrides_runpath=yes
9084
shlibpath_overrides_runpath=yes
9089
libname_spec='$name'
9092
library_names_spec='$libname${shared_ext} $libname.a'
9093
dynamic_linker='OS/2 ld.exe'
9094
shlibpath_var=LIBPATH
9097
osf3* | osf4* | osf5*)
9101
soname_spec='${libname}${release}${shared_ext}$major'
9102
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9103
shlibpath_var=LD_LIBRARY_PATH
9104
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9105
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9116
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9117
soname_spec='${libname}${release}${shared_ext}$major'
9118
shlibpath_var=LD_LIBRARY_PATH
9119
shlibpath_overrides_runpath=yes
9120
hardcode_into_libs=yes
9121
# ldd complains unless libraries are executable
9122
postinstall_cmds='chmod +x $lib'
9127
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9128
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9129
shlibpath_var=LD_LIBRARY_PATH
9130
shlibpath_overrides_runpath=yes
9131
if test "$with_gnu_ld" = yes; then
9139
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9140
soname_spec='${libname}${release}${shared_ext}$major'
9141
shlibpath_var=LD_LIBRARY_PATH
9142
case $host_vendor in
9144
shlibpath_overrides_runpath=no
9146
export_dynamic_flag_spec='${wl}-Blargedynsym'
9147
runpath_var=LD_RUN_PATH
9155
shlibpath_overrides_runpath=no
9156
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9162
if test -d /usr/nec ;then
9164
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9165
soname_spec='$libname${shared_ext}.$major'
9166
shlibpath_var=LD_LIBRARY_PATH
9170
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9171
version_type=freebsd-elf
9174
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9175
soname_spec='${libname}${release}${shared_ext}$major'
9176
shlibpath_var=LD_LIBRARY_PATH
9177
hardcode_into_libs=yes
9178
if test "$with_gnu_ld" = yes; then
9179
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9180
shlibpath_overrides_runpath=no
9182
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9183
shlibpath_overrides_runpath=yes
9186
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9190
sys_lib_dlsearch_path_spec='/usr/lib'
9195
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196
soname_spec='${libname}${release}${shared_ext}$major'
9197
shlibpath_var=LD_LIBRARY_PATH
9204
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9205
echo "${ECHO_T}$dynamic_linker" >&6; }
9206
test "$dynamic_linker" = no && can_build_shared=no
9208
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9209
if test "$GCC" = yes; then
9210
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9213
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9214
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9216
if test -n "$hardcode_libdir_flag_spec" || \
9217
test -n "$runpath_var" || \
9218
test "X$hardcode_automatic" = "Xyes" ; then
9220
# We can hardcode non-existant directories.
9221
if test "$hardcode_direct" != no &&
9222
# If the only mechanism to avoid hardcoding is shlibpath_var, we
9223
# have to relink, otherwise we might link with an installed library
9224
# when we should be linking with a yet-to-be-installed one
9225
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9226
test "$hardcode_minus_L" != no; then
9227
# Linking always hardcodes the temporary library directory.
9228
hardcode_action=relink
9230
# We can link without hardcoding, and we can hardcode nonexisting dirs.
9231
hardcode_action=immediate
9234
# We cannot hardcode anything, or else we can only hardcode existing
9236
hardcode_action=unsupported
9238
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9239
echo "${ECHO_T}$hardcode_action" >&6; }
9241
if test "$hardcode_action" = relink; then
9242
# Fast installation is not supported
9243
enable_fast_install=no
9244
elif test "$shlibpath_overrides_runpath" = yes ||
9245
test "$enable_shared" = no; then
9246
# Fast installation is not necessary
9247
enable_fast_install=needless
9252
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9253
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9254
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9255
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9256
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9257
{ echo "$as_me:$LINENO: result: yes" >&5
9258
echo "${ECHO_T}yes" >&6; }
9260
# FIXME - insert some real tests, host_os isn't really good enough
9263
if test -n "$STRIP" ; then
9264
striplib="$STRIP -x"
9265
old_striplib="$STRIP -S"
9266
{ echo "$as_me:$LINENO: result: yes" >&5
9267
echo "${ECHO_T}yes" >&6; }
9269
{ echo "$as_me:$LINENO: result: no" >&5
9270
echo "${ECHO_T}no" >&6; }
9274
{ echo "$as_me:$LINENO: result: no" >&5
9275
echo "${ECHO_T}no" >&6; }
9280
if test "x$enable_dlopen" != xyes; then
9281
enable_dlopen=unknown
9282
enable_dlopen_self=unknown
9283
enable_dlopen_self_static=unknown
9290
lt_cv_dlopen="load_add_on"
9292
lt_cv_dlopen_self=yes
9296
lt_cv_dlopen="LoadLibrary"
9301
lt_cv_dlopen="dlopen"
9306
# if libdl is installed we need to link against it
9307
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9308
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9309
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9310
echo $ECHO_N "(cached) $ECHO_C" >&6
9312
ac_check_lib_save_LIBS=$LIBS
9314
cat >conftest.$ac_ext <<_ACEOF
9317
cat confdefs.h >>conftest.$ac_ext
9318
cat >>conftest.$ac_ext <<_ACEOF
9319
/* end confdefs.h. */
9321
/* Override any GCC internal prototype to avoid an error.
9322
Use char because int might match the return type of a GCC
9323
builtin and then its argument prototype would still apply. */
9336
rm -f conftest.$ac_objext conftest$ac_exeext
9337
if { (ac_try="$ac_link"
9339
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9340
*) ac_try_echo=$ac_try;;
9342
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9343
(eval "$ac_link") 2>conftest.er1
9345
grep -v '^ *+' conftest.er1 >conftest.err
9347
cat conftest.err >&5
9348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349
(exit $ac_status); } && {
9350
test -z "$ac_c_werror_flag" ||
9351
test ! -s conftest.err
9352
} && test -s conftest$ac_exeext &&
9353
$as_test_x conftest$ac_exeext; then
9354
ac_cv_lib_dl_dlopen=yes
9356
echo "$as_me: failed program was:" >&5
9357
sed 's/^/| /' conftest.$ac_ext >&5
9359
ac_cv_lib_dl_dlopen=no
9362
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9363
conftest$ac_exeext conftest.$ac_ext
9364
LIBS=$ac_check_lib_save_LIBS
9366
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9367
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9368
if test $ac_cv_lib_dl_dlopen = yes; then
9369
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9374
lt_cv_dlopen_self=yes
9381
{ echo "$as_me:$LINENO: checking for shl_load" >&5
9382
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9383
if test "${ac_cv_func_shl_load+set}" = set; then
9384
echo $ECHO_N "(cached) $ECHO_C" >&6
9386
cat >conftest.$ac_ext <<_ACEOF
9389
cat confdefs.h >>conftest.$ac_ext
9390
cat >>conftest.$ac_ext <<_ACEOF
9391
/* end confdefs.h. */
9392
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9393
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9394
#define shl_load innocuous_shl_load
9396
/* System header to define __stub macros and hopefully few prototypes,
9397
which can conflict with char shl_load (); below.
9398
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9399
<limits.h> exists even on freestanding compilers. */
9402
# include <limits.h>
9404
# include <assert.h>
9409
/* Override any GCC internal prototype to avoid an error.
9410
Use char because int might match the return type of a GCC
9411
builtin and then its argument prototype would still apply. */
9416
/* The GNU C library defines this for functions which it implements
9417
to always fail with ENOSYS. Some functions are actually named
9418
something starting with __ and the normal name is an alias. */
9419
#if defined __stub_shl_load || defined __stub___shl_load
9431
rm -f conftest.$ac_objext conftest$ac_exeext
9432
if { (ac_try="$ac_link"
9434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435
*) ac_try_echo=$ac_try;;
9437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438
(eval "$ac_link") 2>conftest.er1
9440
grep -v '^ *+' conftest.er1 >conftest.err
9442
cat conftest.err >&5
9443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444
(exit $ac_status); } && {
9445
test -z "$ac_c_werror_flag" ||
9446
test ! -s conftest.err
9447
} && test -s conftest$ac_exeext &&
9448
$as_test_x conftest$ac_exeext; then
9449
ac_cv_func_shl_load=yes
9451
echo "$as_me: failed program was:" >&5
9452
sed 's/^/| /' conftest.$ac_ext >&5
9454
ac_cv_func_shl_load=no
9457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9458
conftest$ac_exeext conftest.$ac_ext
9460
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9461
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9462
if test $ac_cv_func_shl_load = yes; then
9463
lt_cv_dlopen="shl_load"
9465
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9466
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9467
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9468
echo $ECHO_N "(cached) $ECHO_C" >&6
9470
ac_check_lib_save_LIBS=$LIBS
9472
cat >conftest.$ac_ext <<_ACEOF
9475
cat confdefs.h >>conftest.$ac_ext
9476
cat >>conftest.$ac_ext <<_ACEOF
9477
/* end confdefs.h. */
9479
/* Override any GCC internal prototype to avoid an error.
9480
Use char because int might match the return type of a GCC
9481
builtin and then its argument prototype would still apply. */
9494
rm -f conftest.$ac_objext conftest$ac_exeext
9495
if { (ac_try="$ac_link"
9497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9498
*) ac_try_echo=$ac_try;;
9500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9501
(eval "$ac_link") 2>conftest.er1
9503
grep -v '^ *+' conftest.er1 >conftest.err
9505
cat conftest.err >&5
9506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507
(exit $ac_status); } && {
9508
test -z "$ac_c_werror_flag" ||
9509
test ! -s conftest.err
9510
} && test -s conftest$ac_exeext &&
9511
$as_test_x conftest$ac_exeext; then
9512
ac_cv_lib_dld_shl_load=yes
9514
echo "$as_me: failed program was:" >&5
9515
sed 's/^/| /' conftest.$ac_ext >&5
9517
ac_cv_lib_dld_shl_load=no
9520
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9521
conftest$ac_exeext conftest.$ac_ext
9522
LIBS=$ac_check_lib_save_LIBS
9524
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9525
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9526
if test $ac_cv_lib_dld_shl_load = yes; then
9527
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9529
{ echo "$as_me:$LINENO: checking for dlopen" >&5
9530
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9531
if test "${ac_cv_func_dlopen+set}" = set; then
9532
echo $ECHO_N "(cached) $ECHO_C" >&6
9534
cat >conftest.$ac_ext <<_ACEOF
9537
cat confdefs.h >>conftest.$ac_ext
9538
cat >>conftest.$ac_ext <<_ACEOF
9539
/* end confdefs.h. */
9540
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9541
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9542
#define dlopen innocuous_dlopen
9544
/* System header to define __stub macros and hopefully few prototypes,
9545
which can conflict with char dlopen (); below.
9546
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9547
<limits.h> exists even on freestanding compilers. */
9550
# include <limits.h>
9552
# include <assert.h>
9557
/* Override any GCC internal prototype to avoid an error.
9558
Use char because int might match the return type of a GCC
9559
builtin and then its argument prototype would still apply. */
9564
/* The GNU C library defines this for functions which it implements
9565
to always fail with ENOSYS. Some functions are actually named
9566
something starting with __ and the normal name is an alias. */
9567
#if defined __stub_dlopen || defined __stub___dlopen
9579
rm -f conftest.$ac_objext conftest$ac_exeext
9580
if { (ac_try="$ac_link"
9582
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9583
*) ac_try_echo=$ac_try;;
9585
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9586
(eval "$ac_link") 2>conftest.er1
9588
grep -v '^ *+' conftest.er1 >conftest.err
9590
cat conftest.err >&5
9591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592
(exit $ac_status); } && {
9593
test -z "$ac_c_werror_flag" ||
9594
test ! -s conftest.err
9595
} && test -s conftest$ac_exeext &&
9596
$as_test_x conftest$ac_exeext; then
9597
ac_cv_func_dlopen=yes
9599
echo "$as_me: failed program was:" >&5
9600
sed 's/^/| /' conftest.$ac_ext >&5
9602
ac_cv_func_dlopen=no
9605
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9606
conftest$ac_exeext conftest.$ac_ext
9608
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9609
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9610
if test $ac_cv_func_dlopen = yes; then
9611
lt_cv_dlopen="dlopen"
9613
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9614
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9615
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9616
echo $ECHO_N "(cached) $ECHO_C" >&6
9618
ac_check_lib_save_LIBS=$LIBS
9620
cat >conftest.$ac_ext <<_ACEOF
9623
cat confdefs.h >>conftest.$ac_ext
9624
cat >>conftest.$ac_ext <<_ACEOF
9625
/* end confdefs.h. */
9627
/* Override any GCC internal prototype to avoid an error.
9628
Use char because int might match the return type of a GCC
9629
builtin and then its argument prototype would still apply. */
9642
rm -f conftest.$ac_objext conftest$ac_exeext
9643
if { (ac_try="$ac_link"
9645
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646
*) ac_try_echo=$ac_try;;
9648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649
(eval "$ac_link") 2>conftest.er1
9651
grep -v '^ *+' conftest.er1 >conftest.err
9653
cat conftest.err >&5
9654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655
(exit $ac_status); } && {
9656
test -z "$ac_c_werror_flag" ||
9657
test ! -s conftest.err
9658
} && test -s conftest$ac_exeext &&
9659
$as_test_x conftest$ac_exeext; then
9660
ac_cv_lib_dl_dlopen=yes
9662
echo "$as_me: failed program was:" >&5
9663
sed 's/^/| /' conftest.$ac_ext >&5
9665
ac_cv_lib_dl_dlopen=no
9668
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9669
conftest$ac_exeext conftest.$ac_ext
9670
LIBS=$ac_check_lib_save_LIBS
9672
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9673
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9674
if test $ac_cv_lib_dl_dlopen = yes; then
9675
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9677
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9678
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9679
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9680
echo $ECHO_N "(cached) $ECHO_C" >&6
9682
ac_check_lib_save_LIBS=$LIBS
9684
cat >conftest.$ac_ext <<_ACEOF
9687
cat confdefs.h >>conftest.$ac_ext
9688
cat >>conftest.$ac_ext <<_ACEOF
9689
/* end confdefs.h. */
9691
/* Override any GCC internal prototype to avoid an error.
9692
Use char because int might match the return type of a GCC
9693
builtin and then its argument prototype would still apply. */
9706
rm -f conftest.$ac_objext conftest$ac_exeext
9707
if { (ac_try="$ac_link"
9709
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9710
*) ac_try_echo=$ac_try;;
9712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9713
(eval "$ac_link") 2>conftest.er1
9715
grep -v '^ *+' conftest.er1 >conftest.err
9717
cat conftest.err >&5
9718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719
(exit $ac_status); } && {
9720
test -z "$ac_c_werror_flag" ||
9721
test ! -s conftest.err
9722
} && test -s conftest$ac_exeext &&
9723
$as_test_x conftest$ac_exeext; then
9724
ac_cv_lib_svld_dlopen=yes
9726
echo "$as_me: failed program was:" >&5
9727
sed 's/^/| /' conftest.$ac_ext >&5
9729
ac_cv_lib_svld_dlopen=no
9732
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9733
conftest$ac_exeext conftest.$ac_ext
9734
LIBS=$ac_check_lib_save_LIBS
9736
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9737
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9738
if test $ac_cv_lib_svld_dlopen = yes; then
9739
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9741
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9742
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9743
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9744
echo $ECHO_N "(cached) $ECHO_C" >&6
9746
ac_check_lib_save_LIBS=$LIBS
9748
cat >conftest.$ac_ext <<_ACEOF
9751
cat confdefs.h >>conftest.$ac_ext
9752
cat >>conftest.$ac_ext <<_ACEOF
9753
/* end confdefs.h. */
9755
/* Override any GCC internal prototype to avoid an error.
9756
Use char because int might match the return type of a GCC
9757
builtin and then its argument prototype would still apply. */
9770
rm -f conftest.$ac_objext conftest$ac_exeext
9771
if { (ac_try="$ac_link"
9773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9774
*) ac_try_echo=$ac_try;;
9776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9777
(eval "$ac_link") 2>conftest.er1
9779
grep -v '^ *+' conftest.er1 >conftest.err
9781
cat conftest.err >&5
9782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783
(exit $ac_status); } && {
9784
test -z "$ac_c_werror_flag" ||
9785
test ! -s conftest.err
9786
} && test -s conftest$ac_exeext &&
9787
$as_test_x conftest$ac_exeext; then
9788
ac_cv_lib_dld_dld_link=yes
9790
echo "$as_me: failed program was:" >&5
9791
sed 's/^/| /' conftest.$ac_ext >&5
9793
ac_cv_lib_dld_dld_link=no
9796
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9797
conftest$ac_exeext conftest.$ac_ext
9798
LIBS=$ac_check_lib_save_LIBS
9800
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9801
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9802
if test $ac_cv_lib_dld_dld_link = yes; then
9803
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9824
if test "x$lt_cv_dlopen" != xno; then
9830
case $lt_cv_dlopen in
9832
save_CPPFLAGS="$CPPFLAGS"
9833
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9835
save_LDFLAGS="$LDFLAGS"
9836
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9839
LIBS="$lt_cv_dlopen_libs $LIBS"
9841
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9842
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9843
if test "${lt_cv_dlopen_self+set}" = set; then
9844
echo $ECHO_N "(cached) $ECHO_C" >&6
9846
if test "$cross_compiling" = yes; then :
9847
lt_cv_dlopen_self=cross
9849
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9850
lt_status=$lt_dlunknown
9851
cat > conftest.$ac_ext <<EOF
9852
#line __oline__ "configure"
9853
#include "confdefs.h"
9862
# define LT_DLGLOBAL RTLD_GLOBAL
9865
# define LT_DLGLOBAL DL_GLOBAL
9867
# define LT_DLGLOBAL 0
9871
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9872
find out it does not work in some platform. */
9873
#ifndef LT_DLLAZY_OR_NOW
9875
# define LT_DLLAZY_OR_NOW RTLD_LAZY
9878
# define LT_DLLAZY_OR_NOW DL_LAZY
9881
# define LT_DLLAZY_OR_NOW RTLD_NOW
9884
# define LT_DLLAZY_OR_NOW DL_NOW
9886
# define LT_DLLAZY_OR_NOW 0
9894
extern "C" void exit (int);
9897
void fnord() { int i=42;}
9900
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9901
int status = $lt_dlunknown;
9905
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9906
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9907
/* dlclose (self); */
9915
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9916
(eval $ac_link) 2>&5
9918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9920
(./conftest; exit; ) >&5 2>/dev/null
9923
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9924
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9925
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9928
# compilation failed
9929
lt_cv_dlopen_self=no
9936
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9937
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9939
if test "x$lt_cv_dlopen_self" = xyes; then
9940
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9941
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9942
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9943
if test "${lt_cv_dlopen_self_static+set}" = set; then
9944
echo $ECHO_N "(cached) $ECHO_C" >&6
9946
if test "$cross_compiling" = yes; then :
9947
lt_cv_dlopen_self_static=cross
9949
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9950
lt_status=$lt_dlunknown
9951
cat > conftest.$ac_ext <<EOF
9952
#line __oline__ "configure"
9953
#include "confdefs.h"
9962
# define LT_DLGLOBAL RTLD_GLOBAL
9965
# define LT_DLGLOBAL DL_GLOBAL
9967
# define LT_DLGLOBAL 0
9971
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9972
find out it does not work in some platform. */
9973
#ifndef LT_DLLAZY_OR_NOW
9975
# define LT_DLLAZY_OR_NOW RTLD_LAZY
9978
# define LT_DLLAZY_OR_NOW DL_LAZY
9981
# define LT_DLLAZY_OR_NOW RTLD_NOW
9984
# define LT_DLLAZY_OR_NOW DL_NOW
9986
# define LT_DLLAZY_OR_NOW 0
9994
extern "C" void exit (int);
9997
void fnord() { int i=42;}
10000
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10001
int status = $lt_dlunknown;
10005
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10006
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10007
/* dlclose (self); */
10015
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016
(eval $ac_link) 2>&5
10018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10020
(./conftest; exit; ) >&5 2>/dev/null
10022
case x$lt_status in
10023
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10024
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10025
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10028
# compilation failed
10029
lt_cv_dlopen_self_static=no
10036
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10037
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10040
CPPFLAGS="$save_CPPFLAGS"
10041
LDFLAGS="$save_LDFLAGS"
10046
case $lt_cv_dlopen_self in
10047
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10048
*) enable_dlopen_self=unknown ;;
10051
case $lt_cv_dlopen_self_static in
10052
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10053
*) enable_dlopen_self_static=unknown ;;
10058
# Report which library types will actually be built
10059
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10060
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10061
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10062
echo "${ECHO_T}$can_build_shared" >&6; }
10064
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10065
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10066
test "$can_build_shared" = "no" && enable_shared=no
10068
# On AIX, shared libraries and static libraries use the same namespace, and
10069
# are all built from PIC.
10072
test "$enable_shared" = yes && enable_static=no
10073
if test -n "$RANLIB"; then
10074
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10075
postinstall_cmds='$RANLIB $lib'
10080
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10081
test "$enable_shared" = yes && enable_static=no
10085
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10086
echo "${ECHO_T}$enable_shared" >&6; }
10088
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10089
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10090
# Make sure either enable_shared or enable_static is yes.
10091
test "$enable_shared" = yes || enable_static=yes
10092
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10093
echo "${ECHO_T}$enable_static" >&6; }
10095
# The else clause should only fire when bootstrapping the
10096
# libtool distribution, otherwise you forgot to ship ltmain.sh
10097
# with your package, and you will get complaints that there are
10098
# no rules to generate ltmain.sh.
10099
if test -f "$ltmain"; then
10100
# See if we are running on zsh, and set the options which allow our commands through
10101
# without removal of \ escapes.
10102
if test -n "${ZSH_VERSION+set}" ; then
10103
setopt NO_GLOB_SUBST
10105
# Now quote all the things that may contain metacharacters while being
10106
# careful not to overquote the AC_SUBSTed values. We take copies of the
10107
# variables and quote the copies for generation of the libtool script.
10108
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10110
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10111
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10112
deplibs_check_method reload_flag reload_cmds need_locks \
10113
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10114
lt_cv_sys_global_symbol_to_c_name_address \
10115
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10116
old_postinstall_cmds old_postuninstall_cmds \
10120
lt_prog_compiler_wl \
10121
lt_prog_compiler_pic \
10122
lt_prog_compiler_static \
10123
lt_prog_compiler_no_builtin_flag \
10124
export_dynamic_flag_spec \
10125
thread_safe_flag_spec \
10126
whole_archive_flag_spec \
10127
enable_shared_with_static_runtimes \
10129
old_archive_from_new_cmds \
10134
compiler_lib_search_path \
10136
archive_expsym_cmds \
10138
postuninstall_cmds \
10139
old_archive_from_expsyms_cmds \
10140
allow_undefined_flag \
10141
no_undefined_flag \
10142
export_symbols_cmds \
10143
hardcode_libdir_flag_spec \
10144
hardcode_libdir_flag_spec_ld \
10145
hardcode_libdir_separator \
10146
hardcode_automatic \
10148
module_expsym_cmds \
10149
lt_cv_prog_compiler_c_o \
10152
include_expsyms; do
10155
old_archive_cmds | \
10156
old_archive_from_new_cmds | \
10158
archive_expsym_cmds | \
10160
module_expsym_cmds | \
10161
old_archive_from_expsyms_cmds | \
10162
export_symbols_cmds | \
10163
extract_expsyms_cmds | reload_cmds | finish_cmds | \
10164
postinstall_cmds | postuninstall_cmds | \
10165
old_postinstall_cmds | old_postuninstall_cmds | \
10166
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10167
# Double-quote double-evaled strings.
10168
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10171
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10177
*'\$0 --fallback-echo"')
10178
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10182
cfgfile="${ofile}T"
10183
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10185
{ echo "$as_me:$LINENO: creating $ofile" >&5
10186
echo "$as_me: creating $ofile" >&6;}
10188
cat <<__EOF__ >> "$cfgfile"
10191
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10192
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10193
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10195
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10196
# Free Software Foundation, Inc.
10198
# This file is part of GNU Libtool:
10199
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10201
# This program is free software; you can redistribute it and/or modify
10202
# it under the terms of the GNU General Public License as published by
10203
# the Free Software Foundation; either version 2 of the License, or
10204
# (at your option) any later version.
10206
# This program is distributed in the hope that it will be useful, but
10207
# WITHOUT ANY WARRANTY; without even the implied warranty of
10208
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10209
# General Public License for more details.
10211
# You should have received a copy of the GNU General Public License
10212
# along with this program; if not, write to the Free Software
10213
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10215
# As a special exception to the GNU General Public License, if you
10216
# distribute this file as part of a program that contains a
10217
# configuration script generated by Autoconf, you may include it under
10218
# the same distribution terms that you use for the rest of that program.
10220
# A sed program that does not truncate output.
10223
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10224
Xsed="$SED -e 1s/^X//"
10226
# The HP-UX ksh and POSIX shell print the target directory to stdout
10227
# if CDPATH is set.
10228
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10230
# The names of the tagged configurations supported by this script.
10233
# ### BEGIN LIBTOOL CONFIG
10235
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10237
# Shell to use when invoking shell scripts.
10240
# Whether or not to build shared libraries.
10241
build_libtool_libs=$enable_shared
10243
# Whether or not to build static libraries.
10244
build_old_libs=$enable_static
10246
# Whether or not to add -lc for building shared libraries.
10247
build_libtool_need_lc=$archive_cmds_need_lc
10249
# Whether or not to disallow shared libs when runtime libs are static
10250
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10252
# Whether or not to optimize for fast installation.
10253
fast_install=$enable_fast_install
10256
host_alias=$host_alias
10260
# The build system.
10261
build_alias=$build_alias
10265
# An echo program that does not interpret backslashes.
10270
AR_FLAGS=$lt_AR_FLAGS
10275
# LTCC compiler flags.
10276
LTCFLAGS=$lt_LTCFLAGS
10278
# A language-specific compiler.
10281
# Is the compiler the GNU C compiler?
10287
# The linker used to build libraries.
10290
# Whether we need hard or soft links.
10293
# A BSD-compatible nm program.
10296
# A symbol stripping program
10299
# Used to examine libraries when file_magic_cmd begins "file"
10300
MAGIC_CMD=$MAGIC_CMD
10302
# Used on cygwin: DLL creation program.
10305
# Used on cygwin: object dumper.
10308
# Used on cygwin: assembler.
10311
# The name of the directory that contains temporary libtool files.
10314
# How to create reloadable object files.
10315
reload_flag=$lt_reload_flag
10316
reload_cmds=$lt_reload_cmds
10318
# How to pass a linker flag through the compiler.
10319
wl=$lt_lt_prog_compiler_wl
10321
# Object file suffix (normally "o").
10322
objext="$ac_objext"
10324
# Old archive suffix (normally "a").
10327
# Shared library suffix (normally ".so").
10328
shrext_cmds='$shrext_cmds'
10330
# Executable file suffix (normally "").
10333
# Additional compiler flags for building library objects.
10334
pic_flag=$lt_lt_prog_compiler_pic
10337
# What is the maximum length of a command?
10338
max_cmd_len=$lt_cv_sys_max_cmd_len
10340
# Does compiler simultaneously support -c and -o options?
10341
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10343
# Must we lock files when doing compilation?
10344
need_locks=$lt_need_locks
10346
# Do we need the lib prefix for modules?
10347
need_lib_prefix=$need_lib_prefix
10349
# Do we need a version for libraries?
10350
need_version=$need_version
10352
# Whether dlopen is supported.
10353
dlopen_support=$enable_dlopen
10355
# Whether dlopen of programs is supported.
10356
dlopen_self=$enable_dlopen_self
10358
# Whether dlopen of statically linked programs is supported.
10359
dlopen_self_static=$enable_dlopen_self_static
10361
# Compiler flag to prevent dynamic linking.
10362
link_static_flag=$lt_lt_prog_compiler_static
10364
# Compiler flag to turn off builtin functions.
10365
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10367
# Compiler flag to allow reflexive dlopens.
10368
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10370
# Compiler flag to generate shared objects directly from archives.
10371
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10373
# Compiler flag to generate thread-safe objects.
10374
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10376
# Library versioning type.
10377
version_type=$version_type
10379
# Format of library name prefix.
10380
libname_spec=$lt_libname_spec
10382
# List of archive names. First name is the real one, the rest are links.
10383
# The last name is the one that the linker finds with -lNAME.
10384
library_names_spec=$lt_library_names_spec
10386
# The coded name of the library, if different from the real name.
10387
soname_spec=$lt_soname_spec
10389
# Commands used to build and install an old-style archive.
10391
old_archive_cmds=$lt_old_archive_cmds
10392
old_postinstall_cmds=$lt_old_postinstall_cmds
10393
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10395
# Create an old-style archive from a shared archive.
10396
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10398
# Create a temporary old-style archive to link instead of a shared archive.
10399
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10401
# Commands used to build and install a shared archive.
10402
archive_cmds=$lt_archive_cmds
10403
archive_expsym_cmds=$lt_archive_expsym_cmds
10404
postinstall_cmds=$lt_postinstall_cmds
10405
postuninstall_cmds=$lt_postuninstall_cmds
10407
# Commands used to build a loadable module (assumed same as above if empty)
10408
module_cmds=$lt_module_cmds
10409
module_expsym_cmds=$lt_module_expsym_cmds
10411
# Commands to strip libraries.
10412
old_striplib=$lt_old_striplib
10413
striplib=$lt_striplib
10415
# Dependencies to place before the objects being linked to create a
10417
predep_objects=$lt_predep_objects
10419
# Dependencies to place after the objects being linked to create a
10421
postdep_objects=$lt_postdep_objects
10423
# Dependencies to place before the objects being linked to create a
10425
predeps=$lt_predeps
10427
# Dependencies to place after the objects being linked to create a
10429
postdeps=$lt_postdeps
10431
# The library search path used internally by the compiler when linking
10432
# a shared library.
10433
compiler_lib_search_path=$lt_compiler_lib_search_path
10435
# Method to check whether dependent libraries are shared objects.
10436
deplibs_check_method=$lt_deplibs_check_method
10438
# Command to use when deplibs_check_method == file_magic.
10439
file_magic_cmd=$lt_file_magic_cmd
10441
# Flag that allows shared libraries with undefined symbols to be built.
10442
allow_undefined_flag=$lt_allow_undefined_flag
10444
# Flag that forces no undefined symbols.
10445
no_undefined_flag=$lt_no_undefined_flag
10447
# Commands used to finish a libtool library installation in a directory.
10448
finish_cmds=$lt_finish_cmds
10450
# Same as above, but a single script fragment to be evaled but not shown.
10451
finish_eval=$lt_finish_eval
10453
# Take the output of nm and produce a listing of raw symbols and C names.
10454
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10456
# Transform the output of nm in a proper C declaration
10457
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10459
# Transform the output of nm in a C name address pair
10460
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10462
# This is the shared library runtime path variable.
10463
runpath_var=$runpath_var
10465
# This is the shared library path variable.
10466
shlibpath_var=$shlibpath_var
10468
# Is shlibpath searched before the hard-coded library search path?
10469
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10471
# How to hardcode a shared library path into an executable.
10472
hardcode_action=$hardcode_action
10474
# Whether we should hardcode library paths into libraries.
10475
hardcode_into_libs=$hardcode_into_libs
10477
# Flag to hardcode \$libdir into a binary during linking.
10478
# This must work even if \$libdir does not exist.
10479
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10481
# If ld is used when linking, flag to hardcode \$libdir into
10482
# a binary during linking. This must work even if \$libdir does
10484
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10486
# Whether we need a single -rpath flag with a separated argument.
10487
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10489
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10490
# resulting binary.
10491
hardcode_direct=$hardcode_direct
10493
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10494
# resulting binary.
10495
hardcode_minus_L=$hardcode_minus_L
10497
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10498
# the resulting binary.
10499
hardcode_shlibpath_var=$hardcode_shlibpath_var
10501
# Set to yes if building a shared library automatically hardcodes DIR into the library
10502
# and all subsequent libraries and executables linked against it.
10503
hardcode_automatic=$hardcode_automatic
10505
# Variables whose values should be saved in libtool wrapper scripts and
10506
# restored at relink time.
10507
variables_saved_for_relink="$variables_saved_for_relink"
10509
# Whether libtool must link a program against all its dependency libraries.
10510
link_all_deplibs=$link_all_deplibs
10512
# Compile-time system search path for libraries
10513
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10515
# Run-time system search path for libraries
10516
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10518
# Fix the shell variable \$srcfile for the compiler.
10519
fix_srcfile_path=$lt_fix_srcfile_path
10521
# Set to yes if exported symbols are required.
10522
always_export_symbols=$always_export_symbols
10524
# The commands to list exported symbols.
10525
export_symbols_cmds=$lt_export_symbols_cmds
10527
# The commands to extract the exported symbol list from a shared archive.
10528
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10530
# Symbols that should not be listed in the preloaded symbols.
10531
exclude_expsyms=$lt_exclude_expsyms
10533
# Symbols that must always be exported.
10534
include_expsyms=$lt_include_expsyms
10536
# ### END LIBTOOL CONFIG
10543
cat <<\EOF >> "$cfgfile"
10545
# AIX sometimes has problems with the GCC collect2 program. For some
10546
# reason, if we set the COLLECT_NAMES environment variable, the problems
10547
# vanish in a puff of smoke.
10548
if test "X${COLLECT_NAMES+set}" != Xset; then
10550
export COLLECT_NAMES
10556
# We use sed instead of cat because bash on DJGPP gets confused if
10557
# if finds mixed CR/LF and LF-only lines. Since sed operates in
10558
# text mode, it properly converts lines to CR/LF. This bash problem
10559
# is reportedly fixed, but why not run on old versions too?
10560
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10562
mv -f "$cfgfile" "$ofile" || \
10563
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10567
# If there is no Makefile yet, we rely on a make rule to execute
10568
# `config.status --recheck' to rerun these tests and create the
10569
# libtool script then.
10570
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10571
if test -f "$ltmain_in"; then
10572
test -f Makefile && make "$ltmain"
10578
ac_cpp='$CPP $CPPFLAGS'
10579
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10580
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10581
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10586
# Check whether --with-tags was given.
10587
if test "${with_tags+set}" = set; then
10588
withval=$with_tags; tagnames="$withval"
10592
if test -f "$ltmain" && test -n "$tagnames"; then
10593
if test ! -f "${ofile}"; then
10594
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10595
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10598
if test -z "$LTCC"; then
10599
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10600
if test -z "$LTCC"; then
10601
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10602
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10604
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10605
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10608
if test -z "$LTCFLAGS"; then
10609
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10612
# Extract list of available tagged configurations in $ofile.
10613
# Note that this assumes the entire list is on one line.
10614
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10616
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10617
for tagname in $tagnames; do
10619
# Check whether tagname contains only valid characters
10620
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10622
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10623
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10624
{ (exit 1); exit 1; }; }
10628
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10630
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10631
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10632
{ (exit 1); exit 1; }; }
10635
# Update the list of available tags.
10636
if test -n "$tagname"; then
10637
echo appending configuration tag \"$tagname\" to $ofile
10641
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10642
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10643
(test "X$CXX" != "Xg++"))) ; then
10645
ac_cpp='$CXXCPP $CPPFLAGS'
10646
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10647
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10648
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10653
archive_cmds_need_lc_CXX=no
10654
allow_undefined_flag_CXX=
10655
always_export_symbols_CXX=no
10656
archive_expsym_cmds_CXX=
10657
export_dynamic_flag_spec_CXX=
10658
hardcode_direct_CXX=no
10659
hardcode_libdir_flag_spec_CXX=
10660
hardcode_libdir_flag_spec_ld_CXX=
10661
hardcode_libdir_separator_CXX=
10662
hardcode_minus_L_CXX=no
10663
hardcode_shlibpath_var_CXX=unsupported
10664
hardcode_automatic_CXX=no
10666
module_expsym_cmds_CXX=
10667
link_all_deplibs_CXX=unknown
10668
old_archive_cmds_CXX=$old_archive_cmds
10669
no_undefined_flag_CXX=
10670
whole_archive_flag_spec_CXX=
10671
enable_shared_with_static_runtimes_CXX=no
10673
# Dependencies to place before and after the object being linked:
10674
predep_objects_CXX=
10675
postdep_objects_CXX=
10678
compiler_lib_search_path_CXX=
10680
# Source file extension for C++ test sources.
10683
# Object file extension for compiled C++ test sources.
10687
# Code to be used in simple compile tests
10688
lt_simple_compile_test_code="int some_variable = 0;"
10690
# Code to be used in simple link tests
10691
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10693
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10695
# If no C compiler was specified, use CC.
10698
# If no C compiler flags were specified, use CFLAGS.
10699
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10701
# Allow CC to be a program name with arguments.
10705
# save warnings/boilerplate of simple test code
10706
ac_outfile=conftest.$ac_objext
10707
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10708
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10709
_lt_compiler_boilerplate=`cat conftest.err`
10712
ac_outfile=conftest.$ac_objext
10713
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10714
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10715
_lt_linker_boilerplate=`cat conftest.err`
10719
# Allow CC to be a program name with arguments.
10724
lt_save_with_gnu_ld=$with_gnu_ld
10725
lt_save_path_LD=$lt_cv_path_LD
10726
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10727
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10729
$as_unset lt_cv_prog_gnu_ld
10731
if test -n "${lt_cv_path_LDCXX+set}"; then
10732
lt_cv_path_LD=$lt_cv_path_LDCXX
10734
$as_unset lt_cv_path_LD
10736
test -z "${LDCXX+set}" || LD=$LDCXX
10740
for cc_temp in $compiler""; do
10742
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10743
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10748
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10751
# We don't want -fno-exception wen compiling C++ code, so set the
10752
# no_builtin_flag separately
10753
if test "$GXX" = yes; then
10754
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10756
lt_prog_compiler_no_builtin_flag_CXX=
10759
if test "$GXX" = yes; then
10760
# Set up default GNU C++ configuration
10763
# Check whether --with-gnu-ld was given.
10764
if test "${with_gnu_ld+set}" = set; then
10765
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10771
if test "$GCC" = yes; then
10772
# Check if gcc -print-prog-name=ld gives a path.
10773
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10774
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10777
# gcc leaves a trailing carriage return which upsets mingw
10778
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10780
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10783
# Accept absolute paths.
10785
re_direlt='/[^/][^/]*/\.\./'
10786
# Canonicalize the pathname of ld
10787
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10788
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10789
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10791
test -z "$LD" && LD="$ac_prog"
10794
# If it fails, then pretend we aren't using GCC.
10798
# If it is relative, then search for the first ld in PATH.
10799
with_gnu_ld=unknown
10802
elif test "$with_gnu_ld" = yes; then
10803
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
10804
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10806
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10807
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10809
if test "${lt_cv_path_LD+set}" = set; then
10810
echo $ECHO_N "(cached) $ECHO_C" >&6
10812
if test -z "$LD"; then
10813
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10814
for ac_dir in $PATH; do
10816
test -z "$ac_dir" && ac_dir=.
10817
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10818
lt_cv_path_LD="$ac_dir/$ac_prog"
10819
# Check to see if the program is GNU ld. I'd rather use --version,
10820
# but apparently some variants of GNU ld only accept -v.
10821
# Break only if it was the GNU/non-GNU ld that we prefer.
10822
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10823
*GNU* | *'with BFD'*)
10824
test "$with_gnu_ld" != no && break
10827
test "$with_gnu_ld" != yes && break
10834
lt_cv_path_LD="$LD" # Let the user override the test with a path.
10838
LD="$lt_cv_path_LD"
10839
if test -n "$LD"; then
10840
{ echo "$as_me:$LINENO: result: $LD" >&5
10841
echo "${ECHO_T}$LD" >&6; }
10843
{ echo "$as_me:$LINENO: result: no" >&5
10844
echo "${ECHO_T}no" >&6; }
10846
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10847
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10848
{ (exit 1); exit 1; }; }
10849
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10850
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10851
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10852
echo $ECHO_N "(cached) $ECHO_C" >&6
10854
# I'd rather use --version here, but apparently some GNU lds only accept -v.
10855
case `$LD -v 2>&1 </dev/null` in
10856
*GNU* | *'with BFD'*)
10857
lt_cv_prog_gnu_ld=yes
10860
lt_cv_prog_gnu_ld=no
10864
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10865
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10866
with_gnu_ld=$lt_cv_prog_gnu_ld
10870
# Check if GNU C++ uses GNU ld as the underlying linker, since the
10871
# archiving commands below assume that GNU ld is being used.
10872
if test "$with_gnu_ld" = yes; then
10873
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10874
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'
10876
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10877
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10879
# If archive_cmds runs LD, not CC, wlarc should be empty
10880
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10881
# investigate it a little bit more. (MM)
10884
# ancient GNU ld didn't support --whole-archive et. al.
10885
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10886
grep 'no-whole-archive' > /dev/null; then
10887
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10889
whole_archive_flag_spec_CXX=
10895
# A generic and very simple default shared library creation
10896
# command for GNU C++ for the case where it uses the native
10897
# linker, instead of GNU ld. If possible, this setting should
10898
# overridden to take advantage of the native linker features on
10899
# the platform it is being used on.
10900
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10903
# Commands to make compiler produce verbose output that lists
10904
# what "hidden" libraries, object files and flags are used when
10905
# linking a shared library.
10906
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10914
# PORTME: fill in a description of your system's C++ link characteristics
10915
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10916
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10920
# FIXME: insert proper C++ library support
10924
if test "$host_cpu" = ia64; then
10925
# On IA64, the linker does run time linking by default, so we don't
10926
# have to do anything special.
10927
aix_use_runtimelinking=no
10928
exp_sym_flag='-Bexport'
10931
aix_use_runtimelinking=no
10933
# Test if we are trying to use run time linking or normal
10934
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10935
# need to do runtime linking.
10936
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10937
for ld_flag in $LDFLAGS; do
10940
aix_use_runtimelinking=yes
10948
exp_sym_flag='-bexport'
10949
no_entry_flag='-bnoentry'
10952
# When large executables or shared objects are built, AIX ld can
10953
# have problems creating the table of contents. If linking a library
10954
# or program results in "error TOC overflow" add -mminimal-toc to
10955
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10956
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10958
archive_cmds_CXX=''
10959
hardcode_direct_CXX=yes
10960
hardcode_libdir_separator_CXX=':'
10961
link_all_deplibs_CXX=yes
10963
if test "$GXX" = yes; then
10964
case $host_os in aix4.[012]|aix4.[012].*)
10965
# We only want to do this on AIX 4.2 and lower, the check
10966
# below for broken collect2 doesn't work under 4.3+
10967
collect2name=`${CC} -print-prog-name=collect2`
10968
if test -f "$collect2name" && \
10969
strings "$collect2name" | grep resolve_lib_name >/dev/null
10971
# We have reworked collect2
10974
# We have old collect2
10975
hardcode_direct_CXX=unsupported
10976
# It fails to find uninstalled libraries when the uninstalled
10977
# path is not listed in the libpath. Setting hardcode_minus_L
10978
# to unsupported forces relinking
10979
hardcode_minus_L_CXX=yes
10980
hardcode_libdir_flag_spec_CXX='-L$libdir'
10981
hardcode_libdir_separator_CXX=
10985
shared_flag='-shared'
10986
if test "$aix_use_runtimelinking" = yes; then
10987
shared_flag="$shared_flag "'${wl}-G'
10991
if test "$host_cpu" = ia64; then
10992
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10993
# chokes on -Wl,-G. The following line is correct:
10996
if test "$aix_use_runtimelinking" = yes; then
10997
shared_flag='${wl}-G'
10999
shared_flag='${wl}-bM:SRE'
11004
# It seems that -bexpall does not export symbols beginning with
11005
# underscore (_), so it is better to generate a list of symbols to export.
11006
always_export_symbols_CXX=yes
11007
if test "$aix_use_runtimelinking" = yes; then
11008
# Warning - without using the other runtime loading flags (-brtl),
11009
# -berok will link without error, but may produce a broken library.
11010
allow_undefined_flag_CXX='-berok'
11011
# Determine the default libpath from the value encoded in an empty executable.
11012
cat >conftest.$ac_ext <<_ACEOF
11015
cat confdefs.h >>conftest.$ac_ext
11016
cat >>conftest.$ac_ext <<_ACEOF
11017
/* end confdefs.h. */
11027
rm -f conftest.$ac_objext conftest$ac_exeext
11028
if { (ac_try="$ac_link"
11029
case "(($ac_try" in
11030
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11031
*) ac_try_echo=$ac_try;;
11033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11034
(eval "$ac_link") 2>conftest.er1
11036
grep -v '^ *+' conftest.er1 >conftest.err
11038
cat conftest.err >&5
11039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040
(exit $ac_status); } && {
11041
test -z "$ac_cxx_werror_flag" ||
11042
test ! -s conftest.err
11043
} && test -s conftest$ac_exeext &&
11044
$as_test_x conftest$ac_exeext; then
11046
lt_aix_libpath_sed='
11047
/Import File Strings/,/^$/ {
11053
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11054
# Check for a 64-bit object if we didn't find anything.
11055
if test -z "$aix_libpath"; then
11056
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11059
echo "$as_me: failed program was:" >&5
11060
sed 's/^/| /' conftest.$ac_ext >&5
11065
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11066
conftest$ac_exeext conftest.$ac_ext
11067
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11069
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11071
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"
11073
if test "$host_cpu" = ia64; then
11074
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11075
allow_undefined_flag_CXX="-z nodefs"
11076
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"
11078
# Determine the default libpath from the value encoded in an empty executable.
11079
cat >conftest.$ac_ext <<_ACEOF
11082
cat confdefs.h >>conftest.$ac_ext
11083
cat >>conftest.$ac_ext <<_ACEOF
11084
/* end confdefs.h. */
11094
rm -f conftest.$ac_objext conftest$ac_exeext
11095
if { (ac_try="$ac_link"
11096
case "(($ac_try" in
11097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11098
*) ac_try_echo=$ac_try;;
11100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101
(eval "$ac_link") 2>conftest.er1
11103
grep -v '^ *+' conftest.er1 >conftest.err
11105
cat conftest.err >&5
11106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107
(exit $ac_status); } && {
11108
test -z "$ac_cxx_werror_flag" ||
11109
test ! -s conftest.err
11110
} && test -s conftest$ac_exeext &&
11111
$as_test_x conftest$ac_exeext; then
11113
lt_aix_libpath_sed='
11114
/Import File Strings/,/^$/ {
11120
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11121
# Check for a 64-bit object if we didn't find anything.
11122
if test -z "$aix_libpath"; then
11123
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11126
echo "$as_me: failed program was:" >&5
11127
sed 's/^/| /' conftest.$ac_ext >&5
11132
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11133
conftest$ac_exeext conftest.$ac_ext
11134
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11136
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11137
# Warning - without using the other run time loading flags,
11138
# -berok will link without error, but may produce a broken library.
11139
no_undefined_flag_CXX=' ${wl}-bernotok'
11140
allow_undefined_flag_CXX=' ${wl}-berok'
11141
# Exported symbols can be pulled into shared objects from archives
11142
whole_archive_flag_spec_CXX='$convenience'
11143
archive_cmds_need_lc_CXX=yes
11144
# This is similar to how AIX traditionally builds its shared libraries.
11145
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'
11151
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11152
allow_undefined_flag_CXX=unsupported
11153
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11154
# support --undefined. This deserves some investigation. FIXME
11155
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11162
case $cc_basename in
11164
# FIXME: insert proper C++ library support
11170
cygwin* | mingw* | pw32*)
11171
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11172
# as there is no search path for DLLs.
11173
hardcode_libdir_flag_spec_CXX='-L$libdir'
11174
allow_undefined_flag_CXX=unsupported
11175
always_export_symbols_CXX=no
11176
enable_shared_with_static_runtimes_CXX=yes
11178
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11179
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'
11180
# If the export-symbols file already is a .def file (1st line
11181
# is EXPORTS), use it as is; otherwise, prepend...
11182
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11183
cp $export_symbols $output_objdir/$soname.def;
11185
echo EXPORTS > $output_objdir/$soname.def;
11186
cat $export_symbols >> $output_objdir/$soname.def;
11188
$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'
11193
darwin* | rhapsody*)
11195
rhapsody* | darwin1.[012])
11196
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11199
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11200
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11202
case ${MACOSX_DEPLOYMENT_TARGET} in
11204
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11207
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11213
archive_cmds_need_lc_CXX=no
11214
hardcode_direct_CXX=no
11215
hardcode_automatic_CXX=yes
11216
hardcode_shlibpath_var_CXX=unsupported
11217
whole_archive_flag_spec_CXX=''
11218
link_all_deplibs_CXX=yes
11220
if test "$GXX" = yes ; then
11221
lt_int_apple_cc_single_mod=no
11222
output_verbose_link_cmd='echo'
11223
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11224
lt_int_apple_cc_single_mod=yes
11226
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11227
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11229
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'
11231
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11232
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11233
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11234
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}'
11236
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}'
11238
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}'
11240
case $cc_basename in
11242
output_verbose_link_cmd='echo'
11243
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'
11244
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11245
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11246
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}'
11247
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}'
11257
case $cc_basename in
11259
# FIXME: insert proper C++ library support
11263
# Green Hills C++ Compiler
11264
# FIXME: insert proper C++ library support
11268
# FIXME: insert proper C++ library support
11274
# C++ shared libraries reported to be fairly broken before switch to ELF
11278
archive_cmds_need_lc_CXX=no
11280
freebsd* | dragonfly*)
11281
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11288
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11289
hardcode_libdir_separator_CXX=:
11290
export_dynamic_flag_spec_CXX='${wl}-E'
11291
hardcode_direct_CXX=yes
11292
hardcode_minus_L_CXX=yes # Not in the search PATH,
11293
# but as the default
11294
# location of the library.
11296
case $cc_basename in
11298
# FIXME: insert proper C++ library support
11302
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'
11303
# Commands to make compiler produce verbose output that lists
11304
# what "hidden" libraries, object files and flags are used when
11305
# linking a shared library.
11307
# There doesn't appear to be a way to prevent this compiler from
11308
# explicitly linking system object files so we need to strip them
11309
# from the output so that they don't get included in the library
11311
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'
11314
if test "$GXX" = yes; then
11315
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'
11317
# FIXME: insert proper C++ library support
11324
if test $with_gnu_ld = no; then
11325
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11326
hardcode_libdir_separator_CXX=:
11331
export_dynamic_flag_spec_CXX='${wl}-E'
11337
hardcode_direct_CXX=no
11338
hardcode_shlibpath_var_CXX=no
11341
hardcode_direct_CXX=yes
11342
hardcode_minus_L_CXX=yes # Not in the search PATH,
11343
# but as the default
11344
# location of the library.
11348
case $cc_basename in
11350
# FIXME: insert proper C++ library support
11356
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11359
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11362
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11365
# Commands to make compiler produce verbose output that lists
11366
# what "hidden" libraries, object files and flags are used when
11367
# linking a shared library.
11369
# There doesn't appear to be a way to prevent this compiler from
11370
# explicitly linking system object files so we need to strip them
11371
# from the output so that they don't get included in the library
11373
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'
11376
if test "$GXX" = yes; then
11377
if test $with_gnu_ld = no; then
11380
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11383
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11386
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'
11391
# FIXME: insert proper C++ library support
11398
hardcode_direct_CXX=no
11399
hardcode_shlibpath_var_CXX=no
11400
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11401
export_dynamic_flag_spec_CXX='${wl}-E'
11402
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11403
# Instead, shared libraries are loaded at an image base (0x10000000 by
11404
# default) and relocated if they conflict, which is a slow very memory
11405
# consuming and fragmenting process. To avoid this, we pick a random,
11406
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11407
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11408
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'
11409
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'
11412
case $cc_basename in
11415
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'
11417
# Archives containing C++ object files must be created using
11418
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
11419
# necessary to make sure instantiated templates are included
11421
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11424
if test "$GXX" = yes; then
11425
if test "$with_gnu_ld" = no; then
11426
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'
11428
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'
11431
link_all_deplibs_CXX=yes
11434
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11435
hardcode_libdir_separator_CXX=:
11437
linux* | k*bsd*-gnu)
11438
case $cc_basename in
11440
# Kuck and Associates, Inc. (KAI) C++ Compiler
11442
# KCC will only create a shared library if the output file
11443
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11444
# to its proper name (with version) after linking.
11445
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'
11446
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'
11447
# Commands to make compiler produce verbose output that lists
11448
# what "hidden" libraries, object files and flags are used when
11449
# linking a shared library.
11451
# There doesn't appear to be a way to prevent this compiler from
11452
# explicitly linking system object files so we need to strip them
11453
# from the output so that they don't get included in the library
11455
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'
11457
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11458
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11460
# Archives containing C++ object files must be created using
11461
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11462
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11467
# version 8.0 and above of icpc choke on multiply defined symbols
11468
# if we add $predep_objects and $postdep_objects, however 7.1 and
11469
# earlier do not add the objects themselves.
11470
case `$CC -V 2>&1` in
11472
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11473
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'
11475
*) # Version 8.0 or newer
11478
ia64*) tmp_idyn=' -i_dynamic';;
11480
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11481
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'
11484
archive_cmds_need_lc_CXX=no
11485
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11486
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11487
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11490
# Portland Group C++ compiler
11491
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11492
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'
11494
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11495
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11496
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'
11500
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11501
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'
11503
runpath_var=LD_RUN_PATH
11504
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11505
hardcode_libdir_separator_CXX=:
11507
# Commands to make compiler produce verbose output that lists
11508
# what "hidden" libraries, object files and flags are used when
11509
# linking a shared library.
11511
# There doesn't appear to be a way to prevent this compiler from
11512
# explicitly linking system object files so we need to strip them
11513
# from the output so that they don't get included in the library
11515
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'
11518
case `$CC -V 2>&1 | sed 5q` in
11521
no_undefined_flag_CXX=' -zdefs'
11522
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11523
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'
11524
hardcode_libdir_flag_spec_CXX='-R$libdir'
11525
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'
11527
# Not sure whether something based on
11528
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11530
output_verbose_link_cmd='echo'
11532
# Archives containing C++ object files must be created using
11533
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11534
# necessary to make sure instantiated templates are included
11536
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11543
# FIXME: insert proper C++ library support
11547
# FIXME: insert proper C++ library support
11551
case $cc_basename in
11553
# FIXME: insert proper C++ library support
11557
# FIXME: insert proper C++ library support
11562
netbsd* | netbsdelf*-gnu)
11563
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11564
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11566
hardcode_libdir_flag_spec_CXX='-R$libdir'
11567
hardcode_direct_CXX=yes
11568
hardcode_shlibpath_var_CXX=no
11570
# Workaround some broken pre-1.5 toolchains
11571
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11574
# C++ shared libraries are fairly broken
11578
if test -f /usr/libexec/ld.so; then
11579
hardcode_direct_CXX=yes
11580
hardcode_shlibpath_var_CXX=no
11581
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11582
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11583
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11584
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11585
export_dynamic_flag_spec_CXX='${wl}-E'
11586
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11588
output_verbose_link_cmd='echo'
11594
case $cc_basename in
11596
# Kuck and Associates, Inc. (KAI) C++ Compiler
11598
# KCC will only create a shared library if the output file
11599
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11600
# to its proper name (with version) after linking.
11601
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'
11603
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11604
hardcode_libdir_separator_CXX=:
11606
# Archives containing C++ object files must be created using
11607
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11608
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11612
# Rational C++ 2.4.1
11613
# FIXME: insert proper C++ library support
11617
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11618
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'
11620
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11621
hardcode_libdir_separator_CXX=:
11623
# Commands to make compiler produce verbose output that lists
11624
# what "hidden" libraries, object files and flags are used when
11625
# linking a shared library.
11627
# There doesn't appear to be a way to prevent this compiler from
11628
# explicitly linking system object files so we need to strip them
11629
# from the output so that they don't get included in the library
11631
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'
11634
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11635
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11636
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'
11638
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11639
hardcode_libdir_separator_CXX=:
11641
# Commands to make compiler produce verbose output that lists
11642
# what "hidden" libraries, object files and flags are used when
11643
# linking a shared library.
11644
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11647
# FIXME: insert proper C++ library support
11654
case $cc_basename in
11656
# Kuck and Associates, Inc. (KAI) C++ Compiler
11658
# KCC will only create a shared library if the output file
11659
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11660
# to its proper name (with version) after linking.
11661
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'
11663
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11664
hardcode_libdir_separator_CXX=:
11666
# Archives containing C++ object files must be created using
11667
# the KAI C++ compiler.
11668
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11671
# Rational C++ 2.4.1
11672
# FIXME: insert proper C++ library support
11676
allow_undefined_flag_CXX=' -expect_unresolved \*'
11677
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'
11678
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11679
echo "-hidden">> $lib.exp~
11680
$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~
11683
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11684
hardcode_libdir_separator_CXX=:
11686
# Commands to make compiler produce verbose output that lists
11687
# what "hidden" libraries, object files and flags are used when
11688
# linking a shared library.
11690
# There doesn't appear to be a way to prevent this compiler from
11691
# explicitly linking system object files so we need to strip them
11692
# from the output so that they don't get included in the library
11694
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'
11697
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11698
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11699
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'
11701
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11702
hardcode_libdir_separator_CXX=:
11704
# Commands to make compiler produce verbose output that lists
11705
# what "hidden" libraries, object files and flags are used when
11706
# linking a shared library.
11707
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11710
# FIXME: insert proper C++ library support
11717
# FIXME: insert proper C++ library support
11721
case $cc_basename in
11724
# FIXME: insert proper C++ library support
11729
# FIXME: insert proper C++ library support
11733
# FIXME: insert proper C++ library support
11739
case $cc_basename in
11741
# Sun C++ 4.2, 5.x and Centerline C++
11742
archive_cmds_need_lc_CXX=yes
11743
no_undefined_flag_CXX=' -zdefs'
11744
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11745
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11746
$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'
11748
hardcode_libdir_flag_spec_CXX='-R$libdir'
11749
hardcode_shlibpath_var_CXX=no
11751
solaris2.[0-5] | solaris2.[0-5].*) ;;
11753
# The compiler driver will combine and reorder linker options,
11754
# but understands `-z linker_flag'.
11755
# Supported since Solaris 2.6 (maybe 2.5.1?)
11756
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11759
link_all_deplibs_CXX=yes
11761
output_verbose_link_cmd='echo'
11763
# Archives containing C++ object files must be created using
11764
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11765
# necessary to make sure instantiated templates are included
11767
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11770
# Green Hills C++ Compiler
11771
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11773
# The C++ compiler must be used to create the archive.
11774
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11777
# GNU C++ compiler with Solaris linker
11778
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11779
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11780
if $CC --version | grep -v '^2\.7' > /dev/null; then
11781
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11782
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11783
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11785
# Commands to make compiler produce verbose output that lists
11786
# what "hidden" libraries, object files and flags are used when
11787
# linking a shared library.
11788
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11790
# g++ 2.7 appears to require `-G' NOT `-shared' on this
11792
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11793
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11794
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11796
# Commands to make compiler produce verbose output that lists
11797
# what "hidden" libraries, object files and flags are used when
11798
# linking a shared library.
11799
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11802
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11804
solaris2.[0-5] | solaris2.[0-5].*) ;;
11806
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11813
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11814
no_undefined_flag_CXX='${wl}-z,text'
11815
archive_cmds_need_lc_CXX=no
11816
hardcode_shlibpath_var_CXX=no
11817
runpath_var='LD_RUN_PATH'
11819
case $cc_basename in
11821
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11822
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11825
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11826
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11830
sysv5* | sco3.2v5* | sco5v6*)
11831
# Note: We can NOT use -z defs as we might desire, because we do not
11832
# link with -lc, and that would cause any symbols used from libc to
11833
# always be unresolved, which means just about no library would
11834
# ever link correctly. If we're not using GNU ld we use -z text
11835
# though, which does catch some bad symbols but isn't as heavy-handed
11837
# For security reasons, it is highly recommended that you always
11838
# use absolute paths for naming shared libraries, and exclude the
11839
# DT_RUNPATH tag from executables and libraries. But doing so
11840
# requires that you compile everything twice, which is a pain.
11841
# So that behaviour is only enabled if SCOABSPATH is set to a
11842
# non-empty value in the environment. Most likely only useful for
11843
# creating official distributions of packages.
11844
# This is a hack until libtool officially supports absolute path
11845
# names for shared libraries.
11846
no_undefined_flag_CXX='${wl}-z,text'
11847
allow_undefined_flag_CXX='${wl}-z,nodefs'
11848
archive_cmds_need_lc_CXX=no
11849
hardcode_shlibpath_var_CXX=no
11850
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11851
hardcode_libdir_separator_CXX=':'
11852
link_all_deplibs_CXX=yes
11853
export_dynamic_flag_spec_CXX='${wl}-Bexport'
11854
runpath_var='LD_RUN_PATH'
11856
case $cc_basename in
11858
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11859
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11862
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11863
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11868
case $cc_basename in
11870
# NonStop-UX NCC 3.20
11871
# FIXME: insert proper C++ library support
11875
# FIXME: insert proper C++ library support
11881
# FIXME: insert proper C++ library support
11885
# FIXME: insert proper C++ library support
11889
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11890
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11891
test "$ld_shlibs_CXX" = no && can_build_shared=no
11897
cat > conftest.$ac_ext <<EOF
11901
Foo (void) { a = 0; }
11907
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11908
(eval $ac_compile) 2>&5
11910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911
(exit $ac_status); }; then
11912
# Parse the compiler output and extract the necessary
11913
# objects, libraries and library flags.
11915
# Sentinel used to keep track of whether or not we are before
11916
# the conftest object file.
11917
pre_test_object_deps_done=no
11919
# The `*' in the case matches for architectures that use `case' in
11920
# $output_verbose_cmd can trigger glob expansion during the loop
11921
# eval without this substitution.
11922
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11924
for p in `eval $output_verbose_link_cmd`; do
11928
# Some compilers place space between "-{L,R}" and the path.
11929
# Remove the space.
11930
if test $p = "-L" \
11931
|| test $p = "-R"; then
11938
if test "$pre_test_object_deps_done" = no; then
11941
# Internal compiler library paths should come after those
11942
# provided the user. The postdeps already come after the
11943
# user supplied libs so there is no need to process them.
11944
if test -z "$compiler_lib_search_path_CXX"; then
11945
compiler_lib_search_path_CXX="${prev}${p}"
11947
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11950
# The "-l" case would never come before the object being
11951
# linked, so don't bother handling this case.
11954
if test -z "$postdeps_CXX"; then
11955
postdeps_CXX="${prev}${p}"
11957
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11963
# This assumes that the test object file only shows up
11964
# once in the compiler output.
11965
if test "$p" = "conftest.$objext"; then
11966
pre_test_object_deps_done=yes
11970
if test "$pre_test_object_deps_done" = no; then
11971
if test -z "$predep_objects_CXX"; then
11972
predep_objects_CXX="$p"
11974
predep_objects_CXX="$predep_objects_CXX $p"
11977
if test -z "$postdep_objects_CXX"; then
11978
postdep_objects_CXX="$p"
11980
postdep_objects_CXX="$postdep_objects_CXX $p"
11985
*) ;; # Ignore the rest.
11993
echo "libtool.m4: error: problem compiling CXX test program"
11996
$rm -f confest.$objext
11998
# PORTME: override above test on systems where it is broken
12001
# Interix 3.5 installs completely hosed .la files for C++, so rather than
12002
# hack all around it, let's just trust "g++" to DTRT.
12003
predep_objects_CXX=
12004
postdep_objects_CXX=
12009
case `$CC -V 2>&1 | sed 5q` in
12013
# The more standards-conforming stlport4 library is
12014
# incompatible with the Cstd library. Avoid specifying
12015
# it if it's in CXXFLAGS. Ignore libCrun as
12016
# -library=stlport4 depends on it.
12017
case " $CXX $CXXFLAGS " in
12018
*" -library=stlport4 "*)
12019
solaris_use_stlport4=yes
12022
if test "$solaris_use_stlport4" != yes; then
12023
postdeps_CXX='-library=Cstd -library=Crun'
12030
case $cc_basename in
12032
# The more standards-conforming stlport4 library is
12033
# incompatible with the Cstd library. Avoid specifying
12034
# it if it's in CXXFLAGS. Ignore libCrun as
12035
# -library=stlport4 depends on it.
12036
case " $CXX $CXXFLAGS " in
12037
*" -library=stlport4 "*)
12038
solaris_use_stlport4=yes
12042
# Adding this requires a known-good setup of shared libraries for
12043
# Sun compiler versions before 5.6, else PIC objects from an old
12044
# archive will be linked into the output, leading to subtle bugs.
12045
if test "$solaris_use_stlport4" != yes; then
12046
postdeps_CXX='-library=Cstd -library=Crun'
12054
case " $postdeps_CXX " in
12055
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12058
lt_prog_compiler_wl_CXX=
12059
lt_prog_compiler_pic_CXX=
12060
lt_prog_compiler_static_CXX=
12062
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12063
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12065
# C++ specific cases for pic, static, wl, etc.
12066
if test "$GXX" = yes; then
12067
lt_prog_compiler_wl_CXX='-Wl,'
12068
lt_prog_compiler_static_CXX='-static'
12072
# All AIX code is PIC.
12073
if test "$host_cpu" = ia64; then
12074
# AIX 5 now supports IA64 processor
12075
lt_prog_compiler_static_CXX='-Bstatic'
12079
# FIXME: we need at least 68020 code to build shared libraries, but
12080
# adding the `-m68020' flag to GCC prevents building anything better,
12082
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12084
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12085
# PIC is the default for these OSes.
12087
mingw* | cygwin* | os2* | pw32*)
12088
# This hack is so that the source file can tell whether it is being
12089
# built for inclusion in a dll (and should export symbols for example).
12090
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12091
# (--disable-auto-import) libraries
12092
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12094
darwin* | rhapsody*)
12095
# PIC is the default on this platform
12096
# Common symbols not allowed in MH_DYLIB files
12097
lt_prog_compiler_pic_CXX='-fno-common'
12100
# DJGPP does not support shared libraries at all
12101
lt_prog_compiler_pic_CXX=
12104
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12105
# Instead, we relocate shared libraries at runtime.
12108
if test -d /usr/nec; then
12109
lt_prog_compiler_pic_CXX=-Kconform_pic
12113
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12114
# not for PA HP-UX.
12119
lt_prog_compiler_pic_CXX='-fPIC'
12124
lt_prog_compiler_pic_CXX='-fPIC'
12130
# All AIX code is PIC.
12131
if test "$host_cpu" = ia64; then
12132
# AIX 5 now supports IA64 processor
12133
lt_prog_compiler_static_CXX='-Bstatic'
12135
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12139
case $cc_basename in
12141
# Green Hills C++ Compiler
12142
# _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"
12147
# PIC is the default on this platform
12148
# Common symbols not allowed in MH_DYLIB files
12149
case $cc_basename in
12151
lt_prog_compiler_pic_CXX='-qnocommon'
12152
lt_prog_compiler_wl_CXX='-Wl,'
12157
case $cc_basename in
12159
lt_prog_compiler_pic_CXX='-KPIC'
12162
# Green Hills C++ Compiler
12163
lt_prog_compiler_pic_CXX='-pic'
12169
freebsd* | dragonfly*)
12170
# FreeBSD uses GNU C++
12172
hpux9* | hpux10* | hpux11*)
12173
case $cc_basename in
12175
lt_prog_compiler_wl_CXX='-Wl,'
12176
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12177
if test "$host_cpu" != ia64; then
12178
lt_prog_compiler_pic_CXX='+Z'
12182
lt_prog_compiler_wl_CXX='-Wl,'
12183
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12189
lt_prog_compiler_pic_CXX='+Z'
12198
# This is c89, which is MS Visual C++ (no shared libs)
12199
# Anyone wants to do a port?
12201
irix5* | irix6* | nonstopux*)
12202
case $cc_basename in
12204
lt_prog_compiler_wl_CXX='-Wl,'
12205
lt_prog_compiler_static_CXX='-non_shared'
12206
# CC pic flag -KPIC is the default.
12212
linux* | k*bsd*-gnu)
12213
case $cc_basename in
12216
lt_prog_compiler_wl_CXX='--backend -Wl,'
12217
lt_prog_compiler_pic_CXX='-fPIC'
12221
lt_prog_compiler_wl_CXX='-Wl,'
12222
lt_prog_compiler_pic_CXX='-KPIC'
12223
lt_prog_compiler_static_CXX='-static'
12226
# Portland Group C++ compiler.
12227
lt_prog_compiler_wl_CXX='-Wl,'
12228
lt_prog_compiler_pic_CXX='-fpic'
12229
lt_prog_compiler_static_CXX='-Bstatic'
12233
# Make sure the PIC flag is empty. It appears that all Alpha
12234
# Linux and Compaq Tru64 Unix objects are PIC.
12235
lt_prog_compiler_pic_CXX=
12236
lt_prog_compiler_static_CXX='-non_shared'
12239
case `$CC -V 2>&1 | sed 5q` in
12242
lt_prog_compiler_pic_CXX='-KPIC'
12243
lt_prog_compiler_static_CXX='-Bstatic'
12244
lt_prog_compiler_wl_CXX='-Qoption ld '
12255
case $cc_basename in
12257
lt_prog_compiler_pic_CXX='-W c,exportall'
12263
netbsd* | netbsdelf*-gnu)
12265
osf3* | osf4* | osf5*)
12266
case $cc_basename in
12268
lt_prog_compiler_wl_CXX='--backend -Wl,'
12271
# Rational C++ 2.4.1
12272
lt_prog_compiler_pic_CXX='-pic'
12275
# Digital/Compaq C++
12276
lt_prog_compiler_wl_CXX='-Wl,'
12277
# Make sure the PIC flag is empty. It appears that all Alpha
12278
# Linux and Compaq Tru64 Unix objects are PIC.
12279
lt_prog_compiler_pic_CXX=
12280
lt_prog_compiler_static_CXX='-non_shared'
12289
case $cc_basename in
12291
# Sun C++ 4.2, 5.x and Centerline C++
12292
lt_prog_compiler_pic_CXX='-KPIC'
12293
lt_prog_compiler_static_CXX='-Bstatic'
12294
lt_prog_compiler_wl_CXX='-Qoption ld '
12297
# Green Hills C++ Compiler
12298
lt_prog_compiler_pic_CXX='-PIC'
12305
case $cc_basename in
12308
lt_prog_compiler_pic_CXX='-pic'
12309
lt_prog_compiler_static_CXX='-Bstatic'
12313
lt_prog_compiler_pic_CXX='-pic'
12320
case $cc_basename in
12322
# NonStop-UX NCC 3.20
12323
lt_prog_compiler_pic_CXX='-KPIC'
12329
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12330
case $cc_basename in
12332
lt_prog_compiler_wl_CXX='-Wl,'
12333
lt_prog_compiler_pic_CXX='-KPIC'
12334
lt_prog_compiler_static_CXX='-Bstatic'
12341
lt_prog_compiler_can_build_shared_CXX=no
12346
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12347
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12350
# Check to make sure the PIC flag actually works.
12352
if test -n "$lt_prog_compiler_pic_CXX"; then
12354
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12355
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12356
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12357
echo $ECHO_N "(cached) $ECHO_C" >&6
12359
lt_prog_compiler_pic_works_CXX=no
12360
ac_outfile=conftest.$ac_objext
12361
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12362
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12363
# Insert the option either (1) after the last *FLAGS variable, or
12364
# (2) before a word containing "conftest.", or (3) at the end.
12365
# Note that $ac_compile itself does not contain backslashes and begins
12366
# with a dollar sign (not a hyphen), so the echo should work correctly.
12367
# The option is referenced via a variable to avoid confusing sed.
12368
lt_compile=`echo "$ac_compile" | $SED \
12369
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12370
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12371
-e 's:$: $lt_compiler_flag:'`
12372
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12373
(eval "$lt_compile" 2>conftest.err)
12375
cat conftest.err >&5
12376
echo "$as_me:__oline__: \$? = $ac_status" >&5
12377
if (exit $ac_status) && test -s "$ac_outfile"; then
12378
# The compiler can only warn and ignore the option if not recognized
12379
# So say no if there are warnings other than the usual output.
12380
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12381
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12382
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12383
lt_prog_compiler_pic_works_CXX=yes
12389
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12390
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12392
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12393
case $lt_prog_compiler_pic_CXX in
12395
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12398
lt_prog_compiler_pic_CXX=
12399
lt_prog_compiler_can_build_shared_CXX=no
12404
# For platforms which do not support PIC, -DPIC is meaningless:
12406
lt_prog_compiler_pic_CXX=
12409
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12414
# Check to make sure the static flag actually works.
12416
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12417
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12418
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12419
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12420
echo $ECHO_N "(cached) $ECHO_C" >&6
12422
lt_prog_compiler_static_works_CXX=no
12423
save_LDFLAGS="$LDFLAGS"
12424
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12425
echo "$lt_simple_link_test_code" > conftest.$ac_ext
12426
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12427
# The linker can only warn and ignore the option if not recognized
12428
# So say no if there are warnings
12429
if test -s conftest.err; then
12430
# Append any errors to the config.log.
12431
cat conftest.err 1>&5
12432
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12433
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12434
if diff conftest.exp conftest.er2 >/dev/null; then
12435
lt_prog_compiler_static_works_CXX=yes
12438
lt_prog_compiler_static_works_CXX=yes
12442
LDFLAGS="$save_LDFLAGS"
12445
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12446
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12448
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12451
lt_prog_compiler_static_CXX=
12455
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12456
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12457
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12458
echo $ECHO_N "(cached) $ECHO_C" >&6
12460
lt_cv_prog_compiler_c_o_CXX=no
12461
$rm -r conftest 2>/dev/null
12465
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12467
lt_compiler_flag="-o out/conftest2.$ac_objext"
12468
# Insert the option either (1) after the last *FLAGS variable, or
12469
# (2) before a word containing "conftest.", or (3) at the end.
12470
# Note that $ac_compile itself does not contain backslashes and begins
12471
# with a dollar sign (not a hyphen), so the echo should work correctly.
12472
lt_compile=`echo "$ac_compile" | $SED \
12473
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12474
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12475
-e 's:$: $lt_compiler_flag:'`
12476
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12477
(eval "$lt_compile" 2>out/conftest.err)
12479
cat out/conftest.err >&5
12480
echo "$as_me:__oline__: \$? = $ac_status" >&5
12481
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12483
# The compiler can only warn and ignore the option if not recognized
12484
# So say no if there are warnings
12485
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12486
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12487
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12488
lt_cv_prog_compiler_c_o_CXX=yes
12493
# SGI C++ compiler will create directory out/ii_files/ for
12494
# template instantiation
12495
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12496
$rm out/* && rmdir out
12502
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12503
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12506
hard_links="nottested"
12507
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12508
# do not overwrite the value of need_locks provided by the user
12509
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12510
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12513
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12515
ln conftest.a conftest.b 2>&5 || hard_links=no
12516
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12517
{ echo "$as_me:$LINENO: result: $hard_links" >&5
12518
echo "${ECHO_T}$hard_links" >&6; }
12519
if test "$hard_links" = no; then
12520
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12521
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12528
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12529
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12531
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12534
# If we're using GNU nm, then we don't want the "-C" option.
12535
# -C means demangle to AIX nm, but means don't demangle with GNU nm
12536
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12537
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'
12539
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'
12543
export_symbols_cmds_CXX="$ltdll_cmds"
12546
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'
12548
linux* | k*bsd*-gnu)
12549
link_all_deplibs_CXX=no
12552
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12556
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12557
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12558
test "$ld_shlibs_CXX" = no && can_build_shared=no
12561
# Do we need to explicitly link libc?
12563
case "x$archive_cmds_need_lc_CXX" in
12565
# Assume -lc should be added
12566
archive_cmds_need_lc_CXX=yes
12568
if test "$enable_shared" = yes && test "$GCC" = yes; then
12569
case $archive_cmds_CXX in
12571
# FIXME: we may have to deal with multi-command sequences.
12574
# Test whether the compiler implicitly links with -lc since on some
12575
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12576
# to ld, don't add -lc before -lgcc.
12577
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12578
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12580
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12582
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583
(eval $ac_compile) 2>&5
12585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586
(exit $ac_status); } 2>conftest.err; then
12589
libobjs=conftest.$ac_objext
12591
wl=$lt_prog_compiler_wl_CXX
12592
pic_flag=$lt_prog_compiler_pic_CXX
12598
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12599
allow_undefined_flag_CXX=
12600
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12601
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604
(exit $ac_status); }
12606
archive_cmds_need_lc_CXX=no
12608
archive_cmds_need_lc_CXX=yes
12610
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12612
cat conftest.err 1>&5
12615
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12616
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12623
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12624
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12625
library_names_spec=
12626
libname_spec='lib$name'
12630
postuninstall_cmds=
12634
shlibpath_overrides_runpath=unknown
12636
dynamic_linker="$host_os ld.so"
12637
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12639
need_lib_prefix=unknown
12640
hardcode_into_libs=no
12642
# when you set need_version to no, make sure it does not cause -set_version
12643
# flags to be left without arguments
12644
need_version=unknown
12649
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12650
shlibpath_var=LIBPATH
12652
# AIX 3 has no versioning support, so we append a major version to the name.
12653
soname_spec='${libname}${release}${shared_ext}$major'
12660
hardcode_into_libs=yes
12661
if test "$host_cpu" = ia64; then
12662
# AIX 5 supports IA64
12663
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12664
shlibpath_var=LD_LIBRARY_PATH
12666
# With GCC up to 2.95.x, collect2 would create an import file
12667
# for dependence libraries. The import file would start with
12668
# the line `#! .'. This would cause the generated library to
12669
# depend on `.', always an invalid library. This was fixed in
12670
# development snapshots of GCC prior to 3.0.
12672
aix4 | aix4.[01] | aix4.[01].*)
12673
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12675
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12678
can_build_shared=no
12682
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12683
# soname into executable. Probably we can add versioning support to
12684
# collect2, so additional links can be useful in future.
12685
if test "$aix_use_runtimelinking" = yes; then
12686
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12687
# instead of lib<name>.a to let people know that these are not
12688
# typical AIX shared libraries.
12689
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12691
# We preserve .a as extension for shared libraries through AIX4.2
12692
# and later when we are not doing run time linking.
12693
library_names_spec='${libname}${release}.a $libname.a'
12694
soname_spec='${libname}${release}${shared_ext}$major'
12696
shlibpath_var=LIBPATH
12701
library_names_spec='$libname.ixlibrary $libname.a'
12702
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12703
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'
12707
library_names_spec='${libname}${shared_ext}'
12708
dynamic_linker="$host_os ld.so"
12709
shlibpath_var=LIBRARY_PATH
12715
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12716
soname_spec='${libname}${release}${shared_ext}$major'
12717
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12718
shlibpath_var=LD_LIBRARY_PATH
12719
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12720
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12721
# the default ld.so.conf also contains /usr/contrib/lib and
12722
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12723
# libtool to hard-code these into programs
12726
cygwin* | mingw* | pw32*)
12727
version_type=windows
12732
case $GCC,$host_os in
12733
yes,cygwin* | yes,mingw* | yes,pw32*)
12734
library_names_spec='$libname.dll.a'
12735
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12736
postinstall_cmds='base_file=`basename \${file}`~
12737
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12738
dldir=$destdir/`dirname \$dlpath`~
12739
test -d \$dldir || mkdir -p \$dldir~
12740
$install_prog $dir/$dlname \$dldir/$dlname~
12741
chmod a+x \$dldir/$dlname'
12742
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12743
dlpath=$dir/\$dldll~
12745
shlibpath_overrides_runpath=yes
12749
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12750
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12751
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12754
# MinGW DLLs use traditional 'lib' prefix
12755
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12756
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12757
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12758
# It is most probably a Windows format PATH printed by
12759
# mingw gcc, but we are running on Cygwin. Gcc prints its search
12760
# path with ; separators, and with drive letters. We can handle the
12761
# drive letters (cygwin fileutils understands them), so leave them,
12762
# especially as we might pass files found there to a mingw objdump,
12763
# which wouldn't understand a cygwinified path. Ahh.
12764
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12766
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12770
# pw32 DLLs use 'pw' prefix rather than 'lib'
12771
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12777
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12780
dynamic_linker='Win32 ld.exe'
12781
# FIXME: first we should search . and the directory the executable is in
12785
darwin* | rhapsody*)
12786
dynamic_linker="$host_os dyld"
12787
version_type=darwin
12790
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12791
soname_spec='${libname}${release}${major}$shared_ext'
12792
shlibpath_overrides_runpath=yes
12793
shlibpath_var=DYLD_LIBRARY_PATH
12794
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12796
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12803
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12804
soname_spec='${libname}${release}${shared_ext}$major'
12805
shlibpath_var=LD_LIBRARY_PATH
12812
freebsd* | dragonfly*)
12813
# DragonFly does not have aout. When/if they implement a new
12814
# versioning mechanism, adjust this.
12815
if test -x /usr/bin/objformat; then
12816
objformat=`/usr/bin/objformat`
12819
freebsd[123]*) objformat=aout ;;
12820
*) objformat=elf ;;
12823
version_type=freebsd-$objformat
12824
case $version_type in
12826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12831
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12835
shlibpath_var=LD_LIBRARY_PATH
12838
shlibpath_overrides_runpath=yes
12840
freebsd3.[01]* | freebsdelf3.[01]*)
12841
shlibpath_overrides_runpath=yes
12842
hardcode_into_libs=yes
12844
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12845
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12846
shlibpath_overrides_runpath=no
12847
hardcode_into_libs=yes
12849
*) # from 4.6 on, and DragonFly
12850
shlibpath_overrides_runpath=yes
12851
hardcode_into_libs=yes
12860
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12861
soname_spec='${libname}${release}${shared_ext}$major'
12862
shlibpath_var=LD_LIBRARY_PATH
12863
hardcode_into_libs=yes
12866
hpux9* | hpux10* | hpux11*)
12867
# Give a soname corresponding to the major version so that dld.sl refuses to
12868
# link against other versions.
12875
hardcode_into_libs=yes
12876
dynamic_linker="$host_os dld.so"
12877
shlibpath_var=LD_LIBRARY_PATH
12878
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12880
soname_spec='${libname}${release}${shared_ext}$major'
12881
if test "X$HPUX_IA64_MODE" = X32; then
12882
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12884
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12886
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12890
hardcode_into_libs=yes
12891
dynamic_linker="$host_os dld.sl"
12892
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12893
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12894
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12895
soname_spec='${libname}${release}${shared_ext}$major'
12896
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12897
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12901
dynamic_linker="$host_os dld.sl"
12902
shlibpath_var=SHLIB_PATH
12903
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12904
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12905
soname_spec='${libname}${release}${shared_ext}$major'
12908
# HP-UX runs *really* slowly unless shared libraries are mode 555.
12909
postinstall_cmds='chmod 555 $lib'
12916
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12917
soname_spec='${libname}${release}${shared_ext}$major'
12918
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12919
shlibpath_var=LD_LIBRARY_PATH
12920
shlibpath_overrides_runpath=no
12921
hardcode_into_libs=yes
12924
irix5* | irix6* | nonstopux*)
12926
nonstopux*) version_type=nonstopux ;;
12928
if test "$lt_cv_prog_gnu_ld" = yes; then
12936
soname_spec='${libname}${release}${shared_ext}$major'
12937
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12939
irix5* | nonstopux*)
12940
libsuff= shlibsuff=
12943
case $LD in # libtool.m4 will add one of these switches to LD
12944
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12945
libsuff= shlibsuff= libmagic=32-bit;;
12946
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12947
libsuff=32 shlibsuff=N32 libmagic=N32;;
12948
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12949
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12950
*) libsuff= shlibsuff= libmagic=never-match;;
12954
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12955
shlibpath_overrides_runpath=no
12956
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12957
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12958
hardcode_into_libs=yes
12961
# No shared lib support for Linux oldld, aout, or coff.
12962
linux*oldld* | linux*aout* | linux*coff*)
12966
# This must be Linux ELF.
12967
linux* | k*bsd*-gnu)
12971
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12972
soname_spec='${libname}${release}${shared_ext}$major'
12973
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12974
shlibpath_var=LD_LIBRARY_PATH
12975
shlibpath_overrides_runpath=no
12976
# This implies no fast_install, which is unacceptable.
12977
# Some rework will be needed to allow for fast_install
12978
# before this can be enabled.
12979
hardcode_into_libs=yes
12981
# Append ld.so.conf contents to the search path
12982
if test -f /etc/ld.so.conf; then
12983
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' ' '`
12984
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12987
# We used to test for /lib/ld.so.1 and disable shared libraries on
12988
# powerpc, because MkLinux only supported shared libraries with the
12989
# GNU dynamic linker. Since this was broken with cross compilers,
12990
# most powerpc-linux boxes support dynamic linking these days and
12991
# people can always --disable-shared, the test was removed, and we
12992
# assume the GNU/Linux dynamic linker is in use.
12993
dynamic_linker='GNU/Linux ld.so'
13000
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13001
soname_spec='${libname}${release}${shared_ext}$major'
13002
shlibpath_var=LD_LIBRARY_PATH
13003
shlibpath_overrides_runpath=no
13004
hardcode_into_libs=yes
13005
dynamic_linker='NetBSD ld.elf_so'
13012
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13013
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13014
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13015
dynamic_linker='NetBSD (a.out) ld.so'
13017
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13018
soname_spec='${libname}${release}${shared_ext}$major'
13019
dynamic_linker='NetBSD ld.elf_so'
13021
shlibpath_var=LD_LIBRARY_PATH
13022
shlibpath_overrides_runpath=yes
13023
hardcode_into_libs=yes
13028
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13029
shlibpath_var=LD_LIBRARY_PATH
13030
shlibpath_overrides_runpath=yes
13037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13038
soname_spec='${libname}${release}${shared_ext}$major'
13039
shlibpath_var=LD_LIBRARY_PATH
13040
shlibpath_overrides_runpath=yes
13045
sys_lib_dlsearch_path_spec="/usr/lib"
13047
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13049
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13050
*) need_version=no ;;
13052
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13053
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13054
shlibpath_var=LD_LIBRARY_PATH
13055
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13057
openbsd2.[89] | openbsd2.[89].*)
13058
shlibpath_overrides_runpath=no
13061
shlibpath_overrides_runpath=yes
13065
shlibpath_overrides_runpath=yes
13070
libname_spec='$name'
13073
library_names_spec='$libname${shared_ext} $libname.a'
13074
dynamic_linker='OS/2 ld.exe'
13075
shlibpath_var=LIBPATH
13078
osf3* | osf4* | osf5*)
13082
soname_spec='${libname}${release}${shared_ext}$major'
13083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13084
shlibpath_var=LD_LIBRARY_PATH
13085
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13086
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13097
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098
soname_spec='${libname}${release}${shared_ext}$major'
13099
shlibpath_var=LD_LIBRARY_PATH
13100
shlibpath_overrides_runpath=yes
13101
hardcode_into_libs=yes
13102
# ldd complains unless libraries are executable
13103
postinstall_cmds='chmod +x $lib'
13108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13109
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13110
shlibpath_var=LD_LIBRARY_PATH
13111
shlibpath_overrides_runpath=yes
13112
if test "$with_gnu_ld" = yes; then
13120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121
soname_spec='${libname}${release}${shared_ext}$major'
13122
shlibpath_var=LD_LIBRARY_PATH
13123
case $host_vendor in
13125
shlibpath_overrides_runpath=no
13127
export_dynamic_flag_spec='${wl}-Blargedynsym'
13128
runpath_var=LD_RUN_PATH
13136
shlibpath_overrides_runpath=no
13137
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13143
if test -d /usr/nec ;then
13145
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13146
soname_spec='$libname${shared_ext}.$major'
13147
shlibpath_var=LD_LIBRARY_PATH
13151
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13152
version_type=freebsd-elf
13155
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13156
soname_spec='${libname}${release}${shared_ext}$major'
13157
shlibpath_var=LD_LIBRARY_PATH
13158
hardcode_into_libs=yes
13159
if test "$with_gnu_ld" = yes; then
13160
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13161
shlibpath_overrides_runpath=no
13163
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13164
shlibpath_overrides_runpath=yes
13167
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13171
sys_lib_dlsearch_path_spec='/usr/lib'
13176
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13177
soname_spec='${libname}${release}${shared_ext}$major'
13178
shlibpath_var=LD_LIBRARY_PATH
13185
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13186
echo "${ECHO_T}$dynamic_linker" >&6; }
13187
test "$dynamic_linker" = no && can_build_shared=no
13189
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13190
if test "$GCC" = yes; then
13191
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13194
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13195
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13196
hardcode_action_CXX=
13197
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13198
test -n "$runpath_var_CXX" || \
13199
test "X$hardcode_automatic_CXX" = "Xyes" ; then
13201
# We can hardcode non-existant directories.
13202
if test "$hardcode_direct_CXX" != no &&
13203
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13204
# have to relink, otherwise we might link with an installed library
13205
# when we should be linking with a yet-to-be-installed one
13206
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13207
test "$hardcode_minus_L_CXX" != no; then
13208
# Linking always hardcodes the temporary library directory.
13209
hardcode_action_CXX=relink
13211
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13212
hardcode_action_CXX=immediate
13215
# We cannot hardcode anything, or else we can only hardcode existing
13217
hardcode_action_CXX=unsupported
13219
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13220
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13222
if test "$hardcode_action_CXX" = relink; then
13223
# Fast installation is not supported
13224
enable_fast_install=no
13225
elif test "$shlibpath_overrides_runpath" = yes ||
13226
test "$enable_shared" = no; then
13227
# Fast installation is not necessary
13228
enable_fast_install=needless
13232
# The else clause should only fire when bootstrapping the
13233
# libtool distribution, otherwise you forgot to ship ltmain.sh
13234
# with your package, and you will get complaints that there are
13235
# no rules to generate ltmain.sh.
13236
if test -f "$ltmain"; then
13237
# See if we are running on zsh, and set the options which allow our commands through
13238
# without removal of \ escapes.
13239
if test -n "${ZSH_VERSION+set}" ; then
13240
setopt NO_GLOB_SUBST
13242
# Now quote all the things that may contain metacharacters while being
13243
# careful not to overquote the AC_SUBSTed values. We take copies of the
13244
# variables and quote the copies for generation of the libtool script.
13245
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13247
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13248
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13249
deplibs_check_method reload_flag reload_cmds need_locks \
13250
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13251
lt_cv_sys_global_symbol_to_c_name_address \
13252
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13253
old_postinstall_cmds old_postuninstall_cmds \
13257
lt_prog_compiler_wl_CXX \
13258
lt_prog_compiler_pic_CXX \
13259
lt_prog_compiler_static_CXX \
13260
lt_prog_compiler_no_builtin_flag_CXX \
13261
export_dynamic_flag_spec_CXX \
13262
thread_safe_flag_spec_CXX \
13263
whole_archive_flag_spec_CXX \
13264
enable_shared_with_static_runtimes_CXX \
13265
old_archive_cmds_CXX \
13266
old_archive_from_new_cmds_CXX \
13267
predep_objects_CXX \
13268
postdep_objects_CXX \
13271
compiler_lib_search_path_CXX \
13273
archive_expsym_cmds_CXX \
13274
postinstall_cmds_CXX \
13275
postuninstall_cmds_CXX \
13276
old_archive_from_expsyms_cmds_CXX \
13277
allow_undefined_flag_CXX \
13278
no_undefined_flag_CXX \
13279
export_symbols_cmds_CXX \
13280
hardcode_libdir_flag_spec_CXX \
13281
hardcode_libdir_flag_spec_ld_CXX \
13282
hardcode_libdir_separator_CXX \
13283
hardcode_automatic_CXX \
13285
module_expsym_cmds_CXX \
13286
lt_cv_prog_compiler_c_o_CXX \
13287
fix_srcfile_path_CXX \
13288
exclude_expsyms_CXX \
13289
include_expsyms_CXX; do
13292
old_archive_cmds_CXX | \
13293
old_archive_from_new_cmds_CXX | \
13294
archive_cmds_CXX | \
13295
archive_expsym_cmds_CXX | \
13296
module_cmds_CXX | \
13297
module_expsym_cmds_CXX | \
13298
old_archive_from_expsyms_cmds_CXX | \
13299
export_symbols_cmds_CXX | \
13300
extract_expsyms_cmds | reload_cmds | finish_cmds | \
13301
postinstall_cmds | postuninstall_cmds | \
13302
old_postinstall_cmds | old_postuninstall_cmds | \
13303
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13304
# Double-quote double-evaled strings.
13305
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13308
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13314
*'\$0 --fallback-echo"')
13315
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13321
cat <<__EOF__ >> "$cfgfile"
13322
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13324
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13326
# Shell to use when invoking shell scripts.
13329
# Whether or not to build shared libraries.
13330
build_libtool_libs=$enable_shared
13332
# Whether or not to build static libraries.
13333
build_old_libs=$enable_static
13335
# Whether or not to add -lc for building shared libraries.
13336
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13338
# Whether or not to disallow shared libs when runtime libs are static
13339
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13341
# Whether or not to optimize for fast installation.
13342
fast_install=$enable_fast_install
13345
host_alias=$host_alias
13349
# The build system.
13350
build_alias=$build_alias
13354
# An echo program that does not interpret backslashes.
13359
AR_FLAGS=$lt_AR_FLAGS
13364
# LTCC compiler flags.
13365
LTCFLAGS=$lt_LTCFLAGS
13367
# A language-specific compiler.
13368
CC=$lt_compiler_CXX
13370
# Is the compiler the GNU C compiler?
13376
# The linker used to build libraries.
13379
# Whether we need hard or soft links.
13382
# A BSD-compatible nm program.
13385
# A symbol stripping program
13388
# Used to examine libraries when file_magic_cmd begins "file"
13389
MAGIC_CMD=$MAGIC_CMD
13391
# Used on cygwin: DLL creation program.
13394
# Used on cygwin: object dumper.
13397
# Used on cygwin: assembler.
13400
# The name of the directory that contains temporary libtool files.
13403
# How to create reloadable object files.
13404
reload_flag=$lt_reload_flag
13405
reload_cmds=$lt_reload_cmds
13407
# How to pass a linker flag through the compiler.
13408
wl=$lt_lt_prog_compiler_wl_CXX
13410
# Object file suffix (normally "o").
13411
objext="$ac_objext"
13413
# Old archive suffix (normally "a").
13416
# Shared library suffix (normally ".so").
13417
shrext_cmds='$shrext_cmds'
13419
# Executable file suffix (normally "").
13422
# Additional compiler flags for building library objects.
13423
pic_flag=$lt_lt_prog_compiler_pic_CXX
13426
# What is the maximum length of a command?
13427
max_cmd_len=$lt_cv_sys_max_cmd_len
13429
# Does compiler simultaneously support -c and -o options?
13430
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13432
# Must we lock files when doing compilation?
13433
need_locks=$lt_need_locks
13435
# Do we need the lib prefix for modules?
13436
need_lib_prefix=$need_lib_prefix
13438
# Do we need a version for libraries?
13439
need_version=$need_version
13441
# Whether dlopen is supported.
13442
dlopen_support=$enable_dlopen
13444
# Whether dlopen of programs is supported.
13445
dlopen_self=$enable_dlopen_self
13447
# Whether dlopen of statically linked programs is supported.
13448
dlopen_self_static=$enable_dlopen_self_static
13450
# Compiler flag to prevent dynamic linking.
13451
link_static_flag=$lt_lt_prog_compiler_static_CXX
13453
# Compiler flag to turn off builtin functions.
13454
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13456
# Compiler flag to allow reflexive dlopens.
13457
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13459
# Compiler flag to generate shared objects directly from archives.
13460
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13462
# Compiler flag to generate thread-safe objects.
13463
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13465
# Library versioning type.
13466
version_type=$version_type
13468
# Format of library name prefix.
13469
libname_spec=$lt_libname_spec
13471
# List of archive names. First name is the real one, the rest are links.
13472
# The last name is the one that the linker finds with -lNAME.
13473
library_names_spec=$lt_library_names_spec
13475
# The coded name of the library, if different from the real name.
13476
soname_spec=$lt_soname_spec
13478
# Commands used to build and install an old-style archive.
13480
old_archive_cmds=$lt_old_archive_cmds_CXX
13481
old_postinstall_cmds=$lt_old_postinstall_cmds
13482
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13484
# Create an old-style archive from a shared archive.
13485
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13487
# Create a temporary old-style archive to link instead of a shared archive.
13488
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13490
# Commands used to build and install a shared archive.
13491
archive_cmds=$lt_archive_cmds_CXX
13492
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13493
postinstall_cmds=$lt_postinstall_cmds
13494
postuninstall_cmds=$lt_postuninstall_cmds
13496
# Commands used to build a loadable module (assumed same as above if empty)
13497
module_cmds=$lt_module_cmds_CXX
13498
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13500
# Commands to strip libraries.
13501
old_striplib=$lt_old_striplib
13502
striplib=$lt_striplib
13504
# Dependencies to place before the objects being linked to create a
13506
predep_objects=$lt_predep_objects_CXX
13508
# Dependencies to place after the objects being linked to create a
13510
postdep_objects=$lt_postdep_objects_CXX
13512
# Dependencies to place before the objects being linked to create a
13514
predeps=$lt_predeps_CXX
13516
# Dependencies to place after the objects being linked to create a
13518
postdeps=$lt_postdeps_CXX
13520
# The library search path used internally by the compiler when linking
13521
# a shared library.
13522
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13524
# Method to check whether dependent libraries are shared objects.
13525
deplibs_check_method=$lt_deplibs_check_method
13527
# Command to use when deplibs_check_method == file_magic.
13528
file_magic_cmd=$lt_file_magic_cmd
13530
# Flag that allows shared libraries with undefined symbols to be built.
13531
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13533
# Flag that forces no undefined symbols.
13534
no_undefined_flag=$lt_no_undefined_flag_CXX
13536
# Commands used to finish a libtool library installation in a directory.
13537
finish_cmds=$lt_finish_cmds
13539
# Same as above, but a single script fragment to be evaled but not shown.
13540
finish_eval=$lt_finish_eval
13542
# Take the output of nm and produce a listing of raw symbols and C names.
13543
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13545
# Transform the output of nm in a proper C declaration
13546
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13548
# Transform the output of nm in a C name address pair
13549
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13551
# This is the shared library runtime path variable.
13552
runpath_var=$runpath_var
13554
# This is the shared library path variable.
13555
shlibpath_var=$shlibpath_var
13557
# Is shlibpath searched before the hard-coded library search path?
13558
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13560
# How to hardcode a shared library path into an executable.
13561
hardcode_action=$hardcode_action_CXX
13563
# Whether we should hardcode library paths into libraries.
13564
hardcode_into_libs=$hardcode_into_libs
13566
# Flag to hardcode \$libdir into a binary during linking.
13567
# This must work even if \$libdir does not exist.
13568
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13570
# If ld is used when linking, flag to hardcode \$libdir into
13571
# a binary during linking. This must work even if \$libdir does
13573
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13575
# Whether we need a single -rpath flag with a separated argument.
13576
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13578
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13579
# resulting binary.
13580
hardcode_direct=$hardcode_direct_CXX
13582
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13583
# resulting binary.
13584
hardcode_minus_L=$hardcode_minus_L_CXX
13586
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13587
# the resulting binary.
13588
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13590
# Set to yes if building a shared library automatically hardcodes DIR into the library
13591
# and all subsequent libraries and executables linked against it.
13592
hardcode_automatic=$hardcode_automatic_CXX
13594
# Variables whose values should be saved in libtool wrapper scripts and
13595
# restored at relink time.
13596
variables_saved_for_relink="$variables_saved_for_relink"
13598
# Whether libtool must link a program against all its dependency libraries.
13599
link_all_deplibs=$link_all_deplibs_CXX
13601
# Compile-time system search path for libraries
13602
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13604
# Run-time system search path for libraries
13605
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13607
# Fix the shell variable \$srcfile for the compiler.
13608
fix_srcfile_path=$lt_fix_srcfile_path
13610
# Set to yes if exported symbols are required.
13611
always_export_symbols=$always_export_symbols_CXX
13613
# The commands to list exported symbols.
13614
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13616
# The commands to extract the exported symbol list from a shared archive.
13617
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13619
# Symbols that should not be listed in the preloaded symbols.
13620
exclude_expsyms=$lt_exclude_expsyms_CXX
13622
# Symbols that must always be exported.
13623
include_expsyms=$lt_include_expsyms_CXX
13625
# ### END LIBTOOL TAG CONFIG: $tagname
13631
# If there is no Makefile yet, we rely on a make rule to execute
13632
# `config.status --recheck' to rerun these tests and create the
13633
# libtool script then.
13634
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13635
if test -f "$ltmain_in"; then
13636
test -f Makefile && make "$ltmain"
13642
ac_cpp='$CPP $CPPFLAGS'
13643
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13644
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13645
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
with_gnu_ldcxx=$with_gnu_ld
13652
with_gnu_ld=$lt_save_with_gnu_ld
13653
lt_cv_path_LDCXX=$lt_cv_path_LD
13654
lt_cv_path_LD=$lt_save_path_LD
13655
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13656
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13664
if test -n "$F77" && test "X$F77" != "Xno"; then
13667
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13668
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13672
archive_cmds_need_lc_F77=no
13673
allow_undefined_flag_F77=
13674
always_export_symbols_F77=no
13675
archive_expsym_cmds_F77=
13676
export_dynamic_flag_spec_F77=
13677
hardcode_direct_F77=no
13678
hardcode_libdir_flag_spec_F77=
13679
hardcode_libdir_flag_spec_ld_F77=
13680
hardcode_libdir_separator_F77=
13681
hardcode_minus_L_F77=no
13682
hardcode_automatic_F77=no
13684
module_expsym_cmds_F77=
13685
link_all_deplibs_F77=unknown
13686
old_archive_cmds_F77=$old_archive_cmds
13687
no_undefined_flag_F77=
13688
whole_archive_flag_spec_F77=
13689
enable_shared_with_static_runtimes_F77=no
13691
# Source file extension for f77 test sources.
13694
# Object file extension for compiled f77 test sources.
13698
# Code to be used in simple compile tests
13699
lt_simple_compile_test_code="\
13705
# Code to be used in simple link tests
13706
lt_simple_link_test_code="\
13711
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13713
# If no C compiler was specified, use CC.
13716
# If no C compiler flags were specified, use CFLAGS.
13717
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13719
# Allow CC to be a program name with arguments.
13723
# save warnings/boilerplate of simple test code
13724
ac_outfile=conftest.$ac_objext
13725
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13726
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13727
_lt_compiler_boilerplate=`cat conftest.err`
13730
ac_outfile=conftest.$ac_objext
13731
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13732
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13733
_lt_linker_boilerplate=`cat conftest.err`
13737
# Allow CC to be a program name with arguments.
13742
for cc_temp in $compiler""; do
13744
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13745
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13750
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13753
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13754
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13755
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13756
echo "${ECHO_T}$can_build_shared" >&6; }
13758
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13759
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13760
test "$can_build_shared" = "no" && enable_shared=no
13762
# On AIX, shared libraries and static libraries use the same namespace, and
13763
# are all built from PIC.
13766
test "$enable_shared" = yes && enable_static=no
13767
if test -n "$RANLIB"; then
13768
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13769
postinstall_cmds='$RANLIB $lib'
13773
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13774
test "$enable_shared" = yes && enable_static=no
13778
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13779
echo "${ECHO_T}$enable_shared" >&6; }
13781
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13782
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13783
# Make sure either enable_shared or enable_static is yes.
13784
test "$enable_shared" = yes || enable_static=yes
13785
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13786
echo "${ECHO_T}$enable_static" >&6; }
13791
lt_prog_compiler_wl_F77=
13792
lt_prog_compiler_pic_F77=
13793
lt_prog_compiler_static_F77=
13795
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13796
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13798
if test "$GCC" = yes; then
13799
lt_prog_compiler_wl_F77='-Wl,'
13800
lt_prog_compiler_static_F77='-static'
13804
# All AIX code is PIC.
13805
if test "$host_cpu" = ia64; then
13806
# AIX 5 now supports IA64 processor
13807
lt_prog_compiler_static_F77='-Bstatic'
13812
# FIXME: we need at least 68020 code to build shared libraries, but
13813
# adding the `-m68020' flag to GCC prevents building anything better,
13815
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13818
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13819
# PIC is the default for these OSes.
13822
mingw* | cygwin* | pw32* | os2*)
13823
# This hack is so that the source file can tell whether it is being
13824
# built for inclusion in a dll (and should export symbols for example).
13825
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13826
# (--disable-auto-import) libraries
13827
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13830
darwin* | rhapsody*)
13831
# PIC is the default on this platform
13832
# Common symbols not allowed in MH_DYLIB files
13833
lt_prog_compiler_pic_F77='-fno-common'
13837
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13838
# Instead, we relocate shared libraries at runtime.
13842
# Just because we use GCC doesn't mean we suddenly get shared libraries
13843
# on systems that don't support them.
13844
lt_prog_compiler_can_build_shared_F77=no
13849
if test -d /usr/nec; then
13850
lt_prog_compiler_pic_F77=-Kconform_pic
13855
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13856
# not for PA HP-UX.
13862
lt_prog_compiler_pic_F77='-fPIC'
13868
lt_prog_compiler_pic_F77='-fPIC'
13872
# PORTME Check for flag to pass linker flags through the system compiler.
13875
lt_prog_compiler_wl_F77='-Wl,'
13876
if test "$host_cpu" = ia64; then
13877
# AIX 5 now supports IA64 processor
13878
lt_prog_compiler_static_F77='-Bstatic'
13880
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13884
# PIC is the default on this platform
13885
# Common symbols not allowed in MH_DYLIB files
13886
case $cc_basename in
13888
lt_prog_compiler_pic_F77='-qnocommon'
13889
lt_prog_compiler_wl_F77='-Wl,'
13894
mingw* | cygwin* | pw32* | os2*)
13895
# This hack is so that the source file can tell whether it is being
13896
# built for inclusion in a dll (and should export symbols for example).
13897
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13900
hpux9* | hpux10* | hpux11*)
13901
lt_prog_compiler_wl_F77='-Wl,'
13902
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13903
# not for PA HP-UX.
13909
lt_prog_compiler_pic_F77='+Z'
13912
# Is there a better lt_prog_compiler_static that works with the bundled CC?
13913
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13916
irix5* | irix6* | nonstopux*)
13917
lt_prog_compiler_wl_F77='-Wl,'
13918
# PIC (with -KPIC) is the default.
13919
lt_prog_compiler_static_F77='-non_shared'
13923
lt_prog_compiler_pic_F77='-KPIC'
13924
lt_prog_compiler_static_F77='-Bstatic'
13927
linux* | k*bsd*-gnu)
13928
case $cc_basename in
13930
lt_prog_compiler_wl_F77='-Wl,'
13931
lt_prog_compiler_pic_F77='-KPIC'
13932
lt_prog_compiler_static_F77='-static'
13934
pgcc* | pgf77* | pgf90* | pgf95*)
13935
# Portland Group compilers (*not* the Pentium gcc compiler,
13936
# which looks to be a dead project)
13937
lt_prog_compiler_wl_F77='-Wl,'
13938
lt_prog_compiler_pic_F77='-fpic'
13939
lt_prog_compiler_static_F77='-Bstatic'
13942
lt_prog_compiler_wl_F77='-Wl,'
13943
# All Alpha code is PIC.
13944
lt_prog_compiler_static_F77='-non_shared'
13947
case `$CC -V 2>&1 | sed 5q` in
13950
lt_prog_compiler_pic_F77='-KPIC'
13951
lt_prog_compiler_static_F77='-Bstatic'
13952
lt_prog_compiler_wl_F77='-Wl,'
13955
# Sun Fortran 8.3 passes all unrecognized flags to the linker
13956
lt_prog_compiler_pic_F77='-KPIC'
13957
lt_prog_compiler_static_F77='-Bstatic'
13958
lt_prog_compiler_wl_F77=''
13965
osf3* | osf4* | osf5*)
13966
lt_prog_compiler_wl_F77='-Wl,'
13967
# All OSF/1 code is PIC.
13968
lt_prog_compiler_static_F77='-non_shared'
13972
lt_prog_compiler_static_F77='-non_shared'
13976
lt_prog_compiler_pic_F77='-KPIC'
13977
lt_prog_compiler_static_F77='-Bstatic'
13978
case $cc_basename in
13979
f77* | f90* | f95*)
13980
lt_prog_compiler_wl_F77='-Qoption ld ';;
13982
lt_prog_compiler_wl_F77='-Wl,';;
13987
lt_prog_compiler_wl_F77='-Qoption ld '
13988
lt_prog_compiler_pic_F77='-PIC'
13989
lt_prog_compiler_static_F77='-Bstatic'
13992
sysv4 | sysv4.2uw2* | sysv4.3*)
13993
lt_prog_compiler_wl_F77='-Wl,'
13994
lt_prog_compiler_pic_F77='-KPIC'
13995
lt_prog_compiler_static_F77='-Bstatic'
13999
if test -d /usr/nec ;then
14000
lt_prog_compiler_pic_F77='-Kconform_pic'
14001
lt_prog_compiler_static_F77='-Bstatic'
14005
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14006
lt_prog_compiler_wl_F77='-Wl,'
14007
lt_prog_compiler_pic_F77='-KPIC'
14008
lt_prog_compiler_static_F77='-Bstatic'
14012
lt_prog_compiler_wl_F77='-Wl,'
14013
lt_prog_compiler_can_build_shared_F77=no
14017
lt_prog_compiler_pic_F77='-pic'
14018
lt_prog_compiler_static_F77='-Bstatic'
14022
lt_prog_compiler_can_build_shared_F77=no
14027
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14028
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14031
# Check to make sure the PIC flag actually works.
14033
if test -n "$lt_prog_compiler_pic_F77"; then
14035
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14036
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14037
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14038
echo $ECHO_N "(cached) $ECHO_C" >&6
14040
lt_prog_compiler_pic_works_F77=no
14041
ac_outfile=conftest.$ac_objext
14042
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14044
# Insert the option either (1) after the last *FLAGS variable, or
14045
# (2) before a word containing "conftest.", or (3) at the end.
14046
# Note that $ac_compile itself does not contain backslashes and begins
14047
# with a dollar sign (not a hyphen), so the echo should work correctly.
14048
# The option is referenced via a variable to avoid confusing sed.
14049
lt_compile=`echo "$ac_compile" | $SED \
14050
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052
-e 's:$: $lt_compiler_flag:'`
14053
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14054
(eval "$lt_compile" 2>conftest.err)
14056
cat conftest.err >&5
14057
echo "$as_me:__oline__: \$? = $ac_status" >&5
14058
if (exit $ac_status) && test -s "$ac_outfile"; then
14059
# The compiler can only warn and ignore the option if not recognized
14060
# So say no if there are warnings other than the usual output.
14061
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14062
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14063
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14064
lt_prog_compiler_pic_works_F77=yes
14070
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14071
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14073
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14074
case $lt_prog_compiler_pic_F77 in
14076
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14079
lt_prog_compiler_pic_F77=
14080
lt_prog_compiler_can_build_shared_F77=no
14085
# For platforms which do not support PIC, -DPIC is meaningless:
14087
lt_prog_compiler_pic_F77=
14090
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14095
# Check to make sure the static flag actually works.
14097
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14098
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14099
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14100
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14101
echo $ECHO_N "(cached) $ECHO_C" >&6
14103
lt_prog_compiler_static_works_F77=no
14104
save_LDFLAGS="$LDFLAGS"
14105
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14106
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14107
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14108
# The linker can only warn and ignore the option if not recognized
14109
# So say no if there are warnings
14110
if test -s conftest.err; then
14111
# Append any errors to the config.log.
14112
cat conftest.err 1>&5
14113
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14114
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14115
if diff conftest.exp conftest.er2 >/dev/null; then
14116
lt_prog_compiler_static_works_F77=yes
14119
lt_prog_compiler_static_works_F77=yes
14123
LDFLAGS="$save_LDFLAGS"
14126
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14127
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14129
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14132
lt_prog_compiler_static_F77=
14136
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14137
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14138
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14139
echo $ECHO_N "(cached) $ECHO_C" >&6
14141
lt_cv_prog_compiler_c_o_F77=no
14142
$rm -r conftest 2>/dev/null
14146
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14148
lt_compiler_flag="-o out/conftest2.$ac_objext"
14149
# Insert the option either (1) after the last *FLAGS variable, or
14150
# (2) before a word containing "conftest.", or (3) at the end.
14151
# Note that $ac_compile itself does not contain backslashes and begins
14152
# with a dollar sign (not a hyphen), so the echo should work correctly.
14153
lt_compile=`echo "$ac_compile" | $SED \
14154
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14155
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14156
-e 's:$: $lt_compiler_flag:'`
14157
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14158
(eval "$lt_compile" 2>out/conftest.err)
14160
cat out/conftest.err >&5
14161
echo "$as_me:__oline__: \$? = $ac_status" >&5
14162
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14164
# The compiler can only warn and ignore the option if not recognized
14165
# So say no if there are warnings
14166
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14167
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14168
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14169
lt_cv_prog_compiler_c_o_F77=yes
14174
# SGI C++ compiler will create directory out/ii_files/ for
14175
# template instantiation
14176
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14177
$rm out/* && rmdir out
14183
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14184
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14187
hard_links="nottested"
14188
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14189
# do not overwrite the value of need_locks provided by the user
14190
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14191
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14194
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14196
ln conftest.a conftest.b 2>&5 || hard_links=no
14197
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14198
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14199
echo "${ECHO_T}$hard_links" >&6; }
14200
if test "$hard_links" = no; then
14201
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14202
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14209
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14210
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14213
allow_undefined_flag_F77=
14214
enable_shared_with_static_runtimes_F77=no
14216
archive_expsym_cmds_F77=
14217
old_archive_From_new_cmds_F77=
14218
old_archive_from_expsyms_cmds_F77=
14219
export_dynamic_flag_spec_F77=
14220
whole_archive_flag_spec_F77=
14221
thread_safe_flag_spec_F77=
14222
hardcode_libdir_flag_spec_F77=
14223
hardcode_libdir_flag_spec_ld_F77=
14224
hardcode_libdir_separator_F77=
14225
hardcode_direct_F77=no
14226
hardcode_minus_L_F77=no
14227
hardcode_shlibpath_var_F77=unsupported
14228
link_all_deplibs_F77=unknown
14229
hardcode_automatic_F77=no
14231
module_expsym_cmds_F77=
14232
always_export_symbols_F77=no
14233
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14234
# include_expsyms should be a list of space-separated symbols to be *always*
14235
# included in the symbol list
14236
include_expsyms_F77=
14237
# exclude_expsyms can be an extended regexp of symbols to exclude
14238
# it will be wrapped by ` (' and `)$', so one must not match beginning or
14239
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14240
# as well as any symbol that contains `d'.
14241
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14242
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14243
# platforms (ab)use it in PIC code, but their linkers get confused if
14244
# the symbol is explicitly referenced. Since portable code cannot
14245
# rely on this symbol name, it's probably fine to never include it in
14246
# preloaded symbol tables.
14247
extract_expsyms_cmds=
14248
# Just being paranoid about ensuring that cc_basename is set.
14249
for cc_temp in $compiler""; do
14251
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14252
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14257
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14260
cygwin* | mingw* | pw32*)
14261
# FIXME: the MSVC++ port hasn't been tested in a loooong time
14262
# When not using gcc, we currently assume that we are using
14263
# Microsoft Visual C++.
14264
if test "$GCC" != yes; then
14269
# we just hope/assume this is gcc and not c89 (= MSVC++)
14278
if test "$with_gnu_ld" = yes; then
14279
# If archive_cmds runs LD, not CC, wlarc should be empty
14282
# Set some defaults for GNU ld with shared library support. These
14283
# are reset later if shared libraries are not supported. Putting them
14284
# here allows them to be overridden if necessary.
14285
runpath_var=LD_RUN_PATH
14286
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14287
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14288
# ancient GNU ld didn't support --whole-archive et. al.
14289
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14290
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14292
whole_archive_flag_spec_F77=
14294
supports_anon_versioning=no
14295
case `$LD -v 2>/dev/null` in
14296
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14297
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14298
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14299
*\ 2.11.*) ;; # other 2.11 versions
14300
*) supports_anon_versioning=yes ;;
14303
# See if GNU ld supports shared libraries.
14305
aix3* | aix4* | aix5*)
14306
# On AIX/PPC, the GNU linker is very broken
14307
if test "$host_cpu" != ia64; then
14311
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14312
*** to be unable to reliably create shared libraries on AIX.
14313
*** Therefore, libtool is disabling shared libraries support. If you
14314
*** really care for shared libraries, you may want to modify your PATH
14315
*** so that a non-GNU linker is found, and then restart.
14322
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)'
14323
hardcode_libdir_flag_spec_F77='-L$libdir'
14324
hardcode_minus_L_F77=yes
14326
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14327
# that the semantics of dynamic libraries on AmigaOS, at least up
14328
# to version 4, is to share data among multiple programs linked
14329
# with the same dynamic library. Since this doesn't match the
14330
# behavior of shared libraries on other platforms, we can't use
14336
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14337
allow_undefined_flag_F77=unsupported
14338
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14339
# support --undefined. This deserves some investigation. FIXME
14340
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14346
cygwin* | mingw* | pw32*)
14347
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14348
# as there is no search path for DLLs.
14349
hardcode_libdir_flag_spec_F77='-L$libdir'
14350
allow_undefined_flag_F77=unsupported
14351
always_export_symbols_F77=no
14352
enable_shared_with_static_runtimes_F77=yes
14353
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14355
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14356
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14357
# If the export-symbols file already is a .def file (1st line
14358
# is EXPORTS), use it as is; otherwise, prepend...
14359
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14360
cp $export_symbols $output_objdir/$soname.def;
14362
echo EXPORTS > $output_objdir/$soname.def;
14363
cat $export_symbols >> $output_objdir/$soname.def;
14365
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14372
hardcode_direct_F77=no
14373
hardcode_shlibpath_var_F77=no
14374
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14375
export_dynamic_flag_spec_F77='${wl}-E'
14376
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14377
# Instead, shared libraries are loaded at an image base (0x10000000 by
14378
# default) and relocated if they conflict, which is a slow very memory
14379
# consuming and fragmenting process. To avoid this, we pick a random,
14380
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14381
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
14382
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'
14383
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'
14386
gnu* | linux* | k*bsd*-gnu)
14387
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14389
case $cc_basename,$host_cpu in
14390
pgcc*) # Portland Group C compiler
14391
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'
14392
tmp_addflag=' $pic_flag'
14394
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14395
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'
14396
tmp_addflag=' $pic_flag -Mnomain' ;;
14397
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14398
tmp_addflag=' -i_dynamic' ;;
14399
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14400
tmp_addflag=' -i_dynamic -nofor_main' ;;
14401
ifc* | ifort*) # Intel Fortran compiler
14402
tmp_addflag=' -nofor_main' ;;
14404
case `$CC -V 2>&1 | sed 5q` in
14405
*Sun\ C*) # Sun C 5.9
14406
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'
14407
tmp_sharedflag='-G' ;;
14408
*Sun\ F*) # Sun Fortran 8.3
14409
tmp_sharedflag='-G' ;;
14411
tmp_sharedflag='-shared' ;;
14413
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14415
if test $supports_anon_versioning = yes; then
14416
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14417
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14418
$echo "local: *; };" >> $output_objdir/$libname.ver~
14419
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14421
link_all_deplibs_F77=no
14427
netbsd* | netbsdelf*-gnu)
14428
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14429
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14432
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14433
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14438
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14442
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14443
*** create shared libraries on Solaris systems. Therefore, libtool
14444
*** is disabling shared libraries support. We urge you to upgrade GNU
14445
*** binutils to release 2.9.1 or newer. Another option is to modify
14446
*** your PATH or compiler configuration so that the native linker is
14447
*** used, and then restart.
14450
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14451
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14452
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14458
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14459
case `$LD -v 2>&1` in
14460
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14464
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14465
*** reliably create shared libraries on SCO systems. Therefore, libtool
14466
*** is disabling shared libraries support. We urge you to upgrade GNU
14467
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14468
*** your PATH or compiler configuration so that the native linker is
14469
*** used, and then restart.
14474
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14475
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14476
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14477
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14486
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14488
hardcode_direct_F77=yes
14489
hardcode_shlibpath_var_F77=no
14493
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14494
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14495
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14502
if test "$ld_shlibs_F77" = no; then
14504
hardcode_libdir_flag_spec_F77=
14505
export_dynamic_flag_spec_F77=
14506
whole_archive_flag_spec_F77=
14509
# PORTME fill in a description of your system's linker (not GNU ld)
14512
allow_undefined_flag_F77=unsupported
14513
always_export_symbols_F77=yes
14514
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'
14515
# Note: this linker hardcodes the directories in LIBPATH if there
14516
# are no directories specified by -L.
14517
hardcode_minus_L_F77=yes
14518
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14519
# Neither direct hardcoding nor static linking is supported with a
14521
hardcode_direct_F77=unsupported
14526
if test "$host_cpu" = ia64; then
14527
# On IA64, the linker does run time linking by default, so we don't
14528
# have to do anything special.
14529
aix_use_runtimelinking=no
14530
exp_sym_flag='-Bexport'
14533
# If we're using GNU nm, then we don't want the "-C" option.
14534
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14535
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14536
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'
14538
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'
14540
aix_use_runtimelinking=no
14542
# Test if we are trying to use run time linking or normal
14543
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14544
# need to do runtime linking.
14545
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14546
for ld_flag in $LDFLAGS; do
14547
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14548
aix_use_runtimelinking=yes
14555
exp_sym_flag='-bexport'
14556
no_entry_flag='-bnoentry'
14559
# When large executables or shared objects are built, AIX ld can
14560
# have problems creating the table of contents. If linking a library
14561
# or program results in "error TOC overflow" add -mminimal-toc to
14562
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14563
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14565
archive_cmds_F77=''
14566
hardcode_direct_F77=yes
14567
hardcode_libdir_separator_F77=':'
14568
link_all_deplibs_F77=yes
14570
if test "$GCC" = yes; then
14571
case $host_os in aix4.[012]|aix4.[012].*)
14572
# We only want to do this on AIX 4.2 and lower, the check
14573
# below for broken collect2 doesn't work under 4.3+
14574
collect2name=`${CC} -print-prog-name=collect2`
14575
if test -f "$collect2name" && \
14576
strings "$collect2name" | grep resolve_lib_name >/dev/null
14578
# We have reworked collect2
14581
# We have old collect2
14582
hardcode_direct_F77=unsupported
14583
# It fails to find uninstalled libraries when the uninstalled
14584
# path is not listed in the libpath. Setting hardcode_minus_L
14585
# to unsupported forces relinking
14586
hardcode_minus_L_F77=yes
14587
hardcode_libdir_flag_spec_F77='-L$libdir'
14588
hardcode_libdir_separator_F77=
14592
shared_flag='-shared'
14593
if test "$aix_use_runtimelinking" = yes; then
14594
shared_flag="$shared_flag "'${wl}-G'
14598
if test "$host_cpu" = ia64; then
14599
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14600
# chokes on -Wl,-G. The following line is correct:
14603
if test "$aix_use_runtimelinking" = yes; then
14604
shared_flag='${wl}-G'
14606
shared_flag='${wl}-bM:SRE'
14611
# It seems that -bexpall does not export symbols beginning with
14612
# underscore (_), so it is better to generate a list of symbols to export.
14613
always_export_symbols_F77=yes
14614
if test "$aix_use_runtimelinking" = yes; then
14615
# Warning - without using the other runtime loading flags (-brtl),
14616
# -berok will link without error, but may produce a broken library.
14617
allow_undefined_flag_F77='-berok'
14618
# Determine the default libpath from the value encoded in an empty executable.
14619
cat >conftest.$ac_ext <<_ACEOF
14624
rm -f conftest.$ac_objext conftest$ac_exeext
14625
if { (ac_try="$ac_link"
14626
case "(($ac_try" in
14627
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628
*) ac_try_echo=$ac_try;;
14630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631
(eval "$ac_link") 2>conftest.er1
14633
grep -v '^ *+' conftest.er1 >conftest.err
14635
cat conftest.err >&5
14636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637
(exit $ac_status); } && {
14638
test -z "$ac_f77_werror_flag" ||
14639
test ! -s conftest.err
14640
} && test -s conftest$ac_exeext &&
14641
$as_test_x conftest$ac_exeext; then
14643
lt_aix_libpath_sed='
14644
/Import File Strings/,/^$/ {
14650
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14651
# Check for a 64-bit object if we didn't find anything.
14652
if test -z "$aix_libpath"; then
14653
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14656
echo "$as_me: failed program was:" >&5
14657
sed 's/^/| /' conftest.$ac_ext >&5
14662
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14663
conftest$ac_exeext conftest.$ac_ext
14664
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14666
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14667
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"
14669
if test "$host_cpu" = ia64; then
14670
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14671
allow_undefined_flag_F77="-z nodefs"
14672
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"
14674
# Determine the default libpath from the value encoded in an empty executable.
14675
cat >conftest.$ac_ext <<_ACEOF
14680
rm -f conftest.$ac_objext conftest$ac_exeext
14681
if { (ac_try="$ac_link"
14682
case "(($ac_try" in
14683
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684
*) ac_try_echo=$ac_try;;
14686
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687
(eval "$ac_link") 2>conftest.er1
14689
grep -v '^ *+' conftest.er1 >conftest.err
14691
cat conftest.err >&5
14692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693
(exit $ac_status); } && {
14694
test -z "$ac_f77_werror_flag" ||
14695
test ! -s conftest.err
14696
} && test -s conftest$ac_exeext &&
14697
$as_test_x conftest$ac_exeext; then
14699
lt_aix_libpath_sed='
14700
/Import File Strings/,/^$/ {
14706
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14707
# Check for a 64-bit object if we didn't find anything.
14708
if test -z "$aix_libpath"; then
14709
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14712
echo "$as_me: failed program was:" >&5
14713
sed 's/^/| /' conftest.$ac_ext >&5
14718
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14719
conftest$ac_exeext conftest.$ac_ext
14720
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14722
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14723
# Warning - without using the other run time loading flags,
14724
# -berok will link without error, but may produce a broken library.
14725
no_undefined_flag_F77=' ${wl}-bernotok'
14726
allow_undefined_flag_F77=' ${wl}-berok'
14727
# Exported symbols can be pulled into shared objects from archives
14728
whole_archive_flag_spec_F77='$convenience'
14729
archive_cmds_need_lc_F77=yes
14730
# This is similar to how AIX traditionally builds its shared libraries.
14731
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'
14737
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)'
14738
hardcode_libdir_flag_spec_F77='-L$libdir'
14739
hardcode_minus_L_F77=yes
14740
# see comment about different semantics on the GNU ld section
14745
export_dynamic_flag_spec_F77=-rdynamic
14748
cygwin* | mingw* | pw32*)
14749
# When not using gcc, we currently assume that we are using
14750
# Microsoft Visual C++.
14751
# hardcode_libdir_flag_spec is actually meaningless, as there is
14752
# no search path for DLLs.
14753
hardcode_libdir_flag_spec_F77=' '
14754
allow_undefined_flag_F77=unsupported
14755
# Tell ltmain to make .lib files, not .a files.
14757
# Tell ltmain to make .dll files, not .so files.
14759
# FIXME: Setting linknames here is a bad hack.
14760
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14761
# The linker will automatically build a .lib file if we build a DLL.
14762
old_archive_From_new_cmds_F77='true'
14763
# FIXME: Should let the user specify the lib program.
14764
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14765
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14766
enable_shared_with_static_runtimes_F77=yes
14769
darwin* | rhapsody*)
14771
rhapsody* | darwin1.[012])
14772
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14775
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14776
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14778
case ${MACOSX_DEPLOYMENT_TARGET} in
14780
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14783
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14789
archive_cmds_need_lc_F77=no
14790
hardcode_direct_F77=no
14791
hardcode_automatic_F77=yes
14792
hardcode_shlibpath_var_F77=unsupported
14793
whole_archive_flag_spec_F77=''
14794
link_all_deplibs_F77=yes
14795
if test "$GCC" = yes ; then
14796
output_verbose_link_cmd='echo'
14797
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14798
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14799
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14800
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}'
14801
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}'
14803
case $cc_basename in
14805
output_verbose_link_cmd='echo'
14806
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14807
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14808
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14809
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}'
14810
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}'
14820
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14821
hardcode_libdir_flag_spec_F77='-L$libdir'
14822
hardcode_shlibpath_var_F77=no
14829
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14830
# support. Future versions do this automatically, but an explicit c++rt0.o
14831
# does not break anything, and helps significantly (at the cost of a little
14834
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14835
hardcode_libdir_flag_spec_F77='-R$libdir'
14836
hardcode_direct_F77=yes
14837
hardcode_shlibpath_var_F77=no
14840
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
14842
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14843
hardcode_direct_F77=yes
14844
hardcode_minus_L_F77=yes
14845
hardcode_shlibpath_var_F77=no
14848
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14849
freebsd* | dragonfly*)
14850
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14851
hardcode_libdir_flag_spec_F77='-R$libdir'
14852
hardcode_direct_F77=yes
14853
hardcode_shlibpath_var_F77=no
14857
if test "$GCC" = yes; then
14858
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'
14860
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'
14862
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14863
hardcode_libdir_separator_F77=:
14864
hardcode_direct_F77=yes
14866
# hardcode_minus_L: Not really in the search PATH,
14867
# but as the default location of the library.
14868
hardcode_minus_L_F77=yes
14869
export_dynamic_flag_spec_F77='${wl}-E'
14873
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14874
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14876
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14878
if test "$with_gnu_ld" = no; then
14879
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14880
hardcode_libdir_separator_F77=:
14882
hardcode_direct_F77=yes
14883
export_dynamic_flag_spec_F77='${wl}-E'
14885
# hardcode_minus_L: Not really in the search PATH,
14886
# but as the default location of the library.
14887
hardcode_minus_L_F77=yes
14892
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14895
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14898
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14901
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14907
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14910
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14913
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14917
if test "$with_gnu_ld" = no; then
14918
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14919
hardcode_libdir_separator_F77=:
14923
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14924
hardcode_direct_F77=no
14925
hardcode_shlibpath_var_F77=no
14928
hardcode_direct_F77=yes
14929
export_dynamic_flag_spec_F77='${wl}-E'
14931
# hardcode_minus_L: Not really in the search PATH,
14932
# but as the default location of the library.
14933
hardcode_minus_L_F77=yes
14939
irix5* | irix6* | nonstopux*)
14940
if test "$GCC" = yes; then
14941
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'
14943
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'
14944
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14946
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14947
hardcode_libdir_separator_F77=:
14948
link_all_deplibs_F77=yes
14951
netbsd* | netbsdelf*-gnu)
14952
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14953
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14955
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14957
hardcode_libdir_flag_spec_F77='-R$libdir'
14958
hardcode_direct_F77=yes
14959
hardcode_shlibpath_var_F77=no
14963
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14964
hardcode_direct_F77=yes
14965
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14966
hardcode_libdir_separator_F77=:
14967
hardcode_shlibpath_var_F77=no
14971
if test -f /usr/libexec/ld.so; then
14972
hardcode_direct_F77=yes
14973
hardcode_shlibpath_var_F77=no
14974
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14975
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14976
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14977
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14978
export_dynamic_flag_spec_F77='${wl}-E'
14981
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14982
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14983
hardcode_libdir_flag_spec_F77='-R$libdir'
14986
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14987
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14997
hardcode_libdir_flag_spec_F77='-L$libdir'
14998
hardcode_minus_L_F77=yes
14999
allow_undefined_flag_F77=unsupported
15000
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'
15001
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15005
if test "$GCC" = yes; then
15006
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15007
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'
15009
allow_undefined_flag_F77=' -expect_unresolved \*'
15010
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'
15012
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15013
hardcode_libdir_separator_F77=:
15016
osf4* | osf5*) # as osf3* with the addition of -msym flag
15017
if test "$GCC" = yes; then
15018
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15019
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'
15020
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15022
allow_undefined_flag_F77=' -expect_unresolved \*'
15023
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'
15024
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~
15025
$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'
15027
# Both c and cxx compiler support -rpath directly
15028
hardcode_libdir_flag_spec_F77='-rpath $libdir'
15030
hardcode_libdir_separator_F77=:
15034
no_undefined_flag_F77=' -z text'
15035
if test "$GCC" = yes; then
15037
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15038
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15039
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15042
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15043
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15044
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15046
hardcode_libdir_flag_spec_F77='-R$libdir'
15047
hardcode_shlibpath_var_F77=no
15049
solaris2.[0-5] | solaris2.[0-5].*) ;;
15051
# The compiler driver will combine and reorder linker options,
15052
# but understands `-z linker_flag'. GCC discards it without `$wl',
15053
# but is careful enough not to reorder.
15054
# Supported since Solaris 2.6 (maybe 2.5.1?)
15055
if test "$GCC" = yes; then
15056
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15058
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15062
link_all_deplibs_F77=yes
15066
if test "x$host_vendor" = xsequent; then
15067
# Use $CC to link under sequent, because it throws in some extra .o
15068
# files that make .init and .fini sections work.
15069
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15071
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15073
hardcode_libdir_flag_spec_F77='-L$libdir'
15074
hardcode_direct_F77=yes
15075
hardcode_minus_L_F77=yes
15076
hardcode_shlibpath_var_F77=no
15080
case $host_vendor in
15082
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15083
hardcode_direct_F77=yes # is this really true???
15086
## LD is ld it makes a PLAMLIB
15087
## CC just makes a GrossModule.
15088
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15089
reload_cmds_F77='$CC -r -o $output$reload_objs'
15090
hardcode_direct_F77=no
15093
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15094
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15097
runpath_var='LD_RUN_PATH'
15098
hardcode_shlibpath_var_F77=no
15102
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15103
hardcode_shlibpath_var_F77=no
15104
export_dynamic_flag_spec_F77='-Bexport'
15108
if test -d /usr/nec; then
15109
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15110
hardcode_shlibpath_var_F77=no
15111
runpath_var=LD_RUN_PATH
15112
hardcode_runpath_var=yes
15117
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15118
no_undefined_flag_F77='${wl}-z,text'
15119
archive_cmds_need_lc_F77=no
15120
hardcode_shlibpath_var_F77=no
15121
runpath_var='LD_RUN_PATH'
15123
if test "$GCC" = yes; then
15124
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15125
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15127
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15128
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15132
sysv5* | sco3.2v5* | sco5v6*)
15133
# Note: We can NOT use -z defs as we might desire, because we do not
15134
# link with -lc, and that would cause any symbols used from libc to
15135
# always be unresolved, which means just about no library would
15136
# ever link correctly. If we're not using GNU ld we use -z text
15137
# though, which does catch some bad symbols but isn't as heavy-handed
15139
no_undefined_flag_F77='${wl}-z,text'
15140
allow_undefined_flag_F77='${wl}-z,nodefs'
15141
archive_cmds_need_lc_F77=no
15142
hardcode_shlibpath_var_F77=no
15143
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15144
hardcode_libdir_separator_F77=':'
15145
link_all_deplibs_F77=yes
15146
export_dynamic_flag_spec_F77='${wl}-Bexport'
15147
runpath_var='LD_RUN_PATH'
15149
if test "$GCC" = yes; then
15150
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15151
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15153
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15154
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15159
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15160
hardcode_libdir_flag_spec_F77='-L$libdir'
15161
hardcode_shlibpath_var_F77=no
15170
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15171
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15172
test "$ld_shlibs_F77" = no && can_build_shared=no
15175
# Do we need to explicitly link libc?
15177
case "x$archive_cmds_need_lc_F77" in
15179
# Assume -lc should be added
15180
archive_cmds_need_lc_F77=yes
15182
if test "$enable_shared" = yes && test "$GCC" = yes; then
15183
case $archive_cmds_F77 in
15185
# FIXME: we may have to deal with multi-command sequences.
15188
# Test whether the compiler implicitly links with -lc since on some
15189
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15190
# to ld, don't add -lc before -lgcc.
15191
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15192
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15194
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15196
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15197
(eval $ac_compile) 2>&5
15199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200
(exit $ac_status); } 2>conftest.err; then
15203
libobjs=conftest.$ac_objext
15205
wl=$lt_prog_compiler_wl_F77
15206
pic_flag=$lt_prog_compiler_pic_F77
15212
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15213
allow_undefined_flag_F77=
15214
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15215
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218
(exit $ac_status); }
15220
archive_cmds_need_lc_F77=no
15222
archive_cmds_need_lc_F77=yes
15224
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15226
cat conftest.err 1>&5
15229
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15230
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15237
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15238
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15239
library_names_spec=
15240
libname_spec='lib$name'
15244
postuninstall_cmds=
15248
shlibpath_overrides_runpath=unknown
15250
dynamic_linker="$host_os ld.so"
15251
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15253
need_lib_prefix=unknown
15254
hardcode_into_libs=no
15256
# when you set need_version to no, make sure it does not cause -set_version
15257
# flags to be left without arguments
15258
need_version=unknown
15263
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15264
shlibpath_var=LIBPATH
15266
# AIX 3 has no versioning support, so we append a major version to the name.
15267
soname_spec='${libname}${release}${shared_ext}$major'
15274
hardcode_into_libs=yes
15275
if test "$host_cpu" = ia64; then
15276
# AIX 5 supports IA64
15277
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15278
shlibpath_var=LD_LIBRARY_PATH
15280
# With GCC up to 2.95.x, collect2 would create an import file
15281
# for dependence libraries. The import file would start with
15282
# the line `#! .'. This would cause the generated library to
15283
# depend on `.', always an invalid library. This was fixed in
15284
# development snapshots of GCC prior to 3.0.
15286
aix4 | aix4.[01] | aix4.[01].*)
15287
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15289
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15292
can_build_shared=no
15296
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15297
# soname into executable. Probably we can add versioning support to
15298
# collect2, so additional links can be useful in future.
15299
if test "$aix_use_runtimelinking" = yes; then
15300
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15301
# instead of lib<name>.a to let people know that these are not
15302
# typical AIX shared libraries.
15303
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305
# We preserve .a as extension for shared libraries through AIX4.2
15306
# and later when we are not doing run time linking.
15307
library_names_spec='${libname}${release}.a $libname.a'
15308
soname_spec='${libname}${release}${shared_ext}$major'
15310
shlibpath_var=LIBPATH
15315
library_names_spec='$libname.ixlibrary $libname.a'
15316
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15317
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'
15321
library_names_spec='${libname}${shared_ext}'
15322
dynamic_linker="$host_os ld.so"
15323
shlibpath_var=LIBRARY_PATH
15329
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15330
soname_spec='${libname}${release}${shared_ext}$major'
15331
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15332
shlibpath_var=LD_LIBRARY_PATH
15333
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15334
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15335
# the default ld.so.conf also contains /usr/contrib/lib and
15336
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15337
# libtool to hard-code these into programs
15340
cygwin* | mingw* | pw32*)
15341
version_type=windows
15346
case $GCC,$host_os in
15347
yes,cygwin* | yes,mingw* | yes,pw32*)
15348
library_names_spec='$libname.dll.a'
15349
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15350
postinstall_cmds='base_file=`basename \${file}`~
15351
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15352
dldir=$destdir/`dirname \$dlpath`~
15353
test -d \$dldir || mkdir -p \$dldir~
15354
$install_prog $dir/$dlname \$dldir/$dlname~
15355
chmod a+x \$dldir/$dlname'
15356
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15357
dlpath=$dir/\$dldll~
15359
shlibpath_overrides_runpath=yes
15363
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15364
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15365
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15368
# MinGW DLLs use traditional 'lib' prefix
15369
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15370
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15371
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15372
# It is most probably a Windows format PATH printed by
15373
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15374
# path with ; separators, and with drive letters. We can handle the
15375
# drive letters (cygwin fileutils understands them), so leave them,
15376
# especially as we might pass files found there to a mingw objdump,
15377
# which wouldn't understand a cygwinified path. Ahh.
15378
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15380
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15384
# pw32 DLLs use 'pw' prefix rather than 'lib'
15385
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15391
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15394
dynamic_linker='Win32 ld.exe'
15395
# FIXME: first we should search . and the directory the executable is in
15399
darwin* | rhapsody*)
15400
dynamic_linker="$host_os dyld"
15401
version_type=darwin
15404
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15405
soname_spec='${libname}${release}${major}$shared_ext'
15406
shlibpath_overrides_runpath=yes
15407
shlibpath_var=DYLD_LIBRARY_PATH
15408
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15410
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15418
soname_spec='${libname}${release}${shared_ext}$major'
15419
shlibpath_var=LD_LIBRARY_PATH
15426
freebsd* | dragonfly*)
15427
# DragonFly does not have aout. When/if they implement a new
15428
# versioning mechanism, adjust this.
15429
if test -x /usr/bin/objformat; then
15430
objformat=`/usr/bin/objformat`
15433
freebsd[123]*) objformat=aout ;;
15434
*) objformat=elf ;;
15437
version_type=freebsd-$objformat
15438
case $version_type in
15440
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15445
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15449
shlibpath_var=LD_LIBRARY_PATH
15452
shlibpath_overrides_runpath=yes
15454
freebsd3.[01]* | freebsdelf3.[01]*)
15455
shlibpath_overrides_runpath=yes
15456
hardcode_into_libs=yes
15458
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15459
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15460
shlibpath_overrides_runpath=no
15461
hardcode_into_libs=yes
15463
*) # from 4.6 on, and DragonFly
15464
shlibpath_overrides_runpath=yes
15465
hardcode_into_libs=yes
15474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15475
soname_spec='${libname}${release}${shared_ext}$major'
15476
shlibpath_var=LD_LIBRARY_PATH
15477
hardcode_into_libs=yes
15480
hpux9* | hpux10* | hpux11*)
15481
# Give a soname corresponding to the major version so that dld.sl refuses to
15482
# link against other versions.
15489
hardcode_into_libs=yes
15490
dynamic_linker="$host_os dld.so"
15491
shlibpath_var=LD_LIBRARY_PATH
15492
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15494
soname_spec='${libname}${release}${shared_ext}$major'
15495
if test "X$HPUX_IA64_MODE" = X32; then
15496
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15498
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15500
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15504
hardcode_into_libs=yes
15505
dynamic_linker="$host_os dld.sl"
15506
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15507
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15508
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15509
soname_spec='${libname}${release}${shared_ext}$major'
15510
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15511
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15515
dynamic_linker="$host_os dld.sl"
15516
shlibpath_var=SHLIB_PATH
15517
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15518
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15519
soname_spec='${libname}${release}${shared_ext}$major'
15522
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15523
postinstall_cmds='chmod 555 $lib'
15530
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15531
soname_spec='${libname}${release}${shared_ext}$major'
15532
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15533
shlibpath_var=LD_LIBRARY_PATH
15534
shlibpath_overrides_runpath=no
15535
hardcode_into_libs=yes
15538
irix5* | irix6* | nonstopux*)
15540
nonstopux*) version_type=nonstopux ;;
15542
if test "$lt_cv_prog_gnu_ld" = yes; then
15550
soname_spec='${libname}${release}${shared_ext}$major'
15551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15553
irix5* | nonstopux*)
15554
libsuff= shlibsuff=
15557
case $LD in # libtool.m4 will add one of these switches to LD
15558
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15559
libsuff= shlibsuff= libmagic=32-bit;;
15560
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15561
libsuff=32 shlibsuff=N32 libmagic=N32;;
15562
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15563
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15564
*) libsuff= shlibsuff= libmagic=never-match;;
15568
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15569
shlibpath_overrides_runpath=no
15570
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15571
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15572
hardcode_into_libs=yes
15575
# No shared lib support for Linux oldld, aout, or coff.
15576
linux*oldld* | linux*aout* | linux*coff*)
15580
# This must be Linux ELF.
15581
linux* | k*bsd*-gnu)
15585
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15586
soname_spec='${libname}${release}${shared_ext}$major'
15587
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15588
shlibpath_var=LD_LIBRARY_PATH
15589
shlibpath_overrides_runpath=no
15590
# This implies no fast_install, which is unacceptable.
15591
# Some rework will be needed to allow for fast_install
15592
# before this can be enabled.
15593
hardcode_into_libs=yes
15595
# Append ld.so.conf contents to the search path
15596
if test -f /etc/ld.so.conf; then
15597
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' ' '`
15598
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15601
# We used to test for /lib/ld.so.1 and disable shared libraries on
15602
# powerpc, because MkLinux only supported shared libraries with the
15603
# GNU dynamic linker. Since this was broken with cross compilers,
15604
# most powerpc-linux boxes support dynamic linking these days and
15605
# people can always --disable-shared, the test was removed, and we
15606
# assume the GNU/Linux dynamic linker is in use.
15607
dynamic_linker='GNU/Linux ld.so'
15614
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15615
soname_spec='${libname}${release}${shared_ext}$major'
15616
shlibpath_var=LD_LIBRARY_PATH
15617
shlibpath_overrides_runpath=no
15618
hardcode_into_libs=yes
15619
dynamic_linker='NetBSD ld.elf_so'
15626
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15627
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15628
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15629
dynamic_linker='NetBSD (a.out) ld.so'
15631
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15632
soname_spec='${libname}${release}${shared_ext}$major'
15633
dynamic_linker='NetBSD ld.elf_so'
15635
shlibpath_var=LD_LIBRARY_PATH
15636
shlibpath_overrides_runpath=yes
15637
hardcode_into_libs=yes
15642
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15643
shlibpath_var=LD_LIBRARY_PATH
15644
shlibpath_overrides_runpath=yes
15651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15652
soname_spec='${libname}${release}${shared_ext}$major'
15653
shlibpath_var=LD_LIBRARY_PATH
15654
shlibpath_overrides_runpath=yes
15659
sys_lib_dlsearch_path_spec="/usr/lib"
15661
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15663
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15664
*) need_version=no ;;
15666
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15667
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15668
shlibpath_var=LD_LIBRARY_PATH
15669
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15671
openbsd2.[89] | openbsd2.[89].*)
15672
shlibpath_overrides_runpath=no
15675
shlibpath_overrides_runpath=yes
15679
shlibpath_overrides_runpath=yes
15684
libname_spec='$name'
15687
library_names_spec='$libname${shared_ext} $libname.a'
15688
dynamic_linker='OS/2 ld.exe'
15689
shlibpath_var=LIBPATH
15692
osf3* | osf4* | osf5*)
15696
soname_spec='${libname}${release}${shared_ext}$major'
15697
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15698
shlibpath_var=LD_LIBRARY_PATH
15699
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15700
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15711
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712
soname_spec='${libname}${release}${shared_ext}$major'
15713
shlibpath_var=LD_LIBRARY_PATH
15714
shlibpath_overrides_runpath=yes
15715
hardcode_into_libs=yes
15716
# ldd complains unless libraries are executable
15717
postinstall_cmds='chmod +x $lib'
15722
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15723
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15724
shlibpath_var=LD_LIBRARY_PATH
15725
shlibpath_overrides_runpath=yes
15726
if test "$with_gnu_ld" = yes; then
15734
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735
soname_spec='${libname}${release}${shared_ext}$major'
15736
shlibpath_var=LD_LIBRARY_PATH
15737
case $host_vendor in
15739
shlibpath_overrides_runpath=no
15741
export_dynamic_flag_spec='${wl}-Blargedynsym'
15742
runpath_var=LD_RUN_PATH
15750
shlibpath_overrides_runpath=no
15751
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15757
if test -d /usr/nec ;then
15759
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15760
soname_spec='$libname${shared_ext}.$major'
15761
shlibpath_var=LD_LIBRARY_PATH
15765
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15766
version_type=freebsd-elf
15769
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15770
soname_spec='${libname}${release}${shared_ext}$major'
15771
shlibpath_var=LD_LIBRARY_PATH
15772
hardcode_into_libs=yes
15773
if test "$with_gnu_ld" = yes; then
15774
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15775
shlibpath_overrides_runpath=no
15777
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15778
shlibpath_overrides_runpath=yes
15781
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15785
sys_lib_dlsearch_path_spec='/usr/lib'
15790
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15791
soname_spec='${libname}${release}${shared_ext}$major'
15792
shlibpath_var=LD_LIBRARY_PATH
15799
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15800
echo "${ECHO_T}$dynamic_linker" >&6; }
15801
test "$dynamic_linker" = no && can_build_shared=no
15803
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15804
if test "$GCC" = yes; then
15805
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15808
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15809
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15810
hardcode_action_F77=
15811
if test -n "$hardcode_libdir_flag_spec_F77" || \
15812
test -n "$runpath_var_F77" || \
15813
test "X$hardcode_automatic_F77" = "Xyes" ; then
15815
# We can hardcode non-existant directories.
15816
if test "$hardcode_direct_F77" != no &&
15817
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15818
# have to relink, otherwise we might link with an installed library
15819
# when we should be linking with a yet-to-be-installed one
15820
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15821
test "$hardcode_minus_L_F77" != no; then
15822
# Linking always hardcodes the temporary library directory.
15823
hardcode_action_F77=relink
15825
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15826
hardcode_action_F77=immediate
15829
# We cannot hardcode anything, or else we can only hardcode existing
15831
hardcode_action_F77=unsupported
15833
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15834
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15836
if test "$hardcode_action_F77" = relink; then
15837
# Fast installation is not supported
15838
enable_fast_install=no
15839
elif test "$shlibpath_overrides_runpath" = yes ||
15840
test "$enable_shared" = no; then
15841
# Fast installation is not necessary
15842
enable_fast_install=needless
15846
# The else clause should only fire when bootstrapping the
15847
# libtool distribution, otherwise you forgot to ship ltmain.sh
15848
# with your package, and you will get complaints that there are
15849
# no rules to generate ltmain.sh.
15850
if test -f "$ltmain"; then
15851
# See if we are running on zsh, and set the options which allow our commands through
15852
# without removal of \ escapes.
15853
if test -n "${ZSH_VERSION+set}" ; then
15854
setopt NO_GLOB_SUBST
15856
# Now quote all the things that may contain metacharacters while being
15857
# careful not to overquote the AC_SUBSTed values. We take copies of the
15858
# variables and quote the copies for generation of the libtool script.
15859
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15861
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15862
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15863
deplibs_check_method reload_flag reload_cmds need_locks \
15864
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15865
lt_cv_sys_global_symbol_to_c_name_address \
15866
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15867
old_postinstall_cmds old_postuninstall_cmds \
15871
lt_prog_compiler_wl_F77 \
15872
lt_prog_compiler_pic_F77 \
15873
lt_prog_compiler_static_F77 \
15874
lt_prog_compiler_no_builtin_flag_F77 \
15875
export_dynamic_flag_spec_F77 \
15876
thread_safe_flag_spec_F77 \
15877
whole_archive_flag_spec_F77 \
15878
enable_shared_with_static_runtimes_F77 \
15879
old_archive_cmds_F77 \
15880
old_archive_from_new_cmds_F77 \
15881
predep_objects_F77 \
15882
postdep_objects_F77 \
15885
compiler_lib_search_path_F77 \
15887
archive_expsym_cmds_F77 \
15888
postinstall_cmds_F77 \
15889
postuninstall_cmds_F77 \
15890
old_archive_from_expsyms_cmds_F77 \
15891
allow_undefined_flag_F77 \
15892
no_undefined_flag_F77 \
15893
export_symbols_cmds_F77 \
15894
hardcode_libdir_flag_spec_F77 \
15895
hardcode_libdir_flag_spec_ld_F77 \
15896
hardcode_libdir_separator_F77 \
15897
hardcode_automatic_F77 \
15899
module_expsym_cmds_F77 \
15900
lt_cv_prog_compiler_c_o_F77 \
15901
fix_srcfile_path_F77 \
15902
exclude_expsyms_F77 \
15903
include_expsyms_F77; do
15906
old_archive_cmds_F77 | \
15907
old_archive_from_new_cmds_F77 | \
15908
archive_cmds_F77 | \
15909
archive_expsym_cmds_F77 | \
15910
module_cmds_F77 | \
15911
module_expsym_cmds_F77 | \
15912
old_archive_from_expsyms_cmds_F77 | \
15913
export_symbols_cmds_F77 | \
15914
extract_expsyms_cmds | reload_cmds | finish_cmds | \
15915
postinstall_cmds | postuninstall_cmds | \
15916
old_postinstall_cmds | old_postuninstall_cmds | \
15917
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15918
# Double-quote double-evaled strings.
15919
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15922
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15928
*'\$0 --fallback-echo"')
15929
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15935
cat <<__EOF__ >> "$cfgfile"
15936
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15938
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15940
# Shell to use when invoking shell scripts.
15943
# Whether or not to build shared libraries.
15944
build_libtool_libs=$enable_shared
15946
# Whether or not to build static libraries.
15947
build_old_libs=$enable_static
15949
# Whether or not to add -lc for building shared libraries.
15950
build_libtool_need_lc=$archive_cmds_need_lc_F77
15952
# Whether or not to disallow shared libs when runtime libs are static
15953
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15955
# Whether or not to optimize for fast installation.
15956
fast_install=$enable_fast_install
15959
host_alias=$host_alias
15963
# The build system.
15964
build_alias=$build_alias
15968
# An echo program that does not interpret backslashes.
15973
AR_FLAGS=$lt_AR_FLAGS
15978
# LTCC compiler flags.
15979
LTCFLAGS=$lt_LTCFLAGS
15981
# A language-specific compiler.
15982
CC=$lt_compiler_F77
15984
# Is the compiler the GNU C compiler?
15990
# The linker used to build libraries.
15993
# Whether we need hard or soft links.
15996
# A BSD-compatible nm program.
15999
# A symbol stripping program
16002
# Used to examine libraries when file_magic_cmd begins "file"
16003
MAGIC_CMD=$MAGIC_CMD
16005
# Used on cygwin: DLL creation program.
16008
# Used on cygwin: object dumper.
16011
# Used on cygwin: assembler.
16014
# The name of the directory that contains temporary libtool files.
16017
# How to create reloadable object files.
16018
reload_flag=$lt_reload_flag
16019
reload_cmds=$lt_reload_cmds
16021
# How to pass a linker flag through the compiler.
16022
wl=$lt_lt_prog_compiler_wl_F77
16024
# Object file suffix (normally "o").
16025
objext="$ac_objext"
16027
# Old archive suffix (normally "a").
16030
# Shared library suffix (normally ".so").
16031
shrext_cmds='$shrext_cmds'
16033
# Executable file suffix (normally "").
16036
# Additional compiler flags for building library objects.
16037
pic_flag=$lt_lt_prog_compiler_pic_F77
16040
# What is the maximum length of a command?
16041
max_cmd_len=$lt_cv_sys_max_cmd_len
16043
# Does compiler simultaneously support -c and -o options?
16044
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16046
# Must we lock files when doing compilation?
16047
need_locks=$lt_need_locks
16049
# Do we need the lib prefix for modules?
16050
need_lib_prefix=$need_lib_prefix
16052
# Do we need a version for libraries?
16053
need_version=$need_version
16055
# Whether dlopen is supported.
16056
dlopen_support=$enable_dlopen
16058
# Whether dlopen of programs is supported.
16059
dlopen_self=$enable_dlopen_self
16061
# Whether dlopen of statically linked programs is supported.
16062
dlopen_self_static=$enable_dlopen_self_static
16064
# Compiler flag to prevent dynamic linking.
16065
link_static_flag=$lt_lt_prog_compiler_static_F77
16067
# Compiler flag to turn off builtin functions.
16068
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16070
# Compiler flag to allow reflexive dlopens.
16071
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16073
# Compiler flag to generate shared objects directly from archives.
16074
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16076
# Compiler flag to generate thread-safe objects.
16077
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16079
# Library versioning type.
16080
version_type=$version_type
16082
# Format of library name prefix.
16083
libname_spec=$lt_libname_spec
16085
# List of archive names. First name is the real one, the rest are links.
16086
# The last name is the one that the linker finds with -lNAME.
16087
library_names_spec=$lt_library_names_spec
16089
# The coded name of the library, if different from the real name.
16090
soname_spec=$lt_soname_spec
16092
# Commands used to build and install an old-style archive.
16094
old_archive_cmds=$lt_old_archive_cmds_F77
16095
old_postinstall_cmds=$lt_old_postinstall_cmds
16096
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16098
# Create an old-style archive from a shared archive.
16099
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16101
# Create a temporary old-style archive to link instead of a shared archive.
16102
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16104
# Commands used to build and install a shared archive.
16105
archive_cmds=$lt_archive_cmds_F77
16106
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16107
postinstall_cmds=$lt_postinstall_cmds
16108
postuninstall_cmds=$lt_postuninstall_cmds
16110
# Commands used to build a loadable module (assumed same as above if empty)
16111
module_cmds=$lt_module_cmds_F77
16112
module_expsym_cmds=$lt_module_expsym_cmds_F77
16114
# Commands to strip libraries.
16115
old_striplib=$lt_old_striplib
16116
striplib=$lt_striplib
16118
# Dependencies to place before the objects being linked to create a
16120
predep_objects=$lt_predep_objects_F77
16122
# Dependencies to place after the objects being linked to create a
16124
postdep_objects=$lt_postdep_objects_F77
16126
# Dependencies to place before the objects being linked to create a
16128
predeps=$lt_predeps_F77
16130
# Dependencies to place after the objects being linked to create a
16132
postdeps=$lt_postdeps_F77
16134
# The library search path used internally by the compiler when linking
16135
# a shared library.
16136
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16138
# Method to check whether dependent libraries are shared objects.
16139
deplibs_check_method=$lt_deplibs_check_method
16141
# Command to use when deplibs_check_method == file_magic.
16142
file_magic_cmd=$lt_file_magic_cmd
16144
# Flag that allows shared libraries with undefined symbols to be built.
16145
allow_undefined_flag=$lt_allow_undefined_flag_F77
16147
# Flag that forces no undefined symbols.
16148
no_undefined_flag=$lt_no_undefined_flag_F77
16150
# Commands used to finish a libtool library installation in a directory.
16151
finish_cmds=$lt_finish_cmds
16153
# Same as above, but a single script fragment to be evaled but not shown.
16154
finish_eval=$lt_finish_eval
16156
# Take the output of nm and produce a listing of raw symbols and C names.
16157
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16159
# Transform the output of nm in a proper C declaration
16160
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16162
# Transform the output of nm in a C name address pair
16163
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16165
# This is the shared library runtime path variable.
16166
runpath_var=$runpath_var
16168
# This is the shared library path variable.
16169
shlibpath_var=$shlibpath_var
16171
# Is shlibpath searched before the hard-coded library search path?
16172
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16174
# How to hardcode a shared library path into an executable.
16175
hardcode_action=$hardcode_action_F77
16177
# Whether we should hardcode library paths into libraries.
16178
hardcode_into_libs=$hardcode_into_libs
16180
# Flag to hardcode \$libdir into a binary during linking.
16181
# This must work even if \$libdir does not exist.
16182
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16184
# If ld is used when linking, flag to hardcode \$libdir into
16185
# a binary during linking. This must work even if \$libdir does
16187
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16189
# Whether we need a single -rpath flag with a separated argument.
16190
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16192
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16193
# resulting binary.
16194
hardcode_direct=$hardcode_direct_F77
16196
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16197
# resulting binary.
16198
hardcode_minus_L=$hardcode_minus_L_F77
16200
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16201
# the resulting binary.
16202
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16204
# Set to yes if building a shared library automatically hardcodes DIR into the library
16205
# and all subsequent libraries and executables linked against it.
16206
hardcode_automatic=$hardcode_automatic_F77
16208
# Variables whose values should be saved in libtool wrapper scripts and
16209
# restored at relink time.
16210
variables_saved_for_relink="$variables_saved_for_relink"
16212
# Whether libtool must link a program against all its dependency libraries.
16213
link_all_deplibs=$link_all_deplibs_F77
16215
# Compile-time system search path for libraries
16216
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16218
# Run-time system search path for libraries
16219
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16221
# Fix the shell variable \$srcfile for the compiler.
16222
fix_srcfile_path=$lt_fix_srcfile_path
16224
# Set to yes if exported symbols are required.
16225
always_export_symbols=$always_export_symbols_F77
16227
# The commands to list exported symbols.
16228
export_symbols_cmds=$lt_export_symbols_cmds_F77
16230
# The commands to extract the exported symbol list from a shared archive.
16231
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16233
# Symbols that should not be listed in the preloaded symbols.
16234
exclude_expsyms=$lt_exclude_expsyms_F77
16236
# Symbols that must always be exported.
16237
include_expsyms=$lt_include_expsyms_F77
16239
# ### END LIBTOOL TAG CONFIG: $tagname
16245
# If there is no Makefile yet, we rely on a make rule to execute
16246
# `config.status --recheck' to rerun these tests and create the
16247
# libtool script then.
16248
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16249
if test -f "$ltmain_in"; then
16250
test -f Makefile && make "$ltmain"
16256
ac_cpp='$CPP $CPPFLAGS'
16257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16272
# Source file extension for Java test sources.
16275
# Object file extension for compiled Java test sources.
16279
# Code to be used in simple compile tests
16280
lt_simple_compile_test_code="class foo {}"
16282
# Code to be used in simple link tests
16283
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16285
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16287
# If no C compiler was specified, use CC.
16290
# If no C compiler flags were specified, use CFLAGS.
16291
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16293
# Allow CC to be a program name with arguments.
16297
# save warnings/boilerplate of simple test code
16298
ac_outfile=conftest.$ac_objext
16299
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16300
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16301
_lt_compiler_boilerplate=`cat conftest.err`
16304
ac_outfile=conftest.$ac_objext
16305
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16306
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16307
_lt_linker_boilerplate=`cat conftest.err`
16311
# Allow CC to be a program name with arguments.
16316
for cc_temp in $compiler""; do
16318
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16319
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16324
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16327
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16328
archive_cmds_need_lc_GCJ=no
16330
old_archive_cmds_GCJ=$old_archive_cmds
16333
lt_prog_compiler_no_builtin_flag_GCJ=
16335
if test "$GCC" = yes; then
16336
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16339
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16340
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16341
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16342
echo $ECHO_N "(cached) $ECHO_C" >&6
16344
lt_cv_prog_compiler_rtti_exceptions=no
16345
ac_outfile=conftest.$ac_objext
16346
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16347
lt_compiler_flag="-fno-rtti -fno-exceptions"
16348
# Insert the option either (1) after the last *FLAGS variable, or
16349
# (2) before a word containing "conftest.", or (3) at the end.
16350
# Note that $ac_compile itself does not contain backslashes and begins
16351
# with a dollar sign (not a hyphen), so the echo should work correctly.
16352
# The option is referenced via a variable to avoid confusing sed.
16353
lt_compile=`echo "$ac_compile" | $SED \
16354
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16355
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16356
-e 's:$: $lt_compiler_flag:'`
16357
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16358
(eval "$lt_compile" 2>conftest.err)
16360
cat conftest.err >&5
16361
echo "$as_me:__oline__: \$? = $ac_status" >&5
16362
if (exit $ac_status) && test -s "$ac_outfile"; then
16363
# The compiler can only warn and ignore the option if not recognized
16364
# So say no if there are warnings other than the usual output.
16365
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16366
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16367
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16368
lt_cv_prog_compiler_rtti_exceptions=yes
16374
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16375
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16377
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16378
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16385
lt_prog_compiler_wl_GCJ=
16386
lt_prog_compiler_pic_GCJ=
16387
lt_prog_compiler_static_GCJ=
16389
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16390
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16392
if test "$GCC" = yes; then
16393
lt_prog_compiler_wl_GCJ='-Wl,'
16394
lt_prog_compiler_static_GCJ='-static'
16398
# All AIX code is PIC.
16399
if test "$host_cpu" = ia64; then
16400
# AIX 5 now supports IA64 processor
16401
lt_prog_compiler_static_GCJ='-Bstatic'
16406
# FIXME: we need at least 68020 code to build shared libraries, but
16407
# adding the `-m68020' flag to GCC prevents building anything better,
16409
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16412
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16413
# PIC is the default for these OSes.
16416
mingw* | cygwin* | pw32* | os2*)
16417
# This hack is so that the source file can tell whether it is being
16418
# built for inclusion in a dll (and should export symbols for example).
16419
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16420
# (--disable-auto-import) libraries
16421
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16424
darwin* | rhapsody*)
16425
# PIC is the default on this platform
16426
# Common symbols not allowed in MH_DYLIB files
16427
lt_prog_compiler_pic_GCJ='-fno-common'
16431
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
16432
# Instead, we relocate shared libraries at runtime.
16436
# Just because we use GCC doesn't mean we suddenly get shared libraries
16437
# on systems that don't support them.
16438
lt_prog_compiler_can_build_shared_GCJ=no
16443
if test -d /usr/nec; then
16444
lt_prog_compiler_pic_GCJ=-Kconform_pic
16449
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16450
# not for PA HP-UX.
16456
lt_prog_compiler_pic_GCJ='-fPIC'
16462
lt_prog_compiler_pic_GCJ='-fPIC'
16466
# PORTME Check for flag to pass linker flags through the system compiler.
16469
lt_prog_compiler_wl_GCJ='-Wl,'
16470
if test "$host_cpu" = ia64; then
16471
# AIX 5 now supports IA64 processor
16472
lt_prog_compiler_static_GCJ='-Bstatic'
16474
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16478
# PIC is the default on this platform
16479
# Common symbols not allowed in MH_DYLIB files
16480
case $cc_basename in
16482
lt_prog_compiler_pic_GCJ='-qnocommon'
16483
lt_prog_compiler_wl_GCJ='-Wl,'
16488
mingw* | cygwin* | pw32* | os2*)
16489
# This hack is so that the source file can tell whether it is being
16490
# built for inclusion in a dll (and should export symbols for example).
16491
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16494
hpux9* | hpux10* | hpux11*)
16495
lt_prog_compiler_wl_GCJ='-Wl,'
16496
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16497
# not for PA HP-UX.
16503
lt_prog_compiler_pic_GCJ='+Z'
16506
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16507
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16510
irix5* | irix6* | nonstopux*)
16511
lt_prog_compiler_wl_GCJ='-Wl,'
16512
# PIC (with -KPIC) is the default.
16513
lt_prog_compiler_static_GCJ='-non_shared'
16517
lt_prog_compiler_pic_GCJ='-KPIC'
16518
lt_prog_compiler_static_GCJ='-Bstatic'
16521
linux* | k*bsd*-gnu)
16522
case $cc_basename in
16524
lt_prog_compiler_wl_GCJ='-Wl,'
16525
lt_prog_compiler_pic_GCJ='-KPIC'
16526
lt_prog_compiler_static_GCJ='-static'
16528
pgcc* | pgf77* | pgf90* | pgf95*)
16529
# Portland Group compilers (*not* the Pentium gcc compiler,
16530
# which looks to be a dead project)
16531
lt_prog_compiler_wl_GCJ='-Wl,'
16532
lt_prog_compiler_pic_GCJ='-fpic'
16533
lt_prog_compiler_static_GCJ='-Bstatic'
16536
lt_prog_compiler_wl_GCJ='-Wl,'
16537
# All Alpha code is PIC.
16538
lt_prog_compiler_static_GCJ='-non_shared'
16541
case `$CC -V 2>&1 | sed 5q` in
16544
lt_prog_compiler_pic_GCJ='-KPIC'
16545
lt_prog_compiler_static_GCJ='-Bstatic'
16546
lt_prog_compiler_wl_GCJ='-Wl,'
16549
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16550
lt_prog_compiler_pic_GCJ='-KPIC'
16551
lt_prog_compiler_static_GCJ='-Bstatic'
16552
lt_prog_compiler_wl_GCJ=''
16559
osf3* | osf4* | osf5*)
16560
lt_prog_compiler_wl_GCJ='-Wl,'
16561
# All OSF/1 code is PIC.
16562
lt_prog_compiler_static_GCJ='-non_shared'
16566
lt_prog_compiler_static_GCJ='-non_shared'
16570
lt_prog_compiler_pic_GCJ='-KPIC'
16571
lt_prog_compiler_static_GCJ='-Bstatic'
16572
case $cc_basename in
16573
f77* | f90* | f95*)
16574
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16576
lt_prog_compiler_wl_GCJ='-Wl,';;
16581
lt_prog_compiler_wl_GCJ='-Qoption ld '
16582
lt_prog_compiler_pic_GCJ='-PIC'
16583
lt_prog_compiler_static_GCJ='-Bstatic'
16586
sysv4 | sysv4.2uw2* | sysv4.3*)
16587
lt_prog_compiler_wl_GCJ='-Wl,'
16588
lt_prog_compiler_pic_GCJ='-KPIC'
16589
lt_prog_compiler_static_GCJ='-Bstatic'
16593
if test -d /usr/nec ;then
16594
lt_prog_compiler_pic_GCJ='-Kconform_pic'
16595
lt_prog_compiler_static_GCJ='-Bstatic'
16599
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16600
lt_prog_compiler_wl_GCJ='-Wl,'
16601
lt_prog_compiler_pic_GCJ='-KPIC'
16602
lt_prog_compiler_static_GCJ='-Bstatic'
16606
lt_prog_compiler_wl_GCJ='-Wl,'
16607
lt_prog_compiler_can_build_shared_GCJ=no
16611
lt_prog_compiler_pic_GCJ='-pic'
16612
lt_prog_compiler_static_GCJ='-Bstatic'
16616
lt_prog_compiler_can_build_shared_GCJ=no
16621
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16622
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16625
# Check to make sure the PIC flag actually works.
16627
if test -n "$lt_prog_compiler_pic_GCJ"; then
16629
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16630
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16631
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16632
echo $ECHO_N "(cached) $ECHO_C" >&6
16634
lt_prog_compiler_pic_works_GCJ=no
16635
ac_outfile=conftest.$ac_objext
16636
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16637
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16638
# Insert the option either (1) after the last *FLAGS variable, or
16639
# (2) before a word containing "conftest.", or (3) at the end.
16640
# Note that $ac_compile itself does not contain backslashes and begins
16641
# with a dollar sign (not a hyphen), so the echo should work correctly.
16642
# The option is referenced via a variable to avoid confusing sed.
16643
lt_compile=`echo "$ac_compile" | $SED \
16644
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16645
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16646
-e 's:$: $lt_compiler_flag:'`
16647
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16648
(eval "$lt_compile" 2>conftest.err)
16650
cat conftest.err >&5
16651
echo "$as_me:__oline__: \$? = $ac_status" >&5
16652
if (exit $ac_status) && test -s "$ac_outfile"; then
16653
# The compiler can only warn and ignore the option if not recognized
16654
# So say no if there are warnings other than the usual output.
16655
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16656
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16657
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16658
lt_prog_compiler_pic_works_GCJ=yes
16664
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16665
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16667
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16668
case $lt_prog_compiler_pic_GCJ in
16670
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16673
lt_prog_compiler_pic_GCJ=
16674
lt_prog_compiler_can_build_shared_GCJ=no
16679
# For platforms which do not support PIC, -DPIC is meaningless:
16681
lt_prog_compiler_pic_GCJ=
16684
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16689
# Check to make sure the static flag actually works.
16691
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16692
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16693
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16694
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16695
echo $ECHO_N "(cached) $ECHO_C" >&6
16697
lt_prog_compiler_static_works_GCJ=no
16698
save_LDFLAGS="$LDFLAGS"
16699
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16700
echo "$lt_simple_link_test_code" > conftest.$ac_ext
16701
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16702
# The linker can only warn and ignore the option if not recognized
16703
# So say no if there are warnings
16704
if test -s conftest.err; then
16705
# Append any errors to the config.log.
16706
cat conftest.err 1>&5
16707
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16708
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16709
if diff conftest.exp conftest.er2 >/dev/null; then
16710
lt_prog_compiler_static_works_GCJ=yes
16713
lt_prog_compiler_static_works_GCJ=yes
16717
LDFLAGS="$save_LDFLAGS"
16720
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16721
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16723
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16726
lt_prog_compiler_static_GCJ=
16730
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16731
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16732
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16733
echo $ECHO_N "(cached) $ECHO_C" >&6
16735
lt_cv_prog_compiler_c_o_GCJ=no
16736
$rm -r conftest 2>/dev/null
16740
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16742
lt_compiler_flag="-o out/conftest2.$ac_objext"
16743
# Insert the option either (1) after the last *FLAGS variable, or
16744
# (2) before a word containing "conftest.", or (3) at the end.
16745
# Note that $ac_compile itself does not contain backslashes and begins
16746
# with a dollar sign (not a hyphen), so the echo should work correctly.
16747
lt_compile=`echo "$ac_compile" | $SED \
16748
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16749
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16750
-e 's:$: $lt_compiler_flag:'`
16751
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16752
(eval "$lt_compile" 2>out/conftest.err)
16754
cat out/conftest.err >&5
16755
echo "$as_me:__oline__: \$? = $ac_status" >&5
16756
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16758
# The compiler can only warn and ignore the option if not recognized
16759
# So say no if there are warnings
16760
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16761
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16762
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16763
lt_cv_prog_compiler_c_o_GCJ=yes
16768
# SGI C++ compiler will create directory out/ii_files/ for
16769
# template instantiation
16770
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16771
$rm out/* && rmdir out
16777
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16778
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16781
hard_links="nottested"
16782
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16783
# do not overwrite the value of need_locks provided by the user
16784
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16785
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16788
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16790
ln conftest.a conftest.b 2>&5 || hard_links=no
16791
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16792
{ echo "$as_me:$LINENO: result: $hard_links" >&5
16793
echo "${ECHO_T}$hard_links" >&6; }
16794
if test "$hard_links" = no; then
16795
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16796
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16803
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16804
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16807
allow_undefined_flag_GCJ=
16808
enable_shared_with_static_runtimes_GCJ=no
16810
archive_expsym_cmds_GCJ=
16811
old_archive_From_new_cmds_GCJ=
16812
old_archive_from_expsyms_cmds_GCJ=
16813
export_dynamic_flag_spec_GCJ=
16814
whole_archive_flag_spec_GCJ=
16815
thread_safe_flag_spec_GCJ=
16816
hardcode_libdir_flag_spec_GCJ=
16817
hardcode_libdir_flag_spec_ld_GCJ=
16818
hardcode_libdir_separator_GCJ=
16819
hardcode_direct_GCJ=no
16820
hardcode_minus_L_GCJ=no
16821
hardcode_shlibpath_var_GCJ=unsupported
16822
link_all_deplibs_GCJ=unknown
16823
hardcode_automatic_GCJ=no
16825
module_expsym_cmds_GCJ=
16826
always_export_symbols_GCJ=no
16827
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16828
# include_expsyms should be a list of space-separated symbols to be *always*
16829
# included in the symbol list
16830
include_expsyms_GCJ=
16831
# exclude_expsyms can be an extended regexp of symbols to exclude
16832
# it will be wrapped by ` (' and `)$', so one must not match beginning or
16833
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16834
# as well as any symbol that contains `d'.
16835
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16836
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16837
# platforms (ab)use it in PIC code, but their linkers get confused if
16838
# the symbol is explicitly referenced. Since portable code cannot
16839
# rely on this symbol name, it's probably fine to never include it in
16840
# preloaded symbol tables.
16841
extract_expsyms_cmds=
16842
# Just being paranoid about ensuring that cc_basename is set.
16843
for cc_temp in $compiler""; do
16845
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16846
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16851
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16854
cygwin* | mingw* | pw32*)
16855
# FIXME: the MSVC++ port hasn't been tested in a loooong time
16856
# When not using gcc, we currently assume that we are using
16857
# Microsoft Visual C++.
16858
if test "$GCC" != yes; then
16863
# we just hope/assume this is gcc and not c89 (= MSVC++)
16872
if test "$with_gnu_ld" = yes; then
16873
# If archive_cmds runs LD, not CC, wlarc should be empty
16876
# Set some defaults for GNU ld with shared library support. These
16877
# are reset later if shared libraries are not supported. Putting them
16878
# here allows them to be overridden if necessary.
16879
runpath_var=LD_RUN_PATH
16880
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16881
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16882
# ancient GNU ld didn't support --whole-archive et. al.
16883
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16884
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16886
whole_archive_flag_spec_GCJ=
16888
supports_anon_versioning=no
16889
case `$LD -v 2>/dev/null` in
16890
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16891
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16892
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16893
*\ 2.11.*) ;; # other 2.11 versions
16894
*) supports_anon_versioning=yes ;;
16897
# See if GNU ld supports shared libraries.
16899
aix3* | aix4* | aix5*)
16900
# On AIX/PPC, the GNU linker is very broken
16901
if test "$host_cpu" != ia64; then
16905
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16906
*** to be unable to reliably create shared libraries on AIX.
16907
*** Therefore, libtool is disabling shared libraries support. If you
16908
*** really care for shared libraries, you may want to modify your PATH
16909
*** so that a non-GNU linker is found, and then restart.
16916
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)'
16917
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16918
hardcode_minus_L_GCJ=yes
16920
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16921
# that the semantics of dynamic libraries on AmigaOS, at least up
16922
# to version 4, is to share data among multiple programs linked
16923
# with the same dynamic library. Since this doesn't match the
16924
# behavior of shared libraries on other platforms, we can't use
16930
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16931
allow_undefined_flag_GCJ=unsupported
16932
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16933
# support --undefined. This deserves some investigation. FIXME
16934
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16940
cygwin* | mingw* | pw32*)
16941
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16942
# as there is no search path for DLLs.
16943
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16944
allow_undefined_flag_GCJ=unsupported
16945
always_export_symbols_GCJ=no
16946
enable_shared_with_static_runtimes_GCJ=yes
16947
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16949
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16950
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16951
# If the export-symbols file already is a .def file (1st line
16952
# is EXPORTS), use it as is; otherwise, prepend...
16953
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16954
cp $export_symbols $output_objdir/$soname.def;
16956
echo EXPORTS > $output_objdir/$soname.def;
16957
cat $export_symbols >> $output_objdir/$soname.def;
16959
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16966
hardcode_direct_GCJ=no
16967
hardcode_shlibpath_var_GCJ=no
16968
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16969
export_dynamic_flag_spec_GCJ='${wl}-E'
16970
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16971
# Instead, shared libraries are loaded at an image base (0x10000000 by
16972
# default) and relocated if they conflict, which is a slow very memory
16973
# consuming and fragmenting process. To avoid this, we pick a random,
16974
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16975
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
16976
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'
16977
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'
16980
gnu* | linux* | k*bsd*-gnu)
16981
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16983
case $cc_basename,$host_cpu in
16984
pgcc*) # Portland Group C compiler
16985
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'
16986
tmp_addflag=' $pic_flag'
16988
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16989
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'
16990
tmp_addflag=' $pic_flag -Mnomain' ;;
16991
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16992
tmp_addflag=' -i_dynamic' ;;
16993
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16994
tmp_addflag=' -i_dynamic -nofor_main' ;;
16995
ifc* | ifort*) # Intel Fortran compiler
16996
tmp_addflag=' -nofor_main' ;;
16998
case `$CC -V 2>&1 | sed 5q` in
16999
*Sun\ C*) # Sun C 5.9
17000
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'
17001
tmp_sharedflag='-G' ;;
17002
*Sun\ F*) # Sun Fortran 8.3
17003
tmp_sharedflag='-G' ;;
17005
tmp_sharedflag='-shared' ;;
17007
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17009
if test $supports_anon_versioning = yes; then
17010
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17011
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17012
$echo "local: *; };" >> $output_objdir/$libname.ver~
17013
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17015
link_all_deplibs_GCJ=no
17021
netbsd* | netbsdelf*-gnu)
17022
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17023
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17026
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17027
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17032
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17036
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17037
*** create shared libraries on Solaris systems. Therefore, libtool
17038
*** is disabling shared libraries support. We urge you to upgrade GNU
17039
*** binutils to release 2.9.1 or newer. Another option is to modify
17040
*** your PATH or compiler configuration so that the native linker is
17041
*** used, and then restart.
17044
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17045
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17046
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17052
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17053
case `$LD -v 2>&1` in
17054
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17058
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17059
*** reliably create shared libraries on SCO systems. Therefore, libtool
17060
*** is disabling shared libraries support. We urge you to upgrade GNU
17061
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17062
*** your PATH or compiler configuration so that the native linker is
17063
*** used, and then restart.
17068
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17069
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17070
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17071
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17080
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17082
hardcode_direct_GCJ=yes
17083
hardcode_shlibpath_var_GCJ=no
17087
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17088
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17089
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17096
if test "$ld_shlibs_GCJ" = no; then
17098
hardcode_libdir_flag_spec_GCJ=
17099
export_dynamic_flag_spec_GCJ=
17100
whole_archive_flag_spec_GCJ=
17103
# PORTME fill in a description of your system's linker (not GNU ld)
17106
allow_undefined_flag_GCJ=unsupported
17107
always_export_symbols_GCJ=yes
17108
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'
17109
# Note: this linker hardcodes the directories in LIBPATH if there
17110
# are no directories specified by -L.
17111
hardcode_minus_L_GCJ=yes
17112
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17113
# Neither direct hardcoding nor static linking is supported with a
17115
hardcode_direct_GCJ=unsupported
17120
if test "$host_cpu" = ia64; then
17121
# On IA64, the linker does run time linking by default, so we don't
17122
# have to do anything special.
17123
aix_use_runtimelinking=no
17124
exp_sym_flag='-Bexport'
17127
# If we're using GNU nm, then we don't want the "-C" option.
17128
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17129
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17130
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'
17132
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'
17134
aix_use_runtimelinking=no
17136
# Test if we are trying to use run time linking or normal
17137
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17138
# need to do runtime linking.
17139
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17140
for ld_flag in $LDFLAGS; do
17141
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17142
aix_use_runtimelinking=yes
17149
exp_sym_flag='-bexport'
17150
no_entry_flag='-bnoentry'
17153
# When large executables or shared objects are built, AIX ld can
17154
# have problems creating the table of contents. If linking a library
17155
# or program results in "error TOC overflow" add -mminimal-toc to
17156
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17157
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17159
archive_cmds_GCJ=''
17160
hardcode_direct_GCJ=yes
17161
hardcode_libdir_separator_GCJ=':'
17162
link_all_deplibs_GCJ=yes
17164
if test "$GCC" = yes; then
17165
case $host_os in aix4.[012]|aix4.[012].*)
17166
# We only want to do this on AIX 4.2 and lower, the check
17167
# below for broken collect2 doesn't work under 4.3+
17168
collect2name=`${CC} -print-prog-name=collect2`
17169
if test -f "$collect2name" && \
17170
strings "$collect2name" | grep resolve_lib_name >/dev/null
17172
# We have reworked collect2
17175
# We have old collect2
17176
hardcode_direct_GCJ=unsupported
17177
# It fails to find uninstalled libraries when the uninstalled
17178
# path is not listed in the libpath. Setting hardcode_minus_L
17179
# to unsupported forces relinking
17180
hardcode_minus_L_GCJ=yes
17181
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17182
hardcode_libdir_separator_GCJ=
17186
shared_flag='-shared'
17187
if test "$aix_use_runtimelinking" = yes; then
17188
shared_flag="$shared_flag "'${wl}-G'
17192
if test "$host_cpu" = ia64; then
17193
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17194
# chokes on -Wl,-G. The following line is correct:
17197
if test "$aix_use_runtimelinking" = yes; then
17198
shared_flag='${wl}-G'
17200
shared_flag='${wl}-bM:SRE'
17205
# It seems that -bexpall does not export symbols beginning with
17206
# underscore (_), so it is better to generate a list of symbols to export.
17207
always_export_symbols_GCJ=yes
17208
if test "$aix_use_runtimelinking" = yes; then
17209
# Warning - without using the other runtime loading flags (-brtl),
17210
# -berok will link without error, but may produce a broken library.
17211
allow_undefined_flag_GCJ='-berok'
17212
# Determine the default libpath from the value encoded in an empty executable.
17213
cat >conftest.$ac_ext <<_ACEOF
17216
cat confdefs.h >>conftest.$ac_ext
17217
cat >>conftest.$ac_ext <<_ACEOF
17218
/* end confdefs.h. */
17228
rm -f conftest.$ac_objext conftest$ac_exeext
17229
if { (ac_try="$ac_link"
17230
case "(($ac_try" in
17231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17232
*) ac_try_echo=$ac_try;;
17234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17235
(eval "$ac_link") 2>conftest.er1
17237
grep -v '^ *+' conftest.er1 >conftest.err
17239
cat conftest.err >&5
17240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241
(exit $ac_status); } && {
17242
test -z "$ac_c_werror_flag" ||
17243
test ! -s conftest.err
17244
} && test -s conftest$ac_exeext &&
17245
$as_test_x conftest$ac_exeext; then
17247
lt_aix_libpath_sed='
17248
/Import File Strings/,/^$/ {
17254
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17255
# Check for a 64-bit object if we didn't find anything.
17256
if test -z "$aix_libpath"; then
17257
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17260
echo "$as_me: failed program was:" >&5
17261
sed 's/^/| /' conftest.$ac_ext >&5
17266
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17267
conftest$ac_exeext conftest.$ac_ext
17268
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17270
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17271
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"
17273
if test "$host_cpu" = ia64; then
17274
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17275
allow_undefined_flag_GCJ="-z nodefs"
17276
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"
17278
# Determine the default libpath from the value encoded in an empty executable.
17279
cat >conftest.$ac_ext <<_ACEOF
17282
cat confdefs.h >>conftest.$ac_ext
17283
cat >>conftest.$ac_ext <<_ACEOF
17284
/* end confdefs.h. */
17294
rm -f conftest.$ac_objext conftest$ac_exeext
17295
if { (ac_try="$ac_link"
17296
case "(($ac_try" in
17297
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17298
*) ac_try_echo=$ac_try;;
17300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17301
(eval "$ac_link") 2>conftest.er1
17303
grep -v '^ *+' conftest.er1 >conftest.err
17305
cat conftest.err >&5
17306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307
(exit $ac_status); } && {
17308
test -z "$ac_c_werror_flag" ||
17309
test ! -s conftest.err
17310
} && test -s conftest$ac_exeext &&
17311
$as_test_x conftest$ac_exeext; then
17313
lt_aix_libpath_sed='
17314
/Import File Strings/,/^$/ {
17320
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17321
# Check for a 64-bit object if we didn't find anything.
17322
if test -z "$aix_libpath"; then
17323
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17326
echo "$as_me: failed program was:" >&5
17327
sed 's/^/| /' conftest.$ac_ext >&5
17332
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17333
conftest$ac_exeext conftest.$ac_ext
17334
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17336
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17337
# Warning - without using the other run time loading flags,
17338
# -berok will link without error, but may produce a broken library.
17339
no_undefined_flag_GCJ=' ${wl}-bernotok'
17340
allow_undefined_flag_GCJ=' ${wl}-berok'
17341
# Exported symbols can be pulled into shared objects from archives
17342
whole_archive_flag_spec_GCJ='$convenience'
17343
archive_cmds_need_lc_GCJ=yes
17344
# This is similar to how AIX traditionally builds its shared libraries.
17345
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'
17351
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)'
17352
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17353
hardcode_minus_L_GCJ=yes
17354
# see comment about different semantics on the GNU ld section
17359
export_dynamic_flag_spec_GCJ=-rdynamic
17362
cygwin* | mingw* | pw32*)
17363
# When not using gcc, we currently assume that we are using
17364
# Microsoft Visual C++.
17365
# hardcode_libdir_flag_spec is actually meaningless, as there is
17366
# no search path for DLLs.
17367
hardcode_libdir_flag_spec_GCJ=' '
17368
allow_undefined_flag_GCJ=unsupported
17369
# Tell ltmain to make .lib files, not .a files.
17371
# Tell ltmain to make .dll files, not .so files.
17373
# FIXME: Setting linknames here is a bad hack.
17374
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17375
# The linker will automatically build a .lib file if we build a DLL.
17376
old_archive_From_new_cmds_GCJ='true'
17377
# FIXME: Should let the user specify the lib program.
17378
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17379
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17380
enable_shared_with_static_runtimes_GCJ=yes
17383
darwin* | rhapsody*)
17385
rhapsody* | darwin1.[012])
17386
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17389
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17390
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17392
case ${MACOSX_DEPLOYMENT_TARGET} in
17394
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17397
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17403
archive_cmds_need_lc_GCJ=no
17404
hardcode_direct_GCJ=no
17405
hardcode_automatic_GCJ=yes
17406
hardcode_shlibpath_var_GCJ=unsupported
17407
whole_archive_flag_spec_GCJ=''
17408
link_all_deplibs_GCJ=yes
17409
if test "$GCC" = yes ; then
17410
output_verbose_link_cmd='echo'
17411
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17412
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17413
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17414
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}'
17415
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}'
17417
case $cc_basename in
17419
output_verbose_link_cmd='echo'
17420
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17421
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17422
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17423
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}'
17424
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}'
17434
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17435
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17436
hardcode_shlibpath_var_GCJ=no
17443
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17444
# support. Future versions do this automatically, but an explicit c++rt0.o
17445
# does not break anything, and helps significantly (at the cost of a little
17448
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17449
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17450
hardcode_direct_GCJ=yes
17451
hardcode_shlibpath_var_GCJ=no
17454
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17456
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17457
hardcode_direct_GCJ=yes
17458
hardcode_minus_L_GCJ=yes
17459
hardcode_shlibpath_var_GCJ=no
17462
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17463
freebsd* | dragonfly*)
17464
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17465
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17466
hardcode_direct_GCJ=yes
17467
hardcode_shlibpath_var_GCJ=no
17471
if test "$GCC" = yes; then
17472
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'
17474
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'
17476
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17477
hardcode_libdir_separator_GCJ=:
17478
hardcode_direct_GCJ=yes
17480
# hardcode_minus_L: Not really in the search PATH,
17481
# but as the default location of the library.
17482
hardcode_minus_L_GCJ=yes
17483
export_dynamic_flag_spec_GCJ='${wl}-E'
17487
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17488
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17490
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17492
if test "$with_gnu_ld" = no; then
17493
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17494
hardcode_libdir_separator_GCJ=:
17496
hardcode_direct_GCJ=yes
17497
export_dynamic_flag_spec_GCJ='${wl}-E'
17499
# hardcode_minus_L: Not really in the search PATH,
17500
# but as the default location of the library.
17501
hardcode_minus_L_GCJ=yes
17506
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17509
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17512
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17515
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17521
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17524
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17527
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17531
if test "$with_gnu_ld" = no; then
17532
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17533
hardcode_libdir_separator_GCJ=:
17537
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17538
hardcode_direct_GCJ=no
17539
hardcode_shlibpath_var_GCJ=no
17542
hardcode_direct_GCJ=yes
17543
export_dynamic_flag_spec_GCJ='${wl}-E'
17545
# hardcode_minus_L: Not really in the search PATH,
17546
# but as the default location of the library.
17547
hardcode_minus_L_GCJ=yes
17553
irix5* | irix6* | nonstopux*)
17554
if test "$GCC" = yes; then
17555
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'
17557
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'
17558
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17560
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17561
hardcode_libdir_separator_GCJ=:
17562
link_all_deplibs_GCJ=yes
17565
netbsd* | netbsdelf*-gnu)
17566
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17567
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17569
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17571
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17572
hardcode_direct_GCJ=yes
17573
hardcode_shlibpath_var_GCJ=no
17577
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17578
hardcode_direct_GCJ=yes
17579
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17580
hardcode_libdir_separator_GCJ=:
17581
hardcode_shlibpath_var_GCJ=no
17585
if test -f /usr/libexec/ld.so; then
17586
hardcode_direct_GCJ=yes
17587
hardcode_shlibpath_var_GCJ=no
17588
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17589
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17590
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17591
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17592
export_dynamic_flag_spec_GCJ='${wl}-E'
17595
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17596
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17597
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17600
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17601
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17611
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17612
hardcode_minus_L_GCJ=yes
17613
allow_undefined_flag_GCJ=unsupported
17614
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'
17615
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17619
if test "$GCC" = yes; then
17620
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17621
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'
17623
allow_undefined_flag_GCJ=' -expect_unresolved \*'
17624
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'
17626
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17627
hardcode_libdir_separator_GCJ=:
17630
osf4* | osf5*) # as osf3* with the addition of -msym flag
17631
if test "$GCC" = yes; then
17632
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17633
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'
17634
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17636
allow_undefined_flag_GCJ=' -expect_unresolved \*'
17637
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'
17638
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~
17639
$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'
17641
# Both c and cxx compiler support -rpath directly
17642
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17644
hardcode_libdir_separator_GCJ=:
17648
no_undefined_flag_GCJ=' -z text'
17649
if test "$GCC" = yes; then
17651
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17652
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17653
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17656
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17657
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17658
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17660
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17661
hardcode_shlibpath_var_GCJ=no
17663
solaris2.[0-5] | solaris2.[0-5].*) ;;
17665
# The compiler driver will combine and reorder linker options,
17666
# but understands `-z linker_flag'. GCC discards it without `$wl',
17667
# but is careful enough not to reorder.
17668
# Supported since Solaris 2.6 (maybe 2.5.1?)
17669
if test "$GCC" = yes; then
17670
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17672
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
17676
link_all_deplibs_GCJ=yes
17680
if test "x$host_vendor" = xsequent; then
17681
# Use $CC to link under sequent, because it throws in some extra .o
17682
# files that make .init and .fini sections work.
17683
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17685
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17687
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17688
hardcode_direct_GCJ=yes
17689
hardcode_minus_L_GCJ=yes
17690
hardcode_shlibpath_var_GCJ=no
17694
case $host_vendor in
17696
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17697
hardcode_direct_GCJ=yes # is this really true???
17700
## LD is ld it makes a PLAMLIB
17701
## CC just makes a GrossModule.
17702
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17703
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17704
hardcode_direct_GCJ=no
17707
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17708
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17711
runpath_var='LD_RUN_PATH'
17712
hardcode_shlibpath_var_GCJ=no
17716
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17717
hardcode_shlibpath_var_GCJ=no
17718
export_dynamic_flag_spec_GCJ='-Bexport'
17722
if test -d /usr/nec; then
17723
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17724
hardcode_shlibpath_var_GCJ=no
17725
runpath_var=LD_RUN_PATH
17726
hardcode_runpath_var=yes
17731
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17732
no_undefined_flag_GCJ='${wl}-z,text'
17733
archive_cmds_need_lc_GCJ=no
17734
hardcode_shlibpath_var_GCJ=no
17735
runpath_var='LD_RUN_PATH'
17737
if test "$GCC" = yes; then
17738
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17739
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17741
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17742
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17746
sysv5* | sco3.2v5* | sco5v6*)
17747
# Note: We can NOT use -z defs as we might desire, because we do not
17748
# link with -lc, and that would cause any symbols used from libc to
17749
# always be unresolved, which means just about no library would
17750
# ever link correctly. If we're not using GNU ld we use -z text
17751
# though, which does catch some bad symbols but isn't as heavy-handed
17753
no_undefined_flag_GCJ='${wl}-z,text'
17754
allow_undefined_flag_GCJ='${wl}-z,nodefs'
17755
archive_cmds_need_lc_GCJ=no
17756
hardcode_shlibpath_var_GCJ=no
17757
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17758
hardcode_libdir_separator_GCJ=':'
17759
link_all_deplibs_GCJ=yes
17760
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17761
runpath_var='LD_RUN_PATH'
17763
if test "$GCC" = yes; then
17764
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17765
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17767
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17768
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17773
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17774
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17775
hardcode_shlibpath_var_GCJ=no
17784
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17785
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17786
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17789
# Do we need to explicitly link libc?
17791
case "x$archive_cmds_need_lc_GCJ" in
17793
# Assume -lc should be added
17794
archive_cmds_need_lc_GCJ=yes
17796
if test "$enable_shared" = yes && test "$GCC" = yes; then
17797
case $archive_cmds_GCJ in
17799
# FIXME: we may have to deal with multi-command sequences.
17802
# Test whether the compiler implicitly links with -lc since on some
17803
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17804
# to ld, don't add -lc before -lgcc.
17805
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17806
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17808
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17810
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811
(eval $ac_compile) 2>&5
17813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814
(exit $ac_status); } 2>conftest.err; then
17817
libobjs=conftest.$ac_objext
17819
wl=$lt_prog_compiler_wl_GCJ
17820
pic_flag=$lt_prog_compiler_pic_GCJ
17826
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17827
allow_undefined_flag_GCJ=
17828
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17829
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832
(exit $ac_status); }
17834
archive_cmds_need_lc_GCJ=no
17836
archive_cmds_need_lc_GCJ=yes
17838
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17840
cat conftest.err 1>&5
17843
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17844
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17851
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17852
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17853
library_names_spec=
17854
libname_spec='lib$name'
17858
postuninstall_cmds=
17862
shlibpath_overrides_runpath=unknown
17864
dynamic_linker="$host_os ld.so"
17865
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17867
need_lib_prefix=unknown
17868
hardcode_into_libs=no
17870
# when you set need_version to no, make sure it does not cause -set_version
17871
# flags to be left without arguments
17872
need_version=unknown
17877
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17878
shlibpath_var=LIBPATH
17880
# AIX 3 has no versioning support, so we append a major version to the name.
17881
soname_spec='${libname}${release}${shared_ext}$major'
17888
hardcode_into_libs=yes
17889
if test "$host_cpu" = ia64; then
17890
# AIX 5 supports IA64
17891
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17892
shlibpath_var=LD_LIBRARY_PATH
17894
# With GCC up to 2.95.x, collect2 would create an import file
17895
# for dependence libraries. The import file would start with
17896
# the line `#! .'. This would cause the generated library to
17897
# depend on `.', always an invalid library. This was fixed in
17898
# development snapshots of GCC prior to 3.0.
17900
aix4 | aix4.[01] | aix4.[01].*)
17901
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17903
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17906
can_build_shared=no
17910
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17911
# soname into executable. Probably we can add versioning support to
17912
# collect2, so additional links can be useful in future.
17913
if test "$aix_use_runtimelinking" = yes; then
17914
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
17915
# instead of lib<name>.a to let people know that these are not
17916
# typical AIX shared libraries.
17917
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17919
# We preserve .a as extension for shared libraries through AIX4.2
17920
# and later when we are not doing run time linking.
17921
library_names_spec='${libname}${release}.a $libname.a'
17922
soname_spec='${libname}${release}${shared_ext}$major'
17924
shlibpath_var=LIBPATH
17929
library_names_spec='$libname.ixlibrary $libname.a'
17930
# Create ${libname}_ixlibrary.a entries in /sys/libs.
17931
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'
17935
library_names_spec='${libname}${shared_ext}'
17936
dynamic_linker="$host_os ld.so"
17937
shlibpath_var=LIBRARY_PATH
17943
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17944
soname_spec='${libname}${release}${shared_ext}$major'
17945
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17946
shlibpath_var=LD_LIBRARY_PATH
17947
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17948
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17949
# the default ld.so.conf also contains /usr/contrib/lib and
17950
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17951
# libtool to hard-code these into programs
17954
cygwin* | mingw* | pw32*)
17955
version_type=windows
17960
case $GCC,$host_os in
17961
yes,cygwin* | yes,mingw* | yes,pw32*)
17962
library_names_spec='$libname.dll.a'
17963
# DLL is installed to $(libdir)/../bin by postinstall_cmds
17964
postinstall_cmds='base_file=`basename \${file}`~
17965
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17966
dldir=$destdir/`dirname \$dlpath`~
17967
test -d \$dldir || mkdir -p \$dldir~
17968
$install_prog $dir/$dlname \$dldir/$dlname~
17969
chmod a+x \$dldir/$dlname'
17970
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17971
dlpath=$dir/\$dldll~
17973
shlibpath_overrides_runpath=yes
17977
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
17978
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17979
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17982
# MinGW DLLs use traditional 'lib' prefix
17983
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17984
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17985
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17986
# It is most probably a Windows format PATH printed by
17987
# mingw gcc, but we are running on Cygwin. Gcc prints its search
17988
# path with ; separators, and with drive letters. We can handle the
17989
# drive letters (cygwin fileutils understands them), so leave them,
17990
# especially as we might pass files found there to a mingw objdump,
17991
# which wouldn't understand a cygwinified path. Ahh.
17992
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17994
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17998
# pw32 DLLs use 'pw' prefix rather than 'lib'
17999
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18005
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18008
dynamic_linker='Win32 ld.exe'
18009
# FIXME: first we should search . and the directory the executable is in
18013
darwin* | rhapsody*)
18014
dynamic_linker="$host_os dyld"
18015
version_type=darwin
18018
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18019
soname_spec='${libname}${release}${major}$shared_ext'
18020
shlibpath_overrides_runpath=yes
18021
shlibpath_var=DYLD_LIBRARY_PATH
18022
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18024
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18031
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18032
soname_spec='${libname}${release}${shared_ext}$major'
18033
shlibpath_var=LD_LIBRARY_PATH
18040
freebsd* | dragonfly*)
18041
# DragonFly does not have aout. When/if they implement a new
18042
# versioning mechanism, adjust this.
18043
if test -x /usr/bin/objformat; then
18044
objformat=`/usr/bin/objformat`
18047
freebsd[123]*) objformat=aout ;;
18048
*) objformat=elf ;;
18051
version_type=freebsd-$objformat
18052
case $version_type in
18054
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18059
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18063
shlibpath_var=LD_LIBRARY_PATH
18066
shlibpath_overrides_runpath=yes
18068
freebsd3.[01]* | freebsdelf3.[01]*)
18069
shlibpath_overrides_runpath=yes
18070
hardcode_into_libs=yes
18072
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18073
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18074
shlibpath_overrides_runpath=no
18075
hardcode_into_libs=yes
18077
*) # from 4.6 on, and DragonFly
18078
shlibpath_overrides_runpath=yes
18079
hardcode_into_libs=yes
18088
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18089
soname_spec='${libname}${release}${shared_ext}$major'
18090
shlibpath_var=LD_LIBRARY_PATH
18091
hardcode_into_libs=yes
18094
hpux9* | hpux10* | hpux11*)
18095
# Give a soname corresponding to the major version so that dld.sl refuses to
18096
# link against other versions.
18103
hardcode_into_libs=yes
18104
dynamic_linker="$host_os dld.so"
18105
shlibpath_var=LD_LIBRARY_PATH
18106
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18107
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18108
soname_spec='${libname}${release}${shared_ext}$major'
18109
if test "X$HPUX_IA64_MODE" = X32; then
18110
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18112
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18114
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18118
hardcode_into_libs=yes
18119
dynamic_linker="$host_os dld.sl"
18120
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18121
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18122
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18123
soname_spec='${libname}${release}${shared_ext}$major'
18124
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18125
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18129
dynamic_linker="$host_os dld.sl"
18130
shlibpath_var=SHLIB_PATH
18131
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18132
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18133
soname_spec='${libname}${release}${shared_ext}$major'
18136
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18137
postinstall_cmds='chmod 555 $lib'
18144
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18145
soname_spec='${libname}${release}${shared_ext}$major'
18146
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18147
shlibpath_var=LD_LIBRARY_PATH
18148
shlibpath_overrides_runpath=no
18149
hardcode_into_libs=yes
18152
irix5* | irix6* | nonstopux*)
18154
nonstopux*) version_type=nonstopux ;;
18156
if test "$lt_cv_prog_gnu_ld" = yes; then
18164
soname_spec='${libname}${release}${shared_ext}$major'
18165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18167
irix5* | nonstopux*)
18168
libsuff= shlibsuff=
18171
case $LD in # libtool.m4 will add one of these switches to LD
18172
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18173
libsuff= shlibsuff= libmagic=32-bit;;
18174
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18175
libsuff=32 shlibsuff=N32 libmagic=N32;;
18176
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18177
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18178
*) libsuff= shlibsuff= libmagic=never-match;;
18182
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18183
shlibpath_overrides_runpath=no
18184
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18185
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18186
hardcode_into_libs=yes
18189
# No shared lib support for Linux oldld, aout, or coff.
18190
linux*oldld* | linux*aout* | linux*coff*)
18194
# This must be Linux ELF.
18195
linux* | k*bsd*-gnu)
18199
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18200
soname_spec='${libname}${release}${shared_ext}$major'
18201
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18202
shlibpath_var=LD_LIBRARY_PATH
18203
shlibpath_overrides_runpath=no
18204
# This implies no fast_install, which is unacceptable.
18205
# Some rework will be needed to allow for fast_install
18206
# before this can be enabled.
18207
hardcode_into_libs=yes
18209
# Append ld.so.conf contents to the search path
18210
if test -f /etc/ld.so.conf; then
18211
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' ' '`
18212
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18215
# We used to test for /lib/ld.so.1 and disable shared libraries on
18216
# powerpc, because MkLinux only supported shared libraries with the
18217
# GNU dynamic linker. Since this was broken with cross compilers,
18218
# most powerpc-linux boxes support dynamic linking these days and
18219
# people can always --disable-shared, the test was removed, and we
18220
# assume the GNU/Linux dynamic linker is in use.
18221
dynamic_linker='GNU/Linux ld.so'
18228
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18229
soname_spec='${libname}${release}${shared_ext}$major'
18230
shlibpath_var=LD_LIBRARY_PATH
18231
shlibpath_overrides_runpath=no
18232
hardcode_into_libs=yes
18233
dynamic_linker='NetBSD ld.elf_so'
18240
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18241
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18242
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18243
dynamic_linker='NetBSD (a.out) ld.so'
18245
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18246
soname_spec='${libname}${release}${shared_ext}$major'
18247
dynamic_linker='NetBSD ld.elf_so'
18249
shlibpath_var=LD_LIBRARY_PATH
18250
shlibpath_overrides_runpath=yes
18251
hardcode_into_libs=yes
18256
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18257
shlibpath_var=LD_LIBRARY_PATH
18258
shlibpath_overrides_runpath=yes
18265
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18266
soname_spec='${libname}${release}${shared_ext}$major'
18267
shlibpath_var=LD_LIBRARY_PATH
18268
shlibpath_overrides_runpath=yes
18273
sys_lib_dlsearch_path_spec="/usr/lib"
18275
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18277
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18278
*) need_version=no ;;
18280
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18281
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18282
shlibpath_var=LD_LIBRARY_PATH
18283
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18285
openbsd2.[89] | openbsd2.[89].*)
18286
shlibpath_overrides_runpath=no
18289
shlibpath_overrides_runpath=yes
18293
shlibpath_overrides_runpath=yes
18298
libname_spec='$name'
18301
library_names_spec='$libname${shared_ext} $libname.a'
18302
dynamic_linker='OS/2 ld.exe'
18303
shlibpath_var=LIBPATH
18306
osf3* | osf4* | osf5*)
18310
soname_spec='${libname}${release}${shared_ext}$major'
18311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312
shlibpath_var=LD_LIBRARY_PATH
18313
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18314
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18325
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18326
soname_spec='${libname}${release}${shared_ext}$major'
18327
shlibpath_var=LD_LIBRARY_PATH
18328
shlibpath_overrides_runpath=yes
18329
hardcode_into_libs=yes
18330
# ldd complains unless libraries are executable
18331
postinstall_cmds='chmod +x $lib'
18336
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18337
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18338
shlibpath_var=LD_LIBRARY_PATH
18339
shlibpath_overrides_runpath=yes
18340
if test "$with_gnu_ld" = yes; then
18348
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18349
soname_spec='${libname}${release}${shared_ext}$major'
18350
shlibpath_var=LD_LIBRARY_PATH
18351
case $host_vendor in
18353
shlibpath_overrides_runpath=no
18355
export_dynamic_flag_spec='${wl}-Blargedynsym'
18356
runpath_var=LD_RUN_PATH
18364
shlibpath_overrides_runpath=no
18365
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18371
if test -d /usr/nec ;then
18373
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18374
soname_spec='$libname${shared_ext}.$major'
18375
shlibpath_var=LD_LIBRARY_PATH
18379
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18380
version_type=freebsd-elf
18383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18384
soname_spec='${libname}${release}${shared_ext}$major'
18385
shlibpath_var=LD_LIBRARY_PATH
18386
hardcode_into_libs=yes
18387
if test "$with_gnu_ld" = yes; then
18388
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18389
shlibpath_overrides_runpath=no
18391
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18392
shlibpath_overrides_runpath=yes
18395
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18399
sys_lib_dlsearch_path_spec='/usr/lib'
18404
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18405
soname_spec='${libname}${release}${shared_ext}$major'
18406
shlibpath_var=LD_LIBRARY_PATH
18413
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18414
echo "${ECHO_T}$dynamic_linker" >&6; }
18415
test "$dynamic_linker" = no && can_build_shared=no
18417
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18418
if test "$GCC" = yes; then
18419
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18422
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18423
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18424
hardcode_action_GCJ=
18425
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18426
test -n "$runpath_var_GCJ" || \
18427
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18429
# We can hardcode non-existant directories.
18430
if test "$hardcode_direct_GCJ" != no &&
18431
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18432
# have to relink, otherwise we might link with an installed library
18433
# when we should be linking with a yet-to-be-installed one
18434
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18435
test "$hardcode_minus_L_GCJ" != no; then
18436
# Linking always hardcodes the temporary library directory.
18437
hardcode_action_GCJ=relink
18439
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18440
hardcode_action_GCJ=immediate
18443
# We cannot hardcode anything, or else we can only hardcode existing
18445
hardcode_action_GCJ=unsupported
18447
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18448
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18450
if test "$hardcode_action_GCJ" = relink; then
18451
# Fast installation is not supported
18452
enable_fast_install=no
18453
elif test "$shlibpath_overrides_runpath" = yes ||
18454
test "$enable_shared" = no; then
18455
# Fast installation is not necessary
18456
enable_fast_install=needless
18460
# The else clause should only fire when bootstrapping the
18461
# libtool distribution, otherwise you forgot to ship ltmain.sh
18462
# with your package, and you will get complaints that there are
18463
# no rules to generate ltmain.sh.
18464
if test -f "$ltmain"; then
18465
# See if we are running on zsh, and set the options which allow our commands through
18466
# without removal of \ escapes.
18467
if test -n "${ZSH_VERSION+set}" ; then
18468
setopt NO_GLOB_SUBST
18470
# Now quote all the things that may contain metacharacters while being
18471
# careful not to overquote the AC_SUBSTed values. We take copies of the
18472
# variables and quote the copies for generation of the libtool script.
18473
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18475
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18476
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18477
deplibs_check_method reload_flag reload_cmds need_locks \
18478
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18479
lt_cv_sys_global_symbol_to_c_name_address \
18480
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18481
old_postinstall_cmds old_postuninstall_cmds \
18485
lt_prog_compiler_wl_GCJ \
18486
lt_prog_compiler_pic_GCJ \
18487
lt_prog_compiler_static_GCJ \
18488
lt_prog_compiler_no_builtin_flag_GCJ \
18489
export_dynamic_flag_spec_GCJ \
18490
thread_safe_flag_spec_GCJ \
18491
whole_archive_flag_spec_GCJ \
18492
enable_shared_with_static_runtimes_GCJ \
18493
old_archive_cmds_GCJ \
18494
old_archive_from_new_cmds_GCJ \
18495
predep_objects_GCJ \
18496
postdep_objects_GCJ \
18499
compiler_lib_search_path_GCJ \
18501
archive_expsym_cmds_GCJ \
18502
postinstall_cmds_GCJ \
18503
postuninstall_cmds_GCJ \
18504
old_archive_from_expsyms_cmds_GCJ \
18505
allow_undefined_flag_GCJ \
18506
no_undefined_flag_GCJ \
18507
export_symbols_cmds_GCJ \
18508
hardcode_libdir_flag_spec_GCJ \
18509
hardcode_libdir_flag_spec_ld_GCJ \
18510
hardcode_libdir_separator_GCJ \
18511
hardcode_automatic_GCJ \
18513
module_expsym_cmds_GCJ \
18514
lt_cv_prog_compiler_c_o_GCJ \
18515
fix_srcfile_path_GCJ \
18516
exclude_expsyms_GCJ \
18517
include_expsyms_GCJ; do
18520
old_archive_cmds_GCJ | \
18521
old_archive_from_new_cmds_GCJ | \
18522
archive_cmds_GCJ | \
18523
archive_expsym_cmds_GCJ | \
18524
module_cmds_GCJ | \
18525
module_expsym_cmds_GCJ | \
18526
old_archive_from_expsyms_cmds_GCJ | \
18527
export_symbols_cmds_GCJ | \
18528
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18529
postinstall_cmds | postuninstall_cmds | \
18530
old_postinstall_cmds | old_postuninstall_cmds | \
18531
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18532
# Double-quote double-evaled strings.
18533
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18536
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18542
*'\$0 --fallback-echo"')
18543
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18549
cat <<__EOF__ >> "$cfgfile"
18550
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18552
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18554
# Shell to use when invoking shell scripts.
18557
# Whether or not to build shared libraries.
18558
build_libtool_libs=$enable_shared
18560
# Whether or not to build static libraries.
18561
build_old_libs=$enable_static
18563
# Whether or not to add -lc for building shared libraries.
18564
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18566
# Whether or not to disallow shared libs when runtime libs are static
18567
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18569
# Whether or not to optimize for fast installation.
18570
fast_install=$enable_fast_install
18573
host_alias=$host_alias
18577
# The build system.
18578
build_alias=$build_alias
18582
# An echo program that does not interpret backslashes.
18587
AR_FLAGS=$lt_AR_FLAGS
18592
# LTCC compiler flags.
18593
LTCFLAGS=$lt_LTCFLAGS
18595
# A language-specific compiler.
18596
CC=$lt_compiler_GCJ
18598
# Is the compiler the GNU C compiler?
18604
# The linker used to build libraries.
18607
# Whether we need hard or soft links.
18610
# A BSD-compatible nm program.
18613
# A symbol stripping program
18616
# Used to examine libraries when file_magic_cmd begins "file"
18617
MAGIC_CMD=$MAGIC_CMD
18619
# Used on cygwin: DLL creation program.
18622
# Used on cygwin: object dumper.
18625
# Used on cygwin: assembler.
18628
# The name of the directory that contains temporary libtool files.
18631
# How to create reloadable object files.
18632
reload_flag=$lt_reload_flag
18633
reload_cmds=$lt_reload_cmds
18635
# How to pass a linker flag through the compiler.
18636
wl=$lt_lt_prog_compiler_wl_GCJ
18638
# Object file suffix (normally "o").
18639
objext="$ac_objext"
18641
# Old archive suffix (normally "a").
18644
# Shared library suffix (normally ".so").
18645
shrext_cmds='$shrext_cmds'
18647
# Executable file suffix (normally "").
18650
# Additional compiler flags for building library objects.
18651
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18654
# What is the maximum length of a command?
18655
max_cmd_len=$lt_cv_sys_max_cmd_len
18657
# Does compiler simultaneously support -c and -o options?
18658
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18660
# Must we lock files when doing compilation?
18661
need_locks=$lt_need_locks
18663
# Do we need the lib prefix for modules?
18664
need_lib_prefix=$need_lib_prefix
18666
# Do we need a version for libraries?
18667
need_version=$need_version
18669
# Whether dlopen is supported.
18670
dlopen_support=$enable_dlopen
18672
# Whether dlopen of programs is supported.
18673
dlopen_self=$enable_dlopen_self
18675
# Whether dlopen of statically linked programs is supported.
18676
dlopen_self_static=$enable_dlopen_self_static
18678
# Compiler flag to prevent dynamic linking.
18679
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18681
# Compiler flag to turn off builtin functions.
18682
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18684
# Compiler flag to allow reflexive dlopens.
18685
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18687
# Compiler flag to generate shared objects directly from archives.
18688
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18690
# Compiler flag to generate thread-safe objects.
18691
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18693
# Library versioning type.
18694
version_type=$version_type
18696
# Format of library name prefix.
18697
libname_spec=$lt_libname_spec
18699
# List of archive names. First name is the real one, the rest are links.
18700
# The last name is the one that the linker finds with -lNAME.
18701
library_names_spec=$lt_library_names_spec
18703
# The coded name of the library, if different from the real name.
18704
soname_spec=$lt_soname_spec
18706
# Commands used to build and install an old-style archive.
18708
old_archive_cmds=$lt_old_archive_cmds_GCJ
18709
old_postinstall_cmds=$lt_old_postinstall_cmds
18710
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18712
# Create an old-style archive from a shared archive.
18713
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18715
# Create a temporary old-style archive to link instead of a shared archive.
18716
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18718
# Commands used to build and install a shared archive.
18719
archive_cmds=$lt_archive_cmds_GCJ
18720
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18721
postinstall_cmds=$lt_postinstall_cmds
18722
postuninstall_cmds=$lt_postuninstall_cmds
18724
# Commands used to build a loadable module (assumed same as above if empty)
18725
module_cmds=$lt_module_cmds_GCJ
18726
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18728
# Commands to strip libraries.
18729
old_striplib=$lt_old_striplib
18730
striplib=$lt_striplib
18732
# Dependencies to place before the objects being linked to create a
18734
predep_objects=$lt_predep_objects_GCJ
18736
# Dependencies to place after the objects being linked to create a
18738
postdep_objects=$lt_postdep_objects_GCJ
18740
# Dependencies to place before the objects being linked to create a
18742
predeps=$lt_predeps_GCJ
18744
# Dependencies to place after the objects being linked to create a
18746
postdeps=$lt_postdeps_GCJ
18748
# The library search path used internally by the compiler when linking
18749
# a shared library.
18750
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18752
# Method to check whether dependent libraries are shared objects.
18753
deplibs_check_method=$lt_deplibs_check_method
18755
# Command to use when deplibs_check_method == file_magic.
18756
file_magic_cmd=$lt_file_magic_cmd
18758
# Flag that allows shared libraries with undefined symbols to be built.
18759
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18761
# Flag that forces no undefined symbols.
18762
no_undefined_flag=$lt_no_undefined_flag_GCJ
18764
# Commands used to finish a libtool library installation in a directory.
18765
finish_cmds=$lt_finish_cmds
18767
# Same as above, but a single script fragment to be evaled but not shown.
18768
finish_eval=$lt_finish_eval
18770
# Take the output of nm and produce a listing of raw symbols and C names.
18771
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18773
# Transform the output of nm in a proper C declaration
18774
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18776
# Transform the output of nm in a C name address pair
18777
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18779
# This is the shared library runtime path variable.
18780
runpath_var=$runpath_var
18782
# This is the shared library path variable.
18783
shlibpath_var=$shlibpath_var
18785
# Is shlibpath searched before the hard-coded library search path?
18786
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18788
# How to hardcode a shared library path into an executable.
18789
hardcode_action=$hardcode_action_GCJ
18791
# Whether we should hardcode library paths into libraries.
18792
hardcode_into_libs=$hardcode_into_libs
18794
# Flag to hardcode \$libdir into a binary during linking.
18795
# This must work even if \$libdir does not exist.
18796
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18798
# If ld is used when linking, flag to hardcode \$libdir into
18799
# a binary during linking. This must work even if \$libdir does
18801
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18803
# Whether we need a single -rpath flag with a separated argument.
18804
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18806
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18807
# resulting binary.
18808
hardcode_direct=$hardcode_direct_GCJ
18810
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18811
# resulting binary.
18812
hardcode_minus_L=$hardcode_minus_L_GCJ
18814
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18815
# the resulting binary.
18816
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18818
# Set to yes if building a shared library automatically hardcodes DIR into the library
18819
# and all subsequent libraries and executables linked against it.
18820
hardcode_automatic=$hardcode_automatic_GCJ
18822
# Variables whose values should be saved in libtool wrapper scripts and
18823
# restored at relink time.
18824
variables_saved_for_relink="$variables_saved_for_relink"
18826
# Whether libtool must link a program against all its dependency libraries.
18827
link_all_deplibs=$link_all_deplibs_GCJ
18829
# Compile-time system search path for libraries
18830
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18832
# Run-time system search path for libraries
18833
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18835
# Fix the shell variable \$srcfile for the compiler.
18836
fix_srcfile_path=$lt_fix_srcfile_path
18838
# Set to yes if exported symbols are required.
18839
always_export_symbols=$always_export_symbols_GCJ
18841
# The commands to list exported symbols.
18842
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18844
# The commands to extract the exported symbol list from a shared archive.
18845
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18847
# Symbols that should not be listed in the preloaded symbols.
18848
exclude_expsyms=$lt_exclude_expsyms_GCJ
18850
# Symbols that must always be exported.
18851
include_expsyms=$lt_include_expsyms_GCJ
18853
# ### END LIBTOOL TAG CONFIG: $tagname
18859
# If there is no Makefile yet, we rely on a make rule to execute
18860
# `config.status --recheck' to rerun these tests and create the
18861
# libtool script then.
18862
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18863
if test -f "$ltmain_in"; then
18864
test -f Makefile && make "$ltmain"
18870
ac_cpp='$CPP $CPPFLAGS'
18871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18885
# Source file extension for RC test sources.
18888
# Object file extension for compiled RC test sources.
18892
# Code to be used in simple compile tests
18893
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18895
# Code to be used in simple link tests
18896
lt_simple_link_test_code="$lt_simple_compile_test_code"
18898
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18900
# If no C compiler was specified, use CC.
18903
# If no C compiler flags were specified, use CFLAGS.
18904
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18906
# Allow CC to be a program name with arguments.
18910
# save warnings/boilerplate of simple test code
18911
ac_outfile=conftest.$ac_objext
18912
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18913
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18914
_lt_compiler_boilerplate=`cat conftest.err`
18917
ac_outfile=conftest.$ac_objext
18918
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18919
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18920
_lt_linker_boilerplate=`cat conftest.err`
18924
# Allow CC to be a program name with arguments.
18929
for cc_temp in $compiler""; do
18931
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18932
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18937
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18939
lt_cv_prog_compiler_c_o_RC=yes
18941
# The else clause should only fire when bootstrapping the
18942
# libtool distribution, otherwise you forgot to ship ltmain.sh
18943
# with your package, and you will get complaints that there are
18944
# no rules to generate ltmain.sh.
18945
if test -f "$ltmain"; then
18946
# See if we are running on zsh, and set the options which allow our commands through
18947
# without removal of \ escapes.
18948
if test -n "${ZSH_VERSION+set}" ; then
18949
setopt NO_GLOB_SUBST
18951
# Now quote all the things that may contain metacharacters while being
18952
# careful not to overquote the AC_SUBSTed values. We take copies of the
18953
# variables and quote the copies for generation of the libtool script.
18954
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18956
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18957
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18958
deplibs_check_method reload_flag reload_cmds need_locks \
18959
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18960
lt_cv_sys_global_symbol_to_c_name_address \
18961
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18962
old_postinstall_cmds old_postuninstall_cmds \
18966
lt_prog_compiler_wl_RC \
18967
lt_prog_compiler_pic_RC \
18968
lt_prog_compiler_static_RC \
18969
lt_prog_compiler_no_builtin_flag_RC \
18970
export_dynamic_flag_spec_RC \
18971
thread_safe_flag_spec_RC \
18972
whole_archive_flag_spec_RC \
18973
enable_shared_with_static_runtimes_RC \
18974
old_archive_cmds_RC \
18975
old_archive_from_new_cmds_RC \
18976
predep_objects_RC \
18977
postdep_objects_RC \
18980
compiler_lib_search_path_RC \
18982
archive_expsym_cmds_RC \
18983
postinstall_cmds_RC \
18984
postuninstall_cmds_RC \
18985
old_archive_from_expsyms_cmds_RC \
18986
allow_undefined_flag_RC \
18987
no_undefined_flag_RC \
18988
export_symbols_cmds_RC \
18989
hardcode_libdir_flag_spec_RC \
18990
hardcode_libdir_flag_spec_ld_RC \
18991
hardcode_libdir_separator_RC \
18992
hardcode_automatic_RC \
18994
module_expsym_cmds_RC \
18995
lt_cv_prog_compiler_c_o_RC \
18996
fix_srcfile_path_RC \
18997
exclude_expsyms_RC \
18998
include_expsyms_RC; do
19001
old_archive_cmds_RC | \
19002
old_archive_from_new_cmds_RC | \
19003
archive_cmds_RC | \
19004
archive_expsym_cmds_RC | \
19006
module_expsym_cmds_RC | \
19007
old_archive_from_expsyms_cmds_RC | \
19008
export_symbols_cmds_RC | \
19009
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19010
postinstall_cmds | postuninstall_cmds | \
19011
old_postinstall_cmds | old_postuninstall_cmds | \
19012
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19013
# Double-quote double-evaled strings.
19014
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19017
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19023
*'\$0 --fallback-echo"')
19024
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19030
cat <<__EOF__ >> "$cfgfile"
19031
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19033
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19035
# Shell to use when invoking shell scripts.
19038
# Whether or not to build shared libraries.
19039
build_libtool_libs=$enable_shared
19041
# Whether or not to build static libraries.
19042
build_old_libs=$enable_static
19044
# Whether or not to add -lc for building shared libraries.
19045
build_libtool_need_lc=$archive_cmds_need_lc_RC
19047
# Whether or not to disallow shared libs when runtime libs are static
19048
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19050
# Whether or not to optimize for fast installation.
19051
fast_install=$enable_fast_install
19054
host_alias=$host_alias
19058
# The build system.
19059
build_alias=$build_alias
19063
# An echo program that does not interpret backslashes.
19068
AR_FLAGS=$lt_AR_FLAGS
19073
# LTCC compiler flags.
19074
LTCFLAGS=$lt_LTCFLAGS
19076
# A language-specific compiler.
19079
# Is the compiler the GNU C compiler?
19085
# The linker used to build libraries.
19088
# Whether we need hard or soft links.
19091
# A BSD-compatible nm program.
19094
# A symbol stripping program
19097
# Used to examine libraries when file_magic_cmd begins "file"
19098
MAGIC_CMD=$MAGIC_CMD
19100
# Used on cygwin: DLL creation program.
19103
# Used on cygwin: object dumper.
19106
# Used on cygwin: assembler.
19109
# The name of the directory that contains temporary libtool files.
19112
# How to create reloadable object files.
19113
reload_flag=$lt_reload_flag
19114
reload_cmds=$lt_reload_cmds
19116
# How to pass a linker flag through the compiler.
19117
wl=$lt_lt_prog_compiler_wl_RC
19119
# Object file suffix (normally "o").
19120
objext="$ac_objext"
19122
# Old archive suffix (normally "a").
19125
# Shared library suffix (normally ".so").
19126
shrext_cmds='$shrext_cmds'
19128
# Executable file suffix (normally "").
19131
# Additional compiler flags for building library objects.
19132
pic_flag=$lt_lt_prog_compiler_pic_RC
19135
# What is the maximum length of a command?
19136
max_cmd_len=$lt_cv_sys_max_cmd_len
19138
# Does compiler simultaneously support -c and -o options?
19139
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19141
# Must we lock files when doing compilation?
19142
need_locks=$lt_need_locks
19144
# Do we need the lib prefix for modules?
19145
need_lib_prefix=$need_lib_prefix
19147
# Do we need a version for libraries?
19148
need_version=$need_version
19150
# Whether dlopen is supported.
19151
dlopen_support=$enable_dlopen
19153
# Whether dlopen of programs is supported.
19154
dlopen_self=$enable_dlopen_self
19156
# Whether dlopen of statically linked programs is supported.
19157
dlopen_self_static=$enable_dlopen_self_static
19159
# Compiler flag to prevent dynamic linking.
19160
link_static_flag=$lt_lt_prog_compiler_static_RC
19162
# Compiler flag to turn off builtin functions.
19163
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19165
# Compiler flag to allow reflexive dlopens.
19166
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19168
# Compiler flag to generate shared objects directly from archives.
19169
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19171
# Compiler flag to generate thread-safe objects.
19172
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19174
# Library versioning type.
19175
version_type=$version_type
19177
# Format of library name prefix.
19178
libname_spec=$lt_libname_spec
19180
# List of archive names. First name is the real one, the rest are links.
19181
# The last name is the one that the linker finds with -lNAME.
19182
library_names_spec=$lt_library_names_spec
19184
# The coded name of the library, if different from the real name.
19185
soname_spec=$lt_soname_spec
19187
# Commands used to build and install an old-style archive.
19189
old_archive_cmds=$lt_old_archive_cmds_RC
19190
old_postinstall_cmds=$lt_old_postinstall_cmds
19191
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19193
# Create an old-style archive from a shared archive.
19194
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19196
# Create a temporary old-style archive to link instead of a shared archive.
19197
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19199
# Commands used to build and install a shared archive.
19200
archive_cmds=$lt_archive_cmds_RC
19201
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19202
postinstall_cmds=$lt_postinstall_cmds
19203
postuninstall_cmds=$lt_postuninstall_cmds
19205
# Commands used to build a loadable module (assumed same as above if empty)
19206
module_cmds=$lt_module_cmds_RC
19207
module_expsym_cmds=$lt_module_expsym_cmds_RC
19209
# Commands to strip libraries.
19210
old_striplib=$lt_old_striplib
19211
striplib=$lt_striplib
19213
# Dependencies to place before the objects being linked to create a
19215
predep_objects=$lt_predep_objects_RC
19217
# Dependencies to place after the objects being linked to create a
19219
postdep_objects=$lt_postdep_objects_RC
19221
# Dependencies to place before the objects being linked to create a
19223
predeps=$lt_predeps_RC
19225
# Dependencies to place after the objects being linked to create a
19227
postdeps=$lt_postdeps_RC
19229
# The library search path used internally by the compiler when linking
19230
# a shared library.
19231
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19233
# Method to check whether dependent libraries are shared objects.
19234
deplibs_check_method=$lt_deplibs_check_method
19236
# Command to use when deplibs_check_method == file_magic.
19237
file_magic_cmd=$lt_file_magic_cmd
19239
# Flag that allows shared libraries with undefined symbols to be built.
19240
allow_undefined_flag=$lt_allow_undefined_flag_RC
19242
# Flag that forces no undefined symbols.
19243
no_undefined_flag=$lt_no_undefined_flag_RC
19245
# Commands used to finish a libtool library installation in a directory.
19246
finish_cmds=$lt_finish_cmds
19248
# Same as above, but a single script fragment to be evaled but not shown.
19249
finish_eval=$lt_finish_eval
19251
# Take the output of nm and produce a listing of raw symbols and C names.
19252
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19254
# Transform the output of nm in a proper C declaration
19255
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19257
# Transform the output of nm in a C name address pair
19258
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19260
# This is the shared library runtime path variable.
19261
runpath_var=$runpath_var
19263
# This is the shared library path variable.
19264
shlibpath_var=$shlibpath_var
19266
# Is shlibpath searched before the hard-coded library search path?
19267
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19269
# How to hardcode a shared library path into an executable.
19270
hardcode_action=$hardcode_action_RC
19272
# Whether we should hardcode library paths into libraries.
19273
hardcode_into_libs=$hardcode_into_libs
19275
# Flag to hardcode \$libdir into a binary during linking.
19276
# This must work even if \$libdir does not exist.
19277
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19279
# If ld is used when linking, flag to hardcode \$libdir into
19280
# a binary during linking. This must work even if \$libdir does
19282
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19284
# Whether we need a single -rpath flag with a separated argument.
19285
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19287
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19288
# resulting binary.
19289
hardcode_direct=$hardcode_direct_RC
19291
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19292
# resulting binary.
19293
hardcode_minus_L=$hardcode_minus_L_RC
19295
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19296
# the resulting binary.
19297
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19299
# Set to yes if building a shared library automatically hardcodes DIR into the library
19300
# and all subsequent libraries and executables linked against it.
19301
hardcode_automatic=$hardcode_automatic_RC
19303
# Variables whose values should be saved in libtool wrapper scripts and
19304
# restored at relink time.
19305
variables_saved_for_relink="$variables_saved_for_relink"
19307
# Whether libtool must link a program against all its dependency libraries.
19308
link_all_deplibs=$link_all_deplibs_RC
19310
# Compile-time system search path for libraries
19311
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19313
# Run-time system search path for libraries
19314
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19316
# Fix the shell variable \$srcfile for the compiler.
19317
fix_srcfile_path=$lt_fix_srcfile_path
19319
# Set to yes if exported symbols are required.
19320
always_export_symbols=$always_export_symbols_RC
19322
# The commands to list exported symbols.
19323
export_symbols_cmds=$lt_export_symbols_cmds_RC
19325
# The commands to extract the exported symbol list from a shared archive.
19326
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19328
# Symbols that should not be listed in the preloaded symbols.
19329
exclude_expsyms=$lt_exclude_expsyms_RC
19331
# Symbols that must always be exported.
19332
include_expsyms=$lt_include_expsyms_RC
19334
# ### END LIBTOOL TAG CONFIG: $tagname
19340
# If there is no Makefile yet, we rely on a make rule to execute
19341
# `config.status --recheck' to rerun these tests and create the
19342
# libtool script then.
19343
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19344
if test -f "$ltmain_in"; then
19345
test -f Makefile && make "$ltmain"
19351
ac_cpp='$CPP $CPPFLAGS'
19352
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19361
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19362
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19363
{ (exit 1); exit 1; }; }
19367
# Append the new tag name to the list of available tags.
19368
if test -n "$tagname" ; then
19369
available_tags="$available_tags $tagname"
19375
# Now substitute the updated list of available tags.
19376
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19377
mv "${ofile}T" "$ofile"
19381
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19382
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19383
{ (exit 1); exit 1; }; }
19389
# This can be used to rebuild libtool when needed
19390
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19392
# Always use our own libtool.
19393
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19395
# Prevent multiple expansion
19419
case "$am__api_version" in
19421
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19422
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19423
{ (exit 1); exit 1; }; }
19429
if test -n "0.35.0"; then
19430
{ echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
19431
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
19433
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19434
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
19435
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`
19437
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19438
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
19439
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19440
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
19441
echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
19442
{ (exit 1); exit 1; }; }
19445
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 $< $@'
19446
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 $< $@'
19447
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 $< $@'
19448
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 $< $@'
19449
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
19450
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 $< $@'
19451
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 $< $@'
19452
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 $< $@'
19453
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 $< $@'
19454
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 $< $@'
19455
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 $< $@'
19456
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
19457
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 $< $@'
19458
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 $< $@'
19459
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 $< $@'
19460
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 $< $@'
19461
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 $< $@'
19462
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 $< $@'
19463
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 $< $@'
19485
# Use the tools built into the package, not the ones that are installed.
19486
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
19488
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
19490
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
19493
# Extract the first word of "perl", so it can be a program name with args.
19494
set dummy perl; ac_word=$2
19495
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19496
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19497
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
19498
echo $ECHO_N "(cached) $ECHO_C" >&6
19500
case $INTLTOOL_PERL in
19502
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
19505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19506
for as_dir in $PATH
19509
test -z "$as_dir" && as_dir=.
19510
for ac_exec_ext in '' $ac_executable_extensions; do
19511
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19512
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19513
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19523
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19524
if test -n "$INTLTOOL_PERL"; then
19525
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
19526
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
19528
{ echo "$as_me:$LINENO: result: no" >&5
19529
echo "${ECHO_T}no" >&6; }
19533
if test -z "$INTLTOOL_PERL"; then
19534
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
19535
echo "$as_me: error: perl not found; required for intltool" >&2;}
19536
{ (exit 1); exit 1; }; }
19538
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
19539
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
19540
echo "$as_me: error: perl 5.x required for intltool" >&2;}
19541
{ (exit 1); exit 1; }; }
19543
if test "x" != "xno-xml"; then
19544
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
19545
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
19546
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19547
{ echo "$as_me:$LINENO: result: ok" >&5
19548
echo "${ECHO_T}ok" >&6; }
19550
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
19551
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
19552
{ (exit 1); exit 1; }; }
19556
# Substitute ALL_LINGUAS so we can use it in po/Makefile
19559
# Set DATADIRNAME correctly if it is not set yet
19560
# (copied from glib-gettext.m4)
19561
if test -z "$DATADIRNAME"; then
19562
cat >conftest.$ac_ext <<_ACEOF
19565
cat confdefs.h >>conftest.$ac_ext
19566
cat >>conftest.$ac_ext <<_ACEOF
19567
/* end confdefs.h. */
19572
extern int _nl_msg_cat_cntr;
19573
return _nl_msg_cat_cntr
19578
rm -f conftest.$ac_objext conftest$ac_exeext
19579
if { (ac_try="$ac_link"
19580
case "(($ac_try" in
19581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582
*) ac_try_echo=$ac_try;;
19584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585
(eval "$ac_link") 2>conftest.er1
19587
grep -v '^ *+' conftest.er1 >conftest.err
19589
cat conftest.err >&5
19590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591
(exit $ac_status); } && {
19592
test -z "$ac_c_werror_flag" ||
19593
test ! -s conftest.err
19594
} && test -s conftest$ac_exeext &&
19595
$as_test_x conftest$ac_exeext; then
19598
echo "$as_me: failed program was:" >&5
19599
sed 's/^/| /' conftest.$ac_ext >&5
19603
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
19604
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
19605
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
19606
echo $ECHO_N "(cached) $ECHO_C" >&6
19608
cat >conftest.$ac_ext <<_ACEOF
19611
cat confdefs.h >>conftest.$ac_ext
19612
cat >>conftest.$ac_ext <<_ACEOF
19613
/* end confdefs.h. */
19614
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
19615
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19616
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
19618
/* System header to define __stub macros and hopefully few prototypes,
19619
which can conflict with char bind_textdomain_codeset (); below.
19620
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19621
<limits.h> exists even on freestanding compilers. */
19624
# include <limits.h>
19626
# include <assert.h>
19629
#undef bind_textdomain_codeset
19631
/* Override any GCC internal prototype to avoid an error.
19632
Use char because int might match the return type of a GCC
19633
builtin and then its argument prototype would still apply. */
19637
char bind_textdomain_codeset ();
19638
/* The GNU C library defines this for functions which it implements
19639
to always fail with ENOSYS. Some functions are actually named
19640
something starting with __ and the normal name is an alias. */
19641
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
19648
return bind_textdomain_codeset ();
19653
rm -f conftest.$ac_objext conftest$ac_exeext
19654
if { (ac_try="$ac_link"
19655
case "(($ac_try" in
19656
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657
*) ac_try_echo=$ac_try;;
19659
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660
(eval "$ac_link") 2>conftest.er1
19662
grep -v '^ *+' conftest.er1 >conftest.err
19664
cat conftest.err >&5
19665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666
(exit $ac_status); } && {
19667
test -z "$ac_c_werror_flag" ||
19668
test ! -s conftest.err
19669
} && test -s conftest$ac_exeext &&
19670
$as_test_x conftest$ac_exeext; then
19671
ac_cv_func_bind_textdomain_codeset=yes
19673
echo "$as_me: failed program was:" >&5
19674
sed 's/^/| /' conftest.$ac_ext >&5
19676
ac_cv_func_bind_textdomain_codeset=no
19679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19680
conftest$ac_exeext conftest.$ac_ext
19682
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
19683
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
19684
if test $ac_cv_func_bind_textdomain_codeset = yes; then
19697
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19698
conftest$ac_exeext conftest.$ac_ext
19705
ac_config_commands="$ac_config_commands intltool"
19712
for ac_header in locale.h
19714
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19716
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19717
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19718
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19719
echo $ECHO_N "(cached) $ECHO_C" >&6
19721
ac_res=`eval echo '${'$as_ac_Header'}'`
19722
{ echo "$as_me:$LINENO: result: $ac_res" >&5
19723
echo "${ECHO_T}$ac_res" >&6; }
19725
# Is the header compilable?
19726
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19727
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19728
cat >conftest.$ac_ext <<_ACEOF
19731
cat confdefs.h >>conftest.$ac_ext
19732
cat >>conftest.$ac_ext <<_ACEOF
19733
/* end confdefs.h. */
19734
$ac_includes_default
19735
@%:@include <$ac_header>
19737
rm -f conftest.$ac_objext
19738
if { (ac_try="$ac_compile"
19739
case "(($ac_try" in
19740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741
*) ac_try_echo=$ac_try;;
19743
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744
(eval "$ac_compile") 2>conftest.er1
19746
grep -v '^ *+' conftest.er1 >conftest.err
19748
cat conftest.err >&5
19749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750
(exit $ac_status); } && {
19751
test -z "$ac_c_werror_flag" ||
19752
test ! -s conftest.err
19753
} && test -s conftest.$ac_objext; then
19754
ac_header_compiler=yes
19756
echo "$as_me: failed program was:" >&5
19757
sed 's/^/| /' conftest.$ac_ext >&5
19759
ac_header_compiler=no
19762
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19764
echo "${ECHO_T}$ac_header_compiler" >&6; }
19766
# Is the header present?
19767
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19768
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19769
cat >conftest.$ac_ext <<_ACEOF
19772
cat confdefs.h >>conftest.$ac_ext
19773
cat >>conftest.$ac_ext <<_ACEOF
19774
/* end confdefs.h. */
19775
@%:@include <$ac_header>
19777
if { (ac_try="$ac_cpp conftest.$ac_ext"
19778
case "(($ac_try" in
19779
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19780
*) ac_try_echo=$ac_try;;
19782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19783
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19785
grep -v '^ *+' conftest.er1 >conftest.err
19787
cat conftest.err >&5
19788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789
(exit $ac_status); } >/dev/null && {
19790
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19791
test ! -s conftest.err
19793
ac_header_preproc=yes
19795
echo "$as_me: failed program was:" >&5
19796
sed 's/^/| /' conftest.$ac_ext >&5
19798
ac_header_preproc=no
19801
rm -f conftest.err conftest.$ac_ext
19802
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19803
echo "${ECHO_T}$ac_header_preproc" >&6; }
19805
# So? What about this header?
19806
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19808
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19809
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19810
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19811
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19812
ac_header_preproc=yes
19815
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19816
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19817
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19818
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19819
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19820
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19821
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19822
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19823
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19824
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19825
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19826
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19828
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
19829
@%:@@%:@ Report this to ChAnGFu (changfu@hollowproject.org) () @%:@@%:@
19830
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
19832
) | sed "s/^/$as_me: WARNING: /" >&2
19835
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19836
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19837
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19838
echo $ECHO_N "(cached) $ECHO_C" >&6
19840
eval "$as_ac_Header=\$ac_header_preproc"
19842
ac_res=`eval echo '${'$as_ac_Header'}'`
19843
{ echo "$as_me:$LINENO: result: $ac_res" >&5
19844
echo "${ECHO_T}$ac_res" >&6; }
19847
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19848
cat >>confdefs.h <<_ACEOF
19849
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19856
if test $ac_cv_header_locale_h = yes; then
19857
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
19858
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
19859
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
19860
echo $ECHO_N "(cached) $ECHO_C" >&6
19862
cat >conftest.$ac_ext <<_ACEOF
19865
cat confdefs.h >>conftest.$ac_ext
19866
cat >>conftest.$ac_ext <<_ACEOF
19867
/* end confdefs.h. */
19868
#include <locale.h>
19877
rm -f conftest.$ac_objext conftest$ac_exeext
19878
if { (ac_try="$ac_link"
19879
case "(($ac_try" in
19880
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881
*) ac_try_echo=$ac_try;;
19883
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884
(eval "$ac_link") 2>conftest.er1
19886
grep -v '^ *+' conftest.er1 >conftest.err
19888
cat conftest.err >&5
19889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890
(exit $ac_status); } && {
19891
test -z "$ac_c_werror_flag" ||
19892
test ! -s conftest.err
19893
} && test -s conftest$ac_exeext &&
19894
$as_test_x conftest$ac_exeext; then
19895
am_cv_val_LC_MESSAGES=yes
19897
echo "$as_me: failed program was:" >&5
19898
sed 's/^/| /' conftest.$ac_ext >&5
19900
am_cv_val_LC_MESSAGES=no
19903
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19904
conftest$ac_exeext conftest.$ac_ext
19906
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
19907
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
19908
if test $am_cv_val_LC_MESSAGES = yes; then
19910
cat >>confdefs.h <<\_ACEOF
19911
@%:@define HAVE_LC_MESSAGES 1
19919
gt_cv_have_gettext=no
19925
if test "${ac_cv_header_libintl_h+set}" = set; then
19926
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
19927
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19928
if test "${ac_cv_header_libintl_h+set}" = set; then
19929
echo $ECHO_N "(cached) $ECHO_C" >&6
19931
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19932
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19934
# Is the header compilable?
19935
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
19936
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
19937
cat >conftest.$ac_ext <<_ACEOF
19940
cat confdefs.h >>conftest.$ac_ext
19941
cat >>conftest.$ac_ext <<_ACEOF
19942
/* end confdefs.h. */
19943
$ac_includes_default
19944
@%:@include <libintl.h>
19946
rm -f conftest.$ac_objext
19947
if { (ac_try="$ac_compile"
19948
case "(($ac_try" in
19949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950
*) ac_try_echo=$ac_try;;
19952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953
(eval "$ac_compile") 2>conftest.er1
19955
grep -v '^ *+' conftest.er1 >conftest.err
19957
cat conftest.err >&5
19958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959
(exit $ac_status); } && {
19960
test -z "$ac_c_werror_flag" ||
19961
test ! -s conftest.err
19962
} && test -s conftest.$ac_objext; then
19963
ac_header_compiler=yes
19965
echo "$as_me: failed program was:" >&5
19966
sed 's/^/| /' conftest.$ac_ext >&5
19968
ac_header_compiler=no
19971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19973
echo "${ECHO_T}$ac_header_compiler" >&6; }
19975
# Is the header present?
19976
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
19977
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
19978
cat >conftest.$ac_ext <<_ACEOF
19981
cat confdefs.h >>conftest.$ac_ext
19982
cat >>conftest.$ac_ext <<_ACEOF
19983
/* end confdefs.h. */
19984
@%:@include <libintl.h>
19986
if { (ac_try="$ac_cpp conftest.$ac_ext"
19987
case "(($ac_try" in
19988
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19989
*) ac_try_echo=$ac_try;;
19991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19994
grep -v '^ *+' conftest.er1 >conftest.err
19996
cat conftest.err >&5
19997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998
(exit $ac_status); } >/dev/null && {
19999
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20000
test ! -s conftest.err
20002
ac_header_preproc=yes
20004
echo "$as_me: failed program was:" >&5
20005
sed 's/^/| /' conftest.$ac_ext >&5
20007
ac_header_preproc=no
20010
rm -f conftest.err conftest.$ac_ext
20011
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20012
echo "${ECHO_T}$ac_header_preproc" >&6; }
20014
# So? What about this header?
20015
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20017
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
20018
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20019
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
20020
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
20021
ac_header_preproc=yes
20024
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
20025
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
20026
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
20027
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
20028
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
20029
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
20030
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
20031
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
20032
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
20033
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
20034
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
20035
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
20037
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
20038
@%:@@%:@ Report this to ChAnGFu (changfu@hollowproject.org) () @%:@@%:@
20039
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
20041
) | sed "s/^/$as_me: WARNING: /" >&2
20044
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
20045
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20046
if test "${ac_cv_header_libintl_h+set}" = set; then
20047
echo $ECHO_N "(cached) $ECHO_C" >&6
20049
ac_cv_header_libintl_h=$ac_header_preproc
20051
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20052
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20055
if test $ac_cv_header_libintl_h = yes; then
20056
gt_cv_func_dgettext_libintl="no"
20057
libintl_extra_libs=""
20060
# First check in libc
20062
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
20063
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
20064
if test "${gt_cv_func_ngettext_libc+set}" = set; then
20065
echo $ECHO_N "(cached) $ECHO_C" >&6
20067
cat >conftest.$ac_ext <<_ACEOF
20070
cat confdefs.h >>conftest.$ac_ext
20071
cat >>conftest.$ac_ext <<_ACEOF
20072
/* end confdefs.h. */
20074
#include <libintl.h>
20079
return !ngettext ("","", 1)
20084
rm -f conftest.$ac_objext conftest$ac_exeext
20085
if { (ac_try="$ac_link"
20086
case "(($ac_try" in
20087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20088
*) ac_try_echo=$ac_try;;
20090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20091
(eval "$ac_link") 2>conftest.er1
20093
grep -v '^ *+' conftest.er1 >conftest.err
20095
cat conftest.err >&5
20096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097
(exit $ac_status); } && {
20098
test -z "$ac_c_werror_flag" ||
20099
test ! -s conftest.err
20100
} && test -s conftest$ac_exeext &&
20101
$as_test_x conftest$ac_exeext; then
20102
gt_cv_func_ngettext_libc=yes
20104
echo "$as_me: failed program was:" >&5
20105
sed 's/^/| /' conftest.$ac_ext >&5
20107
gt_cv_func_ngettext_libc=no
20110
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20111
conftest$ac_exeext conftest.$ac_ext
20114
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
20115
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
20117
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20118
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
20119
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
20120
if test "${gt_cv_func_dgettext_libc+set}" = set; then
20121
echo $ECHO_N "(cached) $ECHO_C" >&6
20123
cat >conftest.$ac_ext <<_ACEOF
20126
cat confdefs.h >>conftest.$ac_ext
20127
cat >>conftest.$ac_ext <<_ACEOF
20128
/* end confdefs.h. */
20130
#include <libintl.h>
20135
return !dgettext ("","")
20140
rm -f conftest.$ac_objext conftest$ac_exeext
20141
if { (ac_try="$ac_link"
20142
case "(($ac_try" in
20143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20144
*) ac_try_echo=$ac_try;;
20146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20147
(eval "$ac_link") 2>conftest.er1
20149
grep -v '^ *+' conftest.er1 >conftest.err
20151
cat conftest.err >&5
20152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153
(exit $ac_status); } && {
20154
test -z "$ac_c_werror_flag" ||
20155
test ! -s conftest.err
20156
} && test -s conftest$ac_exeext &&
20157
$as_test_x conftest$ac_exeext; then
20158
gt_cv_func_dgettext_libc=yes
20160
echo "$as_me: failed program was:" >&5
20161
sed 's/^/| /' conftest.$ac_ext >&5
20163
gt_cv_func_dgettext_libc=no
20166
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20167
conftest$ac_exeext conftest.$ac_ext
20170
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
20171
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
20174
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20176
for ac_func in bind_textdomain_codeset
20178
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20179
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20180
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20181
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20182
echo $ECHO_N "(cached) $ECHO_C" >&6
20184
cat >conftest.$ac_ext <<_ACEOF
20187
cat confdefs.h >>conftest.$ac_ext
20188
cat >>conftest.$ac_ext <<_ACEOF
20189
/* end confdefs.h. */
20190
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20191
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20192
#define $ac_func innocuous_$ac_func
20194
/* System header to define __stub macros and hopefully few prototypes,
20195
which can conflict with char $ac_func (); below.
20196
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20197
<limits.h> exists even on freestanding compilers. */
20200
# include <limits.h>
20202
# include <assert.h>
20207
/* Override any GCC internal prototype to avoid an error.
20208
Use char because int might match the return type of a GCC
20209
builtin and then its argument prototype would still apply. */
20214
/* The GNU C library defines this for functions which it implements
20215
to always fail with ENOSYS. Some functions are actually named
20216
something starting with __ and the normal name is an alias. */
20217
#if defined __stub_$ac_func || defined __stub___$ac_func
20224
return $ac_func ();
20229
rm -f conftest.$ac_objext conftest$ac_exeext
20230
if { (ac_try="$ac_link"
20231
case "(($ac_try" in
20232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233
*) ac_try_echo=$ac_try;;
20235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236
(eval "$ac_link") 2>conftest.er1
20238
grep -v '^ *+' conftest.er1 >conftest.err
20240
cat conftest.err >&5
20241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242
(exit $ac_status); } && {
20243
test -z "$ac_c_werror_flag" ||
20244
test ! -s conftest.err
20245
} && test -s conftest$ac_exeext &&
20246
$as_test_x conftest$ac_exeext; then
20247
eval "$as_ac_var=yes"
20249
echo "$as_me: failed program was:" >&5
20250
sed 's/^/| /' conftest.$ac_ext >&5
20252
eval "$as_ac_var=no"
20255
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20256
conftest$ac_exeext conftest.$ac_ext
20258
ac_res=`eval echo '${'$as_ac_var'}'`
20259
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20260
echo "${ECHO_T}$ac_res" >&6; }
20261
if test `eval echo '${'$as_ac_var'}'` = yes; then
20262
cat >>confdefs.h <<_ACEOF
20263
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20272
# If we don't have everything we want, check in libintl
20274
if test "$gt_cv_func_dgettext_libc" != "yes" \
20275
|| test "$gt_cv_func_ngettext_libc" != "yes" \
20276
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20278
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20279
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
20280
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20281
echo $ECHO_N "(cached) $ECHO_C" >&6
20283
ac_check_lib_save_LIBS=$LIBS
20284
LIBS="-lintl $LIBS"
20285
cat >conftest.$ac_ext <<_ACEOF
20288
cat confdefs.h >>conftest.$ac_ext
20289
cat >>conftest.$ac_ext <<_ACEOF
20290
/* end confdefs.h. */
20292
/* Override any GCC internal prototype to avoid an error.
20293
Use char because int might match the return type of a GCC
20294
builtin and then its argument prototype would still apply. */
20298
char bindtextdomain ();
20302
return bindtextdomain ();
20307
rm -f conftest.$ac_objext conftest$ac_exeext
20308
if { (ac_try="$ac_link"
20309
case "(($ac_try" in
20310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20311
*) ac_try_echo=$ac_try;;
20313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20314
(eval "$ac_link") 2>conftest.er1
20316
grep -v '^ *+' conftest.er1 >conftest.err
20318
cat conftest.err >&5
20319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320
(exit $ac_status); } && {
20321
test -z "$ac_c_werror_flag" ||
20322
test ! -s conftest.err
20323
} && test -s conftest$ac_exeext &&
20324
$as_test_x conftest$ac_exeext; then
20325
ac_cv_lib_intl_bindtextdomain=yes
20327
echo "$as_me: failed program was:" >&5
20328
sed 's/^/| /' conftest.$ac_ext >&5
20330
ac_cv_lib_intl_bindtextdomain=no
20333
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20334
conftest$ac_exeext conftest.$ac_ext
20335
LIBS=$ac_check_lib_save_LIBS
20337
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
20338
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
20339
if test $ac_cv_lib_intl_bindtextdomain = yes; then
20340
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20341
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20342
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20343
echo $ECHO_N "(cached) $ECHO_C" >&6
20345
ac_check_lib_save_LIBS=$LIBS
20346
LIBS="-lintl $LIBS"
20347
cat >conftest.$ac_ext <<_ACEOF
20350
cat confdefs.h >>conftest.$ac_ext
20351
cat >>conftest.$ac_ext <<_ACEOF
20352
/* end confdefs.h. */
20354
/* Override any GCC internal prototype to avoid an error.
20355
Use char because int might match the return type of a GCC
20356
builtin and then its argument prototype would still apply. */
20364
return ngettext ();
20369
rm -f conftest.$ac_objext conftest$ac_exeext
20370
if { (ac_try="$ac_link"
20371
case "(($ac_try" in
20372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20373
*) ac_try_echo=$ac_try;;
20375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376
(eval "$ac_link") 2>conftest.er1
20378
grep -v '^ *+' conftest.er1 >conftest.err
20380
cat conftest.err >&5
20381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382
(exit $ac_status); } && {
20383
test -z "$ac_c_werror_flag" ||
20384
test ! -s conftest.err
20385
} && test -s conftest$ac_exeext &&
20386
$as_test_x conftest$ac_exeext; then
20387
ac_cv_lib_intl_ngettext=yes
20389
echo "$as_me: failed program was:" >&5
20390
sed 's/^/| /' conftest.$ac_ext >&5
20392
ac_cv_lib_intl_ngettext=no
20395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20396
conftest$ac_exeext conftest.$ac_ext
20397
LIBS=$ac_check_lib_save_LIBS
20399
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20400
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20401
if test $ac_cv_lib_intl_ngettext = yes; then
20402
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20403
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20404
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20405
echo $ECHO_N "(cached) $ECHO_C" >&6
20407
ac_check_lib_save_LIBS=$LIBS
20408
LIBS="-lintl $LIBS"
20409
cat >conftest.$ac_ext <<_ACEOF
20412
cat confdefs.h >>conftest.$ac_ext
20413
cat >>conftest.$ac_ext <<_ACEOF
20414
/* end confdefs.h. */
20416
/* Override any GCC internal prototype to avoid an error.
20417
Use char because int might match the return type of a GCC
20418
builtin and then its argument prototype would still apply. */
20426
return dgettext ();
20431
rm -f conftest.$ac_objext conftest$ac_exeext
20432
if { (ac_try="$ac_link"
20433
case "(($ac_try" in
20434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435
*) ac_try_echo=$ac_try;;
20437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438
(eval "$ac_link") 2>conftest.er1
20440
grep -v '^ *+' conftest.er1 >conftest.err
20442
cat conftest.err >&5
20443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444
(exit $ac_status); } && {
20445
test -z "$ac_c_werror_flag" ||
20446
test ! -s conftest.err
20447
} && test -s conftest$ac_exeext &&
20448
$as_test_x conftest$ac_exeext; then
20449
ac_cv_lib_intl_dgettext=yes
20451
echo "$as_me: failed program was:" >&5
20452
sed 's/^/| /' conftest.$ac_ext >&5
20454
ac_cv_lib_intl_dgettext=no
20457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20458
conftest$ac_exeext conftest.$ac_ext
20459
LIBS=$ac_check_lib_save_LIBS
20461
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20462
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
20463
if test $ac_cv_lib_intl_dgettext = yes; then
20464
gt_cv_func_dgettext_libintl=yes
20472
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20473
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
20474
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
20475
{ echo "$as_me:$LINENO: result: " >&5
20476
echo "${ECHO_T}" >&6; }
20477
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20478
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20479
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20480
echo $ECHO_N "(cached) $ECHO_C" >&6
20482
ac_check_lib_save_LIBS=$LIBS
20483
LIBS="-lintl -liconv $LIBS"
20484
cat >conftest.$ac_ext <<_ACEOF
20487
cat confdefs.h >>conftest.$ac_ext
20488
cat >>conftest.$ac_ext <<_ACEOF
20489
/* end confdefs.h. */
20491
/* Override any GCC internal prototype to avoid an error.
20492
Use char because int might match the return type of a GCC
20493
builtin and then its argument prototype would still apply. */
20501
return ngettext ();
20506
rm -f conftest.$ac_objext conftest$ac_exeext
20507
if { (ac_try="$ac_link"
20508
case "(($ac_try" in
20509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510
*) ac_try_echo=$ac_try;;
20512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513
(eval "$ac_link") 2>conftest.er1
20515
grep -v '^ *+' conftest.er1 >conftest.err
20517
cat conftest.err >&5
20518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519
(exit $ac_status); } && {
20520
test -z "$ac_c_werror_flag" ||
20521
test ! -s conftest.err
20522
} && test -s conftest$ac_exeext &&
20523
$as_test_x conftest$ac_exeext; then
20524
ac_cv_lib_intl_ngettext=yes
20526
echo "$as_me: failed program was:" >&5
20527
sed 's/^/| /' conftest.$ac_ext >&5
20529
ac_cv_lib_intl_ngettext=no
20532
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20533
conftest$ac_exeext conftest.$ac_ext
20534
LIBS=$ac_check_lib_save_LIBS
20536
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20537
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20538
if test $ac_cv_lib_intl_ngettext = yes; then
20539
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
20540
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
20541
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
20542
echo $ECHO_N "(cached) $ECHO_C" >&6
20544
ac_check_lib_save_LIBS=$LIBS
20545
LIBS="-lintl -liconv $LIBS"
20546
cat >conftest.$ac_ext <<_ACEOF
20549
cat confdefs.h >>conftest.$ac_ext
20550
cat >>conftest.$ac_ext <<_ACEOF
20551
/* end confdefs.h. */
20553
/* Override any GCC internal prototype to avoid an error.
20554
Use char because int might match the return type of a GCC
20555
builtin and then its argument prototype would still apply. */
20563
return dcgettext ();
20568
rm -f conftest.$ac_objext conftest$ac_exeext
20569
if { (ac_try="$ac_link"
20570
case "(($ac_try" in
20571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20572
*) ac_try_echo=$ac_try;;
20574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575
(eval "$ac_link") 2>conftest.er1
20577
grep -v '^ *+' conftest.er1 >conftest.err
20579
cat conftest.err >&5
20580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581
(exit $ac_status); } && {
20582
test -z "$ac_c_werror_flag" ||
20583
test ! -s conftest.err
20584
} && test -s conftest$ac_exeext &&
20585
$as_test_x conftest$ac_exeext; then
20586
ac_cv_lib_intl_dcgettext=yes
20588
echo "$as_me: failed program was:" >&5
20589
sed 's/^/| /' conftest.$ac_ext >&5
20591
ac_cv_lib_intl_dcgettext=no
20594
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20595
conftest$ac_exeext conftest.$ac_ext
20596
LIBS=$ac_check_lib_save_LIBS
20598
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
20599
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
20600
if test $ac_cv_lib_intl_dcgettext = yes; then
20601
gt_cv_func_dgettext_libintl=yes
20602
libintl_extra_libs=-liconv
20614
# If we found libintl, then check in it for bind_textdomain_codeset();
20615
# we'll prefer libc if neither have bind_textdomain_codeset(),
20616
# and both have dgettext and ngettext
20618
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20619
glib_save_LIBS="$LIBS"
20620
LIBS="$LIBS -lintl $libintl_extra_libs"
20621
unset ac_cv_func_bind_textdomain_codeset
20623
for ac_func in bind_textdomain_codeset
20625
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20626
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20627
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20628
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20629
echo $ECHO_N "(cached) $ECHO_C" >&6
20631
cat >conftest.$ac_ext <<_ACEOF
20634
cat confdefs.h >>conftest.$ac_ext
20635
cat >>conftest.$ac_ext <<_ACEOF
20636
/* end confdefs.h. */
20637
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20638
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20639
#define $ac_func innocuous_$ac_func
20641
/* System header to define __stub macros and hopefully few prototypes,
20642
which can conflict with char $ac_func (); below.
20643
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20644
<limits.h> exists even on freestanding compilers. */
20647
# include <limits.h>
20649
# include <assert.h>
20654
/* Override any GCC internal prototype to avoid an error.
20655
Use char because int might match the return type of a GCC
20656
builtin and then its argument prototype would still apply. */
20661
/* The GNU C library defines this for functions which it implements
20662
to always fail with ENOSYS. Some functions are actually named
20663
something starting with __ and the normal name is an alias. */
20664
#if defined __stub_$ac_func || defined __stub___$ac_func
20671
return $ac_func ();
20676
rm -f conftest.$ac_objext conftest$ac_exeext
20677
if { (ac_try="$ac_link"
20678
case "(($ac_try" in
20679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20680
*) ac_try_echo=$ac_try;;
20682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683
(eval "$ac_link") 2>conftest.er1
20685
grep -v '^ *+' conftest.er1 >conftest.err
20687
cat conftest.err >&5
20688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689
(exit $ac_status); } && {
20690
test -z "$ac_c_werror_flag" ||
20691
test ! -s conftest.err
20692
} && test -s conftest$ac_exeext &&
20693
$as_test_x conftest$ac_exeext; then
20694
eval "$as_ac_var=yes"
20696
echo "$as_me: failed program was:" >&5
20697
sed 's/^/| /' conftest.$ac_ext >&5
20699
eval "$as_ac_var=no"
20702
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20703
conftest$ac_exeext conftest.$ac_ext
20705
ac_res=`eval echo '${'$as_ac_var'}'`
20706
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20707
echo "${ECHO_T}$ac_res" >&6; }
20708
if test `eval echo '${'$as_ac_var'}'` = yes; then
20709
cat >>confdefs.h <<_ACEOF
20710
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20716
LIBS="$glib_save_LIBS"
20718
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20719
gt_cv_func_dgettext_libc=no
20721
if test "$gt_cv_func_dgettext_libc" = "yes" \
20722
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
20723
gt_cv_func_dgettext_libintl=no
20729
if test "$gt_cv_func_dgettext_libc" = "yes" \
20730
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
20731
gt_cv_have_gettext=yes
20734
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20735
INTLLIBS="-lintl $libintl_extra_libs"
20738
if test "$gt_cv_have_gettext" = "yes"; then
20740
cat >>confdefs.h <<\_ACEOF
20741
@%:@define HAVE_GETTEXT 1
20744
# Extract the first word of "msgfmt", so it can be a program name with args.
20745
set dummy msgfmt; ac_word=$2
20746
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20747
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20748
if test "${ac_cv_path_MSGFMT+set}" = set; then
20749
echo $ECHO_N "(cached) $ECHO_C" >&6
20753
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20756
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20757
for ac_dir in $PATH; do
20758
test -z "$ac_dir" && ac_dir=.
20759
if test -f $ac_dir/$ac_word; then
20760
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20761
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20767
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20771
MSGFMT="$ac_cv_path_MSGFMT"
20772
if test "$MSGFMT" != "no"; then
20773
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
20774
echo "${ECHO_T}$MSGFMT" >&6; }
20776
{ echo "$as_me:$LINENO: result: no" >&5
20777
echo "${ECHO_T}no" >&6; }
20779
if test "$MSGFMT" != "no"; then
20780
glib_save_LIBS="$LIBS"
20781
LIBS="$LIBS $INTLLIBS"
20783
for ac_func in dcgettext
20785
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20786
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20787
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20788
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20789
echo $ECHO_N "(cached) $ECHO_C" >&6
20791
cat >conftest.$ac_ext <<_ACEOF
20794
cat confdefs.h >>conftest.$ac_ext
20795
cat >>conftest.$ac_ext <<_ACEOF
20796
/* end confdefs.h. */
20797
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20798
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20799
#define $ac_func innocuous_$ac_func
20801
/* System header to define __stub macros and hopefully few prototypes,
20802
which can conflict with char $ac_func (); below.
20803
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20804
<limits.h> exists even on freestanding compilers. */
20807
# include <limits.h>
20809
# include <assert.h>
20814
/* Override any GCC internal prototype to avoid an error.
20815
Use char because int might match the return type of a GCC
20816
builtin and then its argument prototype would still apply. */
20821
/* The GNU C library defines this for functions which it implements
20822
to always fail with ENOSYS. Some functions are actually named
20823
something starting with __ and the normal name is an alias. */
20824
#if defined __stub_$ac_func || defined __stub___$ac_func
20831
return $ac_func ();
20836
rm -f conftest.$ac_objext conftest$ac_exeext
20837
if { (ac_try="$ac_link"
20838
case "(($ac_try" in
20839
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840
*) ac_try_echo=$ac_try;;
20842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843
(eval "$ac_link") 2>conftest.er1
20845
grep -v '^ *+' conftest.er1 >conftest.err
20847
cat conftest.err >&5
20848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849
(exit $ac_status); } && {
20850
test -z "$ac_c_werror_flag" ||
20851
test ! -s conftest.err
20852
} && test -s conftest$ac_exeext &&
20853
$as_test_x conftest$ac_exeext; then
20854
eval "$as_ac_var=yes"
20856
echo "$as_me: failed program was:" >&5
20857
sed 's/^/| /' conftest.$ac_ext >&5
20859
eval "$as_ac_var=no"
20862
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20863
conftest$ac_exeext conftest.$ac_ext
20865
ac_res=`eval echo '${'$as_ac_var'}'`
20866
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20867
echo "${ECHO_T}$ac_res" >&6; }
20868
if test `eval echo '${'$as_ac_var'}'` = yes; then
20869
cat >>confdefs.h <<_ACEOF
20870
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20877
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
20878
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
20879
cat >conftest.foo <<_ACEOF
20883
"Content-Type: text/plain; charset=UTF-8\n"
20884
"Project-Id-Version: test 1.0\n"
20885
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
20886
"Last-Translator: test <foo@bar.xx>\n"
20887
"Language-Team: C <LL@li.org>\n"
20888
"MIME-Version: 1.0\n"
20889
"Content-Transfer-Encoding: 8bit\n"
20892
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
20893
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896
(exit $ac_status); }; then
20897
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
20898
echo "${ECHO_T}yes" >&6; }
20899
else { echo "$as_me:$LINENO: result: no" >&5
20900
echo "${ECHO_T}no" >&6; }
20901
echo "$as_me: failed input was:" >&5
20902
sed 's/^/| /' conftest.foo >&5
20905
# Extract the first word of "gmsgfmt", so it can be a program name with args.
20906
set dummy gmsgfmt; ac_word=$2
20907
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20909
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20910
echo $ECHO_N "(cached) $ECHO_C" >&6
20914
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20918
for as_dir in $PATH
20921
test -z "$as_dir" && as_dir=.
20922
for ac_exec_ext in '' $ac_executable_extensions; do
20923
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20924
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20925
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20932
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20936
GMSGFMT=$ac_cv_path_GMSGFMT
20937
if test -n "$GMSGFMT"; then
20938
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20939
echo "${ECHO_T}$GMSGFMT" >&6; }
20941
{ echo "$as_me:$LINENO: result: no" >&5
20942
echo "${ECHO_T}no" >&6; }
20946
# Extract the first word of "xgettext", so it can be a program name with args.
20947
set dummy xgettext; ac_word=$2
20948
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20949
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20950
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20951
echo $ECHO_N "(cached) $ECHO_C" >&6
20953
case "$XGETTEXT" in
20955
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20958
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20959
for ac_dir in $PATH; do
20960
test -z "$ac_dir" && ac_dir=.
20961
if test -f $ac_dir/$ac_word; then
20962
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20963
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20969
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20973
XGETTEXT="$ac_cv_path_XGETTEXT"
20974
if test "$XGETTEXT" != ":"; then
20975
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20976
echo "${ECHO_T}$XGETTEXT" >&6; }
20978
{ echo "$as_me:$LINENO: result: no" >&5
20979
echo "${ECHO_T}no" >&6; }
20982
cat >conftest.$ac_ext <<_ACEOF
20985
cat confdefs.h >>conftest.$ac_ext
20986
cat >>conftest.$ac_ext <<_ACEOF
20987
/* end confdefs.h. */
20992
extern int _nl_msg_cat_cntr;
20993
return _nl_msg_cat_cntr
20998
rm -f conftest.$ac_objext conftest$ac_exeext
20999
if { (ac_try="$ac_link"
21000
case "(($ac_try" in
21001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002
*) ac_try_echo=$ac_try;;
21004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005
(eval "$ac_link") 2>conftest.er1
21007
grep -v '^ *+' conftest.er1 >conftest.err
21009
cat conftest.err >&5
21010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011
(exit $ac_status); } && {
21012
test -z "$ac_c_werror_flag" ||
21013
test ! -s conftest.err
21014
} && test -s conftest$ac_exeext &&
21015
$as_test_x conftest$ac_exeext; then
21019
echo "$as_me: failed program was:" >&5
21020
sed 's/^/| /' conftest.$ac_ext >&5
21024
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21025
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21026
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21027
echo $ECHO_N "(cached) $ECHO_C" >&6
21029
cat >conftest.$ac_ext <<_ACEOF
21032
cat confdefs.h >>conftest.$ac_ext
21033
cat >>conftest.$ac_ext <<_ACEOF
21034
/* end confdefs.h. */
21035
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
21036
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21037
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
21039
/* System header to define __stub macros and hopefully few prototypes,
21040
which can conflict with char bind_textdomain_codeset (); below.
21041
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21042
<limits.h> exists even on freestanding compilers. */
21045
# include <limits.h>
21047
# include <assert.h>
21050
#undef bind_textdomain_codeset
21052
/* Override any GCC internal prototype to avoid an error.
21053
Use char because int might match the return type of a GCC
21054
builtin and then its argument prototype would still apply. */
21058
char bind_textdomain_codeset ();
21059
/* The GNU C library defines this for functions which it implements
21060
to always fail with ENOSYS. Some functions are actually named
21061
something starting with __ and the normal name is an alias. */
21062
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21069
return bind_textdomain_codeset ();
21074
rm -f conftest.$ac_objext conftest$ac_exeext
21075
if { (ac_try="$ac_link"
21076
case "(($ac_try" in
21077
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078
*) ac_try_echo=$ac_try;;
21080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081
(eval "$ac_link") 2>conftest.er1
21083
grep -v '^ *+' conftest.er1 >conftest.err
21085
cat conftest.err >&5
21086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087
(exit $ac_status); } && {
21088
test -z "$ac_c_werror_flag" ||
21089
test ! -s conftest.err
21090
} && test -s conftest$ac_exeext &&
21091
$as_test_x conftest$ac_exeext; then
21092
ac_cv_func_bind_textdomain_codeset=yes
21094
echo "$as_me: failed program was:" >&5
21095
sed 's/^/| /' conftest.$ac_ext >&5
21097
ac_cv_func_bind_textdomain_codeset=no
21100
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21101
conftest$ac_exeext conftest.$ac_ext
21103
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21104
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
21105
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21122
conftest$ac_exeext conftest.$ac_ext
21123
LIBS="$glib_save_LIBS"
21126
gt_cv_have_gettext=no
21134
if test "$gt_cv_have_gettext" = "yes" ; then
21136
cat >>confdefs.h <<\_ACEOF
21137
@%:@define ENABLE_NLS 1
21142
if test "$XGETTEXT" != ":"; then
21143
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21146
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
21147
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
21152
# We need to process the po/ directory.
21155
ac_config_commands="$ac_config_commands default-1"
21158
for lang in $ALL_LINGUAS; do
21159
GMOFILES="$GMOFILES $lang.gmo"
21160
POFILES="$POFILES $lang.po"
21175
if test "$gt_cv_have_gettext" = "yes"; then
21176
if test "x$ALL_LINGUAS" = "x"; then
21179
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
21180
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
21182
for presentlang in $ALL_LINGUAS; do
21184
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
21185
desiredlanguages="$LINGUAS"
21187
desiredlanguages="$ALL_LINGUAS"
21189
for desiredlang in $desiredlanguages; do
21190
# Use the presentlang catalog if desiredlang is
21191
# a. equal to presentlang, or
21192
# b. a variant of presentlang (because in this case,
21193
# presentlang can be used as a fallback for messages
21194
# which are not translated in the desiredlang catalog).
21195
case "$desiredlang" in
21196
"$presentlang"*) useit=yes;;
21199
if test $useit = yes; then
21200
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
21203
LINGUAS=$NEW_LINGUAS
21204
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
21205
echo "${ECHO_T}$LINGUAS" >&6; }
21208
if test -n "$LINGUAS"; then
21209
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
21214
if test -n "$ac_aux_dir"; then
21215
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
21217
if test -z "$MKINSTALLDIRS"; then
21218
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
21222
test -d po || mkdir po
21223
if test "x$srcdir" != "x."; then
21224
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
21225
posrcprefix="$srcdir/"
21227
posrcprefix="../$srcdir/"
21233
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
21234
< $srcdir/po/POTFILES.in > po/POTFILES
21236
GETTEXT_PACKAGE=cd-compiz-icon
21238
cat >>confdefs.h <<_ACEOF
21239
@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
21245
pkgdatadir=`pkg-config cairo-dock --variable=pluginsdir`/compiz-icon
21249
# Checks for programs.
21251
ac_cpp='$CPP $CPPFLAGS'
21252
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21255
if test -n "$ac_tool_prefix"; then
21256
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21257
set dummy ${ac_tool_prefix}gcc; ac_word=$2
21258
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21259
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21260
if test "${ac_cv_prog_CC+set}" = set; then
21261
echo $ECHO_N "(cached) $ECHO_C" >&6
21263
if test -n "$CC"; then
21264
ac_cv_prog_CC="$CC" # Let the user override the test.
21266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21267
for as_dir in $PATH
21270
test -z "$as_dir" && as_dir=.
21271
for ac_exec_ext in '' $ac_executable_extensions; do
21272
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21273
ac_cv_prog_CC="${ac_tool_prefix}gcc"
21274
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21284
if test -n "$CC"; then
21285
{ echo "$as_me:$LINENO: result: $CC" >&5
21286
echo "${ECHO_T}$CC" >&6; }
21288
{ echo "$as_me:$LINENO: result: no" >&5
21289
echo "${ECHO_T}no" >&6; }
21294
if test -z "$ac_cv_prog_CC"; then
21296
# Extract the first word of "gcc", so it can be a program name with args.
21297
set dummy gcc; ac_word=$2
21298
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21299
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21300
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21301
echo $ECHO_N "(cached) $ECHO_C" >&6
21303
if test -n "$ac_ct_CC"; then
21304
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21307
for as_dir in $PATH
21310
test -z "$as_dir" && as_dir=.
21311
for ac_exec_ext in '' $ac_executable_extensions; do
21312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21313
ac_cv_prog_ac_ct_CC="gcc"
21314
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21323
ac_ct_CC=$ac_cv_prog_ac_ct_CC
21324
if test -n "$ac_ct_CC"; then
21325
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21326
echo "${ECHO_T}$ac_ct_CC" >&6; }
21328
{ echo "$as_me:$LINENO: result: no" >&5
21329
echo "${ECHO_T}no" >&6; }
21332
if test "x$ac_ct_CC" = x; then
21335
case $cross_compiling:$ac_tool_warned in
21337
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21338
whose name does not start with the host triplet. If you think this
21339
configuration is useful to you, please write to autoconf@gnu.org." >&5
21340
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21341
whose name does not start with the host triplet. If you think this
21342
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21343
ac_tool_warned=yes ;;
21348
CC="$ac_cv_prog_CC"
21351
if test -z "$CC"; then
21352
if test -n "$ac_tool_prefix"; then
21353
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21354
set dummy ${ac_tool_prefix}cc; ac_word=$2
21355
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21356
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21357
if test "${ac_cv_prog_CC+set}" = set; then
21358
echo $ECHO_N "(cached) $ECHO_C" >&6
21360
if test -n "$CC"; then
21361
ac_cv_prog_CC="$CC" # Let the user override the test.
21363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21364
for as_dir in $PATH
21367
test -z "$as_dir" && as_dir=.
21368
for ac_exec_ext in '' $ac_executable_extensions; do
21369
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21370
ac_cv_prog_CC="${ac_tool_prefix}cc"
21371
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21381
if test -n "$CC"; then
21382
{ echo "$as_me:$LINENO: result: $CC" >&5
21383
echo "${ECHO_T}$CC" >&6; }
21385
{ echo "$as_me:$LINENO: result: no" >&5
21386
echo "${ECHO_T}no" >&6; }
21392
if test -z "$CC"; then
21393
# Extract the first word of "cc", so it can be a program name with args.
21394
set dummy cc; ac_word=$2
21395
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21397
if test "${ac_cv_prog_CC+set}" = set; then
21398
echo $ECHO_N "(cached) $ECHO_C" >&6
21400
if test -n "$CC"; then
21401
ac_cv_prog_CC="$CC" # Let the user override the test.
21403
ac_prog_rejected=no
21404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21405
for as_dir in $PATH
21408
test -z "$as_dir" && as_dir=.
21409
for ac_exec_ext in '' $ac_executable_extensions; do
21410
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21411
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21412
ac_prog_rejected=yes
21416
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21423
if test $ac_prog_rejected = yes; then
21424
# We found a bogon in the path, so make sure we never use it.
21425
set dummy $ac_cv_prog_CC
21427
if test $@%:@ != 0; then
21428
# We chose a different compiler from the bogus one.
21429
# However, it has the same basename, so the bogon will be chosen
21430
# first if we set CC to just the basename; use the full file name.
21432
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
21438
if test -n "$CC"; then
21439
{ echo "$as_me:$LINENO: result: $CC" >&5
21440
echo "${ECHO_T}$CC" >&6; }
21442
{ echo "$as_me:$LINENO: result: no" >&5
21443
echo "${ECHO_T}no" >&6; }
21448
if test -z "$CC"; then
21449
if test -n "$ac_tool_prefix"; then
21450
for ac_prog in cl.exe
21452
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21453
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21454
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21455
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21456
if test "${ac_cv_prog_CC+set}" = set; then
21457
echo $ECHO_N "(cached) $ECHO_C" >&6
21459
if test -n "$CC"; then
21460
ac_cv_prog_CC="$CC" # Let the user override the test.
21462
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21463
for as_dir in $PATH
21466
test -z "$as_dir" && as_dir=.
21467
for ac_exec_ext in '' $ac_executable_extensions; do
21468
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21469
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
21470
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21480
if test -n "$CC"; then
21481
{ echo "$as_me:$LINENO: result: $CC" >&5
21482
echo "${ECHO_T}$CC" >&6; }
21484
{ echo "$as_me:$LINENO: result: no" >&5
21485
echo "${ECHO_T}no" >&6; }
21489
test -n "$CC" && break
21492
if test -z "$CC"; then
21494
for ac_prog in cl.exe
21496
# Extract the first word of "$ac_prog", so it can be a program name with args.
21497
set dummy $ac_prog; ac_word=$2
21498
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21500
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21501
echo $ECHO_N "(cached) $ECHO_C" >&6
21503
if test -n "$ac_ct_CC"; then
21504
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21507
for as_dir in $PATH
21510
test -z "$as_dir" && as_dir=.
21511
for ac_exec_ext in '' $ac_executable_extensions; do
21512
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21513
ac_cv_prog_ac_ct_CC="$ac_prog"
21514
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21523
ac_ct_CC=$ac_cv_prog_ac_ct_CC
21524
if test -n "$ac_ct_CC"; then
21525
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21526
echo "${ECHO_T}$ac_ct_CC" >&6; }
21528
{ echo "$as_me:$LINENO: result: no" >&5
21529
echo "${ECHO_T}no" >&6; }
21533
test -n "$ac_ct_CC" && break
21536
if test "x$ac_ct_CC" = x; then
21539
case $cross_compiling:$ac_tool_warned in
21541
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21542
whose name does not start with the host triplet. If you think this
21543
configuration is useful to you, please write to autoconf@gnu.org." >&5
21544
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21545
whose name does not start with the host triplet. If you think this
21546
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21547
ac_tool_warned=yes ;;
21556
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
21557
See \`config.log' for more details." >&5
21558
echo "$as_me: error: no acceptable C compiler found in \$PATH
21559
See \`config.log' for more details." >&2;}
21560
{ (exit 1); exit 1; }; }
21562
# Provide some information about the compiler.
21563
echo "$as_me:$LINENO: checking for C compiler version" >&5
21564
ac_compiler=`set X $ac_compile; echo $2`
21565
{ (ac_try="$ac_compiler --version >&5"
21566
case "(($ac_try" in
21567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568
*) ac_try_echo=$ac_try;;
21570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571
(eval "$ac_compiler --version >&5") 2>&5
21573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574
(exit $ac_status); }
21575
{ (ac_try="$ac_compiler -v >&5"
21576
case "(($ac_try" in
21577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21578
*) ac_try_echo=$ac_try;;
21580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21581
(eval "$ac_compiler -v >&5") 2>&5
21583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584
(exit $ac_status); }
21585
{ (ac_try="$ac_compiler -V >&5"
21586
case "(($ac_try" in
21587
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588
*) ac_try_echo=$ac_try;;
21590
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591
(eval "$ac_compiler -V >&5") 2>&5
21593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594
(exit $ac_status); }
21596
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
21597
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
21598
if test "${ac_cv_c_compiler_gnu+set}" = set; then
21599
echo $ECHO_N "(cached) $ECHO_C" >&6
21601
cat >conftest.$ac_ext <<_ACEOF
21604
cat confdefs.h >>conftest.$ac_ext
21605
cat >>conftest.$ac_ext <<_ACEOF
21606
/* end confdefs.h. */
21619
rm -f conftest.$ac_objext
21620
if { (ac_try="$ac_compile"
21621
case "(($ac_try" in
21622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21623
*) ac_try_echo=$ac_try;;
21625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21626
(eval "$ac_compile") 2>conftest.er1
21628
grep -v '^ *+' conftest.er1 >conftest.err
21630
cat conftest.err >&5
21631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632
(exit $ac_status); } && {
21633
test -z "$ac_c_werror_flag" ||
21634
test ! -s conftest.err
21635
} && test -s conftest.$ac_objext; then
21636
ac_compiler_gnu=yes
21638
echo "$as_me: failed program was:" >&5
21639
sed 's/^/| /' conftest.$ac_ext >&5
21644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21645
ac_cv_c_compiler_gnu=$ac_compiler_gnu
21648
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
21649
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
21650
GCC=`test $ac_compiler_gnu = yes && echo yes`
21651
ac_test_CFLAGS=${CFLAGS+set}
21652
ac_save_CFLAGS=$CFLAGS
21653
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
21654
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
21655
if test "${ac_cv_prog_cc_g+set}" = set; then
21656
echo $ECHO_N "(cached) $ECHO_C" >&6
21658
ac_save_c_werror_flag=$ac_c_werror_flag
21659
ac_c_werror_flag=yes
21662
cat >conftest.$ac_ext <<_ACEOF
21665
cat confdefs.h >>conftest.$ac_ext
21666
cat >>conftest.$ac_ext <<_ACEOF
21667
/* end confdefs.h. */
21677
rm -f conftest.$ac_objext
21678
if { (ac_try="$ac_compile"
21679
case "(($ac_try" in
21680
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21681
*) ac_try_echo=$ac_try;;
21683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684
(eval "$ac_compile") 2>conftest.er1
21686
grep -v '^ *+' conftest.er1 >conftest.err
21688
cat conftest.err >&5
21689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690
(exit $ac_status); } && {
21691
test -z "$ac_c_werror_flag" ||
21692
test ! -s conftest.err
21693
} && test -s conftest.$ac_objext; then
21694
ac_cv_prog_cc_g=yes
21696
echo "$as_me: failed program was:" >&5
21697
sed 's/^/| /' conftest.$ac_ext >&5
21700
cat >conftest.$ac_ext <<_ACEOF
21703
cat confdefs.h >>conftest.$ac_ext
21704
cat >>conftest.$ac_ext <<_ACEOF
21705
/* end confdefs.h. */
21715
rm -f conftest.$ac_objext
21716
if { (ac_try="$ac_compile"
21717
case "(($ac_try" in
21718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719
*) ac_try_echo=$ac_try;;
21721
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722
(eval "$ac_compile") 2>conftest.er1
21724
grep -v '^ *+' conftest.er1 >conftest.err
21726
cat conftest.err >&5
21727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728
(exit $ac_status); } && {
21729
test -z "$ac_c_werror_flag" ||
21730
test ! -s conftest.err
21731
} && test -s conftest.$ac_objext; then
21734
echo "$as_me: failed program was:" >&5
21735
sed 's/^/| /' conftest.$ac_ext >&5
21737
ac_c_werror_flag=$ac_save_c_werror_flag
21739
cat >conftest.$ac_ext <<_ACEOF
21742
cat confdefs.h >>conftest.$ac_ext
21743
cat >>conftest.$ac_ext <<_ACEOF
21744
/* end confdefs.h. */
21754
rm -f conftest.$ac_objext
21755
if { (ac_try="$ac_compile"
21756
case "(($ac_try" in
21757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21758
*) ac_try_echo=$ac_try;;
21760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761
(eval "$ac_compile") 2>conftest.er1
21763
grep -v '^ *+' conftest.er1 >conftest.err
21765
cat conftest.err >&5
21766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767
(exit $ac_status); } && {
21768
test -z "$ac_c_werror_flag" ||
21769
test ! -s conftest.err
21770
} && test -s conftest.$ac_objext; then
21771
ac_cv_prog_cc_g=yes
21773
echo "$as_me: failed program was:" >&5
21774
sed 's/^/| /' conftest.$ac_ext >&5
21779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786
ac_c_werror_flag=$ac_save_c_werror_flag
21788
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
21789
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
21790
if test "$ac_test_CFLAGS" = set; then
21791
CFLAGS=$ac_save_CFLAGS
21792
elif test $ac_cv_prog_cc_g = yes; then
21793
if test "$GCC" = yes; then
21799
if test "$GCC" = yes; then
21805
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
21806
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
21807
if test "${ac_cv_prog_cc_c89+set}" = set; then
21808
echo $ECHO_N "(cached) $ECHO_C" >&6
21810
ac_cv_prog_cc_c89=no
21812
cat >conftest.$ac_ext <<_ACEOF
21815
cat confdefs.h >>conftest.$ac_ext
21816
cat >>conftest.$ac_ext <<_ACEOF
21817
/* end confdefs.h. */
21818
#include <stdarg.h>
21820
#include <sys/types.h>
21821
#include <sys/stat.h>
21822
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
21823
struct buf { int x; };
21824
FILE * (*rcsopen) (struct buf *, struct stat *, int);
21825
static char *e (p, i)
21831
static char *f (char * (*g) (char **, int), char **p, ...)
21836
s = g (p, va_arg (v,int));
21841
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
21842
function prototypes and stuff, but not '\xHH' hex character constants.
21843
These don't provoke an error unfortunately, instead are silently treated
21844
as 'x'. The following induces an error, until -std is added to get
21845
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
21846
array size at least. It's necessary to write '\x00'==0 to get something
21847
that's true only with -std. */
21848
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
21850
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
21851
inside strings and character constants. */
21853
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
21855
int test (int i, double x);
21856
struct s1 {int (*f) (int a);};
21857
struct s2 {int (*f) (double a);};
21858
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
21864
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
21869
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
21870
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
21872
CC="$ac_save_CC $ac_arg"
21873
rm -f conftest.$ac_objext
21874
if { (ac_try="$ac_compile"
21875
case "(($ac_try" in
21876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877
*) ac_try_echo=$ac_try;;
21879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880
(eval "$ac_compile") 2>conftest.er1
21882
grep -v '^ *+' conftest.er1 >conftest.err
21884
cat conftest.err >&5
21885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886
(exit $ac_status); } && {
21887
test -z "$ac_c_werror_flag" ||
21888
test ! -s conftest.err
21889
} && test -s conftest.$ac_objext; then
21890
ac_cv_prog_cc_c89=$ac_arg
21892
echo "$as_me: failed program was:" >&5
21893
sed 's/^/| /' conftest.$ac_ext >&5
21898
rm -f core conftest.err conftest.$ac_objext
21899
test "x$ac_cv_prog_cc_c89" != "xno" && break
21901
rm -f conftest.$ac_ext
21906
case "x$ac_cv_prog_cc_c89" in
21908
{ echo "$as_me:$LINENO: result: none needed" >&5
21909
echo "${ECHO_T}none needed" >&6; } ;;
21911
{ echo "$as_me:$LINENO: result: unsupported" >&5
21912
echo "${ECHO_T}unsupported" >&6; } ;;
21914
CC="$CC $ac_cv_prog_cc_c89"
21915
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
21916
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
21921
ac_cpp='$CPP $CPPFLAGS'
21922
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21926
depcc="$CC" am_compiler_list=
21928
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21929
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21930
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
21931
echo $ECHO_N "(cached) $ECHO_C" >&6
21933
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21934
# We make a subdir and do the tests there. Otherwise we can end up
21935
# making bogus files that we don't know about and never remove. For
21936
# instance it was reported that on HP-UX the gcc test will end up
21937
# making a dummy file named `D' -- because `-MD' means `put the output
21940
# Copy depcomp to subdir because otherwise we won't find it if we're
21941
# using a relative directory.
21942
cp "$am_depcomp" conftest.dir
21944
# We will build objects and dependencies in a subdirectory because
21945
# it helps to detect inapplicable dependency modes. For instance
21946
# both Tru64's cc and ICC support -MD to output dependencies as a
21947
# side effect of compilation, but ICC will put the dependencies in
21948
# the current directory while Tru64 will put them in the object
21952
am_cv_CC_dependencies_compiler_type=none
21953
if test "$am_compiler_list" = ""; then
21954
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21956
for depmode in $am_compiler_list; do
21957
# Setup a source with many dependencies, because some compilers
21958
# like to wrap large dependency lists on column 80 (with \), and
21959
# we should not choose a depcomp mode which is confused by this.
21961
# We need to recreate these files for each test, as the compiler may
21962
# overwrite some of them when testing with obscure command lines.
21963
# This happens at least with the AIX C compiler.
21965
for i in 1 2 3 4 5 6; do
21966
echo '#include "conftst'$i'.h"' >> sub/conftest.c
21967
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21968
# Solaris 8's {/usr,}/bin/sh.
21969
touch sub/conftst$i.h
21971
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21975
# after this tag, mechanisms are not by side-effect, so they'll
21976
# only be used when explicitly requested
21977
if test "x$enable_dependency_tracking" = xyes; then
21985
# We check with `-c' and `-o' for the sake of the "dashmstdout"
21986
# mode. It turns out that the SunPro C++ compiler does not properly
21987
# handle `-M -o', and we need to detect this.
21988
if depmode=$depmode \
21989
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21990
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21991
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21992
>/dev/null 2>conftest.err &&
21993
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21994
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21995
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21996
# icc doesn't choke on unknown options, it will just issue warnings
21997
# or remarks (even with -Werror). So we grep stderr for any message
21998
# that says an option was ignored or not supported.
21999
# When given -MP, icc 7.0 and 7.1 complain thusly:
22000
# icc: Command line warning: ignoring option '-M'; no argument required
22001
# The diagnosis changed in icc 8.0:
22002
# icc: Command line remark: option '-MP' not supported
22003
if (grep 'ignoring option' conftest.err ||
22004
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22005
am_cv_CC_dependencies_compiler_type=$depmode
22012
rm -rf conftest.dir
22014
am_cv_CC_dependencies_compiler_type=none
22018
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
22019
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
22020
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
22025
test "x$enable_dependency_tracking" != xno \
22026
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
22027
am__fastdepCC_TRUE=
22028
am__fastdepCC_FALSE='#'
22030
am__fastdepCC_TRUE='#'
22031
am__fastdepCC_FALSE=
22036
# Checks for libraries.
22037
# FIXME: Replace `main' with a function in `-lpopt':
22039
# Checks for header files.
22040
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22041
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22042
if test "${ac_cv_header_stdc+set}" = set; then
22043
echo $ECHO_N "(cached) $ECHO_C" >&6
22045
cat >conftest.$ac_ext <<_ACEOF
22048
cat confdefs.h >>conftest.$ac_ext
22049
cat >>conftest.$ac_ext <<_ACEOF
22050
/* end confdefs.h. */
22051
#include <stdlib.h>
22052
#include <stdarg.h>
22053
#include <string.h>
22064
rm -f conftest.$ac_objext
22065
if { (ac_try="$ac_compile"
22066
case "(($ac_try" in
22067
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22068
*) ac_try_echo=$ac_try;;
22070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071
(eval "$ac_compile") 2>conftest.er1
22073
grep -v '^ *+' conftest.er1 >conftest.err
22075
cat conftest.err >&5
22076
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077
(exit $ac_status); } && {
22078
test -z "$ac_c_werror_flag" ||
22079
test ! -s conftest.err
22080
} && test -s conftest.$ac_objext; then
22081
ac_cv_header_stdc=yes
22083
echo "$as_me: failed program was:" >&5
22084
sed 's/^/| /' conftest.$ac_ext >&5
22086
ac_cv_header_stdc=no
22089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091
if test $ac_cv_header_stdc = yes; then
22092
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22093
cat >conftest.$ac_ext <<_ACEOF
22096
cat confdefs.h >>conftest.$ac_ext
22097
cat >>conftest.$ac_ext <<_ACEOF
22098
/* end confdefs.h. */
22099
#include <string.h>
22102
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22103
$EGREP "memchr" >/dev/null 2>&1; then
22106
ac_cv_header_stdc=no
22112
if test $ac_cv_header_stdc = yes; then
22113
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22114
cat >conftest.$ac_ext <<_ACEOF
22117
cat confdefs.h >>conftest.$ac_ext
22118
cat >>conftest.$ac_ext <<_ACEOF
22119
/* end confdefs.h. */
22120
#include <stdlib.h>
22123
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22124
$EGREP "free" >/dev/null 2>&1; then
22127
ac_cv_header_stdc=no
22133
if test $ac_cv_header_stdc = yes; then
22134
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22135
if test "$cross_compiling" = yes; then
22138
cat >conftest.$ac_ext <<_ACEOF
22141
cat confdefs.h >>conftest.$ac_ext
22142
cat >>conftest.$ac_ext <<_ACEOF
22143
/* end confdefs.h. */
22145
#include <stdlib.h>
22146
#if ((' ' & 0x0FF) == 0x020)
22147
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22148
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22150
# define ISLOWER(c) \
22151
(('a' <= (c) && (c) <= 'i') \
22152
|| ('j' <= (c) && (c) <= 'r') \
22153
|| ('s' <= (c) && (c) <= 'z'))
22154
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22157
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22162
for (i = 0; i < 256; i++)
22163
if (XOR (islower (i), ISLOWER (i))
22164
|| toupper (i) != TOUPPER (i))
22169
rm -f conftest$ac_exeext
22170
if { (ac_try="$ac_link"
22171
case "(($ac_try" in
22172
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173
*) ac_try_echo=$ac_try;;
22175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176
(eval "$ac_link") 2>&5
22178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180
{ (case "(($ac_try" in
22181
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182
*) ac_try_echo=$ac_try;;
22184
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185
(eval "$ac_try") 2>&5
22187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188
(exit $ac_status); }; }; then
22191
echo "$as_me: program exited with status $ac_status" >&5
22192
echo "$as_me: failed program was:" >&5
22193
sed 's/^/| /' conftest.$ac_ext >&5
22195
( exit $ac_status )
22196
ac_cv_header_stdc=no
22198
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22204
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22205
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
22206
if test $ac_cv_header_stdc = yes; then
22208
cat >>confdefs.h <<\_ACEOF
22209
@%:@define STDC_HEADERS 1
22216
for ac_header in stdlib.h string.h
22218
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22219
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22220
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22221
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22222
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22223
echo $ECHO_N "(cached) $ECHO_C" >&6
22225
ac_res=`eval echo '${'$as_ac_Header'}'`
22226
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22227
echo "${ECHO_T}$ac_res" >&6; }
22229
# Is the header compilable?
22230
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22231
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22232
cat >conftest.$ac_ext <<_ACEOF
22235
cat confdefs.h >>conftest.$ac_ext
22236
cat >>conftest.$ac_ext <<_ACEOF
22237
/* end confdefs.h. */
22238
$ac_includes_default
22239
@%:@include <$ac_header>
22241
rm -f conftest.$ac_objext
22242
if { (ac_try="$ac_compile"
22243
case "(($ac_try" in
22244
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245
*) ac_try_echo=$ac_try;;
22247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248
(eval "$ac_compile") 2>conftest.er1
22250
grep -v '^ *+' conftest.er1 >conftest.err
22252
cat conftest.err >&5
22253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
(exit $ac_status); } && {
22255
test -z "$ac_c_werror_flag" ||
22256
test ! -s conftest.err
22257
} && test -s conftest.$ac_objext; then
22258
ac_header_compiler=yes
22260
echo "$as_me: failed program was:" >&5
22261
sed 's/^/| /' conftest.$ac_ext >&5
22263
ac_header_compiler=no
22266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22268
echo "${ECHO_T}$ac_header_compiler" >&6; }
22270
# Is the header present?
22271
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22272
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22273
cat >conftest.$ac_ext <<_ACEOF
22276
cat confdefs.h >>conftest.$ac_ext
22277
cat >>conftest.$ac_ext <<_ACEOF
22278
/* end confdefs.h. */
22279
@%:@include <$ac_header>
22281
if { (ac_try="$ac_cpp conftest.$ac_ext"
22282
case "(($ac_try" in
22283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284
*) ac_try_echo=$ac_try;;
22286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22289
grep -v '^ *+' conftest.er1 >conftest.err
22291
cat conftest.err >&5
22292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293
(exit $ac_status); } >/dev/null && {
22294
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22295
test ! -s conftest.err
22297
ac_header_preproc=yes
22299
echo "$as_me: failed program was:" >&5
22300
sed 's/^/| /' conftest.$ac_ext >&5
22302
ac_header_preproc=no
22305
rm -f conftest.err conftest.$ac_ext
22306
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22307
echo "${ECHO_T}$ac_header_preproc" >&6; }
22309
# So? What about this header?
22310
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22312
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22313
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22314
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22315
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22316
ac_header_preproc=yes
22319
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22320
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22321
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22322
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22323
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22324
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22325
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22326
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22327
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22328
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22329
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22330
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22332
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
22333
@%:@@%:@ Report this to ChAnGFu (changfu@hollowproject.org) () @%:@@%:@
22334
@%:@@%:@ ----------------------------------------------------- @%:@@%:@
22336
) | sed "s/^/$as_me: WARNING: /" >&2
22339
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22340
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22341
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22342
echo $ECHO_N "(cached) $ECHO_C" >&6
22344
eval "$as_ac_Header=\$ac_header_preproc"
22346
ac_res=`eval echo '${'$as_ac_Header'}'`
22347
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22348
echo "${ECHO_T}$ac_res" >&6; }
22351
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22352
cat >>confdefs.h <<_ACEOF
22353
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22361
# Checks for typedefs, structures, and compiler characteristics.
22362
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22363
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22364
if test "${ac_cv_c_const+set}" = set; then
22365
echo $ECHO_N "(cached) $ECHO_C" >&6
22367
cat >conftest.$ac_ext <<_ACEOF
22370
cat confdefs.h >>conftest.$ac_ext
22371
cat >>conftest.$ac_ext <<_ACEOF
22372
/* end confdefs.h. */
22377
/* FIXME: Include the comments suggested by Paul. */
22378
#ifndef __cplusplus
22379
/* Ultrix mips cc rejects this. */
22380
typedef int charset[2];
22382
/* SunOS 4.1.1 cc rejects this. */
22383
char const *const *pcpcc;
22385
/* NEC SVR4.0.2 mips cc rejects this. */
22386
struct point {int x, y;};
22387
static struct point const zero = {0,0};
22388
/* AIX XL C 1.02.0.0 rejects this.
22389
It does not let you subtract one const X* pointer from another in
22390
an arm of an if-expression whose if-part is not a constant
22392
const char *g = "string";
22393
pcpcc = &g + (g ? g-g : 0);
22394
/* HPUX 7.0 cc rejects these. */
22396
ppc = (char**) pcpcc;
22397
pcpcc = (char const *const *) ppc;
22398
{ /* SCO 3.2v4 cc rejects this. */
22400
char const *s = 0 ? (char *) 0 : (char const *) 0;
22405
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
22406
int x[] = {25, 17};
22407
const int *foo = &x[0];
22410
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22411
typedef const int *iptr;
22415
{ /* AIX XL C 1.02.0.0 rejects this saying
22416
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22417
struct s { int j; const int *ap[3]; };
22418
struct s *b; b->j = 5;
22420
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22421
const int foo = 10;
22422
if (!foo) return 0;
22424
return !cs[0] && !zero.x;
22431
rm -f conftest.$ac_objext
22432
if { (ac_try="$ac_compile"
22433
case "(($ac_try" in
22434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435
*) ac_try_echo=$ac_try;;
22437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438
(eval "$ac_compile") 2>conftest.er1
22440
grep -v '^ *+' conftest.er1 >conftest.err
22442
cat conftest.err >&5
22443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444
(exit $ac_status); } && {
22445
test -z "$ac_c_werror_flag" ||
22446
test ! -s conftest.err
22447
} && test -s conftest.$ac_objext; then
22450
echo "$as_me: failed program was:" >&5
22451
sed 's/^/| /' conftest.$ac_ext >&5
22456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22458
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22459
echo "${ECHO_T}$ac_cv_c_const" >&6; }
22460
if test $ac_cv_c_const = no; then
22462
cat >>confdefs.h <<\_ACEOF
22468
{ echo "$as_me:$LINENO: checking for pid_t" >&5
22469
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
22470
if test "${ac_cv_type_pid_t+set}" = set; then
22471
echo $ECHO_N "(cached) $ECHO_C" >&6
22473
cat >conftest.$ac_ext <<_ACEOF
22476
cat confdefs.h >>conftest.$ac_ext
22477
cat >>conftest.$ac_ext <<_ACEOF
22478
/* end confdefs.h. */
22479
$ac_includes_default
22480
typedef pid_t ac__type_new_;
22484
if ((ac__type_new_ *) 0)
22486
if (sizeof (ac__type_new_))
22492
rm -f conftest.$ac_objext
22493
if { (ac_try="$ac_compile"
22494
case "(($ac_try" in
22495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22496
*) ac_try_echo=$ac_try;;
22498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499
(eval "$ac_compile") 2>conftest.er1
22501
grep -v '^ *+' conftest.er1 >conftest.err
22503
cat conftest.err >&5
22504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505
(exit $ac_status); } && {
22506
test -z "$ac_c_werror_flag" ||
22507
test ! -s conftest.err
22508
} && test -s conftest.$ac_objext; then
22509
ac_cv_type_pid_t=yes
22511
echo "$as_me: failed program was:" >&5
22512
sed 's/^/| /' conftest.$ac_ext >&5
22514
ac_cv_type_pid_t=no
22517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22519
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22520
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
22521
if test $ac_cv_type_pid_t = yes; then
22525
cat >>confdefs.h <<_ACEOF
22526
@%:@define pid_t int
22532
# Checks for library functions.
22534
for ac_func in sscanf
22536
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22537
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22538
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22539
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22540
echo $ECHO_N "(cached) $ECHO_C" >&6
22542
cat >conftest.$ac_ext <<_ACEOF
22545
cat confdefs.h >>conftest.$ac_ext
22546
cat >>conftest.$ac_ext <<_ACEOF
22547
/* end confdefs.h. */
22548
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22549
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22550
#define $ac_func innocuous_$ac_func
22552
/* System header to define __stub macros and hopefully few prototypes,
22553
which can conflict with char $ac_func (); below.
22554
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22555
<limits.h> exists even on freestanding compilers. */
22558
# include <limits.h>
22560
# include <assert.h>
22565
/* Override any GCC internal prototype to avoid an error.
22566
Use char because int might match the return type of a GCC
22567
builtin and then its argument prototype would still apply. */
22572
/* The GNU C library defines this for functions which it implements
22573
to always fail with ENOSYS. Some functions are actually named
22574
something starting with __ and the normal name is an alias. */
22575
#if defined __stub_$ac_func || defined __stub___$ac_func
22582
return $ac_func ();
22587
rm -f conftest.$ac_objext conftest$ac_exeext
22588
if { (ac_try="$ac_link"
22589
case "(($ac_try" in
22590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591
*) ac_try_echo=$ac_try;;
22593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594
(eval "$ac_link") 2>conftest.er1
22596
grep -v '^ *+' conftest.er1 >conftest.err
22598
cat conftest.err >&5
22599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600
(exit $ac_status); } && {
22601
test -z "$ac_c_werror_flag" ||
22602
test ! -s conftest.err
22603
} && test -s conftest$ac_exeext &&
22604
$as_test_x conftest$ac_exeext; then
22605
eval "$as_ac_var=yes"
22607
echo "$as_me: failed program was:" >&5
22608
sed 's/^/| /' conftest.$ac_ext >&5
22610
eval "$as_ac_var=no"
22613
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22614
conftest$ac_exeext conftest.$ac_ext
22616
ac_res=`eval echo '${'$as_ac_var'}'`
22617
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22618
echo "${ECHO_T}$ac_res" >&6; }
22619
if test `eval echo '${'$as_ac_var'}'` = yes; then
22620
cat >>confdefs.h <<_ACEOF
22621
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22630
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22631
if test -n "$ac_tool_prefix"; then
22632
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22633
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22634
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22636
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22637
echo $ECHO_N "(cached) $ECHO_C" >&6
22639
case $PKG_CONFIG in
22641
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22645
for as_dir in $PATH
22648
test -z "$as_dir" && as_dir=.
22649
for ac_exec_ext in '' $ac_executable_extensions; do
22650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22651
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22652
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22662
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22663
if test -n "$PKG_CONFIG"; then
22664
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22665
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22667
{ echo "$as_me:$LINENO: result: no" >&5
22668
echo "${ECHO_T}no" >&6; }
22673
if test -z "$ac_cv_path_PKG_CONFIG"; then
22674
ac_pt_PKG_CONFIG=$PKG_CONFIG
22675
# Extract the first word of "pkg-config", so it can be a program name with args.
22676
set dummy pkg-config; ac_word=$2
22677
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22678
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22679
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22680
echo $ECHO_N "(cached) $ECHO_C" >&6
22682
case $ac_pt_PKG_CONFIG in
22684
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22688
for as_dir in $PATH
22691
test -z "$as_dir" && as_dir=.
22692
for ac_exec_ext in '' $ac_executable_extensions; do
22693
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22694
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22695
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22705
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22706
if test -n "$ac_pt_PKG_CONFIG"; then
22707
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22708
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22710
{ echo "$as_me:$LINENO: result: no" >&5
22711
echo "${ECHO_T}no" >&6; }
22714
if test "x$ac_pt_PKG_CONFIG" = x; then
22717
case $cross_compiling:$ac_tool_warned in
22719
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22720
whose name does not start with the host triplet. If you think this
22721
configuration is useful to you, please write to autoconf@gnu.org." >&5
22722
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22723
whose name does not start with the host triplet. If you think this
22724
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22725
ac_tool_warned=yes ;;
22727
PKG_CONFIG=$ac_pt_PKG_CONFIG
22730
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22734
if test -n "$PKG_CONFIG"; then
22735
_pkg_min_version=0.9.0
22736
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22737
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22738
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22739
{ echo "$as_me:$LINENO: result: yes" >&5
22740
echo "${ECHO_T}yes" >&6; }
22742
{ echo "$as_me:$LINENO: result: no" >&5
22743
echo "${ECHO_T}no" >&6; }
22750
{ echo "$as_me:$LINENO: checking for PACKAGE" >&5
22751
echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
22753
if test -n "$PKG_CONFIG"; then
22754
if test -n "$PACKAGE_CFLAGS"; then
22755
pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
22757
if test -n "$PKG_CONFIG" && \
22758
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-dock\"") >&5
22759
($PKG_CONFIG --exists --print-errors "cairo-dock") 2>&5
22761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762
(exit $ac_status); }; then
22763
pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "cairo-dock" 2>/dev/null`
22771
if test -n "$PKG_CONFIG"; then
22772
if test -n "$PACKAGE_LIBS"; then
22773
pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
22775
if test -n "$PKG_CONFIG" && \
22776
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-dock\"") >&5
22777
($PKG_CONFIG --exists --print-errors "cairo-dock") 2>&5
22779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780
(exit $ac_status); }; then
22781
pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "cairo-dock" 2>/dev/null`
22792
if test $pkg_failed = yes; then
22794
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22795
_pkg_short_errors_supported=yes
22797
_pkg_short_errors_supported=no
22799
if test $_pkg_short_errors_supported = yes; then
22800
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-dock"`
22802
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-dock"`
22804
# Put the nasty error message in config.log where it belongs
22805
echo "$PACKAGE_PKG_ERRORS" >&5
22807
{ { echo "$as_me:$LINENO: error: Package requirements (cairo-dock) were not met:
22809
$PACKAGE_PKG_ERRORS
22811
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22812
installed software in a non-standard prefix.
22814
Alternatively, you may set the environment variables PACKAGE_CFLAGS
22815
and PACKAGE_LIBS to avoid the need to call pkg-config.
22816
See the pkg-config man page for more details.
22818
echo "$as_me: error: Package requirements (cairo-dock) were not met:
22820
$PACKAGE_PKG_ERRORS
22822
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22823
installed software in a non-standard prefix.
22825
Alternatively, you may set the environment variables PACKAGE_CFLAGS
22826
and PACKAGE_LIBS to avoid the need to call pkg-config.
22827
See the pkg-config man page for more details.
22829
{ (exit 1); exit 1; }; }
22830
elif test $pkg_failed = untried; then
22831
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22832
is in your PATH or set the PKG_CONFIG environment variable to the full
22833
path to pkg-config.
22835
Alternatively, you may set the environment variables PACKAGE_CFLAGS
22836
and PACKAGE_LIBS to avoid the need to call pkg-config.
22837
See the pkg-config man page for more details.
22839
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22840
See \`config.log' for more details." >&5
22841
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22842
is in your PATH or set the PKG_CONFIG environment variable to the full
22843
path to pkg-config.
22845
Alternatively, you may set the environment variables PACKAGE_CFLAGS
22846
and PACKAGE_LIBS to avoid the need to call pkg-config.
22847
See the pkg-config man page for more details.
22849
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22850
See \`config.log' for more details." >&2;}
22851
{ (exit 1); exit 1; }; }
22853
PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
22854
PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
22855
{ echo "$as_me:$LINENO: result: yes" >&5
22856
echo "${ECHO_T}yes" >&6; }
22860
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile data/readme data/compiz-icon.conf"
22862
cat >confcache <<\_ACEOF
22863
# This file is a shell script that caches the results of configure
22864
# tests run on this system so they can be shared between configure
22865
# scripts and configure runs, see configure's option --config-cache.
22866
# It is not useful on other systems. If it contains results you don't
22867
# want to keep, you may remove or edit it.
22869
# config.status only pays attention to the cache file if you give it
22870
# the --recheck option to rerun configure.
22872
# `ac_cv_env_foo' variables (set or unset) will be overridden when
22873
# loading this file, other *unset* `ac_cv_foo' will be assigned the
22874
# following values.
22878
# The following way of writing the cache mishandles newlines in values,
22879
# but we know of no workaround that is simple, portable, and efficient.
22880
# So, we kill variables containing newlines.
22881
# Ultrix sh set writes to stderr and can't be redirected directly,
22882
# and sets the high bit in the cache file unless we assign to the vars.
22884
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22885
eval ac_val=\$$ac_var
22889
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22890
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22893
_ | IFS | as_nl) ;; #(
22894
*) $as_unset $ac_var ;;
22900
case $as_nl`(ac_space=' '; set) 2>&1` in #(
22901
*${as_nl}ac_space=\ *)
22902
# `set' does not quote correctly, so add quotes (double-quote
22903
# substitution turns \\\\ into \\, and sed turns \\ into \).
22906
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22909
# `set' quotes correctly as required by POSIX, so do not add quotes.
22910
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22919
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22921
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22923
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22924
if test -w "$cache_file"; then
22925
test "x$cache_file" != "x/dev/null" &&
22926
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
22927
echo "$as_me: updating cache $cache_file" >&6;}
22928
cat confcache >$cache_file
22930
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22931
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22936
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22937
# Let make expand exec_prefix.
22938
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22940
DEFS=-DHAVE_CONFIG_H
22944
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
22945
# 1. Remove the extension, and $U if already installed.
22946
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22947
ac_i=`echo "$ac_i" | sed "$ac_script"`
22948
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22949
# will be set to the directory where LIBOBJS objects are built.
22950
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22951
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22953
LIB@&t@OBJS=$ac_libobjs
22955
LTLIBOBJS=$ac_ltlibobjs
22958
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22959
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22960
Usually this means the macro was only invoked conditionally." >&5
22961
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22962
Usually this means the macro was only invoked conditionally." >&2;}
22963
{ (exit 1); exit 1; }; }
22965
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22966
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22967
Usually this means the macro was only invoked conditionally." >&5
22968
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22969
Usually this means the macro was only invoked conditionally." >&2;}
22970
{ (exit 1); exit 1; }; }
22972
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22973
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22974
Usually this means the macro was only invoked conditionally." >&5
22975
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22976
Usually this means the macro was only invoked conditionally." >&2;}
22977
{ (exit 1); exit 1; }; }
22980
ac_config_commands="$ac_config_commands po/stamp-it"
22983
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22984
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22985
Usually this means the macro was only invoked conditionally." >&5
22986
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22987
Usually this means the macro was only invoked conditionally." >&2;}
22988
{ (exit 1); exit 1; }; }
22991
: ${CONFIG_STATUS=./config.status}
22992
ac_clean_files_save=$ac_clean_files
22993
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22994
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22995
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22996
cat >$CONFIG_STATUS <<_ACEOF
22998
# Generated by $as_me.
22999
# Run this file to recreate the current configuration.
23000
# Compiler output produced by configure, useful for debugging
23001
# configure, is in config.log if it exists.
23004
ac_cs_recheck=false
23006
SHELL=\${CONFIG_SHELL-$SHELL}
23009
cat >>$CONFIG_STATUS <<\_ACEOF
23010
## --------------------- ##
23011
## M4sh Initialization. ##
23012
## --------------------- ##
23014
# Be more Bourne compatible
23015
DUALCASE=1; export DUALCASE # for MKS sh
23016
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23019
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23020
# is contrary to our usage. Disable this feature.
23021
alias -g '${1+"$@"}'='"$@"'
23022
setopt NO_GLOB_SUBST
23024
case `(set -o) 2>/dev/null` in
23025
*posix*) set -o posix ;;
23034
# Avoid depending upon Character Ranges.
23035
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23036
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23037
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23038
as_cr_digits='0123456789'
23039
as_cr_alnum=$as_cr_Letters$as_cr_digits
23041
# The user is always right.
23042
if test "${PATH_SEPARATOR+set}" != set; then
23043
echo "#! /bin/sh" >conf$$.sh
23044
echo "exit 0" >>conf$$.sh
23046
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23054
# Support unset when possible.
23055
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23063
# We need space, tab and new line, in precisely that order. Quoting is
23064
# there to prevent editors from complaining about space-tab.
23065
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23066
# splitting by setting IFS to empty value.)
23071
# Find who we are. Look in the path if we contain no directory separator.
23073
*[\\/]* ) as_myself=$0 ;;
23074
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23075
for as_dir in $PATH
23078
test -z "$as_dir" && as_dir=.
23079
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23085
# We did not find ourselves, most probably we were run as `sh COMMAND'
23086
# in which case we are not to be found in the path.
23087
if test "x$as_myself" = x; then
23090
if test ! -f "$as_myself"; then
23091
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23092
{ (exit 1); exit 1; }
23095
# Work around bugs in pre-3.0 UWIN ksh.
23096
for as_var in ENV MAIL MAILPATH
23097
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23105
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23106
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23107
LC_TELEPHONE LC_TIME
23109
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23110
eval $as_var=C; export $as_var
23112
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23116
# Required to use basename.
23117
if expr a : '\(a\)' >/dev/null 2>&1 &&
23118
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23124
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23125
as_basename=basename
23131
# Name of the executable.
23132
as_me=`$as_basename -- "$0" ||
23133
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23134
X"$0" : 'X\(//\)$' \| \
23135
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23137
sed '/^.*\/\([^/][^/]*\)\/*$/{
23156
as_lineno_1=$LINENO
23157
as_lineno_2=$LINENO
23158
test "x$as_lineno_1" != "x$as_lineno_2" &&
23159
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23161
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23162
# uniformly replaced by the line number. The first 'sed' inserts a
23163
# line-number line after each line using $LINENO; the second 'sed'
23164
# does the real work. The second script uses 'N' to pair each
23165
# line-number line with the line containing $LINENO, and appends
23166
# trailing '-' during substitution so that $LINENO is not a special
23167
# case at line end.
23168
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23169
# scripts with optimization help from Paolo Bonzini. Blame Lee
23170
# E. McMahon (1931-1989) for sed's syntax. :-)
23182
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23185
' >$as_me.lineno &&
23186
chmod +x "$as_me.lineno" ||
23187
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23188
{ (exit 1); exit 1; }; }
23190
# Don't try to exec as it changes $[0], causing all sort of problems
23191
# (the dirname of $[0] is not the place where we might find the
23192
# original and so on. Autoconf is especially sensitive to this).
23193
. "./$as_me.lineno"
23194
# Exit status is that of the last command.
23199
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23205
ECHO_C= ECHO_N= ECHO_T=
23206
case `echo -n x` in
23208
case `echo 'x\c'` in
23209
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
23216
if expr a : '\(a\)' >/dev/null 2>&1 &&
23217
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23223
rm -f conf$$ conf$$.exe conf$$.file
23224
if test -d conf$$.dir; then
23225
rm -f conf$$.dir/conf$$.file
23231
if ln -s conf$$.file conf$$ 2>/dev/null; then
23233
# ... but there are two gotchas:
23234
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23235
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23236
# In both cases, we have to default to `cp -p'.
23237
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23239
elif ln conf$$.file conf$$ 2>/dev/null; then
23244
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23245
rmdir conf$$.dir 2>/dev/null
23247
if mkdir -p . 2>/dev/null; then
23250
test -d ./-p && rmdir ./-p
23254
if test -x / >/dev/null 2>&1; then
23255
as_test_x='test -x'
23257
if ls -dL / >/dev/null 2>&1; then
23264
if test -d "$1"; then
23270
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23271
???[sx]*):;;*)false;;esac;fi
23275
as_executable_p=$as_test_x
23277
# Sed expression to map a string onto a valid CPP name.
23278
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23280
# Sed expression to map a string onto a valid variable name.
23281
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23286
# Save the log message, to keep $[0] and so on meaningful, and to
23287
# report actual input values of CONFIG_FILES etc. instead of their
23288
# values after options handling.
23290
This file was extended by cd-compiz-icon $as_me 0.0.1, which was
23291
generated by GNU Autoconf 2.61. Invocation command line was
23293
CONFIG_FILES = $CONFIG_FILES
23294
CONFIG_HEADERS = $CONFIG_HEADERS
23295
CONFIG_LINKS = $CONFIG_LINKS
23296
CONFIG_COMMANDS = $CONFIG_COMMANDS
23299
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23304
cat >>$CONFIG_STATUS <<_ACEOF
23305
# Files that config.status was made for.
23306
config_files="$ac_config_files"
23307
config_headers="$ac_config_headers"
23308
config_commands="$ac_config_commands"
23312
cat >>$CONFIG_STATUS <<\_ACEOF
23314
\`$as_me' instantiates files from templates according to the
23315
current configuration.
23317
Usage: $0 [OPTIONS] [FILE]...
23319
-h, --help print this help, then exit
23320
-V, --version print version number and configuration settings, then exit
23321
-q, --quiet do not print progress messages
23322
-d, --debug don't remove temporary files
23323
--recheck update $as_me by reconfiguring in the same conditions
23324
--file=FILE[:TEMPLATE]
23325
instantiate the configuration file FILE
23326
--header=FILE[:TEMPLATE]
23327
instantiate the configuration header FILE
23329
Configuration files:
23332
Configuration headers:
23335
Configuration commands:
23338
Report bugs to <bug-autoconf@gnu.org>."
23341
cat >>$CONFIG_STATUS <<_ACEOF
23343
cd-compiz-icon config.status 0.0.1
23344
configured by $0, generated by GNU Autoconf 2.61,
23345
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23347
Copyright (C) 2006 Free Software Foundation, Inc.
23348
This config.status script is free software; the Free Software Foundation
23349
gives unlimited permission to copy, distribute and modify it."
23356
cat >>$CONFIG_STATUS <<\_ACEOF
23357
# If no file are specified by the user, then we need to provide default
23358
# value. By we need to know if files were specified by the user.
23364
ac_option=`expr "X$1" : 'X\([^=]*\)='`
23365
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23376
# Handling of the options.
23377
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23379
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23380
echo "$ac_cs_version"; exit ;;
23381
--debug | --debu | --deb | --de | --d | -d )
23383
--file | --fil | --fi | --f )
23385
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23386
ac_need_defaults=false;;
23387
--header | --heade | --head | --hea )
23389
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23390
ac_need_defaults=false;;
23392
# Conflict between --help and --header
23393
{ echo "$as_me: error: ambiguous option: $1
23394
Try \`$0 --help' for more information." >&2
23395
{ (exit 1); exit 1; }; };;
23396
--help | --hel | -h )
23397
echo "$ac_cs_usage"; exit ;;
23398
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
23399
| -silent | --silent | --silen | --sile | --sil | --si | --s)
23402
# This is an error.
23403
-*) { echo "$as_me: error: unrecognized option: $1
23404
Try \`$0 --help' for more information." >&2
23405
{ (exit 1); exit 1; }; } ;;
23407
*) ac_config_targets="$ac_config_targets $1"
23408
ac_need_defaults=false ;;
23414
ac_configure_extra_args=
23416
if $ac_cs_silent; then
23418
ac_configure_extra_args="$ac_configure_extra_args --silent"
23422
cat >>$CONFIG_STATUS <<_ACEOF
23423
if \$ac_cs_recheck; then
23424
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23425
CONFIG_SHELL=$SHELL
23426
export CONFIG_SHELL
23427
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23431
cat >>$CONFIG_STATUS <<\_ACEOF
23435
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
23436
@%:@@%:@ Running $as_me. @%:@@%:@
23442
cat >>$CONFIG_STATUS <<_ACEOF
23446
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23447
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23448
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23449
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
23454
cat >>$CONFIG_STATUS <<\_ACEOF
23456
# Handling of arguments.
23457
for ac_config_target in $ac_config_targets
23459
case $ac_config_target in
23460
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23461
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23462
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23463
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23464
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23465
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23466
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23467
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
23468
"data/readme") CONFIG_FILES="$CONFIG_FILES data/readme" ;;
23469
"data/compiz-icon.conf") CONFIG_FILES="$CONFIG_FILES data/compiz-icon.conf" ;;
23470
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23472
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23473
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23474
{ (exit 1); exit 1; }; };;
23479
# If the user did not use the arguments to specify the items to instantiate,
23480
# then the envvar interface is used. Set only those that are not.
23481
# We use the long form for the default assignment because of an extremely
23482
# bizarre bug on SunOS 4.1.3.
23483
if $ac_need_defaults; then
23484
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23485
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23486
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23489
# Have a temporary directory for convenience. Make it in the build tree
23490
# simply because there is no reason against having it here, and in addition,
23491
# creating and moving files from /tmp can sometimes cause problems.
23492
# Hook for its removal unless debugging.
23493
# Note that there is a small window in which the directory will not be cleaned:
23494
# after its creation but before its name has been assigned to `$tmp'.
23498
trap 'exit_status=$?
23499
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23501
trap '{ (exit 1); exit 1; }' 1 2 13 15
23503
# Create a (secure) tmp directory for tmp files.
23506
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23507
test -n "$tmp" && test -d "$tmp"
23510
tmp=./conf$$-$RANDOM
23511
(umask 077 && mkdir "$tmp")
23514
echo "$me: cannot create a temporary directory in ." >&2
23515
{ (exit 1); exit 1; }
23519
# Set up the sed scripts for CONFIG_FILES section.
23522
# No need to generate the scripts if there are no CONFIG_FILES.
23523
# This happens for instance when ./config.status config.h
23524
if test -n "$CONFIG_FILES"; then
23531
for ac_last_try in false false false false false :; do
23532
cat >conf$$subs.sed <<_ACEOF
23533
SHELL!$SHELL$ac_delim
23534
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23535
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23536
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23537
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23538
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23539
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23540
exec_prefix!$exec_prefix$ac_delim
23541
prefix!$prefix$ac_delim
23542
program_transform_name!$program_transform_name$ac_delim
23543
bindir!$bindir$ac_delim
23544
sbindir!$sbindir$ac_delim
23545
libexecdir!$libexecdir$ac_delim
23546
datarootdir!$datarootdir$ac_delim
23547
datadir!$datadir$ac_delim
23548
sysconfdir!$sysconfdir$ac_delim
23549
sharedstatedir!$sharedstatedir$ac_delim
23550
localstatedir!$localstatedir$ac_delim
23551
includedir!$includedir$ac_delim
23552
oldincludedir!$oldincludedir$ac_delim
23553
docdir!$docdir$ac_delim
23554
infodir!$infodir$ac_delim
23555
htmldir!$htmldir$ac_delim
23556
dvidir!$dvidir$ac_delim
23557
pdfdir!$pdfdir$ac_delim
23558
psdir!$psdir$ac_delim
23559
libdir!$libdir$ac_delim
23560
localedir!$localedir$ac_delim
23561
mandir!$mandir$ac_delim
23562
DEFS!$DEFS$ac_delim
23563
ECHO_C!$ECHO_C$ac_delim
23564
ECHO_N!$ECHO_N$ac_delim
23565
ECHO_T!$ECHO_T$ac_delim
23566
LIBS!$LIBS$ac_delim
23567
build_alias!$build_alias$ac_delim
23568
host_alias!$host_alias$ac_delim
23569
target_alias!$target_alias$ac_delim
23570
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23571
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23572
INSTALL_DATA!$INSTALL_DATA$ac_delim
23573
CYGPATH_W!$CYGPATH_W$ac_delim
23574
PACKAGE!$PACKAGE$ac_delim
23575
VERSION!$VERSION$ac_delim
23576
ACLOCAL!$ACLOCAL$ac_delim
23577
AUTOCONF!$AUTOCONF$ac_delim
23578
AUTOMAKE!$AUTOMAKE$ac_delim
23579
AUTOHEADER!$AUTOHEADER$ac_delim
23580
MAKEINFO!$MAKEINFO$ac_delim
23581
install_sh!$install_sh$ac_delim
23582
STRIP!$STRIP$ac_delim
23583
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23584
mkdir_p!$mkdir_p$ac_delim
23586
SET_MAKE!$SET_MAKE$ac_delim
23587
am__leading_dot!$am__leading_dot$ac_delim
23588
AMTAR!$AMTAR$ac_delim
23589
am__tar!$am__tar$ac_delim
23590
am__untar!$am__untar$ac_delim
23591
build!$build$ac_delim
23592
build_cpu!$build_cpu$ac_delim
23593
build_vendor!$build_vendor$ac_delim
23594
build_os!$build_os$ac_delim
23595
host!$host$ac_delim
23596
host_cpu!$host_cpu$ac_delim
23597
host_vendor!$host_vendor$ac_delim
23598
host_os!$host_os$ac_delim
23600
CFLAGS!$CFLAGS$ac_delim
23601
LDFLAGS!$LDFLAGS$ac_delim
23602
CPPFLAGS!$CPPFLAGS$ac_delim
23603
ac_ct_CC!$ac_ct_CC$ac_delim
23604
EXEEXT!$EXEEXT$ac_delim
23605
OBJEXT!$OBJEXT$ac_delim
23606
DEPDIR!$DEPDIR$ac_delim
23607
am__include!$am__include$ac_delim
23608
am__quote!$am__quote$ac_delim
23609
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23610
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23611
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23612
CCDEPMODE!$CCDEPMODE$ac_delim
23613
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23614
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23616
GREP!$GREP$ac_delim
23617
EGREP!$EGREP$ac_delim
23618
LN_S!$LN_S$ac_delim
23619
ECHO!$ECHO$ac_delim
23621
RANLIB!$RANLIB$ac_delim
23624
CXXFLAGS!$CXXFLAGS$ac_delim
23625
ac_ct_CXX!$ac_ct_CXX$ac_delim
23626
CXXDEPMODE!$CXXDEPMODE$ac_delim
23627
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23628
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23629
CXXCPP!$CXXCPP$ac_delim
23632
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23634
elif $ac_last_try; then
23635
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23636
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23637
{ (exit 1); exit 1; }; }
23639
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23643
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23644
if test -n "$ac_eof"; then
23645
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23646
ac_eof=`expr $ac_eof + 1`
23649
cat >>$CONFIG_STATUS <<_ACEOF
23650
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23651
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23654
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23655
s/^/s,@/; s/!/@,|#_!!_#|/
23658
s/'"$ac_delim"'$/,g/; t
23660
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23661
' >>$CONFIG_STATUS <conf$$subs.sed
23662
rm -f conf$$subs.sed
23663
cat >>$CONFIG_STATUS <<_ACEOF
23669
for ac_last_try in false false false false false :; do
23670
cat >conf$$subs.sed <<_ACEOF
23672
FFLAGS!$FFLAGS$ac_delim
23673
ac_ct_F77!$ac_ct_F77$ac_delim
23674
LIBTOOL!$LIBTOOL$ac_delim
23675
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23676
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23677
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23678
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23679
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23680
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23681
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23682
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23683
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23684
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23685
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23686
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23687
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23688
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23689
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23690
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23691
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23692
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23693
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23694
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23695
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23696
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23697
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23698
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23699
DATADIRNAME!$DATADIRNAME$ac_delim
23700
USE_NLS!$USE_NLS$ac_delim
23701
MSGFMT!$MSGFMT$ac_delim
23702
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23703
GMSGFMT!$GMSGFMT$ac_delim
23704
XGETTEXT!$XGETTEXT$ac_delim
23705
CATALOGS!$CATALOGS$ac_delim
23706
CATOBJEXT!$CATOBJEXT$ac_delim
23707
GMOFILES!$GMOFILES$ac_delim
23708
INSTOBJEXT!$INSTOBJEXT$ac_delim
23709
INTLLIBS!$INTLLIBS$ac_delim
23710
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23711
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23712
POFILES!$POFILES$ac_delim
23713
POSUB!$POSUB$ac_delim
23714
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23715
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23716
pkgdatadir!$pkgdatadir$ac_delim
23717
PKG_CONFIG!$PKG_CONFIG$ac_delim
23718
PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
23719
PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
23720
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
23721
LTLIBOBJS!$LTLIBOBJS$ac_delim
23724
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
23726
elif $ac_last_try; then
23727
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23728
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23729
{ (exit 1); exit 1; }; }
23731
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23735
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23736
if test -n "$ac_eof"; then
23737
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23738
ac_eof=`expr $ac_eof + 1`
23741
cat >>$CONFIG_STATUS <<_ACEOF
23742
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23743
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23746
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23747
s/^/s,@/; s/!/@,|#_!!_#|/
23750
s/'"$ac_delim"'$/,g/; t
23752
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23753
' >>$CONFIG_STATUS <conf$$subs.sed
23754
rm -f conf$$subs.sed
23755
cat >>$CONFIG_STATUS <<_ACEOF
23762
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23763
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23764
# trailing colons and then remove the whole line if VPATH becomes empty
23765
# (actually we leave an empty line to preserve line numbers).
23766
if test "x$srcdir" = x.; then
23767
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23768
s/:*\$(srcdir):*/:/
23769
s/:*\${srcdir}:*/:/
23771
s/^\([^=]*=[ ]*\):*/\1/
23777
cat >>$CONFIG_STATUS <<\_ACEOF
23778
fi # test -n "$CONFIG_FILES"
23781
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23784
:[FHLC]) ac_mode=$ac_tag; continue;;
23786
case $ac_mode$ac_tag in
23788
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23789
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23790
{ (exit 1); exit 1; }; };;
23791
:[FH]-) ac_tag=-:-;;
23792
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23809
-) ac_f="$tmp/stdin";;
23810
*) # Look for the file first in the build tree, then in the source tree
23811
# (if the path is not absolute). The absolute path cannot be DOS-style,
23812
# because $ac_f cannot contain `:'.
23816
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23818
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23819
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23820
{ (exit 1); exit 1; }; };;
23822
ac_file_inputs="$ac_file_inputs $ac_f"
23825
# Let's still pretend it is `configure' which instantiates (i.e., don't
23826
# use $as_me), people would be surprised to read:
23827
# /* config.h. Generated by config.status. */
23828
configure_input="Generated from "`IFS=:
23829
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23830
if test x"$ac_file" != x-; then
23831
configure_input="$ac_file. $configure_input"
23832
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23833
echo "$as_me: creating $ac_file" >&6;}
23837
*:-:* | *:-) cat >"$tmp/stdin";;
23842
ac_dir=`$as_dirname -- "$ac_file" ||
23843
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23844
X"$ac_file" : 'X\(//\)[^/]' \| \
23845
X"$ac_file" : 'X\(//\)$' \| \
23846
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23848
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23852
/^X\(\/\/\)[^/].*/{
23867
-*) as_dir=./$as_dir;;
23869
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23873
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23874
*) as_qdir=$as_dir;;
23876
as_dirs="'$as_qdir' $as_dirs"
23877
as_dir=`$as_dirname -- "$as_dir" ||
23878
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23879
X"$as_dir" : 'X\(//\)[^/]' \| \
23880
X"$as_dir" : 'X\(//\)$' \| \
23881
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23883
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23887
/^X\(\/\/\)[^/].*/{
23900
test -d "$as_dir" && break
23902
test -z "$as_dirs" || eval "mkdir $as_dirs"
23903
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23904
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23905
{ (exit 1); exit 1; }; }; }
23909
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23911
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23912
# A ".." for each directory in $ac_dir_suffix.
23913
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23914
case $ac_top_builddir_sub in
23915
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23916
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23919
ac_abs_top_builddir=$ac_pwd
23920
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23921
# for backward compatibility:
23922
ac_top_builddir=$ac_top_build_prefix
23925
.) # We are building in place.
23927
ac_top_srcdir=$ac_top_builddir_sub
23928
ac_abs_top_srcdir=$ac_pwd ;;
23929
[\\/]* | ?:[\\/]* ) # Absolute name.
23930
ac_srcdir=$srcdir$ac_dir_suffix;
23931
ac_top_srcdir=$srcdir
23932
ac_abs_top_srcdir=$srcdir ;;
23933
*) # Relative name.
23934
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23935
ac_top_srcdir=$ac_top_build_prefix$srcdir
23936
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23938
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23948
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23949
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23953
cat >>$CONFIG_STATUS <<\_ACEOF
23954
# If the template does not know about datarootdir, expand it.
23955
# FIXME: This hack should be removed a few years after 2.60.
23956
ac_datarootdir_hack=; ac_datarootdir_seen=
23958
case `sed -n '/datarootdir/ {
23967
' $ac_file_inputs` in
23968
*datarootdir*) ac_datarootdir_seen=yes;;
23969
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23970
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23971
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23973
cat >>$CONFIG_STATUS <<_ACEOF
23974
ac_datarootdir_hack='
23975
s&@datadir@&$datadir&g
23976
s&@docdir@&$docdir&g
23977
s&@infodir@&$infodir&g
23978
s&@localedir@&$localedir&g
23979
s&@mandir@&$mandir&g
23980
s&\\\${datarootdir}&$datarootdir&g' ;;
23984
# Neutralize VPATH when `$srcdir' = `.'.
23985
# Shell code in configure.ac might set extrasub.
23986
# FIXME: do we really want to maintain this feature?
23987
cat >>$CONFIG_STATUS <<_ACEOF
23991
cat >>$CONFIG_STATUS <<\_ACEOF
23993
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23994
s&@configure_input@&$configure_input&;t t
23995
s&@top_builddir@&$ac_top_builddir_sub&;t t
23996
s&@srcdir@&$ac_srcdir&;t t
23997
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23998
s&@top_srcdir@&$ac_top_srcdir&;t t
23999
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24000
s&@builddir@&$ac_builddir&;t t
24001
s&@abs_builddir@&$ac_abs_builddir&;t t
24002
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24003
s&@INSTALL@&$ac_INSTALL&;t t
24004
$ac_datarootdir_hack
24005
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24007
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24008
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24009
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24010
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24011
which seems to be undefined. Please make sure it is defined." >&5
24012
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24013
which seems to be undefined. Please make sure it is defined." >&2;}
24017
-) cat "$tmp/out"; rm -f "$tmp/out";;
24018
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24027
# Transform confdefs.h into a sed script `conftest.defines', that
24028
# substitutes the proper values into config.h.in to produce config.h.
24029
rm -f conftest.defines conftest.tail
24030
# First, append a space to every undef/define line, to ease matching.
24031
echo 's/$/ /' >conftest.defines
24032
# Then, protect against being on the right side of a sed subst, or in
24033
# an unquoted here document, in config.status. If some macros were
24034
# called several times there might be several #defines for the same
24035
# symbol, which is useless. But do not sort them, since the last
24036
# AC_DEFINE must be honored.
24037
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24038
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24039
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24040
# PARAMS is the parameter list in the macro definition--in most cases, it's
24041
# just an empty string.
24042
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24043
ac_dB='\\)[ (].*,\\1define\\2'
24051
s/^[ ]*#[ ]*define[ ][ ]*//
24056
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24057
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24058
' >>conftest.defines
24060
# Remove the space that was appended to ease matching.
24061
# Then replace #undef with comments. This is necessary, for
24062
# example, in the case of _POSIX_SOURCE, which is predefined and required
24063
# on some systems where configure will not decide to define it.
24064
# (The regexp can be short, since the line contains either #define or #undef.)
24066
s,^[ #]*u.*,/* & */,' >>conftest.defines
24068
# Break up conftest.defines:
24069
ac_max_sed_lines=50
24071
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24072
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24073
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24075
ac_in='$ac_file_inputs'
24076
ac_out='"$tmp/out1"'
24077
ac_nxt='"$tmp/out2"'
24081
# Write a here document:
24082
cat >>$CONFIG_STATUS <<_ACEOF
24083
# First, check the format of the line:
24084
cat >"\$tmp/defines.sed" <<\\CEOF
24085
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24086
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24090
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24092
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24093
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24094
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24095
grep . conftest.tail >/dev/null || break
24096
rm -f conftest.defines
24097
mv conftest.tail conftest.defines
24099
rm -f conftest.defines conftest.tail
24101
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24102
cat >>$CONFIG_STATUS <<\_ACEOF
24103
if test x"$ac_file" != x-; then
24104
echo "/* $configure_input */" >"$tmp/config.h"
24105
cat "$ac_result" >>"$tmp/config.h"
24106
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24107
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24108
echo "$as_me: $ac_file is unchanged" >&6;}
24111
mv "$tmp/config.h" $ac_file
24114
echo "/* $configure_input */"
24118
# Compute $ac_file's index in $config_headers.
24120
for _am_header in $config_headers :; do
24121
case $_am_header in
24122
$ac_file | $ac_file:* )
24125
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
24128
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24129
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24130
X$ac_file : 'X\(//\)[^/]' \| \
24131
X$ac_file : 'X\(//\)$' \| \
24132
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24134
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24138
/^X\(\/\/\)[^/].*/{
24150
s/.*/./; q'`/stamp-h$_am_stamp_count
24153
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24154
echo "$as_me: executing $ac_file commands" >&6;}
24159
case $ac_file$ac_mode in
24160
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24161
# Strip MF so we end up with the name of the file.
24162
mf=`echo "$mf" | sed -e 's/:.*$//'`
24163
# Check whether this is an Automake generated Makefile or not.
24164
# We used to match only the files named `Makefile.in', but
24165
# some people rename them; so instead we look at the file content.
24166
# Grep'ing the first line is not enough: some people post-process
24167
# each Makefile.in and add a new line on top of each file to say so.
24168
# So let's grep whole file.
24169
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24170
dirpart=`$as_dirname -- "$mf" ||
24171
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24172
X"$mf" : 'X\(//\)[^/]' \| \
24173
X"$mf" : 'X\(//\)$' \| \
24174
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24176
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24180
/^X\(\/\/\)[^/].*/{
24196
# Extract the definition of DEPDIR, am__include, and am__quote
24197
# from the Makefile without running `make'.
24198
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24199
test -z "$DEPDIR" && continue
24200
am__include=`sed -n 's/^am__include = //p' < "$mf"`
24201
test -z "am__include" && continue
24202
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24203
# When using ansi2knr, U may be empty or an underscore; expand it
24204
U=`sed -n 's/^U = //p' < "$mf"`
24205
# Find all dependency output files, they are included files with
24206
# $(DEPDIR) in their names. We invoke sed twice because it is the
24207
# simplest approach to changing $(DEPDIR) to its actual value in the
24209
for file in `sed -n "
24210
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24211
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24212
# Make sure the directory exists.
24213
test -f "$dirpart/$file" && continue
24214
fdir=`$as_dirname -- "$file" ||
24215
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24216
X"$file" : 'X\(//\)[^/]' \| \
24217
X"$file" : 'X\(//\)$' \| \
24218
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24220
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24224
/^X\(\/\/\)[^/].*/{
24237
{ as_dir=$dirpart/$fdir
24239
-*) as_dir=./$as_dir;;
24241
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24245
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24246
*) as_qdir=$as_dir;;
24248
as_dirs="'$as_qdir' $as_dirs"
24249
as_dir=`$as_dirname -- "$as_dir" ||
24250
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24251
X"$as_dir" : 'X\(//\)[^/]' \| \
24252
X"$as_dir" : 'X\(//\)$' \| \
24253
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24255
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24259
/^X\(\/\/\)[^/].*/{
24272
test -d "$as_dir" && break
24274
test -z "$as_dirs" || eval "mkdir $as_dirs"
24275
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24276
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24277
{ (exit 1); exit 1; }; }; }
24278
# echo "creating $dirpart/$file"
24279
echo '# dummy' > "$dirpart/$file"
24285
for file in intltool-extract intltool-merge intltool-update; do
24286
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24287
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24288
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24289
< ${ac_aux_dir}/${file}.in > ${file}.out
24290
if cmp -s ${file} ${file}.out 2>/dev/null; then
24293
mv -f ${file}.out ${file}
24295
chmod ugo+x ${file}
24300
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24301
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24304
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24309
'"s|^| $ac_top_srcdir/|" \
24310
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24312
if test ! -f "po/Makefile"; then
24313
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24314
echo "$as_me: error: po/Makefile is not ready." >&2;}
24315
{ (exit 1); exit 1; }; }
24317
mv "po/Makefile" "po/Makefile.tmp"
24318
sed '/^POTFILES =/,/[^\\]$/ {
24322
' "po/Makefile.tmp" >"po/Makefile"
24323
rm -f "po/Makefile.tmp"
24324
mv "po/stamp-it.tmp" "po/stamp-it"
24331
{ (exit 0); exit 0; }
24333
chmod +x $CONFIG_STATUS
24334
ac_clean_files=$ac_clean_files_save
24337
# configure is writing to config.log, and then calls config.status.
24338
# config.status does its own redirection, appending to config.log.
24339
# Unfortunately, on DOS this fails, as config.log is still kept open
24340
# by configure, so config.status won't be able to write to it; its
24341
# output is simply discarded. So we exec the FD to /dev/null,
24342
# effectively closing config.log, so it can be properly (re)opened and
24343
# appended to by config.status. When coming back to configure, we
24344
# need to make the FD available again.
24345
if test "$no_create" != yes; then
24347
ac_config_status_args=
24348
test "$silent" = yes &&
24349
ac_config_status_args="$ac_config_status_args --quiet"
24351
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24353
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
24354
# would make configure fail if this is the last instruction.
24355
$ac_cs_success || { (exit 1); exit 1; }