2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for cairo-dock 1.5.6-alpha0.
5
@%:@ Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
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='cairo-dock'
730
PACKAGE_TARNAME='cairo-dock'
731
PACKAGE_VERSION='1.5.6-alpha0'
732
PACKAGE_STRING='cairo-dock 1.5.6-alpha0'
733
PACKAGE_BUGREPORT='Fabrice Rey (fabounet@users.berlios.de)'
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
823
INSTALL_STRIP_PROGRAM
876
INTLTOOL_DESKTOP_RULE
877
INTLTOOL_DIRECTORY_RULE
884
INTLTOOL_SOUNDLIST_RULE
889
INTLTOOL_XML_NOMERGE_RULE
891
INTLTOOL_SCHEMAS_RULE
893
INTLTOOL_SERVICE_RULE
920
COMPIL_WITH_GLITZ_TRUE
921
COMPIL_WITH_GLITZ_FALSE
930
ac_precious_vars='build_alias
952
# Initialize some variables set by options.
954
ac_init_version=false
955
# The variables have the same names as the options, with
956
# dashes changed to underlines.
964
program_transform_name=s,x,x,
972
# Installation directory options.
973
# These are left unexpanded so users can "make install exec_prefix=/foo"
974
# and all the variables that are supposed to be based on exec_prefix
975
# by default will actually change.
976
# Use braces instead of parens because sh, perl, etc. also accept them.
977
# (The list follows the same order as the GNU Coding Standards.)
978
bindir='${exec_prefix}/bin'
979
sbindir='${exec_prefix}/sbin'
980
libexecdir='${exec_prefix}/libexec'
981
datarootdir='${prefix}/share'
982
datadir='${datarootdir}'
983
sysconfdir='${prefix}/etc'
984
sharedstatedir='${prefix}/com'
985
localstatedir='${prefix}/var'
986
includedir='${prefix}/include'
987
oldincludedir='/usr/include'
988
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
989
infodir='${datarootdir}/info'
994
libdir='${exec_prefix}/lib'
995
localedir='${datarootdir}/locale'
996
mandir='${datarootdir}/man'
1002
# If the previous option needs an argument, assign it.
1003
if test -n "$ac_prev"; then
1004
eval $ac_prev=\$ac_option
1010
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014
# Accept the important Cygnus configure options, so we can diagnose typos.
1016
case $ac_dashdash$ac_option in
1020
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1022
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1023
bindir=$ac_optarg ;;
1025
-build | --build | --buil | --bui | --bu)
1026
ac_prev=build_alias ;;
1027
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1028
build_alias=$ac_optarg ;;
1030
-cache-file | --cache-file | --cache-fil | --cache-fi \
1031
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1032
ac_prev=cache_file ;;
1033
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1034
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1035
cache_file=$ac_optarg ;;
1037
--config-cache | -C)
1038
cache_file=config.cache ;;
1040
-datadir | --datadir | --datadi | --datad)
1042
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1043
datadir=$ac_optarg ;;
1045
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1046
| --dataroo | --dataro | --datar)
1047
ac_prev=datarootdir ;;
1048
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1049
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1050
datarootdir=$ac_optarg ;;
1052
-disable-* | --disable-*)
1053
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1054
# Reject names that are not valid shell variable names.
1055
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1056
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1057
{ (exit 1); exit 1; }; }
1058
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1059
eval enable_$ac_feature=no ;;
1061
-docdir | --docdir | --docdi | --doc | --do)
1063
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064
docdir=$ac_optarg ;;
1066
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1068
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069
dvidir=$ac_optarg ;;
1071
-enable-* | --enable-*)
1072
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073
# Reject names that are not valid shell variable names.
1074
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1076
{ (exit 1); exit 1; }; }
1077
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1078
eval enable_$ac_feature=\$ac_optarg ;;
1080
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082
| --exec | --exe | --ex)
1083
ac_prev=exec_prefix ;;
1084
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086
| --exec=* | --exe=* | --ex=*)
1087
exec_prefix=$ac_optarg ;;
1089
-gas | --gas | --ga | --g)
1090
# Obsolete; use --with-gas.
1093
-help | --help | --hel | --he | -h)
1094
ac_init_help=long ;;
1095
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096
ac_init_help=recursive ;;
1097
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098
ac_init_help=short ;;
1100
-host | --host | --hos | --ho)
1101
ac_prev=host_alias ;;
1102
-host=* | --host=* | --hos=* | --ho=*)
1103
host_alias=$ac_optarg ;;
1105
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1107
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1109
htmldir=$ac_optarg ;;
1111
-includedir | --includedir | --includedi | --included | --include \
1112
| --includ | --inclu | --incl | --inc)
1113
ac_prev=includedir ;;
1114
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115
| --includ=* | --inclu=* | --incl=* | --inc=*)
1116
includedir=$ac_optarg ;;
1118
-infodir | --infodir | --infodi | --infod | --info | --inf)
1120
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121
infodir=$ac_optarg ;;
1123
-libdir | --libdir | --libdi | --libd)
1125
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1126
libdir=$ac_optarg ;;
1128
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129
| --libexe | --libex | --libe)
1130
ac_prev=libexecdir ;;
1131
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132
| --libexe=* | --libex=* | --libe=*)
1133
libexecdir=$ac_optarg ;;
1135
-localedir | --localedir | --localedi | --localed | --locale)
1136
ac_prev=localedir ;;
1137
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138
localedir=$ac_optarg ;;
1140
-localstatedir | --localstatedir | --localstatedi | --localstated \
1141
| --localstate | --localstat | --localsta | --localst | --locals)
1142
ac_prev=localstatedir ;;
1143
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145
localstatedir=$ac_optarg ;;
1147
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1149
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150
mandir=$ac_optarg ;;
1152
-nfp | --nfp | --nf)
1153
# Obsolete; use --without-fp.
1156
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157
| --no-cr | --no-c | -n)
1160
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1164
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166
| --oldin | --oldi | --old | --ol | --o)
1167
ac_prev=oldincludedir ;;
1168
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171
oldincludedir=$ac_optarg ;;
1173
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1175
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176
prefix=$ac_optarg ;;
1178
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1179
| --program-pre | --program-pr | --program-p)
1180
ac_prev=program_prefix ;;
1181
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1182
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183
program_prefix=$ac_optarg ;;
1185
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1186
| --program-suf | --program-su | --program-s)
1187
ac_prev=program_suffix ;;
1188
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1189
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190
program_suffix=$ac_optarg ;;
1192
-program-transform-name | --program-transform-name \
1193
| --program-transform-nam | --program-transform-na \
1194
| --program-transform-n | --program-transform- \
1195
| --program-transform | --program-transfor \
1196
| --program-transfo | --program-transf \
1197
| --program-trans | --program-tran \
1198
| --progr-tra | --program-tr | --program-t)
1199
ac_prev=program_transform_name ;;
1200
-program-transform-name=* | --program-transform-name=* \
1201
| --program-transform-nam=* | --program-transform-na=* \
1202
| --program-transform-n=* | --program-transform-=* \
1203
| --program-transform=* | --program-transfor=* \
1204
| --program-transfo=* | --program-transf=* \
1205
| --program-trans=* | --program-tran=* \
1206
| --progr-tra=* | --program-tr=* | --program-t=*)
1207
program_transform_name=$ac_optarg ;;
1209
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1211
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212
pdfdir=$ac_optarg ;;
1214
-psdir | --psdir | --psdi | --psd | --ps)
1216
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1219
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220
| -silent | --silent | --silen | --sile | --sil)
1223
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1225
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1227
sbindir=$ac_optarg ;;
1229
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1230
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231
| --sharedst | --shareds | --shared | --share | --shar \
1233
ac_prev=sharedstatedir ;;
1234
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1238
sharedstatedir=$ac_optarg ;;
1240
-site | --site | --sit)
1242
-site=* | --site=* | --sit=*)
1245
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1247
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248
srcdir=$ac_optarg ;;
1250
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251
| --syscon | --sysco | --sysc | --sys | --sy)
1252
ac_prev=sysconfdir ;;
1253
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255
sysconfdir=$ac_optarg ;;
1257
-target | --target | --targe | --targ | --tar | --ta | --t)
1258
ac_prev=target_alias ;;
1259
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260
target_alias=$ac_optarg ;;
1262
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1265
-version | --version | --versio | --versi | --vers | -V)
1266
ac_init_version=: ;;
1269
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270
# Reject names that are not valid shell variable names.
1271
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1273
{ (exit 1); exit 1; }; }
1274
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1275
eval with_$ac_package=\$ac_optarg ;;
1277
-without-* | --without-*)
1278
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279
# Reject names that are not valid shell variable names.
1280
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1281
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1282
{ (exit 1); exit 1; }; }
1283
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1284
eval with_$ac_package=no ;;
1287
# Obsolete; use --with-x.
1290
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1291
| --x-incl | --x-inc | --x-in | --x-i)
1292
ac_prev=x_includes ;;
1293
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1294
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1295
x_includes=$ac_optarg ;;
1297
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1298
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1299
ac_prev=x_libraries ;;
1300
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1301
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1302
x_libraries=$ac_optarg ;;
1304
-*) { echo "$as_me: error: unrecognized option: $ac_option
1305
Try \`$0 --help' for more information." >&2
1306
{ (exit 1); exit 1; }; }
1310
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311
# Reject names that are not valid shell variable names.
1312
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1313
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1314
{ (exit 1); exit 1; }; }
1315
eval $ac_envvar=\$ac_optarg
1316
export $ac_envvar ;;
1319
# FIXME: should be removed in autoconf 3.0.
1320
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329
if test -n "$ac_prev"; then
1330
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1331
{ echo "$as_me: error: missing argument to $ac_option" >&2
1332
{ (exit 1); exit 1; }; }
1335
# Be sure to have absolute directory names.
1336
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337
datadir sysconfdir sharedstatedir localstatedir includedir \
1338
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339
libdir localedir mandir
1341
eval ac_val=\$$ac_var
1343
[\\/$]* | ?:[\\/]* ) continue;;
1344
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1347
{ (exit 1); exit 1; }; }
1350
# There might be people who depend on the old broken behavior: `$host'
1351
# used to hold the argument of --host etc.
1352
# FIXME: To remove some day.
1355
target=$target_alias
1357
# FIXME: To remove some day.
1358
if test "x$host_alias" != x; then
1359
if test "x$build_alias" = x; then
1360
cross_compiling=maybe
1361
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1362
If a cross compiler is detected then cross compile mode will be used." >&2
1363
elif test "x$build_alias" != "x$host_alias"; then
1369
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1371
test "$silent" = yes && exec 6>/dev/null
1374
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1375
ac_ls_di=`ls -di .` &&
1376
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1377
{ echo "$as_me: error: Working directory cannot be determined" >&2
1378
{ (exit 1); exit 1; }; }
1379
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1381
{ (exit 1); exit 1; }; }
1384
# Find the source files, if location was not specified.
1385
if test -z "$srcdir"; then
1386
ac_srcdir_defaulted=yes
1387
# Try the directory containing this script, then the parent directory.
1388
ac_confdir=`$as_dirname -- "$0" ||
1389
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390
X"$0" : 'X\(//\)[^/]' \| \
1391
X"$0" : 'X\(//\)$' \| \
1392
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1394
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412
if test ! -r "$srcdir/$ac_unique_file"; then
1416
ac_srcdir_defaulted=no
1418
if test ! -r "$srcdir/$ac_unique_file"; then
1419
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1420
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1421
{ (exit 1); exit 1; }; }
1423
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1426
{ (exit 1); exit 1; }; }
1428
# When building in place, set srcdir=.
1429
if test "$ac_abs_confdir" = "$ac_pwd"; then
1432
# Remove unnecessary trailing slashes from srcdir.
1433
# Double slashes in file names in object file debugging info
1434
# mess up M-x gdb in Emacs.
1436
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438
for ac_var in $ac_precious_vars; do
1439
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1440
eval ac_env_${ac_var}_value=\$${ac_var}
1441
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1442
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446
# Report the --help message.
1448
if test "$ac_init_help" = "long"; then
1449
# Omit some internal or obsolete options to make the list less imposing.
1450
# This message is too long to be a string in the A/UX 3.1 sh.
1452
\`configure' configures cairo-dock 1.5.6-alpha0 to adapt to many kinds of systems.
1454
Usage: $0 [OPTION]... [VAR=VALUE]...
1456
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457
VAR=VALUE. See below for descriptions of some of the useful variables.
1459
Defaults for the options are specified in brackets.
1462
-h, --help display this help and exit
1463
--help=short display options specific to this package
1464
--help=recursive display the short help of all the included packages
1465
-V, --version display version information and exit
1466
-q, --quiet, --silent do not print \`checking...' messages
1467
--cache-file=FILE cache test results in FILE [disabled]
1468
-C, --config-cache alias for \`--cache-file=config.cache'
1469
-n, --no-create do not create output files
1470
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1472
Installation directories:
1473
--prefix=PREFIX install architecture-independent files in PREFIX
1474
[$ac_default_prefix]
1475
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478
By default, \`make install' will install all the files in
1479
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1480
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481
for instance \`--prefix=\$HOME'.
1483
For better control, use the options below.
1485
Fine tuning of the installation directories:
1486
--bindir=DIR user executables [EPREFIX/bin]
1487
--sbindir=DIR system admin executables [EPREFIX/sbin]
1488
--libexecdir=DIR program executables [EPREFIX/libexec]
1489
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1490
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1491
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1492
--libdir=DIR object code libraries [EPREFIX/lib]
1493
--includedir=DIR C header files [PREFIX/include]
1494
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1495
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1496
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1497
--infodir=DIR info documentation [DATAROOTDIR/info]
1498
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1499
--mandir=DIR man documentation [DATAROOTDIR/man]
1500
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/cairo-dock@:>@
1501
--htmldir=DIR html documentation [DOCDIR]
1502
--dvidir=DIR dvi documentation [DOCDIR]
1503
--pdfdir=DIR pdf documentation [DOCDIR]
1504
--psdir=DIR ps documentation [DOCDIR]
1510
--program-prefix=PREFIX prepend PREFIX to installed program names
1511
--program-suffix=SUFFIX append SUFFIX to installed program names
1512
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515
--build=BUILD configure for building on BUILD [guessed]
1516
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1520
if test -n "$ac_init_help"; then
1521
case $ac_init_help in
1522
short | recursive ) echo "Configuration of cairo-dock 1.5.6-alpha0:";;
1527
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1528
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1529
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1530
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1531
--enable-fast-install@<:@=PKGS@:>@
1532
optimize for fast installation @<:@default=yes@:>@
1533
--disable-dependency-tracking speeds up one-time build
1534
--enable-dependency-tracking do not reject slow dependency extractors
1535
--disable-libtool-lock avoid locking (might break parallel builds)
1538
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1539
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1540
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1541
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1543
--with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1545
Some influential environment variables:
1546
CC C compiler command
1547
CFLAGS C compiler flags
1548
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1549
nonstandard directory <lib dir>
1550
LIBS libraries to pass to the linker, e.g. -l<library>
1551
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1552
you have headers in a nonstandard directory <include dir>
1554
CXX C++ compiler command
1555
CXXFLAGS C++ compiler flags
1556
CXXCPP C++ preprocessor
1557
F77 Fortran 77 compiler command
1558
FFLAGS Fortran 77 compiler flags
1559
PKG_CONFIG path to pkg-config utility
1561
C compiler flags for PACKAGE, overriding pkg-config
1563
linker flags for PACKAGE, overriding pkg-config
1565
C compiler flags for GLITZ, overriding pkg-config
1566
GLITZ_LIBS linker flags for GLITZ, overriding pkg-config
1568
Use these variables to override the choices made by `configure' or to help
1569
it to find libraries and programs with nonstandard names/locations.
1571
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
1576
if test "$ac_init_help" = "recursive"; then
1577
# If there are subdirs, report their specific --help.
1578
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
test -d "$ac_dir" || continue
1583
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1586
# A ".." for each directory in $ac_dir_suffix.
1587
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1588
case $ac_top_builddir_sub in
1589
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593
ac_abs_top_builddir=$ac_pwd
1594
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595
# for backward compatibility:
1596
ac_top_builddir=$ac_top_build_prefix
1599
.) # We are building in place.
1601
ac_top_srcdir=$ac_top_builddir_sub
1602
ac_abs_top_srcdir=$ac_pwd ;;
1603
[\\/]* | ?:[\\/]* ) # Absolute name.
1604
ac_srcdir=$srcdir$ac_dir_suffix;
1605
ac_top_srcdir=$srcdir
1606
ac_abs_top_srcdir=$srcdir ;;
1608
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609
ac_top_srcdir=$ac_top_build_prefix$srcdir
1610
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614
cd "$ac_dir" || { ac_status=$?; continue; }
1615
# Check for guested configure.
1616
if test -f "$ac_srcdir/configure.gnu"; then
1618
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619
elif test -f "$ac_srcdir/configure"; then
1621
$SHELL "$ac_srcdir/configure" --help=recursive
1623
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625
cd "$ac_pwd" || { ac_status=$?; break; }
1629
test -n "$ac_init_help" && exit $ac_status
1630
if $ac_init_version; then
1632
cairo-dock configure 1.5.6-alpha0
1633
generated by GNU Autoconf 2.61
1635
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1637
This configure script is free software; the Free Software Foundation
1638
gives unlimited permission to copy, distribute and modify it.
1642
cat >config.log <<_ACEOF
1643
This file contains any messages produced by compilers while
1644
running configure, to aid debugging if configure makes a mistake.
1646
It was created by cairo-dock $as_me 1.5.6-alpha0, which was
1647
generated by GNU Autoconf 2.61. Invocation command line was
1655
@%:@@%:@ --------- @%:@@%:@
1656
@%:@@%:@ Platform. @%:@@%:@
1657
@%:@@%:@ --------- @%:@@%:@
1659
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1660
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1661
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1662
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1663
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1665
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1666
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1668
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1669
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1670
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1671
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1672
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1673
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1674
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682
test -z "$as_dir" && as_dir=.
1683
echo "PATH: $as_dir"
1692
@%:@@%:@ ----------- @%:@@%:@
1693
@%:@@%:@ Core tests. @%:@@%:@
1694
@%:@@%:@ ----------- @%:@@%:@
1699
# Keep a trace of the command line.
1700
# Strip out --no-create and --no-recursion so they do not pile up.
1701
# Strip out --silent because we don't want to record it for future runs.
1702
# Also quote any args containing shell meta-characters.
1703
# Make two passes to allow for proper duplicate-argument suppression.
1707
ac_must_keep_next=false
1713
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1714
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715
| -silent | --silent | --silen | --sile | --sil)
1718
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1721
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1723
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1724
if test $ac_must_keep_next = true; then
1725
ac_must_keep_next=false # Got value, back to normal.
1728
*=* | --config-cache | -C | -disable-* | --disable-* \
1729
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1730
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1731
| -with-* | --with-* | -without-* | --without-* | --x)
1732
case "$ac_configure_args0 " in
1733
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1736
-* ) ac_must_keep_next=true ;;
1739
ac_configure_args="$ac_configure_args '$ac_arg'"
1744
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1745
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1747
# When interrupted or exit'd, cleanup temporary files, and complete
1748
# config.log. We remove comments because anyway the quotes in there
1749
# would cause problems or look ugly.
1750
# WARNING: Use '\'' to represent an apostrophe within the trap.
1751
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1752
trap 'exit_status=$?
1753
# Save into config.log some information that might help in debugging.
1758
@%:@@%:@ ---------------- @%:@@%:@
1759
@%:@@%:@ Cache variables. @%:@@%:@
1760
@%:@@%:@ ---------------- @%:@@%:@
1763
# The following way of writing the cache mishandles newlines in values,
1765
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766
eval ac_val=\$$ac_var
1770
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1774
_ | IFS | as_nl) ;; #(
1775
*) $as_unset $ac_var ;;
1780
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1781
*${as_nl}ac_space=\ *)
1783
"s/'\''/'\''\\\\'\'''\''/g;
1784
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1787
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795
@%:@@%:@ ----------------- @%:@@%:@
1796
@%:@@%:@ Output variables. @%:@@%:@
1797
@%:@@%:@ ----------------- @%:@@%:@
1800
for ac_var in $ac_subst_vars
1802
eval ac_val=\$$ac_var
1804
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1806
echo "$ac_var='\''$ac_val'\''"
1810
if test -n "$ac_subst_files"; then
1812
@%:@@%:@ ------------------- @%:@@%:@
1813
@%:@@%:@ File substitutions. @%:@@%:@
1814
@%:@@%:@ ------------------- @%:@@%:@
1817
for ac_var in $ac_subst_files
1819
eval ac_val=\$$ac_var
1821
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823
echo "$ac_var='\''$ac_val'\''"
1828
if test -s confdefs.h; then
1830
@%:@@%:@ ----------- @%:@@%:@
1831
@%:@@%:@ confdefs.h. @%:@@%:@
1832
@%:@@%:@ ----------- @%:@@%:@
1838
test "$ac_signal" != 0 &&
1839
echo "$as_me: caught signal $ac_signal"
1840
echo "$as_me: exit $exit_status"
1842
rm -f core *.core core.conftest.* &&
1843
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1846
for ac_signal in 1 2 13 15; do
1847
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1851
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1852
rm -f -r conftest* confdefs.h
1854
# Predefined preprocessor variables.
1856
cat >>confdefs.h <<_ACEOF
1857
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1861
cat >>confdefs.h <<_ACEOF
1862
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1866
cat >>confdefs.h <<_ACEOF
1867
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1871
cat >>confdefs.h <<_ACEOF
1872
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1876
cat >>confdefs.h <<_ACEOF
1877
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881
# Let the site file select an alternate cache file if it wants to.
1882
# Prefer explicitly selected file to automatically selected ones.
1883
if test -n "$CONFIG_SITE"; then
1884
set x "$CONFIG_SITE"
1885
elif test "x$prefix" != xNONE; then
1886
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1888
set x "$ac_default_prefix/share/config.site" \
1889
"$ac_default_prefix/etc/config.site"
1894
if test -r "$ac_site_file"; then
1895
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896
echo "$as_me: loading site script $ac_site_file" >&6;}
1897
sed 's/^/| /' "$ac_site_file" >&5
1902
if test -r "$cache_file"; then
1903
# Some versions of bash will fail to source /dev/null (special
1904
# files actually), so we avoid doing that.
1905
if test -f "$cache_file"; then
1906
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1907
echo "$as_me: loading cache $cache_file" >&6;}
1909
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1910
*) . "./$cache_file";;
1914
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1915
echo "$as_me: creating cache $cache_file" >&6;}
1919
# Check that the precious variables saved in the cache have kept the same
1921
ac_cache_corrupted=false
1922
for ac_var in $ac_precious_vars; do
1923
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924
eval ac_new_set=\$ac_env_${ac_var}_set
1925
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926
eval ac_new_val=\$ac_env_${ac_var}_value
1927
case $ac_old_set,$ac_new_set in
1929
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931
ac_cache_corrupted=: ;;
1933
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1934
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935
ac_cache_corrupted=: ;;
1938
if test "x$ac_old_val" != "x$ac_new_val"; then
1939
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1940
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1941
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1942
echo "$as_me: former value: $ac_old_val" >&2;}
1943
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1944
echo "$as_me: current value: $ac_new_val" >&2;}
1945
ac_cache_corrupted=:
1948
# Pass precious variables to config.status.
1949
if test "$ac_new_set" = set; then
1951
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1952
*) ac_arg=$ac_var=$ac_new_val ;;
1954
case " $ac_configure_args " in
1955
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1956
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1960
if $ac_cache_corrupted; then
1961
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1962
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1963
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1964
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1965
{ (exit 1); exit 1; }; }
1993
ac_cpp='$CPP $CPPFLAGS'
1994
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2000
ac_config_headers="$ac_config_headers config.h"
2003
am__api_version='1.10'
2006
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2007
if test -f "$ac_dir/install-sh"; then
2009
ac_install_sh="$ac_aux_dir/install-sh -c"
2011
elif test -f "$ac_dir/install.sh"; then
2013
ac_install_sh="$ac_aux_dir/install.sh -c"
2015
elif test -f "$ac_dir/shtool"; then
2017
ac_install_sh="$ac_aux_dir/shtool install -c"
2021
if test -z "$ac_aux_dir"; then
2022
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2023
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2024
{ (exit 1); exit 1; }; }
2027
# These three variables are undocumented and unsupported,
2028
# and are intended to be withdrawn in a future Autoconf release.
2029
# They can cause serious problems if a builder's source tree is in a directory
2030
# whose full name contains unusual characters.
2031
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2032
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2033
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2036
# Find a good install program. We prefer a C program (faster),
2037
# so one script is as good as another. But avoid the broken or
2038
# incompatible versions:
2039
# SysV /etc/install, /usr/sbin/install
2040
# SunOS /usr/etc/install
2041
# IRIX /sbin/install
2043
# AmigaOS /C/install, which installs bootblocks on floppy discs
2044
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2045
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2046
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2047
# OS/2's system install, which has a completely different semantic
2048
# ./install, which can be erroneously created by make from ./install.sh.
2049
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2050
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2051
if test -z "$INSTALL"; then
2052
if test "${ac_cv_path_install+set}" = set; then
2053
echo $ECHO_N "(cached) $ECHO_C" >&6
2055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059
test -z "$as_dir" && as_dir=.
2060
# Account for people who put trailing slashes in PATH elements.
2062
./ | .// | /cC/* | \
2063
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2064
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2067
# OSF1 and SCO ODT 3.0 have their own names for install.
2068
# Don't use installbsd from OSF since it installs stuff as root
2070
for ac_prog in ginstall scoinst install; do
2071
for ac_exec_ext in '' $ac_executable_extensions; do
2072
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2073
if test $ac_prog = install &&
2074
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2075
# AIX install. It has an incompatible calling convention.
2077
elif test $ac_prog = install &&
2078
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2079
# program-specific install script used by HP pwplus--don't use.
2082
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2095
if test "${ac_cv_path_install+set}" = set; then
2096
INSTALL=$ac_cv_path_install
2098
# As a last resort, use the slow shell script. Don't cache a
2099
# value for INSTALL within a source directory, because that will
2100
# break other packages using the cache if that directory is
2101
# removed, or if the value is a relative name.
2102
INSTALL=$ac_install_sh
2105
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2106
echo "${ECHO_T}$INSTALL" >&6; }
2108
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2109
# It thinks the first close brace ends the variable substitution.
2110
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2112
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2114
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2116
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2117
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2120
echo timestamp > conftest.file
2121
# Do `set' in a subshell so we don't clobber the current shell's
2122
# arguments. Must try -L first in case configure is actually a
2123
# symlink; some systems play weird games with the mod time of symlinks
2124
# (eg FreeBSD returns the mod time of the symlink's containing
2127
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2128
if test "$*" = "X"; then
2130
set X `ls -t $srcdir/configure conftest.file`
2133
if test "$*" != "X $srcdir/configure conftest.file" \
2134
&& test "$*" != "X conftest.file $srcdir/configure"; then
2136
# If neither matched, then we have a broken ls. This can happen
2137
# if, for instance, CONFIG_SHELL is bash and it inherits a
2138
# broken ls alias from the environment. This has actually
2139
# happened. Such a system could not be considered "sane".
2140
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2141
alias in your environment" >&5
2142
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2143
alias in your environment" >&2;}
2144
{ (exit 1); exit 1; }; }
2147
test "$2" = conftest.file
2153
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2154
Check your system clock" >&5
2155
echo "$as_me: error: newly created file is older than distributed files!
2156
Check your system clock" >&2;}
2157
{ (exit 1); exit 1; }; }
2159
{ echo "$as_me:$LINENO: result: yes" >&5
2160
echo "${ECHO_T}yes" >&6; }
2161
test "$program_prefix" != NONE &&
2162
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2163
# Use a double $ so make ignores it.
2164
test "$program_suffix" != NONE &&
2165
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2166
# Double any \ or $. echo might interpret backslashes.
2167
# By default was `s,x,x', remove it if useless.
2168
cat <<\_ACEOF >conftest.sed
2169
s/[\\$]/&&/g;s/;s,x,x,$//
2171
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2174
# expand $ac_aux_dir to an absolute path
2175
am_aux_dir=`cd $ac_aux_dir && pwd`
2177
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2178
# Use eval to expand $SHELL
2179
if eval "$MISSING --run true"; then
2180
am_missing_run="$MISSING --run "
2183
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2184
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2187
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2188
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2189
if test -z "$MKDIR_P"; then
2190
if test "${ac_cv_path_mkdir+set}" = set; then
2191
echo $ECHO_N "(cached) $ECHO_C" >&6
2193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2197
test -z "$as_dir" && as_dir=.
2198
for ac_prog in mkdir gmkdir; do
2199
for ac_exec_ext in '' $ac_executable_extensions; do
2200
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2201
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2202
'mkdir (GNU coreutils) '* | \
2203
'mkdir (coreutils) '* | \
2204
'mkdir (fileutils) '4.1*)
2205
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2215
if test "${ac_cv_path_mkdir+set}" = set; then
2216
MKDIR_P="$ac_cv_path_mkdir -p"
2218
# As a last resort, use the slow shell script. Don't cache a
2219
# value for MKDIR_P within a source directory, because that will
2220
# break other packages using the cache if that directory is
2221
# removed, or if the value is a relative name.
2222
test -d ./--version && rmdir ./--version
2223
MKDIR_P="$ac_install_sh -d"
2226
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2227
echo "${ECHO_T}$MKDIR_P" >&6; }
2231
[\\/$]* | ?:[\\/]*) ;;
2232
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2235
for ac_prog in gawk mawk nawk awk
2237
# Extract the first word of "$ac_prog", so it can be a program name with args.
2238
set dummy $ac_prog; ac_word=$2
2239
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2240
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2241
if test "${ac_cv_prog_AWK+set}" = set; then
2242
echo $ECHO_N "(cached) $ECHO_C" >&6
2244
if test -n "$AWK"; then
2245
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2247
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251
test -z "$as_dir" && as_dir=.
2252
for ac_exec_ext in '' $ac_executable_extensions; do
2253
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254
ac_cv_prog_AWK="$ac_prog"
2255
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265
if test -n "$AWK"; then
2266
{ echo "$as_me:$LINENO: result: $AWK" >&5
2267
echo "${ECHO_T}$AWK" >&6; }
2269
{ echo "$as_me:$LINENO: result: no" >&5
2270
echo "${ECHO_T}no" >&6; }
2274
test -n "$AWK" && break
2277
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2278
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2279
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2280
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2281
echo $ECHO_N "(cached) $ECHO_C" >&6
2283
cat >conftest.make <<\_ACEOF
2286
@echo '@@@%%%=$(MAKE)=@@@%%%'
2288
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2289
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2291
eval ac_cv_prog_make_${ac_make}_set=yes;;
2293
eval ac_cv_prog_make_${ac_make}_set=no;;
2297
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2298
{ echo "$as_me:$LINENO: result: yes" >&5
2299
echo "${ECHO_T}yes" >&6; }
2302
{ echo "$as_me:$LINENO: result: no" >&5
2303
echo "${ECHO_T}no" >&6; }
2304
SET_MAKE="MAKE=${MAKE-make}"
2307
rm -rf .tst 2>/dev/null
2308
mkdir .tst 2>/dev/null
2309
if test -d .tst; then
2314
rmdir .tst 2>/dev/null
2316
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2317
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2318
# is not polluted with repeated "-I."
2319
am__isrc=' -I$(srcdir)'
2320
# test to see if srcdir already configured
2321
if test -f $srcdir/config.status; then
2322
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2323
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2324
{ (exit 1); exit 1; }; }
2328
# test whether we have cygpath
2329
if test -z "$CYGPATH_W"; then
2330
if (cygpath --version) >/dev/null 2>/dev/null; then
2331
CYGPATH_W='cygpath -w'
2338
# Define the identity of the package.
2339
PACKAGE='cairo-dock'
2340
VERSION='1.5.6-alpha0'
2343
cat >>confdefs.h <<_ACEOF
2344
@%:@define PACKAGE "$PACKAGE"
2348
cat >>confdefs.h <<_ACEOF
2349
@%:@define VERSION "$VERSION"
2352
# Some tools Automake needs.
2354
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2357
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2360
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2363
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2366
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2368
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2370
# Installed binaries are usually stripped using `strip' when the user
2371
# run `make install-strip'. However `strip' might not be the right
2372
# tool to use in cross-compilation environments, therefore Automake
2373
# will honor the `STRIP' environment variable to overrule this program.
2374
if test "$cross_compiling" != no; then
2375
if test -n "$ac_tool_prefix"; then
2376
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2377
set dummy ${ac_tool_prefix}strip; ac_word=$2
2378
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2379
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380
if test "${ac_cv_prog_STRIP+set}" = set; then
2381
echo $ECHO_N "(cached) $ECHO_C" >&6
2383
if test -n "$STRIP"; then
2384
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390
test -z "$as_dir" && as_dir=.
2391
for ac_exec_ext in '' $ac_executable_extensions; do
2392
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2394
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403
STRIP=$ac_cv_prog_STRIP
2404
if test -n "$STRIP"; then
2405
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2406
echo "${ECHO_T}$STRIP" >&6; }
2408
{ echo "$as_me:$LINENO: result: no" >&5
2409
echo "${ECHO_T}no" >&6; }
2414
if test -z "$ac_cv_prog_STRIP"; then
2416
# Extract the first word of "strip", so it can be a program name with args.
2417
set dummy strip; ac_word=$2
2418
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2419
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2421
echo $ECHO_N "(cached) $ECHO_C" >&6
2423
if test -n "$ac_ct_STRIP"; then
2424
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430
test -z "$as_dir" && as_dir=.
2431
for ac_exec_ext in '' $ac_executable_extensions; do
2432
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433
ac_cv_prog_ac_ct_STRIP="strip"
2434
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2444
if test -n "$ac_ct_STRIP"; then
2445
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2446
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2448
{ echo "$as_me:$LINENO: result: no" >&5
2449
echo "${ECHO_T}no" >&6; }
2452
if test "x$ac_ct_STRIP" = x; then
2455
case $cross_compiling:$ac_tool_warned in
2457
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2458
whose name does not start with the host triplet. If you think this
2459
configuration is useful to you, please write to autoconf@gnu.org." >&5
2460
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2461
whose name does not start with the host triplet. If you think this
2462
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2463
ac_tool_warned=yes ;;
2468
STRIP="$ac_cv_prog_STRIP"
2472
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2474
# We need awk for the "check" target. The system "awk" is bad on
2476
# Always define AMTAR for backward compatibility.
2478
AMTAR=${AMTAR-"${am_missing_run}tar"}
2480
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2486
# Check whether --enable-shared was given.
2487
if test "${enable_shared+set}" = set; then
2488
enableval=$enable_shared; p=${PACKAGE-default}
2490
yes) enable_shared=yes ;;
2491
no) enable_shared=no ;;
2494
# Look at the argument we got. We use all the common list separators.
2495
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2496
for pkg in $enableval; do
2498
if test "X$pkg" = "X$p"; then
2510
# Check whether --enable-static was given.
2511
if test "${enable_static+set}" = set; then
2512
enableval=$enable_static; p=${PACKAGE-default}
2514
yes) enable_static=yes ;;
2515
no) enable_static=no ;;
2518
# Look at the argument we got. We use all the common list separators.
2519
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2520
for pkg in $enableval; do
2522
if test "X$pkg" = "X$p"; then
2534
# Check whether --enable-fast-install was given.
2535
if test "${enable_fast_install+set}" = set; then
2536
enableval=$enable_fast_install; p=${PACKAGE-default}
2538
yes) enable_fast_install=yes ;;
2539
no) enable_fast_install=no ;;
2541
enable_fast_install=no
2542
# Look at the argument we got. We use all the common list separators.
2543
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2544
for pkg in $enableval; do
2546
if test "X$pkg" = "X$p"; then
2547
enable_fast_install=yes
2554
enable_fast_install=yes
2558
# Make sure we can run config.sub.
2559
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2560
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2561
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2562
{ (exit 1); exit 1; }; }
2564
{ echo "$as_me:$LINENO: checking build system type" >&5
2565
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2566
if test "${ac_cv_build+set}" = set; then
2567
echo $ECHO_N "(cached) $ECHO_C" >&6
2569
ac_build_alias=$build_alias
2570
test "x$ac_build_alias" = x &&
2571
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2572
test "x$ac_build_alias" = x &&
2573
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2574
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2575
{ (exit 1); exit 1; }; }
2576
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2577
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2578
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2579
{ (exit 1); exit 1; }; }
2582
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2583
echo "${ECHO_T}$ac_cv_build" >&6; }
2584
case $ac_cv_build in
2586
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2587
echo "$as_me: error: invalid value of canonical build" >&2;}
2588
{ (exit 1); exit 1; }; };;
2591
ac_save_IFS=$IFS; IFS='-'
2597
# Remember, the first character of IFS is used to create $*,
2598
# except with old shells:
2601
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2604
{ echo "$as_me:$LINENO: checking host system type" >&5
2605
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2606
if test "${ac_cv_host+set}" = set; then
2607
echo $ECHO_N "(cached) $ECHO_C" >&6
2609
if test "x$host_alias" = x; then
2610
ac_cv_host=$ac_cv_build
2612
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2613
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2614
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2615
{ (exit 1); exit 1; }; }
2619
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2620
echo "${ECHO_T}$ac_cv_host" >&6; }
2623
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2624
echo "$as_me: error: invalid value of canonical host" >&2;}
2625
{ (exit 1); exit 1; }; };;
2628
ac_save_IFS=$IFS; IFS='-'
2634
# Remember, the first character of IFS is used to create $*,
2635
# except with old shells:
2638
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2641
DEPDIR="${am__leading_dot}deps"
2643
ac_config_commands="$ac_config_commands depfiles"
2646
am_make=${MAKE-make}
2647
cat > confinc << 'END'
2652
# If we don't find an include directive, just comment out the code.
2653
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2654
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2658
# First try GNU make style include.
2659
echo "include confinc" > confmf
2660
# We grep out `Entering directory' and `Leaving directory'
2661
# messages which can occur if `w' ends up in MAKEFLAGS.
2662
# In particular we don't look at `^make:' because GNU make might
2663
# be invoked under some other name (usually "gmake"), in which
2664
# case it prints its new name instead of `make'.
2665
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2670
# Now try BSD make style include.
2671
if test "$am__include" = "#"; then
2672
echo '.include "confinc"' > confmf
2673
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2674
am__include=.include
2681
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2682
echo "${ECHO_T}$_am_result" >&6; }
2683
rm -f confinc confmf
2685
# Check whether --enable-dependency-tracking was given.
2686
if test "${enable_dependency_tracking+set}" = set; then
2687
enableval=$enable_dependency_tracking;
2690
if test "x$enable_dependency_tracking" != xno; then
2691
am_depcomp="$ac_aux_dir/depcomp"
2694
if test "x$enable_dependency_tracking" != xno; then
2704
ac_cpp='$CPP $CPPFLAGS'
2705
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2708
if test -n "$ac_tool_prefix"; then
2709
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2710
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2711
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2712
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2713
if test "${ac_cv_prog_CC+set}" = set; then
2714
echo $ECHO_N "(cached) $ECHO_C" >&6
2716
if test -n "$CC"; then
2717
ac_cv_prog_CC="$CC" # Let the user override the test.
2719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723
test -z "$as_dir" && as_dir=.
2724
for ac_exec_ext in '' $ac_executable_extensions; do
2725
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2727
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
if test -n "$CC"; then
2738
{ echo "$as_me:$LINENO: result: $CC" >&5
2739
echo "${ECHO_T}$CC" >&6; }
2741
{ echo "$as_me:$LINENO: result: no" >&5
2742
echo "${ECHO_T}no" >&6; }
2747
if test -z "$ac_cv_prog_CC"; then
2749
# Extract the first word of "gcc", so it can be a program name with args.
2750
set dummy gcc; ac_word=$2
2751
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2753
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2754
echo $ECHO_N "(cached) $ECHO_C" >&6
2756
if test -n "$ac_ct_CC"; then
2757
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2759
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763
test -z "$as_dir" && as_dir=.
2764
for ac_exec_ext in '' $ac_executable_extensions; do
2765
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766
ac_cv_prog_ac_ct_CC="gcc"
2767
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2776
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2777
if test -n "$ac_ct_CC"; then
2778
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2779
echo "${ECHO_T}$ac_ct_CC" >&6; }
2781
{ echo "$as_me:$LINENO: result: no" >&5
2782
echo "${ECHO_T}no" >&6; }
2785
if test "x$ac_ct_CC" = x; then
2788
case $cross_compiling:$ac_tool_warned in
2790
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2791
whose name does not start with the host triplet. If you think this
2792
configuration is useful to you, please write to autoconf@gnu.org." >&5
2793
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2794
whose name does not start with the host triplet. If you think this
2795
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2796
ac_tool_warned=yes ;;
2804
if test -z "$CC"; then
2805
if test -n "$ac_tool_prefix"; then
2806
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2807
set dummy ${ac_tool_prefix}cc; ac_word=$2
2808
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2809
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2810
if test "${ac_cv_prog_CC+set}" = set; then
2811
echo $ECHO_N "(cached) $ECHO_C" >&6
2813
if test -n "$CC"; then
2814
ac_cv_prog_CC="$CC" # Let the user override the test.
2816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820
test -z "$as_dir" && as_dir=.
2821
for ac_exec_ext in '' $ac_executable_extensions; do
2822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823
ac_cv_prog_CC="${ac_tool_prefix}cc"
2824
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834
if test -n "$CC"; then
2835
{ echo "$as_me:$LINENO: result: $CC" >&5
2836
echo "${ECHO_T}$CC" >&6; }
2838
{ echo "$as_me:$LINENO: result: no" >&5
2839
echo "${ECHO_T}no" >&6; }
2845
if test -z "$CC"; then
2846
# Extract the first word of "cc", so it can be a program name with args.
2847
set dummy cc; ac_word=$2
2848
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2849
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2850
if test "${ac_cv_prog_CC+set}" = set; then
2851
echo $ECHO_N "(cached) $ECHO_C" >&6
2853
if test -n "$CC"; then
2854
ac_cv_prog_CC="$CC" # Let the user override the test.
2857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861
test -z "$as_dir" && as_dir=.
2862
for ac_exec_ext in '' $ac_executable_extensions; do
2863
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2865
ac_prog_rejected=yes
2869
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876
if test $ac_prog_rejected = yes; then
2877
# We found a bogon in the path, so make sure we never use it.
2878
set dummy $ac_cv_prog_CC
2880
if test $@%:@ != 0; then
2881
# We chose a different compiler from the bogus one.
2882
# However, it has the same basename, so the bogon will be chosen
2883
# first if we set CC to just the basename; use the full file name.
2885
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2891
if test -n "$CC"; then
2892
{ echo "$as_me:$LINENO: result: $CC" >&5
2893
echo "${ECHO_T}$CC" >&6; }
2895
{ echo "$as_me:$LINENO: result: no" >&5
2896
echo "${ECHO_T}no" >&6; }
2901
if test -z "$CC"; then
2902
if test -n "$ac_tool_prefix"; then
2903
for ac_prog in cl.exe
2905
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2906
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2907
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2909
if test "${ac_cv_prog_CC+set}" = set; then
2910
echo $ECHO_N "(cached) $ECHO_C" >&6
2912
if test -n "$CC"; then
2913
ac_cv_prog_CC="$CC" # Let the user override the test.
2915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919
test -z "$as_dir" && as_dir=.
2920
for ac_exec_ext in '' $ac_executable_extensions; do
2921
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2922
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2923
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933
if test -n "$CC"; then
2934
{ echo "$as_me:$LINENO: result: $CC" >&5
2935
echo "${ECHO_T}$CC" >&6; }
2937
{ echo "$as_me:$LINENO: result: no" >&5
2938
echo "${ECHO_T}no" >&6; }
2942
test -n "$CC" && break
2945
if test -z "$CC"; then
2947
for ac_prog in cl.exe
2949
# Extract the first word of "$ac_prog", so it can be a program name with args.
2950
set dummy $ac_prog; ac_word=$2
2951
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2952
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2953
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2954
echo $ECHO_N "(cached) $ECHO_C" >&6
2956
if test -n "$ac_ct_CC"; then
2957
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963
test -z "$as_dir" && as_dir=.
2964
for ac_exec_ext in '' $ac_executable_extensions; do
2965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966
ac_cv_prog_ac_ct_CC="$ac_prog"
2967
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2976
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2977
if test -n "$ac_ct_CC"; then
2978
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2979
echo "${ECHO_T}$ac_ct_CC" >&6; }
2981
{ echo "$as_me:$LINENO: result: no" >&5
2982
echo "${ECHO_T}no" >&6; }
2986
test -n "$ac_ct_CC" && break
2989
if test "x$ac_ct_CC" = x; then
2992
case $cross_compiling:$ac_tool_warned in
2994
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2995
whose name does not start with the host triplet. If you think this
2996
configuration is useful to you, please write to autoconf@gnu.org." >&5
2997
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2998
whose name does not start with the host triplet. If you think this
2999
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3000
ac_tool_warned=yes ;;
3009
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3010
See \`config.log' for more details." >&5
3011
echo "$as_me: error: no acceptable C compiler found in \$PATH
3012
See \`config.log' for more details." >&2;}
3013
{ (exit 1); exit 1; }; }
3015
# Provide some information about the compiler.
3016
echo "$as_me:$LINENO: checking for C compiler version" >&5
3017
ac_compiler=`set X $ac_compile; echo $2`
3018
{ (ac_try="$ac_compiler --version >&5"
3020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021
*) ac_try_echo=$ac_try;;
3023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3024
(eval "$ac_compiler --version >&5") 2>&5
3026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027
(exit $ac_status); }
3028
{ (ac_try="$ac_compiler -v >&5"
3030
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031
*) ac_try_echo=$ac_try;;
3033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3034
(eval "$ac_compiler -v >&5") 2>&5
3036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
(exit $ac_status); }
3038
{ (ac_try="$ac_compiler -V >&5"
3040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041
*) ac_try_echo=$ac_try;;
3043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044
(eval "$ac_compiler -V >&5") 2>&5
3046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
(exit $ac_status); }
3049
cat >conftest.$ac_ext <<_ACEOF
3052
cat confdefs.h >>conftest.$ac_ext
3053
cat >>conftest.$ac_ext <<_ACEOF
3054
/* end confdefs.h. */
3064
ac_clean_files_save=$ac_clean_files
3065
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3066
# Try to create an executable without -o first, disregard a.out.
3067
# It will help us diagnose broken compilers, and finding out an intuition
3069
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3070
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3071
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3073
# List of possible output files, starting from the most likely.
3074
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3075
# only as a last resort. b.out is created by i960 compilers.
3076
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3078
# The IRIX 6 linker writes into existing files which may not be
3079
# executable, retaining their permissions. Remove them first so a
3080
# subsequent execution test works.
3082
for ac_file in $ac_files
3085
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3086
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3091
if { (ac_try="$ac_link_default"
3093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094
*) ac_try_echo=$ac_try;;
3096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097
(eval "$ac_link_default") 2>&5
3099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100
(exit $ac_status); }; then
3101
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3102
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3103
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3104
# so that the user can short-circuit this test for compilers unknown to
3106
for ac_file in $ac_files ''
3108
test -f "$ac_file" || continue
3110
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3113
# We found the default executable, but exeext='' is most
3117
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3119
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3121
# We set ac_cv_exeext here because the later test for it is not
3122
# safe: cross compilers may not add the suffix if given an `-o'
3123
# argument, so we may need to know it at that point already.
3124
# Even if this section looks crufty: it has the advantage of
3131
test "$ac_cv_exeext" = no && ac_cv_exeext=
3137
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3138
echo "${ECHO_T}$ac_file" >&6; }
3139
if test -z "$ac_file"; then
3140
echo "$as_me: failed program was:" >&5
3141
sed 's/^/| /' conftest.$ac_ext >&5
3143
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3144
See \`config.log' for more details." >&5
3145
echo "$as_me: error: C compiler cannot create executables
3146
See \`config.log' for more details." >&2;}
3147
{ (exit 77); exit 77; }; }
3150
ac_exeext=$ac_cv_exeext
3152
# Check that the compiler produces executables we can run. If not, either
3153
# the compiler is broken, or we cross compile.
3154
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3155
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3156
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3157
# If not cross compiling, check that we can run a simple program.
3158
if test "$cross_compiling" != yes; then
3159
if { ac_try='./$ac_file'
3160
{ (case "(($ac_try" in
3161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162
*) ac_try_echo=$ac_try;;
3164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165
(eval "$ac_try") 2>&5
3167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168
(exit $ac_status); }; }; then
3171
if test "$cross_compiling" = maybe; then
3174
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3175
If you meant to cross compile, use \`--host'.
3176
See \`config.log' for more details." >&5
3177
echo "$as_me: error: cannot run C compiled programs.
3178
If you meant to cross compile, use \`--host'.
3179
See \`config.log' for more details." >&2;}
3180
{ (exit 1); exit 1; }; }
3184
{ echo "$as_me:$LINENO: result: yes" >&5
3185
echo "${ECHO_T}yes" >&6; }
3187
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3188
ac_clean_files=$ac_clean_files_save
3189
# Check that the compiler produces executables we can run. If not, either
3190
# the compiler is broken, or we cross compile.
3191
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3192
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3193
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3194
echo "${ECHO_T}$cross_compiling" >&6; }
3196
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3197
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3198
if { (ac_try="$ac_link"
3200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201
*) ac_try_echo=$ac_try;;
3203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204
(eval "$ac_link") 2>&5
3206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207
(exit $ac_status); }; then
3208
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3209
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3210
# work properly (i.e., refer to `conftest.exe'), while it won't with
3212
for ac_file in conftest.exe conftest conftest.*; do
3213
test -f "$ac_file" || continue
3215
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3216
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3222
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3223
See \`config.log' for more details." >&5
3224
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3225
See \`config.log' for more details." >&2;}
3226
{ (exit 1); exit 1; }; }
3229
rm -f conftest$ac_cv_exeext
3230
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3231
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3233
rm -f conftest.$ac_ext
3234
EXEEXT=$ac_cv_exeext
3236
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3237
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3238
if test "${ac_cv_objext+set}" = set; then
3239
echo $ECHO_N "(cached) $ECHO_C" >&6
3241
cat >conftest.$ac_ext <<_ACEOF
3244
cat confdefs.h >>conftest.$ac_ext
3245
cat >>conftest.$ac_ext <<_ACEOF
3246
/* end confdefs.h. */
3256
rm -f conftest.o conftest.obj
3257
if { (ac_try="$ac_compile"
3259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260
*) ac_try_echo=$ac_try;;
3262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3263
(eval "$ac_compile") 2>&5
3265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266
(exit $ac_status); }; then
3267
for ac_file in conftest.o conftest.obj conftest.*; do
3268
test -f "$ac_file" || continue;
3270
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3271
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3276
echo "$as_me: failed program was:" >&5
3277
sed 's/^/| /' conftest.$ac_ext >&5
3279
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3280
See \`config.log' for more details." >&5
3281
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3282
See \`config.log' for more details." >&2;}
3283
{ (exit 1); exit 1; }; }
3286
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3288
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3289
echo "${ECHO_T}$ac_cv_objext" >&6; }
3290
OBJEXT=$ac_cv_objext
3292
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3293
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3294
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3295
echo $ECHO_N "(cached) $ECHO_C" >&6
3297
cat >conftest.$ac_ext <<_ACEOF
3300
cat confdefs.h >>conftest.$ac_ext
3301
cat >>conftest.$ac_ext <<_ACEOF
3302
/* end confdefs.h. */
3315
rm -f conftest.$ac_objext
3316
if { (ac_try="$ac_compile"
3318
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319
*) ac_try_echo=$ac_try;;
3321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322
(eval "$ac_compile") 2>conftest.er1
3324
grep -v '^ *+' conftest.er1 >conftest.err
3326
cat conftest.err >&5
3327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328
(exit $ac_status); } && {
3329
test -z "$ac_c_werror_flag" ||
3330
test ! -s conftest.err
3331
} && test -s conftest.$ac_objext; then
3334
echo "$as_me: failed program was:" >&5
3335
sed 's/^/| /' conftest.$ac_ext >&5
3340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3344
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3345
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3346
GCC=`test $ac_compiler_gnu = yes && echo yes`
3347
ac_test_CFLAGS=${CFLAGS+set}
3348
ac_save_CFLAGS=$CFLAGS
3349
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3350
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3351
if test "${ac_cv_prog_cc_g+set}" = set; then
3352
echo $ECHO_N "(cached) $ECHO_C" >&6
3354
ac_save_c_werror_flag=$ac_c_werror_flag
3355
ac_c_werror_flag=yes
3358
cat >conftest.$ac_ext <<_ACEOF
3361
cat confdefs.h >>conftest.$ac_ext
3362
cat >>conftest.$ac_ext <<_ACEOF
3363
/* end confdefs.h. */
3373
rm -f conftest.$ac_objext
3374
if { (ac_try="$ac_compile"
3376
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377
*) ac_try_echo=$ac_try;;
3379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380
(eval "$ac_compile") 2>conftest.er1
3382
grep -v '^ *+' conftest.er1 >conftest.err
3384
cat conftest.err >&5
3385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386
(exit $ac_status); } && {
3387
test -z "$ac_c_werror_flag" ||
3388
test ! -s conftest.err
3389
} && test -s conftest.$ac_objext; then
3392
echo "$as_me: failed program was:" >&5
3393
sed 's/^/| /' conftest.$ac_ext >&5
3396
cat >conftest.$ac_ext <<_ACEOF
3399
cat confdefs.h >>conftest.$ac_ext
3400
cat >>conftest.$ac_ext <<_ACEOF
3401
/* end confdefs.h. */
3411
rm -f conftest.$ac_objext
3412
if { (ac_try="$ac_compile"
3414
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415
*) ac_try_echo=$ac_try;;
3417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3418
(eval "$ac_compile") 2>conftest.er1
3420
grep -v '^ *+' conftest.er1 >conftest.err
3422
cat conftest.err >&5
3423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424
(exit $ac_status); } && {
3425
test -z "$ac_c_werror_flag" ||
3426
test ! -s conftest.err
3427
} && test -s conftest.$ac_objext; then
3430
echo "$as_me: failed program was:" >&5
3431
sed 's/^/| /' conftest.$ac_ext >&5
3433
ac_c_werror_flag=$ac_save_c_werror_flag
3435
cat >conftest.$ac_ext <<_ACEOF
3438
cat confdefs.h >>conftest.$ac_ext
3439
cat >>conftest.$ac_ext <<_ACEOF
3440
/* end confdefs.h. */
3450
rm -f conftest.$ac_objext
3451
if { (ac_try="$ac_compile"
3453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
*) ac_try_echo=$ac_try;;
3456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457
(eval "$ac_compile") 2>conftest.er1
3459
grep -v '^ *+' conftest.er1 >conftest.err
3461
cat conftest.err >&5
3462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
(exit $ac_status); } && {
3464
test -z "$ac_c_werror_flag" ||
3465
test ! -s conftest.err
3466
} && test -s conftest.$ac_objext; then
3469
echo "$as_me: failed program was:" >&5
3470
sed 's/^/| /' conftest.$ac_ext >&5
3475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482
ac_c_werror_flag=$ac_save_c_werror_flag
3484
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3485
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3486
if test "$ac_test_CFLAGS" = set; then
3487
CFLAGS=$ac_save_CFLAGS
3488
elif test $ac_cv_prog_cc_g = yes; then
3489
if test "$GCC" = yes; then
3495
if test "$GCC" = yes; then
3501
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3502
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3503
if test "${ac_cv_prog_cc_c89+set}" = set; then
3504
echo $ECHO_N "(cached) $ECHO_C" >&6
3506
ac_cv_prog_cc_c89=no
3508
cat >conftest.$ac_ext <<_ACEOF
3511
cat confdefs.h >>conftest.$ac_ext
3512
cat >>conftest.$ac_ext <<_ACEOF
3513
/* end confdefs.h. */
3516
#include <sys/types.h>
3517
#include <sys/stat.h>
3518
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3519
struct buf { int x; };
3520
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3521
static char *e (p, i)
3527
static char *f (char * (*g) (char **, int), char **p, ...)
3532
s = g (p, va_arg (v,int));
3537
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3538
function prototypes and stuff, but not '\xHH' hex character constants.
3539
These don't provoke an error unfortunately, instead are silently treated
3540
as 'x'. The following induces an error, until -std is added to get
3541
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3542
array size at least. It's necessary to write '\x00'==0 to get something
3543
that's true only with -std. */
3544
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3546
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3547
inside strings and character constants. */
3549
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3551
int test (int i, double x);
3552
struct s1 {int (*f) (int a);};
3553
struct s2 {int (*f) (double a);};
3554
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3560
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3565
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3566
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3568
CC="$ac_save_CC $ac_arg"
3569
rm -f conftest.$ac_objext
3570
if { (ac_try="$ac_compile"
3572
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573
*) ac_try_echo=$ac_try;;
3575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3576
(eval "$ac_compile") 2>conftest.er1
3578
grep -v '^ *+' conftest.er1 >conftest.err
3580
cat conftest.err >&5
3581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582
(exit $ac_status); } && {
3583
test -z "$ac_c_werror_flag" ||
3584
test ! -s conftest.err
3585
} && test -s conftest.$ac_objext; then
3586
ac_cv_prog_cc_c89=$ac_arg
3588
echo "$as_me: failed program was:" >&5
3589
sed 's/^/| /' conftest.$ac_ext >&5
3594
rm -f core conftest.err conftest.$ac_objext
3595
test "x$ac_cv_prog_cc_c89" != "xno" && break
3597
rm -f conftest.$ac_ext
3602
case "x$ac_cv_prog_cc_c89" in
3604
{ echo "$as_me:$LINENO: result: none needed" >&5
3605
echo "${ECHO_T}none needed" >&6; } ;;
3607
{ echo "$as_me:$LINENO: result: unsupported" >&5
3608
echo "${ECHO_T}unsupported" >&6; } ;;
3610
CC="$CC $ac_cv_prog_cc_c89"
3611
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3612
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3617
ac_cpp='$CPP $CPPFLAGS'
3618
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622
depcc="$CC" am_compiler_list=
3624
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3625
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3626
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3627
echo $ECHO_N "(cached) $ECHO_C" >&6
3629
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3630
# We make a subdir and do the tests there. Otherwise we can end up
3631
# making bogus files that we don't know about and never remove. For
3632
# instance it was reported that on HP-UX the gcc test will end up
3633
# making a dummy file named `D' -- because `-MD' means `put the output
3636
# Copy depcomp to subdir because otherwise we won't find it if we're
3637
# using a relative directory.
3638
cp "$am_depcomp" conftest.dir
3640
# We will build objects and dependencies in a subdirectory because
3641
# it helps to detect inapplicable dependency modes. For instance
3642
# both Tru64's cc and ICC support -MD to output dependencies as a
3643
# side effect of compilation, but ICC will put the dependencies in
3644
# the current directory while Tru64 will put them in the object
3648
am_cv_CC_dependencies_compiler_type=none
3649
if test "$am_compiler_list" = ""; then
3650
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3652
for depmode in $am_compiler_list; do
3653
# Setup a source with many dependencies, because some compilers
3654
# like to wrap large dependency lists on column 80 (with \), and
3655
# we should not choose a depcomp mode which is confused by this.
3657
# We need to recreate these files for each test, as the compiler may
3658
# overwrite some of them when testing with obscure command lines.
3659
# This happens at least with the AIX C compiler.
3661
for i in 1 2 3 4 5 6; do
3662
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3663
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3664
# Solaris 8's {/usr,}/bin/sh.
3665
touch sub/conftst$i.h
3667
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3671
# after this tag, mechanisms are not by side-effect, so they'll
3672
# only be used when explicitly requested
3673
if test "x$enable_dependency_tracking" = xyes; then
3681
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3682
# mode. It turns out that the SunPro C++ compiler does not properly
3683
# handle `-M -o', and we need to detect this.
3684
if depmode=$depmode \
3685
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3686
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3687
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3688
>/dev/null 2>conftest.err &&
3689
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3690
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3691
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3692
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3693
# icc doesn't choke on unknown options, it will just issue warnings
3694
# or remarks (even with -Werror). So we grep stderr for any message
3695
# that says an option was ignored or not supported.
3696
# When given -MP, icc 7.0 and 7.1 complain thusly:
3697
# icc: Command line warning: ignoring option '-M'; no argument required
3698
# The diagnosis changed in icc 8.0:
3699
# icc: Command line remark: option '-MP' not supported
3700
if (grep 'ignoring option' conftest.err ||
3701
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3702
am_cv_CC_dependencies_compiler_type=$depmode
3711
am_cv_CC_dependencies_compiler_type=none
3715
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3716
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3717
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3720
test "x$enable_dependency_tracking" != xno \
3721
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3723
am__fastdepCC_FALSE='#'
3725
am__fastdepCC_TRUE='#'
3726
am__fastdepCC_FALSE=
3730
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3731
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3732
if test "${lt_cv_path_SED+set}" = set; then
3733
echo $ECHO_N "(cached) $ECHO_C" >&6
3735
# Loop through the user's path and test for sed and gsed.
3736
# Then use that list of sed's as ones to test for truncation.
3737
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741
test -z "$as_dir" && as_dir=.
3742
for lt_ac_prog in sed gsed; do
3743
for ac_exec_ext in '' $ac_executable_extensions; do
3744
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3745
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3753
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3754
# along with /bin/sed that truncates output.
3755
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3756
test ! -f $lt_ac_sed && continue
3757
cat /dev/null > conftest.in
3759
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3760
# Check for GNU sed and select it if it is found.
3761
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3762
lt_cv_path_SED=$lt_ac_sed
3766
cat conftest.in conftest.in >conftest.tmp
3767
mv conftest.tmp conftest.in
3768
cp conftest.in conftest.nl
3770
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3771
cmp -s conftest.out conftest.nl || break
3772
# 10000 chars as input seems more than enough
3773
test $lt_ac_count -gt 10 && break
3774
lt_ac_count=`expr $lt_ac_count + 1`
3775
if test $lt_ac_count -gt $lt_ac_max; then
3776
lt_ac_max=$lt_ac_count
3777
lt_cv_path_SED=$lt_ac_sed
3786
{ echo "$as_me:$LINENO: result: $SED" >&5
3787
echo "${ECHO_T}$SED" >&6; }
3789
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3790
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3791
if test "${ac_cv_path_GREP+set}" = set; then
3792
echo $ECHO_N "(cached) $ECHO_C" >&6
3794
# Extract the first word of "grep ggrep" to use in msg output
3795
if test -z "$GREP"; then
3796
set dummy grep ggrep; ac_prog_name=$2
3797
if test "${ac_cv_path_GREP+set}" = set; then
3798
echo $ECHO_N "(cached) $ECHO_C" >&6
3800
ac_path_GREP_found=false
3801
# Loop through the user's path and test for each of PROGNAME-LIST
3802
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3806
test -z "$as_dir" && as_dir=.
3807
for ac_prog in grep ggrep; do
3808
for ac_exec_ext in '' $ac_executable_extensions; do
3809
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3810
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3811
# Check for GNU ac_path_GREP and select it if it is found.
3812
# Check for GNU $ac_path_GREP
3813
case `"$ac_path_GREP" --version 2>&1` in
3815
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3818
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3821
cat "conftest.in" "conftest.in" >"conftest.tmp"
3822
mv "conftest.tmp" "conftest.in"
3823
cp "conftest.in" "conftest.nl"
3824
echo 'GREP' >> "conftest.nl"
3825
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3826
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3827
ac_count=`expr $ac_count + 1`
3828
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3829
# Best one so far, save it but keep looking for a better one
3830
ac_cv_path_GREP="$ac_path_GREP"
3831
ac_path_GREP_max=$ac_count
3833
# 10*(2^10) chars as input seems more than enough
3834
test $ac_count -gt 10 && break
3836
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3840
$ac_path_GREP_found && break 3
3850
GREP="$ac_cv_path_GREP"
3851
if test -z "$GREP"; then
3852
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3853
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3854
{ (exit 1); exit 1; }; }
3858
ac_cv_path_GREP=$GREP
3863
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3864
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3865
GREP="$ac_cv_path_GREP"
3868
{ echo "$as_me:$LINENO: checking for egrep" >&5
3869
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3870
if test "${ac_cv_path_EGREP+set}" = set; then
3871
echo $ECHO_N "(cached) $ECHO_C" >&6
3873
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3874
then ac_cv_path_EGREP="$GREP -E"
3876
# Extract the first word of "egrep" to use in msg output
3877
if test -z "$EGREP"; then
3878
set dummy egrep; ac_prog_name=$2
3879
if test "${ac_cv_path_EGREP+set}" = set; then
3880
echo $ECHO_N "(cached) $ECHO_C" >&6
3882
ac_path_EGREP_found=false
3883
# Loop through the user's path and test for each of PROGNAME-LIST
3884
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3888
test -z "$as_dir" && as_dir=.
3889
for ac_prog in egrep; do
3890
for ac_exec_ext in '' $ac_executable_extensions; do
3891
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3892
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3893
# Check for GNU ac_path_EGREP and select it if it is found.
3894
# Check for GNU $ac_path_EGREP
3895
case `"$ac_path_EGREP" --version 2>&1` in
3897
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3900
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3903
cat "conftest.in" "conftest.in" >"conftest.tmp"
3904
mv "conftest.tmp" "conftest.in"
3905
cp "conftest.in" "conftest.nl"
3906
echo 'EGREP' >> "conftest.nl"
3907
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3908
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3909
ac_count=`expr $ac_count + 1`
3910
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3911
# Best one so far, save it but keep looking for a better one
3912
ac_cv_path_EGREP="$ac_path_EGREP"
3913
ac_path_EGREP_max=$ac_count
3915
# 10*(2^10) chars as input seems more than enough
3916
test $ac_count -gt 10 && break
3918
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3922
$ac_path_EGREP_found && break 3
3932
EGREP="$ac_cv_path_EGREP"
3933
if test -z "$EGREP"; then
3934
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3935
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3936
{ (exit 1); exit 1; }; }
3940
ac_cv_path_EGREP=$EGREP
3946
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3947
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3948
EGREP="$ac_cv_path_EGREP"
3952
# Check whether --with-gnu-ld was given.
3953
if test "${with_gnu_ld+set}" = set; then
3954
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3960
if test "$GCC" = yes; then
3961
# Check if gcc -print-prog-name=ld gives a path.
3962
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3963
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3966
# gcc leaves a trailing carriage return which upsets mingw
3967
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3969
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3972
# Accept absolute paths.
3974
re_direlt='/[^/][^/]*/\.\./'
3975
# Canonicalize the pathname of ld
3976
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3977
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3978
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3980
test -z "$LD" && LD="$ac_prog"
3983
# If it fails, then pretend we aren't using GCC.
3987
# If it is relative, then search for the first ld in PATH.
3991
elif test "$with_gnu_ld" = yes; then
3992
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
3993
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3995
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3996
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3998
if test "${lt_cv_path_LD+set}" = set; then
3999
echo $ECHO_N "(cached) $ECHO_C" >&6
4001
if test -z "$LD"; then
4002
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4003
for ac_dir in $PATH; do
4005
test -z "$ac_dir" && ac_dir=.
4006
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4007
lt_cv_path_LD="$ac_dir/$ac_prog"
4008
# Check to see if the program is GNU ld. I'd rather use --version,
4009
# but apparently some variants of GNU ld only accept -v.
4010
# Break only if it was the GNU/non-GNU ld that we prefer.
4011
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4012
*GNU* | *'with BFD'*)
4013
test "$with_gnu_ld" != no && break
4016
test "$with_gnu_ld" != yes && break
4023
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4028
if test -n "$LD"; then
4029
{ echo "$as_me:$LINENO: result: $LD" >&5
4030
echo "${ECHO_T}$LD" >&6; }
4032
{ echo "$as_me:$LINENO: result: no" >&5
4033
echo "${ECHO_T}no" >&6; }
4035
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4036
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4037
{ (exit 1); exit 1; }; }
4038
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4039
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4040
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4041
echo $ECHO_N "(cached) $ECHO_C" >&6
4043
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4044
case `$LD -v 2>&1 </dev/null` in
4045
*GNU* | *'with BFD'*)
4046
lt_cv_prog_gnu_ld=yes
4049
lt_cv_prog_gnu_ld=no
4053
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4054
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4055
with_gnu_ld=$lt_cv_prog_gnu_ld
4058
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4059
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4060
if test "${lt_cv_ld_reload_flag+set}" = set; then
4061
echo $ECHO_N "(cached) $ECHO_C" >&6
4063
lt_cv_ld_reload_flag='-r'
4065
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4066
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4067
reload_flag=$lt_cv_ld_reload_flag
4068
case $reload_flag in
4070
*) reload_flag=" $reload_flag" ;;
4072
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4075
if test "$GCC" = yes; then
4076
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4078
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4083
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4084
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4085
if test "${lt_cv_path_NM+set}" = set; then
4086
echo $ECHO_N "(cached) $ECHO_C" >&6
4088
if test -n "$NM"; then
4089
# Let the user override the test.
4092
lt_nm_to_check="${ac_tool_prefix}nm"
4093
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4094
lt_nm_to_check="$lt_nm_to_check nm"
4096
for lt_tmp_nm in $lt_nm_to_check; do
4097
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4098
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4100
test -z "$ac_dir" && ac_dir=.
4101
tmp_nm="$ac_dir/$lt_tmp_nm"
4102
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4103
# Check to see if the nm accepts a BSD-compat flag.
4104
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4105
# nm: unknown option "B" ignored
4106
# Tru64's nm complains that /dev/null is an invalid object file
4107
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4108
*/dev/null* | *'Invalid file or object type'*)
4109
lt_cv_path_NM="$tmp_nm -B"
4113
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4115
lt_cv_path_NM="$tmp_nm -p"
4119
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4120
continue # so that we can try to find one that supports BSD flags
4129
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4132
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4133
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4136
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4137
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4139
if test "$LN_S" = "ln -s"; then
4140
{ echo "$as_me:$LINENO: result: yes" >&5
4141
echo "${ECHO_T}yes" >&6; }
4143
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4144
echo "${ECHO_T}no, using $LN_S" >&6; }
4147
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4148
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4149
if test "${lt_cv_deplibs_check_method+set}" = set; then
4150
echo $ECHO_N "(cached) $ECHO_C" >&6
4152
lt_cv_file_magic_cmd='$MAGIC_CMD'
4153
lt_cv_file_magic_test_file=
4154
lt_cv_deplibs_check_method='unknown'
4155
# Need to set the preceding variable on all platforms that support
4156
# interlibrary dependencies.
4157
# 'none' -- dependencies not supported.
4158
# `unknown' -- same as none, but documents that we really don't know.
4159
# 'pass_all' -- all dependencies passed with no checks.
4160
# 'test_compile' -- check by making test program.
4161
# 'file_magic [[regex]]' -- check by looking for files in library path
4162
# which responds to the $file_magic_cmd with a given extended regex.
4163
# If you have `file' or equivalent on your system and you're not sure
4164
# whether `pass_all' will *always* work, you probably want this one.
4168
lt_cv_deplibs_check_method=pass_all
4172
lt_cv_deplibs_check_method=pass_all
4176
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4177
lt_cv_file_magic_cmd='/usr/bin/file -L'
4178
lt_cv_file_magic_test_file=/shlib/libc.so
4182
# func_win32_libid is a shell function defined in ltmain.sh
4183
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4184
lt_cv_file_magic_cmd='func_win32_libid'
4188
# Base MSYS/MinGW do not provide the 'file' command needed by
4189
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4190
# unless we find 'file', for example because we are cross-compiling.
4191
if ( file / ) >/dev/null 2>&1; then
4192
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4193
lt_cv_file_magic_cmd='func_win32_libid'
4195
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4196
lt_cv_file_magic_cmd='$OBJDUMP -f'
4200
darwin* | rhapsody*)
4201
lt_cv_deplibs_check_method=pass_all
4204
freebsd* | dragonfly*)
4205
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4208
# Not sure whether the presence of OpenBSD here was a mistake.
4209
# Let's accept both of them until this is cleared up.
4210
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4211
lt_cv_file_magic_cmd=/usr/bin/file
4212
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4216
lt_cv_deplibs_check_method=pass_all
4221
lt_cv_deplibs_check_method=pass_all
4224
hpux10.20* | hpux11*)
4225
lt_cv_file_magic_cmd=/usr/bin/file
4228
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4229
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4232
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]'
4233
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4236
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4237
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4243
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4244
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4247
irix5* | irix6* | nonstopux*)
4249
*-32|*"-32 ") libmagic=32-bit;;
4250
*-n32|*"-n32 ") libmagic=N32;;
4251
*-64|*"-64 ") libmagic=64-bit;;
4252
*) libmagic=never-match;;
4254
lt_cv_deplibs_check_method=pass_all
4257
# This must be Linux ELF.
4258
linux* | k*bsd*-gnu)
4259
lt_cv_deplibs_check_method=pass_all
4262
netbsd* | netbsdelf*-gnu)
4263
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4264
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4266
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4271
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4272
lt_cv_file_magic_cmd=/usr/bin/file
4273
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4277
lt_cv_deplibs_check_method=unknown
4281
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4282
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4284
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4288
osf3* | osf4* | osf5*)
4289
lt_cv_deplibs_check_method=pass_all
4293
lt_cv_deplibs_check_method=pass_all
4297
lt_cv_deplibs_check_method=pass_all
4301
case $host_vendor in
4303
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]'
4304
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4307
lt_cv_deplibs_check_method=pass_all
4310
lt_cv_file_magic_cmd='/bin/file'
4311
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4314
lt_cv_file_magic_cmd='/bin/file'
4315
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4316
lt_cv_file_magic_test_file=/lib/libc.so
4319
lt_cv_deplibs_check_method=pass_all
4322
lt_cv_deplibs_check_method=pass_all
4327
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4328
lt_cv_deplibs_check_method=pass_all
4333
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4334
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4335
file_magic_cmd=$lt_cv_file_magic_cmd
4336
deplibs_check_method=$lt_cv_deplibs_check_method
4337
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4342
# If no C compiler was specified, use CC.
4345
# If no C compiler flags were specified, use CFLAGS.
4346
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4348
# Allow CC to be a program name with arguments.
4352
# Check whether --enable-libtool-lock was given.
4353
if test "${enable_libtool_lock+set}" = set; then
4354
enableval=$enable_libtool_lock;
4357
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4359
# Some flags need to be propagated to the compiler or linker for good
4363
# Find out which ABI we are using.
4364
echo 'int i;' > conftest.$ac_ext
4365
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366
(eval $ac_compile) 2>&5
4368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
(exit $ac_status); }; then
4370
case `/usr/bin/file conftest.$ac_objext` in
4382
# Find out which ABI we are using.
4383
echo '#line __oline__ "configure"' > conftest.$ac_ext
4384
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4385
(eval $ac_compile) 2>&5
4387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388
(exit $ac_status); }; then
4389
if test "$lt_cv_prog_gnu_ld" = yes; then
4390
case `/usr/bin/file conftest.$ac_objext` in
4392
LD="${LD-ld} -melf32bsmip"
4395
LD="${LD-ld} -melf32bmipn32"
4398
LD="${LD-ld} -melf64bmip"
4402
case `/usr/bin/file conftest.$ac_objext` in
4418
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4419
s390*-*linux*|sparc*-*linux*)
4420
# Find out which ABI we are using.
4421
echo 'int i;' > conftest.$ac_ext
4422
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4423
(eval $ac_compile) 2>&5
4425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426
(exit $ac_status); }; then
4427
case `/usr/bin/file conftest.o` in
4430
x86_64-*kfreebsd*-gnu)
4431
LD="${LD-ld} -m elf_i386_fbsd"
4434
LD="${LD-ld} -m elf_i386"
4436
ppc64-*linux*|powerpc64-*linux*)
4437
LD="${LD-ld} -m elf32ppclinux"
4440
LD="${LD-ld} -m elf_s390"
4443
LD="${LD-ld} -m elf32_sparc"
4449
x86_64-*kfreebsd*-gnu)
4450
LD="${LD-ld} -m elf_x86_64_fbsd"
4453
LD="${LD-ld} -m elf_x86_64"
4455
ppc*-*linux*|powerpc*-*linux*)
4456
LD="${LD-ld} -m elf64ppc"
4459
LD="${LD-ld} -m elf64_s390"
4462
LD="${LD-ld} -m elf64_sparc"
4472
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
4473
SAVE_CFLAGS="$CFLAGS"
4474
CFLAGS="$CFLAGS -belf"
4475
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4476
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4477
if test "${lt_cv_cc_needs_belf+set}" = set; then
4478
echo $ECHO_N "(cached) $ECHO_C" >&6
4481
ac_cpp='$CPP $CPPFLAGS'
4482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486
cat >conftest.$ac_ext <<_ACEOF
4489
cat confdefs.h >>conftest.$ac_ext
4490
cat >>conftest.$ac_ext <<_ACEOF
4491
/* end confdefs.h. */
4501
rm -f conftest.$ac_objext conftest$ac_exeext
4502
if { (ac_try="$ac_link"
4504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505
*) ac_try_echo=$ac_try;;
4507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508
(eval "$ac_link") 2>conftest.er1
4510
grep -v '^ *+' conftest.er1 >conftest.err
4512
cat conftest.err >&5
4513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514
(exit $ac_status); } && {
4515
test -z "$ac_c_werror_flag" ||
4516
test ! -s conftest.err
4517
} && test -s conftest$ac_exeext &&
4518
$as_test_x conftest$ac_exeext; then
4519
lt_cv_cc_needs_belf=yes
4521
echo "$as_me: failed program was:" >&5
4522
sed 's/^/| /' conftest.$ac_ext >&5
4524
lt_cv_cc_needs_belf=no
4527
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4528
conftest$ac_exeext conftest.$ac_ext
4530
ac_cpp='$CPP $CPPFLAGS'
4531
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4537
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4538
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4539
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4540
CFLAGS="$SAVE_CFLAGS"
4544
# Find out which ABI we are using.
4545
echo 'int i;' > conftest.$ac_ext
4546
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4547
(eval $ac_compile) 2>&5
4549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550
(exit $ac_status); }; then
4551
case `/usr/bin/file conftest.o` in
4553
case $lt_cv_prog_gnu_ld in
4554
yes*) LD="${LD-ld} -m elf64_sparc" ;;
4556
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4570
need_locks="$enable_libtool_lock"
4574
ac_cpp='$CPP $CPPFLAGS'
4575
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4579
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4580
# On Suns, sometimes $CPP names a directory.
4581
if test -n "$CPP" && test -d "$CPP"; then
4584
if test -z "$CPP"; then
4585
if test "${ac_cv_prog_CPP+set}" = set; then
4586
echo $ECHO_N "(cached) $ECHO_C" >&6
4588
# Double quotes because CPP needs to be expanded
4589
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4592
for ac_c_preproc_warn_flag in '' yes
4594
# Use a header file that comes with gcc, so configuring glibc
4595
# with a fresh cross-compiler works.
4596
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4597
# <limits.h> exists even on freestanding compilers.
4598
# On the NeXT, cc -E runs the code through the compiler's parser,
4599
# not just through cpp. "Syntax error" is here to catch this case.
4600
cat >conftest.$ac_ext <<_ACEOF
4603
cat confdefs.h >>conftest.$ac_ext
4604
cat >>conftest.$ac_ext <<_ACEOF
4605
/* end confdefs.h. */
4607
@%:@ include <limits.h>
4609
@%:@ include <assert.h>
4613
if { (ac_try="$ac_cpp conftest.$ac_ext"
4615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616
*) ac_try_echo=$ac_try;;
4618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4621
grep -v '^ *+' conftest.er1 >conftest.err
4623
cat conftest.err >&5
4624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625
(exit $ac_status); } >/dev/null && {
4626
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4627
test ! -s conftest.err
4631
echo "$as_me: failed program was:" >&5
4632
sed 's/^/| /' conftest.$ac_ext >&5
4634
# Broken: fails on valid input.
4638
rm -f conftest.err conftest.$ac_ext
4640
# OK, works on sane cases. Now check whether nonexistent headers
4641
# can be detected and how.
4642
cat >conftest.$ac_ext <<_ACEOF
4645
cat confdefs.h >>conftest.$ac_ext
4646
cat >>conftest.$ac_ext <<_ACEOF
4647
/* end confdefs.h. */
4648
@%:@include <ac_nonexistent.h>
4650
if { (ac_try="$ac_cpp conftest.$ac_ext"
4652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653
*) ac_try_echo=$ac_try;;
4655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4658
grep -v '^ *+' conftest.er1 >conftest.err
4660
cat conftest.err >&5
4661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662
(exit $ac_status); } >/dev/null && {
4663
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4664
test ! -s conftest.err
4666
# Broken: success on invalid input.
4669
echo "$as_me: failed program was:" >&5
4670
sed 's/^/| /' conftest.$ac_ext >&5
4672
# Passes both tests.
4677
rm -f conftest.err conftest.$ac_ext
4680
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681
rm -f conftest.err conftest.$ac_ext
4682
if $ac_preproc_ok; then
4694
{ echo "$as_me:$LINENO: result: $CPP" >&5
4695
echo "${ECHO_T}$CPP" >&6; }
4697
for ac_c_preproc_warn_flag in '' yes
4699
# Use a header file that comes with gcc, so configuring glibc
4700
# with a fresh cross-compiler works.
4701
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702
# <limits.h> exists even on freestanding compilers.
4703
# On the NeXT, cc -E runs the code through the compiler's parser,
4704
# not just through cpp. "Syntax error" is here to catch this case.
4705
cat >conftest.$ac_ext <<_ACEOF
4708
cat confdefs.h >>conftest.$ac_ext
4709
cat >>conftest.$ac_ext <<_ACEOF
4710
/* end confdefs.h. */
4712
@%:@ include <limits.h>
4714
@%:@ include <assert.h>
4718
if { (ac_try="$ac_cpp conftest.$ac_ext"
4720
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721
*) ac_try_echo=$ac_try;;
4723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4726
grep -v '^ *+' conftest.er1 >conftest.err
4728
cat conftest.err >&5
4729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730
(exit $ac_status); } >/dev/null && {
4731
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4732
test ! -s conftest.err
4736
echo "$as_me: failed program was:" >&5
4737
sed 's/^/| /' conftest.$ac_ext >&5
4739
# Broken: fails on valid input.
4743
rm -f conftest.err conftest.$ac_ext
4745
# OK, works on sane cases. Now check whether nonexistent headers
4746
# can be detected and how.
4747
cat >conftest.$ac_ext <<_ACEOF
4750
cat confdefs.h >>conftest.$ac_ext
4751
cat >>conftest.$ac_ext <<_ACEOF
4752
/* end confdefs.h. */
4753
@%:@include <ac_nonexistent.h>
4755
if { (ac_try="$ac_cpp conftest.$ac_ext"
4757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758
*) ac_try_echo=$ac_try;;
4760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4763
grep -v '^ *+' conftest.er1 >conftest.err
4765
cat conftest.err >&5
4766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
(exit $ac_status); } >/dev/null && {
4768
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4769
test ! -s conftest.err
4771
# Broken: success on invalid input.
4774
echo "$as_me: failed program was:" >&5
4775
sed 's/^/| /' conftest.$ac_ext >&5
4777
# Passes both tests.
4782
rm -f conftest.err conftest.$ac_ext
4785
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4786
rm -f conftest.err conftest.$ac_ext
4787
if $ac_preproc_ok; then
4790
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4791
See \`config.log' for more details." >&5
4792
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4793
See \`config.log' for more details." >&2;}
4794
{ (exit 1); exit 1; }; }
4798
ac_cpp='$CPP $CPPFLAGS'
4799
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4804
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4805
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4806
if test "${ac_cv_header_stdc+set}" = set; then
4807
echo $ECHO_N "(cached) $ECHO_C" >&6
4809
cat >conftest.$ac_ext <<_ACEOF
4812
cat confdefs.h >>conftest.$ac_ext
4813
cat >>conftest.$ac_ext <<_ACEOF
4814
/* end confdefs.h. */
4828
rm -f conftest.$ac_objext
4829
if { (ac_try="$ac_compile"
4831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
*) ac_try_echo=$ac_try;;
4834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835
(eval "$ac_compile") 2>conftest.er1
4837
grep -v '^ *+' conftest.er1 >conftest.err
4839
cat conftest.err >&5
4840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
(exit $ac_status); } && {
4842
test -z "$ac_c_werror_flag" ||
4843
test ! -s conftest.err
4844
} && test -s conftest.$ac_objext; then
4845
ac_cv_header_stdc=yes
4847
echo "$as_me: failed program was:" >&5
4848
sed 's/^/| /' conftest.$ac_ext >&5
4850
ac_cv_header_stdc=no
4853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855
if test $ac_cv_header_stdc = yes; then
4856
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4857
cat >conftest.$ac_ext <<_ACEOF
4860
cat confdefs.h >>conftest.$ac_ext
4861
cat >>conftest.$ac_ext <<_ACEOF
4862
/* end confdefs.h. */
4866
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4867
$EGREP "memchr" >/dev/null 2>&1; then
4870
ac_cv_header_stdc=no
4876
if test $ac_cv_header_stdc = yes; then
4877
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4878
cat >conftest.$ac_ext <<_ACEOF
4881
cat confdefs.h >>conftest.$ac_ext
4882
cat >>conftest.$ac_ext <<_ACEOF
4883
/* end confdefs.h. */
4887
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4888
$EGREP "free" >/dev/null 2>&1; then
4891
ac_cv_header_stdc=no
4897
if test $ac_cv_header_stdc = yes; then
4898
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4899
if test "$cross_compiling" = yes; then
4902
cat >conftest.$ac_ext <<_ACEOF
4905
cat confdefs.h >>conftest.$ac_ext
4906
cat >>conftest.$ac_ext <<_ACEOF
4907
/* end confdefs.h. */
4910
#if ((' ' & 0x0FF) == 0x020)
4911
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4912
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4914
# define ISLOWER(c) \
4915
(('a' <= (c) && (c) <= 'i') \
4916
|| ('j' <= (c) && (c) <= 'r') \
4917
|| ('s' <= (c) && (c) <= 'z'))
4918
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4921
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4926
for (i = 0; i < 256; i++)
4927
if (XOR (islower (i), ISLOWER (i))
4928
|| toupper (i) != TOUPPER (i))
4933
rm -f conftest$ac_exeext
4934
if { (ac_try="$ac_link"
4936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937
*) ac_try_echo=$ac_try;;
4939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940
(eval "$ac_link") 2>&5
4942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4944
{ (case "(($ac_try" in
4945
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4946
*) ac_try_echo=$ac_try;;
4948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4949
(eval "$ac_try") 2>&5
4951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952
(exit $ac_status); }; }; then
4955
echo "$as_me: program exited with status $ac_status" >&5
4956
echo "$as_me: failed program was:" >&5
4957
sed 's/^/| /' conftest.$ac_ext >&5
4960
ac_cv_header_stdc=no
4962
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4968
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4969
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4970
if test $ac_cv_header_stdc = yes; then
4972
cat >>confdefs.h <<\_ACEOF
4973
@%:@define STDC_HEADERS 1
4978
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4988
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4989
inttypes.h stdint.h unistd.h
4991
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4992
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4993
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4994
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4995
echo $ECHO_N "(cached) $ECHO_C" >&6
4997
cat >conftest.$ac_ext <<_ACEOF
5000
cat confdefs.h >>conftest.$ac_ext
5001
cat >>conftest.$ac_ext <<_ACEOF
5002
/* end confdefs.h. */
5003
$ac_includes_default
5005
@%:@include <$ac_header>
5007
rm -f conftest.$ac_objext
5008
if { (ac_try="$ac_compile"
5010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011
*) ac_try_echo=$ac_try;;
5013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014
(eval "$ac_compile") 2>conftest.er1
5016
grep -v '^ *+' conftest.er1 >conftest.err
5018
cat conftest.err >&5
5019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
(exit $ac_status); } && {
5021
test -z "$ac_c_werror_flag" ||
5022
test ! -s conftest.err
5023
} && test -s conftest.$ac_objext; then
5024
eval "$as_ac_Header=yes"
5026
echo "$as_me: failed program was:" >&5
5027
sed 's/^/| /' conftest.$ac_ext >&5
5029
eval "$as_ac_Header=no"
5032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034
ac_res=`eval echo '${'$as_ac_Header'}'`
5035
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5036
echo "${ECHO_T}$ac_res" >&6; }
5037
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5038
cat >>confdefs.h <<_ACEOF
5039
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5048
for ac_header in dlfcn.h
5050
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5051
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5052
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5053
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5054
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5055
echo $ECHO_N "(cached) $ECHO_C" >&6
5057
ac_res=`eval echo '${'$as_ac_Header'}'`
5058
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5059
echo "${ECHO_T}$ac_res" >&6; }
5061
# Is the header compilable?
5062
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5063
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5064
cat >conftest.$ac_ext <<_ACEOF
5067
cat confdefs.h >>conftest.$ac_ext
5068
cat >>conftest.$ac_ext <<_ACEOF
5069
/* end confdefs.h. */
5070
$ac_includes_default
5071
@%:@include <$ac_header>
5073
rm -f conftest.$ac_objext
5074
if { (ac_try="$ac_compile"
5076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5077
*) ac_try_echo=$ac_try;;
5079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5080
(eval "$ac_compile") 2>conftest.er1
5082
grep -v '^ *+' conftest.er1 >conftest.err
5084
cat conftest.err >&5
5085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
(exit $ac_status); } && {
5087
test -z "$ac_c_werror_flag" ||
5088
test ! -s conftest.err
5089
} && test -s conftest.$ac_objext; then
5090
ac_header_compiler=yes
5092
echo "$as_me: failed program was:" >&5
5093
sed 's/^/| /' conftest.$ac_ext >&5
5095
ac_header_compiler=no
5098
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5099
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5100
echo "${ECHO_T}$ac_header_compiler" >&6; }
5102
# Is the header present?
5103
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5104
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5105
cat >conftest.$ac_ext <<_ACEOF
5108
cat confdefs.h >>conftest.$ac_ext
5109
cat >>conftest.$ac_ext <<_ACEOF
5110
/* end confdefs.h. */
5111
@%:@include <$ac_header>
5113
if { (ac_try="$ac_cpp conftest.$ac_ext"
5115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116
*) ac_try_echo=$ac_try;;
5118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5121
grep -v '^ *+' conftest.er1 >conftest.err
5123
cat conftest.err >&5
5124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125
(exit $ac_status); } >/dev/null && {
5126
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5127
test ! -s conftest.err
5129
ac_header_preproc=yes
5131
echo "$as_me: failed program was:" >&5
5132
sed 's/^/| /' conftest.$ac_ext >&5
5134
ac_header_preproc=no
5137
rm -f conftest.err conftest.$ac_ext
5138
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5139
echo "${ECHO_T}$ac_header_preproc" >&6; }
5141
# So? What about this header?
5142
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5144
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5145
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5146
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5147
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5148
ac_header_preproc=yes
5151
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5152
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5153
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5154
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5155
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5156
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5157
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5158
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5159
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5160
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5161
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5162
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5164
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
5165
@%:@@%:@ Report this to Fabrice Rey (fabounet@users.berlios.de) @%:@@%:@
5166
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
5168
) | sed "s/^/$as_me: WARNING: /" >&2
5171
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5172
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5173
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5174
echo $ECHO_N "(cached) $ECHO_C" >&6
5176
eval "$as_ac_Header=\$ac_header_preproc"
5178
ac_res=`eval echo '${'$as_ac_Header'}'`
5179
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5180
echo "${ECHO_T}$ac_res" >&6; }
5183
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5184
cat >>confdefs.h <<_ACEOF
5185
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5193
ac_cpp='$CXXCPP $CPPFLAGS'
5194
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5197
if test -z "$CXX"; then
5198
if test -n "$CCC"; then
5201
if test -n "$ac_tool_prefix"; then
5202
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5204
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5206
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5207
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5208
if test "${ac_cv_prog_CXX+set}" = set; then
5209
echo $ECHO_N "(cached) $ECHO_C" >&6
5211
if test -n "$CXX"; then
5212
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218
test -z "$as_dir" && as_dir=.
5219
for ac_exec_ext in '' $ac_executable_extensions; do
5220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5222
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5232
if test -n "$CXX"; then
5233
{ echo "$as_me:$LINENO: result: $CXX" >&5
5234
echo "${ECHO_T}$CXX" >&6; }
5236
{ echo "$as_me:$LINENO: result: no" >&5
5237
echo "${ECHO_T}no" >&6; }
5241
test -n "$CXX" && break
5244
if test -z "$CXX"; then
5246
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5248
# Extract the first word of "$ac_prog", so it can be a program name with args.
5249
set dummy $ac_prog; ac_word=$2
5250
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5251
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5252
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5253
echo $ECHO_N "(cached) $ECHO_C" >&6
5255
if test -n "$ac_ct_CXX"; then
5256
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262
test -z "$as_dir" && as_dir=.
5263
for ac_exec_ext in '' $ac_executable_extensions; do
5264
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265
ac_cv_prog_ac_ct_CXX="$ac_prog"
5266
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5276
if test -n "$ac_ct_CXX"; then
5277
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5278
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5280
{ echo "$as_me:$LINENO: result: no" >&5
5281
echo "${ECHO_T}no" >&6; }
5285
test -n "$ac_ct_CXX" && break
5288
if test "x$ac_ct_CXX" = x; then
5291
case $cross_compiling:$ac_tool_warned in
5293
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5294
whose name does not start with the host triplet. If you think this
5295
configuration is useful to you, please write to autoconf@gnu.org." >&5
5296
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5297
whose name does not start with the host triplet. If you think this
5298
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5299
ac_tool_warned=yes ;;
5307
# Provide some information about the compiler.
5308
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5309
ac_compiler=`set X $ac_compile; echo $2`
5310
{ (ac_try="$ac_compiler --version >&5"
5312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313
*) ac_try_echo=$ac_try;;
5315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316
(eval "$ac_compiler --version >&5") 2>&5
5318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319
(exit $ac_status); }
5320
{ (ac_try="$ac_compiler -v >&5"
5322
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5323
*) ac_try_echo=$ac_try;;
5325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5326
(eval "$ac_compiler -v >&5") 2>&5
5328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329
(exit $ac_status); }
5330
{ (ac_try="$ac_compiler -V >&5"
5332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333
*) ac_try_echo=$ac_try;;
5335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336
(eval "$ac_compiler -V >&5") 2>&5
5338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339
(exit $ac_status); }
5341
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5342
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5343
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5344
echo $ECHO_N "(cached) $ECHO_C" >&6
5346
cat >conftest.$ac_ext <<_ACEOF
5349
cat confdefs.h >>conftest.$ac_ext
5350
cat >>conftest.$ac_ext <<_ACEOF
5351
/* end confdefs.h. */
5364
rm -f conftest.$ac_objext
5365
if { (ac_try="$ac_compile"
5367
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5368
*) ac_try_echo=$ac_try;;
5370
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5371
(eval "$ac_compile") 2>conftest.er1
5373
grep -v '^ *+' conftest.er1 >conftest.err
5375
cat conftest.err >&5
5376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377
(exit $ac_status); } && {
5378
test -z "$ac_cxx_werror_flag" ||
5379
test ! -s conftest.err
5380
} && test -s conftest.$ac_objext; then
5383
echo "$as_me: failed program was:" >&5
5384
sed 's/^/| /' conftest.$ac_ext >&5
5389
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5393
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5394
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5395
GXX=`test $ac_compiler_gnu = yes && echo yes`
5396
ac_test_CXXFLAGS=${CXXFLAGS+set}
5397
ac_save_CXXFLAGS=$CXXFLAGS
5398
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5399
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5400
if test "${ac_cv_prog_cxx_g+set}" = set; then
5401
echo $ECHO_N "(cached) $ECHO_C" >&6
5403
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5404
ac_cxx_werror_flag=yes
5407
cat >conftest.$ac_ext <<_ACEOF
5410
cat confdefs.h >>conftest.$ac_ext
5411
cat >>conftest.$ac_ext <<_ACEOF
5412
/* end confdefs.h. */
5422
rm -f conftest.$ac_objext
5423
if { (ac_try="$ac_compile"
5425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5426
*) ac_try_echo=$ac_try;;
5428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5429
(eval "$ac_compile") 2>conftest.er1
5431
grep -v '^ *+' conftest.er1 >conftest.err
5433
cat conftest.err >&5
5434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435
(exit $ac_status); } && {
5436
test -z "$ac_cxx_werror_flag" ||
5437
test ! -s conftest.err
5438
} && test -s conftest.$ac_objext; then
5439
ac_cv_prog_cxx_g=yes
5441
echo "$as_me: failed program was:" >&5
5442
sed 's/^/| /' conftest.$ac_ext >&5
5445
cat >conftest.$ac_ext <<_ACEOF
5448
cat confdefs.h >>conftest.$ac_ext
5449
cat >>conftest.$ac_ext <<_ACEOF
5450
/* end confdefs.h. */
5460
rm -f conftest.$ac_objext
5461
if { (ac_try="$ac_compile"
5463
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464
*) ac_try_echo=$ac_try;;
5466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467
(eval "$ac_compile") 2>conftest.er1
5469
grep -v '^ *+' conftest.er1 >conftest.err
5471
cat conftest.err >&5
5472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473
(exit $ac_status); } && {
5474
test -z "$ac_cxx_werror_flag" ||
5475
test ! -s conftest.err
5476
} && test -s conftest.$ac_objext; then
5479
echo "$as_me: failed program was:" >&5
5480
sed 's/^/| /' conftest.$ac_ext >&5
5482
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5484
cat >conftest.$ac_ext <<_ACEOF
5487
cat confdefs.h >>conftest.$ac_ext
5488
cat >>conftest.$ac_ext <<_ACEOF
5489
/* end confdefs.h. */
5499
rm -f conftest.$ac_objext
5500
if { (ac_try="$ac_compile"
5502
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5503
*) ac_try_echo=$ac_try;;
5505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5506
(eval "$ac_compile") 2>conftest.er1
5508
grep -v '^ *+' conftest.er1 >conftest.err
5510
cat conftest.err >&5
5511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512
(exit $ac_status); } && {
5513
test -z "$ac_cxx_werror_flag" ||
5514
test ! -s conftest.err
5515
} && test -s conftest.$ac_objext; then
5516
ac_cv_prog_cxx_g=yes
5518
echo "$as_me: failed program was:" >&5
5519
sed 's/^/| /' conftest.$ac_ext >&5
5524
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5530
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5531
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5533
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5534
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5535
if test "$ac_test_CXXFLAGS" = set; then
5536
CXXFLAGS=$ac_save_CXXFLAGS
5537
elif test $ac_cv_prog_cxx_g = yes; then
5538
if test "$GXX" = yes; then
5544
if test "$GXX" = yes; then
5551
ac_cpp='$CXXCPP $CPPFLAGS'
5552
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5556
depcc="$CXX" am_compiler_list=
5558
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5559
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5560
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5561
echo $ECHO_N "(cached) $ECHO_C" >&6
5563
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5564
# We make a subdir and do the tests there. Otherwise we can end up
5565
# making bogus files that we don't know about and never remove. For
5566
# instance it was reported that on HP-UX the gcc test will end up
5567
# making a dummy file named `D' -- because `-MD' means `put the output
5570
# Copy depcomp to subdir because otherwise we won't find it if we're
5571
# using a relative directory.
5572
cp "$am_depcomp" conftest.dir
5574
# We will build objects and dependencies in a subdirectory because
5575
# it helps to detect inapplicable dependency modes. For instance
5576
# both Tru64's cc and ICC support -MD to output dependencies as a
5577
# side effect of compilation, but ICC will put the dependencies in
5578
# the current directory while Tru64 will put them in the object
5582
am_cv_CXX_dependencies_compiler_type=none
5583
if test "$am_compiler_list" = ""; then
5584
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5586
for depmode in $am_compiler_list; do
5587
# Setup a source with many dependencies, because some compilers
5588
# like to wrap large dependency lists on column 80 (with \), and
5589
# we should not choose a depcomp mode which is confused by this.
5591
# We need to recreate these files for each test, as the compiler may
5592
# overwrite some of them when testing with obscure command lines.
5593
# This happens at least with the AIX C compiler.
5595
for i in 1 2 3 4 5 6; do
5596
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5597
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5598
# Solaris 8's {/usr,}/bin/sh.
5599
touch sub/conftst$i.h
5601
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5605
# after this tag, mechanisms are not by side-effect, so they'll
5606
# only be used when explicitly requested
5607
if test "x$enable_dependency_tracking" = xyes; then
5615
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5616
# mode. It turns out that the SunPro C++ compiler does not properly
5617
# handle `-M -o', and we need to detect this.
5618
if depmode=$depmode \
5619
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5620
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5621
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5622
>/dev/null 2>conftest.err &&
5623
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5624
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5625
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5626
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5627
# icc doesn't choke on unknown options, it will just issue warnings
5628
# or remarks (even with -Werror). So we grep stderr for any message
5629
# that says an option was ignored or not supported.
5630
# When given -MP, icc 7.0 and 7.1 complain thusly:
5631
# icc: Command line warning: ignoring option '-M'; no argument required
5632
# The diagnosis changed in icc 8.0:
5633
# icc: Command line remark: option '-MP' not supported
5634
if (grep 'ignoring option' conftest.err ||
5635
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5636
am_cv_CXX_dependencies_compiler_type=$depmode
5645
am_cv_CXX_dependencies_compiler_type=none
5649
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5650
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5651
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5654
test "x$enable_dependency_tracking" != xno \
5655
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5656
am__fastdepCXX_TRUE=
5657
am__fastdepCXX_FALSE='#'
5659
am__fastdepCXX_TRUE='#'
5660
am__fastdepCXX_FALSE=
5666
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5667
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5668
(test "X$CXX" != "Xg++"))) ; then
5670
ac_cpp='$CXXCPP $CPPFLAGS'
5671
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5674
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5675
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5676
if test -z "$CXXCPP"; then
5677
if test "${ac_cv_prog_CXXCPP+set}" = set; then
5678
echo $ECHO_N "(cached) $ECHO_C" >&6
5680
# Double quotes because CXXCPP needs to be expanded
5681
for CXXCPP in "$CXX -E" "/lib/cpp"
5684
for ac_cxx_preproc_warn_flag in '' yes
5686
# Use a header file that comes with gcc, so configuring glibc
5687
# with a fresh cross-compiler works.
5688
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689
# <limits.h> exists even on freestanding compilers.
5690
# On the NeXT, cc -E runs the code through the compiler's parser,
5691
# not just through cpp. "Syntax error" is here to catch this case.
5692
cat >conftest.$ac_ext <<_ACEOF
5695
cat confdefs.h >>conftest.$ac_ext
5696
cat >>conftest.$ac_ext <<_ACEOF
5697
/* end confdefs.h. */
5699
@%:@ include <limits.h>
5701
@%:@ include <assert.h>
5705
if { (ac_try="$ac_cpp conftest.$ac_ext"
5707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5708
*) ac_try_echo=$ac_try;;
5710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5713
grep -v '^ *+' conftest.er1 >conftest.err
5715
cat conftest.err >&5
5716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717
(exit $ac_status); } >/dev/null && {
5718
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5719
test ! -s conftest.err
5723
echo "$as_me: failed program was:" >&5
5724
sed 's/^/| /' conftest.$ac_ext >&5
5726
# Broken: fails on valid input.
5730
rm -f conftest.err conftest.$ac_ext
5732
# OK, works on sane cases. Now check whether nonexistent headers
5733
# can be detected and how.
5734
cat >conftest.$ac_ext <<_ACEOF
5737
cat confdefs.h >>conftest.$ac_ext
5738
cat >>conftest.$ac_ext <<_ACEOF
5739
/* end confdefs.h. */
5740
@%:@include <ac_nonexistent.h>
5742
if { (ac_try="$ac_cpp conftest.$ac_ext"
5744
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5745
*) ac_try_echo=$ac_try;;
5747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5748
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5750
grep -v '^ *+' conftest.er1 >conftest.err
5752
cat conftest.err >&5
5753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754
(exit $ac_status); } >/dev/null && {
5755
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5756
test ! -s conftest.err
5758
# Broken: success on invalid input.
5761
echo "$as_me: failed program was:" >&5
5762
sed 's/^/| /' conftest.$ac_ext >&5
5764
# Passes both tests.
5769
rm -f conftest.err conftest.$ac_ext
5772
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5773
rm -f conftest.err conftest.$ac_ext
5774
if $ac_preproc_ok; then
5779
ac_cv_prog_CXXCPP=$CXXCPP
5782
CXXCPP=$ac_cv_prog_CXXCPP
5784
ac_cv_prog_CXXCPP=$CXXCPP
5786
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5787
echo "${ECHO_T}$CXXCPP" >&6; }
5789
for ac_cxx_preproc_warn_flag in '' yes
5791
# Use a header file that comes with gcc, so configuring glibc
5792
# with a fresh cross-compiler works.
5793
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5794
# <limits.h> exists even on freestanding compilers.
5795
# On the NeXT, cc -E runs the code through the compiler's parser,
5796
# not just through cpp. "Syntax error" is here to catch this case.
5797
cat >conftest.$ac_ext <<_ACEOF
5800
cat confdefs.h >>conftest.$ac_ext
5801
cat >>conftest.$ac_ext <<_ACEOF
5802
/* end confdefs.h. */
5804
@%:@ include <limits.h>
5806
@%:@ include <assert.h>
5810
if { (ac_try="$ac_cpp conftest.$ac_ext"
5812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5813
*) ac_try_echo=$ac_try;;
5815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5818
grep -v '^ *+' conftest.er1 >conftest.err
5820
cat conftest.err >&5
5821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822
(exit $ac_status); } >/dev/null && {
5823
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5824
test ! -s conftest.err
5828
echo "$as_me: failed program was:" >&5
5829
sed 's/^/| /' conftest.$ac_ext >&5
5831
# Broken: fails on valid input.
5835
rm -f conftest.err conftest.$ac_ext
5837
# OK, works on sane cases. Now check whether nonexistent headers
5838
# can be detected and how.
5839
cat >conftest.$ac_ext <<_ACEOF
5842
cat confdefs.h >>conftest.$ac_ext
5843
cat >>conftest.$ac_ext <<_ACEOF
5844
/* end confdefs.h. */
5845
@%:@include <ac_nonexistent.h>
5847
if { (ac_try="$ac_cpp conftest.$ac_ext"
5849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850
*) ac_try_echo=$ac_try;;
5852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5855
grep -v '^ *+' conftest.er1 >conftest.err
5857
cat conftest.err >&5
5858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859
(exit $ac_status); } >/dev/null && {
5860
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5861
test ! -s conftest.err
5863
# Broken: success on invalid input.
5866
echo "$as_me: failed program was:" >&5
5867
sed 's/^/| /' conftest.$ac_ext >&5
5869
# Passes both tests.
5874
rm -f conftest.err conftest.$ac_ext
5877
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5878
rm -f conftest.err conftest.$ac_ext
5879
if $ac_preproc_ok; then
5882
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5883
See \`config.log' for more details." >&5
5884
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5885
See \`config.log' for more details." >&2;}
5886
{ (exit 1); exit 1; }; }
5890
ac_cpp='$CXXCPP $CPPFLAGS'
5891
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5892
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5893
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5899
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5900
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5901
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5902
if test -n "$ac_tool_prefix"; then
5903
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
5905
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5906
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5907
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5909
if test "${ac_cv_prog_F77+set}" = set; then
5910
echo $ECHO_N "(cached) $ECHO_C" >&6
5912
if test -n "$F77"; then
5913
ac_cv_prog_F77="$F77" # Let the user override the test.
5915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919
test -z "$as_dir" && as_dir=.
5920
for ac_exec_ext in '' $ac_executable_extensions; do
5921
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5922
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5923
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5933
if test -n "$F77"; then
5934
{ echo "$as_me:$LINENO: result: $F77" >&5
5935
echo "${ECHO_T}$F77" >&6; }
5937
{ echo "$as_me:$LINENO: result: no" >&5
5938
echo "${ECHO_T}no" >&6; }
5942
test -n "$F77" && break
5945
if test -z "$F77"; then
5947
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
5949
# Extract the first word of "$ac_prog", so it can be a program name with args.
5950
set dummy $ac_prog; ac_word=$2
5951
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5952
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5954
echo $ECHO_N "(cached) $ECHO_C" >&6
5956
if test -n "$ac_ct_F77"; then
5957
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963
test -z "$as_dir" && as_dir=.
5964
for ac_exec_ext in '' $ac_executable_extensions; do
5965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966
ac_cv_prog_ac_ct_F77="$ac_prog"
5967
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5976
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5977
if test -n "$ac_ct_F77"; then
5978
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5979
echo "${ECHO_T}$ac_ct_F77" >&6; }
5981
{ echo "$as_me:$LINENO: result: no" >&5
5982
echo "${ECHO_T}no" >&6; }
5986
test -n "$ac_ct_F77" && break
5989
if test "x$ac_ct_F77" = x; then
5992
case $cross_compiling:$ac_tool_warned in
5994
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5995
whose name does not start with the host triplet. If you think this
5996
configuration is useful to you, please write to autoconf@gnu.org." >&5
5997
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5998
whose name does not start with the host triplet. If you think this
5999
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6000
ac_tool_warned=yes ;;
6007
# Provide some information about the compiler.
6008
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6009
ac_compiler=`set X $ac_compile; echo $2`
6010
{ (ac_try="$ac_compiler --version >&5"
6012
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6013
*) ac_try_echo=$ac_try;;
6015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016
(eval "$ac_compiler --version >&5") 2>&5
6018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019
(exit $ac_status); }
6020
{ (ac_try="$ac_compiler -v >&5"
6022
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6023
*) ac_try_echo=$ac_try;;
6025
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026
(eval "$ac_compiler -v >&5") 2>&5
6028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029
(exit $ac_status); }
6030
{ (ac_try="$ac_compiler -V >&5"
6032
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6033
*) ac_try_echo=$ac_try;;
6035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6036
(eval "$ac_compiler -V >&5") 2>&5
6038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039
(exit $ac_status); }
6042
# If we don't use `.F' as extension, the preprocessor is not run on the
6043
# input file. (Note that this only needs to work for GNU compilers.)
6046
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6047
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6048
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6049
echo $ECHO_N "(cached) $ECHO_C" >&6
6051
cat >conftest.$ac_ext <<_ACEOF
6059
rm -f conftest.$ac_objext
6060
if { (ac_try="$ac_compile"
6062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063
*) ac_try_echo=$ac_try;;
6065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066
(eval "$ac_compile") 2>conftest.er1
6068
grep -v '^ *+' conftest.er1 >conftest.err
6070
cat conftest.err >&5
6071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072
(exit $ac_status); } && {
6073
test -z "$ac_f77_werror_flag" ||
6074
test ! -s conftest.err
6075
} && test -s conftest.$ac_objext; then
6078
echo "$as_me: failed program was:" >&5
6079
sed 's/^/| /' conftest.$ac_ext >&5
6084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6088
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6089
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6091
ac_test_FFLAGS=${FFLAGS+set}
6092
ac_save_FFLAGS=$FFLAGS
6094
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6095
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6096
if test "${ac_cv_prog_f77_g+set}" = set; then
6097
echo $ECHO_N "(cached) $ECHO_C" >&6
6100
cat >conftest.$ac_ext <<_ACEOF
6105
rm -f conftest.$ac_objext
6106
if { (ac_try="$ac_compile"
6108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6109
*) ac_try_echo=$ac_try;;
6111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6112
(eval "$ac_compile") 2>conftest.er1
6114
grep -v '^ *+' conftest.er1 >conftest.err
6116
cat conftest.err >&5
6117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118
(exit $ac_status); } && {
6119
test -z "$ac_f77_werror_flag" ||
6120
test ! -s conftest.err
6121
} && test -s conftest.$ac_objext; then
6122
ac_cv_prog_f77_g=yes
6124
echo "$as_me: failed program was:" >&5
6125
sed 's/^/| /' conftest.$ac_ext >&5
6130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6133
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6134
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6135
if test "$ac_test_FFLAGS" = set; then
6136
FFLAGS=$ac_save_FFLAGS
6137
elif test $ac_cv_prog_f77_g = yes; then
6138
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6144
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6151
G77=`test $ac_compiler_gnu = yes && echo yes`
6153
ac_cpp='$CPP $CPPFLAGS'
6154
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6155
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6156
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6161
# find the maximum length of command line arguments
6162
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6163
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6164
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6165
echo $ECHO_N "(cached) $ECHO_C" >&6
6172
# On DJGPP, this test can blow up pretty badly due to problems in libc
6173
# (any single argument exceeding 2000 bytes causes a buffer overrun
6174
# during glob expansion). Even if it were fixed, the result of this
6175
# check would be larger than it should be.
6176
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6180
# Under GNU Hurd, this test is not required because there is
6181
# no limit to the length of command line arguments.
6182
# Libtool will interpret -1 as no limit whatsoever
6183
lt_cv_sys_max_cmd_len=-1;
6187
# On Win9x/ME, this test blows up -- it succeeds, but takes
6188
# about 5 minutes as the teststring grows exponentially.
6189
# Worse, since 9x/ME are not pre-emptively multitasking,
6190
# you end up with a "frozen" computer, even though with patience
6191
# the test eventually succeeds (with a max line length of 256k).
6192
# Instead, let's just punt: use the minimum linelength reported by
6193
# all of the supported platforms: 8192 (on NT/2K/XP).
6194
lt_cv_sys_max_cmd_len=8192;
6198
# On AmigaOS with pdksh, this test takes hours, literally.
6199
# So we just punt and use a minimum line length of 8192.
6200
lt_cv_sys_max_cmd_len=8192;
6203
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6204
# This has been around since 386BSD, at least. Likely further.
6205
if test -x /sbin/sysctl; then
6206
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6207
elif test -x /usr/sbin/sysctl; then
6208
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6210
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6212
# And add a safety zone
6213
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6214
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6218
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6219
lt_cv_sys_max_cmd_len=196608
6223
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6224
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6225
# nice to cause kernel panics so lets avoid the loop below.
6226
# First set a reasonable default.
6227
lt_cv_sys_max_cmd_len=16384
6229
if test -x /sbin/sysconfig; then
6230
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6231
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6236
lt_cv_sys_max_cmd_len=102400
6238
sysv5* | sco5v6* | sysv4.2uw2*)
6239
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6240
if test -n "$kargmax"; then
6241
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6243
lt_cv_sys_max_cmd_len=32768
6247
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6248
if test -n "$lt_cv_sys_max_cmd_len"; then
6249
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6250
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6252
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6253
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6254
= "XX$teststring") >/dev/null 2>&1 &&
6255
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6256
lt_cv_sys_max_cmd_len=$new_result &&
6257
test $i != 17 # 1/2 MB should be enough
6260
teststring=$teststring$teststring
6263
# Add a significant safety factor because C++ compilers can tack on massive
6264
# amounts of additional arguments before passing them to the linker.
6265
# It appears as though 1/2 is a usable value.
6266
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6273
if test -n $lt_cv_sys_max_cmd_len ; then
6274
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6275
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6277
{ echo "$as_me:$LINENO: result: none" >&5
6278
echo "${ECHO_T}none" >&6; }
6285
# Check for command to grab the raw symbol name followed by C symbol from nm.
6286
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6287
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6288
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6289
echo $ECHO_N "(cached) $ECHO_C" >&6
6292
# These are sane defaults that work on at least a few old systems.
6293
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6295
# Character class describing NM global symbol codes.
6296
symcode='[BCDEGRST]'
6298
# Regexp to match symbols that can be accessed directly from C.
6299
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6301
# Transform an extracted symbol line into a proper C declaration
6302
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6304
# Transform an extracted symbol line into symbol name and symbol address
6305
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'"
6307
# Define system-specific variables.
6312
cygwin* | mingw* | pw32*)
6313
symcode='[ABCDGISTW]'
6315
hpux*) # Its linker distinguishes data from code symbols
6316
if test "$host_cpu" = ia64; then
6317
symcode='[ABCDEGRST]'
6319
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6320
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'"
6322
linux* | k*bsd*-gnu)
6323
if test "$host_cpu" = ia64; then
6324
symcode='[ABCDGIRSTW]'
6325
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6326
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'"
6330
symcode='[BCDEGRST]'
6333
symcode='[BCDEGQRST]'
6344
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6352
# Handle CRLF in mingw tool chain
6356
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6360
# If we're using GNU nm, then use its standard symbol codes.
6361
case `$NM -V 2>&1` in
6362
*GNU* | *'with BFD'*)
6363
symcode='[ABCDGIRSTW]' ;;
6366
# Try without a prefix undercore, then with it.
6367
for ac_symprfx in "" "_"; do
6369
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6370
symxfrm="\\1 $ac_symprfx\\2 \\2"
6372
# Write the raw and C identifiers.
6373
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6375
# Check to see that the pipe works correctly.
6379
cat > conftest.$ac_ext <<EOF
6384
void nm_test_func(){}
6388
int main(){nm_test_var='a';nm_test_func();return(0);}
6391
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6392
(eval $ac_compile) 2>&5
6394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395
(exit $ac_status); }; then
6396
# Now try to grab the symbols.
6398
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6399
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402
(exit $ac_status); } && test -s "$nlist"; then
6403
# Try sorting and uniquifying the output.
6404
if sort "$nlist" | uniq > "$nlist"T; then
6405
mv -f "$nlist"T "$nlist"
6410
# Make sure that we snagged all the symbols we need.
6411
if grep ' nm_test_var$' "$nlist" >/dev/null; then
6412
if grep ' nm_test_func$' "$nlist" >/dev/null; then
6413
cat <<EOF > conftest.$ac_ext
6419
# Now generate the symbol file.
6420
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6422
cat <<EOF >> conftest.$ac_ext
6423
#if defined (__STDC__) && __STDC__
6424
# define lt_ptr_t void *
6426
# define lt_ptr_t char *
6430
/* The mapping between symbol names and symbols. */
6435
lt_preloaded_symbols[] =
6438
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6439
cat <<\EOF >> conftest.$ac_ext
6447
# Now try linking the two files.
6448
mv conftest.$ac_objext conftstm.$ac_objext
6449
lt_save_LIBS="$LIBS"
6450
lt_save_CFLAGS="$CFLAGS"
6451
LIBS="conftstm.$ac_objext"
6452
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6453
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6454
(eval $ac_link) 2>&5
6456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457
(exit $ac_status); } && test -s conftest${ac_exeext}; then
6460
LIBS="$lt_save_LIBS"
6461
CFLAGS="$lt_save_CFLAGS"
6463
echo "cannot find nm_test_func in $nlist" >&5
6466
echo "cannot find nm_test_var in $nlist" >&5
6469
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6472
echo "$progname: failed program was:" >&5
6473
cat conftest.$ac_ext >&5
6475
rm -rf conftest* conftst*
6477
# Do not use the global_symbol_pipe unless it works.
6478
if test "$pipe_works" = yes; then
6481
lt_cv_sys_global_symbol_pipe=
6487
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6488
lt_cv_sys_global_symbol_to_cdecl=
6490
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6491
{ echo "$as_me:$LINENO: result: failed" >&5
6492
echo "${ECHO_T}failed" >&6; }
6494
{ echo "$as_me:$LINENO: result: ok" >&5
6495
echo "${ECHO_T}ok" >&6; }
6498
{ echo "$as_me:$LINENO: checking for objdir" >&5
6499
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6500
if test "${lt_cv_objdir+set}" = set; then
6501
echo $ECHO_N "(cached) $ECHO_C" >&6
6503
rm -f .libs 2>/dev/null
6504
mkdir .libs 2>/dev/null
6505
if test -d .libs; then
6508
# MS-DOS does not allow filenames that begin with a dot.
6511
rmdir .libs 2>/dev/null
6513
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6514
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6515
objdir=$lt_cv_objdir
6523
# AIX sometimes has problems with the GCC collect2 program. For some
6524
# reason, if we set the COLLECT_NAMES environment variable, the problems
6525
# vanish in a puff of smoke.
6526
if test "X${COLLECT_NAMES+set}" != Xset; then
6528
export COLLECT_NAMES
6533
# Sed substitution that helps us do robust quoting. It backslashifies
6534
# metacharacters that are still active within double-quoted strings.
6535
Xsed='sed -e 1s/^X//'
6536
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6538
# Same as above, but do not quote variable references.
6539
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6541
# Sed substitution to delay expansion of an escaped shell variable in a
6542
# double_quote_subst'ed string.
6543
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6545
# Sed substitution to avoid accidental globbing in evaled expressions
6546
no_glob_subst='s/\*/\\\*/g'
6552
default_ofile=libtool
6553
can_build_shared=yes
6555
# All known linkers require a `.a' archive for static linking (except MSVC,
6556
# which needs '.lib').
6558
ltmain="$ac_aux_dir/ltmain.sh"
6559
ofile="$default_ofile"
6560
with_gnu_ld="$lt_cv_prog_gnu_ld"
6562
if test -n "$ac_tool_prefix"; then
6563
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6564
set dummy ${ac_tool_prefix}ar; ac_word=$2
6565
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6566
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6567
if test "${ac_cv_prog_AR+set}" = set; then
6568
echo $ECHO_N "(cached) $ECHO_C" >&6
6570
if test -n "$AR"; then
6571
ac_cv_prog_AR="$AR" # Let the user override the test.
6573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577
test -z "$as_dir" && as_dir=.
6578
for ac_exec_ext in '' $ac_executable_extensions; do
6579
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6580
ac_cv_prog_AR="${ac_tool_prefix}ar"
6581
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6591
if test -n "$AR"; then
6592
{ echo "$as_me:$LINENO: result: $AR" >&5
6593
echo "${ECHO_T}$AR" >&6; }
6595
{ echo "$as_me:$LINENO: result: no" >&5
6596
echo "${ECHO_T}no" >&6; }
6601
if test -z "$ac_cv_prog_AR"; then
6603
# Extract the first word of "ar", so it can be a program name with args.
6604
set dummy ar; ac_word=$2
6605
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6606
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6607
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6608
echo $ECHO_N "(cached) $ECHO_C" >&6
6610
if test -n "$ac_ct_AR"; then
6611
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617
test -z "$as_dir" && as_dir=.
6618
for ac_exec_ext in '' $ac_executable_extensions; do
6619
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620
ac_cv_prog_ac_ct_AR="ar"
6621
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6630
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6631
if test -n "$ac_ct_AR"; then
6632
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6633
echo "${ECHO_T}$ac_ct_AR" >&6; }
6635
{ echo "$as_me:$LINENO: result: no" >&5
6636
echo "${ECHO_T}no" >&6; }
6639
if test "x$ac_ct_AR" = x; then
6642
case $cross_compiling:$ac_tool_warned in
6644
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6645
whose name does not start with the host triplet. If you think this
6646
configuration is useful to you, please write to autoconf@gnu.org." >&5
6647
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6648
whose name does not start with the host triplet. If you think this
6649
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6650
ac_tool_warned=yes ;;
6658
if test -n "$ac_tool_prefix"; then
6659
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6660
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6661
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6662
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6663
if test "${ac_cv_prog_RANLIB+set}" = set; then
6664
echo $ECHO_N "(cached) $ECHO_C" >&6
6666
if test -n "$RANLIB"; then
6667
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673
test -z "$as_dir" && as_dir=.
6674
for ac_exec_ext in '' $ac_executable_extensions; do
6675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6677
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6686
RANLIB=$ac_cv_prog_RANLIB
6687
if test -n "$RANLIB"; then
6688
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
6689
echo "${ECHO_T}$RANLIB" >&6; }
6691
{ echo "$as_me:$LINENO: result: no" >&5
6692
echo "${ECHO_T}no" >&6; }
6697
if test -z "$ac_cv_prog_RANLIB"; then
6698
ac_ct_RANLIB=$RANLIB
6699
# Extract the first word of "ranlib", so it can be a program name with args.
6700
set dummy ranlib; ac_word=$2
6701
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6702
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6703
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6704
echo $ECHO_N "(cached) $ECHO_C" >&6
6706
if test -n "$ac_ct_RANLIB"; then
6707
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713
test -z "$as_dir" && as_dir=.
6714
for ac_exec_ext in '' $ac_executable_extensions; do
6715
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716
ac_cv_prog_ac_ct_RANLIB="ranlib"
6717
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6726
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6727
if test -n "$ac_ct_RANLIB"; then
6728
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6729
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6731
{ echo "$as_me:$LINENO: result: no" >&5
6732
echo "${ECHO_T}no" >&6; }
6735
if test "x$ac_ct_RANLIB" = x; then
6738
case $cross_compiling:$ac_tool_warned in
6740
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6741
whose name does not start with the host triplet. If you think this
6742
configuration is useful to you, please write to autoconf@gnu.org." >&5
6743
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6744
whose name does not start with the host triplet. If you think this
6745
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6746
ac_tool_warned=yes ;;
6748
RANLIB=$ac_ct_RANLIB
6751
RANLIB="$ac_cv_prog_RANLIB"
6754
if test -n "$ac_tool_prefix"; then
6755
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6756
set dummy ${ac_tool_prefix}strip; ac_word=$2
6757
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6758
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6759
if test "${ac_cv_prog_STRIP+set}" = set; then
6760
echo $ECHO_N "(cached) $ECHO_C" >&6
6762
if test -n "$STRIP"; then
6763
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769
test -z "$as_dir" && as_dir=.
6770
for ac_exec_ext in '' $ac_executable_extensions; do
6771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6773
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6782
STRIP=$ac_cv_prog_STRIP
6783
if test -n "$STRIP"; then
6784
{ echo "$as_me:$LINENO: result: $STRIP" >&5
6785
echo "${ECHO_T}$STRIP" >&6; }
6787
{ echo "$as_me:$LINENO: result: no" >&5
6788
echo "${ECHO_T}no" >&6; }
6793
if test -z "$ac_cv_prog_STRIP"; then
6795
# Extract the first word of "strip", so it can be a program name with args.
6796
set dummy strip; ac_word=$2
6797
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6798
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6800
echo $ECHO_N "(cached) $ECHO_C" >&6
6802
if test -n "$ac_ct_STRIP"; then
6803
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809
test -z "$as_dir" && as_dir=.
6810
for ac_exec_ext in '' $ac_executable_extensions; do
6811
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812
ac_cv_prog_ac_ct_STRIP="strip"
6813
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6822
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6823
if test -n "$ac_ct_STRIP"; then
6824
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6825
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6827
{ echo "$as_me:$LINENO: result: no" >&5
6828
echo "${ECHO_T}no" >&6; }
6831
if test "x$ac_ct_STRIP" = x; then
6834
case $cross_compiling:$ac_tool_warned in
6836
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6837
whose name does not start with the host triplet. If you think this
6838
configuration is useful to you, please write to autoconf@gnu.org." >&5
6839
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6840
whose name does not start with the host triplet. If you think this
6841
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6842
ac_tool_warned=yes ;;
6847
STRIP="$ac_cv_prog_STRIP"
6852
old_CFLAGS="$CFLAGS"
6854
# Set sane defaults for various variables
6855
test -z "$AR" && AR=ar
6856
test -z "$AR_FLAGS" && AR_FLAGS=cru
6857
test -z "$AS" && AS=as
6858
test -z "$CC" && CC=cc
6859
test -z "$LTCC" && LTCC=$CC
6860
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6861
test -z "$DLLTOOL" && DLLTOOL=dlltool
6862
test -z "$LD" && LD=ld
6863
test -z "$LN_S" && LN_S="ln -s"
6864
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6865
test -z "$NM" && NM=nm
6866
test -z "$SED" && SED=sed
6867
test -z "$OBJDUMP" && OBJDUMP=objdump
6868
test -z "$RANLIB" && RANLIB=:
6869
test -z "$STRIP" && STRIP=:
6870
test -z "$ac_objext" && ac_objext=o
6872
# Determine commands to create old-style static archives.
6873
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6874
old_postinstall_cmds='chmod 644 $oldlib'
6875
old_postuninstall_cmds=
6877
if test -n "$RANLIB"; then
6880
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6883
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6886
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6889
for cc_temp in $compiler""; do
6891
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6892
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6897
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6900
# Only perform the check for file, if the check method requires it
6901
case $deplibs_check_method in
6903
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6904
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6905
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6906
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6907
echo $ECHO_N "(cached) $ECHO_C" >&6
6911
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6914
lt_save_MAGIC_CMD="$MAGIC_CMD"
6915
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6916
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6917
for ac_dir in $ac_dummy; do
6919
test -z "$ac_dir" && ac_dir=.
6920
if test -f $ac_dir/${ac_tool_prefix}file; then
6921
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6922
if test -n "$file_magic_test_file"; then
6923
case $deplibs_check_method in
6925
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6926
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6927
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6928
$EGREP "$file_magic_regex" > /dev/null; then
6933
*** Warning: the command libtool uses to detect shared libraries,
6934
*** $file_magic_cmd, produces output that libtool cannot recognize.
6935
*** The result is that libtool may fail to recognize shared libraries
6936
*** as such. This will affect the creation of libtool libraries that
6937
*** depend on shared libraries, but programs linked with such libtool
6938
*** libraries will work regardless of this problem. Nevertheless, you
6939
*** may want to report the problem to your system manager and/or to
6940
*** bug-libtool@gnu.org
6950
MAGIC_CMD="$lt_save_MAGIC_CMD"
6955
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6956
if test -n "$MAGIC_CMD"; then
6957
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6958
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6960
{ echo "$as_me:$LINENO: result: no" >&5
6961
echo "${ECHO_T}no" >&6; }
6964
if test -z "$lt_cv_path_MAGIC_CMD"; then
6965
if test -n "$ac_tool_prefix"; then
6966
{ echo "$as_me:$LINENO: checking for file" >&5
6967
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6968
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6969
echo $ECHO_N "(cached) $ECHO_C" >&6
6973
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6976
lt_save_MAGIC_CMD="$MAGIC_CMD"
6977
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6978
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6979
for ac_dir in $ac_dummy; do
6981
test -z "$ac_dir" && ac_dir=.
6982
if test -f $ac_dir/file; then
6983
lt_cv_path_MAGIC_CMD="$ac_dir/file"
6984
if test -n "$file_magic_test_file"; then
6985
case $deplibs_check_method in
6987
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6988
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6990
$EGREP "$file_magic_regex" > /dev/null; then
6995
*** Warning: the command libtool uses to detect shared libraries,
6996
*** $file_magic_cmd, produces output that libtool cannot recognize.
6997
*** The result is that libtool may fail to recognize shared libraries
6998
*** as such. This will affect the creation of libtool libraries that
6999
*** depend on shared libraries, but programs linked with such libtool
7000
*** libraries will work regardless of this problem. Nevertheless, you
7001
*** may want to report the problem to your system manager and/or to
7002
*** bug-libtool@gnu.org
7012
MAGIC_CMD="$lt_save_MAGIC_CMD"
7017
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7018
if test -n "$MAGIC_CMD"; then
7019
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7020
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7022
{ echo "$as_me:$LINENO: result: no" >&5
7023
echo "${ECHO_T}no" >&6; }
7037
rhapsody* | darwin*)
7038
if test -n "$ac_tool_prefix"; then
7039
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7040
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7041
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7042
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7043
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7044
echo $ECHO_N "(cached) $ECHO_C" >&6
7046
if test -n "$DSYMUTIL"; then
7047
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7049
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053
test -z "$as_dir" && as_dir=.
7054
for ac_exec_ext in '' $ac_executable_extensions; do
7055
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7056
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7057
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7067
if test -n "$DSYMUTIL"; then
7068
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7069
echo "${ECHO_T}$DSYMUTIL" >&6; }
7071
{ echo "$as_me:$LINENO: result: no" >&5
7072
echo "${ECHO_T}no" >&6; }
7077
if test -z "$ac_cv_prog_DSYMUTIL"; then
7078
ac_ct_DSYMUTIL=$DSYMUTIL
7079
# Extract the first word of "dsymutil", so it can be a program name with args.
7080
set dummy dsymutil; ac_word=$2
7081
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7082
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7083
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7084
echo $ECHO_N "(cached) $ECHO_C" >&6
7086
if test -n "$ac_ct_DSYMUTIL"; then
7087
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093
test -z "$as_dir" && as_dir=.
7094
for ac_exec_ext in '' $ac_executable_extensions; do
7095
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7097
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7106
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7107
if test -n "$ac_ct_DSYMUTIL"; then
7108
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7109
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7111
{ echo "$as_me:$LINENO: result: no" >&5
7112
echo "${ECHO_T}no" >&6; }
7115
if test "x$ac_ct_DSYMUTIL" = x; then
7118
case $cross_compiling:$ac_tool_warned in
7120
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7121
whose name does not start with the host triplet. If you think this
7122
configuration is useful to you, please write to autoconf@gnu.org." >&5
7123
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7124
whose name does not start with the host triplet. If you think this
7125
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7126
ac_tool_warned=yes ;;
7128
DSYMUTIL=$ac_ct_DSYMUTIL
7131
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7134
if test -n "$ac_tool_prefix"; then
7135
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7136
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7137
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7139
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7140
echo $ECHO_N "(cached) $ECHO_C" >&6
7142
if test -n "$NMEDIT"; then
7143
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149
test -z "$as_dir" && as_dir=.
7150
for ac_exec_ext in '' $ac_executable_extensions; do
7151
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7153
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7162
NMEDIT=$ac_cv_prog_NMEDIT
7163
if test -n "$NMEDIT"; then
7164
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7165
echo "${ECHO_T}$NMEDIT" >&6; }
7167
{ echo "$as_me:$LINENO: result: no" >&5
7168
echo "${ECHO_T}no" >&6; }
7173
if test -z "$ac_cv_prog_NMEDIT"; then
7174
ac_ct_NMEDIT=$NMEDIT
7175
# Extract the first word of "nmedit", so it can be a program name with args.
7176
set dummy nmedit; ac_word=$2
7177
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7178
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7179
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7180
echo $ECHO_N "(cached) $ECHO_C" >&6
7182
if test -n "$ac_ct_NMEDIT"; then
7183
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189
test -z "$as_dir" && as_dir=.
7190
for ac_exec_ext in '' $ac_executable_extensions; do
7191
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7192
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7193
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7202
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7203
if test -n "$ac_ct_NMEDIT"; then
7204
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7205
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7207
{ echo "$as_me:$LINENO: result: no" >&5
7208
echo "${ECHO_T}no" >&6; }
7211
if test "x$ac_ct_NMEDIT" = x; then
7214
case $cross_compiling:$ac_tool_warned in
7216
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7217
whose name does not start with the host triplet. If you think this
7218
configuration is useful to you, please write to autoconf@gnu.org." >&5
7219
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7220
whose name does not start with the host triplet. If you think this
7221
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7222
ac_tool_warned=yes ;;
7224
NMEDIT=$ac_ct_NMEDIT
7227
NMEDIT="$ac_cv_prog_NMEDIT"
7231
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7232
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7233
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7234
echo $ECHO_N "(cached) $ECHO_C" >&6
7236
lt_cv_apple_cc_single_mod=no
7237
if test -z "${LT_MULTI_MODULE}"; then
7238
# By default we will add the -single_module flag. You can override
7239
# by either setting the environment variable LT_MULTI_MODULE
7240
# non-empty at configure time, or by adding -multi_module to the
7242
echo "int foo(void){return 1;}" > conftest.c
7243
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7244
-dynamiclib ${wl}-single_module conftest.c
7245
if test -f libconftest.dylib; then
7246
lt_cv_apple_cc_single_mod=yes
7247
rm -rf libconftest.dylib*
7252
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7253
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7254
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7255
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7256
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7257
echo $ECHO_N "(cached) $ECHO_C" >&6
7259
lt_cv_ld_exported_symbols_list=no
7260
save_LDFLAGS=$LDFLAGS
7261
echo "_main" > conftest.sym
7262
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7263
cat >conftest.$ac_ext <<_ACEOF
7266
cat confdefs.h >>conftest.$ac_ext
7267
cat >>conftest.$ac_ext <<_ACEOF
7268
/* end confdefs.h. */
7278
rm -f conftest.$ac_objext conftest$ac_exeext
7279
if { (ac_try="$ac_link"
7281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7282
*) ac_try_echo=$ac_try;;
7284
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7285
(eval "$ac_link") 2>conftest.er1
7287
grep -v '^ *+' conftest.er1 >conftest.err
7289
cat conftest.err >&5
7290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291
(exit $ac_status); } && {
7292
test -z "$ac_c_werror_flag" ||
7293
test ! -s conftest.err
7294
} && test -s conftest$ac_exeext &&
7295
$as_test_x conftest$ac_exeext; then
7296
lt_cv_ld_exported_symbols_list=yes
7298
echo "$as_me: failed program was:" >&5
7299
sed 's/^/| /' conftest.$ac_ext >&5
7301
lt_cv_ld_exported_symbols_list=no
7304
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7305
conftest$ac_exeext conftest.$ac_ext
7306
LDFLAGS="$save_LDFLAGS"
7309
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7310
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7312
rhapsody* | darwin1.[0123])
7313
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7315
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7317
# if running on 10.5 or later, the deployment target defaults
7318
# to the OS version, if on x86, and 10.4, the deployment
7319
# target defaults to 10.4. Don't you love it?
7320
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7321
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7322
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7324
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7326
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7330
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7331
_lt_dar_single_mod='$single_module'
7333
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7334
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7336
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7338
if test "$DSYMUTIL" != ":"; then
7339
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7350
# Check whether --enable-libtool-lock was given.
7351
if test "${enable_libtool_lock+set}" = set; then
7352
enableval=$enable_libtool_lock;
7355
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7358
# Check whether --with-pic was given.
7359
if test "${with_pic+set}" = set; then
7360
withval=$with_pic; pic_mode="$withval"
7365
test -z "$pic_mode" && pic_mode=default
7367
# Use C for the default configuration in the libtool script
7371
ac_cpp='$CPP $CPPFLAGS'
7372
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7373
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7374
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377
# Source file extension for C test sources.
7380
# Object file extension for compiled C test sources.
7384
# Code to be used in simple compile tests
7385
lt_simple_compile_test_code="int some_variable = 0;"
7387
# Code to be used in simple link tests
7388
lt_simple_link_test_code='int main(){return(0);}'
7391
# If no C compiler was specified, use CC.
7394
# If no C compiler flags were specified, use CFLAGS.
7395
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7397
# Allow CC to be a program name with arguments.
7401
# save warnings/boilerplate of simple test code
7402
ac_outfile=conftest.$ac_objext
7403
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7404
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7405
_lt_compiler_boilerplate=`cat conftest.err`
7408
ac_outfile=conftest.$ac_objext
7409
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7410
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7411
_lt_linker_boilerplate=`cat conftest.err`
7416
lt_prog_compiler_no_builtin_flag=
7418
if test "$GCC" = yes; then
7419
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7422
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7423
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7424
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7425
echo $ECHO_N "(cached) $ECHO_C" >&6
7427
lt_cv_prog_compiler_rtti_exceptions=no
7428
ac_outfile=conftest.$ac_objext
7429
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7430
lt_compiler_flag="-fno-rtti -fno-exceptions"
7431
# Insert the option either (1) after the last *FLAGS variable, or
7432
# (2) before a word containing "conftest.", or (3) at the end.
7433
# Note that $ac_compile itself does not contain backslashes and begins
7434
# with a dollar sign (not a hyphen), so the echo should work correctly.
7435
# The option is referenced via a variable to avoid confusing sed.
7436
lt_compile=`echo "$ac_compile" | $SED \
7437
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7438
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7439
-e 's:$: $lt_compiler_flag:'`
7440
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7441
(eval "$lt_compile" 2>conftest.err)
7443
cat conftest.err >&5
7444
echo "$as_me:__oline__: \$? = $ac_status" >&5
7445
if (exit $ac_status) && test -s "$ac_outfile"; then
7446
# The compiler can only warn and ignore the option if not recognized
7447
# So say no if there are warnings other than the usual output.
7448
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7449
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7450
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7451
lt_cv_prog_compiler_rtti_exceptions=yes
7457
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7458
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7460
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7461
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7468
lt_prog_compiler_wl=
7469
lt_prog_compiler_pic=
7470
lt_prog_compiler_static=
7472
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7473
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7475
if test "$GCC" = yes; then
7476
lt_prog_compiler_wl='-Wl,'
7477
lt_prog_compiler_static='-static'
7481
# All AIX code is PIC.
7482
if test "$host_cpu" = ia64; then
7483
# AIX 5 now supports IA64 processor
7484
lt_prog_compiler_static='-Bstatic'
7489
# FIXME: we need at least 68020 code to build shared libraries, but
7490
# adding the `-m68020' flag to GCC prevents building anything better,
7492
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7495
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7496
# PIC is the default for these OSes.
7499
mingw* | cygwin* | pw32* | os2*)
7500
# This hack is so that the source file can tell whether it is being
7501
# built for inclusion in a dll (and should export symbols for example).
7502
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7503
# (--disable-auto-import) libraries
7504
lt_prog_compiler_pic='-DDLL_EXPORT'
7507
darwin* | rhapsody*)
7508
# PIC is the default on this platform
7509
# Common symbols not allowed in MH_DYLIB files
7510
lt_prog_compiler_pic='-fno-common'
7514
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7515
# Instead, we relocate shared libraries at runtime.
7519
# Just because we use GCC doesn't mean we suddenly get shared libraries
7520
# on systems that don't support them.
7521
lt_prog_compiler_can_build_shared=no
7526
if test -d /usr/nec; then
7527
lt_prog_compiler_pic=-Kconform_pic
7532
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7539
lt_prog_compiler_pic='-fPIC'
7545
lt_prog_compiler_pic='-fPIC'
7549
# PORTME Check for flag to pass linker flags through the system compiler.
7552
lt_prog_compiler_wl='-Wl,'
7553
if test "$host_cpu" = ia64; then
7554
# AIX 5 now supports IA64 processor
7555
lt_prog_compiler_static='-Bstatic'
7557
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7561
# PIC is the default on this platform
7562
# Common symbols not allowed in MH_DYLIB files
7563
case $cc_basename in
7565
lt_prog_compiler_pic='-qnocommon'
7566
lt_prog_compiler_wl='-Wl,'
7571
mingw* | cygwin* | pw32* | os2*)
7572
# This hack is so that the source file can tell whether it is being
7573
# built for inclusion in a dll (and should export symbols for example).
7574
lt_prog_compiler_pic='-DDLL_EXPORT'
7577
hpux9* | hpux10* | hpux11*)
7578
lt_prog_compiler_wl='-Wl,'
7579
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7586
lt_prog_compiler_pic='+Z'
7589
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7590
lt_prog_compiler_static='${wl}-a ${wl}archive'
7593
irix5* | irix6* | nonstopux*)
7594
lt_prog_compiler_wl='-Wl,'
7595
# PIC (with -KPIC) is the default.
7596
lt_prog_compiler_static='-non_shared'
7600
lt_prog_compiler_pic='-KPIC'
7601
lt_prog_compiler_static='-Bstatic'
7604
linux* | k*bsd*-gnu)
7605
case $cc_basename in
7607
lt_prog_compiler_wl='-Wl,'
7608
lt_prog_compiler_pic='-KPIC'
7609
lt_prog_compiler_static='-static'
7611
pgcc* | pgf77* | pgf90* | pgf95*)
7612
# Portland Group compilers (*not* the Pentium gcc compiler,
7613
# which looks to be a dead project)
7614
lt_prog_compiler_wl='-Wl,'
7615
lt_prog_compiler_pic='-fpic'
7616
lt_prog_compiler_static='-Bstatic'
7619
lt_prog_compiler_wl='-Wl,'
7620
# All Alpha code is PIC.
7621
lt_prog_compiler_static='-non_shared'
7624
case `$CC -V 2>&1 | sed 5q` in
7627
lt_prog_compiler_pic='-KPIC'
7628
lt_prog_compiler_static='-Bstatic'
7629
lt_prog_compiler_wl='-Wl,'
7632
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7633
lt_prog_compiler_pic='-KPIC'
7634
lt_prog_compiler_static='-Bstatic'
7635
lt_prog_compiler_wl=''
7642
osf3* | osf4* | osf5*)
7643
lt_prog_compiler_wl='-Wl,'
7644
# All OSF/1 code is PIC.
7645
lt_prog_compiler_static='-non_shared'
7649
lt_prog_compiler_static='-non_shared'
7653
lt_prog_compiler_pic='-KPIC'
7654
lt_prog_compiler_static='-Bstatic'
7655
case $cc_basename in
7657
lt_prog_compiler_wl='-Qoption ld ';;
7659
lt_prog_compiler_wl='-Wl,';;
7664
lt_prog_compiler_wl='-Qoption ld '
7665
lt_prog_compiler_pic='-PIC'
7666
lt_prog_compiler_static='-Bstatic'
7669
sysv4 | sysv4.2uw2* | sysv4.3*)
7670
lt_prog_compiler_wl='-Wl,'
7671
lt_prog_compiler_pic='-KPIC'
7672
lt_prog_compiler_static='-Bstatic'
7676
if test -d /usr/nec ;then
7677
lt_prog_compiler_pic='-Kconform_pic'
7678
lt_prog_compiler_static='-Bstatic'
7682
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7683
lt_prog_compiler_wl='-Wl,'
7684
lt_prog_compiler_pic='-KPIC'
7685
lt_prog_compiler_static='-Bstatic'
7689
lt_prog_compiler_wl='-Wl,'
7690
lt_prog_compiler_can_build_shared=no
7694
lt_prog_compiler_pic='-pic'
7695
lt_prog_compiler_static='-Bstatic'
7699
lt_prog_compiler_can_build_shared=no
7704
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7705
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7708
# Check to make sure the PIC flag actually works.
7710
if test -n "$lt_prog_compiler_pic"; then
7712
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7713
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7714
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7715
echo $ECHO_N "(cached) $ECHO_C" >&6
7717
lt_cv_prog_compiler_pic_works=no
7718
ac_outfile=conftest.$ac_objext
7719
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7720
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7721
# Insert the option either (1) after the last *FLAGS variable, or
7722
# (2) before a word containing "conftest.", or (3) at the end.
7723
# Note that $ac_compile itself does not contain backslashes and begins
7724
# with a dollar sign (not a hyphen), so the echo should work correctly.
7725
# The option is referenced via a variable to avoid confusing sed.
7726
lt_compile=`echo "$ac_compile" | $SED \
7727
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7728
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7729
-e 's:$: $lt_compiler_flag:'`
7730
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7731
(eval "$lt_compile" 2>conftest.err)
7733
cat conftest.err >&5
7734
echo "$as_me:__oline__: \$? = $ac_status" >&5
7735
if (exit $ac_status) && test -s "$ac_outfile"; then
7736
# The compiler can only warn and ignore the option if not recognized
7737
# So say no if there are warnings other than the usual output.
7738
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7739
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7740
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7741
lt_cv_prog_compiler_pic_works=yes
7747
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7748
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7750
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7751
case $lt_prog_compiler_pic in
7753
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7756
lt_prog_compiler_pic=
7757
lt_prog_compiler_can_build_shared=no
7762
# For platforms which do not support PIC, -DPIC is meaningless:
7764
lt_prog_compiler_pic=
7767
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7772
# Check to make sure the static flag actually works.
7774
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7775
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7776
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7777
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7778
echo $ECHO_N "(cached) $ECHO_C" >&6
7780
lt_cv_prog_compiler_static_works=no
7781
save_LDFLAGS="$LDFLAGS"
7782
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7783
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7784
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7785
# The linker can only warn and ignore the option if not recognized
7786
# So say no if there are warnings
7787
if test -s conftest.err; then
7788
# Append any errors to the config.log.
7789
cat conftest.err 1>&5
7790
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7791
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7792
if diff conftest.exp conftest.er2 >/dev/null; then
7793
lt_cv_prog_compiler_static_works=yes
7796
lt_cv_prog_compiler_static_works=yes
7800
LDFLAGS="$save_LDFLAGS"
7803
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7804
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7806
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7809
lt_prog_compiler_static=
7813
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7814
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7815
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7816
echo $ECHO_N "(cached) $ECHO_C" >&6
7818
lt_cv_prog_compiler_c_o=no
7819
$rm -r conftest 2>/dev/null
7823
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7825
lt_compiler_flag="-o out/conftest2.$ac_objext"
7826
# Insert the option either (1) after the last *FLAGS variable, or
7827
# (2) before a word containing "conftest.", or (3) at the end.
7828
# Note that $ac_compile itself does not contain backslashes and begins
7829
# with a dollar sign (not a hyphen), so the echo should work correctly.
7830
lt_compile=`echo "$ac_compile" | $SED \
7831
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7832
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7833
-e 's:$: $lt_compiler_flag:'`
7834
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7835
(eval "$lt_compile" 2>out/conftest.err)
7837
cat out/conftest.err >&5
7838
echo "$as_me:__oline__: \$? = $ac_status" >&5
7839
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7841
# The compiler can only warn and ignore the option if not recognized
7842
# So say no if there are warnings
7843
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7844
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7845
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7846
lt_cv_prog_compiler_c_o=yes
7851
# SGI C++ compiler will create directory out/ii_files/ for
7852
# template instantiation
7853
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7854
$rm out/* && rmdir out
7860
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7861
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7864
hard_links="nottested"
7865
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7866
# do not overwrite the value of need_locks provided by the user
7867
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7868
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7871
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7873
ln conftest.a conftest.b 2>&5 || hard_links=no
7874
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7875
{ echo "$as_me:$LINENO: result: $hard_links" >&5
7876
echo "${ECHO_T}$hard_links" >&6; }
7877
if test "$hard_links" = no; then
7878
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7879
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7886
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7887
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7890
allow_undefined_flag=
7891
enable_shared_with_static_runtimes=no
7893
archive_expsym_cmds=
7894
old_archive_From_new_cmds=
7895
old_archive_from_expsyms_cmds=
7896
export_dynamic_flag_spec=
7897
whole_archive_flag_spec=
7898
thread_safe_flag_spec=
7899
hardcode_libdir_flag_spec=
7900
hardcode_libdir_flag_spec_ld=
7901
hardcode_libdir_separator=
7904
hardcode_shlibpath_var=unsupported
7905
link_all_deplibs=unknown
7906
hardcode_automatic=no
7909
always_export_symbols=no
7910
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7911
# include_expsyms should be a list of space-separated symbols to be *always*
7912
# included in the symbol list
7914
# exclude_expsyms can be an extended regexp of symbols to exclude
7915
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7916
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7917
# as well as any symbol that contains `d'.
7918
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7919
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7920
# platforms (ab)use it in PIC code, but their linkers get confused if
7921
# the symbol is explicitly referenced. Since portable code cannot
7922
# rely on this symbol name, it's probably fine to never include it in
7923
# preloaded symbol tables.
7924
# Exclude shared library initialization/finalization symbols.
7925
extract_expsyms_cmds=
7926
# Just being paranoid about ensuring that cc_basename is set.
7927
for cc_temp in $compiler""; do
7929
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7930
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7935
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7938
cygwin* | mingw* | pw32*)
7939
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7940
# When not using gcc, we currently assume that we are using
7941
# Microsoft Visual C++.
7942
if test "$GCC" != yes; then
7947
# we just hope/assume this is gcc and not c89 (= MSVC++)
7956
if test "$with_gnu_ld" = yes; then
7957
# If archive_cmds runs LD, not CC, wlarc should be empty
7960
# Set some defaults for GNU ld with shared library support. These
7961
# are reset later if shared libraries are not supported. Putting them
7962
# here allows them to be overridden if necessary.
7963
runpath_var=LD_RUN_PATH
7964
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7965
export_dynamic_flag_spec='${wl}--export-dynamic'
7966
# ancient GNU ld didn't support --whole-archive et. al.
7967
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7968
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7970
whole_archive_flag_spec=
7972
supports_anon_versioning=no
7973
case `$LD -v 2>/dev/null` in
7974
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7975
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7976
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7977
*\ 2.11.*) ;; # other 2.11 versions
7978
*) supports_anon_versioning=yes ;;
7981
# See if GNU ld supports shared libraries.
7984
# On AIX/PPC, the GNU linker is very broken
7985
if test "$host_cpu" != ia64; then
7989
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7990
*** to be unable to reliably create shared libraries on AIX.
7991
*** Therefore, libtool is disabling shared libraries support. If you
7992
*** really care for shared libraries, you may want to modify your PATH
7993
*** so that a non-GNU linker is found, and then restart.
8000
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)'
8001
hardcode_libdir_flag_spec='-L$libdir'
8002
hardcode_minus_L=yes
8004
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8005
# that the semantics of dynamic libraries on AmigaOS, at least up
8006
# to version 4, is to share data among multiple programs linked
8007
# with the same dynamic library. Since this doesn't match the
8008
# behavior of shared libraries on other platforms, we can't use
8014
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8015
allow_undefined_flag=unsupported
8016
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8017
# support --undefined. This deserves some investigation. FIXME
8018
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8024
cygwin* | mingw* | pw32*)
8025
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8026
# as there is no search path for DLLs.
8027
hardcode_libdir_flag_spec='-L$libdir'
8028
allow_undefined_flag=unsupported
8029
always_export_symbols=no
8030
enable_shared_with_static_runtimes=yes
8031
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8033
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8034
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8035
# If the export-symbols file already is a .def file (1st line
8036
# is EXPORTS), use it as is; otherwise, prepend...
8037
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8038
cp $export_symbols $output_objdir/$soname.def;
8040
echo EXPORTS > $output_objdir/$soname.def;
8041
cat $export_symbols >> $output_objdir/$soname.def;
8043
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8051
hardcode_shlibpath_var=no
8052
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8053
export_dynamic_flag_spec='${wl}-E'
8054
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8055
# Instead, shared libraries are loaded at an image base (0x10000000 by
8056
# default) and relocated if they conflict, which is a slow very memory
8057
# consuming and fragmenting process. To avoid this, we pick a random,
8058
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8059
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8060
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8061
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'
8064
gnu* | linux* | k*bsd*-gnu)
8065
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8067
case $cc_basename,$host_cpu in
8068
pgcc*) # Portland Group C compiler
8069
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'
8070
tmp_addflag=' $pic_flag'
8072
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8073
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'
8074
tmp_addflag=' $pic_flag -Mnomain' ;;
8075
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8076
tmp_addflag=' -i_dynamic' ;;
8077
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8078
tmp_addflag=' -i_dynamic -nofor_main' ;;
8079
ifc* | ifort*) # Intel Fortran compiler
8080
tmp_addflag=' -nofor_main' ;;
8082
case `$CC -V 2>&1 | sed 5q` in
8083
*Sun\ C*) # Sun C 5.9
8084
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'
8085
tmp_sharedflag='-G' ;;
8086
*Sun\ F*) # Sun Fortran 8.3
8087
tmp_sharedflag='-G' ;;
8089
tmp_sharedflag='-shared' ;;
8091
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8093
if test $supports_anon_versioning = yes; then
8094
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8095
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8096
$echo "local: *; };" >> $output_objdir/$libname.ver~
8097
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8105
netbsd* | netbsdelf*-gnu)
8106
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8107
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8110
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8111
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8116
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8120
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8121
*** create shared libraries on Solaris systems. Therefore, libtool
8122
*** is disabling shared libraries support. We urge you to upgrade GNU
8123
*** binutils to release 2.9.1 or newer. Another option is to modify
8124
*** your PATH or compiler configuration so that the native linker is
8125
*** used, and then restart.
8128
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8129
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8130
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8136
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8137
case `$LD -v 2>&1` in
8138
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8142
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8143
*** reliably create shared libraries on SCO systems. Therefore, libtool
8144
*** is disabling shared libraries support. We urge you to upgrade GNU
8145
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8146
*** your PATH or compiler configuration so that the native linker is
8147
*** used, and then restart.
8152
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8153
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8154
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8155
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8164
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8167
hardcode_shlibpath_var=no
8171
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8172
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8173
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8180
if test "$ld_shlibs" = no; then
8182
hardcode_libdir_flag_spec=
8183
export_dynamic_flag_spec=
8184
whole_archive_flag_spec=
8187
# PORTME fill in a description of your system's linker (not GNU ld)
8190
allow_undefined_flag=unsupported
8191
always_export_symbols=yes
8192
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'
8193
# Note: this linker hardcodes the directories in LIBPATH if there
8194
# are no directories specified by -L.
8195
hardcode_minus_L=yes
8196
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8197
# Neither direct hardcoding nor static linking is supported with a
8199
hardcode_direct=unsupported
8204
if test "$host_cpu" = ia64; then
8205
# On IA64, the linker does run time linking by default, so we don't
8206
# have to do anything special.
8207
aix_use_runtimelinking=no
8208
exp_sym_flag='-Bexport'
8211
# If we're using GNU nm, then we don't want the "-C" option.
8212
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8213
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8214
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'
8216
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'
8218
aix_use_runtimelinking=no
8220
# Test if we are trying to use run time linking or normal
8221
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8222
# need to do runtime linking.
8223
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8224
for ld_flag in $LDFLAGS; do
8225
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8226
aix_use_runtimelinking=yes
8233
exp_sym_flag='-bexport'
8234
no_entry_flag='-bnoentry'
8237
# When large executables or shared objects are built, AIX ld can
8238
# have problems creating the table of contents. If linking a library
8239
# or program results in "error TOC overflow" add -mminimal-toc to
8240
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8241
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8245
hardcode_libdir_separator=':'
8246
link_all_deplibs=yes
8248
if test "$GCC" = yes; then
8249
case $host_os in aix4.[012]|aix4.[012].*)
8250
# We only want to do this on AIX 4.2 and lower, the check
8251
# below for broken collect2 doesn't work under 4.3+
8252
collect2name=`${CC} -print-prog-name=collect2`
8253
if test -f "$collect2name" && \
8254
strings "$collect2name" | grep resolve_lib_name >/dev/null
8256
# We have reworked collect2
8259
# We have old collect2
8260
hardcode_direct=unsupported
8261
# It fails to find uninstalled libraries when the uninstalled
8262
# path is not listed in the libpath. Setting hardcode_minus_L
8263
# to unsupported forces relinking
8264
hardcode_minus_L=yes
8265
hardcode_libdir_flag_spec='-L$libdir'
8266
hardcode_libdir_separator=
8270
shared_flag='-shared'
8271
if test "$aix_use_runtimelinking" = yes; then
8272
shared_flag="$shared_flag "'${wl}-G'
8276
if test "$host_cpu" = ia64; then
8277
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8278
# chokes on -Wl,-G. The following line is correct:
8281
if test "$aix_use_runtimelinking" = yes; then
8282
shared_flag='${wl}-G'
8284
shared_flag='${wl}-bM:SRE'
8289
# It seems that -bexpall does not export symbols beginning with
8290
# underscore (_), so it is better to generate a list of symbols to export.
8291
always_export_symbols=yes
8292
if test "$aix_use_runtimelinking" = yes; then
8293
# Warning - without using the other runtime loading flags (-brtl),
8294
# -berok will link without error, but may produce a broken library.
8295
allow_undefined_flag='-berok'
8296
# Determine the default libpath from the value encoded in an empty executable.
8297
cat >conftest.$ac_ext <<_ACEOF
8300
cat confdefs.h >>conftest.$ac_ext
8301
cat >>conftest.$ac_ext <<_ACEOF
8302
/* end confdefs.h. */
8312
rm -f conftest.$ac_objext conftest$ac_exeext
8313
if { (ac_try="$ac_link"
8315
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8316
*) ac_try_echo=$ac_try;;
8318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8319
(eval "$ac_link") 2>conftest.er1
8321
grep -v '^ *+' conftest.er1 >conftest.err
8323
cat conftest.err >&5
8324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325
(exit $ac_status); } && {
8326
test -z "$ac_c_werror_flag" ||
8327
test ! -s conftest.err
8328
} && test -s conftest$ac_exeext &&
8329
$as_test_x conftest$ac_exeext; then
8331
lt_aix_libpath_sed='
8332
/Import File Strings/,/^$/ {
8338
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8339
# Check for a 64-bit object if we didn't find anything.
8340
if test -z "$aix_libpath"; then
8341
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8344
echo "$as_me: failed program was:" >&5
8345
sed 's/^/| /' conftest.$ac_ext >&5
8350
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8351
conftest$ac_exeext conftest.$ac_ext
8352
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8354
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8355
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"
8357
if test "$host_cpu" = ia64; then
8358
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8359
allow_undefined_flag="-z nodefs"
8360
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"
8362
# Determine the default libpath from the value encoded in an empty executable.
8363
cat >conftest.$ac_ext <<_ACEOF
8366
cat confdefs.h >>conftest.$ac_ext
8367
cat >>conftest.$ac_ext <<_ACEOF
8368
/* end confdefs.h. */
8378
rm -f conftest.$ac_objext conftest$ac_exeext
8379
if { (ac_try="$ac_link"
8381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382
*) ac_try_echo=$ac_try;;
8384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385
(eval "$ac_link") 2>conftest.er1
8387
grep -v '^ *+' conftest.er1 >conftest.err
8389
cat conftest.err >&5
8390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391
(exit $ac_status); } && {
8392
test -z "$ac_c_werror_flag" ||
8393
test ! -s conftest.err
8394
} && test -s conftest$ac_exeext &&
8395
$as_test_x conftest$ac_exeext; then
8397
lt_aix_libpath_sed='
8398
/Import File Strings/,/^$/ {
8404
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8405
# Check for a 64-bit object if we didn't find anything.
8406
if test -z "$aix_libpath"; then
8407
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8410
echo "$as_me: failed program was:" >&5
8411
sed 's/^/| /' conftest.$ac_ext >&5
8416
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8417
conftest$ac_exeext conftest.$ac_ext
8418
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8420
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8421
# Warning - without using the other run time loading flags,
8422
# -berok will link without error, but may produce a broken library.
8423
no_undefined_flag=' ${wl}-bernotok'
8424
allow_undefined_flag=' ${wl}-berok'
8425
# Exported symbols can be pulled into shared objects from archives
8426
whole_archive_flag_spec='$convenience'
8427
archive_cmds_need_lc=yes
8428
# This is similar to how AIX traditionally builds its shared libraries.
8429
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'
8435
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)'
8436
hardcode_libdir_flag_spec='-L$libdir'
8437
hardcode_minus_L=yes
8438
# see comment about different semantics on the GNU ld section
8443
export_dynamic_flag_spec=-rdynamic
8446
cygwin* | mingw* | pw32*)
8447
# When not using gcc, we currently assume that we are using
8448
# Microsoft Visual C++.
8449
# hardcode_libdir_flag_spec is actually meaningless, as there is
8450
# no search path for DLLs.
8451
hardcode_libdir_flag_spec=' '
8452
allow_undefined_flag=unsupported
8453
# Tell ltmain to make .lib files, not .a files.
8455
# Tell ltmain to make .dll files, not .so files.
8457
# FIXME: Setting linknames here is a bad hack.
8458
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8459
# The linker will automatically build a .lib file if we build a DLL.
8460
old_archive_From_new_cmds='true'
8461
# FIXME: Should let the user specify the lib program.
8462
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8463
fix_srcfile_path='`cygpath -w "$srcfile"`'
8464
enable_shared_with_static_runtimes=yes
8467
darwin* | rhapsody*)
8469
rhapsody* | darwin1.[012])
8470
allow_undefined_flag='${wl}-undefined ${wl}suppress'
8473
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8474
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8476
case ${MACOSX_DEPLOYMENT_TARGET} in
8478
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8481
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8487
archive_cmds_need_lc=no
8489
hardcode_automatic=yes
8490
hardcode_shlibpath_var=unsupported
8491
whole_archive_flag_spec=''
8492
link_all_deplibs=yes
8493
if test "$GCC" = yes ; then
8494
output_verbose_link_cmd='echo'
8495
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8496
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8497
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8498
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8500
case $cc_basename in
8502
output_verbose_link_cmd='echo'
8503
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8504
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8505
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8506
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}'
8507
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}'
8517
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8518
hardcode_libdir_flag_spec='-L$libdir'
8519
hardcode_shlibpath_var=no
8526
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8527
# support. Future versions do this automatically, but an explicit c++rt0.o
8528
# does not break anything, and helps significantly (at the cost of a little
8531
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8532
hardcode_libdir_flag_spec='-R$libdir'
8534
hardcode_shlibpath_var=no
8537
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8539
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8541
hardcode_minus_L=yes
8542
hardcode_shlibpath_var=no
8545
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8546
freebsd* | dragonfly*)
8547
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8548
hardcode_libdir_flag_spec='-R$libdir'
8550
hardcode_shlibpath_var=no
8554
if test "$GCC" = yes; then
8555
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'
8557
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'
8559
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8560
hardcode_libdir_separator=:
8563
# hardcode_minus_L: Not really in the search PATH,
8564
# but as the default location of the library.
8565
hardcode_minus_L=yes
8566
export_dynamic_flag_spec='${wl}-E'
8570
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8571
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8573
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8575
if test "$with_gnu_ld" = no; then
8576
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8577
hardcode_libdir_separator=:
8580
export_dynamic_flag_spec='${wl}-E'
8582
# hardcode_minus_L: Not really in the search PATH,
8583
# but as the default location of the library.
8584
hardcode_minus_L=yes
8589
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8592
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8595
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8598
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8604
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8607
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8610
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8614
if test "$with_gnu_ld" = no; then
8615
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8616
hardcode_libdir_separator=:
8620
hardcode_libdir_flag_spec_ld='+b $libdir'
8622
hardcode_shlibpath_var=no
8626
export_dynamic_flag_spec='${wl}-E'
8628
# hardcode_minus_L: Not really in the search PATH,
8629
# but as the default location of the library.
8630
hardcode_minus_L=yes
8636
irix5* | irix6* | nonstopux*)
8637
if test "$GCC" = yes; then
8638
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'
8640
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'
8641
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8643
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8644
hardcode_libdir_separator=:
8645
link_all_deplibs=yes
8648
netbsd* | netbsdelf*-gnu)
8649
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8650
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8652
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8654
hardcode_libdir_flag_spec='-R$libdir'
8656
hardcode_shlibpath_var=no
8660
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8662
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663
hardcode_libdir_separator=:
8664
hardcode_shlibpath_var=no
8668
if test -f /usr/libexec/ld.so; then
8670
hardcode_shlibpath_var=no
8671
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8672
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8673
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8674
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8675
export_dynamic_flag_spec='${wl}-E'
8678
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8679
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8680
hardcode_libdir_flag_spec='-R$libdir'
8683
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8684
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8694
hardcode_libdir_flag_spec='-L$libdir'
8695
hardcode_minus_L=yes
8696
allow_undefined_flag=unsupported
8697
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'
8698
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8702
if test "$GCC" = yes; then
8703
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8704
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'
8706
allow_undefined_flag=' -expect_unresolved \*'
8707
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'
8709
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8710
hardcode_libdir_separator=:
8713
osf4* | osf5*) # as osf3* with the addition of -msym flag
8714
if test "$GCC" = yes; then
8715
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8716
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'
8717
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8719
allow_undefined_flag=' -expect_unresolved \*'
8720
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'
8721
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8722
$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'
8724
# Both c and cxx compiler support -rpath directly
8725
hardcode_libdir_flag_spec='-rpath $libdir'
8727
hardcode_libdir_separator=:
8731
no_undefined_flag=' -z text'
8732
if test "$GCC" = yes; then
8734
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8735
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8736
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8739
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8741
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8743
hardcode_libdir_flag_spec='-R$libdir'
8744
hardcode_shlibpath_var=no
8746
solaris2.[0-5] | solaris2.[0-5].*) ;;
8748
# The compiler driver will combine and reorder linker options,
8749
# but understands `-z linker_flag'. GCC discards it without `$wl',
8750
# but is careful enough not to reorder.
8751
# Supported since Solaris 2.6 (maybe 2.5.1?)
8752
if test "$GCC" = yes; then
8753
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8755
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8759
link_all_deplibs=yes
8763
if test "x$host_vendor" = xsequent; then
8764
# Use $CC to link under sequent, because it throws in some extra .o
8765
# files that make .init and .fini sections work.
8766
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8768
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8770
hardcode_libdir_flag_spec='-L$libdir'
8772
hardcode_minus_L=yes
8773
hardcode_shlibpath_var=no
8777
case $host_vendor in
8779
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8780
hardcode_direct=yes # is this really true???
8783
## LD is ld it makes a PLAMLIB
8784
## CC just makes a GrossModule.
8785
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8786
reload_cmds='$CC -r -o $output$reload_objs'
8790
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8791
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8794
runpath_var='LD_RUN_PATH'
8795
hardcode_shlibpath_var=no
8799
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8800
hardcode_shlibpath_var=no
8801
export_dynamic_flag_spec='-Bexport'
8805
if test -d /usr/nec; then
8806
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807
hardcode_shlibpath_var=no
8808
runpath_var=LD_RUN_PATH
8809
hardcode_runpath_var=yes
8814
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8815
no_undefined_flag='${wl}-z,text'
8816
archive_cmds_need_lc=no
8817
hardcode_shlibpath_var=no
8818
runpath_var='LD_RUN_PATH'
8820
if test "$GCC" = yes; then
8821
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8822
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8824
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8825
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8829
sysv5* | sco3.2v5* | sco5v6*)
8830
# Note: We can NOT use -z defs as we might desire, because we do not
8831
# link with -lc, and that would cause any symbols used from libc to
8832
# always be unresolved, which means just about no library would
8833
# ever link correctly. If we're not using GNU ld we use -z text
8834
# though, which does catch some bad symbols but isn't as heavy-handed
8836
no_undefined_flag='${wl}-z,text'
8837
allow_undefined_flag='${wl}-z,nodefs'
8838
archive_cmds_need_lc=no
8839
hardcode_shlibpath_var=no
8840
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8841
hardcode_libdir_separator=':'
8842
link_all_deplibs=yes
8843
export_dynamic_flag_spec='${wl}-Bexport'
8844
runpath_var='LD_RUN_PATH'
8846
if test "$GCC" = yes; then
8847
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8848
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8850
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8851
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8856
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8857
hardcode_libdir_flag_spec='-L$libdir'
8858
hardcode_shlibpath_var=no
8867
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8868
echo "${ECHO_T}$ld_shlibs" >&6; }
8869
test "$ld_shlibs" = no && can_build_shared=no
8872
# Do we need to explicitly link libc?
8874
case "x$archive_cmds_need_lc" in
8876
# Assume -lc should be added
8877
archive_cmds_need_lc=yes
8879
if test "$enable_shared" = yes && test "$GCC" = yes; then
8880
case $archive_cmds in
8882
# FIXME: we may have to deal with multi-command sequences.
8885
# Test whether the compiler implicitly links with -lc since on some
8886
# systems, -lgcc has to come before -lc. If gcc already passes -lc
8887
# to ld, don't add -lc before -lgcc.
8888
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8889
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8891
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8893
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8894
(eval $ac_compile) 2>&5
8896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897
(exit $ac_status); } 2>conftest.err; then
8900
libobjs=conftest.$ac_objext
8902
wl=$lt_prog_compiler_wl
8903
pic_flag=$lt_prog_compiler_pic
8909
lt_save_allow_undefined_flag=$allow_undefined_flag
8910
allow_undefined_flag=
8911
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8912
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915
(exit $ac_status); }
8917
archive_cmds_need_lc=no
8919
archive_cmds_need_lc=yes
8921
allow_undefined_flag=$lt_save_allow_undefined_flag
8923
cat conftest.err 1>&5
8926
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8927
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8934
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8935
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8937
libname_spec='lib$name'
8945
shlibpath_overrides_runpath=unknown
8947
dynamic_linker="$host_os ld.so"
8948
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8950
if test "$GCC" = yes; then
8952
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8953
*) lt_awk_arg="/^libraries:/" ;;
8955
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8956
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8957
# if the path contains ";" then we assume it to be the separator
8958
# otherwise default to the standard path separator (i.e. ":") - it is
8959
# assumed that no part of a normal pathname contains ";" but that should
8960
# okay in the real world where ";" in dirpaths is itself problematic.
8961
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8963
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8965
# Ok, now we have the path, separated by spaces, we can step through it
8966
# and add multilib dir if necessary.
8967
lt_tmp_lt_search_path_spec=
8968
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8969
for lt_sys_path in $lt_search_path_spec; do
8970
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8971
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8973
test -d "$lt_sys_path" && \
8974
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8977
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8978
BEGIN {RS=" "; FS="/|\n";} {
8981
for (lt_i = NF; lt_i > 0; lt_i--) {
8982
if ($lt_i != "" && $lt_i != ".") {
8983
if ($lt_i == "..") {
8986
if (lt_count == 0) {
8987
lt_foo="/" $lt_i lt_foo;
8994
if (lt_foo != "") { lt_freq[lt_foo]++; }
8995
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8997
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8999
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9001
need_lib_prefix=unknown
9002
hardcode_into_libs=no
9004
# when you set need_version to no, make sure it does not cause -set_version
9005
# flags to be left without arguments
9006
need_version=unknown
9011
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9012
shlibpath_var=LIBPATH
9014
# AIX 3 has no versioning support, so we append a major version to the name.
9015
soname_spec='${libname}${release}${shared_ext}$major'
9022
hardcode_into_libs=yes
9023
if test "$host_cpu" = ia64; then
9024
# AIX 5 supports IA64
9025
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9026
shlibpath_var=LD_LIBRARY_PATH
9028
# With GCC up to 2.95.x, collect2 would create an import file
9029
# for dependence libraries. The import file would start with
9030
# the line `#! .'. This would cause the generated library to
9031
# depend on `.', always an invalid library. This was fixed in
9032
# development snapshots of GCC prior to 3.0.
9034
aix4 | aix4.[01] | aix4.[01].*)
9035
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9037
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9044
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9045
# soname into executable. Probably we can add versioning support to
9046
# collect2, so additional links can be useful in future.
9047
if test "$aix_use_runtimelinking" = yes; then
9048
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9049
# instead of lib<name>.a to let people know that these are not
9050
# typical AIX shared libraries.
9051
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9053
# We preserve .a as extension for shared libraries through AIX4.2
9054
# and later when we are not doing run time linking.
9055
library_names_spec='${libname}${release}.a $libname.a'
9056
soname_spec='${libname}${release}${shared_ext}$major'
9058
shlibpath_var=LIBPATH
9063
library_names_spec='$libname.ixlibrary $libname.a'
9064
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9065
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'
9069
library_names_spec='${libname}${shared_ext}'
9070
dynamic_linker="$host_os ld.so"
9071
shlibpath_var=LIBRARY_PATH
9077
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9078
soname_spec='${libname}${release}${shared_ext}$major'
9079
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9080
shlibpath_var=LD_LIBRARY_PATH
9081
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9082
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9083
# the default ld.so.conf also contains /usr/contrib/lib and
9084
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9085
# libtool to hard-code these into programs
9088
cygwin* | mingw* | pw32*)
9089
version_type=windows
9094
case $GCC,$host_os in
9095
yes,cygwin* | yes,mingw* | yes,pw32*)
9096
library_names_spec='$libname.dll.a'
9097
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9098
postinstall_cmds='base_file=`basename \${file}`~
9099
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9100
dldir=$destdir/`dirname \$dlpath`~
9101
test -d \$dldir || mkdir -p \$dldir~
9102
$install_prog $dir/$dlname \$dldir/$dlname~
9103
chmod a+x \$dldir/$dlname'
9104
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9105
dlpath=$dir/\$dldll~
9107
shlibpath_overrides_runpath=yes
9111
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9112
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9113
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9116
# MinGW DLLs use traditional 'lib' prefix
9117
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9118
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9119
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9120
# It is most probably a Windows format PATH printed by
9121
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9122
# path with ; separators, and with drive letters. We can handle the
9123
# drive letters (cygwin fileutils understands them), so leave them,
9124
# especially as we might pass files found there to a mingw objdump,
9125
# which wouldn't understand a cygwinified path. Ahh.
9126
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9128
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9132
# pw32 DLLs use 'pw' prefix rather than 'lib'
9133
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9139
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9142
dynamic_linker='Win32 ld.exe'
9143
# FIXME: first we should search . and the directory the executable is in
9147
darwin* | rhapsody*)
9148
dynamic_linker="$host_os dyld"
9152
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9153
soname_spec='${libname}${release}${major}$shared_ext'
9154
shlibpath_overrides_runpath=yes
9155
shlibpath_var=DYLD_LIBRARY_PATH
9156
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9158
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9159
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9166
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9167
soname_spec='${libname}${release}${shared_ext}$major'
9168
shlibpath_var=LD_LIBRARY_PATH
9175
freebsd* | dragonfly*)
9176
# DragonFly does not have aout. When/if they implement a new
9177
# versioning mechanism, adjust this.
9178
if test -x /usr/bin/objformat; then
9179
objformat=`/usr/bin/objformat`
9182
freebsd[123]*) objformat=aout ;;
9186
version_type=freebsd-$objformat
9187
case $version_type in
9189
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9194
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9198
shlibpath_var=LD_LIBRARY_PATH
9201
shlibpath_overrides_runpath=yes
9203
freebsd3.[01]* | freebsdelf3.[01]*)
9204
shlibpath_overrides_runpath=yes
9205
hardcode_into_libs=yes
9207
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9208
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9209
shlibpath_overrides_runpath=no
9210
hardcode_into_libs=yes
9212
*) # from 4.6 on, and DragonFly
9213
shlibpath_overrides_runpath=yes
9214
hardcode_into_libs=yes
9223
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9224
soname_spec='${libname}${release}${shared_ext}$major'
9225
shlibpath_var=LD_LIBRARY_PATH
9226
hardcode_into_libs=yes
9229
hpux9* | hpux10* | hpux11*)
9230
# Give a soname corresponding to the major version so that dld.sl refuses to
9231
# link against other versions.
9238
hardcode_into_libs=yes
9239
dynamic_linker="$host_os dld.so"
9240
shlibpath_var=LD_LIBRARY_PATH
9241
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9242
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9243
soname_spec='${libname}${release}${shared_ext}$major'
9244
if test "X$HPUX_IA64_MODE" = X32; then
9245
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9247
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9249
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9253
hardcode_into_libs=yes
9254
dynamic_linker="$host_os dld.sl"
9255
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9256
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9257
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258
soname_spec='${libname}${release}${shared_ext}$major'
9259
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9260
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9264
dynamic_linker="$host_os dld.sl"
9265
shlibpath_var=SHLIB_PATH
9266
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9267
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9268
soname_spec='${libname}${release}${shared_ext}$major'
9271
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9272
postinstall_cmds='chmod 555 $lib'
9279
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9280
soname_spec='${libname}${release}${shared_ext}$major'
9281
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9282
shlibpath_var=LD_LIBRARY_PATH
9283
shlibpath_overrides_runpath=no
9284
hardcode_into_libs=yes
9287
irix5* | irix6* | nonstopux*)
9289
nonstopux*) version_type=nonstopux ;;
9291
if test "$lt_cv_prog_gnu_ld" = yes; then
9299
soname_spec='${libname}${release}${shared_ext}$major'
9300
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9302
irix5* | nonstopux*)
9306
case $LD in # libtool.m4 will add one of these switches to LD
9307
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9308
libsuff= shlibsuff= libmagic=32-bit;;
9309
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9310
libsuff=32 shlibsuff=N32 libmagic=N32;;
9311
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9312
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9313
*) libsuff= shlibsuff= libmagic=never-match;;
9317
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9318
shlibpath_overrides_runpath=no
9319
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9320
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9321
hardcode_into_libs=yes
9324
# No shared lib support for Linux oldld, aout, or coff.
9325
linux*oldld* | linux*aout* | linux*coff*)
9329
# This must be Linux ELF.
9330
linux* | k*bsd*-gnu)
9334
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9335
soname_spec='${libname}${release}${shared_ext}$major'
9336
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9337
shlibpath_var=LD_LIBRARY_PATH
9338
shlibpath_overrides_runpath=no
9339
# This implies no fast_install, which is unacceptable.
9340
# Some rework will be needed to allow for fast_install
9341
# before this can be enabled.
9342
hardcode_into_libs=yes
9344
# Append ld.so.conf contents to the search path
9345
if test -f /etc/ld.so.conf; then
9346
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' ' '`
9347
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9350
# We used to test for /lib/ld.so.1 and disable shared libraries on
9351
# powerpc, because MkLinux only supported shared libraries with the
9352
# GNU dynamic linker. Since this was broken with cross compilers,
9353
# most powerpc-linux boxes support dynamic linking these days and
9354
# people can always --disable-shared, the test was removed, and we
9355
# assume the GNU/Linux dynamic linker is in use.
9356
dynamic_linker='GNU/Linux ld.so'
9363
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9364
soname_spec='${libname}${release}${shared_ext}$major'
9365
shlibpath_var=LD_LIBRARY_PATH
9366
shlibpath_overrides_runpath=no
9367
hardcode_into_libs=yes
9368
dynamic_linker='NetBSD ld.elf_so'
9375
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9376
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9377
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9378
dynamic_linker='NetBSD (a.out) ld.so'
9380
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9381
soname_spec='${libname}${release}${shared_ext}$major'
9382
dynamic_linker='NetBSD ld.elf_so'
9384
shlibpath_var=LD_LIBRARY_PATH
9385
shlibpath_overrides_runpath=yes
9386
hardcode_into_libs=yes
9391
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9392
shlibpath_var=LD_LIBRARY_PATH
9393
shlibpath_overrides_runpath=yes
9400
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9401
soname_spec='${libname}${release}${shared_ext}$major'
9402
shlibpath_var=LD_LIBRARY_PATH
9403
shlibpath_overrides_runpath=yes
9408
sys_lib_dlsearch_path_spec="/usr/lib"
9410
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9412
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9413
*) need_version=no ;;
9415
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9416
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9417
shlibpath_var=LD_LIBRARY_PATH
9418
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9420
openbsd2.[89] | openbsd2.[89].*)
9421
shlibpath_overrides_runpath=no
9424
shlibpath_overrides_runpath=yes
9428
shlibpath_overrides_runpath=yes
9433
libname_spec='$name'
9436
library_names_spec='$libname${shared_ext} $libname.a'
9437
dynamic_linker='OS/2 ld.exe'
9438
shlibpath_var=LIBPATH
9441
osf3* | osf4* | osf5*)
9445
soname_spec='${libname}${release}${shared_ext}$major'
9446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9447
shlibpath_var=LD_LIBRARY_PATH
9448
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9449
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9460
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9461
soname_spec='${libname}${release}${shared_ext}$major'
9462
shlibpath_var=LD_LIBRARY_PATH
9463
shlibpath_overrides_runpath=yes
9464
hardcode_into_libs=yes
9465
# ldd complains unless libraries are executable
9466
postinstall_cmds='chmod +x $lib'
9471
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9472
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9473
shlibpath_var=LD_LIBRARY_PATH
9474
shlibpath_overrides_runpath=yes
9475
if test "$with_gnu_ld" = yes; then
9483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9484
soname_spec='${libname}${release}${shared_ext}$major'
9485
shlibpath_var=LD_LIBRARY_PATH
9486
case $host_vendor in
9488
shlibpath_overrides_runpath=no
9490
export_dynamic_flag_spec='${wl}-Blargedynsym'
9491
runpath_var=LD_RUN_PATH
9499
shlibpath_overrides_runpath=no
9500
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9506
if test -d /usr/nec ;then
9508
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9509
soname_spec='$libname${shared_ext}.$major'
9510
shlibpath_var=LD_LIBRARY_PATH
9514
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9515
version_type=freebsd-elf
9518
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9519
soname_spec='${libname}${release}${shared_ext}$major'
9520
shlibpath_var=LD_LIBRARY_PATH
9521
hardcode_into_libs=yes
9522
if test "$with_gnu_ld" = yes; then
9523
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9524
shlibpath_overrides_runpath=no
9526
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9527
shlibpath_overrides_runpath=yes
9530
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9534
sys_lib_dlsearch_path_spec='/usr/lib'
9539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540
soname_spec='${libname}${release}${shared_ext}$major'
9541
shlibpath_var=LD_LIBRARY_PATH
9548
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9549
echo "${ECHO_T}$dynamic_linker" >&6; }
9550
test "$dynamic_linker" = no && can_build_shared=no
9552
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9553
echo $ECHO_N "(cached) $ECHO_C" >&6
9555
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9558
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9559
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9560
echo $ECHO_N "(cached) $ECHO_C" >&6
9562
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9565
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9567
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9568
if test "$GCC" = yes; then
9569
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9572
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9573
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9575
if test -n "$hardcode_libdir_flag_spec" || \
9576
test -n "$runpath_var" || \
9577
test "X$hardcode_automatic" = "Xyes" ; then
9579
# We can hardcode non-existant directories.
9580
if test "$hardcode_direct" != no &&
9581
# If the only mechanism to avoid hardcoding is shlibpath_var, we
9582
# have to relink, otherwise we might link with an installed library
9583
# when we should be linking with a yet-to-be-installed one
9584
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9585
test "$hardcode_minus_L" != no; then
9586
# Linking always hardcodes the temporary library directory.
9587
hardcode_action=relink
9589
# We can link without hardcoding, and we can hardcode nonexisting dirs.
9590
hardcode_action=immediate
9593
# We cannot hardcode anything, or else we can only hardcode existing
9595
hardcode_action=unsupported
9597
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9598
echo "${ECHO_T}$hardcode_action" >&6; }
9600
if test "$hardcode_action" = relink; then
9601
# Fast installation is not supported
9602
enable_fast_install=no
9603
elif test "$shlibpath_overrides_runpath" = yes ||
9604
test "$enable_shared" = no; then
9605
# Fast installation is not necessary
9606
enable_fast_install=needless
9611
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9612
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9613
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9614
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9615
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9616
{ echo "$as_me:$LINENO: result: yes" >&5
9617
echo "${ECHO_T}yes" >&6; }
9619
# FIXME - insert some real tests, host_os isn't really good enough
9622
if test -n "$STRIP" ; then
9623
striplib="$STRIP -x"
9624
old_striplib="$STRIP -S"
9625
{ echo "$as_me:$LINENO: result: yes" >&5
9626
echo "${ECHO_T}yes" >&6; }
9628
{ echo "$as_me:$LINENO: result: no" >&5
9629
echo "${ECHO_T}no" >&6; }
9633
{ echo "$as_me:$LINENO: result: no" >&5
9634
echo "${ECHO_T}no" >&6; }
9639
if test "x$enable_dlopen" != xyes; then
9640
enable_dlopen=unknown
9641
enable_dlopen_self=unknown
9642
enable_dlopen_self_static=unknown
9649
lt_cv_dlopen="load_add_on"
9651
lt_cv_dlopen_self=yes
9655
lt_cv_dlopen="LoadLibrary"
9660
lt_cv_dlopen="dlopen"
9665
# if libdl is installed we need to link against it
9666
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9667
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9668
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9669
echo $ECHO_N "(cached) $ECHO_C" >&6
9671
ac_check_lib_save_LIBS=$LIBS
9673
cat >conftest.$ac_ext <<_ACEOF
9676
cat confdefs.h >>conftest.$ac_ext
9677
cat >>conftest.$ac_ext <<_ACEOF
9678
/* end confdefs.h. */
9680
/* Override any GCC internal prototype to avoid an error.
9681
Use char because int might match the return type of a GCC
9682
builtin and then its argument prototype would still apply. */
9695
rm -f conftest.$ac_objext conftest$ac_exeext
9696
if { (ac_try="$ac_link"
9698
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9699
*) ac_try_echo=$ac_try;;
9701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9702
(eval "$ac_link") 2>conftest.er1
9704
grep -v '^ *+' conftest.er1 >conftest.err
9706
cat conftest.err >&5
9707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708
(exit $ac_status); } && {
9709
test -z "$ac_c_werror_flag" ||
9710
test ! -s conftest.err
9711
} && test -s conftest$ac_exeext &&
9712
$as_test_x conftest$ac_exeext; then
9713
ac_cv_lib_dl_dlopen=yes
9715
echo "$as_me: failed program was:" >&5
9716
sed 's/^/| /' conftest.$ac_ext >&5
9718
ac_cv_lib_dl_dlopen=no
9721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9722
conftest$ac_exeext conftest.$ac_ext
9723
LIBS=$ac_check_lib_save_LIBS
9725
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9726
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9727
if test $ac_cv_lib_dl_dlopen = yes; then
9728
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9733
lt_cv_dlopen_self=yes
9740
{ echo "$as_me:$LINENO: checking for shl_load" >&5
9741
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9742
if test "${ac_cv_func_shl_load+set}" = set; then
9743
echo $ECHO_N "(cached) $ECHO_C" >&6
9745
cat >conftest.$ac_ext <<_ACEOF
9748
cat confdefs.h >>conftest.$ac_ext
9749
cat >>conftest.$ac_ext <<_ACEOF
9750
/* end confdefs.h. */
9751
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9752
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9753
#define shl_load innocuous_shl_load
9755
/* System header to define __stub macros and hopefully few prototypes,
9756
which can conflict with char shl_load (); below.
9757
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9758
<limits.h> exists even on freestanding compilers. */
9761
# include <limits.h>
9763
# include <assert.h>
9768
/* Override any GCC internal prototype to avoid an error.
9769
Use char because int might match the return type of a GCC
9770
builtin and then its argument prototype would still apply. */
9775
/* The GNU C library defines this for functions which it implements
9776
to always fail with ENOSYS. Some functions are actually named
9777
something starting with __ and the normal name is an alias. */
9778
#if defined __stub_shl_load || defined __stub___shl_load
9790
rm -f conftest.$ac_objext conftest$ac_exeext
9791
if { (ac_try="$ac_link"
9793
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9794
*) ac_try_echo=$ac_try;;
9796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9797
(eval "$ac_link") 2>conftest.er1
9799
grep -v '^ *+' conftest.er1 >conftest.err
9801
cat conftest.err >&5
9802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803
(exit $ac_status); } && {
9804
test -z "$ac_c_werror_flag" ||
9805
test ! -s conftest.err
9806
} && test -s conftest$ac_exeext &&
9807
$as_test_x conftest$ac_exeext; then
9808
ac_cv_func_shl_load=yes
9810
echo "$as_me: failed program was:" >&5
9811
sed 's/^/| /' conftest.$ac_ext >&5
9813
ac_cv_func_shl_load=no
9816
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9817
conftest$ac_exeext conftest.$ac_ext
9819
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9820
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9821
if test $ac_cv_func_shl_load = yes; then
9822
lt_cv_dlopen="shl_load"
9824
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9825
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9826
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9827
echo $ECHO_N "(cached) $ECHO_C" >&6
9829
ac_check_lib_save_LIBS=$LIBS
9831
cat >conftest.$ac_ext <<_ACEOF
9834
cat confdefs.h >>conftest.$ac_ext
9835
cat >>conftest.$ac_ext <<_ACEOF
9836
/* end confdefs.h. */
9838
/* Override any GCC internal prototype to avoid an error.
9839
Use char because int might match the return type of a GCC
9840
builtin and then its argument prototype would still apply. */
9853
rm -f conftest.$ac_objext conftest$ac_exeext
9854
if { (ac_try="$ac_link"
9856
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9857
*) ac_try_echo=$ac_try;;
9859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860
(eval "$ac_link") 2>conftest.er1
9862
grep -v '^ *+' conftest.er1 >conftest.err
9864
cat conftest.err >&5
9865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866
(exit $ac_status); } && {
9867
test -z "$ac_c_werror_flag" ||
9868
test ! -s conftest.err
9869
} && test -s conftest$ac_exeext &&
9870
$as_test_x conftest$ac_exeext; then
9871
ac_cv_lib_dld_shl_load=yes
9873
echo "$as_me: failed program was:" >&5
9874
sed 's/^/| /' conftest.$ac_ext >&5
9876
ac_cv_lib_dld_shl_load=no
9879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880
conftest$ac_exeext conftest.$ac_ext
9881
LIBS=$ac_check_lib_save_LIBS
9883
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9884
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9885
if test $ac_cv_lib_dld_shl_load = yes; then
9886
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9888
{ echo "$as_me:$LINENO: checking for dlopen" >&5
9889
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9890
if test "${ac_cv_func_dlopen+set}" = set; then
9891
echo $ECHO_N "(cached) $ECHO_C" >&6
9893
cat >conftest.$ac_ext <<_ACEOF
9896
cat confdefs.h >>conftest.$ac_ext
9897
cat >>conftest.$ac_ext <<_ACEOF
9898
/* end confdefs.h. */
9899
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9900
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9901
#define dlopen innocuous_dlopen
9903
/* System header to define __stub macros and hopefully few prototypes,
9904
which can conflict with char dlopen (); below.
9905
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9906
<limits.h> exists even on freestanding compilers. */
9909
# include <limits.h>
9911
# include <assert.h>
9916
/* Override any GCC internal prototype to avoid an error.
9917
Use char because int might match the return type of a GCC
9918
builtin and then its argument prototype would still apply. */
9923
/* The GNU C library defines this for functions which it implements
9924
to always fail with ENOSYS. Some functions are actually named
9925
something starting with __ and the normal name is an alias. */
9926
#if defined __stub_dlopen || defined __stub___dlopen
9938
rm -f conftest.$ac_objext conftest$ac_exeext
9939
if { (ac_try="$ac_link"
9941
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9942
*) ac_try_echo=$ac_try;;
9944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9945
(eval "$ac_link") 2>conftest.er1
9947
grep -v '^ *+' conftest.er1 >conftest.err
9949
cat conftest.err >&5
9950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951
(exit $ac_status); } && {
9952
test -z "$ac_c_werror_flag" ||
9953
test ! -s conftest.err
9954
} && test -s conftest$ac_exeext &&
9955
$as_test_x conftest$ac_exeext; then
9956
ac_cv_func_dlopen=yes
9958
echo "$as_me: failed program was:" >&5
9959
sed 's/^/| /' conftest.$ac_ext >&5
9961
ac_cv_func_dlopen=no
9964
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9965
conftest$ac_exeext conftest.$ac_ext
9967
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9968
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9969
if test $ac_cv_func_dlopen = yes; then
9970
lt_cv_dlopen="dlopen"
9972
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9973
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9974
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9975
echo $ECHO_N "(cached) $ECHO_C" >&6
9977
ac_check_lib_save_LIBS=$LIBS
9979
cat >conftest.$ac_ext <<_ACEOF
9982
cat confdefs.h >>conftest.$ac_ext
9983
cat >>conftest.$ac_ext <<_ACEOF
9984
/* end confdefs.h. */
9986
/* Override any GCC internal prototype to avoid an error.
9987
Use char because int might match the return type of a GCC
9988
builtin and then its argument prototype would still apply. */
10001
rm -f conftest.$ac_objext conftest$ac_exeext
10002
if { (ac_try="$ac_link"
10003
case "(($ac_try" in
10004
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10005
*) ac_try_echo=$ac_try;;
10007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10008
(eval "$ac_link") 2>conftest.er1
10010
grep -v '^ *+' conftest.er1 >conftest.err
10012
cat conftest.err >&5
10013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014
(exit $ac_status); } && {
10015
test -z "$ac_c_werror_flag" ||
10016
test ! -s conftest.err
10017
} && test -s conftest$ac_exeext &&
10018
$as_test_x conftest$ac_exeext; then
10019
ac_cv_lib_dl_dlopen=yes
10021
echo "$as_me: failed program was:" >&5
10022
sed 's/^/| /' conftest.$ac_ext >&5
10024
ac_cv_lib_dl_dlopen=no
10027
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10028
conftest$ac_exeext conftest.$ac_ext
10029
LIBS=$ac_check_lib_save_LIBS
10031
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10032
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10033
if test $ac_cv_lib_dl_dlopen = yes; then
10034
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10036
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10037
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10038
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10039
echo $ECHO_N "(cached) $ECHO_C" >&6
10041
ac_check_lib_save_LIBS=$LIBS
10042
LIBS="-lsvld $LIBS"
10043
cat >conftest.$ac_ext <<_ACEOF
10046
cat confdefs.h >>conftest.$ac_ext
10047
cat >>conftest.$ac_ext <<_ACEOF
10048
/* end confdefs.h. */
10050
/* Override any GCC internal prototype to avoid an error.
10051
Use char because int might match the return type of a GCC
10052
builtin and then its argument prototype would still apply. */
10065
rm -f conftest.$ac_objext conftest$ac_exeext
10066
if { (ac_try="$ac_link"
10067
case "(($ac_try" in
10068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10069
*) ac_try_echo=$ac_try;;
10071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10072
(eval "$ac_link") 2>conftest.er1
10074
grep -v '^ *+' conftest.er1 >conftest.err
10076
cat conftest.err >&5
10077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078
(exit $ac_status); } && {
10079
test -z "$ac_c_werror_flag" ||
10080
test ! -s conftest.err
10081
} && test -s conftest$ac_exeext &&
10082
$as_test_x conftest$ac_exeext; then
10083
ac_cv_lib_svld_dlopen=yes
10085
echo "$as_me: failed program was:" >&5
10086
sed 's/^/| /' conftest.$ac_ext >&5
10088
ac_cv_lib_svld_dlopen=no
10091
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10092
conftest$ac_exeext conftest.$ac_ext
10093
LIBS=$ac_check_lib_save_LIBS
10095
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10096
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10097
if test $ac_cv_lib_svld_dlopen = yes; then
10098
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10100
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10101
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10102
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10103
echo $ECHO_N "(cached) $ECHO_C" >&6
10105
ac_check_lib_save_LIBS=$LIBS
10107
cat >conftest.$ac_ext <<_ACEOF
10110
cat confdefs.h >>conftest.$ac_ext
10111
cat >>conftest.$ac_ext <<_ACEOF
10112
/* end confdefs.h. */
10114
/* Override any GCC internal prototype to avoid an error.
10115
Use char because int might match the return type of a GCC
10116
builtin and then its argument prototype would still apply. */
10124
return dld_link ();
10129
rm -f conftest.$ac_objext conftest$ac_exeext
10130
if { (ac_try="$ac_link"
10131
case "(($ac_try" in
10132
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133
*) ac_try_echo=$ac_try;;
10135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136
(eval "$ac_link") 2>conftest.er1
10138
grep -v '^ *+' conftest.er1 >conftest.err
10140
cat conftest.err >&5
10141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142
(exit $ac_status); } && {
10143
test -z "$ac_c_werror_flag" ||
10144
test ! -s conftest.err
10145
} && test -s conftest$ac_exeext &&
10146
$as_test_x conftest$ac_exeext; then
10147
ac_cv_lib_dld_dld_link=yes
10149
echo "$as_me: failed program was:" >&5
10150
sed 's/^/| /' conftest.$ac_ext >&5
10152
ac_cv_lib_dld_dld_link=no
10155
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10156
conftest$ac_exeext conftest.$ac_ext
10157
LIBS=$ac_check_lib_save_LIBS
10159
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10160
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10161
if test $ac_cv_lib_dld_dld_link = yes; then
10162
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10183
if test "x$lt_cv_dlopen" != xno; then
10189
case $lt_cv_dlopen in
10191
save_CPPFLAGS="$CPPFLAGS"
10192
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10194
save_LDFLAGS="$LDFLAGS"
10195
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10198
LIBS="$lt_cv_dlopen_libs $LIBS"
10200
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10201
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10202
if test "${lt_cv_dlopen_self+set}" = set; then
10203
echo $ECHO_N "(cached) $ECHO_C" >&6
10205
if test "$cross_compiling" = yes; then :
10206
lt_cv_dlopen_self=cross
10208
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10209
lt_status=$lt_dlunknown
10210
cat > conftest.$ac_ext <<EOF
10211
#line __oline__ "configure"
10212
#include "confdefs.h"
10221
# define LT_DLGLOBAL RTLD_GLOBAL
10224
# define LT_DLGLOBAL DL_GLOBAL
10226
# define LT_DLGLOBAL 0
10230
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10231
find out it does not work in some platform. */
10232
#ifndef LT_DLLAZY_OR_NOW
10234
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10237
# define LT_DLLAZY_OR_NOW DL_LAZY
10240
# define LT_DLLAZY_OR_NOW RTLD_NOW
10243
# define LT_DLLAZY_OR_NOW DL_NOW
10245
# define LT_DLLAZY_OR_NOW 0
10253
extern "C" void exit (int);
10256
void fnord() { int i=42;}
10259
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10260
int status = $lt_dlunknown;
10264
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10265
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10266
/* dlclose (self); */
10274
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10275
(eval $ac_link) 2>&5
10277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10279
(./conftest; exit; ) >&5 2>/dev/null
10281
case x$lt_status in
10282
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10283
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10284
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10287
# compilation failed
10288
lt_cv_dlopen_self=no
10295
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10296
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10298
if test "x$lt_cv_dlopen_self" = xyes; then
10299
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10300
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10301
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10302
if test "${lt_cv_dlopen_self_static+set}" = set; then
10303
echo $ECHO_N "(cached) $ECHO_C" >&6
10305
if test "$cross_compiling" = yes; then :
10306
lt_cv_dlopen_self_static=cross
10308
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10309
lt_status=$lt_dlunknown
10310
cat > conftest.$ac_ext <<EOF
10311
#line __oline__ "configure"
10312
#include "confdefs.h"
10321
# define LT_DLGLOBAL RTLD_GLOBAL
10324
# define LT_DLGLOBAL DL_GLOBAL
10326
# define LT_DLGLOBAL 0
10330
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10331
find out it does not work in some platform. */
10332
#ifndef LT_DLLAZY_OR_NOW
10334
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10337
# define LT_DLLAZY_OR_NOW DL_LAZY
10340
# define LT_DLLAZY_OR_NOW RTLD_NOW
10343
# define LT_DLLAZY_OR_NOW DL_NOW
10345
# define LT_DLLAZY_OR_NOW 0
10353
extern "C" void exit (int);
10356
void fnord() { int i=42;}
10359
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10360
int status = $lt_dlunknown;
10364
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10365
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10366
/* dlclose (self); */
10374
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375
(eval $ac_link) 2>&5
10377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10379
(./conftest; exit; ) >&5 2>/dev/null
10381
case x$lt_status in
10382
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10383
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10384
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10387
# compilation failed
10388
lt_cv_dlopen_self_static=no
10395
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10396
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10399
CPPFLAGS="$save_CPPFLAGS"
10400
LDFLAGS="$save_LDFLAGS"
10405
case $lt_cv_dlopen_self in
10406
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10407
*) enable_dlopen_self=unknown ;;
10410
case $lt_cv_dlopen_self_static in
10411
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10412
*) enable_dlopen_self_static=unknown ;;
10417
# Report which library types will actually be built
10418
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10419
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10420
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10421
echo "${ECHO_T}$can_build_shared" >&6; }
10423
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10424
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10425
test "$can_build_shared" = "no" && enable_shared=no
10427
# On AIX, shared libraries and static libraries use the same namespace, and
10428
# are all built from PIC.
10431
test "$enable_shared" = yes && enable_static=no
10432
if test -n "$RANLIB"; then
10433
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10434
postinstall_cmds='$RANLIB $lib'
10439
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10440
test "$enable_shared" = yes && enable_static=no
10444
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10445
echo "${ECHO_T}$enable_shared" >&6; }
10447
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10448
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10449
# Make sure either enable_shared or enable_static is yes.
10450
test "$enable_shared" = yes || enable_static=yes
10451
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10452
echo "${ECHO_T}$enable_static" >&6; }
10454
# The else clause should only fire when bootstrapping the
10455
# libtool distribution, otherwise you forgot to ship ltmain.sh
10456
# with your package, and you will get complaints that there are
10457
# no rules to generate ltmain.sh.
10458
if test -f "$ltmain"; then
10459
# See if we are running on zsh, and set the options which allow our commands through
10460
# without removal of \ escapes.
10461
if test -n "${ZSH_VERSION+set}" ; then
10462
setopt NO_GLOB_SUBST
10464
# Now quote all the things that may contain metacharacters while being
10465
# careful not to overquote the AC_SUBSTed values. We take copies of the
10466
# variables and quote the copies for generation of the libtool script.
10467
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10469
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10470
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10471
deplibs_check_method reload_flag reload_cmds need_locks \
10472
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10473
lt_cv_sys_global_symbol_to_c_name_address \
10474
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10475
old_postinstall_cmds old_postuninstall_cmds \
10479
lt_prog_compiler_wl \
10480
lt_prog_compiler_pic \
10481
lt_prog_compiler_static \
10482
lt_prog_compiler_no_builtin_flag \
10483
export_dynamic_flag_spec \
10484
thread_safe_flag_spec \
10485
whole_archive_flag_spec \
10486
enable_shared_with_static_runtimes \
10488
old_archive_from_new_cmds \
10493
compiler_lib_search_path \
10494
compiler_lib_search_dirs \
10496
archive_expsym_cmds \
10498
postuninstall_cmds \
10499
old_archive_from_expsyms_cmds \
10500
allow_undefined_flag \
10501
no_undefined_flag \
10502
export_symbols_cmds \
10503
hardcode_libdir_flag_spec \
10504
hardcode_libdir_flag_spec_ld \
10505
hardcode_libdir_separator \
10506
hardcode_automatic \
10508
module_expsym_cmds \
10509
lt_cv_prog_compiler_c_o \
10512
include_expsyms; do
10515
old_archive_cmds | \
10516
old_archive_from_new_cmds | \
10518
archive_expsym_cmds | \
10520
module_expsym_cmds | \
10521
old_archive_from_expsyms_cmds | \
10522
export_symbols_cmds | \
10523
extract_expsyms_cmds | reload_cmds | finish_cmds | \
10524
postinstall_cmds | postuninstall_cmds | \
10525
old_postinstall_cmds | old_postuninstall_cmds | \
10526
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10527
# Double-quote double-evaled strings.
10528
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10531
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10537
*'\$0 --fallback-echo"')
10538
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10542
cfgfile="${ofile}T"
10543
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10545
{ echo "$as_me:$LINENO: creating $ofile" >&5
10546
echo "$as_me: creating $ofile" >&6;}
10548
cat <<__EOF__ >> "$cfgfile"
10551
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10552
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10553
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10555
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10556
# Free Software Foundation, Inc.
10558
# This file is part of GNU Libtool:
10559
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10561
# This program is free software; you can redistribute it and/or modify
10562
# it under the terms of the GNU General Public License as published by
10563
# the Free Software Foundation; either version 2 of the License, or
10564
# (at your option) any later version.
10566
# This program is distributed in the hope that it will be useful, but
10567
# WITHOUT ANY WARRANTY; without even the implied warranty of
10568
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10569
# General Public License for more details.
10571
# You should have received a copy of the GNU General Public License
10572
# along with this program; if not, write to the Free Software
10573
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10575
# As a special exception to the GNU General Public License, if you
10576
# distribute this file as part of a program that contains a
10577
# configuration script generated by Autoconf, you may include it under
10578
# the same distribution terms that you use for the rest of that program.
10580
# A sed program that does not truncate output.
10583
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10584
Xsed="$SED -e 1s/^X//"
10586
# The HP-UX ksh and POSIX shell print the target directory to stdout
10587
# if CDPATH is set.
10588
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10590
# The names of the tagged configurations supported by this script.
10593
# ### BEGIN LIBTOOL CONFIG
10595
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10597
# Shell to use when invoking shell scripts.
10600
# Whether or not to build shared libraries.
10601
build_libtool_libs=$enable_shared
10603
# Whether or not to build static libraries.
10604
build_old_libs=$enable_static
10606
# Whether or not to add -lc for building shared libraries.
10607
build_libtool_need_lc=$archive_cmds_need_lc
10609
# Whether or not to disallow shared libs when runtime libs are static
10610
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10612
# Whether or not to optimize for fast installation.
10613
fast_install=$enable_fast_install
10616
host_alias=$host_alias
10620
# The build system.
10621
build_alias=$build_alias
10625
# An echo program that does not interpret backslashes.
10630
AR_FLAGS=$lt_AR_FLAGS
10635
# LTCC compiler flags.
10636
LTCFLAGS=$lt_LTCFLAGS
10638
# A language-specific compiler.
10641
# Is the compiler the GNU C compiler?
10647
# The linker used to build libraries.
10650
# Whether we need hard or soft links.
10653
# A BSD-compatible nm program.
10656
# A symbol stripping program
10659
# Used to examine libraries when file_magic_cmd begins "file"
10660
MAGIC_CMD=$MAGIC_CMD
10662
# Used on cygwin: DLL creation program.
10665
# Used on cygwin: object dumper.
10668
# Used on cygwin: assembler.
10671
# The name of the directory that contains temporary libtool files.
10674
# How to create reloadable object files.
10675
reload_flag=$lt_reload_flag
10676
reload_cmds=$lt_reload_cmds
10678
# How to pass a linker flag through the compiler.
10679
wl=$lt_lt_prog_compiler_wl
10681
# Object file suffix (normally "o").
10682
objext="$ac_objext"
10684
# Old archive suffix (normally "a").
10687
# Shared library suffix (normally ".so").
10688
shrext_cmds='$shrext_cmds'
10690
# Executable file suffix (normally "").
10693
# Additional compiler flags for building library objects.
10694
pic_flag=$lt_lt_prog_compiler_pic
10697
# What is the maximum length of a command?
10698
max_cmd_len=$lt_cv_sys_max_cmd_len
10700
# Does compiler simultaneously support -c and -o options?
10701
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10703
# Must we lock files when doing compilation?
10704
need_locks=$lt_need_locks
10706
# Do we need the lib prefix for modules?
10707
need_lib_prefix=$need_lib_prefix
10709
# Do we need a version for libraries?
10710
need_version=$need_version
10712
# Whether dlopen is supported.
10713
dlopen_support=$enable_dlopen
10715
# Whether dlopen of programs is supported.
10716
dlopen_self=$enable_dlopen_self
10718
# Whether dlopen of statically linked programs is supported.
10719
dlopen_self_static=$enable_dlopen_self_static
10721
# Compiler flag to prevent dynamic linking.
10722
link_static_flag=$lt_lt_prog_compiler_static
10724
# Compiler flag to turn off builtin functions.
10725
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10727
# Compiler flag to allow reflexive dlopens.
10728
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10730
# Compiler flag to generate shared objects directly from archives.
10731
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10733
# Compiler flag to generate thread-safe objects.
10734
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10736
# Library versioning type.
10737
version_type=$version_type
10739
# Format of library name prefix.
10740
libname_spec=$lt_libname_spec
10742
# List of archive names. First name is the real one, the rest are links.
10743
# The last name is the one that the linker finds with -lNAME.
10744
library_names_spec=$lt_library_names_spec
10746
# The coded name of the library, if different from the real name.
10747
soname_spec=$lt_soname_spec
10749
# Commands used to build and install an old-style archive.
10751
old_archive_cmds=$lt_old_archive_cmds
10752
old_postinstall_cmds=$lt_old_postinstall_cmds
10753
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10755
# Create an old-style archive from a shared archive.
10756
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10758
# Create a temporary old-style archive to link instead of a shared archive.
10759
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10761
# Commands used to build and install a shared archive.
10762
archive_cmds=$lt_archive_cmds
10763
archive_expsym_cmds=$lt_archive_expsym_cmds
10764
postinstall_cmds=$lt_postinstall_cmds
10765
postuninstall_cmds=$lt_postuninstall_cmds
10767
# Commands used to build a loadable module (assumed same as above if empty)
10768
module_cmds=$lt_module_cmds
10769
module_expsym_cmds=$lt_module_expsym_cmds
10771
# Commands to strip libraries.
10772
old_striplib=$lt_old_striplib
10773
striplib=$lt_striplib
10775
# Dependencies to place before the objects being linked to create a
10777
predep_objects=$lt_predep_objects
10779
# Dependencies to place after the objects being linked to create a
10781
postdep_objects=$lt_postdep_objects
10783
# Dependencies to place before the objects being linked to create a
10785
predeps=$lt_predeps
10787
# Dependencies to place after the objects being linked to create a
10789
postdeps=$lt_postdeps
10791
# The directories searched by this compiler when creating a shared
10793
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10795
# The library search path used internally by the compiler when linking
10796
# a shared library.
10797
compiler_lib_search_path=$lt_compiler_lib_search_path
10799
# Method to check whether dependent libraries are shared objects.
10800
deplibs_check_method=$lt_deplibs_check_method
10802
# Command to use when deplibs_check_method == file_magic.
10803
file_magic_cmd=$lt_file_magic_cmd
10805
# Flag that allows shared libraries with undefined symbols to be built.
10806
allow_undefined_flag=$lt_allow_undefined_flag
10808
# Flag that forces no undefined symbols.
10809
no_undefined_flag=$lt_no_undefined_flag
10811
# Commands used to finish a libtool library installation in a directory.
10812
finish_cmds=$lt_finish_cmds
10814
# Same as above, but a single script fragment to be evaled but not shown.
10815
finish_eval=$lt_finish_eval
10817
# Take the output of nm and produce a listing of raw symbols and C names.
10818
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10820
# Transform the output of nm in a proper C declaration
10821
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10823
# Transform the output of nm in a C name address pair
10824
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10826
# This is the shared library runtime path variable.
10827
runpath_var=$runpath_var
10829
# This is the shared library path variable.
10830
shlibpath_var=$shlibpath_var
10832
# Is shlibpath searched before the hard-coded library search path?
10833
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10835
# How to hardcode a shared library path into an executable.
10836
hardcode_action=$hardcode_action
10838
# Whether we should hardcode library paths into libraries.
10839
hardcode_into_libs=$hardcode_into_libs
10841
# Flag to hardcode \$libdir into a binary during linking.
10842
# This must work even if \$libdir does not exist.
10843
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10845
# If ld is used when linking, flag to hardcode \$libdir into
10846
# a binary during linking. This must work even if \$libdir does
10848
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10850
# Whether we need a single -rpath flag with a separated argument.
10851
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10853
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10854
# resulting binary.
10855
hardcode_direct=$hardcode_direct
10857
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10858
# resulting binary.
10859
hardcode_minus_L=$hardcode_minus_L
10861
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10862
# the resulting binary.
10863
hardcode_shlibpath_var=$hardcode_shlibpath_var
10865
# Set to yes if building a shared library automatically hardcodes DIR into the library
10866
# and all subsequent libraries and executables linked against it.
10867
hardcode_automatic=$hardcode_automatic
10869
# Variables whose values should be saved in libtool wrapper scripts and
10870
# restored at relink time.
10871
variables_saved_for_relink="$variables_saved_for_relink"
10873
# Whether libtool must link a program against all its dependency libraries.
10874
link_all_deplibs=$link_all_deplibs
10876
# Compile-time system search path for libraries
10877
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10879
# Run-time system search path for libraries
10880
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10882
# Fix the shell variable \$srcfile for the compiler.
10883
fix_srcfile_path=$lt_fix_srcfile_path
10885
# Set to yes if exported symbols are required.
10886
always_export_symbols=$always_export_symbols
10888
# The commands to list exported symbols.
10889
export_symbols_cmds=$lt_export_symbols_cmds
10891
# The commands to extract the exported symbol list from a shared archive.
10892
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10894
# Symbols that should not be listed in the preloaded symbols.
10895
exclude_expsyms=$lt_exclude_expsyms
10897
# Symbols that must always be exported.
10898
include_expsyms=$lt_include_expsyms
10900
# ### END LIBTOOL CONFIG
10907
cat <<\EOF >> "$cfgfile"
10909
# AIX sometimes has problems with the GCC collect2 program. For some
10910
# reason, if we set the COLLECT_NAMES environment variable, the problems
10911
# vanish in a puff of smoke.
10912
if test "X${COLLECT_NAMES+set}" != Xset; then
10914
export COLLECT_NAMES
10920
# We use sed instead of cat because bash on DJGPP gets confused if
10921
# if finds mixed CR/LF and LF-only lines. Since sed operates in
10922
# text mode, it properly converts lines to CR/LF. This bash problem
10923
# is reportedly fixed, but why not run on old versions too?
10924
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10926
mv -f "$cfgfile" "$ofile" || \
10927
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10931
# If there is no Makefile yet, we rely on a make rule to execute
10932
# `config.status --recheck' to rerun these tests and create the
10933
# libtool script then.
10934
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10935
if test -f "$ltmain_in"; then
10936
test -f Makefile && make "$ltmain"
10942
ac_cpp='$CPP $CPPFLAGS'
10943
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10950
# Check whether --with-tags was given.
10951
if test "${with_tags+set}" = set; then
10952
withval=$with_tags; tagnames="$withval"
10956
if test -f "$ltmain" && test -n "$tagnames"; then
10957
if test ! -f "${ofile}"; then
10958
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10959
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10962
if test -z "$LTCC"; then
10963
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10964
if test -z "$LTCC"; then
10965
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10966
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10968
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10969
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10972
if test -z "$LTCFLAGS"; then
10973
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10976
# Extract list of available tagged configurations in $ofile.
10977
# Note that this assumes the entire list is on one line.
10978
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10980
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10981
for tagname in $tagnames; do
10983
# Check whether tagname contains only valid characters
10984
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10986
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10987
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10988
{ (exit 1); exit 1; }; }
10992
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10994
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10995
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10996
{ (exit 1); exit 1; }; }
10999
# Update the list of available tags.
11000
if test -n "$tagname"; then
11001
echo appending configuration tag \"$tagname\" to $ofile
11005
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11006
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11007
(test "X$CXX" != "Xg++"))) ; then
11009
ac_cpp='$CXXCPP $CPPFLAGS'
11010
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11011
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11012
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11017
archive_cmds_need_lc_CXX=no
11018
allow_undefined_flag_CXX=
11019
always_export_symbols_CXX=no
11020
archive_expsym_cmds_CXX=
11021
export_dynamic_flag_spec_CXX=
11022
hardcode_direct_CXX=no
11023
hardcode_libdir_flag_spec_CXX=
11024
hardcode_libdir_flag_spec_ld_CXX=
11025
hardcode_libdir_separator_CXX=
11026
hardcode_minus_L_CXX=no
11027
hardcode_shlibpath_var_CXX=unsupported
11028
hardcode_automatic_CXX=no
11030
module_expsym_cmds_CXX=
11031
link_all_deplibs_CXX=unknown
11032
old_archive_cmds_CXX=$old_archive_cmds
11033
no_undefined_flag_CXX=
11034
whole_archive_flag_spec_CXX=
11035
enable_shared_with_static_runtimes_CXX=no
11037
# Dependencies to place before and after the object being linked:
11038
predep_objects_CXX=
11039
postdep_objects_CXX=
11042
compiler_lib_search_path_CXX=
11043
compiler_lib_search_dirs_CXX=
11045
# Source file extension for C++ test sources.
11048
# Object file extension for compiled C++ test sources.
11052
# Code to be used in simple compile tests
11053
lt_simple_compile_test_code="int some_variable = 0;"
11055
# Code to be used in simple link tests
11056
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11058
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11060
# If no C compiler was specified, use CC.
11063
# If no C compiler flags were specified, use CFLAGS.
11064
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11066
# Allow CC to be a program name with arguments.
11070
# save warnings/boilerplate of simple test code
11071
ac_outfile=conftest.$ac_objext
11072
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11073
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11074
_lt_compiler_boilerplate=`cat conftest.err`
11077
ac_outfile=conftest.$ac_objext
11078
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11079
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11080
_lt_linker_boilerplate=`cat conftest.err`
11084
# Allow CC to be a program name with arguments.
11089
lt_save_with_gnu_ld=$with_gnu_ld
11090
lt_save_path_LD=$lt_cv_path_LD
11091
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11092
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11094
$as_unset lt_cv_prog_gnu_ld
11096
if test -n "${lt_cv_path_LDCXX+set}"; then
11097
lt_cv_path_LD=$lt_cv_path_LDCXX
11099
$as_unset lt_cv_path_LD
11101
test -z "${LDCXX+set}" || LD=$LDCXX
11105
for cc_temp in $compiler""; do
11107
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11108
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11113
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11116
# We don't want -fno-exception wen compiling C++ code, so set the
11117
# no_builtin_flag separately
11118
if test "$GXX" = yes; then
11119
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11121
lt_prog_compiler_no_builtin_flag_CXX=
11124
if test "$GXX" = yes; then
11125
# Set up default GNU C++ configuration
11128
# Check whether --with-gnu-ld was given.
11129
if test "${with_gnu_ld+set}" = set; then
11130
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11136
if test "$GCC" = yes; then
11137
# Check if gcc -print-prog-name=ld gives a path.
11138
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11139
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11142
# gcc leaves a trailing carriage return which upsets mingw
11143
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11145
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11148
# Accept absolute paths.
11150
re_direlt='/[^/][^/]*/\.\./'
11151
# Canonicalize the pathname of ld
11152
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11153
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11154
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11156
test -z "$LD" && LD="$ac_prog"
11159
# If it fails, then pretend we aren't using GCC.
11163
# If it is relative, then search for the first ld in PATH.
11164
with_gnu_ld=unknown
11167
elif test "$with_gnu_ld" = yes; then
11168
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
11169
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11171
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11172
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11174
if test "${lt_cv_path_LD+set}" = set; then
11175
echo $ECHO_N "(cached) $ECHO_C" >&6
11177
if test -z "$LD"; then
11178
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11179
for ac_dir in $PATH; do
11181
test -z "$ac_dir" && ac_dir=.
11182
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11183
lt_cv_path_LD="$ac_dir/$ac_prog"
11184
# Check to see if the program is GNU ld. I'd rather use --version,
11185
# but apparently some variants of GNU ld only accept -v.
11186
# Break only if it was the GNU/non-GNU ld that we prefer.
11187
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11188
*GNU* | *'with BFD'*)
11189
test "$with_gnu_ld" != no && break
11192
test "$with_gnu_ld" != yes && break
11199
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11203
LD="$lt_cv_path_LD"
11204
if test -n "$LD"; then
11205
{ echo "$as_me:$LINENO: result: $LD" >&5
11206
echo "${ECHO_T}$LD" >&6; }
11208
{ echo "$as_me:$LINENO: result: no" >&5
11209
echo "${ECHO_T}no" >&6; }
11211
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11212
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11213
{ (exit 1); exit 1; }; }
11214
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11215
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11216
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11217
echo $ECHO_N "(cached) $ECHO_C" >&6
11219
# I'd rather use --version here, but apparently some GNU lds only accept -v.
11220
case `$LD -v 2>&1 </dev/null` in
11221
*GNU* | *'with BFD'*)
11222
lt_cv_prog_gnu_ld=yes
11225
lt_cv_prog_gnu_ld=no
11229
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11230
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11231
with_gnu_ld=$lt_cv_prog_gnu_ld
11235
# Check if GNU C++ uses GNU ld as the underlying linker, since the
11236
# archiving commands below assume that GNU ld is being used.
11237
if test "$with_gnu_ld" = yes; then
11238
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11239
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'
11241
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11242
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11244
# If archive_cmds runs LD, not CC, wlarc should be empty
11245
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11246
# investigate it a little bit more. (MM)
11249
# ancient GNU ld didn't support --whole-archive et. al.
11250
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11251
grep 'no-whole-archive' > /dev/null; then
11252
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11254
whole_archive_flag_spec_CXX=
11260
# A generic and very simple default shared library creation
11261
# command for GNU C++ for the case where it uses the native
11262
# linker, instead of GNU ld. If possible, this setting should
11263
# overridden to take advantage of the native linker features on
11264
# the platform it is being used on.
11265
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11268
# Commands to make compiler produce verbose output that lists
11269
# what "hidden" libraries, object files and flags are used when
11270
# linking a shared library.
11271
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11279
# PORTME: fill in a description of your system's C++ link characteristics
11280
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11281
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11285
# FIXME: insert proper C++ library support
11289
if test "$host_cpu" = ia64; then
11290
# On IA64, the linker does run time linking by default, so we don't
11291
# have to do anything special.
11292
aix_use_runtimelinking=no
11293
exp_sym_flag='-Bexport'
11296
aix_use_runtimelinking=no
11298
# Test if we are trying to use run time linking or normal
11299
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11300
# need to do runtime linking.
11301
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11302
for ld_flag in $LDFLAGS; do
11305
aix_use_runtimelinking=yes
11313
exp_sym_flag='-bexport'
11314
no_entry_flag='-bnoentry'
11317
# When large executables or shared objects are built, AIX ld can
11318
# have problems creating the table of contents. If linking a library
11319
# or program results in "error TOC overflow" add -mminimal-toc to
11320
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11321
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11323
archive_cmds_CXX=''
11324
hardcode_direct_CXX=yes
11325
hardcode_libdir_separator_CXX=':'
11326
link_all_deplibs_CXX=yes
11328
if test "$GXX" = yes; then
11329
case $host_os in aix4.[012]|aix4.[012].*)
11330
# We only want to do this on AIX 4.2 and lower, the check
11331
# below for broken collect2 doesn't work under 4.3+
11332
collect2name=`${CC} -print-prog-name=collect2`
11333
if test -f "$collect2name" && \
11334
strings "$collect2name" | grep resolve_lib_name >/dev/null
11336
# We have reworked collect2
11339
# We have old collect2
11340
hardcode_direct_CXX=unsupported
11341
# It fails to find uninstalled libraries when the uninstalled
11342
# path is not listed in the libpath. Setting hardcode_minus_L
11343
# to unsupported forces relinking
11344
hardcode_minus_L_CXX=yes
11345
hardcode_libdir_flag_spec_CXX='-L$libdir'
11346
hardcode_libdir_separator_CXX=
11350
shared_flag='-shared'
11351
if test "$aix_use_runtimelinking" = yes; then
11352
shared_flag="$shared_flag "'${wl}-G'
11356
if test "$host_cpu" = ia64; then
11357
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11358
# chokes on -Wl,-G. The following line is correct:
11361
if test "$aix_use_runtimelinking" = yes; then
11362
shared_flag='${wl}-G'
11364
shared_flag='${wl}-bM:SRE'
11369
# It seems that -bexpall does not export symbols beginning with
11370
# underscore (_), so it is better to generate a list of symbols to export.
11371
always_export_symbols_CXX=yes
11372
if test "$aix_use_runtimelinking" = yes; then
11373
# Warning - without using the other runtime loading flags (-brtl),
11374
# -berok will link without error, but may produce a broken library.
11375
allow_undefined_flag_CXX='-berok'
11376
# Determine the default libpath from the value encoded in an empty executable.
11377
cat >conftest.$ac_ext <<_ACEOF
11380
cat confdefs.h >>conftest.$ac_ext
11381
cat >>conftest.$ac_ext <<_ACEOF
11382
/* end confdefs.h. */
11392
rm -f conftest.$ac_objext conftest$ac_exeext
11393
if { (ac_try="$ac_link"
11394
case "(($ac_try" in
11395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11396
*) ac_try_echo=$ac_try;;
11398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11399
(eval "$ac_link") 2>conftest.er1
11401
grep -v '^ *+' conftest.er1 >conftest.err
11403
cat conftest.err >&5
11404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405
(exit $ac_status); } && {
11406
test -z "$ac_cxx_werror_flag" ||
11407
test ! -s conftest.err
11408
} && test -s conftest$ac_exeext &&
11409
$as_test_x conftest$ac_exeext; then
11411
lt_aix_libpath_sed='
11412
/Import File Strings/,/^$/ {
11418
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11419
# Check for a 64-bit object if we didn't find anything.
11420
if test -z "$aix_libpath"; then
11421
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11424
echo "$as_me: failed program was:" >&5
11425
sed 's/^/| /' conftest.$ac_ext >&5
11430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11431
conftest$ac_exeext conftest.$ac_ext
11432
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11434
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11436
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"
11438
if test "$host_cpu" = ia64; then
11439
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11440
allow_undefined_flag_CXX="-z nodefs"
11441
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"
11443
# Determine the default libpath from the value encoded in an empty executable.
11444
cat >conftest.$ac_ext <<_ACEOF
11447
cat confdefs.h >>conftest.$ac_ext
11448
cat >>conftest.$ac_ext <<_ACEOF
11449
/* end confdefs.h. */
11459
rm -f conftest.$ac_objext conftest$ac_exeext
11460
if { (ac_try="$ac_link"
11461
case "(($ac_try" in
11462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11463
*) ac_try_echo=$ac_try;;
11465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11466
(eval "$ac_link") 2>conftest.er1
11468
grep -v '^ *+' conftest.er1 >conftest.err
11470
cat conftest.err >&5
11471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472
(exit $ac_status); } && {
11473
test -z "$ac_cxx_werror_flag" ||
11474
test ! -s conftest.err
11475
} && test -s conftest$ac_exeext &&
11476
$as_test_x conftest$ac_exeext; then
11478
lt_aix_libpath_sed='
11479
/Import File Strings/,/^$/ {
11485
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11486
# Check for a 64-bit object if we didn't find anything.
11487
if test -z "$aix_libpath"; then
11488
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11491
echo "$as_me: failed program was:" >&5
11492
sed 's/^/| /' conftest.$ac_ext >&5
11497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11498
conftest$ac_exeext conftest.$ac_ext
11499
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11501
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11502
# Warning - without using the other run time loading flags,
11503
# -berok will link without error, but may produce a broken library.
11504
no_undefined_flag_CXX=' ${wl}-bernotok'
11505
allow_undefined_flag_CXX=' ${wl}-berok'
11506
# Exported symbols can be pulled into shared objects from archives
11507
whole_archive_flag_spec_CXX='$convenience'
11508
archive_cmds_need_lc_CXX=yes
11509
# This is similar to how AIX traditionally builds its shared libraries.
11510
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'
11516
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11517
allow_undefined_flag_CXX=unsupported
11518
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11519
# support --undefined. This deserves some investigation. FIXME
11520
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11527
case $cc_basename in
11529
# FIXME: insert proper C++ library support
11535
cygwin* | mingw* | pw32*)
11536
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11537
# as there is no search path for DLLs.
11538
hardcode_libdir_flag_spec_CXX='-L$libdir'
11539
allow_undefined_flag_CXX=unsupported
11540
always_export_symbols_CXX=no
11541
enable_shared_with_static_runtimes_CXX=yes
11543
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11544
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'
11545
# If the export-symbols file already is a .def file (1st line
11546
# is EXPORTS), use it as is; otherwise, prepend...
11547
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11548
cp $export_symbols $output_objdir/$soname.def;
11550
echo EXPORTS > $output_objdir/$soname.def;
11551
cat $export_symbols >> $output_objdir/$soname.def;
11553
$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'
11558
darwin* | rhapsody*)
11559
archive_cmds_need_lc_CXX=no
11560
hardcode_direct_CXX=no
11561
hardcode_automatic_CXX=yes
11562
hardcode_shlibpath_var_CXX=unsupported
11563
whole_archive_flag_spec_CXX=''
11564
link_all_deplibs_CXX=yes
11565
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11566
if test "$GXX" = yes ; then
11567
output_verbose_link_cmd='echo'
11568
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11569
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11570
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11571
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11572
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11573
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${_lt_dsymutil}"
11574
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11577
case $cc_basename in
11579
output_verbose_link_cmd='echo'
11580
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'
11581
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11582
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11583
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}'
11584
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}'
11594
case $cc_basename in
11596
# FIXME: insert proper C++ library support
11600
# Green Hills C++ Compiler
11601
# FIXME: insert proper C++ library support
11605
# FIXME: insert proper C++ library support
11611
# C++ shared libraries reported to be fairly broken before switch to ELF
11615
archive_cmds_need_lc_CXX=no
11617
freebsd* | dragonfly*)
11618
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11625
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11626
hardcode_libdir_separator_CXX=:
11627
export_dynamic_flag_spec_CXX='${wl}-E'
11628
hardcode_direct_CXX=yes
11629
hardcode_minus_L_CXX=yes # Not in the search PATH,
11630
# but as the default
11631
# location of the library.
11633
case $cc_basename in
11635
# FIXME: insert proper C++ library support
11639
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'
11640
# Commands to make compiler produce verbose output that lists
11641
# what "hidden" libraries, object files and flags are used when
11642
# linking a shared library.
11644
# There doesn't appear to be a way to prevent this compiler from
11645
# explicitly linking system object files so we need to strip them
11646
# from the output so that they don't get included in the library
11648
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'
11651
if test "$GXX" = yes; then
11652
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'
11654
# FIXME: insert proper C++ library support
11661
if test $with_gnu_ld = no; then
11662
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11663
hardcode_libdir_separator_CXX=:
11668
export_dynamic_flag_spec_CXX='${wl}-E'
11674
hardcode_direct_CXX=no
11675
hardcode_shlibpath_var_CXX=no
11678
hardcode_direct_CXX=yes
11679
hardcode_minus_L_CXX=yes # Not in the search PATH,
11680
# but as the default
11681
# location of the library.
11685
case $cc_basename in
11687
# FIXME: insert proper C++ library support
11693
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11696
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11699
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11702
# Commands to make compiler produce verbose output that lists
11703
# what "hidden" libraries, object files and flags are used when
11704
# linking a shared library.
11706
# There doesn't appear to be a way to prevent this compiler from
11707
# explicitly linking system object files so we need to strip them
11708
# from the output so that they don't get included in the library
11710
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'
11713
if test "$GXX" = yes; then
11714
if test $with_gnu_ld = no; then
11717
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11720
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11723
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'
11728
# FIXME: insert proper C++ library support
11735
hardcode_direct_CXX=no
11736
hardcode_shlibpath_var_CXX=no
11737
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11738
export_dynamic_flag_spec_CXX='${wl}-E'
11739
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11740
# Instead, shared libraries are loaded at an image base (0x10000000 by
11741
# default) and relocated if they conflict, which is a slow very memory
11742
# consuming and fragmenting process. To avoid this, we pick a random,
11743
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11744
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11745
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'
11746
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'
11749
case $cc_basename in
11752
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'
11754
# Archives containing C++ object files must be created using
11755
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
11756
# necessary to make sure instantiated templates are included
11758
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11761
if test "$GXX" = yes; then
11762
if test "$with_gnu_ld" = no; then
11763
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'
11765
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'
11768
link_all_deplibs_CXX=yes
11771
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11772
hardcode_libdir_separator_CXX=:
11774
linux* | k*bsd*-gnu)
11775
case $cc_basename in
11777
# Kuck and Associates, Inc. (KAI) C++ Compiler
11779
# KCC will only create a shared library if the output file
11780
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11781
# to its proper name (with version) after linking.
11782
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'
11783
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'
11784
# Commands to make compiler produce verbose output that lists
11785
# what "hidden" libraries, object files and flags are used when
11786
# linking a shared library.
11788
# There doesn't appear to be a way to prevent this compiler from
11789
# explicitly linking system object files so we need to strip them
11790
# from the output so that they don't get included in the library
11792
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'
11794
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11795
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11797
# Archives containing C++ object files must be created using
11798
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11799
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11804
# version 8.0 and above of icpc choke on multiply defined symbols
11805
# if we add $predep_objects and $postdep_objects, however 7.1 and
11806
# earlier do not add the objects themselves.
11807
case `$CC -V 2>&1` in
11809
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11810
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'
11812
*) # Version 8.0 or newer
11815
ia64*) tmp_idyn=' -i_dynamic';;
11817
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11818
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'
11821
archive_cmds_need_lc_CXX=no
11822
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11823
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11824
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11827
# Portland Group C++ compiler
11828
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11829
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'
11831
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11832
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11833
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'
11837
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11838
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'
11840
runpath_var=LD_RUN_PATH
11841
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11842
hardcode_libdir_separator_CXX=:
11844
# Commands to make compiler produce verbose output that lists
11845
# what "hidden" libraries, object files and flags are used when
11846
# linking a shared library.
11848
# There doesn't appear to be a way to prevent this compiler from
11849
# explicitly linking system object files so we need to strip them
11850
# from the output so that they don't get included in the library
11852
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'
11855
case `$CC -V 2>&1 | sed 5q` in
11858
no_undefined_flag_CXX=' -zdefs'
11859
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11860
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'
11861
hardcode_libdir_flag_spec_CXX='-R$libdir'
11862
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'
11864
# Not sure whether something based on
11865
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11867
output_verbose_link_cmd='echo'
11869
# Archives containing C++ object files must be created using
11870
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11871
# necessary to make sure instantiated templates are included
11873
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11880
# FIXME: insert proper C++ library support
11884
# FIXME: insert proper C++ library support
11888
case $cc_basename in
11890
# FIXME: insert proper C++ library support
11894
# FIXME: insert proper C++ library support
11899
netbsd* | netbsdelf*-gnu)
11900
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11901
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11903
hardcode_libdir_flag_spec_CXX='-R$libdir'
11904
hardcode_direct_CXX=yes
11905
hardcode_shlibpath_var_CXX=no
11907
# Workaround some broken pre-1.5 toolchains
11908
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11911
# C++ shared libraries are fairly broken
11915
if test -f /usr/libexec/ld.so; then
11916
hardcode_direct_CXX=yes
11917
hardcode_shlibpath_var_CXX=no
11918
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11919
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11920
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11921
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11922
export_dynamic_flag_spec_CXX='${wl}-E'
11923
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11925
output_verbose_link_cmd='echo'
11931
case $cc_basename in
11933
# Kuck and Associates, Inc. (KAI) C++ Compiler
11935
# KCC will only create a shared library if the output file
11936
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11937
# to its proper name (with version) after linking.
11938
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'
11940
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11941
hardcode_libdir_separator_CXX=:
11943
# Archives containing C++ object files must be created using
11944
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11945
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11949
# Rational C++ 2.4.1
11950
# FIXME: insert proper C++ library support
11954
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11955
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'
11957
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11958
hardcode_libdir_separator_CXX=:
11960
# Commands to make compiler produce verbose output that lists
11961
# what "hidden" libraries, object files and flags are used when
11962
# linking a shared library.
11964
# There doesn't appear to be a way to prevent this compiler from
11965
# explicitly linking system object files so we need to strip them
11966
# from the output so that they don't get included in the library
11968
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'
11971
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11972
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11973
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'
11975
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11976
hardcode_libdir_separator_CXX=:
11978
# Commands to make compiler produce verbose output that lists
11979
# what "hidden" libraries, object files and flags are used when
11980
# linking a shared library.
11981
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11984
# FIXME: insert proper C++ library support
11991
case $cc_basename in
11993
# Kuck and Associates, Inc. (KAI) C++ Compiler
11995
# KCC will only create a shared library if the output file
11996
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11997
# to its proper name (with version) after linking.
11998
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'
12000
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12001
hardcode_libdir_separator_CXX=:
12003
# Archives containing C++ object files must be created using
12004
# the KAI C++ compiler.
12005
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12008
# Rational C++ 2.4.1
12009
# FIXME: insert proper C++ library support
12013
allow_undefined_flag_CXX=' -expect_unresolved \*'
12014
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'
12015
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12016
echo "-hidden">> $lib.exp~
12017
$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~
12020
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12021
hardcode_libdir_separator_CXX=:
12023
# Commands to make compiler produce verbose output that lists
12024
# what "hidden" libraries, object files and flags are used when
12025
# linking a shared library.
12027
# There doesn't appear to be a way to prevent this compiler from
12028
# explicitly linking system object files so we need to strip them
12029
# from the output so that they don't get included in the library
12031
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'
12034
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12035
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12036
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'
12038
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12039
hardcode_libdir_separator_CXX=:
12041
# Commands to make compiler produce verbose output that lists
12042
# what "hidden" libraries, object files and flags are used when
12043
# linking a shared library.
12044
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12047
# FIXME: insert proper C++ library support
12054
# FIXME: insert proper C++ library support
12058
case $cc_basename in
12061
# FIXME: insert proper C++ library support
12066
# FIXME: insert proper C++ library support
12070
# FIXME: insert proper C++ library support
12076
case $cc_basename in
12078
# Sun C++ 4.2, 5.x and Centerline C++
12079
archive_cmds_need_lc_CXX=yes
12080
no_undefined_flag_CXX=' -zdefs'
12081
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12082
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12083
$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'
12085
hardcode_libdir_flag_spec_CXX='-R$libdir'
12086
hardcode_shlibpath_var_CXX=no
12088
solaris2.[0-5] | solaris2.[0-5].*) ;;
12090
# The compiler driver will combine and reorder linker options,
12091
# but understands `-z linker_flag'.
12092
# Supported since Solaris 2.6 (maybe 2.5.1?)
12093
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12096
link_all_deplibs_CXX=yes
12098
output_verbose_link_cmd='echo'
12100
# Archives containing C++ object files must be created using
12101
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12102
# necessary to make sure instantiated templates are included
12104
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12107
# Green Hills C++ Compiler
12108
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12110
# The C++ compiler must be used to create the archive.
12111
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12114
# GNU C++ compiler with Solaris linker
12115
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12116
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12117
if $CC --version | grep -v '^2\.7' > /dev/null; then
12118
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12119
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12120
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12122
# Commands to make compiler produce verbose output that lists
12123
# what "hidden" libraries, object files and flags are used when
12124
# linking a shared library.
12125
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12127
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12129
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12130
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12131
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12133
# Commands to make compiler produce verbose output that lists
12134
# what "hidden" libraries, object files and flags are used when
12135
# linking a shared library.
12136
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12139
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12141
solaris2.[0-5] | solaris2.[0-5].*) ;;
12143
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12150
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12151
no_undefined_flag_CXX='${wl}-z,text'
12152
archive_cmds_need_lc_CXX=no
12153
hardcode_shlibpath_var_CXX=no
12154
runpath_var='LD_RUN_PATH'
12156
case $cc_basename in
12158
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12159
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12162
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12163
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12167
sysv5* | sco3.2v5* | sco5v6*)
12168
# Note: We can NOT use -z defs as we might desire, because we do not
12169
# link with -lc, and that would cause any symbols used from libc to
12170
# always be unresolved, which means just about no library would
12171
# ever link correctly. If we're not using GNU ld we use -z text
12172
# though, which does catch some bad symbols but isn't as heavy-handed
12174
# For security reasons, it is highly recommended that you always
12175
# use absolute paths for naming shared libraries, and exclude the
12176
# DT_RUNPATH tag from executables and libraries. But doing so
12177
# requires that you compile everything twice, which is a pain.
12178
# So that behaviour is only enabled if SCOABSPATH is set to a
12179
# non-empty value in the environment. Most likely only useful for
12180
# creating official distributions of packages.
12181
# This is a hack until libtool officially supports absolute path
12182
# names for shared libraries.
12183
no_undefined_flag_CXX='${wl}-z,text'
12184
allow_undefined_flag_CXX='${wl}-z,nodefs'
12185
archive_cmds_need_lc_CXX=no
12186
hardcode_shlibpath_var_CXX=no
12187
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12188
hardcode_libdir_separator_CXX=':'
12189
link_all_deplibs_CXX=yes
12190
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12191
runpath_var='LD_RUN_PATH'
12193
case $cc_basename in
12195
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12196
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12199
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12200
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12205
case $cc_basename in
12207
# NonStop-UX NCC 3.20
12208
# FIXME: insert proper C++ library support
12212
# FIXME: insert proper C++ library support
12218
# FIXME: insert proper C++ library support
12222
# FIXME: insert proper C++ library support
12226
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12227
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12228
test "$ld_shlibs_CXX" = no && can_build_shared=no
12233
cat > conftest.$ac_ext <<EOF
12237
Foo (void) { a = 0; }
12243
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12244
(eval $ac_compile) 2>&5
12246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247
(exit $ac_status); }; then
12248
# Parse the compiler output and extract the necessary
12249
# objects, libraries and library flags.
12251
# Sentinel used to keep track of whether or not we are before
12252
# the conftest object file.
12253
pre_test_object_deps_done=no
12255
# The `*' in the case matches for architectures that use `case' in
12256
# $output_verbose_cmd can trigger glob expansion during the loop
12257
# eval without this substitution.
12258
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12260
for p in `eval $output_verbose_link_cmd`; do
12264
# Some compilers place space between "-{L,R}" and the path.
12265
# Remove the space.
12266
if test $p = "-L" \
12267
|| test $p = "-R"; then
12274
if test "$pre_test_object_deps_done" = no; then
12277
# Internal compiler library paths should come after those
12278
# provided the user. The postdeps already come after the
12279
# user supplied libs so there is no need to process them.
12280
if test -z "$compiler_lib_search_path_CXX"; then
12281
compiler_lib_search_path_CXX="${prev}${p}"
12283
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12286
# The "-l" case would never come before the object being
12287
# linked, so don't bother handling this case.
12290
if test -z "$postdeps_CXX"; then
12291
postdeps_CXX="${prev}${p}"
12293
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12299
# This assumes that the test object file only shows up
12300
# once in the compiler output.
12301
if test "$p" = "conftest.$objext"; then
12302
pre_test_object_deps_done=yes
12306
if test "$pre_test_object_deps_done" = no; then
12307
if test -z "$predep_objects_CXX"; then
12308
predep_objects_CXX="$p"
12310
predep_objects_CXX="$predep_objects_CXX $p"
12313
if test -z "$postdep_objects_CXX"; then
12314
postdep_objects_CXX="$p"
12316
postdep_objects_CXX="$postdep_objects_CXX $p"
12321
*) ;; # Ignore the rest.
12329
echo "libtool.m4: error: problem compiling CXX test program"
12332
$rm -f confest.$objext
12334
compiler_lib_search_dirs_CXX=
12335
if test -n "$compiler_lib_search_path_CXX"; then
12336
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12339
# PORTME: override above test on systems where it is broken
12342
# Interix 3.5 installs completely hosed .la files for C++, so rather than
12343
# hack all around it, let's just trust "g++" to DTRT.
12344
predep_objects_CXX=
12345
postdep_objects_CXX=
12350
case `$CC -V 2>&1 | sed 5q` in
12354
# The more standards-conforming stlport4 library is
12355
# incompatible with the Cstd library. Avoid specifying
12356
# it if it's in CXXFLAGS. Ignore libCrun as
12357
# -library=stlport4 depends on it.
12358
case " $CXX $CXXFLAGS " in
12359
*" -library=stlport4 "*)
12360
solaris_use_stlport4=yes
12363
if test "$solaris_use_stlport4" != yes; then
12364
postdeps_CXX='-library=Cstd -library=Crun'
12371
case $cc_basename in
12373
# The more standards-conforming stlport4 library is
12374
# incompatible with the Cstd library. Avoid specifying
12375
# it if it's in CXXFLAGS. Ignore libCrun as
12376
# -library=stlport4 depends on it.
12377
case " $CXX $CXXFLAGS " in
12378
*" -library=stlport4 "*)
12379
solaris_use_stlport4=yes
12383
# Adding this requires a known-good setup of shared libraries for
12384
# Sun compiler versions before 5.6, else PIC objects from an old
12385
# archive will be linked into the output, leading to subtle bugs.
12386
if test "$solaris_use_stlport4" != yes; then
12387
postdeps_CXX='-library=Cstd -library=Crun'
12394
case " $postdeps_CXX " in
12395
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12398
lt_prog_compiler_wl_CXX=
12399
lt_prog_compiler_pic_CXX=
12400
lt_prog_compiler_static_CXX=
12402
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12403
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12405
# C++ specific cases for pic, static, wl, etc.
12406
if test "$GXX" = yes; then
12407
lt_prog_compiler_wl_CXX='-Wl,'
12408
lt_prog_compiler_static_CXX='-static'
12412
# All AIX code is PIC.
12413
if test "$host_cpu" = ia64; then
12414
# AIX 5 now supports IA64 processor
12415
lt_prog_compiler_static_CXX='-Bstatic'
12419
# FIXME: we need at least 68020 code to build shared libraries, but
12420
# adding the `-m68020' flag to GCC prevents building anything better,
12422
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12424
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12425
# PIC is the default for these OSes.
12427
mingw* | cygwin* | os2* | pw32*)
12428
# This hack is so that the source file can tell whether it is being
12429
# built for inclusion in a dll (and should export symbols for example).
12430
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12431
# (--disable-auto-import) libraries
12432
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12434
darwin* | rhapsody*)
12435
# PIC is the default on this platform
12436
# Common symbols not allowed in MH_DYLIB files
12437
lt_prog_compiler_pic_CXX='-fno-common'
12440
# DJGPP does not support shared libraries at all
12441
lt_prog_compiler_pic_CXX=
12444
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12445
# Instead, we relocate shared libraries at runtime.
12448
if test -d /usr/nec; then
12449
lt_prog_compiler_pic_CXX=-Kconform_pic
12453
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12454
# not for PA HP-UX.
12459
lt_prog_compiler_pic_CXX='-fPIC'
12464
lt_prog_compiler_pic_CXX='-fPIC'
12470
# All AIX code is PIC.
12471
if test "$host_cpu" = ia64; then
12472
# AIX 5 now supports IA64 processor
12473
lt_prog_compiler_static_CXX='-Bstatic'
12475
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12479
case $cc_basename in
12481
# Green Hills C++ Compiler
12482
# _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"
12487
# PIC is the default on this platform
12488
# Common symbols not allowed in MH_DYLIB files
12489
case $cc_basename in
12491
lt_prog_compiler_pic_CXX='-qnocommon'
12492
lt_prog_compiler_wl_CXX='-Wl,'
12497
case $cc_basename in
12499
lt_prog_compiler_pic_CXX='-KPIC'
12502
# Green Hills C++ Compiler
12503
lt_prog_compiler_pic_CXX='-pic'
12509
freebsd* | dragonfly*)
12510
# FreeBSD uses GNU C++
12512
hpux9* | hpux10* | hpux11*)
12513
case $cc_basename in
12515
lt_prog_compiler_wl_CXX='-Wl,'
12516
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12517
if test "$host_cpu" != ia64; then
12518
lt_prog_compiler_pic_CXX='+Z'
12522
lt_prog_compiler_wl_CXX='-Wl,'
12523
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12529
lt_prog_compiler_pic_CXX='+Z'
12538
# This is c89, which is MS Visual C++ (no shared libs)
12539
# Anyone wants to do a port?
12541
irix5* | irix6* | nonstopux*)
12542
case $cc_basename in
12544
lt_prog_compiler_wl_CXX='-Wl,'
12545
lt_prog_compiler_static_CXX='-non_shared'
12546
# CC pic flag -KPIC is the default.
12552
linux* | k*bsd*-gnu)
12553
case $cc_basename in
12556
lt_prog_compiler_wl_CXX='--backend -Wl,'
12557
lt_prog_compiler_pic_CXX='-fPIC'
12561
lt_prog_compiler_wl_CXX='-Wl,'
12562
lt_prog_compiler_pic_CXX='-KPIC'
12563
lt_prog_compiler_static_CXX='-static'
12566
# Portland Group C++ compiler.
12567
lt_prog_compiler_wl_CXX='-Wl,'
12568
lt_prog_compiler_pic_CXX='-fpic'
12569
lt_prog_compiler_static_CXX='-Bstatic'
12573
# Make sure the PIC flag is empty. It appears that all Alpha
12574
# Linux and Compaq Tru64 Unix objects are PIC.
12575
lt_prog_compiler_pic_CXX=
12576
lt_prog_compiler_static_CXX='-non_shared'
12579
case `$CC -V 2>&1 | sed 5q` in
12582
lt_prog_compiler_pic_CXX='-KPIC'
12583
lt_prog_compiler_static_CXX='-Bstatic'
12584
lt_prog_compiler_wl_CXX='-Qoption ld '
12595
case $cc_basename in
12597
lt_prog_compiler_pic_CXX='-W c,exportall'
12603
netbsd* | netbsdelf*-gnu)
12605
osf3* | osf4* | osf5*)
12606
case $cc_basename in
12608
lt_prog_compiler_wl_CXX='--backend -Wl,'
12611
# Rational C++ 2.4.1
12612
lt_prog_compiler_pic_CXX='-pic'
12615
# Digital/Compaq C++
12616
lt_prog_compiler_wl_CXX='-Wl,'
12617
# Make sure the PIC flag is empty. It appears that all Alpha
12618
# Linux and Compaq Tru64 Unix objects are PIC.
12619
lt_prog_compiler_pic_CXX=
12620
lt_prog_compiler_static_CXX='-non_shared'
12629
case $cc_basename in
12631
# Sun C++ 4.2, 5.x and Centerline C++
12632
lt_prog_compiler_pic_CXX='-KPIC'
12633
lt_prog_compiler_static_CXX='-Bstatic'
12634
lt_prog_compiler_wl_CXX='-Qoption ld '
12637
# Green Hills C++ Compiler
12638
lt_prog_compiler_pic_CXX='-PIC'
12645
case $cc_basename in
12648
lt_prog_compiler_pic_CXX='-pic'
12649
lt_prog_compiler_static_CXX='-Bstatic'
12653
lt_prog_compiler_pic_CXX='-pic'
12660
case $cc_basename in
12662
# NonStop-UX NCC 3.20
12663
lt_prog_compiler_pic_CXX='-KPIC'
12669
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12670
case $cc_basename in
12672
lt_prog_compiler_wl_CXX='-Wl,'
12673
lt_prog_compiler_pic_CXX='-KPIC'
12674
lt_prog_compiler_static_CXX='-Bstatic'
12681
lt_prog_compiler_can_build_shared_CXX=no
12686
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12687
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12690
# Check to make sure the PIC flag actually works.
12692
if test -n "$lt_prog_compiler_pic_CXX"; then
12694
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12695
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12696
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12697
echo $ECHO_N "(cached) $ECHO_C" >&6
12699
lt_cv_prog_compiler_pic_works_CXX=no
12700
ac_outfile=conftest.$ac_objext
12701
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12702
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12703
# Insert the option either (1) after the last *FLAGS variable, or
12704
# (2) before a word containing "conftest.", or (3) at the end.
12705
# Note that $ac_compile itself does not contain backslashes and begins
12706
# with a dollar sign (not a hyphen), so the echo should work correctly.
12707
# The option is referenced via a variable to avoid confusing sed.
12708
lt_compile=`echo "$ac_compile" | $SED \
12709
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12710
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12711
-e 's:$: $lt_compiler_flag:'`
12712
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12713
(eval "$lt_compile" 2>conftest.err)
12715
cat conftest.err >&5
12716
echo "$as_me:__oline__: \$? = $ac_status" >&5
12717
if (exit $ac_status) && test -s "$ac_outfile"; then
12718
# The compiler can only warn and ignore the option if not recognized
12719
# So say no if there are warnings other than the usual output.
12720
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12721
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12722
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12723
lt_cv_prog_compiler_pic_works_CXX=yes
12729
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12730
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12732
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12733
case $lt_prog_compiler_pic_CXX in
12735
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12738
lt_prog_compiler_pic_CXX=
12739
lt_prog_compiler_can_build_shared_CXX=no
12744
# For platforms which do not support PIC, -DPIC is meaningless:
12746
lt_prog_compiler_pic_CXX=
12749
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12754
# Check to make sure the static flag actually works.
12756
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12757
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12758
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12759
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12760
echo $ECHO_N "(cached) $ECHO_C" >&6
12762
lt_cv_prog_compiler_static_works_CXX=no
12763
save_LDFLAGS="$LDFLAGS"
12764
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12765
echo "$lt_simple_link_test_code" > conftest.$ac_ext
12766
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12767
# The linker can only warn and ignore the option if not recognized
12768
# So say no if there are warnings
12769
if test -s conftest.err; then
12770
# Append any errors to the config.log.
12771
cat conftest.err 1>&5
12772
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12773
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12774
if diff conftest.exp conftest.er2 >/dev/null; then
12775
lt_cv_prog_compiler_static_works_CXX=yes
12778
lt_cv_prog_compiler_static_works_CXX=yes
12782
LDFLAGS="$save_LDFLAGS"
12785
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12786
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12788
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12791
lt_prog_compiler_static_CXX=
12795
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12796
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12797
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12798
echo $ECHO_N "(cached) $ECHO_C" >&6
12800
lt_cv_prog_compiler_c_o_CXX=no
12801
$rm -r conftest 2>/dev/null
12805
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12807
lt_compiler_flag="-o out/conftest2.$ac_objext"
12808
# Insert the option either (1) after the last *FLAGS variable, or
12809
# (2) before a word containing "conftest.", or (3) at the end.
12810
# Note that $ac_compile itself does not contain backslashes and begins
12811
# with a dollar sign (not a hyphen), so the echo should work correctly.
12812
lt_compile=`echo "$ac_compile" | $SED \
12813
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12814
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12815
-e 's:$: $lt_compiler_flag:'`
12816
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12817
(eval "$lt_compile" 2>out/conftest.err)
12819
cat out/conftest.err >&5
12820
echo "$as_me:__oline__: \$? = $ac_status" >&5
12821
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12823
# The compiler can only warn and ignore the option if not recognized
12824
# So say no if there are warnings
12825
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12826
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12827
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12828
lt_cv_prog_compiler_c_o_CXX=yes
12833
# SGI C++ compiler will create directory out/ii_files/ for
12834
# template instantiation
12835
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12836
$rm out/* && rmdir out
12842
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12843
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12846
hard_links="nottested"
12847
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12848
# do not overwrite the value of need_locks provided by the user
12849
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12850
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12853
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12855
ln conftest.a conftest.b 2>&5 || hard_links=no
12856
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12857
{ echo "$as_me:$LINENO: result: $hard_links" >&5
12858
echo "${ECHO_T}$hard_links" >&6; }
12859
if test "$hard_links" = no; then
12860
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12861
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12868
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12869
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12871
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12874
# If we're using GNU nm, then we don't want the "-C" option.
12875
# -C means demangle to AIX nm, but means don't demangle with GNU nm
12876
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12877
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'
12879
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'
12883
export_symbols_cmds_CXX="$ltdll_cmds"
12886
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'
12888
linux* | k*bsd*-gnu)
12889
link_all_deplibs_CXX=no
12892
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12895
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12897
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12898
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12899
test "$ld_shlibs_CXX" = no && can_build_shared=no
12902
# Do we need to explicitly link libc?
12904
case "x$archive_cmds_need_lc_CXX" in
12906
# Assume -lc should be added
12907
archive_cmds_need_lc_CXX=yes
12909
if test "$enable_shared" = yes && test "$GCC" = yes; then
12910
case $archive_cmds_CXX in
12912
# FIXME: we may have to deal with multi-command sequences.
12915
# Test whether the compiler implicitly links with -lc since on some
12916
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12917
# to ld, don't add -lc before -lgcc.
12918
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12919
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12921
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12923
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12924
(eval $ac_compile) 2>&5
12926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927
(exit $ac_status); } 2>conftest.err; then
12930
libobjs=conftest.$ac_objext
12932
wl=$lt_prog_compiler_wl_CXX
12933
pic_flag=$lt_prog_compiler_pic_CXX
12939
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12940
allow_undefined_flag_CXX=
12941
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12942
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945
(exit $ac_status); }
12947
archive_cmds_need_lc_CXX=no
12949
archive_cmds_need_lc_CXX=yes
12951
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12953
cat conftest.err 1>&5
12956
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12957
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12964
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12965
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12966
library_names_spec=
12967
libname_spec='lib$name'
12971
postuninstall_cmds=
12975
shlibpath_overrides_runpath=unknown
12977
dynamic_linker="$host_os ld.so"
12978
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12980
need_lib_prefix=unknown
12981
hardcode_into_libs=no
12983
# when you set need_version to no, make sure it does not cause -set_version
12984
# flags to be left without arguments
12985
need_version=unknown
12990
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12991
shlibpath_var=LIBPATH
12993
# AIX 3 has no versioning support, so we append a major version to the name.
12994
soname_spec='${libname}${release}${shared_ext}$major'
13001
hardcode_into_libs=yes
13002
if test "$host_cpu" = ia64; then
13003
# AIX 5 supports IA64
13004
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13005
shlibpath_var=LD_LIBRARY_PATH
13007
# With GCC up to 2.95.x, collect2 would create an import file
13008
# for dependence libraries. The import file would start with
13009
# the line `#! .'. This would cause the generated library to
13010
# depend on `.', always an invalid library. This was fixed in
13011
# development snapshots of GCC prior to 3.0.
13013
aix4 | aix4.[01] | aix4.[01].*)
13014
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13016
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13019
can_build_shared=no
13023
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13024
# soname into executable. Probably we can add versioning support to
13025
# collect2, so additional links can be useful in future.
13026
if test "$aix_use_runtimelinking" = yes; then
13027
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13028
# instead of lib<name>.a to let people know that these are not
13029
# typical AIX shared libraries.
13030
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13032
# We preserve .a as extension for shared libraries through AIX4.2
13033
# and later when we are not doing run time linking.
13034
library_names_spec='${libname}${release}.a $libname.a'
13035
soname_spec='${libname}${release}${shared_ext}$major'
13037
shlibpath_var=LIBPATH
13042
library_names_spec='$libname.ixlibrary $libname.a'
13043
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13044
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'
13048
library_names_spec='${libname}${shared_ext}'
13049
dynamic_linker="$host_os ld.so"
13050
shlibpath_var=LIBRARY_PATH
13056
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13057
soname_spec='${libname}${release}${shared_ext}$major'
13058
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13059
shlibpath_var=LD_LIBRARY_PATH
13060
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13061
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13062
# the default ld.so.conf also contains /usr/contrib/lib and
13063
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13064
# libtool to hard-code these into programs
13067
cygwin* | mingw* | pw32*)
13068
version_type=windows
13073
case $GCC,$host_os in
13074
yes,cygwin* | yes,mingw* | yes,pw32*)
13075
library_names_spec='$libname.dll.a'
13076
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13077
postinstall_cmds='base_file=`basename \${file}`~
13078
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13079
dldir=$destdir/`dirname \$dlpath`~
13080
test -d \$dldir || mkdir -p \$dldir~
13081
$install_prog $dir/$dlname \$dldir/$dlname~
13082
chmod a+x \$dldir/$dlname'
13083
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13084
dlpath=$dir/\$dldll~
13086
shlibpath_overrides_runpath=yes
13090
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13091
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13092
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13095
# MinGW DLLs use traditional 'lib' prefix
13096
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13097
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13098
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13099
# It is most probably a Windows format PATH printed by
13100
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13101
# path with ; separators, and with drive letters. We can handle the
13102
# drive letters (cygwin fileutils understands them), so leave them,
13103
# especially as we might pass files found there to a mingw objdump,
13104
# which wouldn't understand a cygwinified path. Ahh.
13105
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13107
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13111
# pw32 DLLs use 'pw' prefix rather than 'lib'
13112
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13118
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13121
dynamic_linker='Win32 ld.exe'
13122
# FIXME: first we should search . and the directory the executable is in
13126
darwin* | rhapsody*)
13127
dynamic_linker="$host_os dyld"
13128
version_type=darwin
13131
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13132
soname_spec='${libname}${release}${major}$shared_ext'
13133
shlibpath_overrides_runpath=yes
13134
shlibpath_var=DYLD_LIBRARY_PATH
13135
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13137
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13144
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13145
soname_spec='${libname}${release}${shared_ext}$major'
13146
shlibpath_var=LD_LIBRARY_PATH
13153
freebsd* | dragonfly*)
13154
# DragonFly does not have aout. When/if they implement a new
13155
# versioning mechanism, adjust this.
13156
if test -x /usr/bin/objformat; then
13157
objformat=`/usr/bin/objformat`
13160
freebsd[123]*) objformat=aout ;;
13161
*) objformat=elf ;;
13164
version_type=freebsd-$objformat
13165
case $version_type in
13167
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13172
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13176
shlibpath_var=LD_LIBRARY_PATH
13179
shlibpath_overrides_runpath=yes
13181
freebsd3.[01]* | freebsdelf3.[01]*)
13182
shlibpath_overrides_runpath=yes
13183
hardcode_into_libs=yes
13185
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13186
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13187
shlibpath_overrides_runpath=no
13188
hardcode_into_libs=yes
13190
*) # from 4.6 on, and DragonFly
13191
shlibpath_overrides_runpath=yes
13192
hardcode_into_libs=yes
13201
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13202
soname_spec='${libname}${release}${shared_ext}$major'
13203
shlibpath_var=LD_LIBRARY_PATH
13204
hardcode_into_libs=yes
13207
hpux9* | hpux10* | hpux11*)
13208
# Give a soname corresponding to the major version so that dld.sl refuses to
13209
# link against other versions.
13216
hardcode_into_libs=yes
13217
dynamic_linker="$host_os dld.so"
13218
shlibpath_var=LD_LIBRARY_PATH
13219
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13220
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13221
soname_spec='${libname}${release}${shared_ext}$major'
13222
if test "X$HPUX_IA64_MODE" = X32; then
13223
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13225
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13227
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13231
hardcode_into_libs=yes
13232
dynamic_linker="$host_os dld.sl"
13233
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13234
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13235
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236
soname_spec='${libname}${release}${shared_ext}$major'
13237
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13238
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13242
dynamic_linker="$host_os dld.sl"
13243
shlibpath_var=SHLIB_PATH
13244
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13245
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13246
soname_spec='${libname}${release}${shared_ext}$major'
13249
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13250
postinstall_cmds='chmod 555 $lib'
13257
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13258
soname_spec='${libname}${release}${shared_ext}$major'
13259
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13260
shlibpath_var=LD_LIBRARY_PATH
13261
shlibpath_overrides_runpath=no
13262
hardcode_into_libs=yes
13265
irix5* | irix6* | nonstopux*)
13267
nonstopux*) version_type=nonstopux ;;
13269
if test "$lt_cv_prog_gnu_ld" = yes; then
13277
soname_spec='${libname}${release}${shared_ext}$major'
13278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13280
irix5* | nonstopux*)
13281
libsuff= shlibsuff=
13284
case $LD in # libtool.m4 will add one of these switches to LD
13285
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13286
libsuff= shlibsuff= libmagic=32-bit;;
13287
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13288
libsuff=32 shlibsuff=N32 libmagic=N32;;
13289
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13290
libsuff=64 shlibsuff=64 libmagic=64-bit;;
13291
*) libsuff= shlibsuff= libmagic=never-match;;
13295
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13296
shlibpath_overrides_runpath=no
13297
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13298
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13299
hardcode_into_libs=yes
13302
# No shared lib support for Linux oldld, aout, or coff.
13303
linux*oldld* | linux*aout* | linux*coff*)
13307
# This must be Linux ELF.
13308
linux* | k*bsd*-gnu)
13312
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13313
soname_spec='${libname}${release}${shared_ext}$major'
13314
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13315
shlibpath_var=LD_LIBRARY_PATH
13316
shlibpath_overrides_runpath=no
13317
# This implies no fast_install, which is unacceptable.
13318
# Some rework will be needed to allow for fast_install
13319
# before this can be enabled.
13320
hardcode_into_libs=yes
13322
# Append ld.so.conf contents to the search path
13323
if test -f /etc/ld.so.conf; then
13324
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' ' '`
13325
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13328
# We used to test for /lib/ld.so.1 and disable shared libraries on
13329
# powerpc, because MkLinux only supported shared libraries with the
13330
# GNU dynamic linker. Since this was broken with cross compilers,
13331
# most powerpc-linux boxes support dynamic linking these days and
13332
# people can always --disable-shared, the test was removed, and we
13333
# assume the GNU/Linux dynamic linker is in use.
13334
dynamic_linker='GNU/Linux ld.so'
13341
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13342
soname_spec='${libname}${release}${shared_ext}$major'
13343
shlibpath_var=LD_LIBRARY_PATH
13344
shlibpath_overrides_runpath=no
13345
hardcode_into_libs=yes
13346
dynamic_linker='NetBSD ld.elf_so'
13353
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13354
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13355
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13356
dynamic_linker='NetBSD (a.out) ld.so'
13358
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13359
soname_spec='${libname}${release}${shared_ext}$major'
13360
dynamic_linker='NetBSD ld.elf_so'
13362
shlibpath_var=LD_LIBRARY_PATH
13363
shlibpath_overrides_runpath=yes
13364
hardcode_into_libs=yes
13369
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13370
shlibpath_var=LD_LIBRARY_PATH
13371
shlibpath_overrides_runpath=yes
13378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13379
soname_spec='${libname}${release}${shared_ext}$major'
13380
shlibpath_var=LD_LIBRARY_PATH
13381
shlibpath_overrides_runpath=yes
13386
sys_lib_dlsearch_path_spec="/usr/lib"
13388
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13390
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13391
*) need_version=no ;;
13393
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13394
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13395
shlibpath_var=LD_LIBRARY_PATH
13396
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13398
openbsd2.[89] | openbsd2.[89].*)
13399
shlibpath_overrides_runpath=no
13402
shlibpath_overrides_runpath=yes
13406
shlibpath_overrides_runpath=yes
13411
libname_spec='$name'
13414
library_names_spec='$libname${shared_ext} $libname.a'
13415
dynamic_linker='OS/2 ld.exe'
13416
shlibpath_var=LIBPATH
13419
osf3* | osf4* | osf5*)
13423
soname_spec='${libname}${release}${shared_ext}$major'
13424
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13425
shlibpath_var=LD_LIBRARY_PATH
13426
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13427
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13438
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13439
soname_spec='${libname}${release}${shared_ext}$major'
13440
shlibpath_var=LD_LIBRARY_PATH
13441
shlibpath_overrides_runpath=yes
13442
hardcode_into_libs=yes
13443
# ldd complains unless libraries are executable
13444
postinstall_cmds='chmod +x $lib'
13449
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13450
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13451
shlibpath_var=LD_LIBRARY_PATH
13452
shlibpath_overrides_runpath=yes
13453
if test "$with_gnu_ld" = yes; then
13461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13462
soname_spec='${libname}${release}${shared_ext}$major'
13463
shlibpath_var=LD_LIBRARY_PATH
13464
case $host_vendor in
13466
shlibpath_overrides_runpath=no
13468
export_dynamic_flag_spec='${wl}-Blargedynsym'
13469
runpath_var=LD_RUN_PATH
13477
shlibpath_overrides_runpath=no
13478
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13484
if test -d /usr/nec ;then
13486
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13487
soname_spec='$libname${shared_ext}.$major'
13488
shlibpath_var=LD_LIBRARY_PATH
13492
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13493
version_type=freebsd-elf
13496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13497
soname_spec='${libname}${release}${shared_ext}$major'
13498
shlibpath_var=LD_LIBRARY_PATH
13499
hardcode_into_libs=yes
13500
if test "$with_gnu_ld" = yes; then
13501
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13502
shlibpath_overrides_runpath=no
13504
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13505
shlibpath_overrides_runpath=yes
13508
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13512
sys_lib_dlsearch_path_spec='/usr/lib'
13517
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518
soname_spec='${libname}${release}${shared_ext}$major'
13519
shlibpath_var=LD_LIBRARY_PATH
13526
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13527
echo "${ECHO_T}$dynamic_linker" >&6; }
13528
test "$dynamic_linker" = no && can_build_shared=no
13530
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13531
echo $ECHO_N "(cached) $ECHO_C" >&6
13533
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13536
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13537
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13538
echo $ECHO_N "(cached) $ECHO_C" >&6
13540
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13543
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13545
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13546
if test "$GCC" = yes; then
13547
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13550
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13551
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13552
hardcode_action_CXX=
13553
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13554
test -n "$runpath_var_CXX" || \
13555
test "X$hardcode_automatic_CXX" = "Xyes" ; then
13557
# We can hardcode non-existant directories.
13558
if test "$hardcode_direct_CXX" != no &&
13559
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13560
# have to relink, otherwise we might link with an installed library
13561
# when we should be linking with a yet-to-be-installed one
13562
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13563
test "$hardcode_minus_L_CXX" != no; then
13564
# Linking always hardcodes the temporary library directory.
13565
hardcode_action_CXX=relink
13567
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13568
hardcode_action_CXX=immediate
13571
# We cannot hardcode anything, or else we can only hardcode existing
13573
hardcode_action_CXX=unsupported
13575
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13576
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13578
if test "$hardcode_action_CXX" = relink; then
13579
# Fast installation is not supported
13580
enable_fast_install=no
13581
elif test "$shlibpath_overrides_runpath" = yes ||
13582
test "$enable_shared" = no; then
13583
# Fast installation is not necessary
13584
enable_fast_install=needless
13588
# The else clause should only fire when bootstrapping the
13589
# libtool distribution, otherwise you forgot to ship ltmain.sh
13590
# with your package, and you will get complaints that there are
13591
# no rules to generate ltmain.sh.
13592
if test -f "$ltmain"; then
13593
# See if we are running on zsh, and set the options which allow our commands through
13594
# without removal of \ escapes.
13595
if test -n "${ZSH_VERSION+set}" ; then
13596
setopt NO_GLOB_SUBST
13598
# Now quote all the things that may contain metacharacters while being
13599
# careful not to overquote the AC_SUBSTed values. We take copies of the
13600
# variables and quote the copies for generation of the libtool script.
13601
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13603
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13604
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13605
deplibs_check_method reload_flag reload_cmds need_locks \
13606
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13607
lt_cv_sys_global_symbol_to_c_name_address \
13608
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13609
old_postinstall_cmds old_postuninstall_cmds \
13613
lt_prog_compiler_wl_CXX \
13614
lt_prog_compiler_pic_CXX \
13615
lt_prog_compiler_static_CXX \
13616
lt_prog_compiler_no_builtin_flag_CXX \
13617
export_dynamic_flag_spec_CXX \
13618
thread_safe_flag_spec_CXX \
13619
whole_archive_flag_spec_CXX \
13620
enable_shared_with_static_runtimes_CXX \
13621
old_archive_cmds_CXX \
13622
old_archive_from_new_cmds_CXX \
13623
predep_objects_CXX \
13624
postdep_objects_CXX \
13627
compiler_lib_search_path_CXX \
13628
compiler_lib_search_dirs_CXX \
13630
archive_expsym_cmds_CXX \
13631
postinstall_cmds_CXX \
13632
postuninstall_cmds_CXX \
13633
old_archive_from_expsyms_cmds_CXX \
13634
allow_undefined_flag_CXX \
13635
no_undefined_flag_CXX \
13636
export_symbols_cmds_CXX \
13637
hardcode_libdir_flag_spec_CXX \
13638
hardcode_libdir_flag_spec_ld_CXX \
13639
hardcode_libdir_separator_CXX \
13640
hardcode_automatic_CXX \
13642
module_expsym_cmds_CXX \
13643
lt_cv_prog_compiler_c_o_CXX \
13644
fix_srcfile_path_CXX \
13645
exclude_expsyms_CXX \
13646
include_expsyms_CXX; do
13649
old_archive_cmds_CXX | \
13650
old_archive_from_new_cmds_CXX | \
13651
archive_cmds_CXX | \
13652
archive_expsym_cmds_CXX | \
13653
module_cmds_CXX | \
13654
module_expsym_cmds_CXX | \
13655
old_archive_from_expsyms_cmds_CXX | \
13656
export_symbols_cmds_CXX | \
13657
extract_expsyms_cmds | reload_cmds | finish_cmds | \
13658
postinstall_cmds | postuninstall_cmds | \
13659
old_postinstall_cmds | old_postuninstall_cmds | \
13660
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13661
# Double-quote double-evaled strings.
13662
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13665
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13671
*'\$0 --fallback-echo"')
13672
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13678
cat <<__EOF__ >> "$cfgfile"
13679
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13681
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13683
# Shell to use when invoking shell scripts.
13686
# Whether or not to build shared libraries.
13687
build_libtool_libs=$enable_shared
13689
# Whether or not to build static libraries.
13690
build_old_libs=$enable_static
13692
# Whether or not to add -lc for building shared libraries.
13693
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13695
# Whether or not to disallow shared libs when runtime libs are static
13696
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13698
# Whether or not to optimize for fast installation.
13699
fast_install=$enable_fast_install
13702
host_alias=$host_alias
13706
# The build system.
13707
build_alias=$build_alias
13711
# An echo program that does not interpret backslashes.
13716
AR_FLAGS=$lt_AR_FLAGS
13721
# LTCC compiler flags.
13722
LTCFLAGS=$lt_LTCFLAGS
13724
# A language-specific compiler.
13725
CC=$lt_compiler_CXX
13727
# Is the compiler the GNU C compiler?
13733
# The linker used to build libraries.
13736
# Whether we need hard or soft links.
13739
# A BSD-compatible nm program.
13742
# A symbol stripping program
13745
# Used to examine libraries when file_magic_cmd begins "file"
13746
MAGIC_CMD=$MAGIC_CMD
13748
# Used on cygwin: DLL creation program.
13751
# Used on cygwin: object dumper.
13754
# Used on cygwin: assembler.
13757
# The name of the directory that contains temporary libtool files.
13760
# How to create reloadable object files.
13761
reload_flag=$lt_reload_flag
13762
reload_cmds=$lt_reload_cmds
13764
# How to pass a linker flag through the compiler.
13765
wl=$lt_lt_prog_compiler_wl_CXX
13767
# Object file suffix (normally "o").
13768
objext="$ac_objext"
13770
# Old archive suffix (normally "a").
13773
# Shared library suffix (normally ".so").
13774
shrext_cmds='$shrext_cmds'
13776
# Executable file suffix (normally "").
13779
# Additional compiler flags for building library objects.
13780
pic_flag=$lt_lt_prog_compiler_pic_CXX
13783
# What is the maximum length of a command?
13784
max_cmd_len=$lt_cv_sys_max_cmd_len
13786
# Does compiler simultaneously support -c and -o options?
13787
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13789
# Must we lock files when doing compilation?
13790
need_locks=$lt_need_locks
13792
# Do we need the lib prefix for modules?
13793
need_lib_prefix=$need_lib_prefix
13795
# Do we need a version for libraries?
13796
need_version=$need_version
13798
# Whether dlopen is supported.
13799
dlopen_support=$enable_dlopen
13801
# Whether dlopen of programs is supported.
13802
dlopen_self=$enable_dlopen_self
13804
# Whether dlopen of statically linked programs is supported.
13805
dlopen_self_static=$enable_dlopen_self_static
13807
# Compiler flag to prevent dynamic linking.
13808
link_static_flag=$lt_lt_prog_compiler_static_CXX
13810
# Compiler flag to turn off builtin functions.
13811
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13813
# Compiler flag to allow reflexive dlopens.
13814
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13816
# Compiler flag to generate shared objects directly from archives.
13817
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13819
# Compiler flag to generate thread-safe objects.
13820
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13822
# Library versioning type.
13823
version_type=$version_type
13825
# Format of library name prefix.
13826
libname_spec=$lt_libname_spec
13828
# List of archive names. First name is the real one, the rest are links.
13829
# The last name is the one that the linker finds with -lNAME.
13830
library_names_spec=$lt_library_names_spec
13832
# The coded name of the library, if different from the real name.
13833
soname_spec=$lt_soname_spec
13835
# Commands used to build and install an old-style archive.
13837
old_archive_cmds=$lt_old_archive_cmds_CXX
13838
old_postinstall_cmds=$lt_old_postinstall_cmds
13839
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13841
# Create an old-style archive from a shared archive.
13842
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13844
# Create a temporary old-style archive to link instead of a shared archive.
13845
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13847
# Commands used to build and install a shared archive.
13848
archive_cmds=$lt_archive_cmds_CXX
13849
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13850
postinstall_cmds=$lt_postinstall_cmds
13851
postuninstall_cmds=$lt_postuninstall_cmds
13853
# Commands used to build a loadable module (assumed same as above if empty)
13854
module_cmds=$lt_module_cmds_CXX
13855
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13857
# Commands to strip libraries.
13858
old_striplib=$lt_old_striplib
13859
striplib=$lt_striplib
13861
# Dependencies to place before the objects being linked to create a
13863
predep_objects=$lt_predep_objects_CXX
13865
# Dependencies to place after the objects being linked to create a
13867
postdep_objects=$lt_postdep_objects_CXX
13869
# Dependencies to place before the objects being linked to create a
13871
predeps=$lt_predeps_CXX
13873
# Dependencies to place after the objects being linked to create a
13875
postdeps=$lt_postdeps_CXX
13877
# The directories searched by this compiler when creating a shared
13879
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13881
# The library search path used internally by the compiler when linking
13882
# a shared library.
13883
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13885
# Method to check whether dependent libraries are shared objects.
13886
deplibs_check_method=$lt_deplibs_check_method
13888
# Command to use when deplibs_check_method == file_magic.
13889
file_magic_cmd=$lt_file_magic_cmd
13891
# Flag that allows shared libraries with undefined symbols to be built.
13892
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13894
# Flag that forces no undefined symbols.
13895
no_undefined_flag=$lt_no_undefined_flag_CXX
13897
# Commands used to finish a libtool library installation in a directory.
13898
finish_cmds=$lt_finish_cmds
13900
# Same as above, but a single script fragment to be evaled but not shown.
13901
finish_eval=$lt_finish_eval
13903
# Take the output of nm and produce a listing of raw symbols and C names.
13904
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13906
# Transform the output of nm in a proper C declaration
13907
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13909
# Transform the output of nm in a C name address pair
13910
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13912
# This is the shared library runtime path variable.
13913
runpath_var=$runpath_var
13915
# This is the shared library path variable.
13916
shlibpath_var=$shlibpath_var
13918
# Is shlibpath searched before the hard-coded library search path?
13919
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13921
# How to hardcode a shared library path into an executable.
13922
hardcode_action=$hardcode_action_CXX
13924
# Whether we should hardcode library paths into libraries.
13925
hardcode_into_libs=$hardcode_into_libs
13927
# Flag to hardcode \$libdir into a binary during linking.
13928
# This must work even if \$libdir does not exist.
13929
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13931
# If ld is used when linking, flag to hardcode \$libdir into
13932
# a binary during linking. This must work even if \$libdir does
13934
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13936
# Whether we need a single -rpath flag with a separated argument.
13937
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13939
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13940
# resulting binary.
13941
hardcode_direct=$hardcode_direct_CXX
13943
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13944
# resulting binary.
13945
hardcode_minus_L=$hardcode_minus_L_CXX
13947
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13948
# the resulting binary.
13949
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13951
# Set to yes if building a shared library automatically hardcodes DIR into the library
13952
# and all subsequent libraries and executables linked against it.
13953
hardcode_automatic=$hardcode_automatic_CXX
13955
# Variables whose values should be saved in libtool wrapper scripts and
13956
# restored at relink time.
13957
variables_saved_for_relink="$variables_saved_for_relink"
13959
# Whether libtool must link a program against all its dependency libraries.
13960
link_all_deplibs=$link_all_deplibs_CXX
13962
# Compile-time system search path for libraries
13963
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13965
# Run-time system search path for libraries
13966
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13968
# Fix the shell variable \$srcfile for the compiler.
13969
fix_srcfile_path=$lt_fix_srcfile_path
13971
# Set to yes if exported symbols are required.
13972
always_export_symbols=$always_export_symbols_CXX
13974
# The commands to list exported symbols.
13975
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13977
# The commands to extract the exported symbol list from a shared archive.
13978
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13980
# Symbols that should not be listed in the preloaded symbols.
13981
exclude_expsyms=$lt_exclude_expsyms_CXX
13983
# Symbols that must always be exported.
13984
include_expsyms=$lt_include_expsyms_CXX
13986
# ### END LIBTOOL TAG CONFIG: $tagname
13992
# If there is no Makefile yet, we rely on a make rule to execute
13993
# `config.status --recheck' to rerun these tests and create the
13994
# libtool script then.
13995
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13996
if test -f "$ltmain_in"; then
13997
test -f Makefile && make "$ltmain"
14003
ac_cpp='$CPP $CPPFLAGS'
14004
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14005
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14012
with_gnu_ldcxx=$with_gnu_ld
14013
with_gnu_ld=$lt_save_with_gnu_ld
14014
lt_cv_path_LDCXX=$lt_cv_path_LD
14015
lt_cv_path_LD=$lt_save_path_LD
14016
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14017
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14025
if test -n "$F77" && test "X$F77" != "Xno"; then
14028
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14029
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14030
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14033
archive_cmds_need_lc_F77=no
14034
allow_undefined_flag_F77=
14035
always_export_symbols_F77=no
14036
archive_expsym_cmds_F77=
14037
export_dynamic_flag_spec_F77=
14038
hardcode_direct_F77=no
14039
hardcode_libdir_flag_spec_F77=
14040
hardcode_libdir_flag_spec_ld_F77=
14041
hardcode_libdir_separator_F77=
14042
hardcode_minus_L_F77=no
14043
hardcode_automatic_F77=no
14045
module_expsym_cmds_F77=
14046
link_all_deplibs_F77=unknown
14047
old_archive_cmds_F77=$old_archive_cmds
14048
no_undefined_flag_F77=
14049
whole_archive_flag_spec_F77=
14050
enable_shared_with_static_runtimes_F77=no
14052
# Source file extension for f77 test sources.
14055
# Object file extension for compiled f77 test sources.
14059
# Code to be used in simple compile tests
14060
lt_simple_compile_test_code="\
14066
# Code to be used in simple link tests
14067
lt_simple_link_test_code="\
14072
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14074
# If no C compiler was specified, use CC.
14077
# If no C compiler flags were specified, use CFLAGS.
14078
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14080
# Allow CC to be a program name with arguments.
14084
# save warnings/boilerplate of simple test code
14085
ac_outfile=conftest.$ac_objext
14086
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14087
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14088
_lt_compiler_boilerplate=`cat conftest.err`
14091
ac_outfile=conftest.$ac_objext
14092
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14093
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14094
_lt_linker_boilerplate=`cat conftest.err`
14098
# Allow CC to be a program name with arguments.
14103
for cc_temp in $compiler""; do
14105
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14106
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14111
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14114
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14115
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14116
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14117
echo "${ECHO_T}$can_build_shared" >&6; }
14119
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14120
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14121
test "$can_build_shared" = "no" && enable_shared=no
14123
# On AIX, shared libraries and static libraries use the same namespace, and
14124
# are all built from PIC.
14127
test "$enable_shared" = yes && enable_static=no
14128
if test -n "$RANLIB"; then
14129
archive_cmds="$archive_cmds~\$RANLIB \$lib"
14130
postinstall_cmds='$RANLIB $lib'
14134
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14135
test "$enable_shared" = yes && enable_static=no
14139
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14140
echo "${ECHO_T}$enable_shared" >&6; }
14142
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14143
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14144
# Make sure either enable_shared or enable_static is yes.
14145
test "$enable_shared" = yes || enable_static=yes
14146
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14147
echo "${ECHO_T}$enable_static" >&6; }
14152
lt_prog_compiler_wl_F77=
14153
lt_prog_compiler_pic_F77=
14154
lt_prog_compiler_static_F77=
14156
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14157
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14159
if test "$GCC" = yes; then
14160
lt_prog_compiler_wl_F77='-Wl,'
14161
lt_prog_compiler_static_F77='-static'
14165
# All AIX code is PIC.
14166
if test "$host_cpu" = ia64; then
14167
# AIX 5 now supports IA64 processor
14168
lt_prog_compiler_static_F77='-Bstatic'
14173
# FIXME: we need at least 68020 code to build shared libraries, but
14174
# adding the `-m68020' flag to GCC prevents building anything better,
14176
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14179
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14180
# PIC is the default for these OSes.
14183
mingw* | cygwin* | pw32* | os2*)
14184
# This hack is so that the source file can tell whether it is being
14185
# built for inclusion in a dll (and should export symbols for example).
14186
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14187
# (--disable-auto-import) libraries
14188
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14191
darwin* | rhapsody*)
14192
# PIC is the default on this platform
14193
# Common symbols not allowed in MH_DYLIB files
14194
lt_prog_compiler_pic_F77='-fno-common'
14198
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14199
# Instead, we relocate shared libraries at runtime.
14203
# Just because we use GCC doesn't mean we suddenly get shared libraries
14204
# on systems that don't support them.
14205
lt_prog_compiler_can_build_shared_F77=no
14210
if test -d /usr/nec; then
14211
lt_prog_compiler_pic_F77=-Kconform_pic
14216
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14217
# not for PA HP-UX.
14223
lt_prog_compiler_pic_F77='-fPIC'
14229
lt_prog_compiler_pic_F77='-fPIC'
14233
# PORTME Check for flag to pass linker flags through the system compiler.
14236
lt_prog_compiler_wl_F77='-Wl,'
14237
if test "$host_cpu" = ia64; then
14238
# AIX 5 now supports IA64 processor
14239
lt_prog_compiler_static_F77='-Bstatic'
14241
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14245
# PIC is the default on this platform
14246
# Common symbols not allowed in MH_DYLIB files
14247
case $cc_basename in
14249
lt_prog_compiler_pic_F77='-qnocommon'
14250
lt_prog_compiler_wl_F77='-Wl,'
14255
mingw* | cygwin* | pw32* | os2*)
14256
# This hack is so that the source file can tell whether it is being
14257
# built for inclusion in a dll (and should export symbols for example).
14258
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14261
hpux9* | hpux10* | hpux11*)
14262
lt_prog_compiler_wl_F77='-Wl,'
14263
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14264
# not for PA HP-UX.
14270
lt_prog_compiler_pic_F77='+Z'
14273
# Is there a better lt_prog_compiler_static that works with the bundled CC?
14274
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14277
irix5* | irix6* | nonstopux*)
14278
lt_prog_compiler_wl_F77='-Wl,'
14279
# PIC (with -KPIC) is the default.
14280
lt_prog_compiler_static_F77='-non_shared'
14284
lt_prog_compiler_pic_F77='-KPIC'
14285
lt_prog_compiler_static_F77='-Bstatic'
14288
linux* | k*bsd*-gnu)
14289
case $cc_basename in
14291
lt_prog_compiler_wl_F77='-Wl,'
14292
lt_prog_compiler_pic_F77='-KPIC'
14293
lt_prog_compiler_static_F77='-static'
14295
pgcc* | pgf77* | pgf90* | pgf95*)
14296
# Portland Group compilers (*not* the Pentium gcc compiler,
14297
# which looks to be a dead project)
14298
lt_prog_compiler_wl_F77='-Wl,'
14299
lt_prog_compiler_pic_F77='-fpic'
14300
lt_prog_compiler_static_F77='-Bstatic'
14303
lt_prog_compiler_wl_F77='-Wl,'
14304
# All Alpha code is PIC.
14305
lt_prog_compiler_static_F77='-non_shared'
14308
case `$CC -V 2>&1 | sed 5q` in
14311
lt_prog_compiler_pic_F77='-KPIC'
14312
lt_prog_compiler_static_F77='-Bstatic'
14313
lt_prog_compiler_wl_F77='-Wl,'
14316
# Sun Fortran 8.3 passes all unrecognized flags to the linker
14317
lt_prog_compiler_pic_F77='-KPIC'
14318
lt_prog_compiler_static_F77='-Bstatic'
14319
lt_prog_compiler_wl_F77=''
14326
osf3* | osf4* | osf5*)
14327
lt_prog_compiler_wl_F77='-Wl,'
14328
# All OSF/1 code is PIC.
14329
lt_prog_compiler_static_F77='-non_shared'
14333
lt_prog_compiler_static_F77='-non_shared'
14337
lt_prog_compiler_pic_F77='-KPIC'
14338
lt_prog_compiler_static_F77='-Bstatic'
14339
case $cc_basename in
14340
f77* | f90* | f95*)
14341
lt_prog_compiler_wl_F77='-Qoption ld ';;
14343
lt_prog_compiler_wl_F77='-Wl,';;
14348
lt_prog_compiler_wl_F77='-Qoption ld '
14349
lt_prog_compiler_pic_F77='-PIC'
14350
lt_prog_compiler_static_F77='-Bstatic'
14353
sysv4 | sysv4.2uw2* | sysv4.3*)
14354
lt_prog_compiler_wl_F77='-Wl,'
14355
lt_prog_compiler_pic_F77='-KPIC'
14356
lt_prog_compiler_static_F77='-Bstatic'
14360
if test -d /usr/nec ;then
14361
lt_prog_compiler_pic_F77='-Kconform_pic'
14362
lt_prog_compiler_static_F77='-Bstatic'
14366
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14367
lt_prog_compiler_wl_F77='-Wl,'
14368
lt_prog_compiler_pic_F77='-KPIC'
14369
lt_prog_compiler_static_F77='-Bstatic'
14373
lt_prog_compiler_wl_F77='-Wl,'
14374
lt_prog_compiler_can_build_shared_F77=no
14378
lt_prog_compiler_pic_F77='-pic'
14379
lt_prog_compiler_static_F77='-Bstatic'
14383
lt_prog_compiler_can_build_shared_F77=no
14388
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14389
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14392
# Check to make sure the PIC flag actually works.
14394
if test -n "$lt_prog_compiler_pic_F77"; then
14396
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14397
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14398
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14399
echo $ECHO_N "(cached) $ECHO_C" >&6
14401
lt_cv_prog_compiler_pic_works_F77=no
14402
ac_outfile=conftest.$ac_objext
14403
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14404
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14405
# Insert the option either (1) after the last *FLAGS variable, or
14406
# (2) before a word containing "conftest.", or (3) at the end.
14407
# Note that $ac_compile itself does not contain backslashes and begins
14408
# with a dollar sign (not a hyphen), so the echo should work correctly.
14409
# The option is referenced via a variable to avoid confusing sed.
14410
lt_compile=`echo "$ac_compile" | $SED \
14411
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14412
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14413
-e 's:$: $lt_compiler_flag:'`
14414
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14415
(eval "$lt_compile" 2>conftest.err)
14417
cat conftest.err >&5
14418
echo "$as_me:__oline__: \$? = $ac_status" >&5
14419
if (exit $ac_status) && test -s "$ac_outfile"; then
14420
# The compiler can only warn and ignore the option if not recognized
14421
# So say no if there are warnings other than the usual output.
14422
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14423
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14424
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14425
lt_cv_prog_compiler_pic_works_F77=yes
14431
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14432
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14434
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14435
case $lt_prog_compiler_pic_F77 in
14437
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14440
lt_prog_compiler_pic_F77=
14441
lt_prog_compiler_can_build_shared_F77=no
14446
# For platforms which do not support PIC, -DPIC is meaningless:
14448
lt_prog_compiler_pic_F77=
14451
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14456
# Check to make sure the static flag actually works.
14458
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14459
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14460
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14461
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14462
echo $ECHO_N "(cached) $ECHO_C" >&6
14464
lt_cv_prog_compiler_static_works_F77=no
14465
save_LDFLAGS="$LDFLAGS"
14466
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14467
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14468
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14469
# The linker can only warn and ignore the option if not recognized
14470
# So say no if there are warnings
14471
if test -s conftest.err; then
14472
# Append any errors to the config.log.
14473
cat conftest.err 1>&5
14474
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14475
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14476
if diff conftest.exp conftest.er2 >/dev/null; then
14477
lt_cv_prog_compiler_static_works_F77=yes
14480
lt_cv_prog_compiler_static_works_F77=yes
14484
LDFLAGS="$save_LDFLAGS"
14487
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14488
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14490
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14493
lt_prog_compiler_static_F77=
14497
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14498
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14499
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14500
echo $ECHO_N "(cached) $ECHO_C" >&6
14502
lt_cv_prog_compiler_c_o_F77=no
14503
$rm -r conftest 2>/dev/null
14507
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14509
lt_compiler_flag="-o out/conftest2.$ac_objext"
14510
# Insert the option either (1) after the last *FLAGS variable, or
14511
# (2) before a word containing "conftest.", or (3) at the end.
14512
# Note that $ac_compile itself does not contain backslashes and begins
14513
# with a dollar sign (not a hyphen), so the echo should work correctly.
14514
lt_compile=`echo "$ac_compile" | $SED \
14515
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14516
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14517
-e 's:$: $lt_compiler_flag:'`
14518
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14519
(eval "$lt_compile" 2>out/conftest.err)
14521
cat out/conftest.err >&5
14522
echo "$as_me:__oline__: \$? = $ac_status" >&5
14523
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14525
# The compiler can only warn and ignore the option if not recognized
14526
# So say no if there are warnings
14527
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14528
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14529
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14530
lt_cv_prog_compiler_c_o_F77=yes
14535
# SGI C++ compiler will create directory out/ii_files/ for
14536
# template instantiation
14537
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14538
$rm out/* && rmdir out
14544
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14545
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14548
hard_links="nottested"
14549
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14550
# do not overwrite the value of need_locks provided by the user
14551
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14552
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14555
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14557
ln conftest.a conftest.b 2>&5 || hard_links=no
14558
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14559
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14560
echo "${ECHO_T}$hard_links" >&6; }
14561
if test "$hard_links" = no; then
14562
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14563
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14570
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14571
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14574
allow_undefined_flag_F77=
14575
enable_shared_with_static_runtimes_F77=no
14577
archive_expsym_cmds_F77=
14578
old_archive_From_new_cmds_F77=
14579
old_archive_from_expsyms_cmds_F77=
14580
export_dynamic_flag_spec_F77=
14581
whole_archive_flag_spec_F77=
14582
thread_safe_flag_spec_F77=
14583
hardcode_libdir_flag_spec_F77=
14584
hardcode_libdir_flag_spec_ld_F77=
14585
hardcode_libdir_separator_F77=
14586
hardcode_direct_F77=no
14587
hardcode_minus_L_F77=no
14588
hardcode_shlibpath_var_F77=unsupported
14589
link_all_deplibs_F77=unknown
14590
hardcode_automatic_F77=no
14592
module_expsym_cmds_F77=
14593
always_export_symbols_F77=no
14594
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14595
# include_expsyms should be a list of space-separated symbols to be *always*
14596
# included in the symbol list
14597
include_expsyms_F77=
14598
# exclude_expsyms can be an extended regexp of symbols to exclude
14599
# it will be wrapped by ` (' and `)$', so one must not match beginning or
14600
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14601
# as well as any symbol that contains `d'.
14602
exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14603
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14604
# platforms (ab)use it in PIC code, but their linkers get confused if
14605
# the symbol is explicitly referenced. Since portable code cannot
14606
# rely on this symbol name, it's probably fine to never include it in
14607
# preloaded symbol tables.
14608
# Exclude shared library initialization/finalization symbols.
14609
extract_expsyms_cmds=
14610
# Just being paranoid about ensuring that cc_basename is set.
14611
for cc_temp in $compiler""; do
14613
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14614
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14619
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14622
cygwin* | mingw* | pw32*)
14623
# FIXME: the MSVC++ port hasn't been tested in a loooong time
14624
# When not using gcc, we currently assume that we are using
14625
# Microsoft Visual C++.
14626
if test "$GCC" != yes; then
14631
# we just hope/assume this is gcc and not c89 (= MSVC++)
14640
if test "$with_gnu_ld" = yes; then
14641
# If archive_cmds runs LD, not CC, wlarc should be empty
14644
# Set some defaults for GNU ld with shared library support. These
14645
# are reset later if shared libraries are not supported. Putting them
14646
# here allows them to be overridden if necessary.
14647
runpath_var=LD_RUN_PATH
14648
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14649
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14650
# ancient GNU ld didn't support --whole-archive et. al.
14651
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14652
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14654
whole_archive_flag_spec_F77=
14656
supports_anon_versioning=no
14657
case `$LD -v 2>/dev/null` in
14658
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14659
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14660
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14661
*\ 2.11.*) ;; # other 2.11 versions
14662
*) supports_anon_versioning=yes ;;
14665
# See if GNU ld supports shared libraries.
14668
# On AIX/PPC, the GNU linker is very broken
14669
if test "$host_cpu" != ia64; then
14673
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14674
*** to be unable to reliably create shared libraries on AIX.
14675
*** Therefore, libtool is disabling shared libraries support. If you
14676
*** really care for shared libraries, you may want to modify your PATH
14677
*** so that a non-GNU linker is found, and then restart.
14684
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)'
14685
hardcode_libdir_flag_spec_F77='-L$libdir'
14686
hardcode_minus_L_F77=yes
14688
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14689
# that the semantics of dynamic libraries on AmigaOS, at least up
14690
# to version 4, is to share data among multiple programs linked
14691
# with the same dynamic library. Since this doesn't match the
14692
# behavior of shared libraries on other platforms, we can't use
14698
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14699
allow_undefined_flag_F77=unsupported
14700
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14701
# support --undefined. This deserves some investigation. FIXME
14702
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14708
cygwin* | mingw* | pw32*)
14709
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14710
# as there is no search path for DLLs.
14711
hardcode_libdir_flag_spec_F77='-L$libdir'
14712
allow_undefined_flag_F77=unsupported
14713
always_export_symbols_F77=no
14714
enable_shared_with_static_runtimes_F77=yes
14715
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14717
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14718
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14719
# If the export-symbols file already is a .def file (1st line
14720
# is EXPORTS), use it as is; otherwise, prepend...
14721
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14722
cp $export_symbols $output_objdir/$soname.def;
14724
echo EXPORTS > $output_objdir/$soname.def;
14725
cat $export_symbols >> $output_objdir/$soname.def;
14727
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14734
hardcode_direct_F77=no
14735
hardcode_shlibpath_var_F77=no
14736
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14737
export_dynamic_flag_spec_F77='${wl}-E'
14738
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14739
# Instead, shared libraries are loaded at an image base (0x10000000 by
14740
# default) and relocated if they conflict, which is a slow very memory
14741
# consuming and fragmenting process. To avoid this, we pick a random,
14742
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14743
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
14744
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'
14745
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'
14748
gnu* | linux* | k*bsd*-gnu)
14749
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14751
case $cc_basename,$host_cpu in
14752
pgcc*) # Portland Group C compiler
14753
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'
14754
tmp_addflag=' $pic_flag'
14756
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14757
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'
14758
tmp_addflag=' $pic_flag -Mnomain' ;;
14759
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14760
tmp_addflag=' -i_dynamic' ;;
14761
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14762
tmp_addflag=' -i_dynamic -nofor_main' ;;
14763
ifc* | ifort*) # Intel Fortran compiler
14764
tmp_addflag=' -nofor_main' ;;
14766
case `$CC -V 2>&1 | sed 5q` in
14767
*Sun\ C*) # Sun C 5.9
14768
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'
14769
tmp_sharedflag='-G' ;;
14770
*Sun\ F*) # Sun Fortran 8.3
14771
tmp_sharedflag='-G' ;;
14773
tmp_sharedflag='-shared' ;;
14775
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14777
if test $supports_anon_versioning = yes; then
14778
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14779
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14780
$echo "local: *; };" >> $output_objdir/$libname.ver~
14781
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14783
link_all_deplibs_F77=no
14789
netbsd* | netbsdelf*-gnu)
14790
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14791
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14794
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14795
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14800
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14804
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14805
*** create shared libraries on Solaris systems. Therefore, libtool
14806
*** is disabling shared libraries support. We urge you to upgrade GNU
14807
*** binutils to release 2.9.1 or newer. Another option is to modify
14808
*** your PATH or compiler configuration so that the native linker is
14809
*** used, and then restart.
14812
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14813
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14814
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14820
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14821
case `$LD -v 2>&1` in
14822
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14826
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14827
*** reliably create shared libraries on SCO systems. Therefore, libtool
14828
*** is disabling shared libraries support. We urge you to upgrade GNU
14829
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14830
*** your PATH or compiler configuration so that the native linker is
14831
*** used, and then restart.
14836
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14837
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14838
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14839
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14848
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14850
hardcode_direct_F77=yes
14851
hardcode_shlibpath_var_F77=no
14855
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14856
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14857
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14864
if test "$ld_shlibs_F77" = no; then
14866
hardcode_libdir_flag_spec_F77=
14867
export_dynamic_flag_spec_F77=
14868
whole_archive_flag_spec_F77=
14871
# PORTME fill in a description of your system's linker (not GNU ld)
14874
allow_undefined_flag_F77=unsupported
14875
always_export_symbols_F77=yes
14876
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'
14877
# Note: this linker hardcodes the directories in LIBPATH if there
14878
# are no directories specified by -L.
14879
hardcode_minus_L_F77=yes
14880
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14881
# Neither direct hardcoding nor static linking is supported with a
14883
hardcode_direct_F77=unsupported
14888
if test "$host_cpu" = ia64; then
14889
# On IA64, the linker does run time linking by default, so we don't
14890
# have to do anything special.
14891
aix_use_runtimelinking=no
14892
exp_sym_flag='-Bexport'
14895
# If we're using GNU nm, then we don't want the "-C" option.
14896
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14897
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14898
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'
14900
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'
14902
aix_use_runtimelinking=no
14904
# Test if we are trying to use run time linking or normal
14905
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14906
# need to do runtime linking.
14907
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14908
for ld_flag in $LDFLAGS; do
14909
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14910
aix_use_runtimelinking=yes
14917
exp_sym_flag='-bexport'
14918
no_entry_flag='-bnoentry'
14921
# When large executables or shared objects are built, AIX ld can
14922
# have problems creating the table of contents. If linking a library
14923
# or program results in "error TOC overflow" add -mminimal-toc to
14924
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14925
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14927
archive_cmds_F77=''
14928
hardcode_direct_F77=yes
14929
hardcode_libdir_separator_F77=':'
14930
link_all_deplibs_F77=yes
14932
if test "$GCC" = yes; then
14933
case $host_os in aix4.[012]|aix4.[012].*)
14934
# We only want to do this on AIX 4.2 and lower, the check
14935
# below for broken collect2 doesn't work under 4.3+
14936
collect2name=`${CC} -print-prog-name=collect2`
14937
if test -f "$collect2name" && \
14938
strings "$collect2name" | grep resolve_lib_name >/dev/null
14940
# We have reworked collect2
14943
# We have old collect2
14944
hardcode_direct_F77=unsupported
14945
# It fails to find uninstalled libraries when the uninstalled
14946
# path is not listed in the libpath. Setting hardcode_minus_L
14947
# to unsupported forces relinking
14948
hardcode_minus_L_F77=yes
14949
hardcode_libdir_flag_spec_F77='-L$libdir'
14950
hardcode_libdir_separator_F77=
14954
shared_flag='-shared'
14955
if test "$aix_use_runtimelinking" = yes; then
14956
shared_flag="$shared_flag "'${wl}-G'
14960
if test "$host_cpu" = ia64; then
14961
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14962
# chokes on -Wl,-G. The following line is correct:
14965
if test "$aix_use_runtimelinking" = yes; then
14966
shared_flag='${wl}-G'
14968
shared_flag='${wl}-bM:SRE'
14973
# It seems that -bexpall does not export symbols beginning with
14974
# underscore (_), so it is better to generate a list of symbols to export.
14975
always_export_symbols_F77=yes
14976
if test "$aix_use_runtimelinking" = yes; then
14977
# Warning - without using the other runtime loading flags (-brtl),
14978
# -berok will link without error, but may produce a broken library.
14979
allow_undefined_flag_F77='-berok'
14980
# Determine the default libpath from the value encoded in an empty executable.
14981
cat >conftest.$ac_ext <<_ACEOF
14986
rm -f conftest.$ac_objext conftest$ac_exeext
14987
if { (ac_try="$ac_link"
14988
case "(($ac_try" in
14989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990
*) ac_try_echo=$ac_try;;
14992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14993
(eval "$ac_link") 2>conftest.er1
14995
grep -v '^ *+' conftest.er1 >conftest.err
14997
cat conftest.err >&5
14998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999
(exit $ac_status); } && {
15000
test -z "$ac_f77_werror_flag" ||
15001
test ! -s conftest.err
15002
} && test -s conftest$ac_exeext &&
15003
$as_test_x conftest$ac_exeext; then
15005
lt_aix_libpath_sed='
15006
/Import File Strings/,/^$/ {
15012
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15013
# Check for a 64-bit object if we didn't find anything.
15014
if test -z "$aix_libpath"; then
15015
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15018
echo "$as_me: failed program was:" >&5
15019
sed 's/^/| /' conftest.$ac_ext >&5
15024
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15025
conftest$ac_exeext conftest.$ac_ext
15026
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15028
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15029
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"
15031
if test "$host_cpu" = ia64; then
15032
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15033
allow_undefined_flag_F77="-z nodefs"
15034
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"
15036
# Determine the default libpath from the value encoded in an empty executable.
15037
cat >conftest.$ac_ext <<_ACEOF
15042
rm -f conftest.$ac_objext conftest$ac_exeext
15043
if { (ac_try="$ac_link"
15044
case "(($ac_try" in
15045
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15046
*) ac_try_echo=$ac_try;;
15048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049
(eval "$ac_link") 2>conftest.er1
15051
grep -v '^ *+' conftest.er1 >conftest.err
15053
cat conftest.err >&5
15054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055
(exit $ac_status); } && {
15056
test -z "$ac_f77_werror_flag" ||
15057
test ! -s conftest.err
15058
} && test -s conftest$ac_exeext &&
15059
$as_test_x conftest$ac_exeext; then
15061
lt_aix_libpath_sed='
15062
/Import File Strings/,/^$/ {
15068
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15069
# Check for a 64-bit object if we didn't find anything.
15070
if test -z "$aix_libpath"; then
15071
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15074
echo "$as_me: failed program was:" >&5
15075
sed 's/^/| /' conftest.$ac_ext >&5
15080
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081
conftest$ac_exeext conftest.$ac_ext
15082
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15084
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15085
# Warning - without using the other run time loading flags,
15086
# -berok will link without error, but may produce a broken library.
15087
no_undefined_flag_F77=' ${wl}-bernotok'
15088
allow_undefined_flag_F77=' ${wl}-berok'
15089
# Exported symbols can be pulled into shared objects from archives
15090
whole_archive_flag_spec_F77='$convenience'
15091
archive_cmds_need_lc_F77=yes
15092
# This is similar to how AIX traditionally builds its shared libraries.
15093
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'
15099
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)'
15100
hardcode_libdir_flag_spec_F77='-L$libdir'
15101
hardcode_minus_L_F77=yes
15102
# see comment about different semantics on the GNU ld section
15107
export_dynamic_flag_spec_F77=-rdynamic
15110
cygwin* | mingw* | pw32*)
15111
# When not using gcc, we currently assume that we are using
15112
# Microsoft Visual C++.
15113
# hardcode_libdir_flag_spec is actually meaningless, as there is
15114
# no search path for DLLs.
15115
hardcode_libdir_flag_spec_F77=' '
15116
allow_undefined_flag_F77=unsupported
15117
# Tell ltmain to make .lib files, not .a files.
15119
# Tell ltmain to make .dll files, not .so files.
15121
# FIXME: Setting linknames here is a bad hack.
15122
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15123
# The linker will automatically build a .lib file if we build a DLL.
15124
old_archive_From_new_cmds_F77='true'
15125
# FIXME: Should let the user specify the lib program.
15126
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15127
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15128
enable_shared_with_static_runtimes_F77=yes
15131
darwin* | rhapsody*)
15133
rhapsody* | darwin1.[012])
15134
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15137
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15138
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15140
case ${MACOSX_DEPLOYMENT_TARGET} in
15142
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15145
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15151
archive_cmds_need_lc_F77=no
15152
hardcode_direct_F77=no
15153
hardcode_automatic_F77=yes
15154
hardcode_shlibpath_var_F77=unsupported
15155
whole_archive_flag_spec_F77=''
15156
link_all_deplibs_F77=yes
15157
if test "$GCC" = yes ; then
15158
output_verbose_link_cmd='echo'
15159
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15160
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15161
archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15162
module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15164
case $cc_basename in
15166
output_verbose_link_cmd='echo'
15167
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15168
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15169
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15170
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}'
15171
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}'
15181
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15182
hardcode_libdir_flag_spec_F77='-L$libdir'
15183
hardcode_shlibpath_var_F77=no
15190
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15191
# support. Future versions do this automatically, but an explicit c++rt0.o
15192
# does not break anything, and helps significantly (at the cost of a little
15195
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15196
hardcode_libdir_flag_spec_F77='-R$libdir'
15197
hardcode_direct_F77=yes
15198
hardcode_shlibpath_var_F77=no
15201
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
15203
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15204
hardcode_direct_F77=yes
15205
hardcode_minus_L_F77=yes
15206
hardcode_shlibpath_var_F77=no
15209
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15210
freebsd* | dragonfly*)
15211
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15212
hardcode_libdir_flag_spec_F77='-R$libdir'
15213
hardcode_direct_F77=yes
15214
hardcode_shlibpath_var_F77=no
15218
if test "$GCC" = yes; then
15219
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'
15221
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'
15223
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15224
hardcode_libdir_separator_F77=:
15225
hardcode_direct_F77=yes
15227
# hardcode_minus_L: Not really in the search PATH,
15228
# but as the default location of the library.
15229
hardcode_minus_L_F77=yes
15230
export_dynamic_flag_spec_F77='${wl}-E'
15234
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15235
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15237
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15239
if test "$with_gnu_ld" = no; then
15240
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15241
hardcode_libdir_separator_F77=:
15243
hardcode_direct_F77=yes
15244
export_dynamic_flag_spec_F77='${wl}-E'
15246
# hardcode_minus_L: Not really in the search PATH,
15247
# but as the default location of the library.
15248
hardcode_minus_L_F77=yes
15253
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15256
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15259
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15262
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15268
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15271
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15274
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15278
if test "$with_gnu_ld" = no; then
15279
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15280
hardcode_libdir_separator_F77=:
15284
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15285
hardcode_direct_F77=no
15286
hardcode_shlibpath_var_F77=no
15289
hardcode_direct_F77=yes
15290
export_dynamic_flag_spec_F77='${wl}-E'
15292
# hardcode_minus_L: Not really in the search PATH,
15293
# but as the default location of the library.
15294
hardcode_minus_L_F77=yes
15300
irix5* | irix6* | nonstopux*)
15301
if test "$GCC" = yes; then
15302
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'
15304
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'
15305
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15307
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15308
hardcode_libdir_separator_F77=:
15309
link_all_deplibs_F77=yes
15312
netbsd* | netbsdelf*-gnu)
15313
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15314
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15316
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15318
hardcode_libdir_flag_spec_F77='-R$libdir'
15319
hardcode_direct_F77=yes
15320
hardcode_shlibpath_var_F77=no
15324
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15325
hardcode_direct_F77=yes
15326
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15327
hardcode_libdir_separator_F77=:
15328
hardcode_shlibpath_var_F77=no
15332
if test -f /usr/libexec/ld.so; then
15333
hardcode_direct_F77=yes
15334
hardcode_shlibpath_var_F77=no
15335
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15336
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15337
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15338
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15339
export_dynamic_flag_spec_F77='${wl}-E'
15342
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15343
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15344
hardcode_libdir_flag_spec_F77='-R$libdir'
15347
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15348
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15358
hardcode_libdir_flag_spec_F77='-L$libdir'
15359
hardcode_minus_L_F77=yes
15360
allow_undefined_flag_F77=unsupported
15361
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'
15362
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15366
if test "$GCC" = yes; then
15367
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15368
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'
15370
allow_undefined_flag_F77=' -expect_unresolved \*'
15371
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'
15373
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15374
hardcode_libdir_separator_F77=:
15377
osf4* | osf5*) # as osf3* with the addition of -msym flag
15378
if test "$GCC" = yes; then
15379
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15380
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'
15381
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15383
allow_undefined_flag_F77=' -expect_unresolved \*'
15384
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'
15385
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~
15386
$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'
15388
# Both c and cxx compiler support -rpath directly
15389
hardcode_libdir_flag_spec_F77='-rpath $libdir'
15391
hardcode_libdir_separator_F77=:
15395
no_undefined_flag_F77=' -z text'
15396
if test "$GCC" = yes; then
15398
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15399
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15400
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15403
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15404
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15405
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15407
hardcode_libdir_flag_spec_F77='-R$libdir'
15408
hardcode_shlibpath_var_F77=no
15410
solaris2.[0-5] | solaris2.[0-5].*) ;;
15412
# The compiler driver will combine and reorder linker options,
15413
# but understands `-z linker_flag'. GCC discards it without `$wl',
15414
# but is careful enough not to reorder.
15415
# Supported since Solaris 2.6 (maybe 2.5.1?)
15416
if test "$GCC" = yes; then
15417
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15419
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15423
link_all_deplibs_F77=yes
15427
if test "x$host_vendor" = xsequent; then
15428
# Use $CC to link under sequent, because it throws in some extra .o
15429
# files that make .init and .fini sections work.
15430
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15432
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15434
hardcode_libdir_flag_spec_F77='-L$libdir'
15435
hardcode_direct_F77=yes
15436
hardcode_minus_L_F77=yes
15437
hardcode_shlibpath_var_F77=no
15441
case $host_vendor in
15443
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15444
hardcode_direct_F77=yes # is this really true???
15447
## LD is ld it makes a PLAMLIB
15448
## CC just makes a GrossModule.
15449
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15450
reload_cmds_F77='$CC -r -o $output$reload_objs'
15451
hardcode_direct_F77=no
15454
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15455
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15458
runpath_var='LD_RUN_PATH'
15459
hardcode_shlibpath_var_F77=no
15463
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15464
hardcode_shlibpath_var_F77=no
15465
export_dynamic_flag_spec_F77='-Bexport'
15469
if test -d /usr/nec; then
15470
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15471
hardcode_shlibpath_var_F77=no
15472
runpath_var=LD_RUN_PATH
15473
hardcode_runpath_var=yes
15478
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15479
no_undefined_flag_F77='${wl}-z,text'
15480
archive_cmds_need_lc_F77=no
15481
hardcode_shlibpath_var_F77=no
15482
runpath_var='LD_RUN_PATH'
15484
if test "$GCC" = yes; then
15485
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15486
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15488
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15489
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15493
sysv5* | sco3.2v5* | sco5v6*)
15494
# Note: We can NOT use -z defs as we might desire, because we do not
15495
# link with -lc, and that would cause any symbols used from libc to
15496
# always be unresolved, which means just about no library would
15497
# ever link correctly. If we're not using GNU ld we use -z text
15498
# though, which does catch some bad symbols but isn't as heavy-handed
15500
no_undefined_flag_F77='${wl}-z,text'
15501
allow_undefined_flag_F77='${wl}-z,nodefs'
15502
archive_cmds_need_lc_F77=no
15503
hardcode_shlibpath_var_F77=no
15504
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15505
hardcode_libdir_separator_F77=':'
15506
link_all_deplibs_F77=yes
15507
export_dynamic_flag_spec_F77='${wl}-Bexport'
15508
runpath_var='LD_RUN_PATH'
15510
if test "$GCC" = yes; then
15511
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15512
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15514
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15515
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15520
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15521
hardcode_libdir_flag_spec_F77='-L$libdir'
15522
hardcode_shlibpath_var_F77=no
15531
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15532
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15533
test "$ld_shlibs_F77" = no && can_build_shared=no
15536
# Do we need to explicitly link libc?
15538
case "x$archive_cmds_need_lc_F77" in
15540
# Assume -lc should be added
15541
archive_cmds_need_lc_F77=yes
15543
if test "$enable_shared" = yes && test "$GCC" = yes; then
15544
case $archive_cmds_F77 in
15546
# FIXME: we may have to deal with multi-command sequences.
15549
# Test whether the compiler implicitly links with -lc since on some
15550
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15551
# to ld, don't add -lc before -lgcc.
15552
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15553
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15555
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15557
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558
(eval $ac_compile) 2>&5
15560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561
(exit $ac_status); } 2>conftest.err; then
15564
libobjs=conftest.$ac_objext
15566
wl=$lt_prog_compiler_wl_F77
15567
pic_flag=$lt_prog_compiler_pic_F77
15573
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15574
allow_undefined_flag_F77=
15575
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15576
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579
(exit $ac_status); }
15581
archive_cmds_need_lc_F77=no
15583
archive_cmds_need_lc_F77=yes
15585
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15587
cat conftest.err 1>&5
15590
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15591
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15598
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15599
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15600
library_names_spec=
15601
libname_spec='lib$name'
15605
postuninstall_cmds=
15609
shlibpath_overrides_runpath=unknown
15611
dynamic_linker="$host_os ld.so"
15612
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15614
need_lib_prefix=unknown
15615
hardcode_into_libs=no
15617
# when you set need_version to no, make sure it does not cause -set_version
15618
# flags to be left without arguments
15619
need_version=unknown
15624
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15625
shlibpath_var=LIBPATH
15627
# AIX 3 has no versioning support, so we append a major version to the name.
15628
soname_spec='${libname}${release}${shared_ext}$major'
15635
hardcode_into_libs=yes
15636
if test "$host_cpu" = ia64; then
15637
# AIX 5 supports IA64
15638
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15639
shlibpath_var=LD_LIBRARY_PATH
15641
# With GCC up to 2.95.x, collect2 would create an import file
15642
# for dependence libraries. The import file would start with
15643
# the line `#! .'. This would cause the generated library to
15644
# depend on `.', always an invalid library. This was fixed in
15645
# development snapshots of GCC prior to 3.0.
15647
aix4 | aix4.[01] | aix4.[01].*)
15648
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15650
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15653
can_build_shared=no
15657
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15658
# soname into executable. Probably we can add versioning support to
15659
# collect2, so additional links can be useful in future.
15660
if test "$aix_use_runtimelinking" = yes; then
15661
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15662
# instead of lib<name>.a to let people know that these are not
15663
# typical AIX shared libraries.
15664
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15666
# We preserve .a as extension for shared libraries through AIX4.2
15667
# and later when we are not doing run time linking.
15668
library_names_spec='${libname}${release}.a $libname.a'
15669
soname_spec='${libname}${release}${shared_ext}$major'
15671
shlibpath_var=LIBPATH
15676
library_names_spec='$libname.ixlibrary $libname.a'
15677
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15678
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'
15682
library_names_spec='${libname}${shared_ext}'
15683
dynamic_linker="$host_os ld.so"
15684
shlibpath_var=LIBRARY_PATH
15690
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15691
soname_spec='${libname}${release}${shared_ext}$major'
15692
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15693
shlibpath_var=LD_LIBRARY_PATH
15694
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15695
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15696
# the default ld.so.conf also contains /usr/contrib/lib and
15697
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15698
# libtool to hard-code these into programs
15701
cygwin* | mingw* | pw32*)
15702
version_type=windows
15707
case $GCC,$host_os in
15708
yes,cygwin* | yes,mingw* | yes,pw32*)
15709
library_names_spec='$libname.dll.a'
15710
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15711
postinstall_cmds='base_file=`basename \${file}`~
15712
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15713
dldir=$destdir/`dirname \$dlpath`~
15714
test -d \$dldir || mkdir -p \$dldir~
15715
$install_prog $dir/$dlname \$dldir/$dlname~
15716
chmod a+x \$dldir/$dlname'
15717
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15718
dlpath=$dir/\$dldll~
15720
shlibpath_overrides_runpath=yes
15724
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15725
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15726
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15729
# MinGW DLLs use traditional 'lib' prefix
15730
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15731
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15732
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15733
# It is most probably a Windows format PATH printed by
15734
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15735
# path with ; separators, and with drive letters. We can handle the
15736
# drive letters (cygwin fileutils understands them), so leave them,
15737
# especially as we might pass files found there to a mingw objdump,
15738
# which wouldn't understand a cygwinified path. Ahh.
15739
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15741
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15745
# pw32 DLLs use 'pw' prefix rather than 'lib'
15746
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15752
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15755
dynamic_linker='Win32 ld.exe'
15756
# FIXME: first we should search . and the directory the executable is in
15760
darwin* | rhapsody*)
15761
dynamic_linker="$host_os dyld"
15762
version_type=darwin
15765
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15766
soname_spec='${libname}${release}${major}$shared_ext'
15767
shlibpath_overrides_runpath=yes
15768
shlibpath_var=DYLD_LIBRARY_PATH
15769
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15771
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15778
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15779
soname_spec='${libname}${release}${shared_ext}$major'
15780
shlibpath_var=LD_LIBRARY_PATH
15787
freebsd* | dragonfly*)
15788
# DragonFly does not have aout. When/if they implement a new
15789
# versioning mechanism, adjust this.
15790
if test -x /usr/bin/objformat; then
15791
objformat=`/usr/bin/objformat`
15794
freebsd[123]*) objformat=aout ;;
15795
*) objformat=elf ;;
15798
version_type=freebsd-$objformat
15799
case $version_type in
15801
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15806
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15810
shlibpath_var=LD_LIBRARY_PATH
15813
shlibpath_overrides_runpath=yes
15815
freebsd3.[01]* | freebsdelf3.[01]*)
15816
shlibpath_overrides_runpath=yes
15817
hardcode_into_libs=yes
15819
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15820
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15821
shlibpath_overrides_runpath=no
15822
hardcode_into_libs=yes
15824
*) # from 4.6 on, and DragonFly
15825
shlibpath_overrides_runpath=yes
15826
hardcode_into_libs=yes
15835
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15836
soname_spec='${libname}${release}${shared_ext}$major'
15837
shlibpath_var=LD_LIBRARY_PATH
15838
hardcode_into_libs=yes
15841
hpux9* | hpux10* | hpux11*)
15842
# Give a soname corresponding to the major version so that dld.sl refuses to
15843
# link against other versions.
15850
hardcode_into_libs=yes
15851
dynamic_linker="$host_os dld.so"
15852
shlibpath_var=LD_LIBRARY_PATH
15853
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855
soname_spec='${libname}${release}${shared_ext}$major'
15856
if test "X$HPUX_IA64_MODE" = X32; then
15857
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15859
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15861
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15865
hardcode_into_libs=yes
15866
dynamic_linker="$host_os dld.sl"
15867
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15868
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15869
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15870
soname_spec='${libname}${release}${shared_ext}$major'
15871
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15872
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15876
dynamic_linker="$host_os dld.sl"
15877
shlibpath_var=SHLIB_PATH
15878
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15880
soname_spec='${libname}${release}${shared_ext}$major'
15883
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15884
postinstall_cmds='chmod 555 $lib'
15891
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15892
soname_spec='${libname}${release}${shared_ext}$major'
15893
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15894
shlibpath_var=LD_LIBRARY_PATH
15895
shlibpath_overrides_runpath=no
15896
hardcode_into_libs=yes
15899
irix5* | irix6* | nonstopux*)
15901
nonstopux*) version_type=nonstopux ;;
15903
if test "$lt_cv_prog_gnu_ld" = yes; then
15911
soname_spec='${libname}${release}${shared_ext}$major'
15912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15914
irix5* | nonstopux*)
15915
libsuff= shlibsuff=
15918
case $LD in # libtool.m4 will add one of these switches to LD
15919
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15920
libsuff= shlibsuff= libmagic=32-bit;;
15921
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15922
libsuff=32 shlibsuff=N32 libmagic=N32;;
15923
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15924
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15925
*) libsuff= shlibsuff= libmagic=never-match;;
15929
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15930
shlibpath_overrides_runpath=no
15931
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15932
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15933
hardcode_into_libs=yes
15936
# No shared lib support for Linux oldld, aout, or coff.
15937
linux*oldld* | linux*aout* | linux*coff*)
15941
# This must be Linux ELF.
15942
linux* | k*bsd*-gnu)
15946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947
soname_spec='${libname}${release}${shared_ext}$major'
15948
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15949
shlibpath_var=LD_LIBRARY_PATH
15950
shlibpath_overrides_runpath=no
15951
# This implies no fast_install, which is unacceptable.
15952
# Some rework will be needed to allow for fast_install
15953
# before this can be enabled.
15954
hardcode_into_libs=yes
15956
# Append ld.so.conf contents to the search path
15957
if test -f /etc/ld.so.conf; then
15958
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' ' '`
15959
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15962
# We used to test for /lib/ld.so.1 and disable shared libraries on
15963
# powerpc, because MkLinux only supported shared libraries with the
15964
# GNU dynamic linker. Since this was broken with cross compilers,
15965
# most powerpc-linux boxes support dynamic linking these days and
15966
# people can always --disable-shared, the test was removed, and we
15967
# assume the GNU/Linux dynamic linker is in use.
15968
dynamic_linker='GNU/Linux ld.so'
15975
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15976
soname_spec='${libname}${release}${shared_ext}$major'
15977
shlibpath_var=LD_LIBRARY_PATH
15978
shlibpath_overrides_runpath=no
15979
hardcode_into_libs=yes
15980
dynamic_linker='NetBSD ld.elf_so'
15987
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15988
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15989
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15990
dynamic_linker='NetBSD (a.out) ld.so'
15992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15993
soname_spec='${libname}${release}${shared_ext}$major'
15994
dynamic_linker='NetBSD ld.elf_so'
15996
shlibpath_var=LD_LIBRARY_PATH
15997
shlibpath_overrides_runpath=yes
15998
hardcode_into_libs=yes
16003
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16004
shlibpath_var=LD_LIBRARY_PATH
16005
shlibpath_overrides_runpath=yes
16012
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16013
soname_spec='${libname}${release}${shared_ext}$major'
16014
shlibpath_var=LD_LIBRARY_PATH
16015
shlibpath_overrides_runpath=yes
16020
sys_lib_dlsearch_path_spec="/usr/lib"
16022
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16024
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16025
*) need_version=no ;;
16027
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16028
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16029
shlibpath_var=LD_LIBRARY_PATH
16030
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16032
openbsd2.[89] | openbsd2.[89].*)
16033
shlibpath_overrides_runpath=no
16036
shlibpath_overrides_runpath=yes
16040
shlibpath_overrides_runpath=yes
16045
libname_spec='$name'
16048
library_names_spec='$libname${shared_ext} $libname.a'
16049
dynamic_linker='OS/2 ld.exe'
16050
shlibpath_var=LIBPATH
16053
osf3* | osf4* | osf5*)
16057
soname_spec='${libname}${release}${shared_ext}$major'
16058
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059
shlibpath_var=LD_LIBRARY_PATH
16060
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16061
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073
soname_spec='${libname}${release}${shared_ext}$major'
16074
shlibpath_var=LD_LIBRARY_PATH
16075
shlibpath_overrides_runpath=yes
16076
hardcode_into_libs=yes
16077
# ldd complains unless libraries are executable
16078
postinstall_cmds='chmod +x $lib'
16083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16084
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16085
shlibpath_var=LD_LIBRARY_PATH
16086
shlibpath_overrides_runpath=yes
16087
if test "$with_gnu_ld" = yes; then
16095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16096
soname_spec='${libname}${release}${shared_ext}$major'
16097
shlibpath_var=LD_LIBRARY_PATH
16098
case $host_vendor in
16100
shlibpath_overrides_runpath=no
16102
export_dynamic_flag_spec='${wl}-Blargedynsym'
16103
runpath_var=LD_RUN_PATH
16111
shlibpath_overrides_runpath=no
16112
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16118
if test -d /usr/nec ;then
16120
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16121
soname_spec='$libname${shared_ext}.$major'
16122
shlibpath_var=LD_LIBRARY_PATH
16126
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16127
version_type=freebsd-elf
16130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16131
soname_spec='${libname}${release}${shared_ext}$major'
16132
shlibpath_var=LD_LIBRARY_PATH
16133
hardcode_into_libs=yes
16134
if test "$with_gnu_ld" = yes; then
16135
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16136
shlibpath_overrides_runpath=no
16138
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16139
shlibpath_overrides_runpath=yes
16142
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16146
sys_lib_dlsearch_path_spec='/usr/lib'
16151
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16152
soname_spec='${libname}${release}${shared_ext}$major'
16153
shlibpath_var=LD_LIBRARY_PATH
16160
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16161
echo "${ECHO_T}$dynamic_linker" >&6; }
16162
test "$dynamic_linker" = no && can_build_shared=no
16164
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16165
echo $ECHO_N "(cached) $ECHO_C" >&6
16167
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16170
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16171
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16172
echo $ECHO_N "(cached) $ECHO_C" >&6
16174
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16177
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16179
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16180
if test "$GCC" = yes; then
16181
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16184
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16185
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16186
hardcode_action_F77=
16187
if test -n "$hardcode_libdir_flag_spec_F77" || \
16188
test -n "$runpath_var_F77" || \
16189
test "X$hardcode_automatic_F77" = "Xyes" ; then
16191
# We can hardcode non-existant directories.
16192
if test "$hardcode_direct_F77" != no &&
16193
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16194
# have to relink, otherwise we might link with an installed library
16195
# when we should be linking with a yet-to-be-installed one
16196
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16197
test "$hardcode_minus_L_F77" != no; then
16198
# Linking always hardcodes the temporary library directory.
16199
hardcode_action_F77=relink
16201
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16202
hardcode_action_F77=immediate
16205
# We cannot hardcode anything, or else we can only hardcode existing
16207
hardcode_action_F77=unsupported
16209
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16210
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16212
if test "$hardcode_action_F77" = relink; then
16213
# Fast installation is not supported
16214
enable_fast_install=no
16215
elif test "$shlibpath_overrides_runpath" = yes ||
16216
test "$enable_shared" = no; then
16217
# Fast installation is not necessary
16218
enable_fast_install=needless
16222
# The else clause should only fire when bootstrapping the
16223
# libtool distribution, otherwise you forgot to ship ltmain.sh
16224
# with your package, and you will get complaints that there are
16225
# no rules to generate ltmain.sh.
16226
if test -f "$ltmain"; then
16227
# See if we are running on zsh, and set the options which allow our commands through
16228
# without removal of \ escapes.
16229
if test -n "${ZSH_VERSION+set}" ; then
16230
setopt NO_GLOB_SUBST
16232
# Now quote all the things that may contain metacharacters while being
16233
# careful not to overquote the AC_SUBSTed values. We take copies of the
16234
# variables and quote the copies for generation of the libtool script.
16235
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16237
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16238
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16239
deplibs_check_method reload_flag reload_cmds need_locks \
16240
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16241
lt_cv_sys_global_symbol_to_c_name_address \
16242
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16243
old_postinstall_cmds old_postuninstall_cmds \
16247
lt_prog_compiler_wl_F77 \
16248
lt_prog_compiler_pic_F77 \
16249
lt_prog_compiler_static_F77 \
16250
lt_prog_compiler_no_builtin_flag_F77 \
16251
export_dynamic_flag_spec_F77 \
16252
thread_safe_flag_spec_F77 \
16253
whole_archive_flag_spec_F77 \
16254
enable_shared_with_static_runtimes_F77 \
16255
old_archive_cmds_F77 \
16256
old_archive_from_new_cmds_F77 \
16257
predep_objects_F77 \
16258
postdep_objects_F77 \
16261
compiler_lib_search_path_F77 \
16262
compiler_lib_search_dirs_F77 \
16264
archive_expsym_cmds_F77 \
16265
postinstall_cmds_F77 \
16266
postuninstall_cmds_F77 \
16267
old_archive_from_expsyms_cmds_F77 \
16268
allow_undefined_flag_F77 \
16269
no_undefined_flag_F77 \
16270
export_symbols_cmds_F77 \
16271
hardcode_libdir_flag_spec_F77 \
16272
hardcode_libdir_flag_spec_ld_F77 \
16273
hardcode_libdir_separator_F77 \
16274
hardcode_automatic_F77 \
16276
module_expsym_cmds_F77 \
16277
lt_cv_prog_compiler_c_o_F77 \
16278
fix_srcfile_path_F77 \
16279
exclude_expsyms_F77 \
16280
include_expsyms_F77; do
16283
old_archive_cmds_F77 | \
16284
old_archive_from_new_cmds_F77 | \
16285
archive_cmds_F77 | \
16286
archive_expsym_cmds_F77 | \
16287
module_cmds_F77 | \
16288
module_expsym_cmds_F77 | \
16289
old_archive_from_expsyms_cmds_F77 | \
16290
export_symbols_cmds_F77 | \
16291
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16292
postinstall_cmds | postuninstall_cmds | \
16293
old_postinstall_cmds | old_postuninstall_cmds | \
16294
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16295
# Double-quote double-evaled strings.
16296
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16299
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16305
*'\$0 --fallback-echo"')
16306
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16312
cat <<__EOF__ >> "$cfgfile"
16313
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16315
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16317
# Shell to use when invoking shell scripts.
16320
# Whether or not to build shared libraries.
16321
build_libtool_libs=$enable_shared
16323
# Whether or not to build static libraries.
16324
build_old_libs=$enable_static
16326
# Whether or not to add -lc for building shared libraries.
16327
build_libtool_need_lc=$archive_cmds_need_lc_F77
16329
# Whether or not to disallow shared libs when runtime libs are static
16330
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16332
# Whether or not to optimize for fast installation.
16333
fast_install=$enable_fast_install
16336
host_alias=$host_alias
16340
# The build system.
16341
build_alias=$build_alias
16345
# An echo program that does not interpret backslashes.
16350
AR_FLAGS=$lt_AR_FLAGS
16355
# LTCC compiler flags.
16356
LTCFLAGS=$lt_LTCFLAGS
16358
# A language-specific compiler.
16359
CC=$lt_compiler_F77
16361
# Is the compiler the GNU C compiler?
16367
# The linker used to build libraries.
16370
# Whether we need hard or soft links.
16373
# A BSD-compatible nm program.
16376
# A symbol stripping program
16379
# Used to examine libraries when file_magic_cmd begins "file"
16380
MAGIC_CMD=$MAGIC_CMD
16382
# Used on cygwin: DLL creation program.
16385
# Used on cygwin: object dumper.
16388
# Used on cygwin: assembler.
16391
# The name of the directory that contains temporary libtool files.
16394
# How to create reloadable object files.
16395
reload_flag=$lt_reload_flag
16396
reload_cmds=$lt_reload_cmds
16398
# How to pass a linker flag through the compiler.
16399
wl=$lt_lt_prog_compiler_wl_F77
16401
# Object file suffix (normally "o").
16402
objext="$ac_objext"
16404
# Old archive suffix (normally "a").
16407
# Shared library suffix (normally ".so").
16408
shrext_cmds='$shrext_cmds'
16410
# Executable file suffix (normally "").
16413
# Additional compiler flags for building library objects.
16414
pic_flag=$lt_lt_prog_compiler_pic_F77
16417
# What is the maximum length of a command?
16418
max_cmd_len=$lt_cv_sys_max_cmd_len
16420
# Does compiler simultaneously support -c and -o options?
16421
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16423
# Must we lock files when doing compilation?
16424
need_locks=$lt_need_locks
16426
# Do we need the lib prefix for modules?
16427
need_lib_prefix=$need_lib_prefix
16429
# Do we need a version for libraries?
16430
need_version=$need_version
16432
# Whether dlopen is supported.
16433
dlopen_support=$enable_dlopen
16435
# Whether dlopen of programs is supported.
16436
dlopen_self=$enable_dlopen_self
16438
# Whether dlopen of statically linked programs is supported.
16439
dlopen_self_static=$enable_dlopen_self_static
16441
# Compiler flag to prevent dynamic linking.
16442
link_static_flag=$lt_lt_prog_compiler_static_F77
16444
# Compiler flag to turn off builtin functions.
16445
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16447
# Compiler flag to allow reflexive dlopens.
16448
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16450
# Compiler flag to generate shared objects directly from archives.
16451
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16453
# Compiler flag to generate thread-safe objects.
16454
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16456
# Library versioning type.
16457
version_type=$version_type
16459
# Format of library name prefix.
16460
libname_spec=$lt_libname_spec
16462
# List of archive names. First name is the real one, the rest are links.
16463
# The last name is the one that the linker finds with -lNAME.
16464
library_names_spec=$lt_library_names_spec
16466
# The coded name of the library, if different from the real name.
16467
soname_spec=$lt_soname_spec
16469
# Commands used to build and install an old-style archive.
16471
old_archive_cmds=$lt_old_archive_cmds_F77
16472
old_postinstall_cmds=$lt_old_postinstall_cmds
16473
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16475
# Create an old-style archive from a shared archive.
16476
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16478
# Create a temporary old-style archive to link instead of a shared archive.
16479
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16481
# Commands used to build and install a shared archive.
16482
archive_cmds=$lt_archive_cmds_F77
16483
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16484
postinstall_cmds=$lt_postinstall_cmds
16485
postuninstall_cmds=$lt_postuninstall_cmds
16487
# Commands used to build a loadable module (assumed same as above if empty)
16488
module_cmds=$lt_module_cmds_F77
16489
module_expsym_cmds=$lt_module_expsym_cmds_F77
16491
# Commands to strip libraries.
16492
old_striplib=$lt_old_striplib
16493
striplib=$lt_striplib
16495
# Dependencies to place before the objects being linked to create a
16497
predep_objects=$lt_predep_objects_F77
16499
# Dependencies to place after the objects being linked to create a
16501
postdep_objects=$lt_postdep_objects_F77
16503
# Dependencies to place before the objects being linked to create a
16505
predeps=$lt_predeps_F77
16507
# Dependencies to place after the objects being linked to create a
16509
postdeps=$lt_postdeps_F77
16511
# The directories searched by this compiler when creating a shared
16513
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16515
# The library search path used internally by the compiler when linking
16516
# a shared library.
16517
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16519
# Method to check whether dependent libraries are shared objects.
16520
deplibs_check_method=$lt_deplibs_check_method
16522
# Command to use when deplibs_check_method == file_magic.
16523
file_magic_cmd=$lt_file_magic_cmd
16525
# Flag that allows shared libraries with undefined symbols to be built.
16526
allow_undefined_flag=$lt_allow_undefined_flag_F77
16528
# Flag that forces no undefined symbols.
16529
no_undefined_flag=$lt_no_undefined_flag_F77
16531
# Commands used to finish a libtool library installation in a directory.
16532
finish_cmds=$lt_finish_cmds
16534
# Same as above, but a single script fragment to be evaled but not shown.
16535
finish_eval=$lt_finish_eval
16537
# Take the output of nm and produce a listing of raw symbols and C names.
16538
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16540
# Transform the output of nm in a proper C declaration
16541
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16543
# Transform the output of nm in a C name address pair
16544
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16546
# This is the shared library runtime path variable.
16547
runpath_var=$runpath_var
16549
# This is the shared library path variable.
16550
shlibpath_var=$shlibpath_var
16552
# Is shlibpath searched before the hard-coded library search path?
16553
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16555
# How to hardcode a shared library path into an executable.
16556
hardcode_action=$hardcode_action_F77
16558
# Whether we should hardcode library paths into libraries.
16559
hardcode_into_libs=$hardcode_into_libs
16561
# Flag to hardcode \$libdir into a binary during linking.
16562
# This must work even if \$libdir does not exist.
16563
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16565
# If ld is used when linking, flag to hardcode \$libdir into
16566
# a binary during linking. This must work even if \$libdir does
16568
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16570
# Whether we need a single -rpath flag with a separated argument.
16571
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16573
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16574
# resulting binary.
16575
hardcode_direct=$hardcode_direct_F77
16577
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16578
# resulting binary.
16579
hardcode_minus_L=$hardcode_minus_L_F77
16581
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16582
# the resulting binary.
16583
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16585
# Set to yes if building a shared library automatically hardcodes DIR into the library
16586
# and all subsequent libraries and executables linked against it.
16587
hardcode_automatic=$hardcode_automatic_F77
16589
# Variables whose values should be saved in libtool wrapper scripts and
16590
# restored at relink time.
16591
variables_saved_for_relink="$variables_saved_for_relink"
16593
# Whether libtool must link a program against all its dependency libraries.
16594
link_all_deplibs=$link_all_deplibs_F77
16596
# Compile-time system search path for libraries
16597
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16599
# Run-time system search path for libraries
16600
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16602
# Fix the shell variable \$srcfile for the compiler.
16603
fix_srcfile_path=$lt_fix_srcfile_path
16605
# Set to yes if exported symbols are required.
16606
always_export_symbols=$always_export_symbols_F77
16608
# The commands to list exported symbols.
16609
export_symbols_cmds=$lt_export_symbols_cmds_F77
16611
# The commands to extract the exported symbol list from a shared archive.
16612
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16614
# Symbols that should not be listed in the preloaded symbols.
16615
exclude_expsyms=$lt_exclude_expsyms_F77
16617
# Symbols that must always be exported.
16618
include_expsyms=$lt_include_expsyms_F77
16620
# ### END LIBTOOL TAG CONFIG: $tagname
16626
# If there is no Makefile yet, we rely on a make rule to execute
16627
# `config.status --recheck' to rerun these tests and create the
16628
# libtool script then.
16629
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16630
if test -f "$ltmain_in"; then
16631
test -f Makefile && make "$ltmain"
16637
ac_cpp='$CPP $CPPFLAGS'
16638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16650
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16653
# Source file extension for Java test sources.
16656
# Object file extension for compiled Java test sources.
16660
# Code to be used in simple compile tests
16661
lt_simple_compile_test_code="class foo {}"
16663
# Code to be used in simple link tests
16664
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16666
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16668
# If no C compiler was specified, use CC.
16671
# If no C compiler flags were specified, use CFLAGS.
16672
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16674
# Allow CC to be a program name with arguments.
16678
# save warnings/boilerplate of simple test code
16679
ac_outfile=conftest.$ac_objext
16680
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16681
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16682
_lt_compiler_boilerplate=`cat conftest.err`
16685
ac_outfile=conftest.$ac_objext
16686
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16687
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16688
_lt_linker_boilerplate=`cat conftest.err`
16692
# Allow CC to be a program name with arguments.
16697
for cc_temp in $compiler""; do
16699
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16700
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16705
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16708
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16709
archive_cmds_need_lc_GCJ=no
16711
old_archive_cmds_GCJ=$old_archive_cmds
16714
lt_prog_compiler_no_builtin_flag_GCJ=
16716
if test "$GCC" = yes; then
16717
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16720
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16721
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16722
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16723
echo $ECHO_N "(cached) $ECHO_C" >&6
16725
lt_cv_prog_compiler_rtti_exceptions=no
16726
ac_outfile=conftest.$ac_objext
16727
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16728
lt_compiler_flag="-fno-rtti -fno-exceptions"
16729
# Insert the option either (1) after the last *FLAGS variable, or
16730
# (2) before a word containing "conftest.", or (3) at the end.
16731
# Note that $ac_compile itself does not contain backslashes and begins
16732
# with a dollar sign (not a hyphen), so the echo should work correctly.
16733
# The option is referenced via a variable to avoid confusing sed.
16734
lt_compile=`echo "$ac_compile" | $SED \
16735
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16736
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16737
-e 's:$: $lt_compiler_flag:'`
16738
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16739
(eval "$lt_compile" 2>conftest.err)
16741
cat conftest.err >&5
16742
echo "$as_me:__oline__: \$? = $ac_status" >&5
16743
if (exit $ac_status) && test -s "$ac_outfile"; then
16744
# The compiler can only warn and ignore the option if not recognized
16745
# So say no if there are warnings other than the usual output.
16746
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16747
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16748
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16749
lt_cv_prog_compiler_rtti_exceptions=yes
16755
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16756
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16758
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16759
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16766
lt_prog_compiler_wl_GCJ=
16767
lt_prog_compiler_pic_GCJ=
16768
lt_prog_compiler_static_GCJ=
16770
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16771
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16773
if test "$GCC" = yes; then
16774
lt_prog_compiler_wl_GCJ='-Wl,'
16775
lt_prog_compiler_static_GCJ='-static'
16779
# All AIX code is PIC.
16780
if test "$host_cpu" = ia64; then
16781
# AIX 5 now supports IA64 processor
16782
lt_prog_compiler_static_GCJ='-Bstatic'
16787
# FIXME: we need at least 68020 code to build shared libraries, but
16788
# adding the `-m68020' flag to GCC prevents building anything better,
16790
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16793
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16794
# PIC is the default for these OSes.
16797
mingw* | cygwin* | pw32* | os2*)
16798
# This hack is so that the source file can tell whether it is being
16799
# built for inclusion in a dll (and should export symbols for example).
16800
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16801
# (--disable-auto-import) libraries
16805
darwin* | rhapsody*)
16806
# PIC is the default on this platform
16807
# Common symbols not allowed in MH_DYLIB files
16808
lt_prog_compiler_pic_GCJ='-fno-common'
16812
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
16813
# Instead, we relocate shared libraries at runtime.
16817
# Just because we use GCC doesn't mean we suddenly get shared libraries
16818
# on systems that don't support them.
16819
lt_prog_compiler_can_build_shared_GCJ=no
16824
if test -d /usr/nec; then
16825
lt_prog_compiler_pic_GCJ=-Kconform_pic
16830
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16831
# not for PA HP-UX.
16837
lt_prog_compiler_pic_GCJ='-fPIC'
16843
lt_prog_compiler_pic_GCJ='-fPIC'
16847
# PORTME Check for flag to pass linker flags through the system compiler.
16850
lt_prog_compiler_wl_GCJ='-Wl,'
16851
if test "$host_cpu" = ia64; then
16852
# AIX 5 now supports IA64 processor
16853
lt_prog_compiler_static_GCJ='-Bstatic'
16855
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16859
# PIC is the default on this platform
16860
# Common symbols not allowed in MH_DYLIB files
16861
case $cc_basename in
16863
lt_prog_compiler_pic_GCJ='-qnocommon'
16864
lt_prog_compiler_wl_GCJ='-Wl,'
16869
mingw* | cygwin* | pw32* | os2*)
16870
# This hack is so that the source file can tell whether it is being
16871
# built for inclusion in a dll (and should export symbols for example).
16875
hpux9* | hpux10* | hpux11*)
16876
lt_prog_compiler_wl_GCJ='-Wl,'
16877
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16878
# not for PA HP-UX.
16884
lt_prog_compiler_pic_GCJ='+Z'
16887
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16888
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16891
irix5* | irix6* | nonstopux*)
16892
lt_prog_compiler_wl_GCJ='-Wl,'
16893
# PIC (with -KPIC) is the default.
16894
lt_prog_compiler_static_GCJ='-non_shared'
16898
lt_prog_compiler_pic_GCJ='-KPIC'
16899
lt_prog_compiler_static_GCJ='-Bstatic'
16902
linux* | k*bsd*-gnu)
16903
case $cc_basename in
16905
lt_prog_compiler_wl_GCJ='-Wl,'
16906
lt_prog_compiler_pic_GCJ='-KPIC'
16907
lt_prog_compiler_static_GCJ='-static'
16909
pgcc* | pgf77* | pgf90* | pgf95*)
16910
# Portland Group compilers (*not* the Pentium gcc compiler,
16911
# which looks to be a dead project)
16912
lt_prog_compiler_wl_GCJ='-Wl,'
16913
lt_prog_compiler_pic_GCJ='-fpic'
16914
lt_prog_compiler_static_GCJ='-Bstatic'
16917
lt_prog_compiler_wl_GCJ='-Wl,'
16918
# All Alpha code is PIC.
16919
lt_prog_compiler_static_GCJ='-non_shared'
16922
case `$CC -V 2>&1 | sed 5q` in
16925
lt_prog_compiler_pic_GCJ='-KPIC'
16926
lt_prog_compiler_static_GCJ='-Bstatic'
16927
lt_prog_compiler_wl_GCJ='-Wl,'
16930
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16931
lt_prog_compiler_pic_GCJ='-KPIC'
16932
lt_prog_compiler_static_GCJ='-Bstatic'
16933
lt_prog_compiler_wl_GCJ=''
16940
osf3* | osf4* | osf5*)
16941
lt_prog_compiler_wl_GCJ='-Wl,'
16942
# All OSF/1 code is PIC.
16943
lt_prog_compiler_static_GCJ='-non_shared'
16947
lt_prog_compiler_static_GCJ='-non_shared'
16951
lt_prog_compiler_pic_GCJ='-KPIC'
16952
lt_prog_compiler_static_GCJ='-Bstatic'
16953
case $cc_basename in
16954
f77* | f90* | f95*)
16955
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16957
lt_prog_compiler_wl_GCJ='-Wl,';;
16962
lt_prog_compiler_wl_GCJ='-Qoption ld '
16963
lt_prog_compiler_pic_GCJ='-PIC'
16964
lt_prog_compiler_static_GCJ='-Bstatic'
16967
sysv4 | sysv4.2uw2* | sysv4.3*)
16968
lt_prog_compiler_wl_GCJ='-Wl,'
16969
lt_prog_compiler_pic_GCJ='-KPIC'
16970
lt_prog_compiler_static_GCJ='-Bstatic'
16974
if test -d /usr/nec ;then
16975
lt_prog_compiler_pic_GCJ='-Kconform_pic'
16976
lt_prog_compiler_static_GCJ='-Bstatic'
16980
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16981
lt_prog_compiler_wl_GCJ='-Wl,'
16982
lt_prog_compiler_pic_GCJ='-KPIC'
16983
lt_prog_compiler_static_GCJ='-Bstatic'
16987
lt_prog_compiler_wl_GCJ='-Wl,'
16988
lt_prog_compiler_can_build_shared_GCJ=no
16992
lt_prog_compiler_pic_GCJ='-pic'
16993
lt_prog_compiler_static_GCJ='-Bstatic'
16997
lt_prog_compiler_can_build_shared_GCJ=no
17002
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17003
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17006
# Check to make sure the PIC flag actually works.
17008
if test -n "$lt_prog_compiler_pic_GCJ"; then
17010
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17011
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17012
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17013
echo $ECHO_N "(cached) $ECHO_C" >&6
17015
lt_cv_prog_compiler_pic_works_GCJ=no
17016
ac_outfile=conftest.$ac_objext
17017
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17018
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17019
# Insert the option either (1) after the last *FLAGS variable, or
17020
# (2) before a word containing "conftest.", or (3) at the end.
17021
# Note that $ac_compile itself does not contain backslashes and begins
17022
# with a dollar sign (not a hyphen), so the echo should work correctly.
17023
# The option is referenced via a variable to avoid confusing sed.
17024
lt_compile=`echo "$ac_compile" | $SED \
17025
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17026
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17027
-e 's:$: $lt_compiler_flag:'`
17028
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17029
(eval "$lt_compile" 2>conftest.err)
17031
cat conftest.err >&5
17032
echo "$as_me:__oline__: \$? = $ac_status" >&5
17033
if (exit $ac_status) && test -s "$ac_outfile"; then
17034
# The compiler can only warn and ignore the option if not recognized
17035
# So say no if there are warnings other than the usual output.
17036
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17037
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17038
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17039
lt_cv_prog_compiler_pic_works_GCJ=yes
17045
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17046
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17048
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17049
case $lt_prog_compiler_pic_GCJ in
17051
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17054
lt_prog_compiler_pic_GCJ=
17055
lt_prog_compiler_can_build_shared_GCJ=no
17060
# For platforms which do not support PIC, -DPIC is meaningless:
17062
lt_prog_compiler_pic_GCJ=
17065
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17070
# Check to make sure the static flag actually works.
17072
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17073
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17074
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17075
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17076
echo $ECHO_N "(cached) $ECHO_C" >&6
17078
lt_cv_prog_compiler_static_works_GCJ=no
17079
save_LDFLAGS="$LDFLAGS"
17080
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17081
echo "$lt_simple_link_test_code" > conftest.$ac_ext
17082
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17083
# The linker can only warn and ignore the option if not recognized
17084
# So say no if there are warnings
17085
if test -s conftest.err; then
17086
# Append any errors to the config.log.
17087
cat conftest.err 1>&5
17088
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17089
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17090
if diff conftest.exp conftest.er2 >/dev/null; then
17091
lt_cv_prog_compiler_static_works_GCJ=yes
17094
lt_cv_prog_compiler_static_works_GCJ=yes
17098
LDFLAGS="$save_LDFLAGS"
17101
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17102
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17104
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17107
lt_prog_compiler_static_GCJ=
17111
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17112
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17113
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17114
echo $ECHO_N "(cached) $ECHO_C" >&6
17116
lt_cv_prog_compiler_c_o_GCJ=no
17117
$rm -r conftest 2>/dev/null
17121
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17123
lt_compiler_flag="-o out/conftest2.$ac_objext"
17124
# Insert the option either (1) after the last *FLAGS variable, or
17125
# (2) before a word containing "conftest.", or (3) at the end.
17126
# Note that $ac_compile itself does not contain backslashes and begins
17127
# with a dollar sign (not a hyphen), so the echo should work correctly.
17128
lt_compile=`echo "$ac_compile" | $SED \
17129
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17130
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17131
-e 's:$: $lt_compiler_flag:'`
17132
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17133
(eval "$lt_compile" 2>out/conftest.err)
17135
cat out/conftest.err >&5
17136
echo "$as_me:__oline__: \$? = $ac_status" >&5
17137
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17139
# The compiler can only warn and ignore the option if not recognized
17140
# So say no if there are warnings
17141
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17142
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17143
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17144
lt_cv_prog_compiler_c_o_GCJ=yes
17149
# SGI C++ compiler will create directory out/ii_files/ for
17150
# template instantiation
17151
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17152
$rm out/* && rmdir out
17158
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17159
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17162
hard_links="nottested"
17163
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17164
# do not overwrite the value of need_locks provided by the user
17165
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17166
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17169
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17171
ln conftest.a conftest.b 2>&5 || hard_links=no
17172
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17173
{ echo "$as_me:$LINENO: result: $hard_links" >&5
17174
echo "${ECHO_T}$hard_links" >&6; }
17175
if test "$hard_links" = no; then
17176
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17177
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17184
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17185
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17188
allow_undefined_flag_GCJ=
17189
enable_shared_with_static_runtimes_GCJ=no
17191
archive_expsym_cmds_GCJ=
17192
old_archive_From_new_cmds_GCJ=
17193
old_archive_from_expsyms_cmds_GCJ=
17194
export_dynamic_flag_spec_GCJ=
17195
whole_archive_flag_spec_GCJ=
17196
thread_safe_flag_spec_GCJ=
17197
hardcode_libdir_flag_spec_GCJ=
17198
hardcode_libdir_flag_spec_ld_GCJ=
17199
hardcode_libdir_separator_GCJ=
17200
hardcode_direct_GCJ=no
17201
hardcode_minus_L_GCJ=no
17202
hardcode_shlibpath_var_GCJ=unsupported
17203
link_all_deplibs_GCJ=unknown
17204
hardcode_automatic_GCJ=no
17206
module_expsym_cmds_GCJ=
17207
always_export_symbols_GCJ=no
17208
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17209
# include_expsyms should be a list of space-separated symbols to be *always*
17210
# included in the symbol list
17211
include_expsyms_GCJ=
17212
# exclude_expsyms can be an extended regexp of symbols to exclude
17213
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17214
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17215
# as well as any symbol that contains `d'.
17216
exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17217
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17218
# platforms (ab)use it in PIC code, but their linkers get confused if
17219
# the symbol is explicitly referenced. Since portable code cannot
17220
# rely on this symbol name, it's probably fine to never include it in
17221
# preloaded symbol tables.
17222
# Exclude shared library initialization/finalization symbols.
17223
extract_expsyms_cmds=
17224
# Just being paranoid about ensuring that cc_basename is set.
17225
for cc_temp in $compiler""; do
17227
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17228
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17233
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17236
cygwin* | mingw* | pw32*)
17237
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17238
# When not using gcc, we currently assume that we are using
17239
# Microsoft Visual C++.
17240
if test "$GCC" != yes; then
17245
# we just hope/assume this is gcc and not c89 (= MSVC++)
17254
if test "$with_gnu_ld" = yes; then
17255
# If archive_cmds runs LD, not CC, wlarc should be empty
17258
# Set some defaults for GNU ld with shared library support. These
17259
# are reset later if shared libraries are not supported. Putting them
17260
# here allows them to be overridden if necessary.
17261
runpath_var=LD_RUN_PATH
17262
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17263
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17264
# ancient GNU ld didn't support --whole-archive et. al.
17265
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17266
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17268
whole_archive_flag_spec_GCJ=
17270
supports_anon_versioning=no
17271
case `$LD -v 2>/dev/null` in
17272
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17273
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17274
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17275
*\ 2.11.*) ;; # other 2.11 versions
17276
*) supports_anon_versioning=yes ;;
17279
# See if GNU ld supports shared libraries.
17282
# On AIX/PPC, the GNU linker is very broken
17283
if test "$host_cpu" != ia64; then
17287
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17288
*** to be unable to reliably create shared libraries on AIX.
17289
*** Therefore, libtool is disabling shared libraries support. If you
17290
*** really care for shared libraries, you may want to modify your PATH
17291
*** so that a non-GNU linker is found, and then restart.
17298
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)'
17299
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17300
hardcode_minus_L_GCJ=yes
17302
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17303
# that the semantics of dynamic libraries on AmigaOS, at least up
17304
# to version 4, is to share data among multiple programs linked
17305
# with the same dynamic library. Since this doesn't match the
17306
# behavior of shared libraries on other platforms, we can't use
17312
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17313
allow_undefined_flag_GCJ=unsupported
17314
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17315
# support --undefined. This deserves some investigation. FIXME
17316
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17322
cygwin* | mingw* | pw32*)
17323
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17324
# as there is no search path for DLLs.
17325
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17326
allow_undefined_flag_GCJ=unsupported
17327
always_export_symbols_GCJ=no
17328
enable_shared_with_static_runtimes_GCJ=yes
17329
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17331
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17332
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17333
# If the export-symbols file already is a .def file (1st line
17334
# is EXPORTS), use it as is; otherwise, prepend...
17335
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17336
cp $export_symbols $output_objdir/$soname.def;
17338
echo EXPORTS > $output_objdir/$soname.def;
17339
cat $export_symbols >> $output_objdir/$soname.def;
17341
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17348
hardcode_direct_GCJ=no
17349
hardcode_shlibpath_var_GCJ=no
17350
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17351
export_dynamic_flag_spec_GCJ='${wl}-E'
17352
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17353
# Instead, shared libraries are loaded at an image base (0x10000000 by
17354
# default) and relocated if they conflict, which is a slow very memory
17355
# consuming and fragmenting process. To avoid this, we pick a random,
17356
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17357
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
17358
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'
17359
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'
17362
gnu* | linux* | k*bsd*-gnu)
17363
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17365
case $cc_basename,$host_cpu in
17366
pgcc*) # Portland Group C compiler
17367
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'
17368
tmp_addflag=' $pic_flag'
17370
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17371
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'
17372
tmp_addflag=' $pic_flag -Mnomain' ;;
17373
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17374
tmp_addflag=' -i_dynamic' ;;
17375
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17376
tmp_addflag=' -i_dynamic -nofor_main' ;;
17377
ifc* | ifort*) # Intel Fortran compiler
17378
tmp_addflag=' -nofor_main' ;;
17380
case `$CC -V 2>&1 | sed 5q` in
17381
*Sun\ C*) # Sun C 5.9
17382
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'
17383
tmp_sharedflag='-G' ;;
17384
*Sun\ F*) # Sun Fortran 8.3
17385
tmp_sharedflag='-G' ;;
17387
tmp_sharedflag='-shared' ;;
17389
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17391
if test $supports_anon_versioning = yes; then
17392
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17393
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17394
$echo "local: *; };" >> $output_objdir/$libname.ver~
17395
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17397
link_all_deplibs_GCJ=no
17403
netbsd* | netbsdelf*-gnu)
17404
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17405
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17408
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17409
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17414
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17418
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17419
*** create shared libraries on Solaris systems. Therefore, libtool
17420
*** is disabling shared libraries support. We urge you to upgrade GNU
17421
*** binutils to release 2.9.1 or newer. Another option is to modify
17422
*** your PATH or compiler configuration so that the native linker is
17423
*** used, and then restart.
17426
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17427
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17428
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17434
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17435
case `$LD -v 2>&1` in
17436
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17440
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17441
*** reliably create shared libraries on SCO systems. Therefore, libtool
17442
*** is disabling shared libraries support. We urge you to upgrade GNU
17443
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17444
*** your PATH or compiler configuration so that the native linker is
17445
*** used, and then restart.
17450
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17451
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17452
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17453
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17462
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17464
hardcode_direct_GCJ=yes
17465
hardcode_shlibpath_var_GCJ=no
17469
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17470
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17471
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17478
if test "$ld_shlibs_GCJ" = no; then
17480
hardcode_libdir_flag_spec_GCJ=
17481
export_dynamic_flag_spec_GCJ=
17482
whole_archive_flag_spec_GCJ=
17485
# PORTME fill in a description of your system's linker (not GNU ld)
17488
allow_undefined_flag_GCJ=unsupported
17489
always_export_symbols_GCJ=yes
17490
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'
17491
# Note: this linker hardcodes the directories in LIBPATH if there
17492
# are no directories specified by -L.
17493
hardcode_minus_L_GCJ=yes
17494
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17495
# Neither direct hardcoding nor static linking is supported with a
17497
hardcode_direct_GCJ=unsupported
17502
if test "$host_cpu" = ia64; then
17503
# On IA64, the linker does run time linking by default, so we don't
17504
# have to do anything special.
17505
aix_use_runtimelinking=no
17506
exp_sym_flag='-Bexport'
17509
# If we're using GNU nm, then we don't want the "-C" option.
17510
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17511
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17512
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'
17514
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'
17516
aix_use_runtimelinking=no
17518
# Test if we are trying to use run time linking or normal
17519
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17520
# need to do runtime linking.
17521
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17522
for ld_flag in $LDFLAGS; do
17523
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17524
aix_use_runtimelinking=yes
17531
exp_sym_flag='-bexport'
17532
no_entry_flag='-bnoentry'
17535
# When large executables or shared objects are built, AIX ld can
17536
# have problems creating the table of contents. If linking a library
17537
# or program results in "error TOC overflow" add -mminimal-toc to
17538
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17539
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17541
archive_cmds_GCJ=''
17542
hardcode_direct_GCJ=yes
17543
hardcode_libdir_separator_GCJ=':'
17544
link_all_deplibs_GCJ=yes
17546
if test "$GCC" = yes; then
17547
case $host_os in aix4.[012]|aix4.[012].*)
17548
# We only want to do this on AIX 4.2 and lower, the check
17549
# below for broken collect2 doesn't work under 4.3+
17550
collect2name=`${CC} -print-prog-name=collect2`
17551
if test -f "$collect2name" && \
17552
strings "$collect2name" | grep resolve_lib_name >/dev/null
17554
# We have reworked collect2
17557
# We have old collect2
17558
hardcode_direct_GCJ=unsupported
17559
# It fails to find uninstalled libraries when the uninstalled
17560
# path is not listed in the libpath. Setting hardcode_minus_L
17561
# to unsupported forces relinking
17562
hardcode_minus_L_GCJ=yes
17563
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17564
hardcode_libdir_separator_GCJ=
17568
shared_flag='-shared'
17569
if test "$aix_use_runtimelinking" = yes; then
17570
shared_flag="$shared_flag "'${wl}-G'
17574
if test "$host_cpu" = ia64; then
17575
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17576
# chokes on -Wl,-G. The following line is correct:
17579
if test "$aix_use_runtimelinking" = yes; then
17580
shared_flag='${wl}-G'
17582
shared_flag='${wl}-bM:SRE'
17587
# It seems that -bexpall does not export symbols beginning with
17588
# underscore (_), so it is better to generate a list of symbols to export.
17589
always_export_symbols_GCJ=yes
17590
if test "$aix_use_runtimelinking" = yes; then
17591
# Warning - without using the other runtime loading flags (-brtl),
17592
# -berok will link without error, but may produce a broken library.
17593
allow_undefined_flag_GCJ='-berok'
17594
# Determine the default libpath from the value encoded in an empty executable.
17595
cat >conftest.$ac_ext <<_ACEOF
17598
cat confdefs.h >>conftest.$ac_ext
17599
cat >>conftest.$ac_ext <<_ACEOF
17600
/* end confdefs.h. */
17610
rm -f conftest.$ac_objext conftest$ac_exeext
17611
if { (ac_try="$ac_link"
17612
case "(($ac_try" in
17613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614
*) ac_try_echo=$ac_try;;
17616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617
(eval "$ac_link") 2>conftest.er1
17619
grep -v '^ *+' conftest.er1 >conftest.err
17621
cat conftest.err >&5
17622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623
(exit $ac_status); } && {
17624
test -z "$ac_c_werror_flag" ||
17625
test ! -s conftest.err
17626
} && test -s conftest$ac_exeext &&
17627
$as_test_x conftest$ac_exeext; then
17629
lt_aix_libpath_sed='
17630
/Import File Strings/,/^$/ {
17636
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17637
# Check for a 64-bit object if we didn't find anything.
17638
if test -z "$aix_libpath"; then
17639
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17642
echo "$as_me: failed program was:" >&5
17643
sed 's/^/| /' conftest.$ac_ext >&5
17648
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17649
conftest$ac_exeext conftest.$ac_ext
17650
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17652
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17653
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"
17655
if test "$host_cpu" = ia64; then
17656
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17657
allow_undefined_flag_GCJ="-z nodefs"
17658
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"
17660
# Determine the default libpath from the value encoded in an empty executable.
17661
cat >conftest.$ac_ext <<_ACEOF
17664
cat confdefs.h >>conftest.$ac_ext
17665
cat >>conftest.$ac_ext <<_ACEOF
17666
/* end confdefs.h. */
17676
rm -f conftest.$ac_objext conftest$ac_exeext
17677
if { (ac_try="$ac_link"
17678
case "(($ac_try" in
17679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680
*) ac_try_echo=$ac_try;;
17682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683
(eval "$ac_link") 2>conftest.er1
17685
grep -v '^ *+' conftest.er1 >conftest.err
17687
cat conftest.err >&5
17688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689
(exit $ac_status); } && {
17690
test -z "$ac_c_werror_flag" ||
17691
test ! -s conftest.err
17692
} && test -s conftest$ac_exeext &&
17693
$as_test_x conftest$ac_exeext; then
17695
lt_aix_libpath_sed='
17696
/Import File Strings/,/^$/ {
17702
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17703
# Check for a 64-bit object if we didn't find anything.
17704
if test -z "$aix_libpath"; then
17705
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17708
echo "$as_me: failed program was:" >&5
17709
sed 's/^/| /' conftest.$ac_ext >&5
17714
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715
conftest$ac_exeext conftest.$ac_ext
17716
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17718
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17719
# Warning - without using the other run time loading flags,
17720
# -berok will link without error, but may produce a broken library.
17721
no_undefined_flag_GCJ=' ${wl}-bernotok'
17722
allow_undefined_flag_GCJ=' ${wl}-berok'
17723
# Exported symbols can be pulled into shared objects from archives
17724
whole_archive_flag_spec_GCJ='$convenience'
17725
archive_cmds_need_lc_GCJ=yes
17726
# This is similar to how AIX traditionally builds its shared libraries.
17727
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'
17733
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)'
17734
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17735
hardcode_minus_L_GCJ=yes
17736
# see comment about different semantics on the GNU ld section
17741
export_dynamic_flag_spec_GCJ=-rdynamic
17744
cygwin* | mingw* | pw32*)
17745
# When not using gcc, we currently assume that we are using
17746
# Microsoft Visual C++.
17747
# hardcode_libdir_flag_spec is actually meaningless, as there is
17748
# no search path for DLLs.
17749
hardcode_libdir_flag_spec_GCJ=' '
17750
allow_undefined_flag_GCJ=unsupported
17751
# Tell ltmain to make .lib files, not .a files.
17753
# Tell ltmain to make .dll files, not .so files.
17755
# FIXME: Setting linknames here is a bad hack.
17756
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17757
# The linker will automatically build a .lib file if we build a DLL.
17758
old_archive_From_new_cmds_GCJ='true'
17759
# FIXME: Should let the user specify the lib program.
17760
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17761
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17762
enable_shared_with_static_runtimes_GCJ=yes
17765
darwin* | rhapsody*)
17767
rhapsody* | darwin1.[012])
17768
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17771
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17772
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17774
case ${MACOSX_DEPLOYMENT_TARGET} in
17776
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17779
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17785
archive_cmds_need_lc_GCJ=no
17786
hardcode_direct_GCJ=no
17787
hardcode_automatic_GCJ=yes
17788
hardcode_shlibpath_var_GCJ=unsupported
17789
whole_archive_flag_spec_GCJ=''
17790
link_all_deplibs_GCJ=yes
17791
if test "$GCC" = yes ; then
17792
output_verbose_link_cmd='echo'
17793
archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17794
module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17795
archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17796
module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17798
case $cc_basename in
17800
output_verbose_link_cmd='echo'
17801
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17802
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17803
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17804
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}'
17805
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}'
17815
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17816
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17817
hardcode_shlibpath_var_GCJ=no
17824
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17825
# support. Future versions do this automatically, but an explicit c++rt0.o
17826
# does not break anything, and helps significantly (at the cost of a little
17829
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17830
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17831
hardcode_direct_GCJ=yes
17832
hardcode_shlibpath_var_GCJ=no
17835
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17837
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17838
hardcode_direct_GCJ=yes
17839
hardcode_minus_L_GCJ=yes
17840
hardcode_shlibpath_var_GCJ=no
17843
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17844
freebsd* | dragonfly*)
17845
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17846
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17847
hardcode_direct_GCJ=yes
17848
hardcode_shlibpath_var_GCJ=no
17852
if test "$GCC" = yes; then
17853
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'
17855
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'
17857
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17858
hardcode_libdir_separator_GCJ=:
17859
hardcode_direct_GCJ=yes
17861
# hardcode_minus_L: Not really in the search PATH,
17862
# but as the default location of the library.
17863
hardcode_minus_L_GCJ=yes
17864
export_dynamic_flag_spec_GCJ='${wl}-E'
17868
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17869
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17871
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17873
if test "$with_gnu_ld" = no; then
17874
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17875
hardcode_libdir_separator_GCJ=:
17877
hardcode_direct_GCJ=yes
17878
export_dynamic_flag_spec_GCJ='${wl}-E'
17880
# hardcode_minus_L: Not really in the search PATH,
17881
# but as the default location of the library.
17882
hardcode_minus_L_GCJ=yes
17887
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17890
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17893
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17896
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17902
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17905
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17908
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17912
if test "$with_gnu_ld" = no; then
17913
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17914
hardcode_libdir_separator_GCJ=:
17918
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17919
hardcode_direct_GCJ=no
17920
hardcode_shlibpath_var_GCJ=no
17923
hardcode_direct_GCJ=yes
17924
export_dynamic_flag_spec_GCJ='${wl}-E'
17926
# hardcode_minus_L: Not really in the search PATH,
17927
# but as the default location of the library.
17928
hardcode_minus_L_GCJ=yes
17934
irix5* | irix6* | nonstopux*)
17935
if test "$GCC" = yes; then
17936
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'
17938
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'
17939
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17941
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17942
hardcode_libdir_separator_GCJ=:
17943
link_all_deplibs_GCJ=yes
17946
netbsd* | netbsdelf*-gnu)
17947
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17948
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17950
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17952
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17953
hardcode_direct_GCJ=yes
17954
hardcode_shlibpath_var_GCJ=no
17958
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17959
hardcode_direct_GCJ=yes
17960
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17961
hardcode_libdir_separator_GCJ=:
17962
hardcode_shlibpath_var_GCJ=no
17966
if test -f /usr/libexec/ld.so; then
17967
hardcode_direct_GCJ=yes
17968
hardcode_shlibpath_var_GCJ=no
17969
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17970
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17971
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17972
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17973
export_dynamic_flag_spec_GCJ='${wl}-E'
17976
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17977
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17978
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17981
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17982
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17992
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17993
hardcode_minus_L_GCJ=yes
17994
allow_undefined_flag_GCJ=unsupported
17995
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'
17996
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18000
if test "$GCC" = yes; then
18001
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18002
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'
18004
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18005
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'
18007
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18008
hardcode_libdir_separator_GCJ=:
18011
osf4* | osf5*) # as osf3* with the addition of -msym flag
18012
if test "$GCC" = yes; then
18013
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18014
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'
18015
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18017
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18018
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'
18019
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~
18020
$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'
18022
# Both c and cxx compiler support -rpath directly
18023
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18025
hardcode_libdir_separator_GCJ=:
18029
no_undefined_flag_GCJ=' -z text'
18030
if test "$GCC" = yes; then
18032
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18033
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18034
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18037
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18038
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18039
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18041
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18042
hardcode_shlibpath_var_GCJ=no
18044
solaris2.[0-5] | solaris2.[0-5].*) ;;
18046
# The compiler driver will combine and reorder linker options,
18047
# but understands `-z linker_flag'. GCC discards it without `$wl',
18048
# but is careful enough not to reorder.
18049
# Supported since Solaris 2.6 (maybe 2.5.1?)
18050
if test "$GCC" = yes; then
18051
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18053
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18057
link_all_deplibs_GCJ=yes
18061
if test "x$host_vendor" = xsequent; then
18062
# Use $CC to link under sequent, because it throws in some extra .o
18063
# files that make .init and .fini sections work.
18064
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18066
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18068
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18069
hardcode_direct_GCJ=yes
18070
hardcode_minus_L_GCJ=yes
18071
hardcode_shlibpath_var_GCJ=no
18075
case $host_vendor in
18077
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18078
hardcode_direct_GCJ=yes # is this really true???
18081
## LD is ld it makes a PLAMLIB
18082
## CC just makes a GrossModule.
18083
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18084
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18085
hardcode_direct_GCJ=no
18088
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18089
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18092
runpath_var='LD_RUN_PATH'
18093
hardcode_shlibpath_var_GCJ=no
18097
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18098
hardcode_shlibpath_var_GCJ=no
18099
export_dynamic_flag_spec_GCJ='-Bexport'
18103
if test -d /usr/nec; then
18104
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18105
hardcode_shlibpath_var_GCJ=no
18106
runpath_var=LD_RUN_PATH
18107
hardcode_runpath_var=yes
18112
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18113
no_undefined_flag_GCJ='${wl}-z,text'
18114
archive_cmds_need_lc_GCJ=no
18115
hardcode_shlibpath_var_GCJ=no
18116
runpath_var='LD_RUN_PATH'
18118
if test "$GCC" = yes; then
18119
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18120
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18122
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18123
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18127
sysv5* | sco3.2v5* | sco5v6*)
18128
# Note: We can NOT use -z defs as we might desire, because we do not
18129
# link with -lc, and that would cause any symbols used from libc to
18130
# always be unresolved, which means just about no library would
18131
# ever link correctly. If we're not using GNU ld we use -z text
18132
# though, which does catch some bad symbols but isn't as heavy-handed
18134
no_undefined_flag_GCJ='${wl}-z,text'
18135
allow_undefined_flag_GCJ='${wl}-z,nodefs'
18136
archive_cmds_need_lc_GCJ=no
18137
hardcode_shlibpath_var_GCJ=no
18138
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18139
hardcode_libdir_separator_GCJ=':'
18140
link_all_deplibs_GCJ=yes
18141
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18142
runpath_var='LD_RUN_PATH'
18144
if test "$GCC" = yes; then
18145
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18146
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18148
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18149
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18154
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18155
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18156
hardcode_shlibpath_var_GCJ=no
18165
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18166
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18167
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18170
# Do we need to explicitly link libc?
18172
case "x$archive_cmds_need_lc_GCJ" in
18174
# Assume -lc should be added
18175
archive_cmds_need_lc_GCJ=yes
18177
if test "$enable_shared" = yes && test "$GCC" = yes; then
18178
case $archive_cmds_GCJ in
18180
# FIXME: we may have to deal with multi-command sequences.
18183
# Test whether the compiler implicitly links with -lc since on some
18184
# systems, -lgcc has to come before -lc. If gcc already passes -lc
18185
# to ld, don't add -lc before -lgcc.
18186
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18187
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18189
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18191
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192
(eval $ac_compile) 2>&5
18194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195
(exit $ac_status); } 2>conftest.err; then
18198
libobjs=conftest.$ac_objext
18200
wl=$lt_prog_compiler_wl_GCJ
18201
pic_flag=$lt_prog_compiler_pic_GCJ
18207
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18208
allow_undefined_flag_GCJ=
18209
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18210
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213
(exit $ac_status); }
18215
archive_cmds_need_lc_GCJ=no
18217
archive_cmds_need_lc_GCJ=yes
18219
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18221
cat conftest.err 1>&5
18224
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18225
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18232
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18233
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18234
library_names_spec=
18235
libname_spec='lib$name'
18239
postuninstall_cmds=
18243
shlibpath_overrides_runpath=unknown
18245
dynamic_linker="$host_os ld.so"
18246
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18248
need_lib_prefix=unknown
18249
hardcode_into_libs=no
18251
# when you set need_version to no, make sure it does not cause -set_version
18252
# flags to be left without arguments
18253
need_version=unknown
18258
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18259
shlibpath_var=LIBPATH
18261
# AIX 3 has no versioning support, so we append a major version to the name.
18262
soname_spec='${libname}${release}${shared_ext}$major'
18269
hardcode_into_libs=yes
18270
if test "$host_cpu" = ia64; then
18271
# AIX 5 supports IA64
18272
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18273
shlibpath_var=LD_LIBRARY_PATH
18275
# With GCC up to 2.95.x, collect2 would create an import file
18276
# for dependence libraries. The import file would start with
18277
# the line `#! .'. This would cause the generated library to
18278
# depend on `.', always an invalid library. This was fixed in
18279
# development snapshots of GCC prior to 3.0.
18281
aix4 | aix4.[01] | aix4.[01].*)
18282
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18284
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18287
can_build_shared=no
18291
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18292
# soname into executable. Probably we can add versioning support to
18293
# collect2, so additional links can be useful in future.
18294
if test "$aix_use_runtimelinking" = yes; then
18295
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18296
# instead of lib<name>.a to let people know that these are not
18297
# typical AIX shared libraries.
18298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18300
# We preserve .a as extension for shared libraries through AIX4.2
18301
# and later when we are not doing run time linking.
18302
library_names_spec='${libname}${release}.a $libname.a'
18303
soname_spec='${libname}${release}${shared_ext}$major'
18305
shlibpath_var=LIBPATH
18310
library_names_spec='$libname.ixlibrary $libname.a'
18311
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18312
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'
18316
library_names_spec='${libname}${shared_ext}'
18317
dynamic_linker="$host_os ld.so"
18318
shlibpath_var=LIBRARY_PATH
18324
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18325
soname_spec='${libname}${release}${shared_ext}$major'
18326
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18327
shlibpath_var=LD_LIBRARY_PATH
18328
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18329
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18330
# the default ld.so.conf also contains /usr/contrib/lib and
18331
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18332
# libtool to hard-code these into programs
18335
cygwin* | mingw* | pw32*)
18336
version_type=windows
18341
case $GCC,$host_os in
18342
yes,cygwin* | yes,mingw* | yes,pw32*)
18343
library_names_spec='$libname.dll.a'
18344
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18345
postinstall_cmds='base_file=`basename \${file}`~
18346
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18347
dldir=$destdir/`dirname \$dlpath`~
18348
test -d \$dldir || mkdir -p \$dldir~
18349
$install_prog $dir/$dlname \$dldir/$dlname~
18350
chmod a+x \$dldir/$dlname'
18351
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18352
dlpath=$dir/\$dldll~
18354
shlibpath_overrides_runpath=yes
18358
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18359
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18360
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18363
# MinGW DLLs use traditional 'lib' prefix
18364
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18365
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18366
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18367
# It is most probably a Windows format PATH printed by
18368
# mingw gcc, but we are running on Cygwin. Gcc prints its search
18369
# path with ; separators, and with drive letters. We can handle the
18370
# drive letters (cygwin fileutils understands them), so leave them,
18371
# especially as we might pass files found there to a mingw objdump,
18372
# which wouldn't understand a cygwinified path. Ahh.
18373
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18375
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18379
# pw32 DLLs use 'pw' prefix rather than 'lib'
18380
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18386
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18389
dynamic_linker='Win32 ld.exe'
18390
# FIXME: first we should search . and the directory the executable is in
18394
darwin* | rhapsody*)
18395
dynamic_linker="$host_os dyld"
18396
version_type=darwin
18399
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18400
soname_spec='${libname}${release}${major}$shared_ext'
18401
shlibpath_overrides_runpath=yes
18402
shlibpath_var=DYLD_LIBRARY_PATH
18403
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18405
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18412
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18413
soname_spec='${libname}${release}${shared_ext}$major'
18414
shlibpath_var=LD_LIBRARY_PATH
18421
freebsd* | dragonfly*)
18422
# DragonFly does not have aout. When/if they implement a new
18423
# versioning mechanism, adjust this.
18424
if test -x /usr/bin/objformat; then
18425
objformat=`/usr/bin/objformat`
18428
freebsd[123]*) objformat=aout ;;
18429
*) objformat=elf ;;
18432
version_type=freebsd-$objformat
18433
case $version_type in
18435
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18440
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18444
shlibpath_var=LD_LIBRARY_PATH
18447
shlibpath_overrides_runpath=yes
18449
freebsd3.[01]* | freebsdelf3.[01]*)
18450
shlibpath_overrides_runpath=yes
18451
hardcode_into_libs=yes
18453
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18454
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18455
shlibpath_overrides_runpath=no
18456
hardcode_into_libs=yes
18458
*) # from 4.6 on, and DragonFly
18459
shlibpath_overrides_runpath=yes
18460
hardcode_into_libs=yes
18469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18470
soname_spec='${libname}${release}${shared_ext}$major'
18471
shlibpath_var=LD_LIBRARY_PATH
18472
hardcode_into_libs=yes
18475
hpux9* | hpux10* | hpux11*)
18476
# Give a soname corresponding to the major version so that dld.sl refuses to
18477
# link against other versions.
18484
hardcode_into_libs=yes
18485
dynamic_linker="$host_os dld.so"
18486
shlibpath_var=LD_LIBRARY_PATH
18487
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18489
soname_spec='${libname}${release}${shared_ext}$major'
18490
if test "X$HPUX_IA64_MODE" = X32; then
18491
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18493
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18495
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18499
hardcode_into_libs=yes
18500
dynamic_linker="$host_os dld.sl"
18501
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18502
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18503
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18504
soname_spec='${libname}${release}${shared_ext}$major'
18505
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18506
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18510
dynamic_linker="$host_os dld.sl"
18511
shlibpath_var=SHLIB_PATH
18512
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18513
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18514
soname_spec='${libname}${release}${shared_ext}$major'
18517
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18518
postinstall_cmds='chmod 555 $lib'
18525
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18526
soname_spec='${libname}${release}${shared_ext}$major'
18527
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18528
shlibpath_var=LD_LIBRARY_PATH
18529
shlibpath_overrides_runpath=no
18530
hardcode_into_libs=yes
18533
irix5* | irix6* | nonstopux*)
18535
nonstopux*) version_type=nonstopux ;;
18537
if test "$lt_cv_prog_gnu_ld" = yes; then
18545
soname_spec='${libname}${release}${shared_ext}$major'
18546
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18548
irix5* | nonstopux*)
18549
libsuff= shlibsuff=
18552
case $LD in # libtool.m4 will add one of these switches to LD
18553
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18554
libsuff= shlibsuff= libmagic=32-bit;;
18555
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18556
libsuff=32 shlibsuff=N32 libmagic=N32;;
18557
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18558
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18559
*) libsuff= shlibsuff= libmagic=never-match;;
18563
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18564
shlibpath_overrides_runpath=no
18565
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18566
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18567
hardcode_into_libs=yes
18570
# No shared lib support for Linux oldld, aout, or coff.
18571
linux*oldld* | linux*aout* | linux*coff*)
18575
# This must be Linux ELF.
18576
linux* | k*bsd*-gnu)
18580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18581
soname_spec='${libname}${release}${shared_ext}$major'
18582
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18583
shlibpath_var=LD_LIBRARY_PATH
18584
shlibpath_overrides_runpath=no
18585
# This implies no fast_install, which is unacceptable.
18586
# Some rework will be needed to allow for fast_install
18587
# before this can be enabled.
18588
hardcode_into_libs=yes
18590
# Append ld.so.conf contents to the search path
18591
if test -f /etc/ld.so.conf; then
18592
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' ' '`
18593
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18596
# We used to test for /lib/ld.so.1 and disable shared libraries on
18597
# powerpc, because MkLinux only supported shared libraries with the
18598
# GNU dynamic linker. Since this was broken with cross compilers,
18599
# most powerpc-linux boxes support dynamic linking these days and
18600
# people can always --disable-shared, the test was removed, and we
18601
# assume the GNU/Linux dynamic linker is in use.
18602
dynamic_linker='GNU/Linux ld.so'
18609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18610
soname_spec='${libname}${release}${shared_ext}$major'
18611
shlibpath_var=LD_LIBRARY_PATH
18612
shlibpath_overrides_runpath=no
18613
hardcode_into_libs=yes
18614
dynamic_linker='NetBSD ld.elf_so'
18621
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18622
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18623
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18624
dynamic_linker='NetBSD (a.out) ld.so'
18626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18627
soname_spec='${libname}${release}${shared_ext}$major'
18628
dynamic_linker='NetBSD ld.elf_so'
18630
shlibpath_var=LD_LIBRARY_PATH
18631
shlibpath_overrides_runpath=yes
18632
hardcode_into_libs=yes
18637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18638
shlibpath_var=LD_LIBRARY_PATH
18639
shlibpath_overrides_runpath=yes
18646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18647
soname_spec='${libname}${release}${shared_ext}$major'
18648
shlibpath_var=LD_LIBRARY_PATH
18649
shlibpath_overrides_runpath=yes
18654
sys_lib_dlsearch_path_spec="/usr/lib"
18656
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18658
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18659
*) need_version=no ;;
18661
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18662
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18663
shlibpath_var=LD_LIBRARY_PATH
18664
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18666
openbsd2.[89] | openbsd2.[89].*)
18667
shlibpath_overrides_runpath=no
18670
shlibpath_overrides_runpath=yes
18674
shlibpath_overrides_runpath=yes
18679
libname_spec='$name'
18682
library_names_spec='$libname${shared_ext} $libname.a'
18683
dynamic_linker='OS/2 ld.exe'
18684
shlibpath_var=LIBPATH
18687
osf3* | osf4* | osf5*)
18691
soname_spec='${libname}${release}${shared_ext}$major'
18692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18693
shlibpath_var=LD_LIBRARY_PATH
18694
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18695
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18706
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18707
soname_spec='${libname}${release}${shared_ext}$major'
18708
shlibpath_var=LD_LIBRARY_PATH
18709
shlibpath_overrides_runpath=yes
18710
hardcode_into_libs=yes
18711
# ldd complains unless libraries are executable
18712
postinstall_cmds='chmod +x $lib'
18717
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18718
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18719
shlibpath_var=LD_LIBRARY_PATH
18720
shlibpath_overrides_runpath=yes
18721
if test "$with_gnu_ld" = yes; then
18729
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18730
soname_spec='${libname}${release}${shared_ext}$major'
18731
shlibpath_var=LD_LIBRARY_PATH
18732
case $host_vendor in
18734
shlibpath_overrides_runpath=no
18736
export_dynamic_flag_spec='${wl}-Blargedynsym'
18737
runpath_var=LD_RUN_PATH
18745
shlibpath_overrides_runpath=no
18746
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18752
if test -d /usr/nec ;then
18754
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18755
soname_spec='$libname${shared_ext}.$major'
18756
shlibpath_var=LD_LIBRARY_PATH
18760
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18761
version_type=freebsd-elf
18764
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18765
soname_spec='${libname}${release}${shared_ext}$major'
18766
shlibpath_var=LD_LIBRARY_PATH
18767
hardcode_into_libs=yes
18768
if test "$with_gnu_ld" = yes; then
18769
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18770
shlibpath_overrides_runpath=no
18772
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18773
shlibpath_overrides_runpath=yes
18776
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18780
sys_lib_dlsearch_path_spec='/usr/lib'
18785
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18786
soname_spec='${libname}${release}${shared_ext}$major'
18787
shlibpath_var=LD_LIBRARY_PATH
18794
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18795
echo "${ECHO_T}$dynamic_linker" >&6; }
18796
test "$dynamic_linker" = no && can_build_shared=no
18798
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18799
echo $ECHO_N "(cached) $ECHO_C" >&6
18801
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18804
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18805
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18806
echo $ECHO_N "(cached) $ECHO_C" >&6
18808
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18811
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18813
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18814
if test "$GCC" = yes; then
18815
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18818
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18819
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18820
hardcode_action_GCJ=
18821
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18822
test -n "$runpath_var_GCJ" || \
18823
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18825
# We can hardcode non-existant directories.
18826
if test "$hardcode_direct_GCJ" != no &&
18827
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18828
# have to relink, otherwise we might link with an installed library
18829
# when we should be linking with a yet-to-be-installed one
18830
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18831
test "$hardcode_minus_L_GCJ" != no; then
18832
# Linking always hardcodes the temporary library directory.
18833
hardcode_action_GCJ=relink
18835
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18836
hardcode_action_GCJ=immediate
18839
# We cannot hardcode anything, or else we can only hardcode existing
18841
hardcode_action_GCJ=unsupported
18843
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18844
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18846
if test "$hardcode_action_GCJ" = relink; then
18847
# Fast installation is not supported
18848
enable_fast_install=no
18849
elif test "$shlibpath_overrides_runpath" = yes ||
18850
test "$enable_shared" = no; then
18851
# Fast installation is not necessary
18852
enable_fast_install=needless
18856
# The else clause should only fire when bootstrapping the
18857
# libtool distribution, otherwise you forgot to ship ltmain.sh
18858
# with your package, and you will get complaints that there are
18859
# no rules to generate ltmain.sh.
18860
if test -f "$ltmain"; then
18861
# See if we are running on zsh, and set the options which allow our commands through
18862
# without removal of \ escapes.
18863
if test -n "${ZSH_VERSION+set}" ; then
18864
setopt NO_GLOB_SUBST
18866
# Now quote all the things that may contain metacharacters while being
18867
# careful not to overquote the AC_SUBSTed values. We take copies of the
18868
# variables and quote the copies for generation of the libtool script.
18869
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18871
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18872
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18873
deplibs_check_method reload_flag reload_cmds need_locks \
18874
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18875
lt_cv_sys_global_symbol_to_c_name_address \
18876
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18877
old_postinstall_cmds old_postuninstall_cmds \
18881
lt_prog_compiler_wl_GCJ \
18882
lt_prog_compiler_pic_GCJ \
18883
lt_prog_compiler_static_GCJ \
18884
lt_prog_compiler_no_builtin_flag_GCJ \
18885
export_dynamic_flag_spec_GCJ \
18886
thread_safe_flag_spec_GCJ \
18887
whole_archive_flag_spec_GCJ \
18888
enable_shared_with_static_runtimes_GCJ \
18889
old_archive_cmds_GCJ \
18890
old_archive_from_new_cmds_GCJ \
18891
predep_objects_GCJ \
18892
postdep_objects_GCJ \
18895
compiler_lib_search_path_GCJ \
18896
compiler_lib_search_dirs_GCJ \
18898
archive_expsym_cmds_GCJ \
18899
postinstall_cmds_GCJ \
18900
postuninstall_cmds_GCJ \
18901
old_archive_from_expsyms_cmds_GCJ \
18902
allow_undefined_flag_GCJ \
18903
no_undefined_flag_GCJ \
18904
export_symbols_cmds_GCJ \
18905
hardcode_libdir_flag_spec_GCJ \
18906
hardcode_libdir_flag_spec_ld_GCJ \
18907
hardcode_libdir_separator_GCJ \
18908
hardcode_automatic_GCJ \
18910
module_expsym_cmds_GCJ \
18911
lt_cv_prog_compiler_c_o_GCJ \
18912
fix_srcfile_path_GCJ \
18913
exclude_expsyms_GCJ \
18914
include_expsyms_GCJ; do
18917
old_archive_cmds_GCJ | \
18918
old_archive_from_new_cmds_GCJ | \
18919
archive_cmds_GCJ | \
18920
archive_expsym_cmds_GCJ | \
18921
module_cmds_GCJ | \
18922
module_expsym_cmds_GCJ | \
18923
old_archive_from_expsyms_cmds_GCJ | \
18924
export_symbols_cmds_GCJ | \
18925
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18926
postinstall_cmds | postuninstall_cmds | \
18927
old_postinstall_cmds | old_postuninstall_cmds | \
18928
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18929
# Double-quote double-evaled strings.
18930
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18933
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18939
*'\$0 --fallback-echo"')
18940
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18946
cat <<__EOF__ >> "$cfgfile"
18947
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18949
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18951
# Shell to use when invoking shell scripts.
18954
# Whether or not to build shared libraries.
18955
build_libtool_libs=$enable_shared
18957
# Whether or not to build static libraries.
18958
build_old_libs=$enable_static
18960
# Whether or not to add -lc for building shared libraries.
18961
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18963
# Whether or not to disallow shared libs when runtime libs are static
18964
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18966
# Whether or not to optimize for fast installation.
18967
fast_install=$enable_fast_install
18970
host_alias=$host_alias
18974
# The build system.
18975
build_alias=$build_alias
18979
# An echo program that does not interpret backslashes.
18984
AR_FLAGS=$lt_AR_FLAGS
18989
# LTCC compiler flags.
18990
LTCFLAGS=$lt_LTCFLAGS
18992
# A language-specific compiler.
18993
CC=$lt_compiler_GCJ
18995
# Is the compiler the GNU C compiler?
19001
# The linker used to build libraries.
19004
# Whether we need hard or soft links.
19007
# A BSD-compatible nm program.
19010
# A symbol stripping program
19013
# Used to examine libraries when file_magic_cmd begins "file"
19014
MAGIC_CMD=$MAGIC_CMD
19016
# Used on cygwin: DLL creation program.
19019
# Used on cygwin: object dumper.
19022
# Used on cygwin: assembler.
19025
# The name of the directory that contains temporary libtool files.
19028
# How to create reloadable object files.
19029
reload_flag=$lt_reload_flag
19030
reload_cmds=$lt_reload_cmds
19032
# How to pass a linker flag through the compiler.
19033
wl=$lt_lt_prog_compiler_wl_GCJ
19035
# Object file suffix (normally "o").
19036
objext="$ac_objext"
19038
# Old archive suffix (normally "a").
19041
# Shared library suffix (normally ".so").
19042
shrext_cmds='$shrext_cmds'
19044
# Executable file suffix (normally "").
19047
# Additional compiler flags for building library objects.
19048
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19051
# What is the maximum length of a command?
19052
max_cmd_len=$lt_cv_sys_max_cmd_len
19054
# Does compiler simultaneously support -c and -o options?
19055
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19057
# Must we lock files when doing compilation?
19058
need_locks=$lt_need_locks
19060
# Do we need the lib prefix for modules?
19061
need_lib_prefix=$need_lib_prefix
19063
# Do we need a version for libraries?
19064
need_version=$need_version
19066
# Whether dlopen is supported.
19067
dlopen_support=$enable_dlopen
19069
# Whether dlopen of programs is supported.
19070
dlopen_self=$enable_dlopen_self
19072
# Whether dlopen of statically linked programs is supported.
19073
dlopen_self_static=$enable_dlopen_self_static
19075
# Compiler flag to prevent dynamic linking.
19076
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19078
# Compiler flag to turn off builtin functions.
19079
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19081
# Compiler flag to allow reflexive dlopens.
19082
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19084
# Compiler flag to generate shared objects directly from archives.
19085
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19087
# Compiler flag to generate thread-safe objects.
19088
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19090
# Library versioning type.
19091
version_type=$version_type
19093
# Format of library name prefix.
19094
libname_spec=$lt_libname_spec
19096
# List of archive names. First name is the real one, the rest are links.
19097
# The last name is the one that the linker finds with -lNAME.
19098
library_names_spec=$lt_library_names_spec
19100
# The coded name of the library, if different from the real name.
19101
soname_spec=$lt_soname_spec
19103
# Commands used to build and install an old-style archive.
19105
old_archive_cmds=$lt_old_archive_cmds_GCJ
19106
old_postinstall_cmds=$lt_old_postinstall_cmds
19107
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19109
# Create an old-style archive from a shared archive.
19110
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19112
# Create a temporary old-style archive to link instead of a shared archive.
19113
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19115
# Commands used to build and install a shared archive.
19116
archive_cmds=$lt_archive_cmds_GCJ
19117
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19118
postinstall_cmds=$lt_postinstall_cmds
19119
postuninstall_cmds=$lt_postuninstall_cmds
19121
# Commands used to build a loadable module (assumed same as above if empty)
19122
module_cmds=$lt_module_cmds_GCJ
19123
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19125
# Commands to strip libraries.
19126
old_striplib=$lt_old_striplib
19127
striplib=$lt_striplib
19129
# Dependencies to place before the objects being linked to create a
19131
predep_objects=$lt_predep_objects_GCJ
19133
# Dependencies to place after the objects being linked to create a
19135
postdep_objects=$lt_postdep_objects_GCJ
19137
# Dependencies to place before the objects being linked to create a
19139
predeps=$lt_predeps_GCJ
19141
# Dependencies to place after the objects being linked to create a
19143
postdeps=$lt_postdeps_GCJ
19145
# The directories searched by this compiler when creating a shared
19147
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19149
# The library search path used internally by the compiler when linking
19150
# a shared library.
19151
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19153
# Method to check whether dependent libraries are shared objects.
19154
deplibs_check_method=$lt_deplibs_check_method
19156
# Command to use when deplibs_check_method == file_magic.
19157
file_magic_cmd=$lt_file_magic_cmd
19159
# Flag that allows shared libraries with undefined symbols to be built.
19160
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19162
# Flag that forces no undefined symbols.
19163
no_undefined_flag=$lt_no_undefined_flag_GCJ
19165
# Commands used to finish a libtool library installation in a directory.
19166
finish_cmds=$lt_finish_cmds
19168
# Same as above, but a single script fragment to be evaled but not shown.
19169
finish_eval=$lt_finish_eval
19171
# Take the output of nm and produce a listing of raw symbols and C names.
19172
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19174
# Transform the output of nm in a proper C declaration
19175
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19177
# Transform the output of nm in a C name address pair
19178
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19180
# This is the shared library runtime path variable.
19181
runpath_var=$runpath_var
19183
# This is the shared library path variable.
19184
shlibpath_var=$shlibpath_var
19186
# Is shlibpath searched before the hard-coded library search path?
19187
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19189
# How to hardcode a shared library path into an executable.
19190
hardcode_action=$hardcode_action_GCJ
19192
# Whether we should hardcode library paths into libraries.
19193
hardcode_into_libs=$hardcode_into_libs
19195
# Flag to hardcode \$libdir into a binary during linking.
19196
# This must work even if \$libdir does not exist.
19197
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19199
# If ld is used when linking, flag to hardcode \$libdir into
19200
# a binary during linking. This must work even if \$libdir does
19202
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19204
# Whether we need a single -rpath flag with a separated argument.
19205
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19207
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19208
# resulting binary.
19209
hardcode_direct=$hardcode_direct_GCJ
19211
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19212
# resulting binary.
19213
hardcode_minus_L=$hardcode_minus_L_GCJ
19215
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19216
# the resulting binary.
19217
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19219
# Set to yes if building a shared library automatically hardcodes DIR into the library
19220
# and all subsequent libraries and executables linked against it.
19221
hardcode_automatic=$hardcode_automatic_GCJ
19223
# Variables whose values should be saved in libtool wrapper scripts and
19224
# restored at relink time.
19225
variables_saved_for_relink="$variables_saved_for_relink"
19227
# Whether libtool must link a program against all its dependency libraries.
19228
link_all_deplibs=$link_all_deplibs_GCJ
19230
# Compile-time system search path for libraries
19231
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19233
# Run-time system search path for libraries
19234
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19236
# Fix the shell variable \$srcfile for the compiler.
19237
fix_srcfile_path=$lt_fix_srcfile_path
19239
# Set to yes if exported symbols are required.
19240
always_export_symbols=$always_export_symbols_GCJ
19242
# The commands to list exported symbols.
19243
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19245
# The commands to extract the exported symbol list from a shared archive.
19246
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19248
# Symbols that should not be listed in the preloaded symbols.
19249
exclude_expsyms=$lt_exclude_expsyms_GCJ
19251
# Symbols that must always be exported.
19252
include_expsyms=$lt_include_expsyms_GCJ
19254
# ### END LIBTOOL TAG CONFIG: $tagname
19260
# If there is no Makefile yet, we rely on a make rule to execute
19261
# `config.status --recheck' to rerun these tests and create the
19262
# libtool script then.
19263
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19264
if test -f "$ltmain_in"; then
19265
test -f Makefile && make "$ltmain"
19271
ac_cpp='$CPP $CPPFLAGS'
19272
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19273
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19274
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19286
# Source file extension for RC test sources.
19289
# Object file extension for compiled RC test sources.
19293
# Code to be used in simple compile tests
19294
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19296
# Code to be used in simple link tests
19297
lt_simple_link_test_code="$lt_simple_compile_test_code"
19299
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19301
# If no C compiler was specified, use CC.
19304
# If no C compiler flags were specified, use CFLAGS.
19305
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19307
# Allow CC to be a program name with arguments.
19311
# save warnings/boilerplate of simple test code
19312
ac_outfile=conftest.$ac_objext
19313
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19314
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19315
_lt_compiler_boilerplate=`cat conftest.err`
19318
ac_outfile=conftest.$ac_objext
19319
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19320
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19321
_lt_linker_boilerplate=`cat conftest.err`
19325
# Allow CC to be a program name with arguments.
19330
for cc_temp in $compiler""; do
19332
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19333
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19338
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19340
lt_cv_prog_compiler_c_o_RC=yes
19342
# The else clause should only fire when bootstrapping the
19343
# libtool distribution, otherwise you forgot to ship ltmain.sh
19344
# with your package, and you will get complaints that there are
19345
# no rules to generate ltmain.sh.
19346
if test -f "$ltmain"; then
19347
# See if we are running on zsh, and set the options which allow our commands through
19348
# without removal of \ escapes.
19349
if test -n "${ZSH_VERSION+set}" ; then
19350
setopt NO_GLOB_SUBST
19352
# Now quote all the things that may contain metacharacters while being
19353
# careful not to overquote the AC_SUBSTed values. We take copies of the
19354
# variables and quote the copies for generation of the libtool script.
19355
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19357
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19358
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19359
deplibs_check_method reload_flag reload_cmds need_locks \
19360
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19361
lt_cv_sys_global_symbol_to_c_name_address \
19362
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19363
old_postinstall_cmds old_postuninstall_cmds \
19367
lt_prog_compiler_wl_RC \
19368
lt_prog_compiler_pic_RC \
19369
lt_prog_compiler_static_RC \
19370
lt_prog_compiler_no_builtin_flag_RC \
19371
export_dynamic_flag_spec_RC \
19372
thread_safe_flag_spec_RC \
19373
whole_archive_flag_spec_RC \
19374
enable_shared_with_static_runtimes_RC \
19375
old_archive_cmds_RC \
19376
old_archive_from_new_cmds_RC \
19377
predep_objects_RC \
19378
postdep_objects_RC \
19381
compiler_lib_search_path_RC \
19382
compiler_lib_search_dirs_RC \
19384
archive_expsym_cmds_RC \
19385
postinstall_cmds_RC \
19386
postuninstall_cmds_RC \
19387
old_archive_from_expsyms_cmds_RC \
19388
allow_undefined_flag_RC \
19389
no_undefined_flag_RC \
19390
export_symbols_cmds_RC \
19391
hardcode_libdir_flag_spec_RC \
19392
hardcode_libdir_flag_spec_ld_RC \
19393
hardcode_libdir_separator_RC \
19394
hardcode_automatic_RC \
19396
module_expsym_cmds_RC \
19397
lt_cv_prog_compiler_c_o_RC \
19398
fix_srcfile_path_RC \
19399
exclude_expsyms_RC \
19400
include_expsyms_RC; do
19403
old_archive_cmds_RC | \
19404
old_archive_from_new_cmds_RC | \
19405
archive_cmds_RC | \
19406
archive_expsym_cmds_RC | \
19408
module_expsym_cmds_RC | \
19409
old_archive_from_expsyms_cmds_RC | \
19410
export_symbols_cmds_RC | \
19411
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19412
postinstall_cmds | postuninstall_cmds | \
19413
old_postinstall_cmds | old_postuninstall_cmds | \
19414
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19415
# Double-quote double-evaled strings.
19416
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19419
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19425
*'\$0 --fallback-echo"')
19426
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19432
cat <<__EOF__ >> "$cfgfile"
19433
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19435
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19437
# Shell to use when invoking shell scripts.
19440
# Whether or not to build shared libraries.
19441
build_libtool_libs=$enable_shared
19443
# Whether or not to build static libraries.
19444
build_old_libs=$enable_static
19446
# Whether or not to add -lc for building shared libraries.
19447
build_libtool_need_lc=$archive_cmds_need_lc_RC
19449
# Whether or not to disallow shared libs when runtime libs are static
19450
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19452
# Whether or not to optimize for fast installation.
19453
fast_install=$enable_fast_install
19456
host_alias=$host_alias
19460
# The build system.
19461
build_alias=$build_alias
19465
# An echo program that does not interpret backslashes.
19470
AR_FLAGS=$lt_AR_FLAGS
19475
# LTCC compiler flags.
19476
LTCFLAGS=$lt_LTCFLAGS
19478
# A language-specific compiler.
19481
# Is the compiler the GNU C compiler?
19487
# The linker used to build libraries.
19490
# Whether we need hard or soft links.
19493
# A BSD-compatible nm program.
19496
# A symbol stripping program
19499
# Used to examine libraries when file_magic_cmd begins "file"
19500
MAGIC_CMD=$MAGIC_CMD
19502
# Used on cygwin: DLL creation program.
19505
# Used on cygwin: object dumper.
19508
# Used on cygwin: assembler.
19511
# The name of the directory that contains temporary libtool files.
19514
# How to create reloadable object files.
19515
reload_flag=$lt_reload_flag
19516
reload_cmds=$lt_reload_cmds
19518
# How to pass a linker flag through the compiler.
19519
wl=$lt_lt_prog_compiler_wl_RC
19521
# Object file suffix (normally "o").
19522
objext="$ac_objext"
19524
# Old archive suffix (normally "a").
19527
# Shared library suffix (normally ".so").
19528
shrext_cmds='$shrext_cmds'
19530
# Executable file suffix (normally "").
19533
# Additional compiler flags for building library objects.
19534
pic_flag=$lt_lt_prog_compiler_pic_RC
19537
# What is the maximum length of a command?
19538
max_cmd_len=$lt_cv_sys_max_cmd_len
19540
# Does compiler simultaneously support -c and -o options?
19541
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19543
# Must we lock files when doing compilation?
19544
need_locks=$lt_need_locks
19546
# Do we need the lib prefix for modules?
19547
need_lib_prefix=$need_lib_prefix
19549
# Do we need a version for libraries?
19550
need_version=$need_version
19552
# Whether dlopen is supported.
19553
dlopen_support=$enable_dlopen
19555
# Whether dlopen of programs is supported.
19556
dlopen_self=$enable_dlopen_self
19558
# Whether dlopen of statically linked programs is supported.
19559
dlopen_self_static=$enable_dlopen_self_static
19561
# Compiler flag to prevent dynamic linking.
19562
link_static_flag=$lt_lt_prog_compiler_static_RC
19564
# Compiler flag to turn off builtin functions.
19565
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19567
# Compiler flag to allow reflexive dlopens.
19568
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19570
# Compiler flag to generate shared objects directly from archives.
19571
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19573
# Compiler flag to generate thread-safe objects.
19574
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19576
# Library versioning type.
19577
version_type=$version_type
19579
# Format of library name prefix.
19580
libname_spec=$lt_libname_spec
19582
# List of archive names. First name is the real one, the rest are links.
19583
# The last name is the one that the linker finds with -lNAME.
19584
library_names_spec=$lt_library_names_spec
19586
# The coded name of the library, if different from the real name.
19587
soname_spec=$lt_soname_spec
19589
# Commands used to build and install an old-style archive.
19591
old_archive_cmds=$lt_old_archive_cmds_RC
19592
old_postinstall_cmds=$lt_old_postinstall_cmds
19593
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19595
# Create an old-style archive from a shared archive.
19596
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19598
# Create a temporary old-style archive to link instead of a shared archive.
19599
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19601
# Commands used to build and install a shared archive.
19602
archive_cmds=$lt_archive_cmds_RC
19603
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19604
postinstall_cmds=$lt_postinstall_cmds
19605
postuninstall_cmds=$lt_postuninstall_cmds
19607
# Commands used to build a loadable module (assumed same as above if empty)
19608
module_cmds=$lt_module_cmds_RC
19609
module_expsym_cmds=$lt_module_expsym_cmds_RC
19611
# Commands to strip libraries.
19612
old_striplib=$lt_old_striplib
19613
striplib=$lt_striplib
19615
# Dependencies to place before the objects being linked to create a
19617
predep_objects=$lt_predep_objects_RC
19619
# Dependencies to place after the objects being linked to create a
19621
postdep_objects=$lt_postdep_objects_RC
19623
# Dependencies to place before the objects being linked to create a
19625
predeps=$lt_predeps_RC
19627
# Dependencies to place after the objects being linked to create a
19629
postdeps=$lt_postdeps_RC
19631
# The directories searched by this compiler when creating a shared
19633
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19635
# The library search path used internally by the compiler when linking
19636
# a shared library.
19637
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19639
# Method to check whether dependent libraries are shared objects.
19640
deplibs_check_method=$lt_deplibs_check_method
19642
# Command to use when deplibs_check_method == file_magic.
19643
file_magic_cmd=$lt_file_magic_cmd
19645
# Flag that allows shared libraries with undefined symbols to be built.
19646
allow_undefined_flag=$lt_allow_undefined_flag_RC
19648
# Flag that forces no undefined symbols.
19649
no_undefined_flag=$lt_no_undefined_flag_RC
19651
# Commands used to finish a libtool library installation in a directory.
19652
finish_cmds=$lt_finish_cmds
19654
# Same as above, but a single script fragment to be evaled but not shown.
19655
finish_eval=$lt_finish_eval
19657
# Take the output of nm and produce a listing of raw symbols and C names.
19658
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19660
# Transform the output of nm in a proper C declaration
19661
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19663
# Transform the output of nm in a C name address pair
19664
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19666
# This is the shared library runtime path variable.
19667
runpath_var=$runpath_var
19669
# This is the shared library path variable.
19670
shlibpath_var=$shlibpath_var
19672
# Is shlibpath searched before the hard-coded library search path?
19673
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19675
# How to hardcode a shared library path into an executable.
19676
hardcode_action=$hardcode_action_RC
19678
# Whether we should hardcode library paths into libraries.
19679
hardcode_into_libs=$hardcode_into_libs
19681
# Flag to hardcode \$libdir into a binary during linking.
19682
# This must work even if \$libdir does not exist.
19683
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19685
# If ld is used when linking, flag to hardcode \$libdir into
19686
# a binary during linking. This must work even if \$libdir does
19688
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19690
# Whether we need a single -rpath flag with a separated argument.
19691
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19693
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19694
# resulting binary.
19695
hardcode_direct=$hardcode_direct_RC
19697
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19698
# resulting binary.
19699
hardcode_minus_L=$hardcode_minus_L_RC
19701
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19702
# the resulting binary.
19703
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19705
# Set to yes if building a shared library automatically hardcodes DIR into the library
19706
# and all subsequent libraries and executables linked against it.
19707
hardcode_automatic=$hardcode_automatic_RC
19709
# Variables whose values should be saved in libtool wrapper scripts and
19710
# restored at relink time.
19711
variables_saved_for_relink="$variables_saved_for_relink"
19713
# Whether libtool must link a program against all its dependency libraries.
19714
link_all_deplibs=$link_all_deplibs_RC
19716
# Compile-time system search path for libraries
19717
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19719
# Run-time system search path for libraries
19720
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19722
# Fix the shell variable \$srcfile for the compiler.
19723
fix_srcfile_path=$lt_fix_srcfile_path
19725
# Set to yes if exported symbols are required.
19726
always_export_symbols=$always_export_symbols_RC
19728
# The commands to list exported symbols.
19729
export_symbols_cmds=$lt_export_symbols_cmds_RC
19731
# The commands to extract the exported symbol list from a shared archive.
19732
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19734
# Symbols that should not be listed in the preloaded symbols.
19735
exclude_expsyms=$lt_exclude_expsyms_RC
19737
# Symbols that must always be exported.
19738
include_expsyms=$lt_include_expsyms_RC
19740
# ### END LIBTOOL TAG CONFIG: $tagname
19746
# If there is no Makefile yet, we rely on a make rule to execute
19747
# `config.status --recheck' to rerun these tests and create the
19748
# libtool script then.
19749
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19750
if test -f "$ltmain_in"; then
19751
test -f Makefile && make "$ltmain"
19757
ac_cpp='$CPP $CPPFLAGS'
19758
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19760
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19767
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19768
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19769
{ (exit 1); exit 1; }; }
19773
# Append the new tag name to the list of available tags.
19774
if test -n "$tagname" ; then
19775
available_tags="$available_tags $tagname"
19781
# Now substitute the updated list of available tags.
19782
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19783
mv "${ofile}T" "$ofile"
19787
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19788
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19789
{ (exit 1); exit 1; }; }
19795
# This can be used to rebuild libtool when needed
19796
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19798
# Always use our own libtool.
19799
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19801
# Prevent multiple expansion
19824
case "$am__api_version" in
19826
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19827
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19828
{ (exit 1); exit 1; }; }
19834
if test -n "0.35.0"; then
19835
{ echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
19836
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
19838
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19839
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
19840
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`
19842
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19843
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
19844
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19845
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
19846
echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
19847
{ (exit 1); exit 1; }; }
19850
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 $< $@'
19851
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 $< $@'
19852
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 $< $@'
19853
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 $< $@'
19854
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
19855
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 $< $@'
19856
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 $< $@'
19857
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 $< $@'
19858
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 $< $@'
19859
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 $< $@'
19860
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 $< $@'
19861
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
19862
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 $< $@'
19863
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 $< $@'
19864
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 $< $@'
19865
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 $< $@'
19866
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 $< $@'
19867
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 $< $@'
19868
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 $< $@'
19890
# Check the gettext tools to make sure they are GNU
19891
# Extract the first word of "xgettext", so it can be a program name with args.
19892
set dummy xgettext; ac_word=$2
19893
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19895
if test "${ac_cv_path_XGETTEXT+set}" = set; then
19896
echo $ECHO_N "(cached) $ECHO_C" >&6
19900
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19904
for as_dir in $PATH
19907
test -z "$as_dir" && as_dir=.
19908
for ac_exec_ext in '' $ac_executable_extensions; do
19909
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19910
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19911
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19921
XGETTEXT=$ac_cv_path_XGETTEXT
19922
if test -n "$XGETTEXT"; then
19923
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
19924
echo "${ECHO_T}$XGETTEXT" >&6; }
19926
{ echo "$as_me:$LINENO: result: no" >&5
19927
echo "${ECHO_T}no" >&6; }
19931
# Extract the first word of "msgmerge", so it can be a program name with args.
19932
set dummy msgmerge; ac_word=$2
19933
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19934
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19935
if test "${ac_cv_path_MSGMERGE+set}" = set; then
19936
echo $ECHO_N "(cached) $ECHO_C" >&6
19940
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19943
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19944
for as_dir in $PATH
19947
test -z "$as_dir" && as_dir=.
19948
for ac_exec_ext in '' $ac_executable_extensions; do
19949
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19950
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19951
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19961
MSGMERGE=$ac_cv_path_MSGMERGE
19962
if test -n "$MSGMERGE"; then
19963
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
19964
echo "${ECHO_T}$MSGMERGE" >&6; }
19966
{ echo "$as_me:$LINENO: result: no" >&5
19967
echo "${ECHO_T}no" >&6; }
19971
# Extract the first word of "msgfmt", so it can be a program name with args.
19972
set dummy msgfmt; ac_word=$2
19973
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19974
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19975
if test "${ac_cv_path_MSGFMT+set}" = set; then
19976
echo $ECHO_N "(cached) $ECHO_C" >&6
19980
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19983
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19984
for as_dir in $PATH
19987
test -z "$as_dir" && as_dir=.
19988
for ac_exec_ext in '' $ac_executable_extensions; do
19989
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19990
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19991
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20001
MSGFMT=$ac_cv_path_MSGFMT
20002
if test -n "$MSGFMT"; then
20003
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
20004
echo "${ECHO_T}$MSGFMT" >&6; }
20006
{ echo "$as_me:$LINENO: result: no" >&5
20007
echo "${ECHO_T}no" >&6; }
20011
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
20012
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20013
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20014
{ (exit 1); exit 1; }; }
20016
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
20017
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
20018
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
20019
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
20020
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20021
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20022
{ (exit 1); exit 1; }; }
20025
# Use the tools built into the package, not the ones that are installed.
20026
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
20028
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
20030
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
20033
# Extract the first word of "perl", so it can be a program name with args.
20034
set dummy perl; ac_word=$2
20035
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20036
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20037
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20038
echo $ECHO_N "(cached) $ECHO_C" >&6
20040
case $INTLTOOL_PERL in
20042
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
20045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20046
for as_dir in $PATH
20049
test -z "$as_dir" && as_dir=.
20050
for ac_exec_ext in '' $ac_executable_extensions; do
20051
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20052
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
20053
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20063
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
20064
if test -n "$INTLTOOL_PERL"; then
20065
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
20066
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20068
{ echo "$as_me:$LINENO: result: no" >&5
20069
echo "${ECHO_T}no" >&6; }
20073
if test -z "$INTLTOOL_PERL"; then
20074
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
20075
echo "$as_me: error: perl not found; required for intltool" >&2;}
20076
{ (exit 1); exit 1; }; }
20078
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20079
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
20080
echo "$as_me: error: perl 5.x required for intltool" >&2;}
20081
{ (exit 1); exit 1; }; }
20083
if test "x" != "xno-xml"; then
20084
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
20085
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
20086
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
20087
{ echo "$as_me:$LINENO: result: ok" >&5
20088
echo "${ECHO_T}ok" >&6; }
20090
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
20091
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
20092
{ (exit 1); exit 1; }; }
20096
# Substitute ALL_LINGUAS so we can use it in po/Makefile
20099
# Set DATADIRNAME correctly if it is not set yet
20100
# (copied from glib-gettext.m4)
20101
if test -z "$DATADIRNAME"; then
20102
cat >conftest.$ac_ext <<_ACEOF
20105
cat confdefs.h >>conftest.$ac_ext
20106
cat >>conftest.$ac_ext <<_ACEOF
20107
/* end confdefs.h. */
20112
extern int _nl_msg_cat_cntr;
20113
return _nl_msg_cat_cntr
20118
rm -f conftest.$ac_objext conftest$ac_exeext
20119
if { (ac_try="$ac_link"
20120
case "(($ac_try" in
20121
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20122
*) ac_try_echo=$ac_try;;
20124
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125
(eval "$ac_link") 2>conftest.er1
20127
grep -v '^ *+' conftest.er1 >conftest.err
20129
cat conftest.err >&5
20130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131
(exit $ac_status); } && {
20132
test -z "$ac_c_werror_flag" ||
20133
test ! -s conftest.err
20134
} && test -s conftest$ac_exeext &&
20135
$as_test_x conftest$ac_exeext; then
20138
echo "$as_me: failed program was:" >&5
20139
sed 's/^/| /' conftest.$ac_ext >&5
20143
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20144
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20145
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20146
echo $ECHO_N "(cached) $ECHO_C" >&6
20148
cat >conftest.$ac_ext <<_ACEOF
20151
cat confdefs.h >>conftest.$ac_ext
20152
cat >>conftest.$ac_ext <<_ACEOF
20153
/* end confdefs.h. */
20154
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20155
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20156
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20158
/* System header to define __stub macros and hopefully few prototypes,
20159
which can conflict with char bind_textdomain_codeset (); below.
20160
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20161
<limits.h> exists even on freestanding compilers. */
20164
# include <limits.h>
20166
# include <assert.h>
20169
#undef bind_textdomain_codeset
20171
/* Override any GCC internal prototype to avoid an error.
20172
Use char because int might match the return type of a GCC
20173
builtin and then its argument prototype would still apply. */
20177
char bind_textdomain_codeset ();
20178
/* The GNU C library defines this for functions which it implements
20179
to always fail with ENOSYS. Some functions are actually named
20180
something starting with __ and the normal name is an alias. */
20181
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20188
return bind_textdomain_codeset ();
20193
rm -f conftest.$ac_objext conftest$ac_exeext
20194
if { (ac_try="$ac_link"
20195
case "(($ac_try" in
20196
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197
*) ac_try_echo=$ac_try;;
20199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200
(eval "$ac_link") 2>conftest.er1
20202
grep -v '^ *+' conftest.er1 >conftest.err
20204
cat conftest.err >&5
20205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206
(exit $ac_status); } && {
20207
test -z "$ac_c_werror_flag" ||
20208
test ! -s conftest.err
20209
} && test -s conftest$ac_exeext &&
20210
$as_test_x conftest$ac_exeext; then
20211
ac_cv_func_bind_textdomain_codeset=yes
20213
echo "$as_me: failed program was:" >&5
20214
sed 's/^/| /' conftest.$ac_ext >&5
20216
ac_cv_func_bind_textdomain_codeset=no
20219
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20220
conftest$ac_exeext conftest.$ac_ext
20222
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20223
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20224
if test $ac_cv_func_bind_textdomain_codeset = yes; then
20237
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20238
conftest$ac_exeext conftest.$ac_ext
20245
ac_config_commands="$ac_config_commands intltool"
20252
for ac_header in locale.h
20254
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20255
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20256
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20257
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20258
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20259
echo $ECHO_N "(cached) $ECHO_C" >&6
20261
ac_res=`eval echo '${'$as_ac_Header'}'`
20262
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20263
echo "${ECHO_T}$ac_res" >&6; }
20265
# Is the header compilable?
20266
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20267
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20268
cat >conftest.$ac_ext <<_ACEOF
20271
cat confdefs.h >>conftest.$ac_ext
20272
cat >>conftest.$ac_ext <<_ACEOF
20273
/* end confdefs.h. */
20274
$ac_includes_default
20275
@%:@include <$ac_header>
20277
rm -f conftest.$ac_objext
20278
if { (ac_try="$ac_compile"
20279
case "(($ac_try" in
20280
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281
*) ac_try_echo=$ac_try;;
20283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284
(eval "$ac_compile") 2>conftest.er1
20286
grep -v '^ *+' conftest.er1 >conftest.err
20288
cat conftest.err >&5
20289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290
(exit $ac_status); } && {
20291
test -z "$ac_c_werror_flag" ||
20292
test ! -s conftest.err
20293
} && test -s conftest.$ac_objext; then
20294
ac_header_compiler=yes
20296
echo "$as_me: failed program was:" >&5
20297
sed 's/^/| /' conftest.$ac_ext >&5
20299
ac_header_compiler=no
20302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20304
echo "${ECHO_T}$ac_header_compiler" >&6; }
20306
# Is the header present?
20307
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20308
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20309
cat >conftest.$ac_ext <<_ACEOF
20312
cat confdefs.h >>conftest.$ac_ext
20313
cat >>conftest.$ac_ext <<_ACEOF
20314
/* end confdefs.h. */
20315
@%:@include <$ac_header>
20317
if { (ac_try="$ac_cpp conftest.$ac_ext"
20318
case "(($ac_try" in
20319
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20320
*) ac_try_echo=$ac_try;;
20322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20323
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20325
grep -v '^ *+' conftest.er1 >conftest.err
20327
cat conftest.err >&5
20328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329
(exit $ac_status); } >/dev/null && {
20330
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20331
test ! -s conftest.err
20333
ac_header_preproc=yes
20335
echo "$as_me: failed program was:" >&5
20336
sed 's/^/| /' conftest.$ac_ext >&5
20338
ac_header_preproc=no
20341
rm -f conftest.err conftest.$ac_ext
20342
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20343
echo "${ECHO_T}$ac_header_preproc" >&6; }
20345
# So? What about this header?
20346
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20348
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20349
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20350
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20351
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20352
ac_header_preproc=yes
20355
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20356
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20357
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20358
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20359
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20360
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20361
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20362
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20363
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20364
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20365
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20366
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20368
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
20369
@%:@@%:@ Report this to Fabrice Rey (fabounet@users.berlios.de) @%:@@%:@
20370
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
20372
) | sed "s/^/$as_me: WARNING: /" >&2
20375
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20376
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20377
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20378
echo $ECHO_N "(cached) $ECHO_C" >&6
20380
eval "$as_ac_Header=\$ac_header_preproc"
20382
ac_res=`eval echo '${'$as_ac_Header'}'`
20383
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20384
echo "${ECHO_T}$ac_res" >&6; }
20387
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20388
cat >>confdefs.h <<_ACEOF
20389
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20396
if test $ac_cv_header_locale_h = yes; then
20397
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
20398
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
20399
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
20400
echo $ECHO_N "(cached) $ECHO_C" >&6
20402
cat >conftest.$ac_ext <<_ACEOF
20405
cat confdefs.h >>conftest.$ac_ext
20406
cat >>conftest.$ac_ext <<_ACEOF
20407
/* end confdefs.h. */
20408
#include <locale.h>
20417
rm -f conftest.$ac_objext conftest$ac_exeext
20418
if { (ac_try="$ac_link"
20419
case "(($ac_try" in
20420
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421
*) ac_try_echo=$ac_try;;
20423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424
(eval "$ac_link") 2>conftest.er1
20426
grep -v '^ *+' conftest.er1 >conftest.err
20428
cat conftest.err >&5
20429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430
(exit $ac_status); } && {
20431
test -z "$ac_c_werror_flag" ||
20432
test ! -s conftest.err
20433
} && test -s conftest$ac_exeext &&
20434
$as_test_x conftest$ac_exeext; then
20435
am_cv_val_LC_MESSAGES=yes
20437
echo "$as_me: failed program was:" >&5
20438
sed 's/^/| /' conftest.$ac_ext >&5
20440
am_cv_val_LC_MESSAGES=no
20443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20444
conftest$ac_exeext conftest.$ac_ext
20446
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
20447
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
20448
if test $am_cv_val_LC_MESSAGES = yes; then
20450
cat >>confdefs.h <<\_ACEOF
20451
@%:@define HAVE_LC_MESSAGES 1
20459
gt_cv_have_gettext=no
20465
if test "${ac_cv_header_libintl_h+set}" = set; then
20466
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
20467
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20468
if test "${ac_cv_header_libintl_h+set}" = set; then
20469
echo $ECHO_N "(cached) $ECHO_C" >&6
20471
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20472
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20474
# Is the header compilable?
20475
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
20476
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
20477
cat >conftest.$ac_ext <<_ACEOF
20480
cat confdefs.h >>conftest.$ac_ext
20481
cat >>conftest.$ac_ext <<_ACEOF
20482
/* end confdefs.h. */
20483
$ac_includes_default
20484
@%:@include <libintl.h>
20486
rm -f conftest.$ac_objext
20487
if { (ac_try="$ac_compile"
20488
case "(($ac_try" in
20489
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20490
*) ac_try_echo=$ac_try;;
20492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20493
(eval "$ac_compile") 2>conftest.er1
20495
grep -v '^ *+' conftest.er1 >conftest.err
20497
cat conftest.err >&5
20498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499
(exit $ac_status); } && {
20500
test -z "$ac_c_werror_flag" ||
20501
test ! -s conftest.err
20502
} && test -s conftest.$ac_objext; then
20503
ac_header_compiler=yes
20505
echo "$as_me: failed program was:" >&5
20506
sed 's/^/| /' conftest.$ac_ext >&5
20508
ac_header_compiler=no
20511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20512
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20513
echo "${ECHO_T}$ac_header_compiler" >&6; }
20515
# Is the header present?
20516
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
20517
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
20518
cat >conftest.$ac_ext <<_ACEOF
20521
cat confdefs.h >>conftest.$ac_ext
20522
cat >>conftest.$ac_ext <<_ACEOF
20523
/* end confdefs.h. */
20524
@%:@include <libintl.h>
20526
if { (ac_try="$ac_cpp conftest.$ac_ext"
20527
case "(($ac_try" in
20528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529
*) ac_try_echo=$ac_try;;
20531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20534
grep -v '^ *+' conftest.er1 >conftest.err
20536
cat conftest.err >&5
20537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538
(exit $ac_status); } >/dev/null && {
20539
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20540
test ! -s conftest.err
20542
ac_header_preproc=yes
20544
echo "$as_me: failed program was:" >&5
20545
sed 's/^/| /' conftest.$ac_ext >&5
20547
ac_header_preproc=no
20550
rm -f conftest.err conftest.$ac_ext
20551
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20552
echo "${ECHO_T}$ac_header_preproc" >&6; }
20554
# So? What about this header?
20555
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20557
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
20558
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20559
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
20560
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
20561
ac_header_preproc=yes
20564
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
20565
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
20566
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
20567
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
20568
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
20569
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
20570
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
20571
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
20572
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
20573
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
20574
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
20575
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
20577
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
20578
@%:@@%:@ Report this to Fabrice Rey (fabounet@users.berlios.de) @%:@@%:@
20579
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
20581
) | sed "s/^/$as_me: WARNING: /" >&2
20584
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
20585
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20586
if test "${ac_cv_header_libintl_h+set}" = set; then
20587
echo $ECHO_N "(cached) $ECHO_C" >&6
20589
ac_cv_header_libintl_h=$ac_header_preproc
20591
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20592
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20595
if test $ac_cv_header_libintl_h = yes; then
20596
gt_cv_func_dgettext_libintl="no"
20597
libintl_extra_libs=""
20600
# First check in libc
20602
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
20603
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
20604
if test "${gt_cv_func_ngettext_libc+set}" = set; then
20605
echo $ECHO_N "(cached) $ECHO_C" >&6
20607
cat >conftest.$ac_ext <<_ACEOF
20610
cat confdefs.h >>conftest.$ac_ext
20611
cat >>conftest.$ac_ext <<_ACEOF
20612
/* end confdefs.h. */
20614
#include <libintl.h>
20619
return !ngettext ("","", 1)
20624
rm -f conftest.$ac_objext conftest$ac_exeext
20625
if { (ac_try="$ac_link"
20626
case "(($ac_try" in
20627
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628
*) ac_try_echo=$ac_try;;
20630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631
(eval "$ac_link") 2>conftest.er1
20633
grep -v '^ *+' conftest.er1 >conftest.err
20635
cat conftest.err >&5
20636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637
(exit $ac_status); } && {
20638
test -z "$ac_c_werror_flag" ||
20639
test ! -s conftest.err
20640
} && test -s conftest$ac_exeext &&
20641
$as_test_x conftest$ac_exeext; then
20642
gt_cv_func_ngettext_libc=yes
20644
echo "$as_me: failed program was:" >&5
20645
sed 's/^/| /' conftest.$ac_ext >&5
20647
gt_cv_func_ngettext_libc=no
20650
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20651
conftest$ac_exeext conftest.$ac_ext
20654
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
20655
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
20657
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20658
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
20659
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
20660
if test "${gt_cv_func_dgettext_libc+set}" = set; then
20661
echo $ECHO_N "(cached) $ECHO_C" >&6
20663
cat >conftest.$ac_ext <<_ACEOF
20666
cat confdefs.h >>conftest.$ac_ext
20667
cat >>conftest.$ac_ext <<_ACEOF
20668
/* end confdefs.h. */
20670
#include <libintl.h>
20675
return !dgettext ("","")
20680
rm -f conftest.$ac_objext conftest$ac_exeext
20681
if { (ac_try="$ac_link"
20682
case "(($ac_try" in
20683
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684
*) ac_try_echo=$ac_try;;
20686
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687
(eval "$ac_link") 2>conftest.er1
20689
grep -v '^ *+' conftest.er1 >conftest.err
20691
cat conftest.err >&5
20692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693
(exit $ac_status); } && {
20694
test -z "$ac_c_werror_flag" ||
20695
test ! -s conftest.err
20696
} && test -s conftest$ac_exeext &&
20697
$as_test_x conftest$ac_exeext; then
20698
gt_cv_func_dgettext_libc=yes
20700
echo "$as_me: failed program was:" >&5
20701
sed 's/^/| /' conftest.$ac_ext >&5
20703
gt_cv_func_dgettext_libc=no
20706
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20707
conftest$ac_exeext conftest.$ac_ext
20710
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
20711
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
20714
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20716
for ac_func in bind_textdomain_codeset
20718
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20719
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20720
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20721
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20722
echo $ECHO_N "(cached) $ECHO_C" >&6
20724
cat >conftest.$ac_ext <<_ACEOF
20727
cat confdefs.h >>conftest.$ac_ext
20728
cat >>conftest.$ac_ext <<_ACEOF
20729
/* end confdefs.h. */
20730
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20731
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20732
#define $ac_func innocuous_$ac_func
20734
/* System header to define __stub macros and hopefully few prototypes,
20735
which can conflict with char $ac_func (); below.
20736
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20737
<limits.h> exists even on freestanding compilers. */
20740
# include <limits.h>
20742
# include <assert.h>
20747
/* Override any GCC internal prototype to avoid an error.
20748
Use char because int might match the return type of a GCC
20749
builtin and then its argument prototype would still apply. */
20754
/* The GNU C library defines this for functions which it implements
20755
to always fail with ENOSYS. Some functions are actually named
20756
something starting with __ and the normal name is an alias. */
20757
#if defined __stub_$ac_func || defined __stub___$ac_func
20764
return $ac_func ();
20769
rm -f conftest.$ac_objext conftest$ac_exeext
20770
if { (ac_try="$ac_link"
20771
case "(($ac_try" in
20772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773
*) ac_try_echo=$ac_try;;
20775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776
(eval "$ac_link") 2>conftest.er1
20778
grep -v '^ *+' conftest.er1 >conftest.err
20780
cat conftest.err >&5
20781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782
(exit $ac_status); } && {
20783
test -z "$ac_c_werror_flag" ||
20784
test ! -s conftest.err
20785
} && test -s conftest$ac_exeext &&
20786
$as_test_x conftest$ac_exeext; then
20787
eval "$as_ac_var=yes"
20789
echo "$as_me: failed program was:" >&5
20790
sed 's/^/| /' conftest.$ac_ext >&5
20792
eval "$as_ac_var=no"
20795
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20796
conftest$ac_exeext conftest.$ac_ext
20798
ac_res=`eval echo '${'$as_ac_var'}'`
20799
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20800
echo "${ECHO_T}$ac_res" >&6; }
20801
if test `eval echo '${'$as_ac_var'}'` = yes; then
20802
cat >>confdefs.h <<_ACEOF
20803
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20812
# If we don't have everything we want, check in libintl
20814
if test "$gt_cv_func_dgettext_libc" != "yes" \
20815
|| test "$gt_cv_func_ngettext_libc" != "yes" \
20816
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20818
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20819
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
20820
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20821
echo $ECHO_N "(cached) $ECHO_C" >&6
20823
ac_check_lib_save_LIBS=$LIBS
20824
LIBS="-lintl $LIBS"
20825
cat >conftest.$ac_ext <<_ACEOF
20828
cat confdefs.h >>conftest.$ac_ext
20829
cat >>conftest.$ac_ext <<_ACEOF
20830
/* end confdefs.h. */
20832
/* Override any GCC internal prototype to avoid an error.
20833
Use char because int might match the return type of a GCC
20834
builtin and then its argument prototype would still apply. */
20838
char bindtextdomain ();
20842
return bindtextdomain ();
20847
rm -f conftest.$ac_objext conftest$ac_exeext
20848
if { (ac_try="$ac_link"
20849
case "(($ac_try" in
20850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20851
*) ac_try_echo=$ac_try;;
20853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854
(eval "$ac_link") 2>conftest.er1
20856
grep -v '^ *+' conftest.er1 >conftest.err
20858
cat conftest.err >&5
20859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860
(exit $ac_status); } && {
20861
test -z "$ac_c_werror_flag" ||
20862
test ! -s conftest.err
20863
} && test -s conftest$ac_exeext &&
20864
$as_test_x conftest$ac_exeext; then
20865
ac_cv_lib_intl_bindtextdomain=yes
20867
echo "$as_me: failed program was:" >&5
20868
sed 's/^/| /' conftest.$ac_ext >&5
20870
ac_cv_lib_intl_bindtextdomain=no
20873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20874
conftest$ac_exeext conftest.$ac_ext
20875
LIBS=$ac_check_lib_save_LIBS
20877
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
20878
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
20879
if test $ac_cv_lib_intl_bindtextdomain = yes; then
20880
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20881
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20882
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20883
echo $ECHO_N "(cached) $ECHO_C" >&6
20885
ac_check_lib_save_LIBS=$LIBS
20886
LIBS="-lintl $LIBS"
20887
cat >conftest.$ac_ext <<_ACEOF
20890
cat confdefs.h >>conftest.$ac_ext
20891
cat >>conftest.$ac_ext <<_ACEOF
20892
/* end confdefs.h. */
20894
/* Override any GCC internal prototype to avoid an error.
20895
Use char because int might match the return type of a GCC
20896
builtin and then its argument prototype would still apply. */
20904
return ngettext ();
20909
rm -f conftest.$ac_objext conftest$ac_exeext
20910
if { (ac_try="$ac_link"
20911
case "(($ac_try" in
20912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913
*) ac_try_echo=$ac_try;;
20915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916
(eval "$ac_link") 2>conftest.er1
20918
grep -v '^ *+' conftest.er1 >conftest.err
20920
cat conftest.err >&5
20921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922
(exit $ac_status); } && {
20923
test -z "$ac_c_werror_flag" ||
20924
test ! -s conftest.err
20925
} && test -s conftest$ac_exeext &&
20926
$as_test_x conftest$ac_exeext; then
20927
ac_cv_lib_intl_ngettext=yes
20929
echo "$as_me: failed program was:" >&5
20930
sed 's/^/| /' conftest.$ac_ext >&5
20932
ac_cv_lib_intl_ngettext=no
20935
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20936
conftest$ac_exeext conftest.$ac_ext
20937
LIBS=$ac_check_lib_save_LIBS
20939
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20940
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20941
if test $ac_cv_lib_intl_ngettext = yes; then
20942
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20943
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20944
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20945
echo $ECHO_N "(cached) $ECHO_C" >&6
20947
ac_check_lib_save_LIBS=$LIBS
20948
LIBS="-lintl $LIBS"
20949
cat >conftest.$ac_ext <<_ACEOF
20952
cat confdefs.h >>conftest.$ac_ext
20953
cat >>conftest.$ac_ext <<_ACEOF
20954
/* end confdefs.h. */
20956
/* Override any GCC internal prototype to avoid an error.
20957
Use char because int might match the return type of a GCC
20958
builtin and then its argument prototype would still apply. */
20966
return dgettext ();
20971
rm -f conftest.$ac_objext conftest$ac_exeext
20972
if { (ac_try="$ac_link"
20973
case "(($ac_try" in
20974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20975
*) ac_try_echo=$ac_try;;
20977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20978
(eval "$ac_link") 2>conftest.er1
20980
grep -v '^ *+' conftest.er1 >conftest.err
20982
cat conftest.err >&5
20983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984
(exit $ac_status); } && {
20985
test -z "$ac_c_werror_flag" ||
20986
test ! -s conftest.err
20987
} && test -s conftest$ac_exeext &&
20988
$as_test_x conftest$ac_exeext; then
20989
ac_cv_lib_intl_dgettext=yes
20991
echo "$as_me: failed program was:" >&5
20992
sed 's/^/| /' conftest.$ac_ext >&5
20994
ac_cv_lib_intl_dgettext=no
20997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20998
conftest$ac_exeext conftest.$ac_ext
20999
LIBS=$ac_check_lib_save_LIBS
21001
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21002
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21003
if test $ac_cv_lib_intl_dgettext = yes; then
21004
gt_cv_func_dgettext_libintl=yes
21012
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21013
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21014
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
21015
{ echo "$as_me:$LINENO: result: " >&5
21016
echo "${ECHO_T}" >&6; }
21017
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21018
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21019
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21020
echo $ECHO_N "(cached) $ECHO_C" >&6
21022
ac_check_lib_save_LIBS=$LIBS
21023
LIBS="-lintl -liconv $LIBS"
21024
cat >conftest.$ac_ext <<_ACEOF
21027
cat confdefs.h >>conftest.$ac_ext
21028
cat >>conftest.$ac_ext <<_ACEOF
21029
/* end confdefs.h. */
21031
/* Override any GCC internal prototype to avoid an error.
21032
Use char because int might match the return type of a GCC
21033
builtin and then its argument prototype would still apply. */
21041
return ngettext ();
21046
rm -f conftest.$ac_objext conftest$ac_exeext
21047
if { (ac_try="$ac_link"
21048
case "(($ac_try" in
21049
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21050
*) ac_try_echo=$ac_try;;
21052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21053
(eval "$ac_link") 2>conftest.er1
21055
grep -v '^ *+' conftest.er1 >conftest.err
21057
cat conftest.err >&5
21058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059
(exit $ac_status); } && {
21060
test -z "$ac_c_werror_flag" ||
21061
test ! -s conftest.err
21062
} && test -s conftest$ac_exeext &&
21063
$as_test_x conftest$ac_exeext; then
21064
ac_cv_lib_intl_ngettext=yes
21066
echo "$as_me: failed program was:" >&5
21067
sed 's/^/| /' conftest.$ac_ext >&5
21069
ac_cv_lib_intl_ngettext=no
21072
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21073
conftest$ac_exeext conftest.$ac_ext
21074
LIBS=$ac_check_lib_save_LIBS
21076
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21077
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21078
if test $ac_cv_lib_intl_ngettext = yes; then
21079
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21080
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
21081
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21082
echo $ECHO_N "(cached) $ECHO_C" >&6
21084
ac_check_lib_save_LIBS=$LIBS
21085
LIBS="-lintl -liconv $LIBS"
21086
cat >conftest.$ac_ext <<_ACEOF
21089
cat confdefs.h >>conftest.$ac_ext
21090
cat >>conftest.$ac_ext <<_ACEOF
21091
/* end confdefs.h. */
21093
/* Override any GCC internal prototype to avoid an error.
21094
Use char because int might match the return type of a GCC
21095
builtin and then its argument prototype would still apply. */
21103
return dcgettext ();
21108
rm -f conftest.$ac_objext conftest$ac_exeext
21109
if { (ac_try="$ac_link"
21110
case "(($ac_try" in
21111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21112
*) ac_try_echo=$ac_try;;
21114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21115
(eval "$ac_link") 2>conftest.er1
21117
grep -v '^ *+' conftest.er1 >conftest.err
21119
cat conftest.err >&5
21120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121
(exit $ac_status); } && {
21122
test -z "$ac_c_werror_flag" ||
21123
test ! -s conftest.err
21124
} && test -s conftest$ac_exeext &&
21125
$as_test_x conftest$ac_exeext; then
21126
ac_cv_lib_intl_dcgettext=yes
21128
echo "$as_me: failed program was:" >&5
21129
sed 's/^/| /' conftest.$ac_ext >&5
21131
ac_cv_lib_intl_dcgettext=no
21134
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21135
conftest$ac_exeext conftest.$ac_ext
21136
LIBS=$ac_check_lib_save_LIBS
21138
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21139
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
21140
if test $ac_cv_lib_intl_dcgettext = yes; then
21141
gt_cv_func_dgettext_libintl=yes
21142
libintl_extra_libs=-liconv
21154
# If we found libintl, then check in it for bind_textdomain_codeset();
21155
# we'll prefer libc if neither have bind_textdomain_codeset(),
21156
# and both have dgettext and ngettext
21158
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21159
glib_save_LIBS="$LIBS"
21160
LIBS="$LIBS -lintl $libintl_extra_libs"
21161
unset ac_cv_func_bind_textdomain_codeset
21163
for ac_func in bind_textdomain_codeset
21165
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21166
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21167
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21168
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21169
echo $ECHO_N "(cached) $ECHO_C" >&6
21171
cat >conftest.$ac_ext <<_ACEOF
21174
cat confdefs.h >>conftest.$ac_ext
21175
cat >>conftest.$ac_ext <<_ACEOF
21176
/* end confdefs.h. */
21177
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21178
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21179
#define $ac_func innocuous_$ac_func
21181
/* System header to define __stub macros and hopefully few prototypes,
21182
which can conflict with char $ac_func (); below.
21183
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21184
<limits.h> exists even on freestanding compilers. */
21187
# include <limits.h>
21189
# include <assert.h>
21194
/* Override any GCC internal prototype to avoid an error.
21195
Use char because int might match the return type of a GCC
21196
builtin and then its argument prototype would still apply. */
21201
/* The GNU C library defines this for functions which it implements
21202
to always fail with ENOSYS. Some functions are actually named
21203
something starting with __ and the normal name is an alias. */
21204
#if defined __stub_$ac_func || defined __stub___$ac_func
21211
return $ac_func ();
21216
rm -f conftest.$ac_objext conftest$ac_exeext
21217
if { (ac_try="$ac_link"
21218
case "(($ac_try" in
21219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220
*) ac_try_echo=$ac_try;;
21222
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223
(eval "$ac_link") 2>conftest.er1
21225
grep -v '^ *+' conftest.er1 >conftest.err
21227
cat conftest.err >&5
21228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229
(exit $ac_status); } && {
21230
test -z "$ac_c_werror_flag" ||
21231
test ! -s conftest.err
21232
} && test -s conftest$ac_exeext &&
21233
$as_test_x conftest$ac_exeext; then
21234
eval "$as_ac_var=yes"
21236
echo "$as_me: failed program was:" >&5
21237
sed 's/^/| /' conftest.$ac_ext >&5
21239
eval "$as_ac_var=no"
21242
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21243
conftest$ac_exeext conftest.$ac_ext
21245
ac_res=`eval echo '${'$as_ac_var'}'`
21246
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21247
echo "${ECHO_T}$ac_res" >&6; }
21248
if test `eval echo '${'$as_ac_var'}'` = yes; then
21249
cat >>confdefs.h <<_ACEOF
21250
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21256
LIBS="$glib_save_LIBS"
21258
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
21259
gt_cv_func_dgettext_libc=no
21261
if test "$gt_cv_func_dgettext_libc" = "yes" \
21262
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
21263
gt_cv_func_dgettext_libintl=no
21269
if test "$gt_cv_func_dgettext_libc" = "yes" \
21270
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
21271
gt_cv_have_gettext=yes
21274
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
21275
INTLLIBS="-lintl $libintl_extra_libs"
21278
if test "$gt_cv_have_gettext" = "yes"; then
21280
cat >>confdefs.h <<\_ACEOF
21281
@%:@define HAVE_GETTEXT 1
21284
# Extract the first word of "msgfmt", so it can be a program name with args.
21285
set dummy msgfmt; ac_word=$2
21286
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21287
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21288
if test "${ac_cv_path_MSGFMT+set}" = set; then
21289
echo $ECHO_N "(cached) $ECHO_C" >&6
21293
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
21296
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21297
for ac_dir in $PATH; do
21298
test -z "$ac_dir" && ac_dir=.
21299
if test -f $ac_dir/$ac_word; then
21300
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
21301
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
21307
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
21311
MSGFMT="$ac_cv_path_MSGFMT"
21312
if test "$MSGFMT" != "no"; then
21313
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
21314
echo "${ECHO_T}$MSGFMT" >&6; }
21316
{ echo "$as_me:$LINENO: result: no" >&5
21317
echo "${ECHO_T}no" >&6; }
21319
if test "$MSGFMT" != "no"; then
21320
glib_save_LIBS="$LIBS"
21321
LIBS="$LIBS $INTLLIBS"
21323
for ac_func in dcgettext
21325
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21326
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21327
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21328
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21329
echo $ECHO_N "(cached) $ECHO_C" >&6
21331
cat >conftest.$ac_ext <<_ACEOF
21334
cat confdefs.h >>conftest.$ac_ext
21335
cat >>conftest.$ac_ext <<_ACEOF
21336
/* end confdefs.h. */
21337
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21338
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21339
#define $ac_func innocuous_$ac_func
21341
/* System header to define __stub macros and hopefully few prototypes,
21342
which can conflict with char $ac_func (); below.
21343
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21344
<limits.h> exists even on freestanding compilers. */
21347
# include <limits.h>
21349
# include <assert.h>
21354
/* Override any GCC internal prototype to avoid an error.
21355
Use char because int might match the return type of a GCC
21356
builtin and then its argument prototype would still apply. */
21361
/* The GNU C library defines this for functions which it implements
21362
to always fail with ENOSYS. Some functions are actually named
21363
something starting with __ and the normal name is an alias. */
21364
#if defined __stub_$ac_func || defined __stub___$ac_func
21371
return $ac_func ();
21376
rm -f conftest.$ac_objext conftest$ac_exeext
21377
if { (ac_try="$ac_link"
21378
case "(($ac_try" in
21379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21380
*) ac_try_echo=$ac_try;;
21382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21383
(eval "$ac_link") 2>conftest.er1
21385
grep -v '^ *+' conftest.er1 >conftest.err
21387
cat conftest.err >&5
21388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389
(exit $ac_status); } && {
21390
test -z "$ac_c_werror_flag" ||
21391
test ! -s conftest.err
21392
} && test -s conftest$ac_exeext &&
21393
$as_test_x conftest$ac_exeext; then
21394
eval "$as_ac_var=yes"
21396
echo "$as_me: failed program was:" >&5
21397
sed 's/^/| /' conftest.$ac_ext >&5
21399
eval "$as_ac_var=no"
21402
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21403
conftest$ac_exeext conftest.$ac_ext
21405
ac_res=`eval echo '${'$as_ac_var'}'`
21406
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21407
echo "${ECHO_T}$ac_res" >&6; }
21408
if test `eval echo '${'$as_ac_var'}'` = yes; then
21409
cat >>confdefs.h <<_ACEOF
21410
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21417
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
21418
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
21419
cat >conftest.foo <<_ACEOF
21423
"Content-Type: text/plain; charset=UTF-8\n"
21424
"Project-Id-Version: test 1.0\n"
21425
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
21426
"Last-Translator: test <foo@bar.xx>\n"
21427
"Language-Team: C <LL@li.org>\n"
21428
"MIME-Version: 1.0\n"
21429
"Content-Transfer-Encoding: 8bit\n"
21432
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
21433
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
21435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436
(exit $ac_status); }; then
21437
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
21438
echo "${ECHO_T}yes" >&6; }
21439
else { echo "$as_me:$LINENO: result: no" >&5
21440
echo "${ECHO_T}no" >&6; }
21441
echo "$as_me: failed input was:" >&5
21442
sed 's/^/| /' conftest.foo >&5
21445
# Extract the first word of "gmsgfmt", so it can be a program name with args.
21446
set dummy gmsgfmt; ac_word=$2
21447
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21448
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21449
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21450
echo $ECHO_N "(cached) $ECHO_C" >&6
21454
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
21457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21458
for as_dir in $PATH
21461
test -z "$as_dir" && as_dir=.
21462
for ac_exec_ext in '' $ac_executable_extensions; do
21463
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21464
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21465
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21472
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21476
GMSGFMT=$ac_cv_path_GMSGFMT
21477
if test -n "$GMSGFMT"; then
21478
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21479
echo "${ECHO_T}$GMSGFMT" >&6; }
21481
{ echo "$as_me:$LINENO: result: no" >&5
21482
echo "${ECHO_T}no" >&6; }
21486
# Extract the first word of "xgettext", so it can be a program name with args.
21487
set dummy xgettext; ac_word=$2
21488
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21489
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21490
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21491
echo $ECHO_N "(cached) $ECHO_C" >&6
21493
case "$XGETTEXT" in
21495
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
21498
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21499
for ac_dir in $PATH; do
21500
test -z "$ac_dir" && ac_dir=.
21501
if test -f $ac_dir/$ac_word; then
21502
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
21503
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
21509
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
21513
XGETTEXT="$ac_cv_path_XGETTEXT"
21514
if test "$XGETTEXT" != ":"; then
21515
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21516
echo "${ECHO_T}$XGETTEXT" >&6; }
21518
{ echo "$as_me:$LINENO: result: no" >&5
21519
echo "${ECHO_T}no" >&6; }
21522
cat >conftest.$ac_ext <<_ACEOF
21525
cat confdefs.h >>conftest.$ac_ext
21526
cat >>conftest.$ac_ext <<_ACEOF
21527
/* end confdefs.h. */
21532
extern int _nl_msg_cat_cntr;
21533
return _nl_msg_cat_cntr
21538
rm -f conftest.$ac_objext conftest$ac_exeext
21539
if { (ac_try="$ac_link"
21540
case "(($ac_try" in
21541
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21542
*) ac_try_echo=$ac_try;;
21544
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545
(eval "$ac_link") 2>conftest.er1
21547
grep -v '^ *+' conftest.er1 >conftest.err
21549
cat conftest.err >&5
21550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551
(exit $ac_status); } && {
21552
test -z "$ac_c_werror_flag" ||
21553
test ! -s conftest.err
21554
} && test -s conftest$ac_exeext &&
21555
$as_test_x conftest$ac_exeext; then
21559
echo "$as_me: failed program was:" >&5
21560
sed 's/^/| /' conftest.$ac_ext >&5
21564
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21565
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21566
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21567
echo $ECHO_N "(cached) $ECHO_C" >&6
21569
cat >conftest.$ac_ext <<_ACEOF
21572
cat confdefs.h >>conftest.$ac_ext
21573
cat >>conftest.$ac_ext <<_ACEOF
21574
/* end confdefs.h. */
21575
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
21576
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21577
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
21579
/* System header to define __stub macros and hopefully few prototypes,
21580
which can conflict with char bind_textdomain_codeset (); below.
21581
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21582
<limits.h> exists even on freestanding compilers. */
21585
# include <limits.h>
21587
# include <assert.h>
21590
#undef bind_textdomain_codeset
21592
/* Override any GCC internal prototype to avoid an error.
21593
Use char because int might match the return type of a GCC
21594
builtin and then its argument prototype would still apply. */
21598
char bind_textdomain_codeset ();
21599
/* The GNU C library defines this for functions which it implements
21600
to always fail with ENOSYS. Some functions are actually named
21601
something starting with __ and the normal name is an alias. */
21602
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21609
return bind_textdomain_codeset ();
21614
rm -f conftest.$ac_objext conftest$ac_exeext
21615
if { (ac_try="$ac_link"
21616
case "(($ac_try" in
21617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618
*) ac_try_echo=$ac_try;;
21620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621
(eval "$ac_link") 2>conftest.er1
21623
grep -v '^ *+' conftest.er1 >conftest.err
21625
cat conftest.err >&5
21626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627
(exit $ac_status); } && {
21628
test -z "$ac_c_werror_flag" ||
21629
test ! -s conftest.err
21630
} && test -s conftest$ac_exeext &&
21631
$as_test_x conftest$ac_exeext; then
21632
ac_cv_func_bind_textdomain_codeset=yes
21634
echo "$as_me: failed program was:" >&5
21635
sed 's/^/| /' conftest.$ac_ext >&5
21637
ac_cv_func_bind_textdomain_codeset=no
21640
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21641
conftest$ac_exeext conftest.$ac_ext
21643
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21644
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
21645
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21661
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21662
conftest$ac_exeext conftest.$ac_ext
21663
LIBS="$glib_save_LIBS"
21666
gt_cv_have_gettext=no
21674
if test "$gt_cv_have_gettext" = "yes" ; then
21676
cat >>confdefs.h <<\_ACEOF
21677
@%:@define ENABLE_NLS 1
21682
if test "$XGETTEXT" != ":"; then
21683
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21686
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
21687
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
21692
# We need to process the po/ directory.
21695
ac_config_commands="$ac_config_commands default-1"
21698
for lang in $ALL_LINGUAS; do
21699
GMOFILES="$GMOFILES $lang.gmo"
21700
POFILES="$POFILES $lang.po"
21715
if test "$gt_cv_have_gettext" = "yes"; then
21716
if test "x$ALL_LINGUAS" = "x"; then
21719
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
21720
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
21722
for presentlang in $ALL_LINGUAS; do
21724
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
21725
desiredlanguages="$LINGUAS"
21727
desiredlanguages="$ALL_LINGUAS"
21729
for desiredlang in $desiredlanguages; do
21730
# Use the presentlang catalog if desiredlang is
21731
# a. equal to presentlang, or
21732
# b. a variant of presentlang (because in this case,
21733
# presentlang can be used as a fallback for messages
21734
# which are not translated in the desiredlang catalog).
21735
case "$desiredlang" in
21736
"$presentlang"*) useit=yes;;
21739
if test $useit = yes; then
21740
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
21743
LINGUAS=$NEW_LINGUAS
21744
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
21745
echo "${ECHO_T}$LINGUAS" >&6; }
21748
if test -n "$LINGUAS"; then
21749
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
21754
if test -n "$ac_aux_dir"; then
21755
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
21757
if test -z "$MKINSTALLDIRS"; then
21758
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
21762
test -d po || mkdir po
21763
if test "x$srcdir" != "x."; then
21764
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
21765
posrcprefix="$srcdir/"
21767
posrcprefix="../$srcdir/"
21773
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
21774
< $srcdir/po/POTFILES.in > po/POTFILES
21776
GETTEXT_PACKAGE=cairo-dock
21778
cat >>confdefs.h <<_ACEOF
21779
@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
21784
# Checks for programs.
21786
ac_cpp='$CPP $CPPFLAGS'
21787
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21788
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21789
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790
if test -n "$ac_tool_prefix"; then
21791
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21792
set dummy ${ac_tool_prefix}gcc; ac_word=$2
21793
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21794
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21795
if test "${ac_cv_prog_CC+set}" = set; then
21796
echo $ECHO_N "(cached) $ECHO_C" >&6
21798
if test -n "$CC"; then
21799
ac_cv_prog_CC="$CC" # Let the user override the test.
21801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21802
for as_dir in $PATH
21805
test -z "$as_dir" && as_dir=.
21806
for ac_exec_ext in '' $ac_executable_extensions; do
21807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21808
ac_cv_prog_CC="${ac_tool_prefix}gcc"
21809
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21819
if test -n "$CC"; then
21820
{ echo "$as_me:$LINENO: result: $CC" >&5
21821
echo "${ECHO_T}$CC" >&6; }
21823
{ echo "$as_me:$LINENO: result: no" >&5
21824
echo "${ECHO_T}no" >&6; }
21829
if test -z "$ac_cv_prog_CC"; then
21831
# Extract the first word of "gcc", so it can be a program name with args.
21832
set dummy gcc; ac_word=$2
21833
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21834
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21835
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21836
echo $ECHO_N "(cached) $ECHO_C" >&6
21838
if test -n "$ac_ct_CC"; then
21839
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21842
for as_dir in $PATH
21845
test -z "$as_dir" && as_dir=.
21846
for ac_exec_ext in '' $ac_executable_extensions; do
21847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21848
ac_cv_prog_ac_ct_CC="gcc"
21849
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21858
ac_ct_CC=$ac_cv_prog_ac_ct_CC
21859
if test -n "$ac_ct_CC"; then
21860
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21861
echo "${ECHO_T}$ac_ct_CC" >&6; }
21863
{ echo "$as_me:$LINENO: result: no" >&5
21864
echo "${ECHO_T}no" >&6; }
21867
if test "x$ac_ct_CC" = x; then
21870
case $cross_compiling:$ac_tool_warned in
21872
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21873
whose name does not start with the host triplet. If you think this
21874
configuration is useful to you, please write to autoconf@gnu.org." >&5
21875
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21876
whose name does not start with the host triplet. If you think this
21877
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21878
ac_tool_warned=yes ;;
21883
CC="$ac_cv_prog_CC"
21886
if test -z "$CC"; then
21887
if test -n "$ac_tool_prefix"; then
21888
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21889
set dummy ${ac_tool_prefix}cc; ac_word=$2
21890
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21891
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21892
if test "${ac_cv_prog_CC+set}" = set; then
21893
echo $ECHO_N "(cached) $ECHO_C" >&6
21895
if test -n "$CC"; then
21896
ac_cv_prog_CC="$CC" # Let the user override the test.
21898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21899
for as_dir in $PATH
21902
test -z "$as_dir" && as_dir=.
21903
for ac_exec_ext in '' $ac_executable_extensions; do
21904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21905
ac_cv_prog_CC="${ac_tool_prefix}cc"
21906
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21916
if test -n "$CC"; then
21917
{ echo "$as_me:$LINENO: result: $CC" >&5
21918
echo "${ECHO_T}$CC" >&6; }
21920
{ echo "$as_me:$LINENO: result: no" >&5
21921
echo "${ECHO_T}no" >&6; }
21927
if test -z "$CC"; then
21928
# Extract the first word of "cc", so it can be a program name with args.
21929
set dummy cc; ac_word=$2
21930
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21931
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21932
if test "${ac_cv_prog_CC+set}" = set; then
21933
echo $ECHO_N "(cached) $ECHO_C" >&6
21935
if test -n "$CC"; then
21936
ac_cv_prog_CC="$CC" # Let the user override the test.
21938
ac_prog_rejected=no
21939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21940
for as_dir in $PATH
21943
test -z "$as_dir" && as_dir=.
21944
for ac_exec_ext in '' $ac_executable_extensions; do
21945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21946
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21947
ac_prog_rejected=yes
21951
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21958
if test $ac_prog_rejected = yes; then
21959
# We found a bogon in the path, so make sure we never use it.
21960
set dummy $ac_cv_prog_CC
21962
if test $@%:@ != 0; then
21963
# We chose a different compiler from the bogus one.
21964
# However, it has the same basename, so the bogon will be chosen
21965
# first if we set CC to just the basename; use the full file name.
21967
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
21973
if test -n "$CC"; then
21974
{ echo "$as_me:$LINENO: result: $CC" >&5
21975
echo "${ECHO_T}$CC" >&6; }
21977
{ echo "$as_me:$LINENO: result: no" >&5
21978
echo "${ECHO_T}no" >&6; }
21983
if test -z "$CC"; then
21984
if test -n "$ac_tool_prefix"; then
21985
for ac_prog in cl.exe
21987
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21988
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21989
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21990
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21991
if test "${ac_cv_prog_CC+set}" = set; then
21992
echo $ECHO_N "(cached) $ECHO_C" >&6
21994
if test -n "$CC"; then
21995
ac_cv_prog_CC="$CC" # Let the user override the test.
21997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21998
for as_dir in $PATH
22001
test -z "$as_dir" && as_dir=.
22002
for ac_exec_ext in '' $ac_executable_extensions; do
22003
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22004
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
22005
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22015
if test -n "$CC"; then
22016
{ echo "$as_me:$LINENO: result: $CC" >&5
22017
echo "${ECHO_T}$CC" >&6; }
22019
{ echo "$as_me:$LINENO: result: no" >&5
22020
echo "${ECHO_T}no" >&6; }
22024
test -n "$CC" && break
22027
if test -z "$CC"; then
22029
for ac_prog in cl.exe
22031
# Extract the first word of "$ac_prog", so it can be a program name with args.
22032
set dummy $ac_prog; ac_word=$2
22033
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22034
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22035
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
22036
echo $ECHO_N "(cached) $ECHO_C" >&6
22038
if test -n "$ac_ct_CC"; then
22039
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22042
for as_dir in $PATH
22045
test -z "$as_dir" && as_dir=.
22046
for ac_exec_ext in '' $ac_executable_extensions; do
22047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22048
ac_cv_prog_ac_ct_CC="$ac_prog"
22049
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22058
ac_ct_CC=$ac_cv_prog_ac_ct_CC
22059
if test -n "$ac_ct_CC"; then
22060
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
22061
echo "${ECHO_T}$ac_ct_CC" >&6; }
22063
{ echo "$as_me:$LINENO: result: no" >&5
22064
echo "${ECHO_T}no" >&6; }
22068
test -n "$ac_ct_CC" && break
22071
if test "x$ac_ct_CC" = x; then
22074
case $cross_compiling:$ac_tool_warned in
22076
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22077
whose name does not start with the host triplet. If you think this
22078
configuration is useful to you, please write to autoconf@gnu.org." >&5
22079
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22080
whose name does not start with the host triplet. If you think this
22081
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22082
ac_tool_warned=yes ;;
22091
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
22092
See \`config.log' for more details." >&5
22093
echo "$as_me: error: no acceptable C compiler found in \$PATH
22094
See \`config.log' for more details." >&2;}
22095
{ (exit 1); exit 1; }; }
22097
# Provide some information about the compiler.
22098
echo "$as_me:$LINENO: checking for C compiler version" >&5
22099
ac_compiler=`set X $ac_compile; echo $2`
22100
{ (ac_try="$ac_compiler --version >&5"
22101
case "(($ac_try" in
22102
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103
*) ac_try_echo=$ac_try;;
22105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106
(eval "$ac_compiler --version >&5") 2>&5
22108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109
(exit $ac_status); }
22110
{ (ac_try="$ac_compiler -v >&5"
22111
case "(($ac_try" in
22112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22113
*) ac_try_echo=$ac_try;;
22115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22116
(eval "$ac_compiler -v >&5") 2>&5
22118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119
(exit $ac_status); }
22120
{ (ac_try="$ac_compiler -V >&5"
22121
case "(($ac_try" in
22122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123
*) ac_try_echo=$ac_try;;
22125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126
(eval "$ac_compiler -V >&5") 2>&5
22128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129
(exit $ac_status); }
22131
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
22132
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
22133
if test "${ac_cv_c_compiler_gnu+set}" = set; then
22134
echo $ECHO_N "(cached) $ECHO_C" >&6
22136
cat >conftest.$ac_ext <<_ACEOF
22139
cat confdefs.h >>conftest.$ac_ext
22140
cat >>conftest.$ac_ext <<_ACEOF
22141
/* end confdefs.h. */
22154
rm -f conftest.$ac_objext
22155
if { (ac_try="$ac_compile"
22156
case "(($ac_try" in
22157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22158
*) ac_try_echo=$ac_try;;
22160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22161
(eval "$ac_compile") 2>conftest.er1
22163
grep -v '^ *+' conftest.er1 >conftest.err
22165
cat conftest.err >&5
22166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167
(exit $ac_status); } && {
22168
test -z "$ac_c_werror_flag" ||
22169
test ! -s conftest.err
22170
} && test -s conftest.$ac_objext; then
22171
ac_compiler_gnu=yes
22173
echo "$as_me: failed program was:" >&5
22174
sed 's/^/| /' conftest.$ac_ext >&5
22179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22180
ac_cv_c_compiler_gnu=$ac_compiler_gnu
22183
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
22184
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
22185
GCC=`test $ac_compiler_gnu = yes && echo yes`
22186
ac_test_CFLAGS=${CFLAGS+set}
22187
ac_save_CFLAGS=$CFLAGS
22188
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
22189
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
22190
if test "${ac_cv_prog_cc_g+set}" = set; then
22191
echo $ECHO_N "(cached) $ECHO_C" >&6
22193
ac_save_c_werror_flag=$ac_c_werror_flag
22194
ac_c_werror_flag=yes
22197
cat >conftest.$ac_ext <<_ACEOF
22200
cat confdefs.h >>conftest.$ac_ext
22201
cat >>conftest.$ac_ext <<_ACEOF
22202
/* end confdefs.h. */
22212
rm -f conftest.$ac_objext
22213
if { (ac_try="$ac_compile"
22214
case "(($ac_try" in
22215
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216
*) ac_try_echo=$ac_try;;
22218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219
(eval "$ac_compile") 2>conftest.er1
22221
grep -v '^ *+' conftest.er1 >conftest.err
22223
cat conftest.err >&5
22224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225
(exit $ac_status); } && {
22226
test -z "$ac_c_werror_flag" ||
22227
test ! -s conftest.err
22228
} && test -s conftest.$ac_objext; then
22229
ac_cv_prog_cc_g=yes
22231
echo "$as_me: failed program was:" >&5
22232
sed 's/^/| /' conftest.$ac_ext >&5
22235
cat >conftest.$ac_ext <<_ACEOF
22238
cat confdefs.h >>conftest.$ac_ext
22239
cat >>conftest.$ac_ext <<_ACEOF
22240
/* end confdefs.h. */
22250
rm -f conftest.$ac_objext
22251
if { (ac_try="$ac_compile"
22252
case "(($ac_try" in
22253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254
*) ac_try_echo=$ac_try;;
22256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257
(eval "$ac_compile") 2>conftest.er1
22259
grep -v '^ *+' conftest.er1 >conftest.err
22261
cat conftest.err >&5
22262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263
(exit $ac_status); } && {
22264
test -z "$ac_c_werror_flag" ||
22265
test ! -s conftest.err
22266
} && test -s conftest.$ac_objext; then
22269
echo "$as_me: failed program was:" >&5
22270
sed 's/^/| /' conftest.$ac_ext >&5
22272
ac_c_werror_flag=$ac_save_c_werror_flag
22274
cat >conftest.$ac_ext <<_ACEOF
22277
cat confdefs.h >>conftest.$ac_ext
22278
cat >>conftest.$ac_ext <<_ACEOF
22279
/* end confdefs.h. */
22289
rm -f conftest.$ac_objext
22290
if { (ac_try="$ac_compile"
22291
case "(($ac_try" in
22292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22293
*) ac_try_echo=$ac_try;;
22295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22296
(eval "$ac_compile") 2>conftest.er1
22298
grep -v '^ *+' conftest.er1 >conftest.err
22300
cat conftest.err >&5
22301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302
(exit $ac_status); } && {
22303
test -z "$ac_c_werror_flag" ||
22304
test ! -s conftest.err
22305
} && test -s conftest.$ac_objext; then
22306
ac_cv_prog_cc_g=yes
22308
echo "$as_me: failed program was:" >&5
22309
sed 's/^/| /' conftest.$ac_ext >&5
22314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22321
ac_c_werror_flag=$ac_save_c_werror_flag
22323
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
22324
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
22325
if test "$ac_test_CFLAGS" = set; then
22326
CFLAGS=$ac_save_CFLAGS
22327
elif test $ac_cv_prog_cc_g = yes; then
22328
if test "$GCC" = yes; then
22334
if test "$GCC" = yes; then
22340
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
22341
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
22342
if test "${ac_cv_prog_cc_c89+set}" = set; then
22343
echo $ECHO_N "(cached) $ECHO_C" >&6
22345
ac_cv_prog_cc_c89=no
22347
cat >conftest.$ac_ext <<_ACEOF
22350
cat confdefs.h >>conftest.$ac_ext
22351
cat >>conftest.$ac_ext <<_ACEOF
22352
/* end confdefs.h. */
22353
#include <stdarg.h>
22355
#include <sys/types.h>
22356
#include <sys/stat.h>
22357
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
22358
struct buf { int x; };
22359
FILE * (*rcsopen) (struct buf *, struct stat *, int);
22360
static char *e (p, i)
22366
static char *f (char * (*g) (char **, int), char **p, ...)
22371
s = g (p, va_arg (v,int));
22376
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
22377
function prototypes and stuff, but not '\xHH' hex character constants.
22378
These don't provoke an error unfortunately, instead are silently treated
22379
as 'x'. The following induces an error, until -std is added to get
22380
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
22381
array size at least. It's necessary to write '\x00'==0 to get something
22382
that's true only with -std. */
22383
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
22385
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
22386
inside strings and character constants. */
22388
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
22390
int test (int i, double x);
22391
struct s1 {int (*f) (int a);};
22392
struct s2 {int (*f) (double a);};
22393
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
22399
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
22404
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
22405
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
22407
CC="$ac_save_CC $ac_arg"
22408
rm -f conftest.$ac_objext
22409
if { (ac_try="$ac_compile"
22410
case "(($ac_try" in
22411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412
*) ac_try_echo=$ac_try;;
22414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415
(eval "$ac_compile") 2>conftest.er1
22417
grep -v '^ *+' conftest.er1 >conftest.err
22419
cat conftest.err >&5
22420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421
(exit $ac_status); } && {
22422
test -z "$ac_c_werror_flag" ||
22423
test ! -s conftest.err
22424
} && test -s conftest.$ac_objext; then
22425
ac_cv_prog_cc_c89=$ac_arg
22427
echo "$as_me: failed program was:" >&5
22428
sed 's/^/| /' conftest.$ac_ext >&5
22433
rm -f core conftest.err conftest.$ac_objext
22434
test "x$ac_cv_prog_cc_c89" != "xno" && break
22436
rm -f conftest.$ac_ext
22441
case "x$ac_cv_prog_cc_c89" in
22443
{ echo "$as_me:$LINENO: result: none needed" >&5
22444
echo "${ECHO_T}none needed" >&6; } ;;
22446
{ echo "$as_me:$LINENO: result: unsupported" >&5
22447
echo "${ECHO_T}unsupported" >&6; } ;;
22449
CC="$CC $ac_cv_prog_cc_c89"
22450
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
22451
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
22456
ac_cpp='$CPP $CPPFLAGS'
22457
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22461
depcc="$CC" am_compiler_list=
22463
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
22464
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
22465
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
22466
echo $ECHO_N "(cached) $ECHO_C" >&6
22468
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22469
# We make a subdir and do the tests there. Otherwise we can end up
22470
# making bogus files that we don't know about and never remove. For
22471
# instance it was reported that on HP-UX the gcc test will end up
22472
# making a dummy file named `D' -- because `-MD' means `put the output
22475
# Copy depcomp to subdir because otherwise we won't find it if we're
22476
# using a relative directory.
22477
cp "$am_depcomp" conftest.dir
22479
# We will build objects and dependencies in a subdirectory because
22480
# it helps to detect inapplicable dependency modes. For instance
22481
# both Tru64's cc and ICC support -MD to output dependencies as a
22482
# side effect of compilation, but ICC will put the dependencies in
22483
# the current directory while Tru64 will put them in the object
22487
am_cv_CC_dependencies_compiler_type=none
22488
if test "$am_compiler_list" = ""; then
22489
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22491
for depmode in $am_compiler_list; do
22492
# Setup a source with many dependencies, because some compilers
22493
# like to wrap large dependency lists on column 80 (with \), and
22494
# we should not choose a depcomp mode which is confused by this.
22496
# We need to recreate these files for each test, as the compiler may
22497
# overwrite some of them when testing with obscure command lines.
22498
# This happens at least with the AIX C compiler.
22500
for i in 1 2 3 4 5 6; do
22501
echo '#include "conftst'$i'.h"' >> sub/conftest.c
22502
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
22503
# Solaris 8's {/usr,}/bin/sh.
22504
touch sub/conftst$i.h
22506
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22510
# after this tag, mechanisms are not by side-effect, so they'll
22511
# only be used when explicitly requested
22512
if test "x$enable_dependency_tracking" = xyes; then
22520
# We check with `-c' and `-o' for the sake of the "dashmstdout"
22521
# mode. It turns out that the SunPro C++ compiler does not properly
22522
# handle `-M -o', and we need to detect this.
22523
if depmode=$depmode \
22524
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
22525
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22526
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
22527
>/dev/null 2>conftest.err &&
22528
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22529
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22530
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
22531
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22532
# icc doesn't choke on unknown options, it will just issue warnings
22533
# or remarks (even with -Werror). So we grep stderr for any message
22534
# that says an option was ignored or not supported.
22535
# When given -MP, icc 7.0 and 7.1 complain thusly:
22536
# icc: Command line warning: ignoring option '-M'; no argument required
22537
# The diagnosis changed in icc 8.0:
22538
# icc: Command line remark: option '-MP' not supported
22539
if (grep 'ignoring option' conftest.err ||
22540
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22541
am_cv_CC_dependencies_compiler_type=$depmode
22548
rm -rf conftest.dir
22550
am_cv_CC_dependencies_compiler_type=none
22554
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
22555
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
22556
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
22559
test "x$enable_dependency_tracking" != xno \
22560
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
22561
am__fastdepCC_TRUE=
22562
am__fastdepCC_FALSE='#'
22564
am__fastdepCC_TRUE='#'
22565
am__fastdepCC_FALSE=
22570
# Checks for libraries.
22572
# Checks for header files.
22573
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22574
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22575
if test "${ac_cv_header_stdc+set}" = set; then
22576
echo $ECHO_N "(cached) $ECHO_C" >&6
22578
cat >conftest.$ac_ext <<_ACEOF
22581
cat confdefs.h >>conftest.$ac_ext
22582
cat >>conftest.$ac_ext <<_ACEOF
22583
/* end confdefs.h. */
22584
#include <stdlib.h>
22585
#include <stdarg.h>
22586
#include <string.h>
22597
rm -f conftest.$ac_objext
22598
if { (ac_try="$ac_compile"
22599
case "(($ac_try" in
22600
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601
*) ac_try_echo=$ac_try;;
22603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604
(eval "$ac_compile") 2>conftest.er1
22606
grep -v '^ *+' conftest.er1 >conftest.err
22608
cat conftest.err >&5
22609
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610
(exit $ac_status); } && {
22611
test -z "$ac_c_werror_flag" ||
22612
test ! -s conftest.err
22613
} && test -s conftest.$ac_objext; then
22614
ac_cv_header_stdc=yes
22616
echo "$as_me: failed program was:" >&5
22617
sed 's/^/| /' conftest.$ac_ext >&5
22619
ac_cv_header_stdc=no
22622
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624
if test $ac_cv_header_stdc = yes; then
22625
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22626
cat >conftest.$ac_ext <<_ACEOF
22629
cat confdefs.h >>conftest.$ac_ext
22630
cat >>conftest.$ac_ext <<_ACEOF
22631
/* end confdefs.h. */
22632
#include <string.h>
22635
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22636
$EGREP "memchr" >/dev/null 2>&1; then
22639
ac_cv_header_stdc=no
22645
if test $ac_cv_header_stdc = yes; then
22646
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22647
cat >conftest.$ac_ext <<_ACEOF
22650
cat confdefs.h >>conftest.$ac_ext
22651
cat >>conftest.$ac_ext <<_ACEOF
22652
/* end confdefs.h. */
22653
#include <stdlib.h>
22656
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22657
$EGREP "free" >/dev/null 2>&1; then
22660
ac_cv_header_stdc=no
22666
if test $ac_cv_header_stdc = yes; then
22667
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22668
if test "$cross_compiling" = yes; then
22671
cat >conftest.$ac_ext <<_ACEOF
22674
cat confdefs.h >>conftest.$ac_ext
22675
cat >>conftest.$ac_ext <<_ACEOF
22676
/* end confdefs.h. */
22678
#include <stdlib.h>
22679
#if ((' ' & 0x0FF) == 0x020)
22680
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22681
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22683
# define ISLOWER(c) \
22684
(('a' <= (c) && (c) <= 'i') \
22685
|| ('j' <= (c) && (c) <= 'r') \
22686
|| ('s' <= (c) && (c) <= 'z'))
22687
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22690
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22695
for (i = 0; i < 256; i++)
22696
if (XOR (islower (i), ISLOWER (i))
22697
|| toupper (i) != TOUPPER (i))
22702
rm -f conftest$ac_exeext
22703
if { (ac_try="$ac_link"
22704
case "(($ac_try" in
22705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706
*) ac_try_echo=$ac_try;;
22708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709
(eval "$ac_link") 2>&5
22711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22713
{ (case "(($ac_try" in
22714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715
*) ac_try_echo=$ac_try;;
22717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718
(eval "$ac_try") 2>&5
22720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721
(exit $ac_status); }; }; then
22724
echo "$as_me: program exited with status $ac_status" >&5
22725
echo "$as_me: failed program was:" >&5
22726
sed 's/^/| /' conftest.$ac_ext >&5
22728
( exit $ac_status )
22729
ac_cv_header_stdc=no
22731
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22737
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22738
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
22739
if test $ac_cv_header_stdc = yes; then
22741
cat >>confdefs.h <<\_ACEOF
22742
@%:@define STDC_HEADERS 1
22749
for ac_header in math.h stdlib.h
22751
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22752
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22753
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22754
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22755
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22756
echo $ECHO_N "(cached) $ECHO_C" >&6
22758
ac_res=`eval echo '${'$as_ac_Header'}'`
22759
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22760
echo "${ECHO_T}$ac_res" >&6; }
22762
# Is the header compilable?
22763
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22764
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22765
cat >conftest.$ac_ext <<_ACEOF
22768
cat confdefs.h >>conftest.$ac_ext
22769
cat >>conftest.$ac_ext <<_ACEOF
22770
/* end confdefs.h. */
22771
$ac_includes_default
22772
@%:@include <$ac_header>
22774
rm -f conftest.$ac_objext
22775
if { (ac_try="$ac_compile"
22776
case "(($ac_try" in
22777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22778
*) ac_try_echo=$ac_try;;
22780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22781
(eval "$ac_compile") 2>conftest.er1
22783
grep -v '^ *+' conftest.er1 >conftest.err
22785
cat conftest.err >&5
22786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787
(exit $ac_status); } && {
22788
test -z "$ac_c_werror_flag" ||
22789
test ! -s conftest.err
22790
} && test -s conftest.$ac_objext; then
22791
ac_header_compiler=yes
22793
echo "$as_me: failed program was:" >&5
22794
sed 's/^/| /' conftest.$ac_ext >&5
22796
ac_header_compiler=no
22799
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22801
echo "${ECHO_T}$ac_header_compiler" >&6; }
22803
# Is the header present?
22804
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22805
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22806
cat >conftest.$ac_ext <<_ACEOF
22809
cat confdefs.h >>conftest.$ac_ext
22810
cat >>conftest.$ac_ext <<_ACEOF
22811
/* end confdefs.h. */
22812
@%:@include <$ac_header>
22814
if { (ac_try="$ac_cpp conftest.$ac_ext"
22815
case "(($ac_try" in
22816
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817
*) ac_try_echo=$ac_try;;
22819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22822
grep -v '^ *+' conftest.er1 >conftest.err
22824
cat conftest.err >&5
22825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826
(exit $ac_status); } >/dev/null && {
22827
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22828
test ! -s conftest.err
22830
ac_header_preproc=yes
22832
echo "$as_me: failed program was:" >&5
22833
sed 's/^/| /' conftest.$ac_ext >&5
22835
ac_header_preproc=no
22838
rm -f conftest.err conftest.$ac_ext
22839
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22840
echo "${ECHO_T}$ac_header_preproc" >&6; }
22842
# So? What about this header?
22843
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22845
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22846
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22847
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22848
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22849
ac_header_preproc=yes
22852
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22853
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22854
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22855
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22856
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22857
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22858
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22859
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22860
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22861
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22862
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22863
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22865
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
22866
@%:@@%:@ Report this to Fabrice Rey (fabounet@users.berlios.de) @%:@@%:@
22867
@%:@@%:@ ------------------------------------------------------ @%:@@%:@
22869
) | sed "s/^/$as_me: WARNING: /" >&2
22872
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22873
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22874
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22875
echo $ECHO_N "(cached) $ECHO_C" >&6
22877
eval "$as_ac_Header=\$ac_header_preproc"
22879
ac_res=`eval echo '${'$as_ac_Header'}'`
22880
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22881
echo "${ECHO_T}$ac_res" >&6; }
22884
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22885
cat >>confdefs.h <<_ACEOF
22886
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22894
# Checks for typedefs, structures, and compiler characteristics.
22898
# Checks for library functions.
22899
# AC_CHECK_FUNCS([sscanf])
22902
if test x$enable_verbose = xyes; then
22903
COMPIL_VERBOSE_TRUE=
22904
COMPIL_VERBOSE_FALSE='#'
22906
COMPIL_VERBOSE_TRUE='#'
22907
COMPIL_VERBOSE_FALSE=
22910
if test x$enable_glitz = xyes; then
22911
COMPIL_WITH_GLITZ_TRUE=
22912
COMPIL_WITH_GLITZ_FALSE='#'
22914
COMPIL_WITH_GLITZ_TRUE='#'
22915
COMPIL_WITH_GLITZ_FALSE=
22922
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22923
if test -n "$ac_tool_prefix"; then
22924
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22925
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22926
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22927
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22928
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22929
echo $ECHO_N "(cached) $ECHO_C" >&6
22931
case $PKG_CONFIG in
22933
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22937
for as_dir in $PATH
22940
test -z "$as_dir" && as_dir=.
22941
for ac_exec_ext in '' $ac_executable_extensions; do
22942
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22943
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22944
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22954
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22955
if test -n "$PKG_CONFIG"; then
22956
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22957
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22959
{ echo "$as_me:$LINENO: result: no" >&5
22960
echo "${ECHO_T}no" >&6; }
22965
if test -z "$ac_cv_path_PKG_CONFIG"; then
22966
ac_pt_PKG_CONFIG=$PKG_CONFIG
22967
# Extract the first word of "pkg-config", so it can be a program name with args.
22968
set dummy pkg-config; ac_word=$2
22969
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22970
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22971
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22972
echo $ECHO_N "(cached) $ECHO_C" >&6
22974
case $ac_pt_PKG_CONFIG in
22976
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22980
for as_dir in $PATH
22983
test -z "$as_dir" && as_dir=.
22984
for ac_exec_ext in '' $ac_executable_extensions; do
22985
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22986
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22987
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22997
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22998
if test -n "$ac_pt_PKG_CONFIG"; then
22999
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23000
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23002
{ echo "$as_me:$LINENO: result: no" >&5
23003
echo "${ECHO_T}no" >&6; }
23006
if test "x$ac_pt_PKG_CONFIG" = x; then
23009
case $cross_compiling:$ac_tool_warned in
23011
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23012
whose name does not start with the host triplet. If you think this
23013
configuration is useful to you, please write to autoconf@gnu.org." >&5
23014
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23015
whose name does not start with the host triplet. If you think this
23016
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23017
ac_tool_warned=yes ;;
23019
PKG_CONFIG=$ac_pt_PKG_CONFIG
23022
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23026
if test -n "$PKG_CONFIG"; then
23027
_pkg_min_version=0.9.0
23028
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23029
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23030
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23031
{ echo "$as_me:$LINENO: result: yes" >&5
23032
echo "${ECHO_T}yes" >&6; }
23034
{ echo "$as_me:$LINENO: result: no" >&5
23035
echo "${ECHO_T}no" >&6; }
23042
{ echo "$as_me:$LINENO: checking for PACKAGE" >&5
23043
echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
23045
if test -n "$PKG_CONFIG"; then
23046
if test -n "$PACKAGE_CFLAGS"; then
23047
pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
23049
if test -n "$PKG_CONFIG" && \
23050
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0\"\"") >&5
23051
($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0"") 2>&5
23053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054
(exit $ac_status); }; then
23055
pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0"" 2>/dev/null`
23063
if test -n "$PKG_CONFIG"; then
23064
if test -n "$PACKAGE_LIBS"; then
23065
pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
23067
if test -n "$PKG_CONFIG" && \
23068
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0\"\"") >&5
23069
($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0"") 2>&5
23071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072
(exit $ac_status); }; then
23073
pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0"" 2>/dev/null`
23084
if test $pkg_failed = yes; then
23086
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23087
_pkg_short_errors_supported=yes
23089
_pkg_short_errors_supported=no
23091
if test $_pkg_short_errors_supported = yes; then
23092
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0""`
23094
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0""`
23096
# Put the nasty error message in config.log where it belongs
23097
echo "$PACKAGE_PKG_ERRORS" >&5
23099
{ { echo "$as_me:$LINENO: error: Package requirements (\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0\") were not met:
23101
$PACKAGE_PKG_ERRORS
23103
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23104
installed software in a non-standard prefix.
23106
Alternatively, you may set the environment variables PACKAGE_CFLAGS
23107
and PACKAGE_LIBS to avoid the need to call pkg-config.
23108
See the pkg-config man page for more details.
23110
echo "$as_me: error: Package requirements (\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 glitz dbus-1 dbus-glib-1 libxml-2.0\") were not met:
23112
$PACKAGE_PKG_ERRORS
23114
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23115
installed software in a non-standard prefix.
23117
Alternatively, you may set the environment variables PACKAGE_CFLAGS
23118
and PACKAGE_LIBS to avoid the need to call pkg-config.
23119
See the pkg-config man page for more details.
23121
{ (exit 1); exit 1; }; }
23122
elif test $pkg_failed = untried; then
23123
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23124
is in your PATH or set the PKG_CONFIG environment variable to the full
23125
path to pkg-config.
23127
Alternatively, you may set the environment variables PACKAGE_CFLAGS
23128
and PACKAGE_LIBS to avoid the need to call pkg-config.
23129
See the pkg-config man page for more details.
23131
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23132
See \`config.log' for more details." >&5
23133
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23134
is in your PATH or set the PKG_CONFIG environment variable to the full
23135
path to pkg-config.
23137
Alternatively, you may set the environment variables PACKAGE_CFLAGS
23138
and PACKAGE_LIBS to avoid the need to call pkg-config.
23139
See the pkg-config man page for more details.
23141
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23142
See \`config.log' for more details." >&2;}
23143
{ (exit 1); exit 1; }; }
23145
PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
23146
PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
23147
{ echo "$as_me:$LINENO: result: yes" >&5
23148
echo "${ECHO_T}yes" >&6; }
23153
{ echo "$as_me:$LINENO: checking for GLITZ" >&5
23154
echo $ECHO_N "checking for GLITZ... $ECHO_C" >&6; }
23156
if test -n "$PKG_CONFIG"; then
23157
if test -n "$GLITZ_CFLAGS"; then
23158
pkg_cv_GLITZ_CFLAGS="$GLITZ_CFLAGS"
23160
if test -n "$PKG_CONFIG" && \
23161
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glitz-glx\"\"") >&5
23162
($PKG_CONFIG --exists --print-errors ""glitz-glx"") 2>&5
23164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165
(exit $ac_status); }; then
23166
pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags ""glitz-glx"" 2>/dev/null`
23174
if test -n "$PKG_CONFIG"; then
23175
if test -n "$GLITZ_LIBS"; then
23176
pkg_cv_GLITZ_LIBS="$GLITZ_LIBS"
23178
if test -n "$PKG_CONFIG" && \
23179
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glitz-glx\"\"") >&5
23180
($PKG_CONFIG --exists --print-errors ""glitz-glx"") 2>&5
23182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183
(exit $ac_status); }; then
23184
pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs ""glitz-glx"" 2>/dev/null`
23195
if test $pkg_failed = yes; then
23197
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23198
_pkg_short_errors_supported=yes
23200
_pkg_short_errors_supported=no
23202
if test $_pkg_short_errors_supported = yes; then
23203
GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""glitz-glx""`
23205
GLITZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""glitz-glx""`
23207
# Put the nasty error message in config.log where it belongs
23208
echo "$GLITZ_PKG_ERRORS" >&5
23210
{ { echo "$as_me:$LINENO: error: Package requirements (\"glitz-glx\") were not met:
23214
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23215
installed software in a non-standard prefix.
23217
Alternatively, you may set the environment variables GLITZ_CFLAGS
23218
and GLITZ_LIBS to avoid the need to call pkg-config.
23219
See the pkg-config man page for more details.
23221
echo "$as_me: error: Package requirements (\"glitz-glx\") were not met:
23225
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23226
installed software in a non-standard prefix.
23228
Alternatively, you may set the environment variables GLITZ_CFLAGS
23229
and GLITZ_LIBS to avoid the need to call pkg-config.
23230
See the pkg-config man page for more details.
23232
{ (exit 1); exit 1; }; }
23233
elif test $pkg_failed = untried; then
23234
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23235
is in your PATH or set the PKG_CONFIG environment variable to the full
23236
path to pkg-config.
23238
Alternatively, you may set the environment variables GLITZ_CFLAGS
23239
and GLITZ_LIBS to avoid the need to call pkg-config.
23240
See the pkg-config man page for more details.
23242
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23243
See \`config.log' for more details." >&5
23244
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23245
is in your PATH or set the PKG_CONFIG environment variable to the full
23246
path to pkg-config.
23248
Alternatively, you may set the environment variables GLITZ_CFLAGS
23249
and GLITZ_LIBS to avoid the need to call pkg-config.
23250
See the pkg-config man page for more details.
23252
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23253
See \`config.log' for more details." >&2;}
23254
{ (exit 1); exit 1; }; }
23256
GLITZ_CFLAGS=$pkg_cv_GLITZ_CFLAGS
23257
GLITZ_LIBS=$pkg_cv_GLITZ_LIBS
23258
{ echo "$as_me:$LINENO: result: yes" >&5
23259
echo "${ECHO_T}yes" >&6; }
23263
ac_config_files="$ac_config_files Makefile cairo-dock.pc src/Makefile po/Makefile.in data/Makefile data/cairo-dock.conf data/main-dock.conf data/default-theme/Makefile data/default-theme/launchers/Makefile data/gauges/Makefile data/gauges/radium/Makefile data/gauges/radium-fuel/Makefile data/gauges/battery/Makefile data/gauges/old-square/Makefile data/gauges/turbo-night/Makefile data/gauges/turbo-night-fuel/Makefile data/gauges/turbo-night-dual/Makefile data/gauges/rainbow/Makefile data/gauges/tomato/Makefile"
23265
cat >confcache <<\_ACEOF
23266
# This file is a shell script that caches the results of configure
23267
# tests run on this system so they can be shared between configure
23268
# scripts and configure runs, see configure's option --config-cache.
23269
# It is not useful on other systems. If it contains results you don't
23270
# want to keep, you may remove or edit it.
23272
# config.status only pays attention to the cache file if you give it
23273
# the --recheck option to rerun configure.
23275
# `ac_cv_env_foo' variables (set or unset) will be overridden when
23276
# loading this file, other *unset* `ac_cv_foo' will be assigned the
23277
# following values.
23281
# The following way of writing the cache mishandles newlines in values,
23282
# but we know of no workaround that is simple, portable, and efficient.
23283
# So, we kill variables containing newlines.
23284
# Ultrix sh set writes to stderr and can't be redirected directly,
23285
# and sets the high bit in the cache file unless we assign to the vars.
23287
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23288
eval ac_val=\$$ac_var
23292
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23293
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23296
_ | IFS | as_nl) ;; #(
23297
*) $as_unset $ac_var ;;
23303
case $as_nl`(ac_space=' '; set) 2>&1` in #(
23304
*${as_nl}ac_space=\ *)
23305
# `set' does not quote correctly, so add quotes (double-quote
23306
# substitution turns \\\\ into \\, and sed turns \\ into \).
23309
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23312
# `set' quotes correctly as required by POSIX, so do not add quotes.
23313
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23322
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23324
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23326
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23327
if test -w "$cache_file"; then
23328
test "x$cache_file" != "x/dev/null" &&
23329
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
23330
echo "$as_me: updating cache $cache_file" >&6;}
23331
cat confcache >$cache_file
23333
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23334
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23339
test "x$prefix" = xNONE && prefix=$ac_default_prefix
23340
# Let make expand exec_prefix.
23341
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23343
DEFS=-DHAVE_CONFIG_H
23347
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
23348
# 1. Remove the extension, and $U if already installed.
23349
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23350
ac_i=`echo "$ac_i" | sed "$ac_script"`
23351
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23352
# will be set to the directory where LIBOBJS objects are built.
23353
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23354
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23356
LIB@&t@OBJS=$ac_libobjs
23358
LTLIBOBJS=$ac_ltlibobjs
23361
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23362
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23363
Usually this means the macro was only invoked conditionally." >&5
23364
echo "$as_me: error: conditional \"AMDEP\" was never defined.
23365
Usually this means the macro was only invoked conditionally." >&2;}
23366
{ (exit 1); exit 1; }; }
23368
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23369
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23370
Usually this means the macro was only invoked conditionally." >&5
23371
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23372
Usually this means the macro was only invoked conditionally." >&2;}
23373
{ (exit 1); exit 1; }; }
23375
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23376
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23377
Usually this means the macro was only invoked conditionally." >&5
23378
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23379
Usually this means the macro was only invoked conditionally." >&2;}
23380
{ (exit 1); exit 1; }; }
23383
ac_config_commands="$ac_config_commands po/stamp-it"
23386
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23387
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23388
Usually this means the macro was only invoked conditionally." >&5
23389
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23390
Usually this means the macro was only invoked conditionally." >&2;}
23391
{ (exit 1); exit 1; }; }
23393
if test -z "${COMPIL_VERBOSE_TRUE}" && test -z "${COMPIL_VERBOSE_FALSE}"; then
23394
{ { echo "$as_me:$LINENO: error: conditional \"COMPIL_VERBOSE\" was never defined.
23395
Usually this means the macro was only invoked conditionally." >&5
23396
echo "$as_me: error: conditional \"COMPIL_VERBOSE\" was never defined.
23397
Usually this means the macro was only invoked conditionally." >&2;}
23398
{ (exit 1); exit 1; }; }
23400
if test -z "${COMPIL_WITH_GLITZ_TRUE}" && test -z "${COMPIL_WITH_GLITZ_FALSE}"; then
23401
{ { echo "$as_me:$LINENO: error: conditional \"COMPIL_WITH_GLITZ\" was never defined.
23402
Usually this means the macro was only invoked conditionally." >&5
23403
echo "$as_me: error: conditional \"COMPIL_WITH_GLITZ\" was never defined.
23404
Usually this means the macro was only invoked conditionally." >&2;}
23405
{ (exit 1); exit 1; }; }
23408
: ${CONFIG_STATUS=./config.status}
23409
ac_clean_files_save=$ac_clean_files
23410
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23411
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23412
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23413
cat >$CONFIG_STATUS <<_ACEOF
23415
# Generated by $as_me.
23416
# Run this file to recreate the current configuration.
23417
# Compiler output produced by configure, useful for debugging
23418
# configure, is in config.log if it exists.
23421
ac_cs_recheck=false
23423
SHELL=\${CONFIG_SHELL-$SHELL}
23426
cat >>$CONFIG_STATUS <<\_ACEOF
23427
## --------------------- ##
23428
## M4sh Initialization. ##
23429
## --------------------- ##
23431
# Be more Bourne compatible
23432
DUALCASE=1; export DUALCASE # for MKS sh
23433
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23436
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23437
# is contrary to our usage. Disable this feature.
23438
alias -g '${1+"$@"}'='"$@"'
23439
setopt NO_GLOB_SUBST
23441
case `(set -o) 2>/dev/null` in
23442
*posix*) set -o posix ;;
23451
# Avoid depending upon Character Ranges.
23452
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23453
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23454
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23455
as_cr_digits='0123456789'
23456
as_cr_alnum=$as_cr_Letters$as_cr_digits
23458
# The user is always right.
23459
if test "${PATH_SEPARATOR+set}" != set; then
23460
echo "#! /bin/sh" >conf$$.sh
23461
echo "exit 0" >>conf$$.sh
23463
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23471
# Support unset when possible.
23472
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23480
# We need space, tab and new line, in precisely that order. Quoting is
23481
# there to prevent editors from complaining about space-tab.
23482
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23483
# splitting by setting IFS to empty value.)
23488
# Find who we are. Look in the path if we contain no directory separator.
23490
*[\\/]* ) as_myself=$0 ;;
23491
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23492
for as_dir in $PATH
23495
test -z "$as_dir" && as_dir=.
23496
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23502
# We did not find ourselves, most probably we were run as `sh COMMAND'
23503
# in which case we are not to be found in the path.
23504
if test "x$as_myself" = x; then
23507
if test ! -f "$as_myself"; then
23508
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23509
{ (exit 1); exit 1; }
23512
# Work around bugs in pre-3.0 UWIN ksh.
23513
for as_var in ENV MAIL MAILPATH
23514
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23522
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23523
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23524
LC_TELEPHONE LC_TIME
23526
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23527
eval $as_var=C; export $as_var
23529
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23533
# Required to use basename.
23534
if expr a : '\(a\)' >/dev/null 2>&1 &&
23535
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23541
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23542
as_basename=basename
23548
# Name of the executable.
23549
as_me=`$as_basename -- "$0" ||
23550
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23551
X"$0" : 'X\(//\)$' \| \
23552
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23554
sed '/^.*\/\([^/][^/]*\)\/*$/{
23573
as_lineno_1=$LINENO
23574
as_lineno_2=$LINENO
23575
test "x$as_lineno_1" != "x$as_lineno_2" &&
23576
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23578
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23579
# uniformly replaced by the line number. The first 'sed' inserts a
23580
# line-number line after each line using $LINENO; the second 'sed'
23581
# does the real work. The second script uses 'N' to pair each
23582
# line-number line with the line containing $LINENO, and appends
23583
# trailing '-' during substitution so that $LINENO is not a special
23584
# case at line end.
23585
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23586
# scripts with optimization help from Paolo Bonzini. Blame Lee
23587
# E. McMahon (1931-1989) for sed's syntax. :-)
23599
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23602
' >$as_me.lineno &&
23603
chmod +x "$as_me.lineno" ||
23604
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23605
{ (exit 1); exit 1; }; }
23607
# Don't try to exec as it changes $[0], causing all sort of problems
23608
# (the dirname of $[0] is not the place where we might find the
23609
# original and so on. Autoconf is especially sensitive to this).
23610
. "./$as_me.lineno"
23611
# Exit status is that of the last command.
23616
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23622
ECHO_C= ECHO_N= ECHO_T=
23623
case `echo -n x` in
23625
case `echo 'x\c'` in
23626
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
23633
if expr a : '\(a\)' >/dev/null 2>&1 &&
23634
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23640
rm -f conf$$ conf$$.exe conf$$.file
23641
if test -d conf$$.dir; then
23642
rm -f conf$$.dir/conf$$.file
23648
if ln -s conf$$.file conf$$ 2>/dev/null; then
23650
# ... but there are two gotchas:
23651
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23652
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23653
# In both cases, we have to default to `cp -p'.
23654
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23656
elif ln conf$$.file conf$$ 2>/dev/null; then
23661
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23662
rmdir conf$$.dir 2>/dev/null
23664
if mkdir -p . 2>/dev/null; then
23667
test -d ./-p && rmdir ./-p
23671
if test -x / >/dev/null 2>&1; then
23672
as_test_x='test -x'
23674
if ls -dL / >/dev/null 2>&1; then
23681
if test -d "$1"; then
23687
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23688
???[sx]*):;;*)false;;esac;fi
23692
as_executable_p=$as_test_x
23694
# Sed expression to map a string onto a valid CPP name.
23695
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23697
# Sed expression to map a string onto a valid variable name.
23698
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23703
# Save the log message, to keep $[0] and so on meaningful, and to
23704
# report actual input values of CONFIG_FILES etc. instead of their
23705
# values after options handling.
23707
This file was extended by cairo-dock $as_me 1.5.6-alpha0, which was
23708
generated by GNU Autoconf 2.61. Invocation command line was
23710
CONFIG_FILES = $CONFIG_FILES
23711
CONFIG_HEADERS = $CONFIG_HEADERS
23712
CONFIG_LINKS = $CONFIG_LINKS
23713
CONFIG_COMMANDS = $CONFIG_COMMANDS
23716
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23721
cat >>$CONFIG_STATUS <<_ACEOF
23722
# Files that config.status was made for.
23723
config_files="$ac_config_files"
23724
config_headers="$ac_config_headers"
23725
config_commands="$ac_config_commands"
23729
cat >>$CONFIG_STATUS <<\_ACEOF
23731
\`$as_me' instantiates files from templates according to the
23732
current configuration.
23734
Usage: $0 [OPTIONS] [FILE]...
23736
-h, --help print this help, then exit
23737
-V, --version print version number and configuration settings, then exit
23738
-q, --quiet do not print progress messages
23739
-d, --debug don't remove temporary files
23740
--recheck update $as_me by reconfiguring in the same conditions
23741
--file=FILE[:TEMPLATE]
23742
instantiate the configuration file FILE
23743
--header=FILE[:TEMPLATE]
23744
instantiate the configuration header FILE
23746
Configuration files:
23749
Configuration headers:
23752
Configuration commands:
23755
Report bugs to <bug-autoconf@gnu.org>."
23758
cat >>$CONFIG_STATUS <<_ACEOF
23760
cairo-dock config.status 1.5.6-alpha0
23761
configured by $0, generated by GNU Autoconf 2.61,
23762
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23764
Copyright (C) 2006 Free Software Foundation, Inc.
23765
This config.status script is free software; the Free Software Foundation
23766
gives unlimited permission to copy, distribute and modify it."
23774
cat >>$CONFIG_STATUS <<\_ACEOF
23775
# If no file are specified by the user, then we need to provide default
23776
# value. By we need to know if files were specified by the user.
23782
ac_option=`expr "X$1" : 'X\([^=]*\)='`
23783
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23794
# Handling of the options.
23795
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23797
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23798
echo "$ac_cs_version"; exit ;;
23799
--debug | --debu | --deb | --de | --d | -d )
23801
--file | --fil | --fi | --f )
23803
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23804
ac_need_defaults=false;;
23805
--header | --heade | --head | --hea )
23807
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23808
ac_need_defaults=false;;
23810
# Conflict between --help and --header
23811
{ echo "$as_me: error: ambiguous option: $1
23812
Try \`$0 --help' for more information." >&2
23813
{ (exit 1); exit 1; }; };;
23814
--help | --hel | -h )
23815
echo "$ac_cs_usage"; exit ;;
23816
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
23817
| -silent | --silent | --silen | --sile | --sil | --si | --s)
23820
# This is an error.
23821
-*) { echo "$as_me: error: unrecognized option: $1
23822
Try \`$0 --help' for more information." >&2
23823
{ (exit 1); exit 1; }; } ;;
23825
*) ac_config_targets="$ac_config_targets $1"
23826
ac_need_defaults=false ;;
23832
ac_configure_extra_args=
23834
if $ac_cs_silent; then
23836
ac_configure_extra_args="$ac_configure_extra_args --silent"
23840
cat >>$CONFIG_STATUS <<_ACEOF
23841
if \$ac_cs_recheck; then
23842
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23843
CONFIG_SHELL=$SHELL
23844
export CONFIG_SHELL
23845
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23849
cat >>$CONFIG_STATUS <<\_ACEOF
23853
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
23854
@%:@@%:@ Running $as_me. @%:@@%:@
23860
cat >>$CONFIG_STATUS <<_ACEOF
23864
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23865
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23866
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23867
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
23872
cat >>$CONFIG_STATUS <<\_ACEOF
23874
# Handling of arguments.
23875
for ac_config_target in $ac_config_targets
23877
case $ac_config_target in
23878
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23879
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23880
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23881
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23882
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23883
"cairo-dock.pc") CONFIG_FILES="$CONFIG_FILES cairo-dock.pc" ;;
23884
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23885
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23886
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
23887
"data/cairo-dock.conf") CONFIG_FILES="$CONFIG_FILES data/cairo-dock.conf" ;;
23888
"data/main-dock.conf") CONFIG_FILES="$CONFIG_FILES data/main-dock.conf" ;;
23889
"data/default-theme/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/Makefile" ;;
23890
"data/default-theme/launchers/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/launchers/Makefile" ;;
23891
"data/gauges/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/Makefile" ;;
23892
"data/gauges/radium/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/radium/Makefile" ;;
23893
"data/gauges/radium-fuel/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/radium-fuel/Makefile" ;;
23894
"data/gauges/battery/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/battery/Makefile" ;;
23895
"data/gauges/old-square/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/old-square/Makefile" ;;
23896
"data/gauges/turbo-night/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night/Makefile" ;;
23897
"data/gauges/turbo-night-fuel/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night-fuel/Makefile" ;;
23898
"data/gauges/turbo-night-dual/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night-dual/Makefile" ;;
23899
"data/gauges/rainbow/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/rainbow/Makefile" ;;
23900
"data/gauges/tomato/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/tomato/Makefile" ;;
23901
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23903
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23904
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23905
{ (exit 1); exit 1; }; };;
23910
# If the user did not use the arguments to specify the items to instantiate,
23911
# then the envvar interface is used. Set only those that are not.
23912
# We use the long form for the default assignment because of an extremely
23913
# bizarre bug on SunOS 4.1.3.
23914
if $ac_need_defaults; then
23915
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23916
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23917
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23920
# Have a temporary directory for convenience. Make it in the build tree
23921
# simply because there is no reason against having it here, and in addition,
23922
# creating and moving files from /tmp can sometimes cause problems.
23923
# Hook for its removal unless debugging.
23924
# Note that there is a small window in which the directory will not be cleaned:
23925
# after its creation but before its name has been assigned to `$tmp'.
23929
trap 'exit_status=$?
23930
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23932
trap '{ (exit 1); exit 1; }' 1 2 13 15
23934
# Create a (secure) tmp directory for tmp files.
23937
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23938
test -n "$tmp" && test -d "$tmp"
23941
tmp=./conf$$-$RANDOM
23942
(umask 077 && mkdir "$tmp")
23945
echo "$me: cannot create a temporary directory in ." >&2
23946
{ (exit 1); exit 1; }
23950
# Set up the sed scripts for CONFIG_FILES section.
23953
# No need to generate the scripts if there are no CONFIG_FILES.
23954
# This happens for instance when ./config.status config.h
23955
if test -n "$CONFIG_FILES"; then
23962
for ac_last_try in false false false false false :; do
23963
cat >conf$$subs.sed <<_ACEOF
23964
SHELL!$SHELL$ac_delim
23965
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23966
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23967
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23968
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23969
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23970
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23971
exec_prefix!$exec_prefix$ac_delim
23972
prefix!$prefix$ac_delim
23973
program_transform_name!$program_transform_name$ac_delim
23974
bindir!$bindir$ac_delim
23975
sbindir!$sbindir$ac_delim
23976
libexecdir!$libexecdir$ac_delim
23977
datarootdir!$datarootdir$ac_delim
23978
datadir!$datadir$ac_delim
23979
sysconfdir!$sysconfdir$ac_delim
23980
sharedstatedir!$sharedstatedir$ac_delim
23981
localstatedir!$localstatedir$ac_delim
23982
includedir!$includedir$ac_delim
23983
oldincludedir!$oldincludedir$ac_delim
23984
docdir!$docdir$ac_delim
23985
infodir!$infodir$ac_delim
23986
htmldir!$htmldir$ac_delim
23987
dvidir!$dvidir$ac_delim
23988
pdfdir!$pdfdir$ac_delim
23989
psdir!$psdir$ac_delim
23990
libdir!$libdir$ac_delim
23991
localedir!$localedir$ac_delim
23992
mandir!$mandir$ac_delim
23993
DEFS!$DEFS$ac_delim
23994
ECHO_C!$ECHO_C$ac_delim
23995
ECHO_N!$ECHO_N$ac_delim
23996
ECHO_T!$ECHO_T$ac_delim
23997
LIBS!$LIBS$ac_delim
23998
build_alias!$build_alias$ac_delim
23999
host_alias!$host_alias$ac_delim
24000
target_alias!$target_alias$ac_delim
24001
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24002
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24003
INSTALL_DATA!$INSTALL_DATA$ac_delim
24004
am__isrc!$am__isrc$ac_delim
24005
CYGPATH_W!$CYGPATH_W$ac_delim
24006
PACKAGE!$PACKAGE$ac_delim
24007
VERSION!$VERSION$ac_delim
24008
ACLOCAL!$ACLOCAL$ac_delim
24009
AUTOCONF!$AUTOCONF$ac_delim
24010
AUTOMAKE!$AUTOMAKE$ac_delim
24011
AUTOHEADER!$AUTOHEADER$ac_delim
24012
MAKEINFO!$MAKEINFO$ac_delim
24013
install_sh!$install_sh$ac_delim
24014
STRIP!$STRIP$ac_delim
24015
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24016
mkdir_p!$mkdir_p$ac_delim
24018
SET_MAKE!$SET_MAKE$ac_delim
24019
am__leading_dot!$am__leading_dot$ac_delim
24020
AMTAR!$AMTAR$ac_delim
24021
am__tar!$am__tar$ac_delim
24022
am__untar!$am__untar$ac_delim
24023
build!$build$ac_delim
24024
build_cpu!$build_cpu$ac_delim
24025
build_vendor!$build_vendor$ac_delim
24026
build_os!$build_os$ac_delim
24027
host!$host$ac_delim
24028
host_cpu!$host_cpu$ac_delim
24029
host_vendor!$host_vendor$ac_delim
24030
host_os!$host_os$ac_delim
24032
CFLAGS!$CFLAGS$ac_delim
24033
LDFLAGS!$LDFLAGS$ac_delim
24034
CPPFLAGS!$CPPFLAGS$ac_delim
24035
ac_ct_CC!$ac_ct_CC$ac_delim
24036
EXEEXT!$EXEEXT$ac_delim
24037
OBJEXT!$OBJEXT$ac_delim
24038
DEPDIR!$DEPDIR$ac_delim
24039
am__include!$am__include$ac_delim
24040
am__quote!$am__quote$ac_delim
24041
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24042
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24043
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24044
CCDEPMODE!$CCDEPMODE$ac_delim
24045
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24046
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24048
GREP!$GREP$ac_delim
24049
EGREP!$EGREP$ac_delim
24050
LN_S!$LN_S$ac_delim
24051
ECHO!$ECHO$ac_delim
24053
RANLIB!$RANLIB$ac_delim
24054
DSYMUTIL!$DSYMUTIL$ac_delim
24055
NMEDIT!$NMEDIT$ac_delim
24058
CXXFLAGS!$CXXFLAGS$ac_delim
24059
ac_ct_CXX!$ac_ct_CXX$ac_delim
24060
CXXDEPMODE!$CXXDEPMODE$ac_delim
24063
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24065
elif $ac_last_try; then
24066
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24067
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24068
{ (exit 1); exit 1; }; }
24070
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24074
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24075
if test -n "$ac_eof"; then
24076
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24077
ac_eof=`expr $ac_eof + 1`
24080
cat >>$CONFIG_STATUS <<_ACEOF
24081
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24082
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24085
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24086
s/^/s,@/; s/!/@,|#_!!_#|/
24089
s/'"$ac_delim"'$/,g/; t
24091
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24092
' >>$CONFIG_STATUS <conf$$subs.sed
24093
rm -f conf$$subs.sed
24094
cat >>$CONFIG_STATUS <<_ACEOF
24100
for ac_last_try in false false false false false :; do
24101
cat >conf$$subs.sed <<_ACEOF
24102
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24103
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24104
CXXCPP!$CXXCPP$ac_delim
24106
FFLAGS!$FFLAGS$ac_delim
24107
ac_ct_F77!$ac_ct_F77$ac_delim
24108
LIBTOOL!$LIBTOOL$ac_delim
24109
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24110
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24111
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24112
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24113
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24114
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24115
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24116
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24117
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24118
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24119
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24120
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24121
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24122
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24123
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24124
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24125
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24126
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24127
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24128
XGETTEXT!$XGETTEXT$ac_delim
24129
MSGMERGE!$MSGMERGE$ac_delim
24130
MSGFMT!$MSGFMT$ac_delim
24131
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24132
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24133
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24134
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24135
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24136
DATADIRNAME!$DATADIRNAME$ac_delim
24137
USE_NLS!$USE_NLS$ac_delim
24138
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24139
GMSGFMT!$GMSGFMT$ac_delim
24140
CATALOGS!$CATALOGS$ac_delim
24141
CATOBJEXT!$CATOBJEXT$ac_delim
24142
GMOFILES!$GMOFILES$ac_delim
24143
INSTOBJEXT!$INSTOBJEXT$ac_delim
24144
INTLLIBS!$INTLLIBS$ac_delim
24145
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24146
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24147
POFILES!$POFILES$ac_delim
24148
POSUB!$POSUB$ac_delim
24149
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24150
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24151
COMPIL_VERBOSE_TRUE!$COMPIL_VERBOSE_TRUE$ac_delim
24152
COMPIL_VERBOSE_FALSE!$COMPIL_VERBOSE_FALSE$ac_delim
24153
COMPIL_WITH_GLITZ_TRUE!$COMPIL_WITH_GLITZ_TRUE$ac_delim
24154
COMPIL_WITH_GLITZ_FALSE!$COMPIL_WITH_GLITZ_FALSE$ac_delim
24155
PKG_CONFIG!$PKG_CONFIG$ac_delim
24156
PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
24157
PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
24158
GLITZ_CFLAGS!$GLITZ_CFLAGS$ac_delim
24159
GLITZ_LIBS!$GLITZ_LIBS$ac_delim
24160
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
24161
LTLIBOBJS!$LTLIBOBJS$ac_delim
24164
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
24166
elif $ac_last_try; then
24167
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24168
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24169
{ (exit 1); exit 1; }; }
24171
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24175
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24176
if test -n "$ac_eof"; then
24177
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24178
ac_eof=`expr $ac_eof + 1`
24181
cat >>$CONFIG_STATUS <<_ACEOF
24182
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24183
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24186
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24187
s/^/s,@/; s/!/@,|#_!!_#|/
24190
s/'"$ac_delim"'$/,g/; t
24192
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24193
' >>$CONFIG_STATUS <conf$$subs.sed
24194
rm -f conf$$subs.sed
24195
cat >>$CONFIG_STATUS <<_ACEOF
24202
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24203
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24204
# trailing colons and then remove the whole line if VPATH becomes empty
24205
# (actually we leave an empty line to preserve line numbers).
24206
if test "x$srcdir" = x.; then
24207
ac_vpsub='/^[ ]*VPATH[ ]*=/{
24208
s/:*\$(srcdir):*/:/
24209
s/:*\${srcdir}:*/:/
24211
s/^\([^=]*=[ ]*\):*/\1/
24217
cat >>$CONFIG_STATUS <<\_ACEOF
24218
fi # test -n "$CONFIG_FILES"
24221
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24224
:[FHLC]) ac_mode=$ac_tag; continue;;
24226
case $ac_mode$ac_tag in
24228
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24229
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24230
{ (exit 1); exit 1; }; };;
24231
:[FH]-) ac_tag=-:-;;
24232
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24249
-) ac_f="$tmp/stdin";;
24250
*) # Look for the file first in the build tree, then in the source tree
24251
# (if the path is not absolute). The absolute path cannot be DOS-style,
24252
# because $ac_f cannot contain `:'.
24256
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24258
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24259
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24260
{ (exit 1); exit 1; }; };;
24262
ac_file_inputs="$ac_file_inputs $ac_f"
24265
# Let's still pretend it is `configure' which instantiates (i.e., don't
24266
# use $as_me), people would be surprised to read:
24267
# /* config.h. Generated by config.status. */
24268
configure_input="Generated from "`IFS=:
24269
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24270
if test x"$ac_file" != x-; then
24271
configure_input="$ac_file. $configure_input"
24272
{ echo "$as_me:$LINENO: creating $ac_file" >&5
24273
echo "$as_me: creating $ac_file" >&6;}
24277
*:-:* | *:-) cat >"$tmp/stdin";;
24282
ac_dir=`$as_dirname -- "$ac_file" ||
24283
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24284
X"$ac_file" : 'X\(//\)[^/]' \| \
24285
X"$ac_file" : 'X\(//\)$' \| \
24286
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24288
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24292
/^X\(\/\/\)[^/].*/{
24307
-*) as_dir=./$as_dir;;
24309
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24313
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24314
*) as_qdir=$as_dir;;
24316
as_dirs="'$as_qdir' $as_dirs"
24317
as_dir=`$as_dirname -- "$as_dir" ||
24318
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24319
X"$as_dir" : 'X\(//\)[^/]' \| \
24320
X"$as_dir" : 'X\(//\)$' \| \
24321
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24323
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24327
/^X\(\/\/\)[^/].*/{
24340
test -d "$as_dir" && break
24342
test -z "$as_dirs" || eval "mkdir $as_dirs"
24343
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24344
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24345
{ (exit 1); exit 1; }; }; }
24349
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24351
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24352
# A ".." for each directory in $ac_dir_suffix.
24353
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24354
case $ac_top_builddir_sub in
24355
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24356
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24359
ac_abs_top_builddir=$ac_pwd
24360
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24361
# for backward compatibility:
24362
ac_top_builddir=$ac_top_build_prefix
24365
.) # We are building in place.
24367
ac_top_srcdir=$ac_top_builddir_sub
24368
ac_abs_top_srcdir=$ac_pwd ;;
24369
[\\/]* | ?:[\\/]* ) # Absolute name.
24370
ac_srcdir=$srcdir$ac_dir_suffix;
24371
ac_top_srcdir=$srcdir
24372
ac_abs_top_srcdir=$srcdir ;;
24373
*) # Relative name.
24374
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24375
ac_top_srcdir=$ac_top_build_prefix$srcdir
24376
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24378
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24388
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24389
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24391
ac_MKDIR_P=$MKDIR_P
24393
[\\/$]* | ?:[\\/]* ) ;;
24394
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24398
cat >>$CONFIG_STATUS <<\_ACEOF
24399
# If the template does not know about datarootdir, expand it.
24400
# FIXME: This hack should be removed a few years after 2.60.
24401
ac_datarootdir_hack=; ac_datarootdir_seen=
24403
case `sed -n '/datarootdir/ {
24412
' $ac_file_inputs` in
24413
*datarootdir*) ac_datarootdir_seen=yes;;
24414
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24415
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24416
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24418
cat >>$CONFIG_STATUS <<_ACEOF
24419
ac_datarootdir_hack='
24420
s&@datadir@&$datadir&g
24421
s&@docdir@&$docdir&g
24422
s&@infodir@&$infodir&g
24423
s&@localedir@&$localedir&g
24424
s&@mandir@&$mandir&g
24425
s&\\\${datarootdir}&$datarootdir&g' ;;
24429
# Neutralize VPATH when `$srcdir' = `.'.
24430
# Shell code in configure.ac might set extrasub.
24431
# FIXME: do we really want to maintain this feature?
24432
cat >>$CONFIG_STATUS <<_ACEOF
24436
cat >>$CONFIG_STATUS <<\_ACEOF
24438
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24439
s&@configure_input@&$configure_input&;t t
24440
s&@top_builddir@&$ac_top_builddir_sub&;t t
24441
s&@srcdir@&$ac_srcdir&;t t
24442
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24443
s&@top_srcdir@&$ac_top_srcdir&;t t
24444
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24445
s&@builddir@&$ac_builddir&;t t
24446
s&@abs_builddir@&$ac_abs_builddir&;t t
24447
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24448
s&@INSTALL@&$ac_INSTALL&;t t
24449
s&@MKDIR_P@&$ac_MKDIR_P&;t t
24450
$ac_datarootdir_hack
24451
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24453
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24454
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24455
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24456
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24457
which seems to be undefined. Please make sure it is defined." >&5
24458
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24459
which seems to be undefined. Please make sure it is defined." >&2;}
24463
-) cat "$tmp/out"; rm -f "$tmp/out";;
24464
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24473
# Transform confdefs.h into a sed script `conftest.defines', that
24474
# substitutes the proper values into config.h.in to produce config.h.
24475
rm -f conftest.defines conftest.tail
24476
# First, append a space to every undef/define line, to ease matching.
24477
echo 's/$/ /' >conftest.defines
24478
# Then, protect against being on the right side of a sed subst, or in
24479
# an unquoted here document, in config.status. If some macros were
24480
# called several times there might be several #defines for the same
24481
# symbol, which is useless. But do not sort them, since the last
24482
# AC_DEFINE must be honored.
24483
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24484
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24485
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24486
# PARAMS is the parameter list in the macro definition--in most cases, it's
24487
# just an empty string.
24488
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24489
ac_dB='\\)[ (].*,\\1define\\2'
24497
s/^[ ]*#[ ]*define[ ][ ]*//
24502
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24503
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24504
' >>conftest.defines
24506
# Remove the space that was appended to ease matching.
24507
# Then replace #undef with comments. This is necessary, for
24508
# example, in the case of _POSIX_SOURCE, which is predefined and required
24509
# on some systems where configure will not decide to define it.
24510
# (The regexp can be short, since the line contains either #define or #undef.)
24512
s,^[ #]*u.*,/* & */,' >>conftest.defines
24514
# Break up conftest.defines:
24515
ac_max_sed_lines=50
24517
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24518
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24519
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24521
ac_in='$ac_file_inputs'
24522
ac_out='"$tmp/out1"'
24523
ac_nxt='"$tmp/out2"'
24527
# Write a here document:
24528
cat >>$CONFIG_STATUS <<_ACEOF
24529
# First, check the format of the line:
24530
cat >"\$tmp/defines.sed" <<\\CEOF
24531
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24532
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24536
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24538
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24539
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24540
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24541
grep . conftest.tail >/dev/null || break
24542
rm -f conftest.defines
24543
mv conftest.tail conftest.defines
24545
rm -f conftest.defines conftest.tail
24547
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24548
cat >>$CONFIG_STATUS <<\_ACEOF
24549
if test x"$ac_file" != x-; then
24550
echo "/* $configure_input */" >"$tmp/config.h"
24551
cat "$ac_result" >>"$tmp/config.h"
24552
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24553
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24554
echo "$as_me: $ac_file is unchanged" >&6;}
24557
mv "$tmp/config.h" $ac_file
24560
echo "/* $configure_input */"
24564
# Compute $ac_file's index in $config_headers.
24567
for _am_header in $config_headers :; do
24568
case $_am_header in
24569
$_am_arg | $_am_arg:* )
24572
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
24575
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24576
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24577
X"$_am_arg" : 'X\(//\)[^/]' \| \
24578
X"$_am_arg" : 'X\(//\)$' \| \
24579
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24581
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24585
/^X\(\/\/\)[^/].*/{
24597
s/.*/./; q'`/stamp-h$_am_stamp_count
24600
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24601
echo "$as_me: executing $ac_file commands" >&6;}
24606
case $ac_file$ac_mode in
24607
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24608
# Strip MF so we end up with the name of the file.
24609
mf=`echo "$mf" | sed -e 's/:.*$//'`
24610
# Check whether this is an Automake generated Makefile or not.
24611
# We used to match only the files named `Makefile.in', but
24612
# some people rename them; so instead we look at the file content.
24613
# Grep'ing the first line is not enough: some people post-process
24614
# each Makefile.in and add a new line on top of each file to say so.
24615
# Grep'ing the whole file is not good either: AIX grep has a line
24616
# limit of 2048, but all sed's we know have understand at least 4000.
24617
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24618
dirpart=`$as_dirname -- "$mf" ||
24619
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24620
X"$mf" : 'X\(//\)[^/]' \| \
24621
X"$mf" : 'X\(//\)$' \| \
24622
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24624
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24628
/^X\(\/\/\)[^/].*/{
24644
# Extract the definition of DEPDIR, am__include, and am__quote
24645
# from the Makefile without running `make'.
24646
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24647
test -z "$DEPDIR" && continue
24648
am__include=`sed -n 's/^am__include = //p' < "$mf"`
24649
test -z "am__include" && continue
24650
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24651
# When using ansi2knr, U may be empty or an underscore; expand it
24652
U=`sed -n 's/^U = //p' < "$mf"`
24653
# Find all dependency output files, they are included files with
24654
# $(DEPDIR) in their names. We invoke sed twice because it is the
24655
# simplest approach to changing $(DEPDIR) to its actual value in the
24657
for file in `sed -n "
24658
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24659
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24660
# Make sure the directory exists.
24661
test -f "$dirpart/$file" && continue
24662
fdir=`$as_dirname -- "$file" ||
24663
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24664
X"$file" : 'X\(//\)[^/]' \| \
24665
X"$file" : 'X\(//\)$' \| \
24666
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24668
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24672
/^X\(\/\/\)[^/].*/{
24685
{ as_dir=$dirpart/$fdir
24687
-*) as_dir=./$as_dir;;
24689
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24693
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24694
*) as_qdir=$as_dir;;
24696
as_dirs="'$as_qdir' $as_dirs"
24697
as_dir=`$as_dirname -- "$as_dir" ||
24698
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24699
X"$as_dir" : 'X\(//\)[^/]' \| \
24700
X"$as_dir" : 'X\(//\)$' \| \
24701
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24703
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24707
/^X\(\/\/\)[^/].*/{
24720
test -d "$as_dir" && break
24722
test -z "$as_dirs" || eval "mkdir $as_dirs"
24723
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24724
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24725
{ (exit 1); exit 1; }; }; }
24726
# echo "creating $dirpart/$file"
24727
echo '# dummy' > "$dirpart/$file"
24733
for file in intltool-extract intltool-merge intltool-update; do
24734
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24735
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24736
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24737
< ${ac_aux_dir}/${file}.in > ${file}.out
24738
if cmp -s ${file} ${file}.out 2>/dev/null; then
24741
mv -f ${file}.out ${file}
24743
chmod ugo+x ${file}
24748
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24749
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24752
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24757
'"s|^| $ac_top_srcdir/|" \
24758
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24760
if test ! -f "po/Makefile"; then
24761
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24762
echo "$as_me: error: po/Makefile is not ready." >&2;}
24763
{ (exit 1); exit 1; }; }
24765
mv "po/Makefile" "po/Makefile.tmp"
24766
sed '/^POTFILES =/,/[^\\]$/ {
24770
' "po/Makefile.tmp" >"po/Makefile"
24771
rm -f "po/Makefile.tmp"
24772
mv "po/stamp-it.tmp" "po/stamp-it"
24779
{ (exit 0); exit 0; }
24781
chmod +x $CONFIG_STATUS
24782
ac_clean_files=$ac_clean_files_save
24785
# configure is writing to config.log, and then calls config.status.
24786
# config.status does its own redirection, appending to config.log.
24787
# Unfortunately, on DOS this fails, as config.log is still kept open
24788
# by configure, so config.status won't be able to write to it; its
24789
# output is simply discarded. So we exec the FD to /dev/null,
24790
# effectively closing config.log, so it can be properly (re)opened and
24791
# appended to by config.status. When coming back to configure, we
24792
# need to make the FD available again.
24793
if test "$no_create" != yes; then
24795
ac_config_status_args=
24796
test "$silent" = yes &&
24797
ac_config_status_args="$ac_config_status_args --quiet"
24799
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24801
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
24802
# would make configure fail if this is the last instruction.
24803
$ac_cs_success || { (exit 1); exit 1; }