2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for gnomeradio 1.8.
5
# Report bugs to <http://mfcn.ilo.de/gnomeradio>.
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='gnomeradio'
730
PACKAGE_TARNAME='gnomeradio'
731
PACKAGE_VERSION='1.8'
732
PACKAGE_STRING='gnomeradio 1.8'
733
PACKAGE_BUGREPORT='http://mfcn.ilo.de/gnomeradio'
735
ac_unique_file="src/gui.c"
736
# Factoring default headers for most tests.
737
ac_includes_default="\
739
#ifdef HAVE_SYS_TYPES_H
740
# include <sys/types.h>
742
#ifdef HAVE_SYS_STAT_H
743
# include <sys/stat.h>
749
# ifdef HAVE_STDLIB_H
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759
#ifdef HAVE_STRINGS_H
760
# include <strings.h>
762
#ifdef HAVE_INTTYPES_H
763
# include <inttypes.h>
781
program_transform_name
822
INSTALL_STRIP_PROGRAM
831
MAINTAINER_MODE_FALSE
833
INTLTOOL_DESKTOP_RULE
834
INTLTOOL_DIRECTORY_RULE
841
INTLTOOL_SOUNDLIST_RULE
846
INTLTOOL_XML_NOMERGE_RULE
848
INTLTOOL_SCHEMAS_RULE
850
INTLTOOL_SERVICE_RULE
934
DISTCHECK_CONFIGURE_FLAGS
935
HAVE_GNOME_DOC_UTILS_TRUE
936
HAVE_GNOME_DOC_UTILS_FALSE
938
GCONF_SCHEMA_CONFIG_SOURCE
939
GCONF_SCHEMA_FILE_DIR
940
GCONF_SCHEMAS_INSTALL_TRUE
941
GCONF_SCHEMAS_INSTALL_FALSE
943
INSTALL_SCHEMAS_FALSE
947
ac_precious_vars='build_alias
971
# Initialize some variables set by options.
973
ac_init_version=false
974
# The variables have the same names as the options, with
975
# dashes changed to underlines.
983
program_transform_name=s,x,x,
991
# Installation directory options.
992
# These are left unexpanded so users can "make install exec_prefix=/foo"
993
# and all the variables that are supposed to be based on exec_prefix
994
# by default will actually change.
995
# Use braces instead of parens because sh, perl, etc. also accept them.
996
# (The list follows the same order as the GNU Coding Standards.)
997
bindir='${exec_prefix}/bin'
998
sbindir='${exec_prefix}/sbin'
999
libexecdir='${exec_prefix}/libexec'
1000
datarootdir='${prefix}/share'
1001
datadir='${datarootdir}'
1002
sysconfdir='${prefix}/etc'
1003
sharedstatedir='${prefix}/com'
1004
localstatedir='${prefix}/var'
1005
includedir='${prefix}/include'
1006
oldincludedir='/usr/include'
1007
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1008
infodir='${datarootdir}/info'
1013
libdir='${exec_prefix}/lib'
1014
localedir='${datarootdir}/locale'
1015
mandir='${datarootdir}/man'
1021
# If the previous option needs an argument, assign it.
1022
if test -n "$ac_prev"; then
1023
eval $ac_prev=\$ac_option
1029
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1033
# Accept the important Cygnus configure options, so we can diagnose typos.
1035
case $ac_dashdash$ac_option in
1039
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1041
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1042
bindir=$ac_optarg ;;
1044
-build | --build | --buil | --bui | --bu)
1045
ac_prev=build_alias ;;
1046
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1047
build_alias=$ac_optarg ;;
1049
-cache-file | --cache-file | --cache-fil | --cache-fi \
1050
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051
ac_prev=cache_file ;;
1052
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1053
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1054
cache_file=$ac_optarg ;;
1056
--config-cache | -C)
1057
cache_file=config.cache ;;
1059
-datadir | --datadir | --datadi | --datad)
1061
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1062
datadir=$ac_optarg ;;
1064
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1065
| --dataroo | --dataro | --datar)
1066
ac_prev=datarootdir ;;
1067
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1068
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1069
datarootdir=$ac_optarg ;;
1071
-disable-* | --disable-*)
1072
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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=no ;;
1080
-docdir | --docdir | --docdi | --doc | --do)
1082
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083
docdir=$ac_optarg ;;
1085
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1087
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088
dvidir=$ac_optarg ;;
1090
-enable-* | --enable-*)
1091
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092
# Reject names that are not valid shell variable names.
1093
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1095
{ (exit 1); exit 1; }; }
1096
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1097
eval enable_$ac_feature=\$ac_optarg ;;
1099
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101
| --exec | --exe | --ex)
1102
ac_prev=exec_prefix ;;
1103
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105
| --exec=* | --exe=* | --ex=*)
1106
exec_prefix=$ac_optarg ;;
1108
-gas | --gas | --ga | --g)
1109
# Obsolete; use --with-gas.
1112
-help | --help | --hel | --he | -h)
1113
ac_init_help=long ;;
1114
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115
ac_init_help=recursive ;;
1116
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117
ac_init_help=short ;;
1119
-host | --host | --hos | --ho)
1120
ac_prev=host_alias ;;
1121
-host=* | --host=* | --hos=* | --ho=*)
1122
host_alias=$ac_optarg ;;
1124
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1126
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1128
htmldir=$ac_optarg ;;
1130
-includedir | --includedir | --includedi | --included | --include \
1131
| --includ | --inclu | --incl | --inc)
1132
ac_prev=includedir ;;
1133
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134
| --includ=* | --inclu=* | --incl=* | --inc=*)
1135
includedir=$ac_optarg ;;
1137
-infodir | --infodir | --infodi | --infod | --info | --inf)
1139
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140
infodir=$ac_optarg ;;
1142
-libdir | --libdir | --libdi | --libd)
1144
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1145
libdir=$ac_optarg ;;
1147
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148
| --libexe | --libex | --libe)
1149
ac_prev=libexecdir ;;
1150
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151
| --libexe=* | --libex=* | --libe=*)
1152
libexecdir=$ac_optarg ;;
1154
-localedir | --localedir | --localedi | --localed | --locale)
1155
ac_prev=localedir ;;
1156
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157
localedir=$ac_optarg ;;
1159
-localstatedir | --localstatedir | --localstatedi | --localstated \
1160
| --localstate | --localstat | --localsta | --localst | --locals)
1161
ac_prev=localstatedir ;;
1162
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164
localstatedir=$ac_optarg ;;
1166
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1168
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169
mandir=$ac_optarg ;;
1171
-nfp | --nfp | --nf)
1172
# Obsolete; use --without-fp.
1175
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176
| --no-cr | --no-c | -n)
1179
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1183
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185
| --oldin | --oldi | --old | --ol | --o)
1186
ac_prev=oldincludedir ;;
1187
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190
oldincludedir=$ac_optarg ;;
1192
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1194
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195
prefix=$ac_optarg ;;
1197
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1198
| --program-pre | --program-pr | --program-p)
1199
ac_prev=program_prefix ;;
1200
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1201
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202
program_prefix=$ac_optarg ;;
1204
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1205
| --program-suf | --program-su | --program-s)
1206
ac_prev=program_suffix ;;
1207
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1208
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209
program_suffix=$ac_optarg ;;
1211
-program-transform-name | --program-transform-name \
1212
| --program-transform-nam | --program-transform-na \
1213
| --program-transform-n | --program-transform- \
1214
| --program-transform | --program-transfor \
1215
| --program-transfo | --program-transf \
1216
| --program-trans | --program-tran \
1217
| --progr-tra | --program-tr | --program-t)
1218
ac_prev=program_transform_name ;;
1219
-program-transform-name=* | --program-transform-name=* \
1220
| --program-transform-nam=* | --program-transform-na=* \
1221
| --program-transform-n=* | --program-transform-=* \
1222
| --program-transform=* | --program-transfor=* \
1223
| --program-transfo=* | --program-transf=* \
1224
| --program-trans=* | --program-tran=* \
1225
| --progr-tra=* | --program-tr=* | --program-t=*)
1226
program_transform_name=$ac_optarg ;;
1228
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1230
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231
pdfdir=$ac_optarg ;;
1233
-psdir | --psdir | --psdi | --psd | --ps)
1235
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1238
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239
| -silent | --silent | --silen | --sile | --sil)
1242
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1244
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1246
sbindir=$ac_optarg ;;
1248
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1249
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250
| --sharedst | --shareds | --shared | --share | --shar \
1252
ac_prev=sharedstatedir ;;
1253
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1257
sharedstatedir=$ac_optarg ;;
1259
-site | --site | --sit)
1261
-site=* | --site=* | --sit=*)
1264
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1266
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267
srcdir=$ac_optarg ;;
1269
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270
| --syscon | --sysco | --sysc | --sys | --sy)
1271
ac_prev=sysconfdir ;;
1272
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274
sysconfdir=$ac_optarg ;;
1276
-target | --target | --targe | --targ | --tar | --ta | --t)
1277
ac_prev=target_alias ;;
1278
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279
target_alias=$ac_optarg ;;
1281
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1284
-version | --version | --versio | --versi | --vers | -V)
1285
ac_init_version=: ;;
1288
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289
# Reject names that are not valid shell variable names.
1290
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1292
{ (exit 1); exit 1; }; }
1293
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1294
eval with_$ac_package=\$ac_optarg ;;
1296
-without-* | --without-*)
1297
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298
# Reject names that are not valid shell variable names.
1299
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1301
{ (exit 1); exit 1; }; }
1302
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1303
eval with_$ac_package=no ;;
1306
# Obsolete; use --with-x.
1309
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1310
| --x-incl | --x-inc | --x-in | --x-i)
1311
ac_prev=x_includes ;;
1312
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1313
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1314
x_includes=$ac_optarg ;;
1316
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1317
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1318
ac_prev=x_libraries ;;
1319
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1320
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1321
x_libraries=$ac_optarg ;;
1323
-*) { echo "$as_me: error: unrecognized option: $ac_option
1324
Try \`$0 --help' for more information." >&2
1325
{ (exit 1); exit 1; }; }
1329
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1330
# Reject names that are not valid shell variable names.
1331
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1332
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1333
{ (exit 1); exit 1; }; }
1334
eval $ac_envvar=\$ac_optarg
1335
export $ac_envvar ;;
1338
# FIXME: should be removed in autoconf 3.0.
1339
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348
if test -n "$ac_prev"; then
1349
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1350
{ echo "$as_me: error: missing argument to $ac_option" >&2
1351
{ (exit 1); exit 1; }; }
1354
# Be sure to have absolute directory names.
1355
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356
datadir sysconfdir sharedstatedir localstatedir includedir \
1357
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358
libdir localedir mandir
1360
eval ac_val=\$$ac_var
1362
[\\/$]* | ?:[\\/]* ) continue;;
1363
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1365
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1366
{ (exit 1); exit 1; }; }
1369
# There might be people who depend on the old broken behavior: `$host'
1370
# used to hold the argument of --host etc.
1371
# FIXME: To remove some day.
1374
target=$target_alias
1376
# FIXME: To remove some day.
1377
if test "x$host_alias" != x; then
1378
if test "x$build_alias" = x; then
1379
cross_compiling=maybe
1380
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1381
If a cross compiler is detected then cross compile mode will be used." >&2
1382
elif test "x$build_alias" != "x$host_alias"; then
1388
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1390
test "$silent" = yes && exec 6>/dev/null
1393
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394
ac_ls_di=`ls -di .` &&
1395
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396
{ echo "$as_me: error: Working directory cannot be determined" >&2
1397
{ (exit 1); exit 1; }; }
1398
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1400
{ (exit 1); exit 1; }; }
1403
# Find the source files, if location was not specified.
1404
if test -z "$srcdir"; then
1405
ac_srcdir_defaulted=yes
1406
# Try the directory containing this script, then the parent directory.
1407
ac_confdir=`$as_dirname -- "$0" ||
1408
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409
X"$0" : 'X\(//\)[^/]' \| \
1410
X"$0" : 'X\(//\)$' \| \
1411
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1413
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431
if test ! -r "$srcdir/$ac_unique_file"; then
1435
ac_srcdir_defaulted=no
1437
if test ! -r "$srcdir/$ac_unique_file"; then
1438
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1440
{ (exit 1); exit 1; }; }
1442
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1444
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1445
{ (exit 1); exit 1; }; }
1447
# When building in place, set srcdir=.
1448
if test "$ac_abs_confdir" = "$ac_pwd"; then
1451
# Remove unnecessary trailing slashes from srcdir.
1452
# Double slashes in file names in object file debugging info
1453
# mess up M-x gdb in Emacs.
1455
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1457
for ac_var in $ac_precious_vars; do
1458
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1459
eval ac_env_${ac_var}_value=\$${ac_var}
1460
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1461
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1465
# Report the --help message.
1467
if test "$ac_init_help" = "long"; then
1468
# Omit some internal or obsolete options to make the list less imposing.
1469
# This message is too long to be a string in the A/UX 3.1 sh.
1471
\`configure' configures gnomeradio 1.8 to adapt to many kinds of systems.
1473
Usage: $0 [OPTION]... [VAR=VALUE]...
1475
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1476
VAR=VALUE. See below for descriptions of some of the useful variables.
1478
Defaults for the options are specified in brackets.
1481
-h, --help display this help and exit
1482
--help=short display options specific to this package
1483
--help=recursive display the short help of all the included packages
1484
-V, --version display version information and exit
1485
-q, --quiet, --silent do not print \`checking...' messages
1486
--cache-file=FILE cache test results in FILE [disabled]
1487
-C, --config-cache alias for \`--cache-file=config.cache'
1488
-n, --no-create do not create output files
1489
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1491
Installation directories:
1492
--prefix=PREFIX install architecture-independent files in PREFIX
1493
[$ac_default_prefix]
1494
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1497
By default, \`make install' will install all the files in
1498
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1499
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1500
for instance \`--prefix=\$HOME'.
1502
For better control, use the options below.
1504
Fine tuning of the installation directories:
1505
--bindir=DIR user executables [EPREFIX/bin]
1506
--sbindir=DIR system admin executables [EPREFIX/sbin]
1507
--libexecdir=DIR program executables [EPREFIX/libexec]
1508
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1509
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1510
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1511
--libdir=DIR object code libraries [EPREFIX/lib]
1512
--includedir=DIR C header files [PREFIX/include]
1513
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1514
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1515
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1516
--infodir=DIR info documentation [DATAROOTDIR/info]
1517
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1518
--mandir=DIR man documentation [DATAROOTDIR/man]
1519
--docdir=DIR documentation root [DATAROOTDIR/doc/gnomeradio]
1520
--htmldir=DIR html documentation [DOCDIR]
1521
--dvidir=DIR dvi documentation [DOCDIR]
1522
--pdfdir=DIR pdf documentation [DOCDIR]
1523
--psdir=DIR ps documentation [DOCDIR]
1529
--program-prefix=PREFIX prepend PREFIX to installed program names
1530
--program-suffix=SUFFIX append SUFFIX to installed program names
1531
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1534
--build=BUILD configure for building on BUILD [guessed]
1535
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1539
if test -n "$ac_init_help"; then
1540
case $ac_init_help in
1541
short | recursive ) echo "Configuration of gnomeradio 1.8:";;
1546
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1547
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1548
--enable-maintainer-mode enable make rules and dependencies not useful
1549
(and sometimes confusing) to the casual installer
1550
--disable-dependency-tracking speeds up one-time build
1551
--enable-dependency-tracking do not reject slow dependency extractors
1552
--enable-shared[=PKGS] build shared libraries [default=yes]
1553
--enable-static[=PKGS] build static libraries [default=yes]
1554
--enable-fast-install[=PKGS]
1555
optimize for fast installation [default=yes]
1556
--disable-libtool-lock avoid locking (might break parallel builds)
1557
--disable-scrollkeeper do not make updates to the scrollkeeper database
1558
--disable-schemas-install Disable the schemas installation
1559
--disable-install-schemas Disable installation of the gconf schemas
1562
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1565
--with-pic try to use only PIC/non-PIC objects [default=use
1567
--with-tags[=TAGS] include additional configurations [automatic]
1568
--with-help-dir=DIR path to help docs
1569
--with-omf-dir=DIR path to OMF files
1570
--with-help-formats=FORMATS
1572
--with-gconf-source=sourceaddress Config database for installing schema files.
1573
--with-gconf-schema-file-dir=dir Directory for installing schema files.
1575
Some influential environment variables:
1576
CC C compiler command
1577
CFLAGS C compiler flags
1578
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1579
nonstandard directory <lib dir>
1580
LIBS libraries to pass to the linker, e.g. -l<library>
1581
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1582
you have headers in a nonstandard directory <include dir>
1584
CXX C++ compiler command
1585
CXXFLAGS C++ compiler flags
1586
CXXCPP C++ preprocessor
1587
F77 Fortran 77 compiler command
1588
FFLAGS Fortran 77 compiler flags
1589
PKG_CONFIG path to pkg-config utility
1591
C compiler flags for GNOME, overriding pkg-config
1592
GNOME_LIBS linker flags for GNOME, overriding pkg-config
1594
C compiler flags for GNOME14, overriding pkg-config
1596
linker flags for GNOME14, overriding pkg-config
1598
C compiler flags for GSTREAMER, overriding pkg-config
1600
linker flags for GSTREAMER, overriding pkg-config
1602
Use these variables to override the choices made by `configure' or to help
1603
it to find libraries and programs with nonstandard names/locations.
1605
Report bugs to <http://mfcn.ilo.de/gnomeradio>.
1610
if test "$ac_init_help" = "recursive"; then
1611
# If there are subdirs, report their specific --help.
1612
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613
test -d "$ac_dir" || continue
1617
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1620
# A ".." for each directory in $ac_dir_suffix.
1621
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1622
case $ac_top_builddir_sub in
1623
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1627
ac_abs_top_builddir=$ac_pwd
1628
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1629
# for backward compatibility:
1630
ac_top_builddir=$ac_top_build_prefix
1633
.) # We are building in place.
1635
ac_top_srcdir=$ac_top_builddir_sub
1636
ac_abs_top_srcdir=$ac_pwd ;;
1637
[\\/]* | ?:[\\/]* ) # Absolute name.
1638
ac_srcdir=$srcdir$ac_dir_suffix;
1639
ac_top_srcdir=$srcdir
1640
ac_abs_top_srcdir=$srcdir ;;
1642
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1643
ac_top_srcdir=$ac_top_build_prefix$srcdir
1644
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1646
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1648
cd "$ac_dir" || { ac_status=$?; continue; }
1649
# Check for guested configure.
1650
if test -f "$ac_srcdir/configure.gnu"; then
1652
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1653
elif test -f "$ac_srcdir/configure"; then
1655
$SHELL "$ac_srcdir/configure" --help=recursive
1657
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1659
cd "$ac_pwd" || { ac_status=$?; break; }
1663
test -n "$ac_init_help" && exit $ac_status
1664
if $ac_init_version; then
1666
gnomeradio configure 1.8
1667
generated by GNU Autoconf 2.61
1669
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1670
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1671
This configure script is free software; the Free Software Foundation
1672
gives unlimited permission to copy, distribute and modify it.
1676
cat >config.log <<_ACEOF
1677
This file contains any messages produced by compilers while
1678
running configure, to aid debugging if configure makes a mistake.
1680
It was created by gnomeradio $as_me 1.8, which was
1681
generated by GNU Autoconf 2.61. Invocation command line was
1693
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1694
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1695
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1696
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1697
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1699
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1700
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1702
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1703
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1704
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1705
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1706
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1707
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1708
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716
test -z "$as_dir" && as_dir=.
1717
echo "PATH: $as_dir"
1733
# Keep a trace of the command line.
1734
# Strip out --no-create and --no-recursion so they do not pile up.
1735
# Strip out --silent because we don't want to record it for future runs.
1736
# Also quote any args containing shell meta-characters.
1737
# Make two passes to allow for proper duplicate-argument suppression.
1741
ac_must_keep_next=false
1747
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1748
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1749
| -silent | --silent | --silen | --sile | --sil)
1752
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1755
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1757
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1758
if test $ac_must_keep_next = true; then
1759
ac_must_keep_next=false # Got value, back to normal.
1762
*=* | --config-cache | -C | -disable-* | --disable-* \
1763
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1764
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1765
| -with-* | --with-* | -without-* | --without-* | --x)
1766
case "$ac_configure_args0 " in
1767
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1770
-* ) ac_must_keep_next=true ;;
1773
ac_configure_args="$ac_configure_args '$ac_arg'"
1778
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1779
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1781
# When interrupted or exit'd, cleanup temporary files, and complete
1782
# config.log. We remove comments because anyway the quotes in there
1783
# would cause problems or look ugly.
1784
# WARNING: Use '\'' to represent an apostrophe within the trap.
1785
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1786
trap 'exit_status=$?
1787
# Save into config.log some information that might help in debugging.
1792
## ---------------- ##
1793
## Cache variables. ##
1794
## ---------------- ##
1797
# The following way of writing the cache mishandles newlines in values,
1799
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1800
eval ac_val=\$$ac_var
1804
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1805
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1808
_ | IFS | as_nl) ;; #(
1809
*) $as_unset $ac_var ;;
1814
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1815
*${as_nl}ac_space=\ *)
1817
"s/'\''/'\''\\\\'\'''\''/g;
1818
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1821
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1829
## ----------------- ##
1830
## Output variables. ##
1831
## ----------------- ##
1834
for ac_var in $ac_subst_vars
1836
eval ac_val=\$$ac_var
1838
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840
echo "$ac_var='\''$ac_val'\''"
1844
if test -n "$ac_subst_files"; then
1846
## ------------------- ##
1847
## File substitutions. ##
1848
## ------------------- ##
1851
for ac_var in $ac_subst_files
1853
eval ac_val=\$$ac_var
1855
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857
echo "$ac_var='\''$ac_val'\''"
1862
if test -s confdefs.h; then
1872
test "$ac_signal" != 0 &&
1873
echo "$as_me: caught signal $ac_signal"
1874
echo "$as_me: exit $exit_status"
1876
rm -f core *.core core.conftest.* &&
1877
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880
for ac_signal in 1 2 13 15; do
1881
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1885
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1886
rm -f -r conftest* confdefs.h
1888
# Predefined preprocessor variables.
1890
cat >>confdefs.h <<_ACEOF
1891
#define PACKAGE_NAME "$PACKAGE_NAME"
1895
cat >>confdefs.h <<_ACEOF
1896
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900
cat >>confdefs.h <<_ACEOF
1901
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1905
cat >>confdefs.h <<_ACEOF
1906
#define PACKAGE_STRING "$PACKAGE_STRING"
1910
cat >>confdefs.h <<_ACEOF
1911
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1915
# Let the site file select an alternate cache file if it wants to.
1916
# Prefer explicitly selected file to automatically selected ones.
1917
if test -n "$CONFIG_SITE"; then
1918
set x "$CONFIG_SITE"
1919
elif test "x$prefix" != xNONE; then
1920
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1922
set x "$ac_default_prefix/share/config.site" \
1923
"$ac_default_prefix/etc/config.site"
1928
if test -r "$ac_site_file"; then
1929
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1930
echo "$as_me: loading site script $ac_site_file" >&6;}
1931
sed 's/^/| /' "$ac_site_file" >&5
1936
if test -r "$cache_file"; then
1937
# Some versions of bash will fail to source /dev/null (special
1938
# files actually), so we avoid doing that.
1939
if test -f "$cache_file"; then
1940
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1941
echo "$as_me: loading cache $cache_file" >&6;}
1943
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1944
*) . "./$cache_file";;
1948
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1949
echo "$as_me: creating cache $cache_file" >&6;}
1953
# Check that the precious variables saved in the cache have kept the same
1955
ac_cache_corrupted=false
1956
for ac_var in $ac_precious_vars; do
1957
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1958
eval ac_new_set=\$ac_env_${ac_var}_set
1959
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1960
eval ac_new_val=\$ac_env_${ac_var}_value
1961
case $ac_old_set,$ac_new_set in
1963
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1964
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1965
ac_cache_corrupted=: ;;
1967
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1968
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1969
ac_cache_corrupted=: ;;
1972
if test "x$ac_old_val" != "x$ac_new_val"; then
1973
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1974
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1975
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1976
echo "$as_me: former value: $ac_old_val" >&2;}
1977
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1978
echo "$as_me: current value: $ac_new_val" >&2;}
1979
ac_cache_corrupted=:
1982
# Pass precious variables to config.status.
1983
if test "$ac_new_set" = set; then
1985
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1986
*) ac_arg=$ac_var=$ac_new_val ;;
1988
case " $ac_configure_args " in
1989
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1990
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1994
if $ac_cache_corrupted; then
1995
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1996
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1997
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1998
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1999
{ (exit 1); exit 1; }; }
2027
ac_cpp='$CPP $CPPFLAGS'
2028
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034
am__api_version="1.9"
2036
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2037
if test -f "$ac_dir/install-sh"; then
2039
ac_install_sh="$ac_aux_dir/install-sh -c"
2041
elif test -f "$ac_dir/install.sh"; then
2043
ac_install_sh="$ac_aux_dir/install.sh -c"
2045
elif test -f "$ac_dir/shtool"; then
2047
ac_install_sh="$ac_aux_dir/shtool install -c"
2051
if test -z "$ac_aux_dir"; then
2052
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2053
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2054
{ (exit 1); exit 1; }; }
2057
# These three variables are undocumented and unsupported,
2058
# and are intended to be withdrawn in a future Autoconf release.
2059
# They can cause serious problems if a builder's source tree is in a directory
2060
# whose full name contains unusual characters.
2061
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2062
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2063
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2066
# Find a good install program. We prefer a C program (faster),
2067
# so one script is as good as another. But avoid the broken or
2068
# incompatible versions:
2069
# SysV /etc/install, /usr/sbin/install
2070
# SunOS /usr/etc/install
2071
# IRIX /sbin/install
2073
# AmigaOS /C/install, which installs bootblocks on floppy discs
2074
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2075
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2076
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2077
# OS/2's system install, which has a completely different semantic
2078
# ./install, which can be erroneously created by make from ./install.sh.
2079
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2080
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2081
if test -z "$INSTALL"; then
2082
if test "${ac_cv_path_install+set}" = set; then
2083
echo $ECHO_N "(cached) $ECHO_C" >&6
2085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089
test -z "$as_dir" && as_dir=.
2090
# Account for people who put trailing slashes in PATH elements.
2092
./ | .// | /cC/* | \
2093
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2094
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2097
# OSF1 and SCO ODT 3.0 have their own names for install.
2098
# Don't use installbsd from OSF since it installs stuff as root
2100
for ac_prog in ginstall scoinst install; do
2101
for ac_exec_ext in '' $ac_executable_extensions; do
2102
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2103
if test $ac_prog = install &&
2104
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105
# AIX install. It has an incompatible calling convention.
2107
elif test $ac_prog = install &&
2108
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2109
# program-specific install script used by HP pwplus--don't use.
2112
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2125
if test "${ac_cv_path_install+set}" = set; then
2126
INSTALL=$ac_cv_path_install
2128
# As a last resort, use the slow shell script. Don't cache a
2129
# value for INSTALL within a source directory, because that will
2130
# break other packages using the cache if that directory is
2131
# removed, or if the value is a relative name.
2132
INSTALL=$ac_install_sh
2135
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2136
echo "${ECHO_T}$INSTALL" >&6; }
2138
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2139
# It thinks the first close brace ends the variable substitution.
2140
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2142
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2144
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2146
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2147
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2150
echo timestamp > conftest.file
2151
# Do `set' in a subshell so we don't clobber the current shell's
2152
# arguments. Must try -L first in case configure is actually a
2153
# symlink; some systems play weird games with the mod time of symlinks
2154
# (eg FreeBSD returns the mod time of the symlink's containing
2157
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2158
if test "$*" = "X"; then
2160
set X `ls -t $srcdir/configure conftest.file`
2163
if test "$*" != "X $srcdir/configure conftest.file" \
2164
&& test "$*" != "X conftest.file $srcdir/configure"; then
2166
# If neither matched, then we have a broken ls. This can happen
2167
# if, for instance, CONFIG_SHELL is bash and it inherits a
2168
# broken ls alias from the environment. This has actually
2169
# happened. Such a system could not be considered "sane".
2170
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2171
alias in your environment" >&5
2172
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2173
alias in your environment" >&2;}
2174
{ (exit 1); exit 1; }; }
2177
test "$2" = conftest.file
2183
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2184
Check your system clock" >&5
2185
echo "$as_me: error: newly created file is older than distributed files!
2186
Check your system clock" >&2;}
2187
{ (exit 1); exit 1; }; }
2189
{ echo "$as_me:$LINENO: result: yes" >&5
2190
echo "${ECHO_T}yes" >&6; }
2191
test "$program_prefix" != NONE &&
2192
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2193
# Use a double $ so make ignores it.
2194
test "$program_suffix" != NONE &&
2195
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2196
# Double any \ or $. echo might interpret backslashes.
2197
# By default was `s,x,x', remove it if useless.
2198
cat <<\_ACEOF >conftest.sed
2199
s/[\\$]/&&/g;s/;s,x,x,$//
2201
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2204
# expand $ac_aux_dir to an absolute path
2205
am_aux_dir=`cd $ac_aux_dir && pwd`
2207
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2208
# Use eval to expand $SHELL
2209
if eval "$MISSING --run true"; then
2210
am_missing_run="$MISSING --run "
2213
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2214
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2217
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2218
# We used to keeping the `.' as first argument, in order to
2219
# allow $(mkdir_p) to be used without argument. As in
2220
# $(mkdir_p) $(somedir)
2221
# where $(somedir) is conditionally defined. However this is wrong
2223
# 1. if the package is installed by a user who cannot write `.'
2224
# make install will fail,
2225
# 2. the above comment should most certainly read
2226
# $(mkdir_p) $(DESTDIR)$(somedir)
2227
# so it does not work when $(somedir) is undefined and
2228
# $(DESTDIR) is not.
2229
# To support the latter case, we have to write
2230
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2231
# so the `.' trick is pointless.
2232
mkdir_p='mkdir -p --'
2234
# On NextStep and OpenStep, the `mkdir' command does not
2235
# recognize any option. It will interpret all options as
2236
# directories to create, and then abort because `.' already
2238
for d in ./-p ./--version;
2240
test -d $d && rmdir $d
2242
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2243
if test -f "$ac_aux_dir/mkinstalldirs"; then
2244
mkdir_p='$(mkinstalldirs)'
2246
mkdir_p='$(install_sh) -d'
2250
for ac_prog in gawk mawk nawk awk
2252
# Extract the first word of "$ac_prog", so it can be a program name with args.
2253
set dummy $ac_prog; ac_word=$2
2254
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2255
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2256
if test "${ac_cv_prog_AWK+set}" = set; then
2257
echo $ECHO_N "(cached) $ECHO_C" >&6
2259
if test -n "$AWK"; then
2260
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2262
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
test -z "$as_dir" && as_dir=.
2267
for ac_exec_ext in '' $ac_executable_extensions; do
2268
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269
ac_cv_prog_AWK="$ac_prog"
2270
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280
if test -n "$AWK"; then
2281
{ echo "$as_me:$LINENO: result: $AWK" >&5
2282
echo "${ECHO_T}$AWK" >&6; }
2284
{ echo "$as_me:$LINENO: result: no" >&5
2285
echo "${ECHO_T}no" >&6; }
2289
test -n "$AWK" && break
2292
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2293
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2294
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2295
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2296
echo $ECHO_N "(cached) $ECHO_C" >&6
2298
cat >conftest.make <<\_ACEOF
2301
@echo '@@@%%%=$(MAKE)=@@@%%%'
2303
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2304
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2306
eval ac_cv_prog_make_${ac_make}_set=yes;;
2308
eval ac_cv_prog_make_${ac_make}_set=no;;
2312
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2313
{ echo "$as_me:$LINENO: result: yes" >&5
2314
echo "${ECHO_T}yes" >&6; }
2317
{ echo "$as_me:$LINENO: result: no" >&5
2318
echo "${ECHO_T}no" >&6; }
2319
SET_MAKE="MAKE=${MAKE-make}"
2322
rm -rf .tst 2>/dev/null
2323
mkdir .tst 2>/dev/null
2324
if test -d .tst; then
2329
rmdir .tst 2>/dev/null
2331
# test to see if srcdir already configured
2332
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2333
test -f $srcdir/config.status; then
2334
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2335
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2336
{ (exit 1); exit 1; }; }
2339
# test whether we have cygpath
2340
if test -z "$CYGPATH_W"; then
2341
if (cygpath --version) >/dev/null 2>/dev/null; then
2342
CYGPATH_W='cygpath -w'
2349
# Define the identity of the package.
2354
cat >>confdefs.h <<_ACEOF
2355
#define PACKAGE "$PACKAGE"
2359
cat >>confdefs.h <<_ACEOF
2360
#define VERSION "$VERSION"
2363
# Some tools Automake needs.
2365
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2368
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2371
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2374
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2377
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2379
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2381
# Installed binaries are usually stripped using `strip' when the user
2382
# run `make install-strip'. However `strip' might not be the right
2383
# tool to use in cross-compilation environments, therefore Automake
2384
# will honor the `STRIP' environment variable to overrule this program.
2385
if test "$cross_compiling" != no; then
2386
if test -n "$ac_tool_prefix"; then
2387
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2388
set dummy ${ac_tool_prefix}strip; ac_word=$2
2389
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2390
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391
if test "${ac_cv_prog_STRIP+set}" = set; then
2392
echo $ECHO_N "(cached) $ECHO_C" >&6
2394
if test -n "$STRIP"; then
2395
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401
test -z "$as_dir" && as_dir=.
2402
for ac_exec_ext in '' $ac_executable_extensions; do
2403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2405
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414
STRIP=$ac_cv_prog_STRIP
2415
if test -n "$STRIP"; then
2416
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2417
echo "${ECHO_T}$STRIP" >&6; }
2419
{ echo "$as_me:$LINENO: result: no" >&5
2420
echo "${ECHO_T}no" >&6; }
2425
if test -z "$ac_cv_prog_STRIP"; then
2427
# Extract the first word of "strip", so it can be a program name with args.
2428
set dummy strip; ac_word=$2
2429
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2430
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2432
echo $ECHO_N "(cached) $ECHO_C" >&6
2434
if test -n "$ac_ct_STRIP"; then
2435
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2437
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441
test -z "$as_dir" && as_dir=.
2442
for ac_exec_ext in '' $ac_executable_extensions; do
2443
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444
ac_cv_prog_ac_ct_STRIP="strip"
2445
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2455
if test -n "$ac_ct_STRIP"; then
2456
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2457
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2459
{ echo "$as_me:$LINENO: result: no" >&5
2460
echo "${ECHO_T}no" >&6; }
2463
if test "x$ac_ct_STRIP" = x; then
2466
case $cross_compiling:$ac_tool_warned in
2468
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2469
whose name does not start with the host triplet. If you think this
2470
configuration is useful to you, please write to autoconf@gnu.org." >&5
2471
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2472
whose name does not start with the host triplet. If you think this
2473
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2474
ac_tool_warned=yes ;;
2479
STRIP="$ac_cv_prog_STRIP"
2483
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2485
# We need awk for the "check" target. The system "awk" is bad on
2487
# Always define AMTAR for backward compatibility.
2489
AMTAR=${AMTAR-"${am_missing_run}tar"}
2491
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2498
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2499
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2500
# Check whether --enable-maintainer-mode was given.
2501
if test "${enable_maintainer_mode+set}" = set; then
2502
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2504
USE_MAINTAINER_MODE=no
2507
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2508
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2511
if test $USE_MAINTAINER_MODE = yes; then
2512
MAINTAINER_MODE_TRUE=
2513
MAINTAINER_MODE_FALSE='#'
2515
MAINTAINER_MODE_TRUE='#'
2516
MAINTAINER_MODE_FALSE=
2519
MAINT=$MAINTAINER_MODE_TRUE
2522
ac_config_headers="$ac_config_headers config.h"
2525
DEPDIR="${am__leading_dot}deps"
2527
ac_config_commands="$ac_config_commands depfiles"
2530
am_make=${MAKE-make}
2531
cat > confinc << 'END'
2536
# If we don't find an include directive, just comment out the code.
2537
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2538
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2542
# First try GNU make style include.
2543
echo "include confinc" > confmf
2544
# We grep out `Entering directory' and `Leaving directory'
2545
# messages which can occur if `w' ends up in MAKEFLAGS.
2546
# In particular we don't look at `^make:' because GNU make might
2547
# be invoked under some other name (usually "gmake"), in which
2548
# case it prints its new name instead of `make'.
2549
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2554
# Now try BSD make style include.
2555
if test "$am__include" = "#"; then
2556
echo '.include "confinc"' > confmf
2557
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2558
am__include=.include
2565
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2566
echo "${ECHO_T}$_am_result" >&6; }
2567
rm -f confinc confmf
2569
# Check whether --enable-dependency-tracking was given.
2570
if test "${enable_dependency_tracking+set}" = set; then
2571
enableval=$enable_dependency_tracking;
2574
if test "x$enable_dependency_tracking" != xno; then
2575
am_depcomp="$ac_aux_dir/depcomp"
2580
if test "x$enable_dependency_tracking" != xno; then
2591
ac_cpp='$CPP $CPPFLAGS'
2592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595
if test -n "$ac_tool_prefix"; then
2596
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2597
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2598
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2600
if test "${ac_cv_prog_CC+set}" = set; then
2601
echo $ECHO_N "(cached) $ECHO_C" >&6
2603
if test -n "$CC"; then
2604
ac_cv_prog_CC="$CC" # Let the user override the test.
2606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610
test -z "$as_dir" && as_dir=.
2611
for ac_exec_ext in '' $ac_executable_extensions; do
2612
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2614
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624
if test -n "$CC"; then
2625
{ echo "$as_me:$LINENO: result: $CC" >&5
2626
echo "${ECHO_T}$CC" >&6; }
2628
{ echo "$as_me:$LINENO: result: no" >&5
2629
echo "${ECHO_T}no" >&6; }
2634
if test -z "$ac_cv_prog_CC"; then
2636
# Extract the first word of "gcc", so it can be a program name with args.
2637
set dummy gcc; ac_word=$2
2638
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2639
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2640
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2641
echo $ECHO_N "(cached) $ECHO_C" >&6
2643
if test -n "$ac_ct_CC"; then
2644
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650
test -z "$as_dir" && as_dir=.
2651
for ac_exec_ext in '' $ac_executable_extensions; do
2652
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653
ac_cv_prog_ac_ct_CC="gcc"
2654
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664
if test -n "$ac_ct_CC"; then
2665
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666
echo "${ECHO_T}$ac_ct_CC" >&6; }
2668
{ echo "$as_me:$LINENO: result: no" >&5
2669
echo "${ECHO_T}no" >&6; }
2672
if test "x$ac_ct_CC" = x; then
2675
case $cross_compiling:$ac_tool_warned in
2677
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2678
whose name does not start with the host triplet. If you think this
2679
configuration is useful to you, please write to autoconf@gnu.org." >&5
2680
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2681
whose name does not start with the host triplet. If you think this
2682
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2683
ac_tool_warned=yes ;;
2691
if test -z "$CC"; then
2692
if test -n "$ac_tool_prefix"; then
2693
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2694
set dummy ${ac_tool_prefix}cc; ac_word=$2
2695
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2696
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2697
if test "${ac_cv_prog_CC+set}" = set; then
2698
echo $ECHO_N "(cached) $ECHO_C" >&6
2700
if test -n "$CC"; then
2701
ac_cv_prog_CC="$CC" # Let the user override the test.
2703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
test -z "$as_dir" && as_dir=.
2708
for ac_exec_ext in '' $ac_executable_extensions; do
2709
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710
ac_cv_prog_CC="${ac_tool_prefix}cc"
2711
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721
if test -n "$CC"; then
2722
{ echo "$as_me:$LINENO: result: $CC" >&5
2723
echo "${ECHO_T}$CC" >&6; }
2725
{ echo "$as_me:$LINENO: result: no" >&5
2726
echo "${ECHO_T}no" >&6; }
2732
if test -z "$CC"; then
2733
# Extract the first word of "cc", so it can be a program name with args.
2734
set dummy cc; ac_word=$2
2735
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2736
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737
if test "${ac_cv_prog_CC+set}" = set; then
2738
echo $ECHO_N "(cached) $ECHO_C" >&6
2740
if test -n "$CC"; then
2741
ac_cv_prog_CC="$CC" # Let the user override the test.
2744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748
test -z "$as_dir" && as_dir=.
2749
for ac_exec_ext in '' $ac_executable_extensions; do
2750
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2752
ac_prog_rejected=yes
2756
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763
if test $ac_prog_rejected = yes; then
2764
# We found a bogon in the path, so make sure we never use it.
2765
set dummy $ac_cv_prog_CC
2767
if test $# != 0; then
2768
# We chose a different compiler from the bogus one.
2769
# However, it has the same basename, so the bogon will be chosen
2770
# first if we set CC to just the basename; use the full file name.
2772
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2778
if test -n "$CC"; then
2779
{ echo "$as_me:$LINENO: result: $CC" >&5
2780
echo "${ECHO_T}$CC" >&6; }
2782
{ echo "$as_me:$LINENO: result: no" >&5
2783
echo "${ECHO_T}no" >&6; }
2788
if test -z "$CC"; then
2789
if test -n "$ac_tool_prefix"; then
2790
for ac_prog in cl.exe
2792
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2793
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2794
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2795
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2796
if test "${ac_cv_prog_CC+set}" = set; then
2797
echo $ECHO_N "(cached) $ECHO_C" >&6
2799
if test -n "$CC"; then
2800
ac_cv_prog_CC="$CC" # Let the user override the test.
2802
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806
test -z "$as_dir" && as_dir=.
2807
for ac_exec_ext in '' $ac_executable_extensions; do
2808
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2809
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2810
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820
if test -n "$CC"; then
2821
{ echo "$as_me:$LINENO: result: $CC" >&5
2822
echo "${ECHO_T}$CC" >&6; }
2824
{ echo "$as_me:$LINENO: result: no" >&5
2825
echo "${ECHO_T}no" >&6; }
2829
test -n "$CC" && break
2832
if test -z "$CC"; then
2834
for ac_prog in cl.exe
2836
# Extract the first word of "$ac_prog", so it can be a program name with args.
2837
set dummy $ac_prog; ac_word=$2
2838
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2839
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2840
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2841
echo $ECHO_N "(cached) $ECHO_C" >&6
2843
if test -n "$ac_ct_CC"; then
2844
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850
test -z "$as_dir" && as_dir=.
2851
for ac_exec_ext in '' $ac_executable_extensions; do
2852
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853
ac_cv_prog_ac_ct_CC="$ac_prog"
2854
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2864
if test -n "$ac_ct_CC"; then
2865
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2866
echo "${ECHO_T}$ac_ct_CC" >&6; }
2868
{ echo "$as_me:$LINENO: result: no" >&5
2869
echo "${ECHO_T}no" >&6; }
2873
test -n "$ac_ct_CC" && break
2876
if test "x$ac_ct_CC" = x; then
2879
case $cross_compiling:$ac_tool_warned in
2881
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2882
whose name does not start with the host triplet. If you think this
2883
configuration is useful to you, please write to autoconf@gnu.org." >&5
2884
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2885
whose name does not start with the host triplet. If you think this
2886
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2887
ac_tool_warned=yes ;;
2896
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2897
See \`config.log' for more details." >&5
2898
echo "$as_me: error: no acceptable C compiler found in \$PATH
2899
See \`config.log' for more details." >&2;}
2900
{ (exit 1); exit 1; }; }
2902
# Provide some information about the compiler.
2903
echo "$as_me:$LINENO: checking for C compiler version" >&5
2904
ac_compiler=`set X $ac_compile; echo $2`
2905
{ (ac_try="$ac_compiler --version >&5"
2907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908
*) ac_try_echo=$ac_try;;
2910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911
(eval "$ac_compiler --version >&5") 2>&5
2913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
(exit $ac_status); }
2915
{ (ac_try="$ac_compiler -v >&5"
2917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918
*) ac_try_echo=$ac_try;;
2920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921
(eval "$ac_compiler -v >&5") 2>&5
2923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924
(exit $ac_status); }
2925
{ (ac_try="$ac_compiler -V >&5"
2927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928
*) ac_try_echo=$ac_try;;
2930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931
(eval "$ac_compiler -V >&5") 2>&5
2933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934
(exit $ac_status); }
2936
cat >conftest.$ac_ext <<_ACEOF
2939
cat confdefs.h >>conftest.$ac_ext
2940
cat >>conftest.$ac_ext <<_ACEOF
2941
/* end confdefs.h. */
2951
ac_clean_files_save=$ac_clean_files
2952
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2953
# Try to create an executable without -o first, disregard a.out.
2954
# It will help us diagnose broken compilers, and finding out an intuition
2956
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2957
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2958
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2960
# List of possible output files, starting from the most likely.
2961
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2962
# only as a last resort. b.out is created by i960 compilers.
2963
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2965
# The IRIX 6 linker writes into existing files which may not be
2966
# executable, retaining their permissions. Remove them first so a
2967
# subsequent execution test works.
2969
for ac_file in $ac_files
2972
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2973
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2978
if { (ac_try="$ac_link_default"
2980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
*) ac_try_echo=$ac_try;;
2983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984
(eval "$ac_link_default") 2>&5
2986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
(exit $ac_status); }; then
2988
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2989
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2990
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2991
# so that the user can short-circuit this test for compilers unknown to
2993
for ac_file in $ac_files ''
2995
test -f "$ac_file" || continue
2997
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3000
# We found the default executable, but exeext='' is most
3004
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3006
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008
# We set ac_cv_exeext here because the later test for it is not
3009
# safe: cross compilers may not add the suffix if given an `-o'
3010
# argument, so we may need to know it at that point already.
3011
# Even if this section looks crufty: it has the advantage of
3018
test "$ac_cv_exeext" = no && ac_cv_exeext=
3024
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3025
echo "${ECHO_T}$ac_file" >&6; }
3026
if test -z "$ac_file"; then
3027
echo "$as_me: failed program was:" >&5
3028
sed 's/^/| /' conftest.$ac_ext >&5
3030
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3031
See \`config.log' for more details." >&5
3032
echo "$as_me: error: C compiler cannot create executables
3033
See \`config.log' for more details." >&2;}
3034
{ (exit 77); exit 77; }; }
3037
ac_exeext=$ac_cv_exeext
3039
# Check that the compiler produces executables we can run. If not, either
3040
# the compiler is broken, or we cross compile.
3041
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3042
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3043
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3044
# If not cross compiling, check that we can run a simple program.
3045
if test "$cross_compiling" != yes; then
3046
if { ac_try='./$ac_file'
3047
{ (case "(($ac_try" in
3048
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049
*) ac_try_echo=$ac_try;;
3051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052
(eval "$ac_try") 2>&5
3054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
(exit $ac_status); }; }; then
3058
if test "$cross_compiling" = maybe; then
3061
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3062
If you meant to cross compile, use \`--host'.
3063
See \`config.log' for more details." >&5
3064
echo "$as_me: error: cannot run C compiled programs.
3065
If you meant to cross compile, use \`--host'.
3066
See \`config.log' for more details." >&2;}
3067
{ (exit 1); exit 1; }; }
3071
{ echo "$as_me:$LINENO: result: yes" >&5
3072
echo "${ECHO_T}yes" >&6; }
3074
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3075
ac_clean_files=$ac_clean_files_save
3076
# Check that the compiler produces executables we can run. If not, either
3077
# the compiler is broken, or we cross compile.
3078
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3079
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3080
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3081
echo "${ECHO_T}$cross_compiling" >&6; }
3083
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3084
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3085
if { (ac_try="$ac_link"
3087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088
*) ac_try_echo=$ac_try;;
3090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091
(eval "$ac_link") 2>&5
3093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094
(exit $ac_status); }; then
3095
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3096
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3097
# work properly (i.e., refer to `conftest.exe'), while it won't with
3099
for ac_file in conftest.exe conftest conftest.*; do
3100
test -f "$ac_file" || continue
3102
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3103
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3109
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3110
See \`config.log' for more details." >&5
3111
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3112
See \`config.log' for more details." >&2;}
3113
{ (exit 1); exit 1; }; }
3116
rm -f conftest$ac_cv_exeext
3117
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3118
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3120
rm -f conftest.$ac_ext
3121
EXEEXT=$ac_cv_exeext
3123
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3124
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3125
if test "${ac_cv_objext+set}" = set; then
3126
echo $ECHO_N "(cached) $ECHO_C" >&6
3128
cat >conftest.$ac_ext <<_ACEOF
3131
cat confdefs.h >>conftest.$ac_ext
3132
cat >>conftest.$ac_ext <<_ACEOF
3133
/* end confdefs.h. */
3143
rm -f conftest.o conftest.obj
3144
if { (ac_try="$ac_compile"
3146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147
*) ac_try_echo=$ac_try;;
3149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150
(eval "$ac_compile") 2>&5
3152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
(exit $ac_status); }; then
3154
for ac_file in conftest.o conftest.obj conftest.*; do
3155
test -f "$ac_file" || continue;
3157
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3158
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3163
echo "$as_me: failed program was:" >&5
3164
sed 's/^/| /' conftest.$ac_ext >&5
3166
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3167
See \`config.log' for more details." >&5
3168
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3169
See \`config.log' for more details." >&2;}
3170
{ (exit 1); exit 1; }; }
3173
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3175
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3176
echo "${ECHO_T}$ac_cv_objext" >&6; }
3177
OBJEXT=$ac_cv_objext
3179
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3180
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3181
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3182
echo $ECHO_N "(cached) $ECHO_C" >&6
3184
cat >conftest.$ac_ext <<_ACEOF
3187
cat confdefs.h >>conftest.$ac_ext
3188
cat >>conftest.$ac_ext <<_ACEOF
3189
/* end confdefs.h. */
3202
rm -f conftest.$ac_objext
3203
if { (ac_try="$ac_compile"
3205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
*) ac_try_echo=$ac_try;;
3208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209
(eval "$ac_compile") 2>conftest.er1
3211
grep -v '^ *+' conftest.er1 >conftest.err
3213
cat conftest.err >&5
3214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
(exit $ac_status); } && {
3216
test -z "$ac_c_werror_flag" ||
3217
test ! -s conftest.err
3218
} && test -s conftest.$ac_objext; then
3221
echo "$as_me: failed program was:" >&5
3222
sed 's/^/| /' conftest.$ac_ext >&5
3227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3232
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3233
GCC=`test $ac_compiler_gnu = yes && echo yes`
3234
ac_test_CFLAGS=${CFLAGS+set}
3235
ac_save_CFLAGS=$CFLAGS
3236
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3237
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3238
if test "${ac_cv_prog_cc_g+set}" = set; then
3239
echo $ECHO_N "(cached) $ECHO_C" >&6
3241
ac_save_c_werror_flag=$ac_c_werror_flag
3242
ac_c_werror_flag=yes
3245
cat >conftest.$ac_ext <<_ACEOF
3248
cat confdefs.h >>conftest.$ac_ext
3249
cat >>conftest.$ac_ext <<_ACEOF
3250
/* end confdefs.h. */
3260
rm -f conftest.$ac_objext
3261
if { (ac_try="$ac_compile"
3263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264
*) ac_try_echo=$ac_try;;
3266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267
(eval "$ac_compile") 2>conftest.er1
3269
grep -v '^ *+' conftest.er1 >conftest.err
3271
cat conftest.err >&5
3272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
(exit $ac_status); } && {
3274
test -z "$ac_c_werror_flag" ||
3275
test ! -s conftest.err
3276
} && test -s conftest.$ac_objext; then
3279
echo "$as_me: failed program was:" >&5
3280
sed 's/^/| /' conftest.$ac_ext >&5
3283
cat >conftest.$ac_ext <<_ACEOF
3286
cat confdefs.h >>conftest.$ac_ext
3287
cat >>conftest.$ac_ext <<_ACEOF
3288
/* end confdefs.h. */
3298
rm -f conftest.$ac_objext
3299
if { (ac_try="$ac_compile"
3301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
*) ac_try_echo=$ac_try;;
3304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305
(eval "$ac_compile") 2>conftest.er1
3307
grep -v '^ *+' conftest.er1 >conftest.err
3309
cat conftest.err >&5
3310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
(exit $ac_status); } && {
3312
test -z "$ac_c_werror_flag" ||
3313
test ! -s conftest.err
3314
} && test -s conftest.$ac_objext; then
3317
echo "$as_me: failed program was:" >&5
3318
sed 's/^/| /' conftest.$ac_ext >&5
3320
ac_c_werror_flag=$ac_save_c_werror_flag
3322
cat >conftest.$ac_ext <<_ACEOF
3325
cat confdefs.h >>conftest.$ac_ext
3326
cat >>conftest.$ac_ext <<_ACEOF
3327
/* end confdefs.h. */
3337
rm -f conftest.$ac_objext
3338
if { (ac_try="$ac_compile"
3340
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341
*) ac_try_echo=$ac_try;;
3343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344
(eval "$ac_compile") 2>conftest.er1
3346
grep -v '^ *+' conftest.er1 >conftest.err
3348
cat conftest.err >&5
3349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
(exit $ac_status); } && {
3351
test -z "$ac_c_werror_flag" ||
3352
test ! -s conftest.err
3353
} && test -s conftest.$ac_objext; then
3356
echo "$as_me: failed program was:" >&5
3357
sed 's/^/| /' conftest.$ac_ext >&5
3362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369
ac_c_werror_flag=$ac_save_c_werror_flag
3371
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3372
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3373
if test "$ac_test_CFLAGS" = set; then
3374
CFLAGS=$ac_save_CFLAGS
3375
elif test $ac_cv_prog_cc_g = yes; then
3376
if test "$GCC" = yes; then
3382
if test "$GCC" = yes; then
3388
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3389
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3390
if test "${ac_cv_prog_cc_c89+set}" = set; then
3391
echo $ECHO_N "(cached) $ECHO_C" >&6
3393
ac_cv_prog_cc_c89=no
3395
cat >conftest.$ac_ext <<_ACEOF
3398
cat confdefs.h >>conftest.$ac_ext
3399
cat >>conftest.$ac_ext <<_ACEOF
3400
/* end confdefs.h. */
3403
#include <sys/types.h>
3404
#include <sys/stat.h>
3405
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3406
struct buf { int x; };
3407
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408
static char *e (p, i)
3414
static char *f (char * (*g) (char **, int), char **p, ...)
3419
s = g (p, va_arg (v,int));
3424
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3425
function prototypes and stuff, but not '\xHH' hex character constants.
3426
These don't provoke an error unfortunately, instead are silently treated
3427
as 'x'. The following induces an error, until -std is added to get
3428
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3429
array size at least. It's necessary to write '\x00'==0 to get something
3430
that's true only with -std. */
3431
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3433
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3434
inside strings and character constants. */
3436
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3438
int test (int i, double x);
3439
struct s1 {int (*f) (int a);};
3440
struct s2 {int (*f) (double a);};
3441
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3447
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3452
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3453
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455
CC="$ac_save_CC $ac_arg"
3456
rm -f conftest.$ac_objext
3457
if { (ac_try="$ac_compile"
3459
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460
*) ac_try_echo=$ac_try;;
3462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463
(eval "$ac_compile") 2>conftest.er1
3465
grep -v '^ *+' conftest.er1 >conftest.err
3467
cat conftest.err >&5
3468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
(exit $ac_status); } && {
3470
test -z "$ac_c_werror_flag" ||
3471
test ! -s conftest.err
3472
} && test -s conftest.$ac_objext; then
3473
ac_cv_prog_cc_c89=$ac_arg
3475
echo "$as_me: failed program was:" >&5
3476
sed 's/^/| /' conftest.$ac_ext >&5
3481
rm -f core conftest.err conftest.$ac_objext
3482
test "x$ac_cv_prog_cc_c89" != "xno" && break
3484
rm -f conftest.$ac_ext
3489
case "x$ac_cv_prog_cc_c89" in
3491
{ echo "$as_me:$LINENO: result: none needed" >&5
3492
echo "${ECHO_T}none needed" >&6; } ;;
3494
{ echo "$as_me:$LINENO: result: unsupported" >&5
3495
echo "${ECHO_T}unsupported" >&6; } ;;
3497
CC="$CC $ac_cv_prog_cc_c89"
3498
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3499
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3504
ac_cpp='$CPP $CPPFLAGS'
3505
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3509
depcc="$CC" am_compiler_list=
3511
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3512
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3513
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3514
echo $ECHO_N "(cached) $ECHO_C" >&6
3516
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3517
# We make a subdir and do the tests there. Otherwise we can end up
3518
# making bogus files that we don't know about and never remove. For
3519
# instance it was reported that on HP-UX the gcc test will end up
3520
# making a dummy file named `D' -- because `-MD' means `put the output
3523
# Copy depcomp to subdir because otherwise we won't find it if we're
3524
# using a relative directory.
3525
cp "$am_depcomp" conftest.dir
3527
# We will build objects and dependencies in a subdirectory because
3528
# it helps to detect inapplicable dependency modes. For instance
3529
# both Tru64's cc and ICC support -MD to output dependencies as a
3530
# side effect of compilation, but ICC will put the dependencies in
3531
# the current directory while Tru64 will put them in the object
3535
am_cv_CC_dependencies_compiler_type=none
3536
if test "$am_compiler_list" = ""; then
3537
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3539
for depmode in $am_compiler_list; do
3540
# Setup a source with many dependencies, because some compilers
3541
# like to wrap large dependency lists on column 80 (with \), and
3542
# we should not choose a depcomp mode which is confused by this.
3544
# We need to recreate these files for each test, as the compiler may
3545
# overwrite some of them when testing with obscure command lines.
3546
# This happens at least with the AIX C compiler.
3548
for i in 1 2 3 4 5 6; do
3549
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3550
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3551
# Solaris 8's {/usr,}/bin/sh.
3552
touch sub/conftst$i.h
3554
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3558
# after this tag, mechanisms are not by side-effect, so they'll
3559
# only be used when explicitly requested
3560
if test "x$enable_dependency_tracking" = xyes; then
3568
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3569
# mode. It turns out that the SunPro C++ compiler does not properly
3570
# handle `-M -o', and we need to detect this.
3571
if depmode=$depmode \
3572
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3573
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3574
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3575
>/dev/null 2>conftest.err &&
3576
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3577
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3578
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3579
# icc doesn't choke on unknown options, it will just issue warnings
3580
# or remarks (even with -Werror). So we grep stderr for any message
3581
# that says an option was ignored or not supported.
3582
# When given -MP, icc 7.0 and 7.1 complain thusly:
3583
# icc: Command line warning: ignoring option '-M'; no argument required
3584
# The diagnosis changed in icc 8.0:
3585
# icc: Command line remark: option '-MP' not supported
3586
if (grep 'ignoring option' conftest.err ||
3587
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3588
am_cv_CC_dependencies_compiler_type=$depmode
3597
am_cv_CC_dependencies_compiler_type=none
3601
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3602
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3603
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3608
test "x$enable_dependency_tracking" != xno \
3609
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3611
am__fastdepCC_FALSE='#'
3613
am__fastdepCC_TRUE='#'
3614
am__fastdepCC_FALSE=
3620
case "$am__api_version" in
3622
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3623
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3624
{ (exit 1); exit 1; }; }
3630
if test -n "0.21"; then
3631
{ echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
3632
echo $ECHO_N "checking for intltool >= 0.21... $ECHO_C" >&6; }
3634
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3635
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3636
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`
3638
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3639
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3640
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3641
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.21 or later." >&5
3642
echo "$as_me: error: Your intltool is too old. You need intltool 0.21 or later." >&2;}
3643
{ (exit 1); exit 1; }; }
3646
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 $< $@'
3647
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 $< $@'
3648
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 $< $@'
3649
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 $< $@'
3650
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3651
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 $< $@'
3652
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 $< $@'
3653
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 $< $@'
3654
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 $< $@'
3655
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 $< $@'
3656
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 $< $@'
3657
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3658
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 $< $@'
3659
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 $< $@'
3660
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 $< $@'
3661
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 $< $@'
3662
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 $< $@'
3663
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 $< $@'
3664
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 $< $@'
3686
# Check the gettext tools to make sure they are GNU
3687
# Extract the first word of "xgettext", so it can be a program name with args.
3688
set dummy xgettext; ac_word=$2
3689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3691
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3692
echo $ECHO_N "(cached) $ECHO_C" >&6
3696
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703
test -z "$as_dir" && as_dir=.
3704
for ac_exec_ext in '' $ac_executable_extensions; do
3705
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3707
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717
XGETTEXT=$ac_cv_path_XGETTEXT
3718
if test -n "$XGETTEXT"; then
3719
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3720
echo "${ECHO_T}$XGETTEXT" >&6; }
3722
{ echo "$as_me:$LINENO: result: no" >&5
3723
echo "${ECHO_T}no" >&6; }
3727
# Extract the first word of "msgmerge", so it can be a program name with args.
3728
set dummy msgmerge; ac_word=$2
3729
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3730
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3731
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3732
echo $ECHO_N "(cached) $ECHO_C" >&6
3736
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743
test -z "$as_dir" && as_dir=.
3744
for ac_exec_ext in '' $ac_executable_extensions; do
3745
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3747
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3757
MSGMERGE=$ac_cv_path_MSGMERGE
3758
if test -n "$MSGMERGE"; then
3759
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3760
echo "${ECHO_T}$MSGMERGE" >&6; }
3762
{ echo "$as_me:$LINENO: result: no" >&5
3763
echo "${ECHO_T}no" >&6; }
3767
# Extract the first word of "msgfmt", so it can be a program name with args.
3768
set dummy msgfmt; ac_word=$2
3769
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3770
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3771
if test "${ac_cv_path_MSGFMT+set}" = set; then
3772
echo $ECHO_N "(cached) $ECHO_C" >&6
3776
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783
test -z "$as_dir" && as_dir=.
3784
for ac_exec_ext in '' $ac_executable_extensions; do
3785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3787
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3797
MSGFMT=$ac_cv_path_MSGFMT
3798
if test -n "$MSGFMT"; then
3799
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
3800
echo "${ECHO_T}$MSGFMT" >&6; }
3802
{ echo "$as_me:$LINENO: result: no" >&5
3803
echo "${ECHO_T}no" >&6; }
3807
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3808
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3809
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3810
{ (exit 1); exit 1; }; }
3812
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3813
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3814
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3815
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3816
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3817
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3818
{ (exit 1); exit 1; }; }
3821
# Use the tools built into the package, not the ones that are installed.
3822
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3824
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3826
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3829
# Extract the first word of "perl", so it can be a program name with args.
3830
set dummy perl; ac_word=$2
3831
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3832
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3833
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3834
echo $ECHO_N "(cached) $ECHO_C" >&6
3836
case $INTLTOOL_PERL in
3838
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845
test -z "$as_dir" && as_dir=.
3846
for ac_exec_ext in '' $ac_executable_extensions; do
3847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3849
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3859
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3860
if test -n "$INTLTOOL_PERL"; then
3861
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3862
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3864
{ echo "$as_me:$LINENO: result: no" >&5
3865
echo "${ECHO_T}no" >&6; }
3869
if test -z "$INTLTOOL_PERL"; then
3870
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3871
echo "$as_me: error: perl not found; required for intltool" >&2;}
3872
{ (exit 1); exit 1; }; }
3874
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3875
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3876
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3877
{ (exit 1); exit 1; }; }
3879
if test "x" != "xno-xml"; then
3880
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
3881
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3882
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3883
{ echo "$as_me:$LINENO: result: ok" >&5
3884
echo "${ECHO_T}ok" >&6; }
3886
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3887
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3888
{ (exit 1); exit 1; }; }
3892
# Substitute ALL_LINGUAS so we can use it in po/Makefile
3895
# Set DATADIRNAME correctly if it is not set yet
3896
# (copied from glib-gettext.m4)
3897
if test -z "$DATADIRNAME"; then
3898
cat >conftest.$ac_ext <<_ACEOF
3901
cat confdefs.h >>conftest.$ac_ext
3902
cat >>conftest.$ac_ext <<_ACEOF
3903
/* end confdefs.h. */
3908
extern int _nl_msg_cat_cntr;
3909
return _nl_msg_cat_cntr
3914
rm -f conftest.$ac_objext conftest$ac_exeext
3915
if { (ac_try="$ac_link"
3917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918
*) ac_try_echo=$ac_try;;
3920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3921
(eval "$ac_link") 2>conftest.er1
3923
grep -v '^ *+' conftest.er1 >conftest.err
3925
cat conftest.err >&5
3926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927
(exit $ac_status); } && {
3928
test -z "$ac_c_werror_flag" ||
3929
test ! -s conftest.err
3930
} && test -s conftest$ac_exeext &&
3931
$as_test_x conftest$ac_exeext; then
3934
echo "$as_me: failed program was:" >&5
3935
sed 's/^/| /' conftest.$ac_ext >&5
3939
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3940
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3941
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3942
echo $ECHO_N "(cached) $ECHO_C" >&6
3944
cat >conftest.$ac_ext <<_ACEOF
3947
cat confdefs.h >>conftest.$ac_ext
3948
cat >>conftest.$ac_ext <<_ACEOF
3949
/* end confdefs.h. */
3950
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3951
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3952
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3954
/* System header to define __stub macros and hopefully few prototypes,
3955
which can conflict with char bind_textdomain_codeset (); below.
3956
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3957
<limits.h> exists even on freestanding compilers. */
3960
# include <limits.h>
3962
# include <assert.h>
3965
#undef bind_textdomain_codeset
3967
/* Override any GCC internal prototype to avoid an error.
3968
Use char because int might match the return type of a GCC
3969
builtin and then its argument prototype would still apply. */
3973
char bind_textdomain_codeset ();
3974
/* The GNU C library defines this for functions which it implements
3975
to always fail with ENOSYS. Some functions are actually named
3976
something starting with __ and the normal name is an alias. */
3977
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3984
return bind_textdomain_codeset ();
3989
rm -f conftest.$ac_objext conftest$ac_exeext
3990
if { (ac_try="$ac_link"
3992
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993
*) ac_try_echo=$ac_try;;
3995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3996
(eval "$ac_link") 2>conftest.er1
3998
grep -v '^ *+' conftest.er1 >conftest.err
4000
cat conftest.err >&5
4001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002
(exit $ac_status); } && {
4003
test -z "$ac_c_werror_flag" ||
4004
test ! -s conftest.err
4005
} && test -s conftest$ac_exeext &&
4006
$as_test_x conftest$ac_exeext; then
4007
ac_cv_func_bind_textdomain_codeset=yes
4009
echo "$as_me: failed program was:" >&5
4010
sed 's/^/| /' conftest.$ac_ext >&5
4012
ac_cv_func_bind_textdomain_codeset=no
4015
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4016
conftest$ac_exeext conftest.$ac_ext
4018
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4019
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
4020
if test $ac_cv_func_bind_textdomain_codeset = yes; then
4033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034
conftest$ac_exeext conftest.$ac_ext
4041
ac_config_commands="$ac_config_commands intltool"
4046
# Check whether --enable-shared was given.
4047
if test "${enable_shared+set}" = set; then
4048
enableval=$enable_shared; p=${PACKAGE-default}
4050
yes) enable_shared=yes ;;
4051
no) enable_shared=no ;;
4054
# Look at the argument we got. We use all the common list separators.
4055
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4056
for pkg in $enableval; do
4058
if test "X$pkg" = "X$p"; then
4070
# Check whether --enable-static was given.
4071
if test "${enable_static+set}" = set; then
4072
enableval=$enable_static; p=${PACKAGE-default}
4074
yes) enable_static=yes ;;
4075
no) enable_static=no ;;
4078
# Look at the argument we got. We use all the common list separators.
4079
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4080
for pkg in $enableval; do
4082
if test "X$pkg" = "X$p"; then
4094
# Check whether --enable-fast-install was given.
4095
if test "${enable_fast_install+set}" = set; then
4096
enableval=$enable_fast_install; p=${PACKAGE-default}
4098
yes) enable_fast_install=yes ;;
4099
no) enable_fast_install=no ;;
4101
enable_fast_install=no
4102
# Look at the argument we got. We use all the common list separators.
4103
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4104
for pkg in $enableval; do
4106
if test "X$pkg" = "X$p"; then
4107
enable_fast_install=yes
4114
enable_fast_install=yes
4118
# Make sure we can run config.sub.
4119
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4120
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4121
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4122
{ (exit 1); exit 1; }; }
4124
{ echo "$as_me:$LINENO: checking build system type" >&5
4125
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4126
if test "${ac_cv_build+set}" = set; then
4127
echo $ECHO_N "(cached) $ECHO_C" >&6
4129
ac_build_alias=$build_alias
4130
test "x$ac_build_alias" = x &&
4131
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4132
test "x$ac_build_alias" = x &&
4133
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4134
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4135
{ (exit 1); exit 1; }; }
4136
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4137
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4138
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4139
{ (exit 1); exit 1; }; }
4142
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4143
echo "${ECHO_T}$ac_cv_build" >&6; }
4144
case $ac_cv_build in
4146
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4147
echo "$as_me: error: invalid value of canonical build" >&2;}
4148
{ (exit 1); exit 1; }; };;
4151
ac_save_IFS=$IFS; IFS='-'
4157
# Remember, the first character of IFS is used to create $*,
4158
# except with old shells:
4161
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4164
{ echo "$as_me:$LINENO: checking host system type" >&5
4165
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4166
if test "${ac_cv_host+set}" = set; then
4167
echo $ECHO_N "(cached) $ECHO_C" >&6
4169
if test "x$host_alias" = x; then
4170
ac_cv_host=$ac_cv_build
4172
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4173
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4174
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4175
{ (exit 1); exit 1; }; }
4179
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4180
echo "${ECHO_T}$ac_cv_host" >&6; }
4183
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4184
echo "$as_me: error: invalid value of canonical host" >&2;}
4185
{ (exit 1); exit 1; }; };;
4188
ac_save_IFS=$IFS; IFS='-'
4194
# Remember, the first character of IFS is used to create $*,
4195
# except with old shells:
4198
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4201
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4203
if test "${lt_cv_path_SED+set}" = set; then
4204
echo $ECHO_N "(cached) $ECHO_C" >&6
4206
# Loop through the user's path and test for sed and gsed.
4207
# Then use that list of sed's as ones to test for truncation.
4208
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212
test -z "$as_dir" && as_dir=.
4213
for lt_ac_prog in sed gsed; do
4214
for ac_exec_ext in '' $ac_executable_extensions; do
4215
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4216
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4224
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4225
# along with /bin/sed that truncates output.
4226
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4227
test ! -f $lt_ac_sed && continue
4228
cat /dev/null > conftest.in
4230
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4231
# Check for GNU sed and select it if it is found.
4232
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4233
lt_cv_path_SED=$lt_ac_sed
4237
cat conftest.in conftest.in >conftest.tmp
4238
mv conftest.tmp conftest.in
4239
cp conftest.in conftest.nl
4241
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4242
cmp -s conftest.out conftest.nl || break
4243
# 10000 chars as input seems more than enough
4244
test $lt_ac_count -gt 10 && break
4245
lt_ac_count=`expr $lt_ac_count + 1`
4246
if test $lt_ac_count -gt $lt_ac_max; then
4247
lt_ac_max=$lt_ac_count
4248
lt_cv_path_SED=$lt_ac_sed
4257
{ echo "$as_me:$LINENO: result: $SED" >&5
4258
echo "${ECHO_T}$SED" >&6; }
4260
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4261
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4262
if test "${ac_cv_path_GREP+set}" = set; then
4263
echo $ECHO_N "(cached) $ECHO_C" >&6
4265
# Extract the first word of "grep ggrep" to use in msg output
4266
if test -z "$GREP"; then
4267
set dummy grep ggrep; ac_prog_name=$2
4268
if test "${ac_cv_path_GREP+set}" = set; then
4269
echo $ECHO_N "(cached) $ECHO_C" >&6
4271
ac_path_GREP_found=false
4272
# Loop through the user's path and test for each of PROGNAME-LIST
4273
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4277
test -z "$as_dir" && as_dir=.
4278
for ac_prog in grep ggrep; do
4279
for ac_exec_ext in '' $ac_executable_extensions; do
4280
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4281
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4282
# Check for GNU ac_path_GREP and select it if it is found.
4283
# Check for GNU $ac_path_GREP
4284
case `"$ac_path_GREP" --version 2>&1` in
4286
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4289
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4292
cat "conftest.in" "conftest.in" >"conftest.tmp"
4293
mv "conftest.tmp" "conftest.in"
4294
cp "conftest.in" "conftest.nl"
4295
echo 'GREP' >> "conftest.nl"
4296
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4297
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4298
ac_count=`expr $ac_count + 1`
4299
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4300
# Best one so far, save it but keep looking for a better one
4301
ac_cv_path_GREP="$ac_path_GREP"
4302
ac_path_GREP_max=$ac_count
4304
# 10*(2^10) chars as input seems more than enough
4305
test $ac_count -gt 10 && break
4307
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4311
$ac_path_GREP_found && break 3
4321
GREP="$ac_cv_path_GREP"
4322
if test -z "$GREP"; then
4323
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4324
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4325
{ (exit 1); exit 1; }; }
4329
ac_cv_path_GREP=$GREP
4334
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4335
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4336
GREP="$ac_cv_path_GREP"
4339
{ echo "$as_me:$LINENO: checking for egrep" >&5
4340
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4341
if test "${ac_cv_path_EGREP+set}" = set; then
4342
echo $ECHO_N "(cached) $ECHO_C" >&6
4344
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4345
then ac_cv_path_EGREP="$GREP -E"
4347
# Extract the first word of "egrep" to use in msg output
4348
if test -z "$EGREP"; then
4349
set dummy egrep; ac_prog_name=$2
4350
if test "${ac_cv_path_EGREP+set}" = set; then
4351
echo $ECHO_N "(cached) $ECHO_C" >&6
4353
ac_path_EGREP_found=false
4354
# Loop through the user's path and test for each of PROGNAME-LIST
4355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4359
test -z "$as_dir" && as_dir=.
4360
for ac_prog in egrep; do
4361
for ac_exec_ext in '' $ac_executable_extensions; do
4362
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4363
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4364
# Check for GNU ac_path_EGREP and select it if it is found.
4365
# Check for GNU $ac_path_EGREP
4366
case `"$ac_path_EGREP" --version 2>&1` in
4368
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4371
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4374
cat "conftest.in" "conftest.in" >"conftest.tmp"
4375
mv "conftest.tmp" "conftest.in"
4376
cp "conftest.in" "conftest.nl"
4377
echo 'EGREP' >> "conftest.nl"
4378
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380
ac_count=`expr $ac_count + 1`
4381
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4382
# Best one so far, save it but keep looking for a better one
4383
ac_cv_path_EGREP="$ac_path_EGREP"
4384
ac_path_EGREP_max=$ac_count
4386
# 10*(2^10) chars as input seems more than enough
4387
test $ac_count -gt 10 && break
4389
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4393
$ac_path_EGREP_found && break 3
4403
EGREP="$ac_cv_path_EGREP"
4404
if test -z "$EGREP"; then
4405
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4406
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4407
{ (exit 1); exit 1; }; }
4411
ac_cv_path_EGREP=$EGREP
4417
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4418
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4419
EGREP="$ac_cv_path_EGREP"
4423
# Check whether --with-gnu-ld was given.
4424
if test "${with_gnu_ld+set}" = set; then
4425
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4431
if test "$GCC" = yes; then
4432
# Check if gcc -print-prog-name=ld gives a path.
4433
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4434
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4437
# gcc leaves a trailing carriage return which upsets mingw
4438
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4440
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4443
# Accept absolute paths.
4445
re_direlt='/[^/][^/]*/\.\./'
4446
# Canonicalize the pathname of ld
4447
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4448
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4449
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4451
test -z "$LD" && LD="$ac_prog"
4454
# If it fails, then pretend we aren't using GCC.
4458
# If it is relative, then search for the first ld in PATH.
4462
elif test "$with_gnu_ld" = yes; then
4463
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
4464
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4466
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4467
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4469
if test "${lt_cv_path_LD+set}" = set; then
4470
echo $ECHO_N "(cached) $ECHO_C" >&6
4472
if test -z "$LD"; then
4473
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4474
for ac_dir in $PATH; do
4476
test -z "$ac_dir" && ac_dir=.
4477
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4478
lt_cv_path_LD="$ac_dir/$ac_prog"
4479
# Check to see if the program is GNU ld. I'd rather use --version,
4480
# but apparently some variants of GNU ld only accept -v.
4481
# Break only if it was the GNU/non-GNU ld that we prefer.
4482
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4483
*GNU* | *'with BFD'*)
4484
test "$with_gnu_ld" != no && break
4487
test "$with_gnu_ld" != yes && break
4494
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4499
if test -n "$LD"; then
4500
{ echo "$as_me:$LINENO: result: $LD" >&5
4501
echo "${ECHO_T}$LD" >&6; }
4503
{ echo "$as_me:$LINENO: result: no" >&5
4504
echo "${ECHO_T}no" >&6; }
4506
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4507
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4508
{ (exit 1); exit 1; }; }
4509
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4510
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4511
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4512
echo $ECHO_N "(cached) $ECHO_C" >&6
4514
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4515
case `$LD -v 2>&1 </dev/null` in
4516
*GNU* | *'with BFD'*)
4517
lt_cv_prog_gnu_ld=yes
4520
lt_cv_prog_gnu_ld=no
4524
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4525
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4526
with_gnu_ld=$lt_cv_prog_gnu_ld
4529
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4530
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4531
if test "${lt_cv_ld_reload_flag+set}" = set; then
4532
echo $ECHO_N "(cached) $ECHO_C" >&6
4534
lt_cv_ld_reload_flag='-r'
4536
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4537
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4538
reload_flag=$lt_cv_ld_reload_flag
4539
case $reload_flag in
4541
*) reload_flag=" $reload_flag" ;;
4543
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4546
if test "$GCC" = yes; then
4547
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4549
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4554
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4555
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4556
if test "${lt_cv_path_NM+set}" = set; then
4557
echo $ECHO_N "(cached) $ECHO_C" >&6
4559
if test -n "$NM"; then
4560
# Let the user override the test.
4563
lt_nm_to_check="${ac_tool_prefix}nm"
4564
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4565
lt_nm_to_check="$lt_nm_to_check nm"
4567
for lt_tmp_nm in $lt_nm_to_check; do
4568
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4569
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4571
test -z "$ac_dir" && ac_dir=.
4572
tmp_nm="$ac_dir/$lt_tmp_nm"
4573
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4574
# Check to see if the nm accepts a BSD-compat flag.
4575
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4576
# nm: unknown option "B" ignored
4577
# Tru64's nm complains that /dev/null is an invalid object file
4578
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4579
*/dev/null* | *'Invalid file or object type'*)
4580
lt_cv_path_NM="$tmp_nm -B"
4584
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4586
lt_cv_path_NM="$tmp_nm -p"
4590
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4591
continue # so that we can try to find one that supports BSD flags
4600
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4603
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4604
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4607
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4608
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4610
if test "$LN_S" = "ln -s"; then
4611
{ echo "$as_me:$LINENO: result: yes" >&5
4612
echo "${ECHO_T}yes" >&6; }
4614
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4615
echo "${ECHO_T}no, using $LN_S" >&6; }
4618
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4619
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4620
if test "${lt_cv_deplibs_check_method+set}" = set; then
4621
echo $ECHO_N "(cached) $ECHO_C" >&6
4623
lt_cv_file_magic_cmd='$MAGIC_CMD'
4624
lt_cv_file_magic_test_file=
4625
lt_cv_deplibs_check_method='unknown'
4626
# Need to set the preceding variable on all platforms that support
4627
# interlibrary dependencies.
4628
# 'none' -- dependencies not supported.
4629
# `unknown' -- same as none, but documents that we really don't know.
4630
# 'pass_all' -- all dependencies passed with no checks.
4631
# 'test_compile' -- check by making test program.
4632
# 'file_magic [[regex]]' -- check by looking for files in library path
4633
# which responds to the $file_magic_cmd with a given extended regex.
4634
# If you have `file' or equivalent on your system and you're not sure
4635
# whether `pass_all' will *always* work, you probably want this one.
4639
lt_cv_deplibs_check_method=pass_all
4643
lt_cv_deplibs_check_method=pass_all
4647
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4648
lt_cv_file_magic_cmd='/usr/bin/file -L'
4649
lt_cv_file_magic_test_file=/shlib/libc.so
4653
# func_win32_libid is a shell function defined in ltmain.sh
4654
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4655
lt_cv_file_magic_cmd='func_win32_libid'
4659
# Base MSYS/MinGW do not provide the 'file' command needed by
4660
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4661
# unless we find 'file', for example because we are cross-compiling.
4662
if ( file / ) >/dev/null 2>&1; then
4663
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4664
lt_cv_file_magic_cmd='func_win32_libid'
4666
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4667
lt_cv_file_magic_cmd='$OBJDUMP -f'
4671
darwin* | rhapsody*)
4672
lt_cv_deplibs_check_method=pass_all
4675
freebsd* | dragonfly*)
4676
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4679
# Not sure whether the presence of OpenBSD here was a mistake.
4680
# Let's accept both of them until this is cleared up.
4681
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4682
lt_cv_file_magic_cmd=/usr/bin/file
4683
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4687
lt_cv_deplibs_check_method=pass_all
4692
lt_cv_deplibs_check_method=pass_all
4695
hpux10.20* | hpux11*)
4696
lt_cv_file_magic_cmd=/usr/bin/file
4699
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4700
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4703
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]'
4704
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4707
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4708
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4714
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4715
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4718
irix5* | irix6* | nonstopux*)
4720
*-32|*"-32 ") libmagic=32-bit;;
4721
*-n32|*"-n32 ") libmagic=N32;;
4722
*-64|*"-64 ") libmagic=64-bit;;
4723
*) libmagic=never-match;;
4725
lt_cv_deplibs_check_method=pass_all
4728
# This must be Linux ELF.
4729
linux* | k*bsd*-gnu)
4730
lt_cv_deplibs_check_method=pass_all
4733
netbsd* | netbsdelf*-gnu)
4734
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4735
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4737
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4742
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4743
lt_cv_file_magic_cmd=/usr/bin/file
4744
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4748
lt_cv_deplibs_check_method=unknown
4752
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4753
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4755
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4759
osf3* | osf4* | osf5*)
4760
lt_cv_deplibs_check_method=pass_all
4764
lt_cv_deplibs_check_method=pass_all
4768
lt_cv_deplibs_check_method=pass_all
4772
case $host_vendor in
4774
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]'
4775
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4778
lt_cv_deplibs_check_method=pass_all
4781
lt_cv_file_magic_cmd='/bin/file'
4782
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4785
lt_cv_file_magic_cmd='/bin/file'
4786
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4787
lt_cv_file_magic_test_file=/lib/libc.so
4790
lt_cv_deplibs_check_method=pass_all
4793
lt_cv_deplibs_check_method=pass_all
4798
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4799
lt_cv_deplibs_check_method=pass_all
4804
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4805
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4806
file_magic_cmd=$lt_cv_file_magic_cmd
4807
deplibs_check_method=$lt_cv_deplibs_check_method
4808
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4813
# If no C compiler was specified, use CC.
4816
# If no C compiler flags were specified, use CFLAGS.
4817
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4819
# Allow CC to be a program name with arguments.
4822
# Check whether --enable-libtool-lock was given.
4823
if test "${enable_libtool_lock+set}" = set; then
4824
enableval=$enable_libtool_lock;
4827
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4829
# Some flags need to be propagated to the compiler or linker for good
4833
# Find out which ABI we are using.
4834
echo 'int i;' > conftest.$ac_ext
4835
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836
(eval $ac_compile) 2>&5
4838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839
(exit $ac_status); }; then
4840
case `/usr/bin/file conftest.$ac_objext` in
4852
# Find out which ABI we are using.
4853
echo '#line 4853 "configure"' > conftest.$ac_ext
4854
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855
(eval $ac_compile) 2>&5
4857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
(exit $ac_status); }; then
4859
if test "$lt_cv_prog_gnu_ld" = yes; then
4860
case `/usr/bin/file conftest.$ac_objext` in
4862
LD="${LD-ld} -melf32bsmip"
4865
LD="${LD-ld} -melf32bmipn32"
4868
LD="${LD-ld} -melf64bmip"
4872
case `/usr/bin/file conftest.$ac_objext` in
4888
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4889
s390*-*linux*|sparc*-*linux*)
4890
# Find out which ABI we are using.
4891
echo 'int i;' > conftest.$ac_ext
4892
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4893
(eval $ac_compile) 2>&5
4895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896
(exit $ac_status); }; then
4897
case `/usr/bin/file conftest.o` in
4900
x86_64-*kfreebsd*-gnu)
4901
LD="${LD-ld} -m elf_i386_fbsd"
4904
LD="${LD-ld} -m elf_i386"
4906
ppc64-*linux*|powerpc64-*linux*)
4907
LD="${LD-ld} -m elf32ppclinux"
4910
LD="${LD-ld} -m elf_s390"
4913
LD="${LD-ld} -m elf32_sparc"
4919
x86_64-*kfreebsd*-gnu)
4920
LD="${LD-ld} -m elf_x86_64_fbsd"
4923
LD="${LD-ld} -m elf_x86_64"
4925
ppc*-*linux*|powerpc*-*linux*)
4926
LD="${LD-ld} -m elf64ppc"
4929
LD="${LD-ld} -m elf64_s390"
4932
LD="${LD-ld} -m elf64_sparc"
4942
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
4943
SAVE_CFLAGS="$CFLAGS"
4944
CFLAGS="$CFLAGS -belf"
4945
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4946
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4947
if test "${lt_cv_cc_needs_belf+set}" = set; then
4948
echo $ECHO_N "(cached) $ECHO_C" >&6
4951
ac_cpp='$CPP $CPPFLAGS'
4952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4956
cat >conftest.$ac_ext <<_ACEOF
4959
cat confdefs.h >>conftest.$ac_ext
4960
cat >>conftest.$ac_ext <<_ACEOF
4961
/* end confdefs.h. */
4971
rm -f conftest.$ac_objext conftest$ac_exeext
4972
if { (ac_try="$ac_link"
4974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975
*) ac_try_echo=$ac_try;;
4977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978
(eval "$ac_link") 2>conftest.er1
4980
grep -v '^ *+' conftest.er1 >conftest.err
4982
cat conftest.err >&5
4983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984
(exit $ac_status); } && {
4985
test -z "$ac_c_werror_flag" ||
4986
test ! -s conftest.err
4987
} && test -s conftest$ac_exeext &&
4988
$as_test_x conftest$ac_exeext; then
4989
lt_cv_cc_needs_belf=yes
4991
echo "$as_me: failed program was:" >&5
4992
sed 's/^/| /' conftest.$ac_ext >&5
4994
lt_cv_cc_needs_belf=no
4997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998
conftest$ac_exeext conftest.$ac_ext
5000
ac_cpp='$CPP $CPPFLAGS'
5001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5006
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5007
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5008
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5009
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5010
CFLAGS="$SAVE_CFLAGS"
5014
# Find out which ABI we are using.
5015
echo 'int i;' > conftest.$ac_ext
5016
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017
(eval $ac_compile) 2>&5
5019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
(exit $ac_status); }; then
5021
case `/usr/bin/file conftest.o` in
5023
case $lt_cv_prog_gnu_ld in
5024
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5026
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5040
need_locks="$enable_libtool_lock"
5044
ac_cpp='$CPP $CPPFLAGS'
5045
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5046
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5047
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5048
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5049
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5050
# On Suns, sometimes $CPP names a directory.
5051
if test -n "$CPP" && test -d "$CPP"; then
5054
if test -z "$CPP"; then
5055
if test "${ac_cv_prog_CPP+set}" = set; then
5056
echo $ECHO_N "(cached) $ECHO_C" >&6
5058
# Double quotes because CPP needs to be expanded
5059
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5062
for ac_c_preproc_warn_flag in '' yes
5064
# Use a header file that comes with gcc, so configuring glibc
5065
# with a fresh cross-compiler works.
5066
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5067
# <limits.h> exists even on freestanding compilers.
5068
# On the NeXT, cc -E runs the code through the compiler's parser,
5069
# not just through cpp. "Syntax error" is here to catch this case.
5070
cat >conftest.$ac_ext <<_ACEOF
5073
cat confdefs.h >>conftest.$ac_ext
5074
cat >>conftest.$ac_ext <<_ACEOF
5075
/* end confdefs.h. */
5077
# include <limits.h>
5079
# include <assert.h>
5083
if { (ac_try="$ac_cpp conftest.$ac_ext"
5085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5086
*) ac_try_echo=$ac_try;;
5088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5089
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5091
grep -v '^ *+' conftest.er1 >conftest.err
5093
cat conftest.err >&5
5094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095
(exit $ac_status); } >/dev/null && {
5096
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5097
test ! -s conftest.err
5101
echo "$as_me: failed program was:" >&5
5102
sed 's/^/| /' conftest.$ac_ext >&5
5104
# Broken: fails on valid input.
5108
rm -f conftest.err conftest.$ac_ext
5110
# OK, works on sane cases. Now check whether nonexistent headers
5111
# can be detected and how.
5112
cat >conftest.$ac_ext <<_ACEOF
5115
cat confdefs.h >>conftest.$ac_ext
5116
cat >>conftest.$ac_ext <<_ACEOF
5117
/* end confdefs.h. */
5118
#include <ac_nonexistent.h>
5120
if { (ac_try="$ac_cpp conftest.$ac_ext"
5122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5123
*) ac_try_echo=$ac_try;;
5125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5128
grep -v '^ *+' conftest.er1 >conftest.err
5130
cat conftest.err >&5
5131
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132
(exit $ac_status); } >/dev/null && {
5133
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5134
test ! -s conftest.err
5136
# Broken: success on invalid input.
5139
echo "$as_me: failed program was:" >&5
5140
sed 's/^/| /' conftest.$ac_ext >&5
5142
# Passes both tests.
5147
rm -f conftest.err conftest.$ac_ext
5150
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151
rm -f conftest.err conftest.$ac_ext
5152
if $ac_preproc_ok; then
5164
{ echo "$as_me:$LINENO: result: $CPP" >&5
5165
echo "${ECHO_T}$CPP" >&6; }
5167
for ac_c_preproc_warn_flag in '' yes
5169
# Use a header file that comes with gcc, so configuring glibc
5170
# with a fresh cross-compiler works.
5171
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172
# <limits.h> exists even on freestanding compilers.
5173
# On the NeXT, cc -E runs the code through the compiler's parser,
5174
# not just through cpp. "Syntax error" is here to catch this case.
5175
cat >conftest.$ac_ext <<_ACEOF
5178
cat confdefs.h >>conftest.$ac_ext
5179
cat >>conftest.$ac_ext <<_ACEOF
5180
/* end confdefs.h. */
5182
# include <limits.h>
5184
# include <assert.h>
5188
if { (ac_try="$ac_cpp conftest.$ac_ext"
5190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191
*) ac_try_echo=$ac_try;;
5193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5196
grep -v '^ *+' conftest.er1 >conftest.err
5198
cat conftest.err >&5
5199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
(exit $ac_status); } >/dev/null && {
5201
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5202
test ! -s conftest.err
5206
echo "$as_me: failed program was:" >&5
5207
sed 's/^/| /' conftest.$ac_ext >&5
5209
# Broken: fails on valid input.
5213
rm -f conftest.err conftest.$ac_ext
5215
# OK, works on sane cases. Now check whether nonexistent headers
5216
# can be detected and how.
5217
cat >conftest.$ac_ext <<_ACEOF
5220
cat confdefs.h >>conftest.$ac_ext
5221
cat >>conftest.$ac_ext <<_ACEOF
5222
/* end confdefs.h. */
5223
#include <ac_nonexistent.h>
5225
if { (ac_try="$ac_cpp conftest.$ac_ext"
5227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228
*) ac_try_echo=$ac_try;;
5230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5233
grep -v '^ *+' conftest.er1 >conftest.err
5235
cat conftest.err >&5
5236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237
(exit $ac_status); } >/dev/null && {
5238
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5239
test ! -s conftest.err
5241
# Broken: success on invalid input.
5244
echo "$as_me: failed program was:" >&5
5245
sed 's/^/| /' conftest.$ac_ext >&5
5247
# Passes both tests.
5252
rm -f conftest.err conftest.$ac_ext
5255
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5256
rm -f conftest.err conftest.$ac_ext
5257
if $ac_preproc_ok; then
5260
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5261
See \`config.log' for more details." >&5
5262
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5263
See \`config.log' for more details." >&2;}
5264
{ (exit 1); exit 1; }; }
5268
ac_cpp='$CPP $CPPFLAGS'
5269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5274
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5275
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5276
if test "${ac_cv_header_stdc+set}" = set; then
5277
echo $ECHO_N "(cached) $ECHO_C" >&6
5279
cat >conftest.$ac_ext <<_ACEOF
5282
cat confdefs.h >>conftest.$ac_ext
5283
cat >>conftest.$ac_ext <<_ACEOF
5284
/* end confdefs.h. */
5298
rm -f conftest.$ac_objext
5299
if { (ac_try="$ac_compile"
5301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302
*) ac_try_echo=$ac_try;;
5304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305
(eval "$ac_compile") 2>conftest.er1
5307
grep -v '^ *+' conftest.er1 >conftest.err
5309
cat conftest.err >&5
5310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311
(exit $ac_status); } && {
5312
test -z "$ac_c_werror_flag" ||
5313
test ! -s conftest.err
5314
} && test -s conftest.$ac_objext; then
5315
ac_cv_header_stdc=yes
5317
echo "$as_me: failed program was:" >&5
5318
sed 's/^/| /' conftest.$ac_ext >&5
5320
ac_cv_header_stdc=no
5323
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325
if test $ac_cv_header_stdc = yes; then
5326
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5327
cat >conftest.$ac_ext <<_ACEOF
5330
cat confdefs.h >>conftest.$ac_ext
5331
cat >>conftest.$ac_ext <<_ACEOF
5332
/* end confdefs.h. */
5336
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5337
$EGREP "memchr" >/dev/null 2>&1; then
5340
ac_cv_header_stdc=no
5346
if test $ac_cv_header_stdc = yes; then
5347
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5348
cat >conftest.$ac_ext <<_ACEOF
5351
cat confdefs.h >>conftest.$ac_ext
5352
cat >>conftest.$ac_ext <<_ACEOF
5353
/* end confdefs.h. */
5357
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358
$EGREP "free" >/dev/null 2>&1; then
5361
ac_cv_header_stdc=no
5367
if test $ac_cv_header_stdc = yes; then
5368
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5369
if test "$cross_compiling" = yes; then
5372
cat >conftest.$ac_ext <<_ACEOF
5375
cat confdefs.h >>conftest.$ac_ext
5376
cat >>conftest.$ac_ext <<_ACEOF
5377
/* end confdefs.h. */
5380
#if ((' ' & 0x0FF) == 0x020)
5381
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5382
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5384
# define ISLOWER(c) \
5385
(('a' <= (c) && (c) <= 'i') \
5386
|| ('j' <= (c) && (c) <= 'r') \
5387
|| ('s' <= (c) && (c) <= 'z'))
5388
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5391
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5396
for (i = 0; i < 256; i++)
5397
if (XOR (islower (i), ISLOWER (i))
5398
|| toupper (i) != TOUPPER (i))
5403
rm -f conftest$ac_exeext
5404
if { (ac_try="$ac_link"
5406
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
*) ac_try_echo=$ac_try;;
5409
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5410
(eval "$ac_link") 2>&5
5412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5414
{ (case "(($ac_try" in
5415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416
*) ac_try_echo=$ac_try;;
5418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419
(eval "$ac_try") 2>&5
5421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
(exit $ac_status); }; }; then
5425
echo "$as_me: program exited with status $ac_status" >&5
5426
echo "$as_me: failed program was:" >&5
5427
sed 's/^/| /' conftest.$ac_ext >&5
5430
ac_cv_header_stdc=no
5432
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5438
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5439
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5440
if test $ac_cv_header_stdc = yes; then
5442
cat >>confdefs.h <<\_ACEOF
5443
#define STDC_HEADERS 1
5448
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5458
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5459
inttypes.h stdint.h unistd.h
5461
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5462
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5463
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5464
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5465
echo $ECHO_N "(cached) $ECHO_C" >&6
5467
cat >conftest.$ac_ext <<_ACEOF
5470
cat confdefs.h >>conftest.$ac_ext
5471
cat >>conftest.$ac_ext <<_ACEOF
5472
/* end confdefs.h. */
5473
$ac_includes_default
5475
#include <$ac_header>
5477
rm -f conftest.$ac_objext
5478
if { (ac_try="$ac_compile"
5480
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481
*) ac_try_echo=$ac_try;;
5483
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484
(eval "$ac_compile") 2>conftest.er1
5486
grep -v '^ *+' conftest.er1 >conftest.err
5488
cat conftest.err >&5
5489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490
(exit $ac_status); } && {
5491
test -z "$ac_c_werror_flag" ||
5492
test ! -s conftest.err
5493
} && test -s conftest.$ac_objext; then
5494
eval "$as_ac_Header=yes"
5496
echo "$as_me: failed program was:" >&5
5497
sed 's/^/| /' conftest.$ac_ext >&5
5499
eval "$as_ac_Header=no"
5502
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5504
ac_res=`eval echo '${'$as_ac_Header'}'`
5505
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5506
echo "${ECHO_T}$ac_res" >&6; }
5507
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5508
cat >>confdefs.h <<_ACEOF
5509
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5518
for ac_header in dlfcn.h
5520
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5521
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5522
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5523
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5524
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5525
echo $ECHO_N "(cached) $ECHO_C" >&6
5527
ac_res=`eval echo '${'$as_ac_Header'}'`
5528
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5529
echo "${ECHO_T}$ac_res" >&6; }
5531
# Is the header compilable?
5532
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5533
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5534
cat >conftest.$ac_ext <<_ACEOF
5537
cat confdefs.h >>conftest.$ac_ext
5538
cat >>conftest.$ac_ext <<_ACEOF
5539
/* end confdefs.h. */
5540
$ac_includes_default
5541
#include <$ac_header>
5543
rm -f conftest.$ac_objext
5544
if { (ac_try="$ac_compile"
5546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547
*) ac_try_echo=$ac_try;;
5549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550
(eval "$ac_compile") 2>conftest.er1
5552
grep -v '^ *+' conftest.er1 >conftest.err
5554
cat conftest.err >&5
5555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556
(exit $ac_status); } && {
5557
test -z "$ac_c_werror_flag" ||
5558
test ! -s conftest.err
5559
} && test -s conftest.$ac_objext; then
5560
ac_header_compiler=yes
5562
echo "$as_me: failed program was:" >&5
5563
sed 's/^/| /' conftest.$ac_ext >&5
5565
ac_header_compiler=no
5568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5570
echo "${ECHO_T}$ac_header_compiler" >&6; }
5572
# Is the header present?
5573
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5574
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5575
cat >conftest.$ac_ext <<_ACEOF
5578
cat confdefs.h >>conftest.$ac_ext
5579
cat >>conftest.$ac_ext <<_ACEOF
5580
/* end confdefs.h. */
5581
#include <$ac_header>
5583
if { (ac_try="$ac_cpp conftest.$ac_ext"
5585
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5586
*) ac_try_echo=$ac_try;;
5588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5591
grep -v '^ *+' conftest.er1 >conftest.err
5593
cat conftest.err >&5
5594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595
(exit $ac_status); } >/dev/null && {
5596
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5597
test ! -s conftest.err
5599
ac_header_preproc=yes
5601
echo "$as_me: failed program was:" >&5
5602
sed 's/^/| /' conftest.$ac_ext >&5
5604
ac_header_preproc=no
5607
rm -f conftest.err conftest.$ac_ext
5608
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5609
echo "${ECHO_T}$ac_header_preproc" >&6; }
5611
# So? What about this header?
5612
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5614
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5615
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5616
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5617
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5618
ac_header_preproc=yes
5621
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5622
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5623
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5624
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5625
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5626
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5627
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5628
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5629
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5630
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5631
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5632
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5634
## -------------------------------------------- ##
5635
## Report this to http://mfcn.ilo.de/gnomeradio ##
5636
## -------------------------------------------- ##
5638
) | sed "s/^/$as_me: WARNING: /" >&2
5641
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5642
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5643
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5644
echo $ECHO_N "(cached) $ECHO_C" >&6
5646
eval "$as_ac_Header=\$ac_header_preproc"
5648
ac_res=`eval echo '${'$as_ac_Header'}'`
5649
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5650
echo "${ECHO_T}$ac_res" >&6; }
5653
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5654
cat >>confdefs.h <<_ACEOF
5655
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5663
ac_cpp='$CXXCPP $CPPFLAGS'
5664
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5667
if test -z "$CXX"; then
5668
if test -n "$CCC"; then
5671
if test -n "$ac_tool_prefix"; then
5672
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5674
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5675
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5676
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5677
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678
if test "${ac_cv_prog_CXX+set}" = set; then
5679
echo $ECHO_N "(cached) $ECHO_C" >&6
5681
if test -n "$CXX"; then
5682
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688
test -z "$as_dir" && as_dir=.
5689
for ac_exec_ext in '' $ac_executable_extensions; do
5690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5692
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702
if test -n "$CXX"; then
5703
{ echo "$as_me:$LINENO: result: $CXX" >&5
5704
echo "${ECHO_T}$CXX" >&6; }
5706
{ echo "$as_me:$LINENO: result: no" >&5
5707
echo "${ECHO_T}no" >&6; }
5711
test -n "$CXX" && break
5714
if test -z "$CXX"; then
5716
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5718
# Extract the first word of "$ac_prog", so it can be a program name with args.
5719
set dummy $ac_prog; ac_word=$2
5720
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5721
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5722
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5723
echo $ECHO_N "(cached) $ECHO_C" >&6
5725
if test -n "$ac_ct_CXX"; then
5726
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732
test -z "$as_dir" && as_dir=.
5733
for ac_exec_ext in '' $ac_executable_extensions; do
5734
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735
ac_cv_prog_ac_ct_CXX="$ac_prog"
5736
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5745
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5746
if test -n "$ac_ct_CXX"; then
5747
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5748
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5750
{ echo "$as_me:$LINENO: result: no" >&5
5751
echo "${ECHO_T}no" >&6; }
5755
test -n "$ac_ct_CXX" && break
5758
if test "x$ac_ct_CXX" = x; then
5761
case $cross_compiling:$ac_tool_warned in
5763
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5764
whose name does not start with the host triplet. If you think this
5765
configuration is useful to you, please write to autoconf@gnu.org." >&5
5766
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5767
whose name does not start with the host triplet. If you think this
5768
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5769
ac_tool_warned=yes ;;
5777
# Provide some information about the compiler.
5778
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5779
ac_compiler=`set X $ac_compile; echo $2`
5780
{ (ac_try="$ac_compiler --version >&5"
5782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783
*) ac_try_echo=$ac_try;;
5785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5786
(eval "$ac_compiler --version >&5") 2>&5
5788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
(exit $ac_status); }
5790
{ (ac_try="$ac_compiler -v >&5"
5792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5793
*) ac_try_echo=$ac_try;;
5795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796
(eval "$ac_compiler -v >&5") 2>&5
5798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799
(exit $ac_status); }
5800
{ (ac_try="$ac_compiler -V >&5"
5802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803
*) ac_try_echo=$ac_try;;
5805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806
(eval "$ac_compiler -V >&5") 2>&5
5808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809
(exit $ac_status); }
5811
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5812
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5813
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5814
echo $ECHO_N "(cached) $ECHO_C" >&6
5816
cat >conftest.$ac_ext <<_ACEOF
5819
cat confdefs.h >>conftest.$ac_ext
5820
cat >>conftest.$ac_ext <<_ACEOF
5821
/* end confdefs.h. */
5834
rm -f conftest.$ac_objext
5835
if { (ac_try="$ac_compile"
5837
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5838
*) ac_try_echo=$ac_try;;
5840
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5841
(eval "$ac_compile") 2>conftest.er1
5843
grep -v '^ *+' conftest.er1 >conftest.err
5845
cat conftest.err >&5
5846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847
(exit $ac_status); } && {
5848
test -z "$ac_cxx_werror_flag" ||
5849
test ! -s conftest.err
5850
} && test -s conftest.$ac_objext; then
5853
echo "$as_me: failed program was:" >&5
5854
sed 's/^/| /' conftest.$ac_ext >&5
5859
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5863
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5864
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5865
GXX=`test $ac_compiler_gnu = yes && echo yes`
5866
ac_test_CXXFLAGS=${CXXFLAGS+set}
5867
ac_save_CXXFLAGS=$CXXFLAGS
5868
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5869
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5870
if test "${ac_cv_prog_cxx_g+set}" = set; then
5871
echo $ECHO_N "(cached) $ECHO_C" >&6
5873
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5874
ac_cxx_werror_flag=yes
5877
cat >conftest.$ac_ext <<_ACEOF
5880
cat confdefs.h >>conftest.$ac_ext
5881
cat >>conftest.$ac_ext <<_ACEOF
5882
/* end confdefs.h. */
5892
rm -f conftest.$ac_objext
5893
if { (ac_try="$ac_compile"
5895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
*) ac_try_echo=$ac_try;;
5898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5899
(eval "$ac_compile") 2>conftest.er1
5901
grep -v '^ *+' conftest.er1 >conftest.err
5903
cat conftest.err >&5
5904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
(exit $ac_status); } && {
5906
test -z "$ac_cxx_werror_flag" ||
5907
test ! -s conftest.err
5908
} && test -s conftest.$ac_objext; then
5909
ac_cv_prog_cxx_g=yes
5911
echo "$as_me: failed program was:" >&5
5912
sed 's/^/| /' conftest.$ac_ext >&5
5915
cat >conftest.$ac_ext <<_ACEOF
5918
cat confdefs.h >>conftest.$ac_ext
5919
cat >>conftest.$ac_ext <<_ACEOF
5920
/* end confdefs.h. */
5930
rm -f conftest.$ac_objext
5931
if { (ac_try="$ac_compile"
5933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5934
*) ac_try_echo=$ac_try;;
5936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937
(eval "$ac_compile") 2>conftest.er1
5939
grep -v '^ *+' conftest.er1 >conftest.err
5941
cat conftest.err >&5
5942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943
(exit $ac_status); } && {
5944
test -z "$ac_cxx_werror_flag" ||
5945
test ! -s conftest.err
5946
} && test -s conftest.$ac_objext; then
5949
echo "$as_me: failed program was:" >&5
5950
sed 's/^/| /' conftest.$ac_ext >&5
5952
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5954
cat >conftest.$ac_ext <<_ACEOF
5957
cat confdefs.h >>conftest.$ac_ext
5958
cat >>conftest.$ac_ext <<_ACEOF
5959
/* end confdefs.h. */
5969
rm -f conftest.$ac_objext
5970
if { (ac_try="$ac_compile"
5972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973
*) ac_try_echo=$ac_try;;
5975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976
(eval "$ac_compile") 2>conftest.er1
5978
grep -v '^ *+' conftest.er1 >conftest.err
5980
cat conftest.err >&5
5981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
(exit $ac_status); } && {
5983
test -z "$ac_cxx_werror_flag" ||
5984
test ! -s conftest.err
5985
} && test -s conftest.$ac_objext; then
5986
ac_cv_prog_cxx_g=yes
5988
echo "$as_me: failed program was:" >&5
5989
sed 's/^/| /' conftest.$ac_ext >&5
5994
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5997
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6003
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6004
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6005
if test "$ac_test_CXXFLAGS" = set; then
6006
CXXFLAGS=$ac_save_CXXFLAGS
6007
elif test $ac_cv_prog_cxx_g = yes; then
6008
if test "$GXX" = yes; then
6014
if test "$GXX" = yes; then
6021
ac_cpp='$CXXCPP $CPPFLAGS'
6022
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6023
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6024
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6026
depcc="$CXX" am_compiler_list=
6028
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6029
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6030
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6031
echo $ECHO_N "(cached) $ECHO_C" >&6
6033
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6034
# We make a subdir and do the tests there. Otherwise we can end up
6035
# making bogus files that we don't know about and never remove. For
6036
# instance it was reported that on HP-UX the gcc test will end up
6037
# making a dummy file named `D' -- because `-MD' means `put the output
6040
# Copy depcomp to subdir because otherwise we won't find it if we're
6041
# using a relative directory.
6042
cp "$am_depcomp" conftest.dir
6044
# We will build objects and dependencies in a subdirectory because
6045
# it helps to detect inapplicable dependency modes. For instance
6046
# both Tru64's cc and ICC support -MD to output dependencies as a
6047
# side effect of compilation, but ICC will put the dependencies in
6048
# the current directory while Tru64 will put them in the object
6052
am_cv_CXX_dependencies_compiler_type=none
6053
if test "$am_compiler_list" = ""; then
6054
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6056
for depmode in $am_compiler_list; do
6057
# Setup a source with many dependencies, because some compilers
6058
# like to wrap large dependency lists on column 80 (with \), and
6059
# we should not choose a depcomp mode which is confused by this.
6061
# We need to recreate these files for each test, as the compiler may
6062
# overwrite some of them when testing with obscure command lines.
6063
# This happens at least with the AIX C compiler.
6065
for i in 1 2 3 4 5 6; do
6066
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6067
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6068
# Solaris 8's {/usr,}/bin/sh.
6069
touch sub/conftst$i.h
6071
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6075
# after this tag, mechanisms are not by side-effect, so they'll
6076
# only be used when explicitly requested
6077
if test "x$enable_dependency_tracking" = xyes; then
6085
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6086
# mode. It turns out that the SunPro C++ compiler does not properly
6087
# handle `-M -o', and we need to detect this.
6088
if depmode=$depmode \
6089
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6090
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6091
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6092
>/dev/null 2>conftest.err &&
6093
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6094
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6095
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6096
# icc doesn't choke on unknown options, it will just issue warnings
6097
# or remarks (even with -Werror). So we grep stderr for any message
6098
# that says an option was ignored or not supported.
6099
# When given -MP, icc 7.0 and 7.1 complain thusly:
6100
# icc: Command line warning: ignoring option '-M'; no argument required
6101
# The diagnosis changed in icc 8.0:
6102
# icc: Command line remark: option '-MP' not supported
6103
if (grep 'ignoring option' conftest.err ||
6104
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6105
am_cv_CXX_dependencies_compiler_type=$depmode
6114
am_cv_CXX_dependencies_compiler_type=none
6118
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6119
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6120
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6125
test "x$enable_dependency_tracking" != xno \
6126
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6127
am__fastdepCXX_TRUE=
6128
am__fastdepCXX_FALSE='#'
6130
am__fastdepCXX_TRUE='#'
6131
am__fastdepCXX_FALSE=
6137
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6138
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6139
(test "X$CXX" != "Xg++"))) ; then
6141
ac_cpp='$CXXCPP $CPPFLAGS'
6142
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6143
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6144
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6145
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6146
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6147
if test -z "$CXXCPP"; then
6148
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6149
echo $ECHO_N "(cached) $ECHO_C" >&6
6151
# Double quotes because CXXCPP needs to be expanded
6152
for CXXCPP in "$CXX -E" "/lib/cpp"
6155
for ac_cxx_preproc_warn_flag in '' yes
6157
# Use a header file that comes with gcc, so configuring glibc
6158
# with a fresh cross-compiler works.
6159
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6160
# <limits.h> exists even on freestanding compilers.
6161
# On the NeXT, cc -E runs the code through the compiler's parser,
6162
# not just through cpp. "Syntax error" is here to catch this case.
6163
cat >conftest.$ac_ext <<_ACEOF
6166
cat confdefs.h >>conftest.$ac_ext
6167
cat >>conftest.$ac_ext <<_ACEOF
6168
/* end confdefs.h. */
6170
# include <limits.h>
6172
# include <assert.h>
6176
if { (ac_try="$ac_cpp conftest.$ac_ext"
6178
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6179
*) ac_try_echo=$ac_try;;
6181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6184
grep -v '^ *+' conftest.er1 >conftest.err
6186
cat conftest.err >&5
6187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188
(exit $ac_status); } >/dev/null && {
6189
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6190
test ! -s conftest.err
6194
echo "$as_me: failed program was:" >&5
6195
sed 's/^/| /' conftest.$ac_ext >&5
6197
# Broken: fails on valid input.
6201
rm -f conftest.err conftest.$ac_ext
6203
# OK, works on sane cases. Now check whether nonexistent headers
6204
# can be detected and how.
6205
cat >conftest.$ac_ext <<_ACEOF
6208
cat confdefs.h >>conftest.$ac_ext
6209
cat >>conftest.$ac_ext <<_ACEOF
6210
/* end confdefs.h. */
6211
#include <ac_nonexistent.h>
6213
if { (ac_try="$ac_cpp conftest.$ac_ext"
6215
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6216
*) ac_try_echo=$ac_try;;
6218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6219
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6221
grep -v '^ *+' conftest.er1 >conftest.err
6223
cat conftest.err >&5
6224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
(exit $ac_status); } >/dev/null && {
6226
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6227
test ! -s conftest.err
6229
# Broken: success on invalid input.
6232
echo "$as_me: failed program was:" >&5
6233
sed 's/^/| /' conftest.$ac_ext >&5
6235
# Passes both tests.
6240
rm -f conftest.err conftest.$ac_ext
6243
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6244
rm -f conftest.err conftest.$ac_ext
6245
if $ac_preproc_ok; then
6250
ac_cv_prog_CXXCPP=$CXXCPP
6253
CXXCPP=$ac_cv_prog_CXXCPP
6255
ac_cv_prog_CXXCPP=$CXXCPP
6257
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6258
echo "${ECHO_T}$CXXCPP" >&6; }
6260
for ac_cxx_preproc_warn_flag in '' yes
6262
# Use a header file that comes with gcc, so configuring glibc
6263
# with a fresh cross-compiler works.
6264
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6265
# <limits.h> exists even on freestanding compilers.
6266
# On the NeXT, cc -E runs the code through the compiler's parser,
6267
# not just through cpp. "Syntax error" is here to catch this case.
6268
cat >conftest.$ac_ext <<_ACEOF
6271
cat confdefs.h >>conftest.$ac_ext
6272
cat >>conftest.$ac_ext <<_ACEOF
6273
/* end confdefs.h. */
6275
# include <limits.h>
6277
# include <assert.h>
6281
if { (ac_try="$ac_cpp conftest.$ac_ext"
6283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284
*) ac_try_echo=$ac_try;;
6286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6289
grep -v '^ *+' conftest.er1 >conftest.err
6291
cat conftest.err >&5
6292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293
(exit $ac_status); } >/dev/null && {
6294
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6295
test ! -s conftest.err
6299
echo "$as_me: failed program was:" >&5
6300
sed 's/^/| /' conftest.$ac_ext >&5
6302
# Broken: fails on valid input.
6306
rm -f conftest.err conftest.$ac_ext
6308
# OK, works on sane cases. Now check whether nonexistent headers
6309
# can be detected and how.
6310
cat >conftest.$ac_ext <<_ACEOF
6313
cat confdefs.h >>conftest.$ac_ext
6314
cat >>conftest.$ac_ext <<_ACEOF
6315
/* end confdefs.h. */
6316
#include <ac_nonexistent.h>
6318
if { (ac_try="$ac_cpp conftest.$ac_ext"
6320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6321
*) ac_try_echo=$ac_try;;
6323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6324
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6326
grep -v '^ *+' conftest.er1 >conftest.err
6328
cat conftest.err >&5
6329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330
(exit $ac_status); } >/dev/null && {
6331
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6332
test ! -s conftest.err
6334
# Broken: success on invalid input.
6337
echo "$as_me: failed program was:" >&5
6338
sed 's/^/| /' conftest.$ac_ext >&5
6340
# Passes both tests.
6345
rm -f conftest.err conftest.$ac_ext
6348
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6349
rm -f conftest.err conftest.$ac_ext
6350
if $ac_preproc_ok; then
6353
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6354
See \`config.log' for more details." >&5
6355
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6356
See \`config.log' for more details." >&2;}
6357
{ (exit 1); exit 1; }; }
6361
ac_cpp='$CXXCPP $CPPFLAGS'
6362
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6363
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6364
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6370
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6371
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6373
if test -n "$ac_tool_prefix"; then
6374
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
6376
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6377
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6378
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6379
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6380
if test "${ac_cv_prog_F77+set}" = set; then
6381
echo $ECHO_N "(cached) $ECHO_C" >&6
6383
if test -n "$F77"; then
6384
ac_cv_prog_F77="$F77" # Let the user override the test.
6386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390
test -z "$as_dir" && as_dir=.
6391
for ac_exec_ext in '' $ac_executable_extensions; do
6392
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6394
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404
if test -n "$F77"; then
6405
{ echo "$as_me:$LINENO: result: $F77" >&5
6406
echo "${ECHO_T}$F77" >&6; }
6408
{ echo "$as_me:$LINENO: result: no" >&5
6409
echo "${ECHO_T}no" >&6; }
6413
test -n "$F77" && break
6416
if test -z "$F77"; then
6418
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
6420
# Extract the first word of "$ac_prog", so it can be a program name with args.
6421
set dummy $ac_prog; ac_word=$2
6422
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6423
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6424
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6425
echo $ECHO_N "(cached) $ECHO_C" >&6
6427
if test -n "$ac_ct_F77"; then
6428
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434
test -z "$as_dir" && as_dir=.
6435
for ac_exec_ext in '' $ac_executable_extensions; do
6436
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437
ac_cv_prog_ac_ct_F77="$ac_prog"
6438
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6447
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6448
if test -n "$ac_ct_F77"; then
6449
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6450
echo "${ECHO_T}$ac_ct_F77" >&6; }
6452
{ echo "$as_me:$LINENO: result: no" >&5
6453
echo "${ECHO_T}no" >&6; }
6457
test -n "$ac_ct_F77" && break
6460
if test "x$ac_ct_F77" = x; then
6463
case $cross_compiling:$ac_tool_warned in
6465
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6466
whose name does not start with the host triplet. If you think this
6467
configuration is useful to you, please write to autoconf@gnu.org." >&5
6468
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6469
whose name does not start with the host triplet. If you think this
6470
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6471
ac_tool_warned=yes ;;
6478
# Provide some information about the compiler.
6479
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6480
ac_compiler=`set X $ac_compile; echo $2`
6481
{ (ac_try="$ac_compiler --version >&5"
6483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6484
*) ac_try_echo=$ac_try;;
6486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487
(eval "$ac_compiler --version >&5") 2>&5
6489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490
(exit $ac_status); }
6491
{ (ac_try="$ac_compiler -v >&5"
6493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6494
*) ac_try_echo=$ac_try;;
6496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6497
(eval "$ac_compiler -v >&5") 2>&5
6499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
(exit $ac_status); }
6501
{ (ac_try="$ac_compiler -V >&5"
6503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504
*) ac_try_echo=$ac_try;;
6506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507
(eval "$ac_compiler -V >&5") 2>&5
6509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510
(exit $ac_status); }
6513
# If we don't use `.F' as extension, the preprocessor is not run on the
6514
# input file. (Note that this only needs to work for GNU compilers.)
6517
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6518
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6519
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6520
echo $ECHO_N "(cached) $ECHO_C" >&6
6522
cat >conftest.$ac_ext <<_ACEOF
6530
rm -f conftest.$ac_objext
6531
if { (ac_try="$ac_compile"
6533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534
*) ac_try_echo=$ac_try;;
6536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537
(eval "$ac_compile") 2>conftest.er1
6539
grep -v '^ *+' conftest.er1 >conftest.err
6541
cat conftest.err >&5
6542
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543
(exit $ac_status); } && {
6544
test -z "$ac_f77_werror_flag" ||
6545
test ! -s conftest.err
6546
} && test -s conftest.$ac_objext; then
6549
echo "$as_me: failed program was:" >&5
6550
sed 's/^/| /' conftest.$ac_ext >&5
6555
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6559
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6560
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6562
ac_test_FFLAGS=${FFLAGS+set}
6563
ac_save_FFLAGS=$FFLAGS
6565
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6566
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6567
if test "${ac_cv_prog_f77_g+set}" = set; then
6568
echo $ECHO_N "(cached) $ECHO_C" >&6
6571
cat >conftest.$ac_ext <<_ACEOF
6576
rm -f conftest.$ac_objext
6577
if { (ac_try="$ac_compile"
6579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6580
*) ac_try_echo=$ac_try;;
6582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6583
(eval "$ac_compile") 2>conftest.er1
6585
grep -v '^ *+' conftest.er1 >conftest.err
6587
cat conftest.err >&5
6588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
(exit $ac_status); } && {
6590
test -z "$ac_f77_werror_flag" ||
6591
test ! -s conftest.err
6592
} && test -s conftest.$ac_objext; then
6593
ac_cv_prog_f77_g=yes
6595
echo "$as_me: failed program was:" >&5
6596
sed 's/^/| /' conftest.$ac_ext >&5
6601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6605
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6606
if test "$ac_test_FFLAGS" = set; then
6607
FFLAGS=$ac_save_FFLAGS
6608
elif test $ac_cv_prog_f77_g = yes; then
6609
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6615
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6622
G77=`test $ac_compiler_gnu = yes && echo yes`
6624
ac_cpp='$CPP $CPPFLAGS'
6625
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6632
# find the maximum length of command line arguments
6633
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6634
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6635
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6636
echo $ECHO_N "(cached) $ECHO_C" >&6
6643
# On DJGPP, this test can blow up pretty badly due to problems in libc
6644
# (any single argument exceeding 2000 bytes causes a buffer overrun
6645
# during glob expansion). Even if it were fixed, the result of this
6646
# check would be larger than it should be.
6647
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6651
# Under GNU Hurd, this test is not required because there is
6652
# no limit to the length of command line arguments.
6653
# Libtool will interpret -1 as no limit whatsoever
6654
lt_cv_sys_max_cmd_len=-1;
6658
# On Win9x/ME, this test blows up -- it succeeds, but takes
6659
# about 5 minutes as the teststring grows exponentially.
6660
# Worse, since 9x/ME are not pre-emptively multitasking,
6661
# you end up with a "frozen" computer, even though with patience
6662
# the test eventually succeeds (with a max line length of 256k).
6663
# Instead, let's just punt: use the minimum linelength reported by
6664
# all of the supported platforms: 8192 (on NT/2K/XP).
6665
lt_cv_sys_max_cmd_len=8192;
6669
# On AmigaOS with pdksh, this test takes hours, literally.
6670
# So we just punt and use a minimum line length of 8192.
6671
lt_cv_sys_max_cmd_len=8192;
6674
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6675
# This has been around since 386BSD, at least. Likely further.
6676
if test -x /sbin/sysctl; then
6677
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6678
elif test -x /usr/sbin/sysctl; then
6679
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6681
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6683
# And add a safety zone
6684
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6685
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6689
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6690
lt_cv_sys_max_cmd_len=196608
6694
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6695
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6696
# nice to cause kernel panics so lets avoid the loop below.
6697
# First set a reasonable default.
6698
lt_cv_sys_max_cmd_len=16384
6700
if test -x /sbin/sysconfig; then
6701
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6702
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6707
lt_cv_sys_max_cmd_len=102400
6709
sysv5* | sco5v6* | sysv4.2uw2*)
6710
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6711
if test -n "$kargmax"; then
6712
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6714
lt_cv_sys_max_cmd_len=32768
6718
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6719
if test -n "$lt_cv_sys_max_cmd_len"; then
6720
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6721
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6723
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6724
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6725
= "XX$teststring") >/dev/null 2>&1 &&
6726
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6727
lt_cv_sys_max_cmd_len=$new_result &&
6728
test $i != 17 # 1/2 MB should be enough
6731
teststring=$teststring$teststring
6734
# Add a significant safety factor because C++ compilers can tack on massive
6735
# amounts of additional arguments before passing them to the linker.
6736
# It appears as though 1/2 is a usable value.
6737
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6744
if test -n $lt_cv_sys_max_cmd_len ; then
6745
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6746
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6748
{ echo "$as_me:$LINENO: result: none" >&5
6749
echo "${ECHO_T}none" >&6; }
6756
# Check for command to grab the raw symbol name followed by C symbol from nm.
6757
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6758
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6759
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6760
echo $ECHO_N "(cached) $ECHO_C" >&6
6763
# These are sane defaults that work on at least a few old systems.
6764
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6766
# Character class describing NM global symbol codes.
6767
symcode='[BCDEGRST]'
6769
# Regexp to match symbols that can be accessed directly from C.
6770
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6772
# Transform an extracted symbol line into a proper C declaration
6773
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6775
# Transform an extracted symbol line into symbol name and symbol address
6776
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'"
6778
# Define system-specific variables.
6783
cygwin* | mingw* | pw32*)
6784
symcode='[ABCDGISTW]'
6786
hpux*) # Its linker distinguishes data from code symbols
6787
if test "$host_cpu" = ia64; then
6788
symcode='[ABCDEGRST]'
6790
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6791
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'"
6793
linux* | k*bsd*-gnu)
6794
if test "$host_cpu" = ia64; then
6795
symcode='[ABCDGIRSTW]'
6796
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6797
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'"
6801
symcode='[BCDEGRST]'
6804
symcode='[BCDEGQRST]'
6815
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6823
# Handle CRLF in mingw tool chain
6827
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6831
# If we're using GNU nm, then use its standard symbol codes.
6832
case `$NM -V 2>&1` in
6833
*GNU* | *'with BFD'*)
6834
symcode='[ABCDGIRSTW]' ;;
6837
# Try without a prefix undercore, then with it.
6838
for ac_symprfx in "" "_"; do
6840
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6841
symxfrm="\\1 $ac_symprfx\\2 \\2"
6843
# Write the raw and C identifiers.
6844
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6846
# Check to see that the pipe works correctly.
6850
cat > conftest.$ac_ext <<EOF
6855
void nm_test_func(){}
6859
int main(){nm_test_var='a';nm_test_func();return(0);}
6862
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6863
(eval $ac_compile) 2>&5
6865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866
(exit $ac_status); }; then
6867
# Now try to grab the symbols.
6869
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6870
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873
(exit $ac_status); } && test -s "$nlist"; then
6874
# Try sorting and uniquifying the output.
6875
if sort "$nlist" | uniq > "$nlist"T; then
6876
mv -f "$nlist"T "$nlist"
6881
# Make sure that we snagged all the symbols we need.
6882
if grep ' nm_test_var$' "$nlist" >/dev/null; then
6883
if grep ' nm_test_func$' "$nlist" >/dev/null; then
6884
cat <<EOF > conftest.$ac_ext
6890
# Now generate the symbol file.
6891
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6893
cat <<EOF >> conftest.$ac_ext
6894
#if defined (__STDC__) && __STDC__
6895
# define lt_ptr_t void *
6897
# define lt_ptr_t char *
6901
/* The mapping between symbol names and symbols. */
6906
lt_preloaded_symbols[] =
6909
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6910
cat <<\EOF >> conftest.$ac_ext
6918
# Now try linking the two files.
6919
mv conftest.$ac_objext conftstm.$ac_objext
6920
lt_save_LIBS="$LIBS"
6921
lt_save_CFLAGS="$CFLAGS"
6922
LIBS="conftstm.$ac_objext"
6923
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6924
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6925
(eval $ac_link) 2>&5
6927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928
(exit $ac_status); } && test -s conftest${ac_exeext}; then
6931
LIBS="$lt_save_LIBS"
6932
CFLAGS="$lt_save_CFLAGS"
6934
echo "cannot find nm_test_func in $nlist" >&5
6937
echo "cannot find nm_test_var in $nlist" >&5
6940
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6943
echo "$progname: failed program was:" >&5
6944
cat conftest.$ac_ext >&5
6946
rm -rf conftest* conftst*
6948
# Do not use the global_symbol_pipe unless it works.
6949
if test "$pipe_works" = yes; then
6952
lt_cv_sys_global_symbol_pipe=
6958
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6959
lt_cv_sys_global_symbol_to_cdecl=
6961
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6962
{ echo "$as_me:$LINENO: result: failed" >&5
6963
echo "${ECHO_T}failed" >&6; }
6965
{ echo "$as_me:$LINENO: result: ok" >&5
6966
echo "${ECHO_T}ok" >&6; }
6969
{ echo "$as_me:$LINENO: checking for objdir" >&5
6970
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6971
if test "${lt_cv_objdir+set}" = set; then
6972
echo $ECHO_N "(cached) $ECHO_C" >&6
6974
rm -f .libs 2>/dev/null
6975
mkdir .libs 2>/dev/null
6976
if test -d .libs; then
6979
# MS-DOS does not allow filenames that begin with a dot.
6982
rmdir .libs 2>/dev/null
6984
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6985
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6986
objdir=$lt_cv_objdir
6994
# AIX sometimes has problems with the GCC collect2 program. For some
6995
# reason, if we set the COLLECT_NAMES environment variable, the problems
6996
# vanish in a puff of smoke.
6997
if test "X${COLLECT_NAMES+set}" != Xset; then
6999
export COLLECT_NAMES
7004
# Sed substitution that helps us do robust quoting. It backslashifies
7005
# metacharacters that are still active within double-quoted strings.
7006
Xsed='sed -e 1s/^X//'
7007
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7009
# Same as above, but do not quote variable references.
7010
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7012
# Sed substitution to delay expansion of an escaped shell variable in a
7013
# double_quote_subst'ed string.
7014
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7016
# Sed substitution to avoid accidental globbing in evaled expressions
7017
no_glob_subst='s/\*/\\\*/g'
7023
default_ofile=libtool
7024
can_build_shared=yes
7026
# All known linkers require a `.a' archive for static linking (except MSVC,
7027
# which needs '.lib').
7029
ltmain="$ac_aux_dir/ltmain.sh"
7030
ofile="$default_ofile"
7031
with_gnu_ld="$lt_cv_prog_gnu_ld"
7033
if test -n "$ac_tool_prefix"; then
7034
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7035
set dummy ${ac_tool_prefix}ar; ac_word=$2
7036
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7037
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7038
if test "${ac_cv_prog_AR+set}" = set; then
7039
echo $ECHO_N "(cached) $ECHO_C" >&6
7041
if test -n "$AR"; then
7042
ac_cv_prog_AR="$AR" # Let the user override the test.
7044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048
test -z "$as_dir" && as_dir=.
7049
for ac_exec_ext in '' $ac_executable_extensions; do
7050
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7051
ac_cv_prog_AR="${ac_tool_prefix}ar"
7052
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7062
if test -n "$AR"; then
7063
{ echo "$as_me:$LINENO: result: $AR" >&5
7064
echo "${ECHO_T}$AR" >&6; }
7066
{ echo "$as_me:$LINENO: result: no" >&5
7067
echo "${ECHO_T}no" >&6; }
7072
if test -z "$ac_cv_prog_AR"; then
7074
# Extract the first word of "ar", so it can be a program name with args.
7075
set dummy ar; ac_word=$2
7076
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7077
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7078
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7079
echo $ECHO_N "(cached) $ECHO_C" >&6
7081
if test -n "$ac_ct_AR"; then
7082
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088
test -z "$as_dir" && as_dir=.
7089
for ac_exec_ext in '' $ac_executable_extensions; do
7090
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091
ac_cv_prog_ac_ct_AR="ar"
7092
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7101
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7102
if test -n "$ac_ct_AR"; then
7103
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7104
echo "${ECHO_T}$ac_ct_AR" >&6; }
7106
{ echo "$as_me:$LINENO: result: no" >&5
7107
echo "${ECHO_T}no" >&6; }
7110
if test "x$ac_ct_AR" = x; then
7113
case $cross_compiling:$ac_tool_warned in
7115
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7116
whose name does not start with the host triplet. If you think this
7117
configuration is useful to you, please write to autoconf@gnu.org." >&5
7118
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7119
whose name does not start with the host triplet. If you think this
7120
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7121
ac_tool_warned=yes ;;
7129
if test -n "$ac_tool_prefix"; then
7130
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7131
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7132
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7133
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7134
if test "${ac_cv_prog_RANLIB+set}" = set; then
7135
echo $ECHO_N "(cached) $ECHO_C" >&6
7137
if test -n "$RANLIB"; then
7138
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144
test -z "$as_dir" && as_dir=.
7145
for ac_exec_ext in '' $ac_executable_extensions; do
7146
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7147
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7148
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7157
RANLIB=$ac_cv_prog_RANLIB
7158
if test -n "$RANLIB"; then
7159
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
7160
echo "${ECHO_T}$RANLIB" >&6; }
7162
{ echo "$as_me:$LINENO: result: no" >&5
7163
echo "${ECHO_T}no" >&6; }
7168
if test -z "$ac_cv_prog_RANLIB"; then
7169
ac_ct_RANLIB=$RANLIB
7170
# Extract the first word of "ranlib", so it can be a program name with args.
7171
set dummy ranlib; ac_word=$2
7172
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7173
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7174
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7175
echo $ECHO_N "(cached) $ECHO_C" >&6
7177
if test -n "$ac_ct_RANLIB"; then
7178
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184
test -z "$as_dir" && as_dir=.
7185
for ac_exec_ext in '' $ac_executable_extensions; do
7186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187
ac_cv_prog_ac_ct_RANLIB="ranlib"
7188
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7197
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7198
if test -n "$ac_ct_RANLIB"; then
7199
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7200
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7202
{ echo "$as_me:$LINENO: result: no" >&5
7203
echo "${ECHO_T}no" >&6; }
7206
if test "x$ac_ct_RANLIB" = x; then
7209
case $cross_compiling:$ac_tool_warned in
7211
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7212
whose name does not start with the host triplet. If you think this
7213
configuration is useful to you, please write to autoconf@gnu.org." >&5
7214
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7215
whose name does not start with the host triplet. If you think this
7216
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7217
ac_tool_warned=yes ;;
7219
RANLIB=$ac_ct_RANLIB
7222
RANLIB="$ac_cv_prog_RANLIB"
7225
if test -n "$ac_tool_prefix"; then
7226
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7227
set dummy ${ac_tool_prefix}strip; ac_word=$2
7228
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7229
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7230
if test "${ac_cv_prog_STRIP+set}" = set; then
7231
echo $ECHO_N "(cached) $ECHO_C" >&6
7233
if test -n "$STRIP"; then
7234
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240
test -z "$as_dir" && as_dir=.
7241
for ac_exec_ext in '' $ac_executable_extensions; do
7242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7244
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7253
STRIP=$ac_cv_prog_STRIP
7254
if test -n "$STRIP"; then
7255
{ echo "$as_me:$LINENO: result: $STRIP" >&5
7256
echo "${ECHO_T}$STRIP" >&6; }
7258
{ echo "$as_me:$LINENO: result: no" >&5
7259
echo "${ECHO_T}no" >&6; }
7264
if test -z "$ac_cv_prog_STRIP"; then
7266
# Extract the first word of "strip", so it can be a program name with args.
7267
set dummy strip; ac_word=$2
7268
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7269
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7270
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7271
echo $ECHO_N "(cached) $ECHO_C" >&6
7273
if test -n "$ac_ct_STRIP"; then
7274
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280
test -z "$as_dir" && as_dir=.
7281
for ac_exec_ext in '' $ac_executable_extensions; do
7282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7283
ac_cv_prog_ac_ct_STRIP="strip"
7284
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7293
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7294
if test -n "$ac_ct_STRIP"; then
7295
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7296
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7298
{ echo "$as_me:$LINENO: result: no" >&5
7299
echo "${ECHO_T}no" >&6; }
7302
if test "x$ac_ct_STRIP" = x; then
7305
case $cross_compiling:$ac_tool_warned in
7307
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7308
whose name does not start with the host triplet. If you think this
7309
configuration is useful to you, please write to autoconf@gnu.org." >&5
7310
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7311
whose name does not start with the host triplet. If you think this
7312
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7313
ac_tool_warned=yes ;;
7318
STRIP="$ac_cv_prog_STRIP"
7323
old_CFLAGS="$CFLAGS"
7325
# Set sane defaults for various variables
7326
test -z "$AR" && AR=ar
7327
test -z "$AR_FLAGS" && AR_FLAGS=cru
7328
test -z "$AS" && AS=as
7329
test -z "$CC" && CC=cc
7330
test -z "$LTCC" && LTCC=$CC
7331
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7332
test -z "$DLLTOOL" && DLLTOOL=dlltool
7333
test -z "$LD" && LD=ld
7334
test -z "$LN_S" && LN_S="ln -s"
7335
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7336
test -z "$NM" && NM=nm
7337
test -z "$SED" && SED=sed
7338
test -z "$OBJDUMP" && OBJDUMP=objdump
7339
test -z "$RANLIB" && RANLIB=:
7340
test -z "$STRIP" && STRIP=:
7341
test -z "$ac_objext" && ac_objext=o
7343
# Determine commands to create old-style static archives.
7344
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7345
old_postinstall_cmds='chmod 644 $oldlib'
7346
old_postuninstall_cmds=
7348
if test -n "$RANLIB"; then
7351
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7354
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7357
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7360
for cc_temp in $compiler""; do
7362
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7363
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7368
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7371
# Only perform the check for file, if the check method requires it
7372
case $deplibs_check_method in
7374
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7375
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7376
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7377
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7378
echo $ECHO_N "(cached) $ECHO_C" >&6
7382
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7385
lt_save_MAGIC_CMD="$MAGIC_CMD"
7386
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7387
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7388
for ac_dir in $ac_dummy; do
7390
test -z "$ac_dir" && ac_dir=.
7391
if test -f $ac_dir/${ac_tool_prefix}file; then
7392
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7393
if test -n "$file_magic_test_file"; then
7394
case $deplibs_check_method in
7396
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7397
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7398
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7399
$EGREP "$file_magic_regex" > /dev/null; then
7404
*** Warning: the command libtool uses to detect shared libraries,
7405
*** $file_magic_cmd, produces output that libtool cannot recognize.
7406
*** The result is that libtool may fail to recognize shared libraries
7407
*** as such. This will affect the creation of libtool libraries that
7408
*** depend on shared libraries, but programs linked with such libtool
7409
*** libraries will work regardless of this problem. Nevertheless, you
7410
*** may want to report the problem to your system manager and/or to
7411
*** bug-libtool@gnu.org
7421
MAGIC_CMD="$lt_save_MAGIC_CMD"
7426
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7427
if test -n "$MAGIC_CMD"; then
7428
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7429
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7431
{ echo "$as_me:$LINENO: result: no" >&5
7432
echo "${ECHO_T}no" >&6; }
7435
if test -z "$lt_cv_path_MAGIC_CMD"; then
7436
if test -n "$ac_tool_prefix"; then
7437
{ echo "$as_me:$LINENO: checking for file" >&5
7438
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7439
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7440
echo $ECHO_N "(cached) $ECHO_C" >&6
7444
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7447
lt_save_MAGIC_CMD="$MAGIC_CMD"
7448
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7449
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7450
for ac_dir in $ac_dummy; do
7452
test -z "$ac_dir" && ac_dir=.
7453
if test -f $ac_dir/file; then
7454
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7455
if test -n "$file_magic_test_file"; then
7456
case $deplibs_check_method in
7458
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7459
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7460
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7461
$EGREP "$file_magic_regex" > /dev/null; then
7466
*** Warning: the command libtool uses to detect shared libraries,
7467
*** $file_magic_cmd, produces output that libtool cannot recognize.
7468
*** The result is that libtool may fail to recognize shared libraries
7469
*** as such. This will affect the creation of libtool libraries that
7470
*** depend on shared libraries, but programs linked with such libtool
7471
*** libraries will work regardless of this problem. Nevertheless, you
7472
*** may want to report the problem to your system manager and/or to
7473
*** bug-libtool@gnu.org
7483
MAGIC_CMD="$lt_save_MAGIC_CMD"
7488
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7489
if test -n "$MAGIC_CMD"; then
7490
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7491
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7493
{ echo "$as_me:$LINENO: result: no" >&5
7494
echo "${ECHO_T}no" >&6; }
7508
rhapsody* | darwin*)
7509
if test -n "$ac_tool_prefix"; then
7510
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7511
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7512
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7513
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7514
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7515
echo $ECHO_N "(cached) $ECHO_C" >&6
7517
if test -n "$DSYMUTIL"; then
7518
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524
test -z "$as_dir" && as_dir=.
7525
for ac_exec_ext in '' $ac_executable_extensions; do
7526
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7528
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7537
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7538
if test -n "$DSYMUTIL"; then
7539
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7540
echo "${ECHO_T}$DSYMUTIL" >&6; }
7542
{ echo "$as_me:$LINENO: result: no" >&5
7543
echo "${ECHO_T}no" >&6; }
7548
if test -z "$ac_cv_prog_DSYMUTIL"; then
7549
ac_ct_DSYMUTIL=$DSYMUTIL
7550
# Extract the first word of "dsymutil", so it can be a program name with args.
7551
set dummy dsymutil; ac_word=$2
7552
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7553
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7554
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7555
echo $ECHO_N "(cached) $ECHO_C" >&6
7557
if test -n "$ac_ct_DSYMUTIL"; then
7558
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564
test -z "$as_dir" && as_dir=.
7565
for ac_exec_ext in '' $ac_executable_extensions; do
7566
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7567
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7568
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7577
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7578
if test -n "$ac_ct_DSYMUTIL"; then
7579
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7580
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7582
{ echo "$as_me:$LINENO: result: no" >&5
7583
echo "${ECHO_T}no" >&6; }
7586
if test "x$ac_ct_DSYMUTIL" = x; then
7589
case $cross_compiling:$ac_tool_warned in
7591
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7592
whose name does not start with the host triplet. If you think this
7593
configuration is useful to you, please write to autoconf@gnu.org." >&5
7594
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7595
whose name does not start with the host triplet. If you think this
7596
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7597
ac_tool_warned=yes ;;
7599
DSYMUTIL=$ac_ct_DSYMUTIL
7602
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7605
if test -n "$ac_tool_prefix"; then
7606
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7607
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7608
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7609
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7610
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7611
echo $ECHO_N "(cached) $ECHO_C" >&6
7613
if test -n "$NMEDIT"; then
7614
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620
test -z "$as_dir" && as_dir=.
7621
for ac_exec_ext in '' $ac_executable_extensions; do
7622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7624
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7633
NMEDIT=$ac_cv_prog_NMEDIT
7634
if test -n "$NMEDIT"; then
7635
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7636
echo "${ECHO_T}$NMEDIT" >&6; }
7638
{ echo "$as_me:$LINENO: result: no" >&5
7639
echo "${ECHO_T}no" >&6; }
7644
if test -z "$ac_cv_prog_NMEDIT"; then
7645
ac_ct_NMEDIT=$NMEDIT
7646
# Extract the first word of "nmedit", so it can be a program name with args.
7647
set dummy nmedit; ac_word=$2
7648
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7649
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7650
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7651
echo $ECHO_N "(cached) $ECHO_C" >&6
7653
if test -n "$ac_ct_NMEDIT"; then
7654
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660
test -z "$as_dir" && as_dir=.
7661
for ac_exec_ext in '' $ac_executable_extensions; do
7662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7664
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7673
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7674
if test -n "$ac_ct_NMEDIT"; then
7675
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7676
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7678
{ echo "$as_me:$LINENO: result: no" >&5
7679
echo "${ECHO_T}no" >&6; }
7682
if test "x$ac_ct_NMEDIT" = x; then
7685
case $cross_compiling:$ac_tool_warned in
7687
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7688
whose name does not start with the host triplet. If you think this
7689
configuration is useful to you, please write to autoconf@gnu.org." >&5
7690
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7691
whose name does not start with the host triplet. If you think this
7692
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7693
ac_tool_warned=yes ;;
7695
NMEDIT=$ac_ct_NMEDIT
7698
NMEDIT="$ac_cv_prog_NMEDIT"
7702
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7703
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7704
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7705
echo $ECHO_N "(cached) $ECHO_C" >&6
7707
lt_cv_apple_cc_single_mod=no
7708
if test -z "${LT_MULTI_MODULE}"; then
7709
# By default we will add the -single_module flag. You can override
7710
# by either setting the environment variable LT_MULTI_MODULE
7711
# non-empty at configure time, or by adding -multi_module to the
7713
echo "int foo(void){return 1;}" > conftest.c
7714
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7715
-dynamiclib ${wl}-single_module conftest.c
7716
if test -f libconftest.dylib; then
7717
lt_cv_apple_cc_single_mod=yes
7718
rm -rf libconftest.dylib*
7723
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7724
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7725
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7726
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7727
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7728
echo $ECHO_N "(cached) $ECHO_C" >&6
7730
lt_cv_ld_exported_symbols_list=no
7731
save_LDFLAGS=$LDFLAGS
7732
echo "_main" > conftest.sym
7733
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7734
cat >conftest.$ac_ext <<_ACEOF
7737
cat confdefs.h >>conftest.$ac_ext
7738
cat >>conftest.$ac_ext <<_ACEOF
7739
/* end confdefs.h. */
7749
rm -f conftest.$ac_objext conftest$ac_exeext
7750
if { (ac_try="$ac_link"
7752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753
*) ac_try_echo=$ac_try;;
7755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7756
(eval "$ac_link") 2>conftest.er1
7758
grep -v '^ *+' conftest.er1 >conftest.err
7760
cat conftest.err >&5
7761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
(exit $ac_status); } && {
7763
test -z "$ac_c_werror_flag" ||
7764
test ! -s conftest.err
7765
} && test -s conftest$ac_exeext &&
7766
$as_test_x conftest$ac_exeext; then
7767
lt_cv_ld_exported_symbols_list=yes
7769
echo "$as_me: failed program was:" >&5
7770
sed 's/^/| /' conftest.$ac_ext >&5
7772
lt_cv_ld_exported_symbols_list=no
7775
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7776
conftest$ac_exeext conftest.$ac_ext
7777
LDFLAGS="$save_LDFLAGS"
7780
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7781
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7783
rhapsody* | darwin1.[0123])
7784
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7786
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7788
# if running on 10.5 or later, the deployment target defaults
7789
# to the OS version, if on x86, and 10.4, the deployment
7790
# target defaults to 10.4. Don't you love it?
7791
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7792
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7793
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7795
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7797
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7801
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7802
_lt_dar_single_mod='$single_module'
7804
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7805
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7807
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7809
if test "$DSYMUTIL" != ":"; then
7810
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7821
# Check whether --enable-libtool-lock was given.
7822
if test "${enable_libtool_lock+set}" = set; then
7823
enableval=$enable_libtool_lock;
7826
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7829
# Check whether --with-pic was given.
7830
if test "${with_pic+set}" = set; then
7831
withval=$with_pic; pic_mode="$withval"
7836
test -z "$pic_mode" && pic_mode=default
7838
# Use C for the default configuration in the libtool script
7842
ac_cpp='$CPP $CPPFLAGS'
7843
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7844
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7845
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7848
# Source file extension for C test sources.
7851
# Object file extension for compiled C test sources.
7855
# Code to be used in simple compile tests
7856
lt_simple_compile_test_code="int some_variable = 0;"
7858
# Code to be used in simple link tests
7859
lt_simple_link_test_code='int main(){return(0);}'
7862
# If no C compiler was specified, use CC.
7865
# If no C compiler flags were specified, use CFLAGS.
7866
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7868
# Allow CC to be a program name with arguments.
7872
# save warnings/boilerplate of simple test code
7873
ac_outfile=conftest.$ac_objext
7874
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7875
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7876
_lt_compiler_boilerplate=`cat conftest.err`
7879
ac_outfile=conftest.$ac_objext
7880
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7881
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7882
_lt_linker_boilerplate=`cat conftest.err`
7887
lt_prog_compiler_no_builtin_flag=
7889
if test "$GCC" = yes; then
7890
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7893
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7894
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7895
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7896
echo $ECHO_N "(cached) $ECHO_C" >&6
7898
lt_cv_prog_compiler_rtti_exceptions=no
7899
ac_outfile=conftest.$ac_objext
7900
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7901
lt_compiler_flag="-fno-rtti -fno-exceptions"
7902
# Insert the option either (1) after the last *FLAGS variable, or
7903
# (2) before a word containing "conftest.", or (3) at the end.
7904
# Note that $ac_compile itself does not contain backslashes and begins
7905
# with a dollar sign (not a hyphen), so the echo should work correctly.
7906
# The option is referenced via a variable to avoid confusing sed.
7907
lt_compile=`echo "$ac_compile" | $SED \
7908
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7909
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7910
-e 's:$: $lt_compiler_flag:'`
7911
(eval echo "\"\$as_me:7911: $lt_compile\"" >&5)
7912
(eval "$lt_compile" 2>conftest.err)
7914
cat conftest.err >&5
7915
echo "$as_me:7915: \$? = $ac_status" >&5
7916
if (exit $ac_status) && test -s "$ac_outfile"; then
7917
# The compiler can only warn and ignore the option if not recognized
7918
# So say no if there are warnings other than the usual output.
7919
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7920
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7921
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7922
lt_cv_prog_compiler_rtti_exceptions=yes
7928
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7929
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7931
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7932
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7939
lt_prog_compiler_wl=
7940
lt_prog_compiler_pic=
7941
lt_prog_compiler_static=
7943
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7944
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7946
if test "$GCC" = yes; then
7947
lt_prog_compiler_wl='-Wl,'
7948
lt_prog_compiler_static='-static'
7952
# All AIX code is PIC.
7953
if test "$host_cpu" = ia64; then
7954
# AIX 5 now supports IA64 processor
7955
lt_prog_compiler_static='-Bstatic'
7960
# FIXME: we need at least 68020 code to build shared libraries, but
7961
# adding the `-m68020' flag to GCC prevents building anything better,
7963
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7966
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7967
# PIC is the default for these OSes.
7970
mingw* | cygwin* | pw32* | os2*)
7971
# This hack is so that the source file can tell whether it is being
7972
# built for inclusion in a dll (and should export symbols for example).
7973
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7974
# (--disable-auto-import) libraries
7975
lt_prog_compiler_pic='-DDLL_EXPORT'
7978
darwin* | rhapsody*)
7979
# PIC is the default on this platform
7980
# Common symbols not allowed in MH_DYLIB files
7981
lt_prog_compiler_pic='-fno-common'
7985
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7986
# Instead, we relocate shared libraries at runtime.
7990
# Just because we use GCC doesn't mean we suddenly get shared libraries
7991
# on systems that don't support them.
7992
lt_prog_compiler_can_build_shared=no
7997
if test -d /usr/nec; then
7998
lt_prog_compiler_pic=-Kconform_pic
8003
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8010
lt_prog_compiler_pic='-fPIC'
8016
lt_prog_compiler_pic='-fPIC'
8020
# PORTME Check for flag to pass linker flags through the system compiler.
8023
lt_prog_compiler_wl='-Wl,'
8024
if test "$host_cpu" = ia64; then
8025
# AIX 5 now supports IA64 processor
8026
lt_prog_compiler_static='-Bstatic'
8028
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8032
# PIC is the default on this platform
8033
# Common symbols not allowed in MH_DYLIB files
8034
case $cc_basename in
8036
lt_prog_compiler_pic='-qnocommon'
8037
lt_prog_compiler_wl='-Wl,'
8042
mingw* | cygwin* | pw32* | os2*)
8043
# This hack is so that the source file can tell whether it is being
8044
# built for inclusion in a dll (and should export symbols for example).
8045
lt_prog_compiler_pic='-DDLL_EXPORT'
8048
hpux9* | hpux10* | hpux11*)
8049
lt_prog_compiler_wl='-Wl,'
8050
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8057
lt_prog_compiler_pic='+Z'
8060
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8061
lt_prog_compiler_static='${wl}-a ${wl}archive'
8064
irix5* | irix6* | nonstopux*)
8065
lt_prog_compiler_wl='-Wl,'
8066
# PIC (with -KPIC) is the default.
8067
lt_prog_compiler_static='-non_shared'
8071
lt_prog_compiler_pic='-KPIC'
8072
lt_prog_compiler_static='-Bstatic'
8075
linux* | k*bsd*-gnu)
8076
case $cc_basename in
8078
lt_prog_compiler_wl='-Wl,'
8079
lt_prog_compiler_pic='-KPIC'
8080
lt_prog_compiler_static='-static'
8082
pgcc* | pgf77* | pgf90* | pgf95*)
8083
# Portland Group compilers (*not* the Pentium gcc compiler,
8084
# which looks to be a dead project)
8085
lt_prog_compiler_wl='-Wl,'
8086
lt_prog_compiler_pic='-fpic'
8087
lt_prog_compiler_static='-Bstatic'
8090
lt_prog_compiler_wl='-Wl,'
8091
# All Alpha code is PIC.
8092
lt_prog_compiler_static='-non_shared'
8095
case `$CC -V 2>&1 | sed 5q` in
8098
lt_prog_compiler_pic='-KPIC'
8099
lt_prog_compiler_static='-Bstatic'
8100
lt_prog_compiler_wl='-Wl,'
8103
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8104
lt_prog_compiler_pic='-KPIC'
8105
lt_prog_compiler_static='-Bstatic'
8106
lt_prog_compiler_wl=''
8113
osf3* | osf4* | osf5*)
8114
lt_prog_compiler_wl='-Wl,'
8115
# All OSF/1 code is PIC.
8116
lt_prog_compiler_static='-non_shared'
8120
lt_prog_compiler_static='-non_shared'
8124
lt_prog_compiler_pic='-KPIC'
8125
lt_prog_compiler_static='-Bstatic'
8126
case $cc_basename in
8128
lt_prog_compiler_wl='-Qoption ld ';;
8130
lt_prog_compiler_wl='-Wl,';;
8135
lt_prog_compiler_wl='-Qoption ld '
8136
lt_prog_compiler_pic='-PIC'
8137
lt_prog_compiler_static='-Bstatic'
8140
sysv4 | sysv4.2uw2* | sysv4.3*)
8141
lt_prog_compiler_wl='-Wl,'
8142
lt_prog_compiler_pic='-KPIC'
8143
lt_prog_compiler_static='-Bstatic'
8147
if test -d /usr/nec ;then
8148
lt_prog_compiler_pic='-Kconform_pic'
8149
lt_prog_compiler_static='-Bstatic'
8153
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8154
lt_prog_compiler_wl='-Wl,'
8155
lt_prog_compiler_pic='-KPIC'
8156
lt_prog_compiler_static='-Bstatic'
8160
lt_prog_compiler_wl='-Wl,'
8161
lt_prog_compiler_can_build_shared=no
8165
lt_prog_compiler_pic='-pic'
8166
lt_prog_compiler_static='-Bstatic'
8170
lt_prog_compiler_can_build_shared=no
8175
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8176
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8179
# Check to make sure the PIC flag actually works.
8181
if test -n "$lt_prog_compiler_pic"; then
8183
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8184
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8185
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8186
echo $ECHO_N "(cached) $ECHO_C" >&6
8188
lt_cv_prog_compiler_pic_works=no
8189
ac_outfile=conftest.$ac_objext
8190
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8192
# Insert the option either (1) after the last *FLAGS variable, or
8193
# (2) before a word containing "conftest.", or (3) at the end.
8194
# Note that $ac_compile itself does not contain backslashes and begins
8195
# with a dollar sign (not a hyphen), so the echo should work correctly.
8196
# The option is referenced via a variable to avoid confusing sed.
8197
lt_compile=`echo "$ac_compile" | $SED \
8198
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200
-e 's:$: $lt_compiler_flag:'`
8201
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8202
(eval "$lt_compile" 2>conftest.err)
8204
cat conftest.err >&5
8205
echo "$as_me:8205: \$? = $ac_status" >&5
8206
if (exit $ac_status) && test -s "$ac_outfile"; then
8207
# The compiler can only warn and ignore the option if not recognized
8208
# So say no if there are warnings other than the usual output.
8209
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8210
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212
lt_cv_prog_compiler_pic_works=yes
8218
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8219
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8221
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8222
case $lt_prog_compiler_pic in
8224
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8227
lt_prog_compiler_pic=
8228
lt_prog_compiler_can_build_shared=no
8233
# For platforms which do not support PIC, -DPIC is meaningless:
8235
lt_prog_compiler_pic=
8238
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8243
# Check to make sure the static flag actually works.
8245
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8246
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8247
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8248
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8249
echo $ECHO_N "(cached) $ECHO_C" >&6
8251
lt_cv_prog_compiler_static_works=no
8252
save_LDFLAGS="$LDFLAGS"
8253
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8254
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8255
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8256
# The linker can only warn and ignore the option if not recognized
8257
# So say no if there are warnings
8258
if test -s conftest.err; then
8259
# Append any errors to the config.log.
8260
cat conftest.err 1>&5
8261
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8262
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8263
if diff conftest.exp conftest.er2 >/dev/null; then
8264
lt_cv_prog_compiler_static_works=yes
8267
lt_cv_prog_compiler_static_works=yes
8271
LDFLAGS="$save_LDFLAGS"
8274
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8275
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8277
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8280
lt_prog_compiler_static=
8284
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8285
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8286
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8287
echo $ECHO_N "(cached) $ECHO_C" >&6
8289
lt_cv_prog_compiler_c_o=no
8290
$rm -r conftest 2>/dev/null
8294
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8296
lt_compiler_flag="-o out/conftest2.$ac_objext"
8297
# Insert the option either (1) after the last *FLAGS variable, or
8298
# (2) before a word containing "conftest.", or (3) at the end.
8299
# Note that $ac_compile itself does not contain backslashes and begins
8300
# with a dollar sign (not a hyphen), so the echo should work correctly.
8301
lt_compile=`echo "$ac_compile" | $SED \
8302
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8303
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8304
-e 's:$: $lt_compiler_flag:'`
8305
(eval echo "\"\$as_me:8305: $lt_compile\"" >&5)
8306
(eval "$lt_compile" 2>out/conftest.err)
8308
cat out/conftest.err >&5
8309
echo "$as_me:8309: \$? = $ac_status" >&5
8310
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8312
# The compiler can only warn and ignore the option if not recognized
8313
# So say no if there are warnings
8314
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8315
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8316
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8317
lt_cv_prog_compiler_c_o=yes
8322
# SGI C++ compiler will create directory out/ii_files/ for
8323
# template instantiation
8324
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8325
$rm out/* && rmdir out
8331
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8332
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8335
hard_links="nottested"
8336
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8337
# do not overwrite the value of need_locks provided by the user
8338
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8339
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8342
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8344
ln conftest.a conftest.b 2>&5 || hard_links=no
8345
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8346
{ echo "$as_me:$LINENO: result: $hard_links" >&5
8347
echo "${ECHO_T}$hard_links" >&6; }
8348
if test "$hard_links" = no; then
8349
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8350
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8357
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8358
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8361
allow_undefined_flag=
8362
enable_shared_with_static_runtimes=no
8364
archive_expsym_cmds=
8365
old_archive_From_new_cmds=
8366
old_archive_from_expsyms_cmds=
8367
export_dynamic_flag_spec=
8368
whole_archive_flag_spec=
8369
thread_safe_flag_spec=
8370
hardcode_libdir_flag_spec=
8371
hardcode_libdir_flag_spec_ld=
8372
hardcode_libdir_separator=
8375
hardcode_shlibpath_var=unsupported
8376
link_all_deplibs=unknown
8377
hardcode_automatic=no
8380
always_export_symbols=no
8381
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8382
# include_expsyms should be a list of space-separated symbols to be *always*
8383
# included in the symbol list
8385
# exclude_expsyms can be an extended regexp of symbols to exclude
8386
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8387
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8388
# as well as any symbol that contains `d'.
8389
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8390
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8391
# platforms (ab)use it in PIC code, but their linkers get confused if
8392
# the symbol is explicitly referenced. Since portable code cannot
8393
# rely on this symbol name, it's probably fine to never include it in
8394
# preloaded symbol tables.
8395
# Exclude shared library initialization/finalization symbols.
8396
extract_expsyms_cmds=
8397
# Just being paranoid about ensuring that cc_basename is set.
8398
for cc_temp in $compiler""; do
8400
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8401
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8406
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8409
cygwin* | mingw* | pw32*)
8410
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8411
# When not using gcc, we currently assume that we are using
8412
# Microsoft Visual C++.
8413
if test "$GCC" != yes; then
8418
# we just hope/assume this is gcc and not c89 (= MSVC++)
8427
if test "$with_gnu_ld" = yes; then
8428
# If archive_cmds runs LD, not CC, wlarc should be empty
8431
# Set some defaults for GNU ld with shared library support. These
8432
# are reset later if shared libraries are not supported. Putting them
8433
# here allows them to be overridden if necessary.
8434
runpath_var=LD_RUN_PATH
8435
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8436
export_dynamic_flag_spec='${wl}--export-dynamic'
8437
# ancient GNU ld didn't support --whole-archive et. al.
8438
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8439
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8441
whole_archive_flag_spec=
8443
supports_anon_versioning=no
8444
case `$LD -v 2>/dev/null` in
8445
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8446
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8447
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8448
*\ 2.11.*) ;; # other 2.11 versions
8449
*) supports_anon_versioning=yes ;;
8452
# See if GNU ld supports shared libraries.
8455
# On AIX/PPC, the GNU linker is very broken
8456
if test "$host_cpu" != ia64; then
8460
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8461
*** to be unable to reliably create shared libraries on AIX.
8462
*** Therefore, libtool is disabling shared libraries support. If you
8463
*** really care for shared libraries, you may want to modify your PATH
8464
*** so that a non-GNU linker is found, and then restart.
8471
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)'
8472
hardcode_libdir_flag_spec='-L$libdir'
8473
hardcode_minus_L=yes
8475
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8476
# that the semantics of dynamic libraries on AmigaOS, at least up
8477
# to version 4, is to share data among multiple programs linked
8478
# with the same dynamic library. Since this doesn't match the
8479
# behavior of shared libraries on other platforms, we can't use
8485
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8486
allow_undefined_flag=unsupported
8487
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8488
# support --undefined. This deserves some investigation. FIXME
8489
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8495
cygwin* | mingw* | pw32*)
8496
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8497
# as there is no search path for DLLs.
8498
hardcode_libdir_flag_spec='-L$libdir'
8499
allow_undefined_flag=unsupported
8500
always_export_symbols=no
8501
enable_shared_with_static_runtimes=yes
8502
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8504
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8505
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8506
# If the export-symbols file already is a .def file (1st line
8507
# is EXPORTS), use it as is; otherwise, prepend...
8508
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8509
cp $export_symbols $output_objdir/$soname.def;
8511
echo EXPORTS > $output_objdir/$soname.def;
8512
cat $export_symbols >> $output_objdir/$soname.def;
8514
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8522
hardcode_shlibpath_var=no
8523
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8524
export_dynamic_flag_spec='${wl}-E'
8525
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8526
# Instead, shared libraries are loaded at an image base (0x10000000 by
8527
# default) and relocated if they conflict, which is a slow very memory
8528
# consuming and fragmenting process. To avoid this, we pick a random,
8529
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8530
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8531
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8532
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'
8535
gnu* | linux* | k*bsd*-gnu)
8536
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8538
case $cc_basename,$host_cpu in
8539
pgcc*) # Portland Group C compiler
8540
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'
8541
tmp_addflag=' $pic_flag'
8543
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8544
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'
8545
tmp_addflag=' $pic_flag -Mnomain' ;;
8546
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8547
tmp_addflag=' -i_dynamic' ;;
8548
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8549
tmp_addflag=' -i_dynamic -nofor_main' ;;
8550
ifc* | ifort*) # Intel Fortran compiler
8551
tmp_addflag=' -nofor_main' ;;
8553
case `$CC -V 2>&1 | sed 5q` in
8554
*Sun\ C*) # Sun C 5.9
8555
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'
8556
tmp_sharedflag='-G' ;;
8557
*Sun\ F*) # Sun Fortran 8.3
8558
tmp_sharedflag='-G' ;;
8560
tmp_sharedflag='-shared' ;;
8562
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564
if test $supports_anon_versioning = yes; then
8565
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8566
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8567
$echo "local: *; };" >> $output_objdir/$libname.ver~
8568
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8576
netbsd* | netbsdelf*-gnu)
8577
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8578
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8581
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8587
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8591
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8592
*** create shared libraries on Solaris systems. Therefore, libtool
8593
*** is disabling shared libraries support. We urge you to upgrade GNU
8594
*** binutils to release 2.9.1 or newer. Another option is to modify
8595
*** your PATH or compiler configuration so that the native linker is
8596
*** used, and then restart.
8599
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8600
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8601
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8607
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8608
case `$LD -v 2>&1` in
8609
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8613
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8614
*** reliably create shared libraries on SCO systems. Therefore, libtool
8615
*** is disabling shared libraries support. We urge you to upgrade GNU
8616
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8617
*** your PATH or compiler configuration so that the native linker is
8618
*** used, and then restart.
8623
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8624
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8625
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8626
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8635
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8638
hardcode_shlibpath_var=no
8642
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8643
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8651
if test "$ld_shlibs" = no; then
8653
hardcode_libdir_flag_spec=
8654
export_dynamic_flag_spec=
8655
whole_archive_flag_spec=
8658
# PORTME fill in a description of your system's linker (not GNU ld)
8661
allow_undefined_flag=unsupported
8662
always_export_symbols=yes
8663
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'
8664
# Note: this linker hardcodes the directories in LIBPATH if there
8665
# are no directories specified by -L.
8666
hardcode_minus_L=yes
8667
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8668
# Neither direct hardcoding nor static linking is supported with a
8670
hardcode_direct=unsupported
8675
if test "$host_cpu" = ia64; then
8676
# On IA64, the linker does run time linking by default, so we don't
8677
# have to do anything special.
8678
aix_use_runtimelinking=no
8679
exp_sym_flag='-Bexport'
8682
# If we're using GNU nm, then we don't want the "-C" option.
8683
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8684
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8685
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'
8687
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'
8689
aix_use_runtimelinking=no
8691
# Test if we are trying to use run time linking or normal
8692
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8693
# need to do runtime linking.
8694
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8695
for ld_flag in $LDFLAGS; do
8696
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8697
aix_use_runtimelinking=yes
8704
exp_sym_flag='-bexport'
8705
no_entry_flag='-bnoentry'
8708
# When large executables or shared objects are built, AIX ld can
8709
# have problems creating the table of contents. If linking a library
8710
# or program results in "error TOC overflow" add -mminimal-toc to
8711
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8712
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8716
hardcode_libdir_separator=':'
8717
link_all_deplibs=yes
8719
if test "$GCC" = yes; then
8720
case $host_os in aix4.[012]|aix4.[012].*)
8721
# We only want to do this on AIX 4.2 and lower, the check
8722
# below for broken collect2 doesn't work under 4.3+
8723
collect2name=`${CC} -print-prog-name=collect2`
8724
if test -f "$collect2name" && \
8725
strings "$collect2name" | grep resolve_lib_name >/dev/null
8727
# We have reworked collect2
8730
# We have old collect2
8731
hardcode_direct=unsupported
8732
# It fails to find uninstalled libraries when the uninstalled
8733
# path is not listed in the libpath. Setting hardcode_minus_L
8734
# to unsupported forces relinking
8735
hardcode_minus_L=yes
8736
hardcode_libdir_flag_spec='-L$libdir'
8737
hardcode_libdir_separator=
8741
shared_flag='-shared'
8742
if test "$aix_use_runtimelinking" = yes; then
8743
shared_flag="$shared_flag "'${wl}-G'
8747
if test "$host_cpu" = ia64; then
8748
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8749
# chokes on -Wl,-G. The following line is correct:
8752
if test "$aix_use_runtimelinking" = yes; then
8753
shared_flag='${wl}-G'
8755
shared_flag='${wl}-bM:SRE'
8760
# It seems that -bexpall does not export symbols beginning with
8761
# underscore (_), so it is better to generate a list of symbols to export.
8762
always_export_symbols=yes
8763
if test "$aix_use_runtimelinking" = yes; then
8764
# Warning - without using the other runtime loading flags (-brtl),
8765
# -berok will link without error, but may produce a broken library.
8766
allow_undefined_flag='-berok'
8767
# Determine the default libpath from the value encoded in an empty executable.
8768
cat >conftest.$ac_ext <<_ACEOF
8771
cat confdefs.h >>conftest.$ac_ext
8772
cat >>conftest.$ac_ext <<_ACEOF
8773
/* end confdefs.h. */
8783
rm -f conftest.$ac_objext conftest$ac_exeext
8784
if { (ac_try="$ac_link"
8786
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8787
*) ac_try_echo=$ac_try;;
8789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8790
(eval "$ac_link") 2>conftest.er1
8792
grep -v '^ *+' conftest.er1 >conftest.err
8794
cat conftest.err >&5
8795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796
(exit $ac_status); } && {
8797
test -z "$ac_c_werror_flag" ||
8798
test ! -s conftest.err
8799
} && test -s conftest$ac_exeext &&
8800
$as_test_x conftest$ac_exeext; then
8802
lt_aix_libpath_sed='
8803
/Import File Strings/,/^$/ {
8809
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8810
# Check for a 64-bit object if we didn't find anything.
8811
if test -z "$aix_libpath"; then
8812
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8815
echo "$as_me: failed program was:" >&5
8816
sed 's/^/| /' conftest.$ac_ext >&5
8821
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8822
conftest$ac_exeext conftest.$ac_ext
8823
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8825
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8826
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"
8828
if test "$host_cpu" = ia64; then
8829
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8830
allow_undefined_flag="-z nodefs"
8831
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"
8833
# Determine the default libpath from the value encoded in an empty executable.
8834
cat >conftest.$ac_ext <<_ACEOF
8837
cat confdefs.h >>conftest.$ac_ext
8838
cat >>conftest.$ac_ext <<_ACEOF
8839
/* end confdefs.h. */
8849
rm -f conftest.$ac_objext conftest$ac_exeext
8850
if { (ac_try="$ac_link"
8852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8853
*) ac_try_echo=$ac_try;;
8855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8856
(eval "$ac_link") 2>conftest.er1
8858
grep -v '^ *+' conftest.er1 >conftest.err
8860
cat conftest.err >&5
8861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862
(exit $ac_status); } && {
8863
test -z "$ac_c_werror_flag" ||
8864
test ! -s conftest.err
8865
} && test -s conftest$ac_exeext &&
8866
$as_test_x conftest$ac_exeext; then
8868
lt_aix_libpath_sed='
8869
/Import File Strings/,/^$/ {
8875
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8876
# Check for a 64-bit object if we didn't find anything.
8877
if test -z "$aix_libpath"; then
8878
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8881
echo "$as_me: failed program was:" >&5
8882
sed 's/^/| /' conftest.$ac_ext >&5
8887
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8888
conftest$ac_exeext conftest.$ac_ext
8889
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8891
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8892
# Warning - without using the other run time loading flags,
8893
# -berok will link without error, but may produce a broken library.
8894
no_undefined_flag=' ${wl}-bernotok'
8895
allow_undefined_flag=' ${wl}-berok'
8896
# Exported symbols can be pulled into shared objects from archives
8897
whole_archive_flag_spec='$convenience'
8898
archive_cmds_need_lc=yes
8899
# This is similar to how AIX traditionally builds its shared libraries.
8900
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'
8906
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)'
8907
hardcode_libdir_flag_spec='-L$libdir'
8908
hardcode_minus_L=yes
8909
# see comment about different semantics on the GNU ld section
8914
export_dynamic_flag_spec=-rdynamic
8917
cygwin* | mingw* | pw32*)
8918
# When not using gcc, we currently assume that we are using
8919
# Microsoft Visual C++.
8920
# hardcode_libdir_flag_spec is actually meaningless, as there is
8921
# no search path for DLLs.
8922
hardcode_libdir_flag_spec=' '
8923
allow_undefined_flag=unsupported
8924
# Tell ltmain to make .lib files, not .a files.
8926
# Tell ltmain to make .dll files, not .so files.
8928
# FIXME: Setting linknames here is a bad hack.
8929
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8930
# The linker will automatically build a .lib file if we build a DLL.
8931
old_archive_From_new_cmds='true'
8932
# FIXME: Should let the user specify the lib program.
8933
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8934
fix_srcfile_path='`cygpath -w "$srcfile"`'
8935
enable_shared_with_static_runtimes=yes
8938
darwin* | rhapsody*)
8940
rhapsody* | darwin1.[012])
8941
allow_undefined_flag='${wl}-undefined ${wl}suppress'
8944
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8945
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8947
case ${MACOSX_DEPLOYMENT_TARGET} in
8949
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8952
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8958
archive_cmds_need_lc=no
8960
hardcode_automatic=yes
8961
hardcode_shlibpath_var=unsupported
8962
whole_archive_flag_spec=''
8963
link_all_deplibs=yes
8964
if test "$GCC" = yes ; then
8965
output_verbose_link_cmd='echo'
8966
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8967
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8968
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}"
8969
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}"
8971
case $cc_basename in
8973
output_verbose_link_cmd='echo'
8974
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8975
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8976
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8977
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}'
8978
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}'
8988
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8989
hardcode_libdir_flag_spec='-L$libdir'
8990
hardcode_shlibpath_var=no
8997
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8998
# support. Future versions do this automatically, but an explicit c++rt0.o
8999
# does not break anything, and helps significantly (at the cost of a little
9002
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9003
hardcode_libdir_flag_spec='-R$libdir'
9005
hardcode_shlibpath_var=no
9008
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9010
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9012
hardcode_minus_L=yes
9013
hardcode_shlibpath_var=no
9016
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9017
freebsd* | dragonfly*)
9018
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9019
hardcode_libdir_flag_spec='-R$libdir'
9021
hardcode_shlibpath_var=no
9025
if test "$GCC" = yes; then
9026
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'
9028
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'
9030
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9031
hardcode_libdir_separator=:
9034
# hardcode_minus_L: Not really in the search PATH,
9035
# but as the default location of the library.
9036
hardcode_minus_L=yes
9037
export_dynamic_flag_spec='${wl}-E'
9041
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9042
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9044
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9046
if test "$with_gnu_ld" = no; then
9047
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9048
hardcode_libdir_separator=:
9051
export_dynamic_flag_spec='${wl}-E'
9053
# hardcode_minus_L: Not really in the search PATH,
9054
# but as the default location of the library.
9055
hardcode_minus_L=yes
9060
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9063
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9066
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9069
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9075
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9078
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9081
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9085
if test "$with_gnu_ld" = no; then
9086
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9087
hardcode_libdir_separator=:
9091
hardcode_libdir_flag_spec_ld='+b $libdir'
9093
hardcode_shlibpath_var=no
9097
export_dynamic_flag_spec='${wl}-E'
9099
# hardcode_minus_L: Not really in the search PATH,
9100
# but as the default location of the library.
9101
hardcode_minus_L=yes
9107
irix5* | irix6* | nonstopux*)
9108
if test "$GCC" = yes; then
9109
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'
9111
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'
9112
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9114
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115
hardcode_libdir_separator=:
9116
link_all_deplibs=yes
9119
netbsd* | netbsdelf*-gnu)
9120
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9121
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9123
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9125
hardcode_libdir_flag_spec='-R$libdir'
9127
hardcode_shlibpath_var=no
9131
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9133
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134
hardcode_libdir_separator=:
9135
hardcode_shlibpath_var=no
9139
if test -f /usr/libexec/ld.so; then
9141
hardcode_shlibpath_var=no
9142
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9143
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9144
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9145
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9146
export_dynamic_flag_spec='${wl}-E'
9149
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9150
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9151
hardcode_libdir_flag_spec='-R$libdir'
9154
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9155
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9165
hardcode_libdir_flag_spec='-L$libdir'
9166
hardcode_minus_L=yes
9167
allow_undefined_flag=unsupported
9168
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'
9169
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9173
if test "$GCC" = yes; then
9174
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9175
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'
9177
allow_undefined_flag=' -expect_unresolved \*'
9178
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'
9180
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181
hardcode_libdir_separator=:
9184
osf4* | osf5*) # as osf3* with the addition of -msym flag
9185
if test "$GCC" = yes; then
9186
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9187
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'
9188
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9190
allow_undefined_flag=' -expect_unresolved \*'
9191
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'
9192
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9193
$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'
9195
# Both c and cxx compiler support -rpath directly
9196
hardcode_libdir_flag_spec='-rpath $libdir'
9198
hardcode_libdir_separator=:
9202
no_undefined_flag=' -z text'
9203
if test "$GCC" = yes; then
9205
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9206
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9207
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9210
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9211
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9212
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9214
hardcode_libdir_flag_spec='-R$libdir'
9215
hardcode_shlibpath_var=no
9217
solaris2.[0-5] | solaris2.[0-5].*) ;;
9219
# The compiler driver will combine and reorder linker options,
9220
# but understands `-z linker_flag'. GCC discards it without `$wl',
9221
# but is careful enough not to reorder.
9222
# Supported since Solaris 2.6 (maybe 2.5.1?)
9223
if test "$GCC" = yes; then
9224
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9226
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9230
link_all_deplibs=yes
9234
if test "x$host_vendor" = xsequent; then
9235
# Use $CC to link under sequent, because it throws in some extra .o
9236
# files that make .init and .fini sections work.
9237
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9239
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9241
hardcode_libdir_flag_spec='-L$libdir'
9243
hardcode_minus_L=yes
9244
hardcode_shlibpath_var=no
9248
case $host_vendor in
9250
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9251
hardcode_direct=yes # is this really true???
9254
## LD is ld it makes a PLAMLIB
9255
## CC just makes a GrossModule.
9256
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9257
reload_cmds='$CC -r -o $output$reload_objs'
9261
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9265
runpath_var='LD_RUN_PATH'
9266
hardcode_shlibpath_var=no
9270
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9271
hardcode_shlibpath_var=no
9272
export_dynamic_flag_spec='-Bexport'
9276
if test -d /usr/nec; then
9277
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9278
hardcode_shlibpath_var=no
9279
runpath_var=LD_RUN_PATH
9280
hardcode_runpath_var=yes
9285
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9286
no_undefined_flag='${wl}-z,text'
9287
archive_cmds_need_lc=no
9288
hardcode_shlibpath_var=no
9289
runpath_var='LD_RUN_PATH'
9291
if test "$GCC" = yes; then
9292
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9293
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9295
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9296
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9300
sysv5* | sco3.2v5* | sco5v6*)
9301
# Note: We can NOT use -z defs as we might desire, because we do not
9302
# link with -lc, and that would cause any symbols used from libc to
9303
# always be unresolved, which means just about no library would
9304
# ever link correctly. If we're not using GNU ld we use -z text
9305
# though, which does catch some bad symbols but isn't as heavy-handed
9307
no_undefined_flag='${wl}-z,text'
9308
allow_undefined_flag='${wl}-z,nodefs'
9309
archive_cmds_need_lc=no
9310
hardcode_shlibpath_var=no
9311
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9312
hardcode_libdir_separator=':'
9313
link_all_deplibs=yes
9314
export_dynamic_flag_spec='${wl}-Bexport'
9315
runpath_var='LD_RUN_PATH'
9317
if test "$GCC" = yes; then
9318
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9319
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9321
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9322
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9327
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328
hardcode_libdir_flag_spec='-L$libdir'
9329
hardcode_shlibpath_var=no
9338
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9339
echo "${ECHO_T}$ld_shlibs" >&6; }
9340
test "$ld_shlibs" = no && can_build_shared=no
9343
# Do we need to explicitly link libc?
9345
case "x$archive_cmds_need_lc" in
9347
# Assume -lc should be added
9348
archive_cmds_need_lc=yes
9350
if test "$enable_shared" = yes && test "$GCC" = yes; then
9351
case $archive_cmds in
9353
# FIXME: we may have to deal with multi-command sequences.
9356
# Test whether the compiler implicitly links with -lc since on some
9357
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9358
# to ld, don't add -lc before -lgcc.
9359
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9360
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9362
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9364
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365
(eval $ac_compile) 2>&5
9367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368
(exit $ac_status); } 2>conftest.err; then
9371
libobjs=conftest.$ac_objext
9373
wl=$lt_prog_compiler_wl
9374
pic_flag=$lt_prog_compiler_pic
9380
lt_save_allow_undefined_flag=$allow_undefined_flag
9381
allow_undefined_flag=
9382
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9383
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386
(exit $ac_status); }
9388
archive_cmds_need_lc=no
9390
archive_cmds_need_lc=yes
9392
allow_undefined_flag=$lt_save_allow_undefined_flag
9394
cat conftest.err 1>&5
9397
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9398
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9405
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9406
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9408
libname_spec='lib$name'
9416
shlibpath_overrides_runpath=unknown
9418
dynamic_linker="$host_os ld.so"
9419
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9421
if test "$GCC" = yes; then
9423
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9424
*) lt_awk_arg="/^libraries:/" ;;
9426
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9427
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9428
# if the path contains ";" then we assume it to be the separator
9429
# otherwise default to the standard path separator (i.e. ":") - it is
9430
# assumed that no part of a normal pathname contains ";" but that should
9431
# okay in the real world where ";" in dirpaths is itself problematic.
9432
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9434
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9436
# Ok, now we have the path, separated by spaces, we can step through it
9437
# and add multilib dir if necessary.
9438
lt_tmp_lt_search_path_spec=
9439
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9440
for lt_sys_path in $lt_search_path_spec; do
9441
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9442
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9444
test -d "$lt_sys_path" && \
9445
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9448
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9449
BEGIN {RS=" "; FS="/|\n";} {
9452
for (lt_i = NF; lt_i > 0; lt_i--) {
9453
if ($lt_i != "" && $lt_i != ".") {
9454
if ($lt_i == "..") {
9457
if (lt_count == 0) {
9458
lt_foo="/" $lt_i lt_foo;
9465
if (lt_foo != "") { lt_freq[lt_foo]++; }
9466
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9468
sys_lib_search_path_spec=`echo $lt_search_path_spec`
9470
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9472
need_lib_prefix=unknown
9473
hardcode_into_libs=no
9475
# when you set need_version to no, make sure it does not cause -set_version
9476
# flags to be left without arguments
9477
need_version=unknown
9482
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9483
shlibpath_var=LIBPATH
9485
# AIX 3 has no versioning support, so we append a major version to the name.
9486
soname_spec='${libname}${release}${shared_ext}$major'
9493
hardcode_into_libs=yes
9494
if test "$host_cpu" = ia64; then
9495
# AIX 5 supports IA64
9496
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9497
shlibpath_var=LD_LIBRARY_PATH
9499
# With GCC up to 2.95.x, collect2 would create an import file
9500
# for dependence libraries. The import file would start with
9501
# the line `#! .'. This would cause the generated library to
9502
# depend on `.', always an invalid library. This was fixed in
9503
# development snapshots of GCC prior to 3.0.
9505
aix4 | aix4.[01] | aix4.[01].*)
9506
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9508
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9515
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9516
# soname into executable. Probably we can add versioning support to
9517
# collect2, so additional links can be useful in future.
9518
if test "$aix_use_runtimelinking" = yes; then
9519
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9520
# instead of lib<name>.a to let people know that these are not
9521
# typical AIX shared libraries.
9522
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9524
# We preserve .a as extension for shared libraries through AIX4.2
9525
# and later when we are not doing run time linking.
9526
library_names_spec='${libname}${release}.a $libname.a'
9527
soname_spec='${libname}${release}${shared_ext}$major'
9529
shlibpath_var=LIBPATH
9534
library_names_spec='$libname.ixlibrary $libname.a'
9535
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9536
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'
9540
library_names_spec='${libname}${shared_ext}'
9541
dynamic_linker="$host_os ld.so"
9542
shlibpath_var=LIBRARY_PATH
9548
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549
soname_spec='${libname}${release}${shared_ext}$major'
9550
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9551
shlibpath_var=LD_LIBRARY_PATH
9552
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9553
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9554
# the default ld.so.conf also contains /usr/contrib/lib and
9555
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9556
# libtool to hard-code these into programs
9559
cygwin* | mingw* | pw32*)
9560
version_type=windows
9565
case $GCC,$host_os in
9566
yes,cygwin* | yes,mingw* | yes,pw32*)
9567
library_names_spec='$libname.dll.a'
9568
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9569
postinstall_cmds='base_file=`basename \${file}`~
9570
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9571
dldir=$destdir/`dirname \$dlpath`~
9572
test -d \$dldir || mkdir -p \$dldir~
9573
$install_prog $dir/$dlname \$dldir/$dlname~
9574
chmod a+x \$dldir/$dlname'
9575
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9576
dlpath=$dir/\$dldll~
9578
shlibpath_overrides_runpath=yes
9582
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9583
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9584
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9587
# MinGW DLLs use traditional 'lib' prefix
9588
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9589
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9590
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9591
# It is most probably a Windows format PATH printed by
9592
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9593
# path with ; separators, and with drive letters. We can handle the
9594
# drive letters (cygwin fileutils understands them), so leave them,
9595
# especially as we might pass files found there to a mingw objdump,
9596
# which wouldn't understand a cygwinified path. Ahh.
9597
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9599
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9603
# pw32 DLLs use 'pw' prefix rather than 'lib'
9604
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9610
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9613
dynamic_linker='Win32 ld.exe'
9614
# FIXME: first we should search . and the directory the executable is in
9618
darwin* | rhapsody*)
9619
dynamic_linker="$host_os dyld"
9623
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9624
soname_spec='${libname}${release}${major}$shared_ext'
9625
shlibpath_overrides_runpath=yes
9626
shlibpath_var=DYLD_LIBRARY_PATH
9627
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9629
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9630
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9638
soname_spec='${libname}${release}${shared_ext}$major'
9639
shlibpath_var=LD_LIBRARY_PATH
9646
freebsd* | dragonfly*)
9647
# DragonFly does not have aout. When/if they implement a new
9648
# versioning mechanism, adjust this.
9649
if test -x /usr/bin/objformat; then
9650
objformat=`/usr/bin/objformat`
9653
freebsd[123]*) objformat=aout ;;
9657
version_type=freebsd-$objformat
9658
case $version_type in
9660
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9665
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9669
shlibpath_var=LD_LIBRARY_PATH
9672
shlibpath_overrides_runpath=yes
9674
freebsd3.[01]* | freebsdelf3.[01]*)
9675
shlibpath_overrides_runpath=yes
9676
hardcode_into_libs=yes
9678
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9679
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9680
shlibpath_overrides_runpath=no
9681
hardcode_into_libs=yes
9683
*) # from 4.6 on, and DragonFly
9684
shlibpath_overrides_runpath=yes
9685
hardcode_into_libs=yes
9694
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9695
soname_spec='${libname}${release}${shared_ext}$major'
9696
shlibpath_var=LD_LIBRARY_PATH
9697
hardcode_into_libs=yes
9700
hpux9* | hpux10* | hpux11*)
9701
# Give a soname corresponding to the major version so that dld.sl refuses to
9702
# link against other versions.
9709
hardcode_into_libs=yes
9710
dynamic_linker="$host_os dld.so"
9711
shlibpath_var=LD_LIBRARY_PATH
9712
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9713
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9714
soname_spec='${libname}${release}${shared_ext}$major'
9715
if test "X$HPUX_IA64_MODE" = X32; then
9716
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9718
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9720
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9724
hardcode_into_libs=yes
9725
dynamic_linker="$host_os dld.sl"
9726
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9727
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9729
soname_spec='${libname}${release}${shared_ext}$major'
9730
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9731
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9735
dynamic_linker="$host_os dld.sl"
9736
shlibpath_var=SHLIB_PATH
9737
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9738
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739
soname_spec='${libname}${release}${shared_ext}$major'
9742
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9743
postinstall_cmds='chmod 555 $lib'
9750
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9751
soname_spec='${libname}${release}${shared_ext}$major'
9752
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9753
shlibpath_var=LD_LIBRARY_PATH
9754
shlibpath_overrides_runpath=no
9755
hardcode_into_libs=yes
9758
irix5* | irix6* | nonstopux*)
9760
nonstopux*) version_type=nonstopux ;;
9762
if test "$lt_cv_prog_gnu_ld" = yes; then
9770
soname_spec='${libname}${release}${shared_ext}$major'
9771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9773
irix5* | nonstopux*)
9777
case $LD in # libtool.m4 will add one of these switches to LD
9778
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9779
libsuff= shlibsuff= libmagic=32-bit;;
9780
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9781
libsuff=32 shlibsuff=N32 libmagic=N32;;
9782
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9783
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9784
*) libsuff= shlibsuff= libmagic=never-match;;
9788
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9789
shlibpath_overrides_runpath=no
9790
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9791
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9792
hardcode_into_libs=yes
9795
# No shared lib support for Linux oldld, aout, or coff.
9796
linux*oldld* | linux*aout* | linux*coff*)
9800
# This must be Linux ELF.
9801
linux* | k*bsd*-gnu)
9805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806
soname_spec='${libname}${release}${shared_ext}$major'
9807
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9808
shlibpath_var=LD_LIBRARY_PATH
9809
shlibpath_overrides_runpath=no
9810
# This implies no fast_install, which is unacceptable.
9811
# Some rework will be needed to allow for fast_install
9812
# before this can be enabled.
9813
hardcode_into_libs=yes
9815
# Append ld.so.conf contents to the search path
9816
if test -f /etc/ld.so.conf; then
9817
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' ' '`
9818
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9821
# We used to test for /lib/ld.so.1 and disable shared libraries on
9822
# powerpc, because MkLinux only supported shared libraries with the
9823
# GNU dynamic linker. Since this was broken with cross compilers,
9824
# most powerpc-linux boxes support dynamic linking these days and
9825
# people can always --disable-shared, the test was removed, and we
9826
# assume the GNU/Linux dynamic linker is in use.
9827
dynamic_linker='GNU/Linux ld.so'
9834
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9835
soname_spec='${libname}${release}${shared_ext}$major'
9836
shlibpath_var=LD_LIBRARY_PATH
9837
shlibpath_overrides_runpath=no
9838
hardcode_into_libs=yes
9839
dynamic_linker='NetBSD ld.elf_so'
9846
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9847
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9848
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9849
dynamic_linker='NetBSD (a.out) ld.so'
9851
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9852
soname_spec='${libname}${release}${shared_ext}$major'
9853
dynamic_linker='NetBSD ld.elf_so'
9855
shlibpath_var=LD_LIBRARY_PATH
9856
shlibpath_overrides_runpath=yes
9857
hardcode_into_libs=yes
9862
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9863
shlibpath_var=LD_LIBRARY_PATH
9864
shlibpath_overrides_runpath=yes
9871
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9872
soname_spec='${libname}${release}${shared_ext}$major'
9873
shlibpath_var=LD_LIBRARY_PATH
9874
shlibpath_overrides_runpath=yes
9879
sys_lib_dlsearch_path_spec="/usr/lib"
9881
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9883
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9884
*) need_version=no ;;
9886
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9887
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9888
shlibpath_var=LD_LIBRARY_PATH
9889
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9891
openbsd2.[89] | openbsd2.[89].*)
9892
shlibpath_overrides_runpath=no
9895
shlibpath_overrides_runpath=yes
9899
shlibpath_overrides_runpath=yes
9904
libname_spec='$name'
9907
library_names_spec='$libname${shared_ext} $libname.a'
9908
dynamic_linker='OS/2 ld.exe'
9909
shlibpath_var=LIBPATH
9912
osf3* | osf4* | osf5*)
9916
soname_spec='${libname}${release}${shared_ext}$major'
9917
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918
shlibpath_var=LD_LIBRARY_PATH
9919
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9920
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9931
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9932
soname_spec='${libname}${release}${shared_ext}$major'
9933
shlibpath_var=LD_LIBRARY_PATH
9934
shlibpath_overrides_runpath=yes
9935
hardcode_into_libs=yes
9936
# ldd complains unless libraries are executable
9937
postinstall_cmds='chmod +x $lib'
9942
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9943
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9944
shlibpath_var=LD_LIBRARY_PATH
9945
shlibpath_overrides_runpath=yes
9946
if test "$with_gnu_ld" = yes; then
9954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955
soname_spec='${libname}${release}${shared_ext}$major'
9956
shlibpath_var=LD_LIBRARY_PATH
9957
case $host_vendor in
9959
shlibpath_overrides_runpath=no
9961
export_dynamic_flag_spec='${wl}-Blargedynsym'
9962
runpath_var=LD_RUN_PATH
9970
shlibpath_overrides_runpath=no
9971
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9977
if test -d /usr/nec ;then
9979
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9980
soname_spec='$libname${shared_ext}.$major'
9981
shlibpath_var=LD_LIBRARY_PATH
9985
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9986
version_type=freebsd-elf
9989
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9990
soname_spec='${libname}${release}${shared_ext}$major'
9991
shlibpath_var=LD_LIBRARY_PATH
9992
hardcode_into_libs=yes
9993
if test "$with_gnu_ld" = yes; then
9994
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9995
shlibpath_overrides_runpath=no
9997
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9998
shlibpath_overrides_runpath=yes
10001
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10005
sys_lib_dlsearch_path_spec='/usr/lib'
10010
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10011
soname_spec='${libname}${release}${shared_ext}$major'
10012
shlibpath_var=LD_LIBRARY_PATH
10019
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10020
echo "${ECHO_T}$dynamic_linker" >&6; }
10021
test "$dynamic_linker" = no && can_build_shared=no
10023
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10024
echo $ECHO_N "(cached) $ECHO_C" >&6
10026
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10029
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10030
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10031
echo $ECHO_N "(cached) $ECHO_C" >&6
10033
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10036
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10038
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10039
if test "$GCC" = yes; then
10040
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10043
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10044
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10046
if test -n "$hardcode_libdir_flag_spec" || \
10047
test -n "$runpath_var" || \
10048
test "X$hardcode_automatic" = "Xyes" ; then
10050
# We can hardcode non-existant directories.
10051
if test "$hardcode_direct" != no &&
10052
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10053
# have to relink, otherwise we might link with an installed library
10054
# when we should be linking with a yet-to-be-installed one
10055
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10056
test "$hardcode_minus_L" != no; then
10057
# Linking always hardcodes the temporary library directory.
10058
hardcode_action=relink
10060
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10061
hardcode_action=immediate
10064
# We cannot hardcode anything, or else we can only hardcode existing
10066
hardcode_action=unsupported
10068
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10069
echo "${ECHO_T}$hardcode_action" >&6; }
10071
if test "$hardcode_action" = relink; then
10072
# Fast installation is not supported
10073
enable_fast_install=no
10074
elif test "$shlibpath_overrides_runpath" = yes ||
10075
test "$enable_shared" = no; then
10076
# Fast installation is not necessary
10077
enable_fast_install=needless
10082
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10083
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10084
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10085
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10086
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10087
{ echo "$as_me:$LINENO: result: yes" >&5
10088
echo "${ECHO_T}yes" >&6; }
10090
# FIXME - insert some real tests, host_os isn't really good enough
10093
if test -n "$STRIP" ; then
10094
striplib="$STRIP -x"
10095
old_striplib="$STRIP -S"
10096
{ echo "$as_me:$LINENO: result: yes" >&5
10097
echo "${ECHO_T}yes" >&6; }
10099
{ echo "$as_me:$LINENO: result: no" >&5
10100
echo "${ECHO_T}no" >&6; }
10104
{ echo "$as_me:$LINENO: result: no" >&5
10105
echo "${ECHO_T}no" >&6; }
10110
if test "x$enable_dlopen" != xyes; then
10111
enable_dlopen=unknown
10112
enable_dlopen_self=unknown
10113
enable_dlopen_self_static=unknown
10120
lt_cv_dlopen="load_add_on"
10122
lt_cv_dlopen_self=yes
10126
lt_cv_dlopen="LoadLibrary"
10131
lt_cv_dlopen="dlopen"
10136
# if libdl is installed we need to link against it
10137
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10138
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10139
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10140
echo $ECHO_N "(cached) $ECHO_C" >&6
10142
ac_check_lib_save_LIBS=$LIBS
10144
cat >conftest.$ac_ext <<_ACEOF
10147
cat confdefs.h >>conftest.$ac_ext
10148
cat >>conftest.$ac_ext <<_ACEOF
10149
/* end confdefs.h. */
10151
/* Override any GCC internal prototype to avoid an error.
10152
Use char because int might match the return type of a GCC
10153
builtin and then its argument prototype would still apply. */
10166
rm -f conftest.$ac_objext conftest$ac_exeext
10167
if { (ac_try="$ac_link"
10168
case "(($ac_try" in
10169
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10170
*) ac_try_echo=$ac_try;;
10172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10173
(eval "$ac_link") 2>conftest.er1
10175
grep -v '^ *+' conftest.er1 >conftest.err
10177
cat conftest.err >&5
10178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179
(exit $ac_status); } && {
10180
test -z "$ac_c_werror_flag" ||
10181
test ! -s conftest.err
10182
} && test -s conftest$ac_exeext &&
10183
$as_test_x conftest$ac_exeext; then
10184
ac_cv_lib_dl_dlopen=yes
10186
echo "$as_me: failed program was:" >&5
10187
sed 's/^/| /' conftest.$ac_ext >&5
10189
ac_cv_lib_dl_dlopen=no
10192
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10193
conftest$ac_exeext conftest.$ac_ext
10194
LIBS=$ac_check_lib_save_LIBS
10196
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10197
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10198
if test $ac_cv_lib_dl_dlopen = yes; then
10199
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10202
lt_cv_dlopen="dyld"
10204
lt_cv_dlopen_self=yes
10211
{ echo "$as_me:$LINENO: checking for shl_load" >&5
10212
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10213
if test "${ac_cv_func_shl_load+set}" = set; then
10214
echo $ECHO_N "(cached) $ECHO_C" >&6
10216
cat >conftest.$ac_ext <<_ACEOF
10219
cat confdefs.h >>conftest.$ac_ext
10220
cat >>conftest.$ac_ext <<_ACEOF
10221
/* end confdefs.h. */
10222
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10223
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10224
#define shl_load innocuous_shl_load
10226
/* System header to define __stub macros and hopefully few prototypes,
10227
which can conflict with char shl_load (); below.
10228
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10229
<limits.h> exists even on freestanding compilers. */
10232
# include <limits.h>
10234
# include <assert.h>
10239
/* Override any GCC internal prototype to avoid an error.
10240
Use char because int might match the return type of a GCC
10241
builtin and then its argument prototype would still apply. */
10246
/* The GNU C library defines this for functions which it implements
10247
to always fail with ENOSYS. Some functions are actually named
10248
something starting with __ and the normal name is an alias. */
10249
#if defined __stub_shl_load || defined __stub___shl_load
10256
return shl_load ();
10261
rm -f conftest.$ac_objext conftest$ac_exeext
10262
if { (ac_try="$ac_link"
10263
case "(($ac_try" in
10264
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10265
*) ac_try_echo=$ac_try;;
10267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268
(eval "$ac_link") 2>conftest.er1
10270
grep -v '^ *+' conftest.er1 >conftest.err
10272
cat conftest.err >&5
10273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274
(exit $ac_status); } && {
10275
test -z "$ac_c_werror_flag" ||
10276
test ! -s conftest.err
10277
} && test -s conftest$ac_exeext &&
10278
$as_test_x conftest$ac_exeext; then
10279
ac_cv_func_shl_load=yes
10281
echo "$as_me: failed program was:" >&5
10282
sed 's/^/| /' conftest.$ac_ext >&5
10284
ac_cv_func_shl_load=no
10287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10288
conftest$ac_exeext conftest.$ac_ext
10290
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10291
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10292
if test $ac_cv_func_shl_load = yes; then
10293
lt_cv_dlopen="shl_load"
10295
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10296
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10297
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10298
echo $ECHO_N "(cached) $ECHO_C" >&6
10300
ac_check_lib_save_LIBS=$LIBS
10302
cat >conftest.$ac_ext <<_ACEOF
10305
cat confdefs.h >>conftest.$ac_ext
10306
cat >>conftest.$ac_ext <<_ACEOF
10307
/* end confdefs.h. */
10309
/* Override any GCC internal prototype to avoid an error.
10310
Use char because int might match the return type of a GCC
10311
builtin and then its argument prototype would still apply. */
10319
return shl_load ();
10324
rm -f conftest.$ac_objext conftest$ac_exeext
10325
if { (ac_try="$ac_link"
10326
case "(($ac_try" in
10327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10328
*) ac_try_echo=$ac_try;;
10330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10331
(eval "$ac_link") 2>conftest.er1
10333
grep -v '^ *+' conftest.er1 >conftest.err
10335
cat conftest.err >&5
10336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337
(exit $ac_status); } && {
10338
test -z "$ac_c_werror_flag" ||
10339
test ! -s conftest.err
10340
} && test -s conftest$ac_exeext &&
10341
$as_test_x conftest$ac_exeext; then
10342
ac_cv_lib_dld_shl_load=yes
10344
echo "$as_me: failed program was:" >&5
10345
sed 's/^/| /' conftest.$ac_ext >&5
10347
ac_cv_lib_dld_shl_load=no
10350
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10351
conftest$ac_exeext conftest.$ac_ext
10352
LIBS=$ac_check_lib_save_LIBS
10354
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10355
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10356
if test $ac_cv_lib_dld_shl_load = yes; then
10357
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10359
{ echo "$as_me:$LINENO: checking for dlopen" >&5
10360
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10361
if test "${ac_cv_func_dlopen+set}" = set; then
10362
echo $ECHO_N "(cached) $ECHO_C" >&6
10364
cat >conftest.$ac_ext <<_ACEOF
10367
cat confdefs.h >>conftest.$ac_ext
10368
cat >>conftest.$ac_ext <<_ACEOF
10369
/* end confdefs.h. */
10370
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10371
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10372
#define dlopen innocuous_dlopen
10374
/* System header to define __stub macros and hopefully few prototypes,
10375
which can conflict with char dlopen (); below.
10376
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10377
<limits.h> exists even on freestanding compilers. */
10380
# include <limits.h>
10382
# include <assert.h>
10387
/* Override any GCC internal prototype to avoid an error.
10388
Use char because int might match the return type of a GCC
10389
builtin and then its argument prototype would still apply. */
10394
/* The GNU C library defines this for functions which it implements
10395
to always fail with ENOSYS. Some functions are actually named
10396
something starting with __ and the normal name is an alias. */
10397
#if defined __stub_dlopen || defined __stub___dlopen
10409
rm -f conftest.$ac_objext conftest$ac_exeext
10410
if { (ac_try="$ac_link"
10411
case "(($ac_try" in
10412
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413
*) ac_try_echo=$ac_try;;
10415
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10416
(eval "$ac_link") 2>conftest.er1
10418
grep -v '^ *+' conftest.er1 >conftest.err
10420
cat conftest.err >&5
10421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422
(exit $ac_status); } && {
10423
test -z "$ac_c_werror_flag" ||
10424
test ! -s conftest.err
10425
} && test -s conftest$ac_exeext &&
10426
$as_test_x conftest$ac_exeext; then
10427
ac_cv_func_dlopen=yes
10429
echo "$as_me: failed program was:" >&5
10430
sed 's/^/| /' conftest.$ac_ext >&5
10432
ac_cv_func_dlopen=no
10435
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10436
conftest$ac_exeext conftest.$ac_ext
10438
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10439
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10440
if test $ac_cv_func_dlopen = yes; then
10441
lt_cv_dlopen="dlopen"
10443
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10444
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10445
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10446
echo $ECHO_N "(cached) $ECHO_C" >&6
10448
ac_check_lib_save_LIBS=$LIBS
10450
cat >conftest.$ac_ext <<_ACEOF
10453
cat confdefs.h >>conftest.$ac_ext
10454
cat >>conftest.$ac_ext <<_ACEOF
10455
/* end confdefs.h. */
10457
/* Override any GCC internal prototype to avoid an error.
10458
Use char because int might match the return type of a GCC
10459
builtin and then its argument prototype would still apply. */
10472
rm -f conftest.$ac_objext conftest$ac_exeext
10473
if { (ac_try="$ac_link"
10474
case "(($ac_try" in
10475
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476
*) ac_try_echo=$ac_try;;
10478
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479
(eval "$ac_link") 2>conftest.er1
10481
grep -v '^ *+' conftest.er1 >conftest.err
10483
cat conftest.err >&5
10484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485
(exit $ac_status); } && {
10486
test -z "$ac_c_werror_flag" ||
10487
test ! -s conftest.err
10488
} && test -s conftest$ac_exeext &&
10489
$as_test_x conftest$ac_exeext; then
10490
ac_cv_lib_dl_dlopen=yes
10492
echo "$as_me: failed program was:" >&5
10493
sed 's/^/| /' conftest.$ac_ext >&5
10495
ac_cv_lib_dl_dlopen=no
10498
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10499
conftest$ac_exeext conftest.$ac_ext
10500
LIBS=$ac_check_lib_save_LIBS
10502
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10503
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10504
if test $ac_cv_lib_dl_dlopen = yes; then
10505
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10507
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10508
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10509
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10510
echo $ECHO_N "(cached) $ECHO_C" >&6
10512
ac_check_lib_save_LIBS=$LIBS
10513
LIBS="-lsvld $LIBS"
10514
cat >conftest.$ac_ext <<_ACEOF
10517
cat confdefs.h >>conftest.$ac_ext
10518
cat >>conftest.$ac_ext <<_ACEOF
10519
/* end confdefs.h. */
10521
/* Override any GCC internal prototype to avoid an error.
10522
Use char because int might match the return type of a GCC
10523
builtin and then its argument prototype would still apply. */
10536
rm -f conftest.$ac_objext conftest$ac_exeext
10537
if { (ac_try="$ac_link"
10538
case "(($ac_try" in
10539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10540
*) ac_try_echo=$ac_try;;
10542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10543
(eval "$ac_link") 2>conftest.er1
10545
grep -v '^ *+' conftest.er1 >conftest.err
10547
cat conftest.err >&5
10548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549
(exit $ac_status); } && {
10550
test -z "$ac_c_werror_flag" ||
10551
test ! -s conftest.err
10552
} && test -s conftest$ac_exeext &&
10553
$as_test_x conftest$ac_exeext; then
10554
ac_cv_lib_svld_dlopen=yes
10556
echo "$as_me: failed program was:" >&5
10557
sed 's/^/| /' conftest.$ac_ext >&5
10559
ac_cv_lib_svld_dlopen=no
10562
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563
conftest$ac_exeext conftest.$ac_ext
10564
LIBS=$ac_check_lib_save_LIBS
10566
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10567
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10568
if test $ac_cv_lib_svld_dlopen = yes; then
10569
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10571
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10572
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10573
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10574
echo $ECHO_N "(cached) $ECHO_C" >&6
10576
ac_check_lib_save_LIBS=$LIBS
10578
cat >conftest.$ac_ext <<_ACEOF
10581
cat confdefs.h >>conftest.$ac_ext
10582
cat >>conftest.$ac_ext <<_ACEOF
10583
/* end confdefs.h. */
10585
/* Override any GCC internal prototype to avoid an error.
10586
Use char because int might match the return type of a GCC
10587
builtin and then its argument prototype would still apply. */
10595
return dld_link ();
10600
rm -f conftest.$ac_objext conftest$ac_exeext
10601
if { (ac_try="$ac_link"
10602
case "(($ac_try" in
10603
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10604
*) ac_try_echo=$ac_try;;
10606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10607
(eval "$ac_link") 2>conftest.er1
10609
grep -v '^ *+' conftest.er1 >conftest.err
10611
cat conftest.err >&5
10612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613
(exit $ac_status); } && {
10614
test -z "$ac_c_werror_flag" ||
10615
test ! -s conftest.err
10616
} && test -s conftest$ac_exeext &&
10617
$as_test_x conftest$ac_exeext; then
10618
ac_cv_lib_dld_dld_link=yes
10620
echo "$as_me: failed program was:" >&5
10621
sed 's/^/| /' conftest.$ac_ext >&5
10623
ac_cv_lib_dld_dld_link=no
10626
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627
conftest$ac_exeext conftest.$ac_ext
10628
LIBS=$ac_check_lib_save_LIBS
10630
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10631
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10632
if test $ac_cv_lib_dld_dld_link = yes; then
10633
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10654
if test "x$lt_cv_dlopen" != xno; then
10660
case $lt_cv_dlopen in
10662
save_CPPFLAGS="$CPPFLAGS"
10663
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10665
save_LDFLAGS="$LDFLAGS"
10666
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10669
LIBS="$lt_cv_dlopen_libs $LIBS"
10671
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10672
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10673
if test "${lt_cv_dlopen_self+set}" = set; then
10674
echo $ECHO_N "(cached) $ECHO_C" >&6
10676
if test "$cross_compiling" = yes; then :
10677
lt_cv_dlopen_self=cross
10679
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10680
lt_status=$lt_dlunknown
10681
cat > conftest.$ac_ext <<EOF
10682
#line 10682 "configure"
10683
#include "confdefs.h"
10692
# define LT_DLGLOBAL RTLD_GLOBAL
10695
# define LT_DLGLOBAL DL_GLOBAL
10697
# define LT_DLGLOBAL 0
10701
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10702
find out it does not work in some platform. */
10703
#ifndef LT_DLLAZY_OR_NOW
10705
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10708
# define LT_DLLAZY_OR_NOW DL_LAZY
10711
# define LT_DLLAZY_OR_NOW RTLD_NOW
10714
# define LT_DLLAZY_OR_NOW DL_NOW
10716
# define LT_DLLAZY_OR_NOW 0
10724
extern "C" void exit (int);
10727
void fnord() { int i=42;}
10730
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10731
int status = $lt_dlunknown;
10735
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10736
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10737
/* dlclose (self); */
10745
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10746
(eval $ac_link) 2>&5
10748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10750
(./conftest; exit; ) >&5 2>/dev/null
10752
case x$lt_status in
10753
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10754
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10755
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10758
# compilation failed
10759
lt_cv_dlopen_self=no
10766
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10767
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10769
if test "x$lt_cv_dlopen_self" = xyes; then
10770
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10771
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10772
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10773
if test "${lt_cv_dlopen_self_static+set}" = set; then
10774
echo $ECHO_N "(cached) $ECHO_C" >&6
10776
if test "$cross_compiling" = yes; then :
10777
lt_cv_dlopen_self_static=cross
10779
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10780
lt_status=$lt_dlunknown
10781
cat > conftest.$ac_ext <<EOF
10782
#line 10782 "configure"
10783
#include "confdefs.h"
10792
# define LT_DLGLOBAL RTLD_GLOBAL
10795
# define LT_DLGLOBAL DL_GLOBAL
10797
# define LT_DLGLOBAL 0
10801
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10802
find out it does not work in some platform. */
10803
#ifndef LT_DLLAZY_OR_NOW
10805
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10808
# define LT_DLLAZY_OR_NOW DL_LAZY
10811
# define LT_DLLAZY_OR_NOW RTLD_NOW
10814
# define LT_DLLAZY_OR_NOW DL_NOW
10816
# define LT_DLLAZY_OR_NOW 0
10824
extern "C" void exit (int);
10827
void fnord() { int i=42;}
10830
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10831
int status = $lt_dlunknown;
10835
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10836
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10837
/* dlclose (self); */
10845
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846
(eval $ac_link) 2>&5
10848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10850
(./conftest; exit; ) >&5 2>/dev/null
10852
case x$lt_status in
10853
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10854
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10855
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10858
# compilation failed
10859
lt_cv_dlopen_self_static=no
10866
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10867
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10870
CPPFLAGS="$save_CPPFLAGS"
10871
LDFLAGS="$save_LDFLAGS"
10876
case $lt_cv_dlopen_self in
10877
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10878
*) enable_dlopen_self=unknown ;;
10881
case $lt_cv_dlopen_self_static in
10882
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10883
*) enable_dlopen_self_static=unknown ;;
10888
# Report which library types will actually be built
10889
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10890
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10891
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10892
echo "${ECHO_T}$can_build_shared" >&6; }
10894
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10895
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10896
test "$can_build_shared" = "no" && enable_shared=no
10898
# On AIX, shared libraries and static libraries use the same namespace, and
10899
# are all built from PIC.
10902
test "$enable_shared" = yes && enable_static=no
10903
if test -n "$RANLIB"; then
10904
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10905
postinstall_cmds='$RANLIB $lib'
10910
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10911
test "$enable_shared" = yes && enable_static=no
10915
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10916
echo "${ECHO_T}$enable_shared" >&6; }
10918
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10919
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10920
# Make sure either enable_shared or enable_static is yes.
10921
test "$enable_shared" = yes || enable_static=yes
10922
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10923
echo "${ECHO_T}$enable_static" >&6; }
10925
# The else clause should only fire when bootstrapping the
10926
# libtool distribution, otherwise you forgot to ship ltmain.sh
10927
# with your package, and you will get complaints that there are
10928
# no rules to generate ltmain.sh.
10929
if test -f "$ltmain"; then
10930
# See if we are running on zsh, and set the options which allow our commands through
10931
# without removal of \ escapes.
10932
if test -n "${ZSH_VERSION+set}" ; then
10933
setopt NO_GLOB_SUBST
10935
# Now quote all the things that may contain metacharacters while being
10936
# careful not to overquote the AC_SUBSTed values. We take copies of the
10937
# variables and quote the copies for generation of the libtool script.
10938
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10940
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10941
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10942
deplibs_check_method reload_flag reload_cmds need_locks \
10943
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10944
lt_cv_sys_global_symbol_to_c_name_address \
10945
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10946
old_postinstall_cmds old_postuninstall_cmds \
10950
lt_prog_compiler_wl \
10951
lt_prog_compiler_pic \
10952
lt_prog_compiler_static \
10953
lt_prog_compiler_no_builtin_flag \
10954
export_dynamic_flag_spec \
10955
thread_safe_flag_spec \
10956
whole_archive_flag_spec \
10957
enable_shared_with_static_runtimes \
10959
old_archive_from_new_cmds \
10964
compiler_lib_search_path \
10965
compiler_lib_search_dirs \
10967
archive_expsym_cmds \
10969
postuninstall_cmds \
10970
old_archive_from_expsyms_cmds \
10971
allow_undefined_flag \
10972
no_undefined_flag \
10973
export_symbols_cmds \
10974
hardcode_libdir_flag_spec \
10975
hardcode_libdir_flag_spec_ld \
10976
hardcode_libdir_separator \
10977
hardcode_automatic \
10979
module_expsym_cmds \
10980
lt_cv_prog_compiler_c_o \
10983
include_expsyms; do
10986
old_archive_cmds | \
10987
old_archive_from_new_cmds | \
10989
archive_expsym_cmds | \
10991
module_expsym_cmds | \
10992
old_archive_from_expsyms_cmds | \
10993
export_symbols_cmds | \
10994
extract_expsyms_cmds | reload_cmds | finish_cmds | \
10995
postinstall_cmds | postuninstall_cmds | \
10996
old_postinstall_cmds | old_postuninstall_cmds | \
10997
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10998
# Double-quote double-evaled strings.
10999
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11002
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11008
*'\$0 --fallback-echo"')
11009
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11013
cfgfile="${ofile}T"
11014
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11016
{ echo "$as_me:$LINENO: creating $ofile" >&5
11017
echo "$as_me: creating $ofile" >&6;}
11019
cat <<__EOF__ >> "$cfgfile"
11022
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11023
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11024
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11026
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11027
# Free Software Foundation, Inc.
11029
# This file is part of GNU Libtool:
11030
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11032
# This program is free software; you can redistribute it and/or modify
11033
# it under the terms of the GNU General Public License as published by
11034
# the Free Software Foundation; either version 2 of the License, or
11035
# (at your option) any later version.
11037
# This program is distributed in the hope that it will be useful, but
11038
# WITHOUT ANY WARRANTY; without even the implied warranty of
11039
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11040
# General Public License for more details.
11042
# You should have received a copy of the GNU General Public License
11043
# along with this program; if not, write to the Free Software
11044
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11046
# As a special exception to the GNU General Public License, if you
11047
# distribute this file as part of a program that contains a
11048
# configuration script generated by Autoconf, you may include it under
11049
# the same distribution terms that you use for the rest of that program.
11051
# A sed program that does not truncate output.
11054
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11055
Xsed="$SED -e 1s/^X//"
11057
# The HP-UX ksh and POSIX shell print the target directory to stdout
11058
# if CDPATH is set.
11059
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11061
# The names of the tagged configurations supported by this script.
11064
# ### BEGIN LIBTOOL CONFIG
11066
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11068
# Shell to use when invoking shell scripts.
11071
# Whether or not to build shared libraries.
11072
build_libtool_libs=$enable_shared
11074
# Whether or not to build static libraries.
11075
build_old_libs=$enable_static
11077
# Whether or not to add -lc for building shared libraries.
11078
build_libtool_need_lc=$archive_cmds_need_lc
11080
# Whether or not to disallow shared libs when runtime libs are static
11081
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11083
# Whether or not to optimize for fast installation.
11084
fast_install=$enable_fast_install
11087
host_alias=$host_alias
11091
# The build system.
11092
build_alias=$build_alias
11096
# An echo program that does not interpret backslashes.
11101
AR_FLAGS=$lt_AR_FLAGS
11106
# LTCC compiler flags.
11107
LTCFLAGS=$lt_LTCFLAGS
11109
# A language-specific compiler.
11112
# Is the compiler the GNU C compiler?
11118
# The linker used to build libraries.
11121
# Whether we need hard or soft links.
11124
# A BSD-compatible nm program.
11127
# A symbol stripping program
11130
# Used to examine libraries when file_magic_cmd begins "file"
11131
MAGIC_CMD=$MAGIC_CMD
11133
# Used on cygwin: DLL creation program.
11136
# Used on cygwin: object dumper.
11139
# Used on cygwin: assembler.
11142
# The name of the directory that contains temporary libtool files.
11145
# How to create reloadable object files.
11146
reload_flag=$lt_reload_flag
11147
reload_cmds=$lt_reload_cmds
11149
# How to pass a linker flag through the compiler.
11150
wl=$lt_lt_prog_compiler_wl
11152
# Object file suffix (normally "o").
11153
objext="$ac_objext"
11155
# Old archive suffix (normally "a").
11158
# Shared library suffix (normally ".so").
11159
shrext_cmds='$shrext_cmds'
11161
# Executable file suffix (normally "").
11164
# Additional compiler flags for building library objects.
11165
pic_flag=$lt_lt_prog_compiler_pic
11168
# What is the maximum length of a command?
11169
max_cmd_len=$lt_cv_sys_max_cmd_len
11171
# Does compiler simultaneously support -c and -o options?
11172
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11174
# Must we lock files when doing compilation?
11175
need_locks=$lt_need_locks
11177
# Do we need the lib prefix for modules?
11178
need_lib_prefix=$need_lib_prefix
11180
# Do we need a version for libraries?
11181
need_version=$need_version
11183
# Whether dlopen is supported.
11184
dlopen_support=$enable_dlopen
11186
# Whether dlopen of programs is supported.
11187
dlopen_self=$enable_dlopen_self
11189
# Whether dlopen of statically linked programs is supported.
11190
dlopen_self_static=$enable_dlopen_self_static
11192
# Compiler flag to prevent dynamic linking.
11193
link_static_flag=$lt_lt_prog_compiler_static
11195
# Compiler flag to turn off builtin functions.
11196
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11198
# Compiler flag to allow reflexive dlopens.
11199
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11201
# Compiler flag to generate shared objects directly from archives.
11202
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11204
# Compiler flag to generate thread-safe objects.
11205
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11207
# Library versioning type.
11208
version_type=$version_type
11210
# Format of library name prefix.
11211
libname_spec=$lt_libname_spec
11213
# List of archive names. First name is the real one, the rest are links.
11214
# The last name is the one that the linker finds with -lNAME.
11215
library_names_spec=$lt_library_names_spec
11217
# The coded name of the library, if different from the real name.
11218
soname_spec=$lt_soname_spec
11220
# Commands used to build and install an old-style archive.
11222
old_archive_cmds=$lt_old_archive_cmds
11223
old_postinstall_cmds=$lt_old_postinstall_cmds
11224
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11226
# Create an old-style archive from a shared archive.
11227
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11229
# Create a temporary old-style archive to link instead of a shared archive.
11230
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11232
# Commands used to build and install a shared archive.
11233
archive_cmds=$lt_archive_cmds
11234
archive_expsym_cmds=$lt_archive_expsym_cmds
11235
postinstall_cmds=$lt_postinstall_cmds
11236
postuninstall_cmds=$lt_postuninstall_cmds
11238
# Commands used to build a loadable module (assumed same as above if empty)
11239
module_cmds=$lt_module_cmds
11240
module_expsym_cmds=$lt_module_expsym_cmds
11242
# Commands to strip libraries.
11243
old_striplib=$lt_old_striplib
11244
striplib=$lt_striplib
11246
# Dependencies to place before the objects being linked to create a
11248
predep_objects=$lt_predep_objects
11250
# Dependencies to place after the objects being linked to create a
11252
postdep_objects=$lt_postdep_objects
11254
# Dependencies to place before the objects being linked to create a
11256
predeps=$lt_predeps
11258
# Dependencies to place after the objects being linked to create a
11260
postdeps=$lt_postdeps
11262
# The directories searched by this compiler when creating a shared
11264
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11266
# The library search path used internally by the compiler when linking
11267
# a shared library.
11268
compiler_lib_search_path=$lt_compiler_lib_search_path
11270
# Method to check whether dependent libraries are shared objects.
11271
deplibs_check_method=$lt_deplibs_check_method
11273
# Command to use when deplibs_check_method == file_magic.
11274
file_magic_cmd=$lt_file_magic_cmd
11276
# Flag that allows shared libraries with undefined symbols to be built.
11277
allow_undefined_flag=$lt_allow_undefined_flag
11279
# Flag that forces no undefined symbols.
11280
no_undefined_flag=$lt_no_undefined_flag
11282
# Commands used to finish a libtool library installation in a directory.
11283
finish_cmds=$lt_finish_cmds
11285
# Same as above, but a single script fragment to be evaled but not shown.
11286
finish_eval=$lt_finish_eval
11288
# Take the output of nm and produce a listing of raw symbols and C names.
11289
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11291
# Transform the output of nm in a proper C declaration
11292
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11294
# Transform the output of nm in a C name address pair
11295
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11297
# This is the shared library runtime path variable.
11298
runpath_var=$runpath_var
11300
# This is the shared library path variable.
11301
shlibpath_var=$shlibpath_var
11303
# Is shlibpath searched before the hard-coded library search path?
11304
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11306
# How to hardcode a shared library path into an executable.
11307
hardcode_action=$hardcode_action
11309
# Whether we should hardcode library paths into libraries.
11310
hardcode_into_libs=$hardcode_into_libs
11312
# Flag to hardcode \$libdir into a binary during linking.
11313
# This must work even if \$libdir does not exist.
11314
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11316
# If ld is used when linking, flag to hardcode \$libdir into
11317
# a binary during linking. This must work even if \$libdir does
11319
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11321
# Whether we need a single -rpath flag with a separated argument.
11322
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11324
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11325
# resulting binary.
11326
hardcode_direct=$hardcode_direct
11328
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11329
# resulting binary.
11330
hardcode_minus_L=$hardcode_minus_L
11332
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11333
# the resulting binary.
11334
hardcode_shlibpath_var=$hardcode_shlibpath_var
11336
# Set to yes if building a shared library automatically hardcodes DIR into the library
11337
# and all subsequent libraries and executables linked against it.
11338
hardcode_automatic=$hardcode_automatic
11340
# Variables whose values should be saved in libtool wrapper scripts and
11341
# restored at relink time.
11342
variables_saved_for_relink="$variables_saved_for_relink"
11344
# Whether libtool must link a program against all its dependency libraries.
11345
link_all_deplibs=$link_all_deplibs
11347
# Compile-time system search path for libraries
11348
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11350
# Run-time system search path for libraries
11351
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11353
# Fix the shell variable \$srcfile for the compiler.
11354
fix_srcfile_path=$lt_fix_srcfile_path
11356
# Set to yes if exported symbols are required.
11357
always_export_symbols=$always_export_symbols
11359
# The commands to list exported symbols.
11360
export_symbols_cmds=$lt_export_symbols_cmds
11362
# The commands to extract the exported symbol list from a shared archive.
11363
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11365
# Symbols that should not be listed in the preloaded symbols.
11366
exclude_expsyms=$lt_exclude_expsyms
11368
# Symbols that must always be exported.
11369
include_expsyms=$lt_include_expsyms
11371
# ### END LIBTOOL CONFIG
11378
cat <<\EOF >> "$cfgfile"
11380
# AIX sometimes has problems with the GCC collect2 program. For some
11381
# reason, if we set the COLLECT_NAMES environment variable, the problems
11382
# vanish in a puff of smoke.
11383
if test "X${COLLECT_NAMES+set}" != Xset; then
11385
export COLLECT_NAMES
11391
# We use sed instead of cat because bash on DJGPP gets confused if
11392
# if finds mixed CR/LF and LF-only lines. Since sed operates in
11393
# text mode, it properly converts lines to CR/LF. This bash problem
11394
# is reportedly fixed, but why not run on old versions too?
11395
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11397
mv -f "$cfgfile" "$ofile" || \
11398
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11402
# If there is no Makefile yet, we rely on a make rule to execute
11403
# `config.status --recheck' to rerun these tests and create the
11404
# libtool script then.
11405
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11406
if test -f "$ltmain_in"; then
11407
test -f Makefile && make "$ltmain"
11413
ac_cpp='$CPP $CPPFLAGS'
11414
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11421
# Check whether --with-tags was given.
11422
if test "${with_tags+set}" = set; then
11423
withval=$with_tags; tagnames="$withval"
11427
if test -f "$ltmain" && test -n "$tagnames"; then
11428
if test ! -f "${ofile}"; then
11429
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11430
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11433
if test -z "$LTCC"; then
11434
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11435
if test -z "$LTCC"; then
11436
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11437
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11439
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11440
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11443
if test -z "$LTCFLAGS"; then
11444
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11447
# Extract list of available tagged configurations in $ofile.
11448
# Note that this assumes the entire list is on one line.
11449
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11451
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11452
for tagname in $tagnames; do
11454
# Check whether tagname contains only valid characters
11455
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11457
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11458
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11459
{ (exit 1); exit 1; }; }
11463
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11465
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11466
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11467
{ (exit 1); exit 1; }; }
11470
# Update the list of available tags.
11471
if test -n "$tagname"; then
11472
echo appending configuration tag \"$tagname\" to $ofile
11476
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11477
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11478
(test "X$CXX" != "Xg++"))) ; then
11480
ac_cpp='$CXXCPP $CPPFLAGS'
11481
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11482
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11483
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11488
archive_cmds_need_lc_CXX=no
11489
allow_undefined_flag_CXX=
11490
always_export_symbols_CXX=no
11491
archive_expsym_cmds_CXX=
11492
export_dynamic_flag_spec_CXX=
11493
hardcode_direct_CXX=no
11494
hardcode_libdir_flag_spec_CXX=
11495
hardcode_libdir_flag_spec_ld_CXX=
11496
hardcode_libdir_separator_CXX=
11497
hardcode_minus_L_CXX=no
11498
hardcode_shlibpath_var_CXX=unsupported
11499
hardcode_automatic_CXX=no
11501
module_expsym_cmds_CXX=
11502
link_all_deplibs_CXX=unknown
11503
old_archive_cmds_CXX=$old_archive_cmds
11504
no_undefined_flag_CXX=
11505
whole_archive_flag_spec_CXX=
11506
enable_shared_with_static_runtimes_CXX=no
11508
# Dependencies to place before and after the object being linked:
11509
predep_objects_CXX=
11510
postdep_objects_CXX=
11513
compiler_lib_search_path_CXX=
11514
compiler_lib_search_dirs_CXX=
11516
# Source file extension for C++ test sources.
11519
# Object file extension for compiled C++ test sources.
11523
# Code to be used in simple compile tests
11524
lt_simple_compile_test_code="int some_variable = 0;"
11526
# Code to be used in simple link tests
11527
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11529
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11531
# If no C compiler was specified, use CC.
11534
# If no C compiler flags were specified, use CFLAGS.
11535
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11537
# Allow CC to be a program name with arguments.
11541
# save warnings/boilerplate of simple test code
11542
ac_outfile=conftest.$ac_objext
11543
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11544
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11545
_lt_compiler_boilerplate=`cat conftest.err`
11548
ac_outfile=conftest.$ac_objext
11549
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11550
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11551
_lt_linker_boilerplate=`cat conftest.err`
11555
# Allow CC to be a program name with arguments.
11560
lt_save_with_gnu_ld=$with_gnu_ld
11561
lt_save_path_LD=$lt_cv_path_LD
11562
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11563
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11565
$as_unset lt_cv_prog_gnu_ld
11567
if test -n "${lt_cv_path_LDCXX+set}"; then
11568
lt_cv_path_LD=$lt_cv_path_LDCXX
11570
$as_unset lt_cv_path_LD
11572
test -z "${LDCXX+set}" || LD=$LDCXX
11576
for cc_temp in $compiler""; do
11578
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11579
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11584
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11587
# We don't want -fno-exception wen compiling C++ code, so set the
11588
# no_builtin_flag separately
11589
if test "$GXX" = yes; then
11590
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11592
lt_prog_compiler_no_builtin_flag_CXX=
11595
if test "$GXX" = yes; then
11596
# Set up default GNU C++ configuration
11599
# Check whether --with-gnu-ld was given.
11600
if test "${with_gnu_ld+set}" = set; then
11601
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11607
if test "$GCC" = yes; then
11608
# Check if gcc -print-prog-name=ld gives a path.
11609
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11610
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11613
# gcc leaves a trailing carriage return which upsets mingw
11614
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11616
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11619
# Accept absolute paths.
11621
re_direlt='/[^/][^/]*/\.\./'
11622
# Canonicalize the pathname of ld
11623
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11624
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11625
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11627
test -z "$LD" && LD="$ac_prog"
11630
# If it fails, then pretend we aren't using GCC.
11634
# If it is relative, then search for the first ld in PATH.
11635
with_gnu_ld=unknown
11638
elif test "$with_gnu_ld" = yes; then
11639
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
11640
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11642
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11643
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11645
if test "${lt_cv_path_LD+set}" = set; then
11646
echo $ECHO_N "(cached) $ECHO_C" >&6
11648
if test -z "$LD"; then
11649
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11650
for ac_dir in $PATH; do
11652
test -z "$ac_dir" && ac_dir=.
11653
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11654
lt_cv_path_LD="$ac_dir/$ac_prog"
11655
# Check to see if the program is GNU ld. I'd rather use --version,
11656
# but apparently some variants of GNU ld only accept -v.
11657
# Break only if it was the GNU/non-GNU ld that we prefer.
11658
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11659
*GNU* | *'with BFD'*)
11660
test "$with_gnu_ld" != no && break
11663
test "$with_gnu_ld" != yes && break
11670
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11674
LD="$lt_cv_path_LD"
11675
if test -n "$LD"; then
11676
{ echo "$as_me:$LINENO: result: $LD" >&5
11677
echo "${ECHO_T}$LD" >&6; }
11679
{ echo "$as_me:$LINENO: result: no" >&5
11680
echo "${ECHO_T}no" >&6; }
11682
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11683
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11684
{ (exit 1); exit 1; }; }
11685
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11686
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11687
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11688
echo $ECHO_N "(cached) $ECHO_C" >&6
11690
# I'd rather use --version here, but apparently some GNU lds only accept -v.
11691
case `$LD -v 2>&1 </dev/null` in
11692
*GNU* | *'with BFD'*)
11693
lt_cv_prog_gnu_ld=yes
11696
lt_cv_prog_gnu_ld=no
11700
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11701
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11702
with_gnu_ld=$lt_cv_prog_gnu_ld
11706
# Check if GNU C++ uses GNU ld as the underlying linker, since the
11707
# archiving commands below assume that GNU ld is being used.
11708
if test "$with_gnu_ld" = yes; then
11709
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11710
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'
11712
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11713
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11715
# If archive_cmds runs LD, not CC, wlarc should be empty
11716
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11717
# investigate it a little bit more. (MM)
11720
# ancient GNU ld didn't support --whole-archive et. al.
11721
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11722
grep 'no-whole-archive' > /dev/null; then
11723
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11725
whole_archive_flag_spec_CXX=
11731
# A generic and very simple default shared library creation
11732
# command for GNU C++ for the case where it uses the native
11733
# linker, instead of GNU ld. If possible, this setting should
11734
# overridden to take advantage of the native linker features on
11735
# the platform it is being used on.
11736
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11739
# Commands to make compiler produce verbose output that lists
11740
# what "hidden" libraries, object files and flags are used when
11741
# linking a shared library.
11742
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11750
# PORTME: fill in a description of your system's C++ link characteristics
11751
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11752
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11756
# FIXME: insert proper C++ library support
11760
if test "$host_cpu" = ia64; then
11761
# On IA64, the linker does run time linking by default, so we don't
11762
# have to do anything special.
11763
aix_use_runtimelinking=no
11764
exp_sym_flag='-Bexport'
11767
aix_use_runtimelinking=no
11769
# Test if we are trying to use run time linking or normal
11770
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11771
# need to do runtime linking.
11772
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11773
for ld_flag in $LDFLAGS; do
11776
aix_use_runtimelinking=yes
11784
exp_sym_flag='-bexport'
11785
no_entry_flag='-bnoentry'
11788
# When large executables or shared objects are built, AIX ld can
11789
# have problems creating the table of contents. If linking a library
11790
# or program results in "error TOC overflow" add -mminimal-toc to
11791
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11792
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11794
archive_cmds_CXX=''
11795
hardcode_direct_CXX=yes
11796
hardcode_libdir_separator_CXX=':'
11797
link_all_deplibs_CXX=yes
11799
if test "$GXX" = yes; then
11800
case $host_os in aix4.[012]|aix4.[012].*)
11801
# We only want to do this on AIX 4.2 and lower, the check
11802
# below for broken collect2 doesn't work under 4.3+
11803
collect2name=`${CC} -print-prog-name=collect2`
11804
if test -f "$collect2name" && \
11805
strings "$collect2name" | grep resolve_lib_name >/dev/null
11807
# We have reworked collect2
11810
# We have old collect2
11811
hardcode_direct_CXX=unsupported
11812
# It fails to find uninstalled libraries when the uninstalled
11813
# path is not listed in the libpath. Setting hardcode_minus_L
11814
# to unsupported forces relinking
11815
hardcode_minus_L_CXX=yes
11816
hardcode_libdir_flag_spec_CXX='-L$libdir'
11817
hardcode_libdir_separator_CXX=
11821
shared_flag='-shared'
11822
if test "$aix_use_runtimelinking" = yes; then
11823
shared_flag="$shared_flag "'${wl}-G'
11827
if test "$host_cpu" = ia64; then
11828
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11829
# chokes on -Wl,-G. The following line is correct:
11832
if test "$aix_use_runtimelinking" = yes; then
11833
shared_flag='${wl}-G'
11835
shared_flag='${wl}-bM:SRE'
11840
# It seems that -bexpall does not export symbols beginning with
11841
# underscore (_), so it is better to generate a list of symbols to export.
11842
always_export_symbols_CXX=yes
11843
if test "$aix_use_runtimelinking" = yes; then
11844
# Warning - without using the other runtime loading flags (-brtl),
11845
# -berok will link without error, but may produce a broken library.
11846
allow_undefined_flag_CXX='-berok'
11847
# Determine the default libpath from the value encoded in an empty executable.
11848
cat >conftest.$ac_ext <<_ACEOF
11851
cat confdefs.h >>conftest.$ac_ext
11852
cat >>conftest.$ac_ext <<_ACEOF
11853
/* end confdefs.h. */
11863
rm -f conftest.$ac_objext conftest$ac_exeext
11864
if { (ac_try="$ac_link"
11865
case "(($ac_try" in
11866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867
*) ac_try_echo=$ac_try;;
11869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11870
(eval "$ac_link") 2>conftest.er1
11872
grep -v '^ *+' conftest.er1 >conftest.err
11874
cat conftest.err >&5
11875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876
(exit $ac_status); } && {
11877
test -z "$ac_cxx_werror_flag" ||
11878
test ! -s conftest.err
11879
} && test -s conftest$ac_exeext &&
11880
$as_test_x conftest$ac_exeext; then
11882
lt_aix_libpath_sed='
11883
/Import File Strings/,/^$/ {
11889
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11890
# Check for a 64-bit object if we didn't find anything.
11891
if test -z "$aix_libpath"; then
11892
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11895
echo "$as_me: failed program was:" >&5
11896
sed 's/^/| /' conftest.$ac_ext >&5
11901
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11902
conftest$ac_exeext conftest.$ac_ext
11903
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11905
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11907
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"
11909
if test "$host_cpu" = ia64; then
11910
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11911
allow_undefined_flag_CXX="-z nodefs"
11912
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"
11914
# Determine the default libpath from the value encoded in an empty executable.
11915
cat >conftest.$ac_ext <<_ACEOF
11918
cat confdefs.h >>conftest.$ac_ext
11919
cat >>conftest.$ac_ext <<_ACEOF
11920
/* end confdefs.h. */
11930
rm -f conftest.$ac_objext conftest$ac_exeext
11931
if { (ac_try="$ac_link"
11932
case "(($ac_try" in
11933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11934
*) ac_try_echo=$ac_try;;
11936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11937
(eval "$ac_link") 2>conftest.er1
11939
grep -v '^ *+' conftest.er1 >conftest.err
11941
cat conftest.err >&5
11942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943
(exit $ac_status); } && {
11944
test -z "$ac_cxx_werror_flag" ||
11945
test ! -s conftest.err
11946
} && test -s conftest$ac_exeext &&
11947
$as_test_x conftest$ac_exeext; then
11949
lt_aix_libpath_sed='
11950
/Import File Strings/,/^$/ {
11956
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11957
# Check for a 64-bit object if we didn't find anything.
11958
if test -z "$aix_libpath"; then
11959
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11962
echo "$as_me: failed program was:" >&5
11963
sed 's/^/| /' conftest.$ac_ext >&5
11968
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11969
conftest$ac_exeext conftest.$ac_ext
11970
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11972
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11973
# Warning - without using the other run time loading flags,
11974
# -berok will link without error, but may produce a broken library.
11975
no_undefined_flag_CXX=' ${wl}-bernotok'
11976
allow_undefined_flag_CXX=' ${wl}-berok'
11977
# Exported symbols can be pulled into shared objects from archives
11978
whole_archive_flag_spec_CXX='$convenience'
11979
archive_cmds_need_lc_CXX=yes
11980
# This is similar to how AIX traditionally builds its shared libraries.
11981
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'
11987
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11988
allow_undefined_flag_CXX=unsupported
11989
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11990
# support --undefined. This deserves some investigation. FIXME
11991
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11998
case $cc_basename in
12000
# FIXME: insert proper C++ library support
12006
cygwin* | mingw* | pw32*)
12007
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12008
# as there is no search path for DLLs.
12009
hardcode_libdir_flag_spec_CXX='-L$libdir'
12010
allow_undefined_flag_CXX=unsupported
12011
always_export_symbols_CXX=no
12012
enable_shared_with_static_runtimes_CXX=yes
12014
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12015
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'
12016
# If the export-symbols file already is a .def file (1st line
12017
# is EXPORTS), use it as is; otherwise, prepend...
12018
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12019
cp $export_symbols $output_objdir/$soname.def;
12021
echo EXPORTS > $output_objdir/$soname.def;
12022
cat $export_symbols >> $output_objdir/$soname.def;
12024
$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'
12029
darwin* | rhapsody*)
12030
archive_cmds_need_lc_CXX=no
12031
hardcode_direct_CXX=no
12032
hardcode_automatic_CXX=yes
12033
hardcode_shlibpath_var_CXX=unsupported
12034
whole_archive_flag_spec_CXX=''
12035
link_all_deplibs_CXX=yes
12036
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12037
if test "$GXX" = yes ; then
12038
output_verbose_link_cmd='echo'
12039
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}"
12040
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12041
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}"
12042
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}"
12043
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12044
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}"
12045
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}"
12048
case $cc_basename in
12050
output_verbose_link_cmd='echo'
12051
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'
12052
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12053
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12054
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}'
12055
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}'
12065
case $cc_basename in
12067
# FIXME: insert proper C++ library support
12071
# Green Hills C++ Compiler
12072
# FIXME: insert proper C++ library support
12076
# FIXME: insert proper C++ library support
12082
# C++ shared libraries reported to be fairly broken before switch to ELF
12086
archive_cmds_need_lc_CXX=no
12088
freebsd* | dragonfly*)
12089
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12096
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12097
hardcode_libdir_separator_CXX=:
12098
export_dynamic_flag_spec_CXX='${wl}-E'
12099
hardcode_direct_CXX=yes
12100
hardcode_minus_L_CXX=yes # Not in the search PATH,
12101
# but as the default
12102
# location of the library.
12104
case $cc_basename in
12106
# FIXME: insert proper C++ library support
12110
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'
12111
# Commands to make compiler produce verbose output that lists
12112
# what "hidden" libraries, object files and flags are used when
12113
# linking a shared library.
12115
# There doesn't appear to be a way to prevent this compiler from
12116
# explicitly linking system object files so we need to strip them
12117
# from the output so that they don't get included in the library
12119
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'
12122
if test "$GXX" = yes; then
12123
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'
12125
# FIXME: insert proper C++ library support
12132
if test $with_gnu_ld = no; then
12133
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12134
hardcode_libdir_separator_CXX=:
12139
export_dynamic_flag_spec_CXX='${wl}-E'
12145
hardcode_direct_CXX=no
12146
hardcode_shlibpath_var_CXX=no
12149
hardcode_direct_CXX=yes
12150
hardcode_minus_L_CXX=yes # Not in the search PATH,
12151
# but as the default
12152
# location of the library.
12156
case $cc_basename in
12158
# FIXME: insert proper C++ library support
12164
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12167
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12170
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12173
# Commands to make compiler produce verbose output that lists
12174
# what "hidden" libraries, object files and flags are used when
12175
# linking a shared library.
12177
# There doesn't appear to be a way to prevent this compiler from
12178
# explicitly linking system object files so we need to strip them
12179
# from the output so that they don't get included in the library
12181
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'
12184
if test "$GXX" = yes; then
12185
if test $with_gnu_ld = no; then
12188
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12191
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12194
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'
12199
# FIXME: insert proper C++ library support
12206
hardcode_direct_CXX=no
12207
hardcode_shlibpath_var_CXX=no
12208
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12209
export_dynamic_flag_spec_CXX='${wl}-E'
12210
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12211
# Instead, shared libraries are loaded at an image base (0x10000000 by
12212
# default) and relocated if they conflict, which is a slow very memory
12213
# consuming and fragmenting process. To avoid this, we pick a random,
12214
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12215
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12216
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'
12217
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'
12220
case $cc_basename in
12223
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'
12225
# Archives containing C++ object files must be created using
12226
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12227
# necessary to make sure instantiated templates are included
12229
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12232
if test "$GXX" = yes; then
12233
if test "$with_gnu_ld" = no; then
12234
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'
12236
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'
12239
link_all_deplibs_CXX=yes
12242
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12243
hardcode_libdir_separator_CXX=:
12245
linux* | k*bsd*-gnu)
12246
case $cc_basename in
12248
# Kuck and Associates, Inc. (KAI) C++ Compiler
12250
# KCC will only create a shared library if the output file
12251
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12252
# to its proper name (with version) after linking.
12253
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'
12254
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'
12255
# Commands to make compiler produce verbose output that lists
12256
# what "hidden" libraries, object files and flags are used when
12257
# linking a shared library.
12259
# There doesn't appear to be a way to prevent this compiler from
12260
# explicitly linking system object files so we need to strip them
12261
# from the output so that they don't get included in the library
12263
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'
12265
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12266
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12268
# Archives containing C++ object files must be created using
12269
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12270
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12275
# version 8.0 and above of icpc choke on multiply defined symbols
12276
# if we add $predep_objects and $postdep_objects, however 7.1 and
12277
# earlier do not add the objects themselves.
12278
case `$CC -V 2>&1` in
12280
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12281
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'
12283
*) # Version 8.0 or newer
12286
ia64*) tmp_idyn=' -i_dynamic';;
12288
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289
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'
12292
archive_cmds_need_lc_CXX=no
12293
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12294
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12295
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12298
# Portland Group C++ compiler
12299
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12300
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'
12302
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12303
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12304
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'
12308
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309
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'
12311
runpath_var=LD_RUN_PATH
12312
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12313
hardcode_libdir_separator_CXX=:
12315
# Commands to make compiler produce verbose output that lists
12316
# what "hidden" libraries, object files and flags are used when
12317
# linking a shared library.
12319
# There doesn't appear to be a way to prevent this compiler from
12320
# explicitly linking system object files so we need to strip them
12321
# from the output so that they don't get included in the library
12323
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'
12326
case `$CC -V 2>&1 | sed 5q` in
12329
no_undefined_flag_CXX=' -zdefs'
12330
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12331
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'
12332
hardcode_libdir_flag_spec_CXX='-R$libdir'
12333
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'
12335
# Not sure whether something based on
12336
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12338
output_verbose_link_cmd='echo'
12340
# Archives containing C++ object files must be created using
12341
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12342
# necessary to make sure instantiated templates are included
12344
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12351
# FIXME: insert proper C++ library support
12355
# FIXME: insert proper C++ library support
12359
case $cc_basename in
12361
# FIXME: insert proper C++ library support
12365
# FIXME: insert proper C++ library support
12370
netbsd* | netbsdelf*-gnu)
12371
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12372
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12374
hardcode_libdir_flag_spec_CXX='-R$libdir'
12375
hardcode_direct_CXX=yes
12376
hardcode_shlibpath_var_CXX=no
12378
# Workaround some broken pre-1.5 toolchains
12379
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12382
# C++ shared libraries are fairly broken
12386
if test -f /usr/libexec/ld.so; then
12387
hardcode_direct_CXX=yes
12388
hardcode_shlibpath_var_CXX=no
12389
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12390
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12391
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12392
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12393
export_dynamic_flag_spec_CXX='${wl}-E'
12394
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12396
output_verbose_link_cmd='echo'
12402
case $cc_basename in
12404
# Kuck and Associates, Inc. (KAI) C++ Compiler
12406
# KCC will only create a shared library if the output file
12407
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12408
# to its proper name (with version) after linking.
12409
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'
12411
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12412
hardcode_libdir_separator_CXX=:
12414
# Archives containing C++ object files must be created using
12415
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12416
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12420
# Rational C++ 2.4.1
12421
# FIXME: insert proper C++ library support
12425
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12426
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'
12428
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12429
hardcode_libdir_separator_CXX=:
12431
# Commands to make compiler produce verbose output that lists
12432
# what "hidden" libraries, object files and flags are used when
12433
# linking a shared library.
12435
# There doesn't appear to be a way to prevent this compiler from
12436
# explicitly linking system object files so we need to strip them
12437
# from the output so that they don't get included in the library
12439
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'
12442
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12443
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12444
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'
12446
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12447
hardcode_libdir_separator_CXX=:
12449
# Commands to make compiler produce verbose output that lists
12450
# what "hidden" libraries, object files and flags are used when
12451
# linking a shared library.
12452
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12455
# FIXME: insert proper C++ library support
12462
case $cc_basename in
12464
# Kuck and Associates, Inc. (KAI) C++ Compiler
12466
# KCC will only create a shared library if the output file
12467
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12468
# to its proper name (with version) after linking.
12469
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'
12471
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12472
hardcode_libdir_separator_CXX=:
12474
# Archives containing C++ object files must be created using
12475
# the KAI C++ compiler.
12476
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12479
# Rational C++ 2.4.1
12480
# FIXME: insert proper C++ library support
12484
allow_undefined_flag_CXX=' -expect_unresolved \*'
12485
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'
12486
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12487
echo "-hidden">> $lib.exp~
12488
$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~
12491
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12492
hardcode_libdir_separator_CXX=:
12494
# Commands to make compiler produce verbose output that lists
12495
# what "hidden" libraries, object files and flags are used when
12496
# linking a shared library.
12498
# There doesn't appear to be a way to prevent this compiler from
12499
# explicitly linking system object files so we need to strip them
12500
# from the output so that they don't get included in the library
12502
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'
12505
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12506
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12507
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'
12509
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12510
hardcode_libdir_separator_CXX=:
12512
# Commands to make compiler produce verbose output that lists
12513
# what "hidden" libraries, object files and flags are used when
12514
# linking a shared library.
12515
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12518
# FIXME: insert proper C++ library support
12525
# FIXME: insert proper C++ library support
12529
case $cc_basename in
12532
# FIXME: insert proper C++ library support
12537
# FIXME: insert proper C++ library support
12541
# FIXME: insert proper C++ library support
12547
case $cc_basename in
12549
# Sun C++ 4.2, 5.x and Centerline C++
12550
archive_cmds_need_lc_CXX=yes
12551
no_undefined_flag_CXX=' -zdefs'
12552
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12553
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12554
$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'
12556
hardcode_libdir_flag_spec_CXX='-R$libdir'
12557
hardcode_shlibpath_var_CXX=no
12559
solaris2.[0-5] | solaris2.[0-5].*) ;;
12561
# The compiler driver will combine and reorder linker options,
12562
# but understands `-z linker_flag'.
12563
# Supported since Solaris 2.6 (maybe 2.5.1?)
12564
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12567
link_all_deplibs_CXX=yes
12569
output_verbose_link_cmd='echo'
12571
# Archives containing C++ object files must be created using
12572
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12573
# necessary to make sure instantiated templates are included
12575
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12578
# Green Hills C++ Compiler
12579
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12581
# The C++ compiler must be used to create the archive.
12582
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12585
# GNU C++ compiler with Solaris linker
12586
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12587
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12588
if $CC --version | grep -v '^2\.7' > /dev/null; then
12589
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12590
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12591
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12593
# Commands to make compiler produce verbose output that lists
12594
# what "hidden" libraries, object files and flags are used when
12595
# linking a shared library.
12596
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12598
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12600
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12601
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12602
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12604
# Commands to make compiler produce verbose output that lists
12605
# what "hidden" libraries, object files and flags are used when
12606
# linking a shared library.
12607
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12610
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12612
solaris2.[0-5] | solaris2.[0-5].*) ;;
12614
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12621
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12622
no_undefined_flag_CXX='${wl}-z,text'
12623
archive_cmds_need_lc_CXX=no
12624
hardcode_shlibpath_var_CXX=no
12625
runpath_var='LD_RUN_PATH'
12627
case $cc_basename in
12629
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12630
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12633
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12634
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12638
sysv5* | sco3.2v5* | sco5v6*)
12639
# Note: We can NOT use -z defs as we might desire, because we do not
12640
# link with -lc, and that would cause any symbols used from libc to
12641
# always be unresolved, which means just about no library would
12642
# ever link correctly. If we're not using GNU ld we use -z text
12643
# though, which does catch some bad symbols but isn't as heavy-handed
12645
# For security reasons, it is highly recommended that you always
12646
# use absolute paths for naming shared libraries, and exclude the
12647
# DT_RUNPATH tag from executables and libraries. But doing so
12648
# requires that you compile everything twice, which is a pain.
12649
# So that behaviour is only enabled if SCOABSPATH is set to a
12650
# non-empty value in the environment. Most likely only useful for
12651
# creating official distributions of packages.
12652
# This is a hack until libtool officially supports absolute path
12653
# names for shared libraries.
12654
no_undefined_flag_CXX='${wl}-z,text'
12655
allow_undefined_flag_CXX='${wl}-z,nodefs'
12656
archive_cmds_need_lc_CXX=no
12657
hardcode_shlibpath_var_CXX=no
12658
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12659
hardcode_libdir_separator_CXX=':'
12660
link_all_deplibs_CXX=yes
12661
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12662
runpath_var='LD_RUN_PATH'
12664
case $cc_basename in
12666
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12667
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12670
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12671
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12676
case $cc_basename in
12678
# NonStop-UX NCC 3.20
12679
# FIXME: insert proper C++ library support
12683
# FIXME: insert proper C++ library support
12689
# FIXME: insert proper C++ library support
12693
# FIXME: insert proper C++ library support
12697
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12698
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12699
test "$ld_shlibs_CXX" = no && can_build_shared=no
12704
cat > conftest.$ac_ext <<EOF
12708
Foo (void) { a = 0; }
12714
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12715
(eval $ac_compile) 2>&5
12717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718
(exit $ac_status); }; then
12719
# Parse the compiler output and extract the necessary
12720
# objects, libraries and library flags.
12722
# Sentinel used to keep track of whether or not we are before
12723
# the conftest object file.
12724
pre_test_object_deps_done=no
12726
# The `*' in the case matches for architectures that use `case' in
12727
# $output_verbose_cmd can trigger glob expansion during the loop
12728
# eval without this substitution.
12729
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12731
for p in `eval $output_verbose_link_cmd`; do
12735
# Some compilers place space between "-{L,R}" and the path.
12736
# Remove the space.
12737
if test $p = "-L" \
12738
|| test $p = "-R"; then
12745
if test "$pre_test_object_deps_done" = no; then
12748
# Internal compiler library paths should come after those
12749
# provided the user. The postdeps already come after the
12750
# user supplied libs so there is no need to process them.
12751
if test -z "$compiler_lib_search_path_CXX"; then
12752
compiler_lib_search_path_CXX="${prev}${p}"
12754
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12757
# The "-l" case would never come before the object being
12758
# linked, so don't bother handling this case.
12761
if test -z "$postdeps_CXX"; then
12762
postdeps_CXX="${prev}${p}"
12764
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12770
# This assumes that the test object file only shows up
12771
# once in the compiler output.
12772
if test "$p" = "conftest.$objext"; then
12773
pre_test_object_deps_done=yes
12777
if test "$pre_test_object_deps_done" = no; then
12778
if test -z "$predep_objects_CXX"; then
12779
predep_objects_CXX="$p"
12781
predep_objects_CXX="$predep_objects_CXX $p"
12784
if test -z "$postdep_objects_CXX"; then
12785
postdep_objects_CXX="$p"
12787
postdep_objects_CXX="$postdep_objects_CXX $p"
12792
*) ;; # Ignore the rest.
12800
echo "libtool.m4: error: problem compiling CXX test program"
12803
$rm -f confest.$objext
12805
compiler_lib_search_dirs_CXX=
12806
if test -n "$compiler_lib_search_path_CXX"; then
12807
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12810
# PORTME: override above test on systems where it is broken
12813
# Interix 3.5 installs completely hosed .la files for C++, so rather than
12814
# hack all around it, let's just trust "g++" to DTRT.
12815
predep_objects_CXX=
12816
postdep_objects_CXX=
12821
case `$CC -V 2>&1 | sed 5q` in
12825
# The more standards-conforming stlport4 library is
12826
# incompatible with the Cstd library. Avoid specifying
12827
# it if it's in CXXFLAGS. Ignore libCrun as
12828
# -library=stlport4 depends on it.
12829
case " $CXX $CXXFLAGS " in
12830
*" -library=stlport4 "*)
12831
solaris_use_stlport4=yes
12834
if test "$solaris_use_stlport4" != yes; then
12835
postdeps_CXX='-library=Cstd -library=Crun'
12842
case $cc_basename in
12844
# The more standards-conforming stlport4 library is
12845
# incompatible with the Cstd library. Avoid specifying
12846
# it if it's in CXXFLAGS. Ignore libCrun as
12847
# -library=stlport4 depends on it.
12848
case " $CXX $CXXFLAGS " in
12849
*" -library=stlport4 "*)
12850
solaris_use_stlport4=yes
12854
# Adding this requires a known-good setup of shared libraries for
12855
# Sun compiler versions before 5.6, else PIC objects from an old
12856
# archive will be linked into the output, leading to subtle bugs.
12857
if test "$solaris_use_stlport4" != yes; then
12858
postdeps_CXX='-library=Cstd -library=Crun'
12865
case " $postdeps_CXX " in
12866
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12869
lt_prog_compiler_wl_CXX=
12870
lt_prog_compiler_pic_CXX=
12871
lt_prog_compiler_static_CXX=
12873
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12874
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12876
# C++ specific cases for pic, static, wl, etc.
12877
if test "$GXX" = yes; then
12878
lt_prog_compiler_wl_CXX='-Wl,'
12879
lt_prog_compiler_static_CXX='-static'
12883
# All AIX code is PIC.
12884
if test "$host_cpu" = ia64; then
12885
# AIX 5 now supports IA64 processor
12886
lt_prog_compiler_static_CXX='-Bstatic'
12890
# FIXME: we need at least 68020 code to build shared libraries, but
12891
# adding the `-m68020' flag to GCC prevents building anything better,
12893
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12895
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12896
# PIC is the default for these OSes.
12898
mingw* | cygwin* | os2* | pw32*)
12899
# This hack is so that the source file can tell whether it is being
12900
# built for inclusion in a dll (and should export symbols for example).
12901
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12902
# (--disable-auto-import) libraries
12903
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12905
darwin* | rhapsody*)
12906
# PIC is the default on this platform
12907
# Common symbols not allowed in MH_DYLIB files
12908
lt_prog_compiler_pic_CXX='-fno-common'
12911
# DJGPP does not support shared libraries at all
12912
lt_prog_compiler_pic_CXX=
12915
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12916
# Instead, we relocate shared libraries at runtime.
12919
if test -d /usr/nec; then
12920
lt_prog_compiler_pic_CXX=-Kconform_pic
12924
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12925
# not for PA HP-UX.
12930
lt_prog_compiler_pic_CXX='-fPIC'
12935
lt_prog_compiler_pic_CXX='-fPIC'
12941
# All AIX code is PIC.
12942
if test "$host_cpu" = ia64; then
12943
# AIX 5 now supports IA64 processor
12944
lt_prog_compiler_static_CXX='-Bstatic'
12946
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12950
case $cc_basename in
12952
# Green Hills C++ Compiler
12953
# _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"
12958
# PIC is the default on this platform
12959
# Common symbols not allowed in MH_DYLIB files
12960
case $cc_basename in
12962
lt_prog_compiler_pic_CXX='-qnocommon'
12963
lt_prog_compiler_wl_CXX='-Wl,'
12968
case $cc_basename in
12970
lt_prog_compiler_pic_CXX='-KPIC'
12973
# Green Hills C++ Compiler
12974
lt_prog_compiler_pic_CXX='-pic'
12980
freebsd* | dragonfly*)
12981
# FreeBSD uses GNU C++
12983
hpux9* | hpux10* | hpux11*)
12984
case $cc_basename in
12986
lt_prog_compiler_wl_CXX='-Wl,'
12987
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12988
if test "$host_cpu" != ia64; then
12989
lt_prog_compiler_pic_CXX='+Z'
12993
lt_prog_compiler_wl_CXX='-Wl,'
12994
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13000
lt_prog_compiler_pic_CXX='+Z'
13009
# This is c89, which is MS Visual C++ (no shared libs)
13010
# Anyone wants to do a port?
13012
irix5* | irix6* | nonstopux*)
13013
case $cc_basename in
13015
lt_prog_compiler_wl_CXX='-Wl,'
13016
lt_prog_compiler_static_CXX='-non_shared'
13017
# CC pic flag -KPIC is the default.
13023
linux* | k*bsd*-gnu)
13024
case $cc_basename in
13027
lt_prog_compiler_wl_CXX='--backend -Wl,'
13028
lt_prog_compiler_pic_CXX='-fPIC'
13032
lt_prog_compiler_wl_CXX='-Wl,'
13033
lt_prog_compiler_pic_CXX='-KPIC'
13034
lt_prog_compiler_static_CXX='-static'
13037
# Portland Group C++ compiler.
13038
lt_prog_compiler_wl_CXX='-Wl,'
13039
lt_prog_compiler_pic_CXX='-fpic'
13040
lt_prog_compiler_static_CXX='-Bstatic'
13044
# Make sure the PIC flag is empty. It appears that all Alpha
13045
# Linux and Compaq Tru64 Unix objects are PIC.
13046
lt_prog_compiler_pic_CXX=
13047
lt_prog_compiler_static_CXX='-non_shared'
13050
case `$CC -V 2>&1 | sed 5q` in
13053
lt_prog_compiler_pic_CXX='-KPIC'
13054
lt_prog_compiler_static_CXX='-Bstatic'
13055
lt_prog_compiler_wl_CXX='-Qoption ld '
13066
case $cc_basename in
13068
lt_prog_compiler_pic_CXX='-W c,exportall'
13074
netbsd* | netbsdelf*-gnu)
13076
osf3* | osf4* | osf5*)
13077
case $cc_basename in
13079
lt_prog_compiler_wl_CXX='--backend -Wl,'
13082
# Rational C++ 2.4.1
13083
lt_prog_compiler_pic_CXX='-pic'
13086
# Digital/Compaq C++
13087
lt_prog_compiler_wl_CXX='-Wl,'
13088
# Make sure the PIC flag is empty. It appears that all Alpha
13089
# Linux and Compaq Tru64 Unix objects are PIC.
13090
lt_prog_compiler_pic_CXX=
13091
lt_prog_compiler_static_CXX='-non_shared'
13100
case $cc_basename in
13102
# Sun C++ 4.2, 5.x and Centerline C++
13103
lt_prog_compiler_pic_CXX='-KPIC'
13104
lt_prog_compiler_static_CXX='-Bstatic'
13105
lt_prog_compiler_wl_CXX='-Qoption ld '
13108
# Green Hills C++ Compiler
13109
lt_prog_compiler_pic_CXX='-PIC'
13116
case $cc_basename in
13119
lt_prog_compiler_pic_CXX='-pic'
13120
lt_prog_compiler_static_CXX='-Bstatic'
13124
lt_prog_compiler_pic_CXX='-pic'
13131
case $cc_basename in
13133
# NonStop-UX NCC 3.20
13134
lt_prog_compiler_pic_CXX='-KPIC'
13140
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13141
case $cc_basename in
13143
lt_prog_compiler_wl_CXX='-Wl,'
13144
lt_prog_compiler_pic_CXX='-KPIC'
13145
lt_prog_compiler_static_CXX='-Bstatic'
13152
lt_prog_compiler_can_build_shared_CXX=no
13157
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13158
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13161
# Check to make sure the PIC flag actually works.
13163
if test -n "$lt_prog_compiler_pic_CXX"; then
13165
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13166
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13167
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13168
echo $ECHO_N "(cached) $ECHO_C" >&6
13170
lt_cv_prog_compiler_pic_works_CXX=no
13171
ac_outfile=conftest.$ac_objext
13172
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13173
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13174
# Insert the option either (1) after the last *FLAGS variable, or
13175
# (2) before a word containing "conftest.", or (3) at the end.
13176
# Note that $ac_compile itself does not contain backslashes and begins
13177
# with a dollar sign (not a hyphen), so the echo should work correctly.
13178
# The option is referenced via a variable to avoid confusing sed.
13179
lt_compile=`echo "$ac_compile" | $SED \
13180
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13181
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13182
-e 's:$: $lt_compiler_flag:'`
13183
(eval echo "\"\$as_me:13183: $lt_compile\"" >&5)
13184
(eval "$lt_compile" 2>conftest.err)
13186
cat conftest.err >&5
13187
echo "$as_me:13187: \$? = $ac_status" >&5
13188
if (exit $ac_status) && test -s "$ac_outfile"; then
13189
# The compiler can only warn and ignore the option if not recognized
13190
# So say no if there are warnings other than the usual output.
13191
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13192
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13193
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13194
lt_cv_prog_compiler_pic_works_CXX=yes
13200
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13201
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13203
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13204
case $lt_prog_compiler_pic_CXX in
13206
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13209
lt_prog_compiler_pic_CXX=
13210
lt_prog_compiler_can_build_shared_CXX=no
13215
# For platforms which do not support PIC, -DPIC is meaningless:
13217
lt_prog_compiler_pic_CXX=
13220
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13225
# Check to make sure the static flag actually works.
13227
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13228
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13229
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13230
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13231
echo $ECHO_N "(cached) $ECHO_C" >&6
13233
lt_cv_prog_compiler_static_works_CXX=no
13234
save_LDFLAGS="$LDFLAGS"
13235
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13236
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13237
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13238
# The linker can only warn and ignore the option if not recognized
13239
# So say no if there are warnings
13240
if test -s conftest.err; then
13241
# Append any errors to the config.log.
13242
cat conftest.err 1>&5
13243
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13244
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13245
if diff conftest.exp conftest.er2 >/dev/null; then
13246
lt_cv_prog_compiler_static_works_CXX=yes
13249
lt_cv_prog_compiler_static_works_CXX=yes
13253
LDFLAGS="$save_LDFLAGS"
13256
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13257
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13259
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13262
lt_prog_compiler_static_CXX=
13266
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13267
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13268
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13269
echo $ECHO_N "(cached) $ECHO_C" >&6
13271
lt_cv_prog_compiler_c_o_CXX=no
13272
$rm -r conftest 2>/dev/null
13276
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13278
lt_compiler_flag="-o out/conftest2.$ac_objext"
13279
# Insert the option either (1) after the last *FLAGS variable, or
13280
# (2) before a word containing "conftest.", or (3) at the end.
13281
# Note that $ac_compile itself does not contain backslashes and begins
13282
# with a dollar sign (not a hyphen), so the echo should work correctly.
13283
lt_compile=`echo "$ac_compile" | $SED \
13284
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13285
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13286
-e 's:$: $lt_compiler_flag:'`
13287
(eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13288
(eval "$lt_compile" 2>out/conftest.err)
13290
cat out/conftest.err >&5
13291
echo "$as_me:13291: \$? = $ac_status" >&5
13292
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13294
# The compiler can only warn and ignore the option if not recognized
13295
# So say no if there are warnings
13296
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13297
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13298
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13299
lt_cv_prog_compiler_c_o_CXX=yes
13304
# SGI C++ compiler will create directory out/ii_files/ for
13305
# template instantiation
13306
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13307
$rm out/* && rmdir out
13313
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13314
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13317
hard_links="nottested"
13318
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13319
# do not overwrite the value of need_locks provided by the user
13320
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13321
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13324
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13326
ln conftest.a conftest.b 2>&5 || hard_links=no
13327
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13328
{ echo "$as_me:$LINENO: result: $hard_links" >&5
13329
echo "${ECHO_T}$hard_links" >&6; }
13330
if test "$hard_links" = no; then
13331
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13332
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13339
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13340
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13342
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13345
# If we're using GNU nm, then we don't want the "-C" option.
13346
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13347
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13348
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'
13350
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'
13354
export_symbols_cmds_CXX="$ltdll_cmds"
13357
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'
13359
linux* | k*bsd*-gnu)
13360
link_all_deplibs_CXX=no
13363
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13366
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13368
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13369
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13370
test "$ld_shlibs_CXX" = no && can_build_shared=no
13373
# Do we need to explicitly link libc?
13375
case "x$archive_cmds_need_lc_CXX" in
13377
# Assume -lc should be added
13378
archive_cmds_need_lc_CXX=yes
13380
if test "$enable_shared" = yes && test "$GCC" = yes; then
13381
case $archive_cmds_CXX in
13383
# FIXME: we may have to deal with multi-command sequences.
13386
# Test whether the compiler implicitly links with -lc since on some
13387
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13388
# to ld, don't add -lc before -lgcc.
13389
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13390
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13392
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13394
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13395
(eval $ac_compile) 2>&5
13397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398
(exit $ac_status); } 2>conftest.err; then
13401
libobjs=conftest.$ac_objext
13403
wl=$lt_prog_compiler_wl_CXX
13404
pic_flag=$lt_prog_compiler_pic_CXX
13410
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13411
allow_undefined_flag_CXX=
13412
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13413
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416
(exit $ac_status); }
13418
archive_cmds_need_lc_CXX=no
13420
archive_cmds_need_lc_CXX=yes
13422
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13424
cat conftest.err 1>&5
13427
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13428
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13435
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13436
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13437
library_names_spec=
13438
libname_spec='lib$name'
13442
postuninstall_cmds=
13446
shlibpath_overrides_runpath=unknown
13448
dynamic_linker="$host_os ld.so"
13449
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13451
need_lib_prefix=unknown
13452
hardcode_into_libs=no
13454
# when you set need_version to no, make sure it does not cause -set_version
13455
# flags to be left without arguments
13456
need_version=unknown
13461
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13462
shlibpath_var=LIBPATH
13464
# AIX 3 has no versioning support, so we append a major version to the name.
13465
soname_spec='${libname}${release}${shared_ext}$major'
13472
hardcode_into_libs=yes
13473
if test "$host_cpu" = ia64; then
13474
# AIX 5 supports IA64
13475
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13476
shlibpath_var=LD_LIBRARY_PATH
13478
# With GCC up to 2.95.x, collect2 would create an import file
13479
# for dependence libraries. The import file would start with
13480
# the line `#! .'. This would cause the generated library to
13481
# depend on `.', always an invalid library. This was fixed in
13482
# development snapshots of GCC prior to 3.0.
13484
aix4 | aix4.[01] | aix4.[01].*)
13485
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13487
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13490
can_build_shared=no
13494
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13495
# soname into executable. Probably we can add versioning support to
13496
# collect2, so additional links can be useful in future.
13497
if test "$aix_use_runtimelinking" = yes; then
13498
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13499
# instead of lib<name>.a to let people know that these are not
13500
# typical AIX shared libraries.
13501
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503
# We preserve .a as extension for shared libraries through AIX4.2
13504
# and later when we are not doing run time linking.
13505
library_names_spec='${libname}${release}.a $libname.a'
13506
soname_spec='${libname}${release}${shared_ext}$major'
13508
shlibpath_var=LIBPATH
13513
library_names_spec='$libname.ixlibrary $libname.a'
13514
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13515
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'
13519
library_names_spec='${libname}${shared_ext}'
13520
dynamic_linker="$host_os ld.so"
13521
shlibpath_var=LIBRARY_PATH
13527
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13528
soname_spec='${libname}${release}${shared_ext}$major'
13529
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13530
shlibpath_var=LD_LIBRARY_PATH
13531
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13532
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13533
# the default ld.so.conf also contains /usr/contrib/lib and
13534
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13535
# libtool to hard-code these into programs
13538
cygwin* | mingw* | pw32*)
13539
version_type=windows
13544
case $GCC,$host_os in
13545
yes,cygwin* | yes,mingw* | yes,pw32*)
13546
library_names_spec='$libname.dll.a'
13547
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13548
postinstall_cmds='base_file=`basename \${file}`~
13549
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13550
dldir=$destdir/`dirname \$dlpath`~
13551
test -d \$dldir || mkdir -p \$dldir~
13552
$install_prog $dir/$dlname \$dldir/$dlname~
13553
chmod a+x \$dldir/$dlname'
13554
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13555
dlpath=$dir/\$dldll~
13557
shlibpath_overrides_runpath=yes
13561
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13562
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13566
# MinGW DLLs use traditional 'lib' prefix
13567
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13568
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13569
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13570
# It is most probably a Windows format PATH printed by
13571
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13572
# path with ; separators, and with drive letters. We can handle the
13573
# drive letters (cygwin fileutils understands them), so leave them,
13574
# especially as we might pass files found there to a mingw objdump,
13575
# which wouldn't understand a cygwinified path. Ahh.
13576
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13578
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13582
# pw32 DLLs use 'pw' prefix rather than 'lib'
13583
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13589
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13592
dynamic_linker='Win32 ld.exe'
13593
# FIXME: first we should search . and the directory the executable is in
13597
darwin* | rhapsody*)
13598
dynamic_linker="$host_os dyld"
13599
version_type=darwin
13602
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13603
soname_spec='${libname}${release}${major}$shared_ext'
13604
shlibpath_overrides_runpath=yes
13605
shlibpath_var=DYLD_LIBRARY_PATH
13606
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13608
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13615
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13616
soname_spec='${libname}${release}${shared_ext}$major'
13617
shlibpath_var=LD_LIBRARY_PATH
13624
freebsd* | dragonfly*)
13625
# DragonFly does not have aout. When/if they implement a new
13626
# versioning mechanism, adjust this.
13627
if test -x /usr/bin/objformat; then
13628
objformat=`/usr/bin/objformat`
13631
freebsd[123]*) objformat=aout ;;
13632
*) objformat=elf ;;
13635
version_type=freebsd-$objformat
13636
case $version_type in
13638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13643
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13647
shlibpath_var=LD_LIBRARY_PATH
13650
shlibpath_overrides_runpath=yes
13652
freebsd3.[01]* | freebsdelf3.[01]*)
13653
shlibpath_overrides_runpath=yes
13654
hardcode_into_libs=yes
13656
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13657
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13658
shlibpath_overrides_runpath=no
13659
hardcode_into_libs=yes
13661
*) # from 4.6 on, and DragonFly
13662
shlibpath_overrides_runpath=yes
13663
hardcode_into_libs=yes
13672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13673
soname_spec='${libname}${release}${shared_ext}$major'
13674
shlibpath_var=LD_LIBRARY_PATH
13675
hardcode_into_libs=yes
13678
hpux9* | hpux10* | hpux11*)
13679
# Give a soname corresponding to the major version so that dld.sl refuses to
13680
# link against other versions.
13687
hardcode_into_libs=yes
13688
dynamic_linker="$host_os dld.so"
13689
shlibpath_var=LD_LIBRARY_PATH
13690
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13691
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13692
soname_spec='${libname}${release}${shared_ext}$major'
13693
if test "X$HPUX_IA64_MODE" = X32; then
13694
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13696
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13698
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13702
hardcode_into_libs=yes
13703
dynamic_linker="$host_os dld.sl"
13704
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13705
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13706
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707
soname_spec='${libname}${release}${shared_ext}$major'
13708
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13709
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13713
dynamic_linker="$host_os dld.sl"
13714
shlibpath_var=SHLIB_PATH
13715
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13716
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13717
soname_spec='${libname}${release}${shared_ext}$major'
13720
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13721
postinstall_cmds='chmod 555 $lib'
13728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13729
soname_spec='${libname}${release}${shared_ext}$major'
13730
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13731
shlibpath_var=LD_LIBRARY_PATH
13732
shlibpath_overrides_runpath=no
13733
hardcode_into_libs=yes
13736
irix5* | irix6* | nonstopux*)
13738
nonstopux*) version_type=nonstopux ;;
13740
if test "$lt_cv_prog_gnu_ld" = yes; then
13748
soname_spec='${libname}${release}${shared_ext}$major'
13749
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13751
irix5* | nonstopux*)
13752
libsuff= shlibsuff=
13755
case $LD in # libtool.m4 will add one of these switches to LD
13756
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13757
libsuff= shlibsuff= libmagic=32-bit;;
13758
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13759
libsuff=32 shlibsuff=N32 libmagic=N32;;
13760
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13761
libsuff=64 shlibsuff=64 libmagic=64-bit;;
13762
*) libsuff= shlibsuff= libmagic=never-match;;
13766
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13767
shlibpath_overrides_runpath=no
13768
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13769
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13770
hardcode_into_libs=yes
13773
# No shared lib support for Linux oldld, aout, or coff.
13774
linux*oldld* | linux*aout* | linux*coff*)
13778
# This must be Linux ELF.
13779
linux* | k*bsd*-gnu)
13783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784
soname_spec='${libname}${release}${shared_ext}$major'
13785
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13786
shlibpath_var=LD_LIBRARY_PATH
13787
shlibpath_overrides_runpath=no
13788
# This implies no fast_install, which is unacceptable.
13789
# Some rework will be needed to allow for fast_install
13790
# before this can be enabled.
13791
hardcode_into_libs=yes
13793
# Append ld.so.conf contents to the search path
13794
if test -f /etc/ld.so.conf; then
13795
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' ' '`
13796
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13799
# We used to test for /lib/ld.so.1 and disable shared libraries on
13800
# powerpc, because MkLinux only supported shared libraries with the
13801
# GNU dynamic linker. Since this was broken with cross compilers,
13802
# most powerpc-linux boxes support dynamic linking these days and
13803
# people can always --disable-shared, the test was removed, and we
13804
# assume the GNU/Linux dynamic linker is in use.
13805
dynamic_linker='GNU/Linux ld.so'
13812
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13813
soname_spec='${libname}${release}${shared_ext}$major'
13814
shlibpath_var=LD_LIBRARY_PATH
13815
shlibpath_overrides_runpath=no
13816
hardcode_into_libs=yes
13817
dynamic_linker='NetBSD ld.elf_so'
13824
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13825
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13826
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13827
dynamic_linker='NetBSD (a.out) ld.so'
13829
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13830
soname_spec='${libname}${release}${shared_ext}$major'
13831
dynamic_linker='NetBSD ld.elf_so'
13833
shlibpath_var=LD_LIBRARY_PATH
13834
shlibpath_overrides_runpath=yes
13835
hardcode_into_libs=yes
13840
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13841
shlibpath_var=LD_LIBRARY_PATH
13842
shlibpath_overrides_runpath=yes
13849
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13850
soname_spec='${libname}${release}${shared_ext}$major'
13851
shlibpath_var=LD_LIBRARY_PATH
13852
shlibpath_overrides_runpath=yes
13857
sys_lib_dlsearch_path_spec="/usr/lib"
13859
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13861
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13862
*) need_version=no ;;
13864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13865
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13866
shlibpath_var=LD_LIBRARY_PATH
13867
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13869
openbsd2.[89] | openbsd2.[89].*)
13870
shlibpath_overrides_runpath=no
13873
shlibpath_overrides_runpath=yes
13877
shlibpath_overrides_runpath=yes
13882
libname_spec='$name'
13885
library_names_spec='$libname${shared_ext} $libname.a'
13886
dynamic_linker='OS/2 ld.exe'
13887
shlibpath_var=LIBPATH
13890
osf3* | osf4* | osf5*)
13894
soname_spec='${libname}${release}${shared_ext}$major'
13895
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13896
shlibpath_var=LD_LIBRARY_PATH
13897
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13898
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13909
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13910
soname_spec='${libname}${release}${shared_ext}$major'
13911
shlibpath_var=LD_LIBRARY_PATH
13912
shlibpath_overrides_runpath=yes
13913
hardcode_into_libs=yes
13914
# ldd complains unless libraries are executable
13915
postinstall_cmds='chmod +x $lib'
13920
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13921
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13922
shlibpath_var=LD_LIBRARY_PATH
13923
shlibpath_overrides_runpath=yes
13924
if test "$with_gnu_ld" = yes; then
13932
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933
soname_spec='${libname}${release}${shared_ext}$major'
13934
shlibpath_var=LD_LIBRARY_PATH
13935
case $host_vendor in
13937
shlibpath_overrides_runpath=no
13939
export_dynamic_flag_spec='${wl}-Blargedynsym'
13940
runpath_var=LD_RUN_PATH
13948
shlibpath_overrides_runpath=no
13949
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13955
if test -d /usr/nec ;then
13957
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13958
soname_spec='$libname${shared_ext}.$major'
13959
shlibpath_var=LD_LIBRARY_PATH
13963
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13964
version_type=freebsd-elf
13967
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13968
soname_spec='${libname}${release}${shared_ext}$major'
13969
shlibpath_var=LD_LIBRARY_PATH
13970
hardcode_into_libs=yes
13971
if test "$with_gnu_ld" = yes; then
13972
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13973
shlibpath_overrides_runpath=no
13975
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13976
shlibpath_overrides_runpath=yes
13979
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13983
sys_lib_dlsearch_path_spec='/usr/lib'
13988
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13989
soname_spec='${libname}${release}${shared_ext}$major'
13990
shlibpath_var=LD_LIBRARY_PATH
13997
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13998
echo "${ECHO_T}$dynamic_linker" >&6; }
13999
test "$dynamic_linker" = no && can_build_shared=no
14001
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14002
echo $ECHO_N "(cached) $ECHO_C" >&6
14004
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14007
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14008
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14009
echo $ECHO_N "(cached) $ECHO_C" >&6
14011
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14014
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14016
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14017
if test "$GCC" = yes; then
14018
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14021
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14022
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14023
hardcode_action_CXX=
14024
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14025
test -n "$runpath_var_CXX" || \
14026
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14028
# We can hardcode non-existant directories.
14029
if test "$hardcode_direct_CXX" != no &&
14030
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14031
# have to relink, otherwise we might link with an installed library
14032
# when we should be linking with a yet-to-be-installed one
14033
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14034
test "$hardcode_minus_L_CXX" != no; then
14035
# Linking always hardcodes the temporary library directory.
14036
hardcode_action_CXX=relink
14038
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14039
hardcode_action_CXX=immediate
14042
# We cannot hardcode anything, or else we can only hardcode existing
14044
hardcode_action_CXX=unsupported
14046
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14047
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14049
if test "$hardcode_action_CXX" = relink; then
14050
# Fast installation is not supported
14051
enable_fast_install=no
14052
elif test "$shlibpath_overrides_runpath" = yes ||
14053
test "$enable_shared" = no; then
14054
# Fast installation is not necessary
14055
enable_fast_install=needless
14059
# The else clause should only fire when bootstrapping the
14060
# libtool distribution, otherwise you forgot to ship ltmain.sh
14061
# with your package, and you will get complaints that there are
14062
# no rules to generate ltmain.sh.
14063
if test -f "$ltmain"; then
14064
# See if we are running on zsh, and set the options which allow our commands through
14065
# without removal of \ escapes.
14066
if test -n "${ZSH_VERSION+set}" ; then
14067
setopt NO_GLOB_SUBST
14069
# Now quote all the things that may contain metacharacters while being
14070
# careful not to overquote the AC_SUBSTed values. We take copies of the
14071
# variables and quote the copies for generation of the libtool script.
14072
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14074
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14075
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14076
deplibs_check_method reload_flag reload_cmds need_locks \
14077
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14078
lt_cv_sys_global_symbol_to_c_name_address \
14079
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14080
old_postinstall_cmds old_postuninstall_cmds \
14084
lt_prog_compiler_wl_CXX \
14085
lt_prog_compiler_pic_CXX \
14086
lt_prog_compiler_static_CXX \
14087
lt_prog_compiler_no_builtin_flag_CXX \
14088
export_dynamic_flag_spec_CXX \
14089
thread_safe_flag_spec_CXX \
14090
whole_archive_flag_spec_CXX \
14091
enable_shared_with_static_runtimes_CXX \
14092
old_archive_cmds_CXX \
14093
old_archive_from_new_cmds_CXX \
14094
predep_objects_CXX \
14095
postdep_objects_CXX \
14098
compiler_lib_search_path_CXX \
14099
compiler_lib_search_dirs_CXX \
14101
archive_expsym_cmds_CXX \
14102
postinstall_cmds_CXX \
14103
postuninstall_cmds_CXX \
14104
old_archive_from_expsyms_cmds_CXX \
14105
allow_undefined_flag_CXX \
14106
no_undefined_flag_CXX \
14107
export_symbols_cmds_CXX \
14108
hardcode_libdir_flag_spec_CXX \
14109
hardcode_libdir_flag_spec_ld_CXX \
14110
hardcode_libdir_separator_CXX \
14111
hardcode_automatic_CXX \
14113
module_expsym_cmds_CXX \
14114
lt_cv_prog_compiler_c_o_CXX \
14115
fix_srcfile_path_CXX \
14116
exclude_expsyms_CXX \
14117
include_expsyms_CXX; do
14120
old_archive_cmds_CXX | \
14121
old_archive_from_new_cmds_CXX | \
14122
archive_cmds_CXX | \
14123
archive_expsym_cmds_CXX | \
14124
module_cmds_CXX | \
14125
module_expsym_cmds_CXX | \
14126
old_archive_from_expsyms_cmds_CXX | \
14127
export_symbols_cmds_CXX | \
14128
extract_expsyms_cmds | reload_cmds | finish_cmds | \
14129
postinstall_cmds | postuninstall_cmds | \
14130
old_postinstall_cmds | old_postuninstall_cmds | \
14131
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14132
# Double-quote double-evaled strings.
14133
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14136
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14142
*'\$0 --fallback-echo"')
14143
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14149
cat <<__EOF__ >> "$cfgfile"
14150
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14152
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14154
# Shell to use when invoking shell scripts.
14157
# Whether or not to build shared libraries.
14158
build_libtool_libs=$enable_shared
14160
# Whether or not to build static libraries.
14161
build_old_libs=$enable_static
14163
# Whether or not to add -lc for building shared libraries.
14164
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14166
# Whether or not to disallow shared libs when runtime libs are static
14167
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14169
# Whether or not to optimize for fast installation.
14170
fast_install=$enable_fast_install
14173
host_alias=$host_alias
14177
# The build system.
14178
build_alias=$build_alias
14182
# An echo program that does not interpret backslashes.
14187
AR_FLAGS=$lt_AR_FLAGS
14192
# LTCC compiler flags.
14193
LTCFLAGS=$lt_LTCFLAGS
14195
# A language-specific compiler.
14196
CC=$lt_compiler_CXX
14198
# Is the compiler the GNU C compiler?
14204
# The linker used to build libraries.
14207
# Whether we need hard or soft links.
14210
# A BSD-compatible nm program.
14213
# A symbol stripping program
14216
# Used to examine libraries when file_magic_cmd begins "file"
14217
MAGIC_CMD=$MAGIC_CMD
14219
# Used on cygwin: DLL creation program.
14222
# Used on cygwin: object dumper.
14225
# Used on cygwin: assembler.
14228
# The name of the directory that contains temporary libtool files.
14231
# How to create reloadable object files.
14232
reload_flag=$lt_reload_flag
14233
reload_cmds=$lt_reload_cmds
14235
# How to pass a linker flag through the compiler.
14236
wl=$lt_lt_prog_compiler_wl_CXX
14238
# Object file suffix (normally "o").
14239
objext="$ac_objext"
14241
# Old archive suffix (normally "a").
14244
# Shared library suffix (normally ".so").
14245
shrext_cmds='$shrext_cmds'
14247
# Executable file suffix (normally "").
14250
# Additional compiler flags for building library objects.
14251
pic_flag=$lt_lt_prog_compiler_pic_CXX
14254
# What is the maximum length of a command?
14255
max_cmd_len=$lt_cv_sys_max_cmd_len
14257
# Does compiler simultaneously support -c and -o options?
14258
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14260
# Must we lock files when doing compilation?
14261
need_locks=$lt_need_locks
14263
# Do we need the lib prefix for modules?
14264
need_lib_prefix=$need_lib_prefix
14266
# Do we need a version for libraries?
14267
need_version=$need_version
14269
# Whether dlopen is supported.
14270
dlopen_support=$enable_dlopen
14272
# Whether dlopen of programs is supported.
14273
dlopen_self=$enable_dlopen_self
14275
# Whether dlopen of statically linked programs is supported.
14276
dlopen_self_static=$enable_dlopen_self_static
14278
# Compiler flag to prevent dynamic linking.
14279
link_static_flag=$lt_lt_prog_compiler_static_CXX
14281
# Compiler flag to turn off builtin functions.
14282
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14284
# Compiler flag to allow reflexive dlopens.
14285
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14287
# Compiler flag to generate shared objects directly from archives.
14288
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14290
# Compiler flag to generate thread-safe objects.
14291
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14293
# Library versioning type.
14294
version_type=$version_type
14296
# Format of library name prefix.
14297
libname_spec=$lt_libname_spec
14299
# List of archive names. First name is the real one, the rest are links.
14300
# The last name is the one that the linker finds with -lNAME.
14301
library_names_spec=$lt_library_names_spec
14303
# The coded name of the library, if different from the real name.
14304
soname_spec=$lt_soname_spec
14306
# Commands used to build and install an old-style archive.
14308
old_archive_cmds=$lt_old_archive_cmds_CXX
14309
old_postinstall_cmds=$lt_old_postinstall_cmds
14310
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14312
# Create an old-style archive from a shared archive.
14313
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14315
# Create a temporary old-style archive to link instead of a shared archive.
14316
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14318
# Commands used to build and install a shared archive.
14319
archive_cmds=$lt_archive_cmds_CXX
14320
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14321
postinstall_cmds=$lt_postinstall_cmds
14322
postuninstall_cmds=$lt_postuninstall_cmds
14324
# Commands used to build a loadable module (assumed same as above if empty)
14325
module_cmds=$lt_module_cmds_CXX
14326
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14328
# Commands to strip libraries.
14329
old_striplib=$lt_old_striplib
14330
striplib=$lt_striplib
14332
# Dependencies to place before the objects being linked to create a
14334
predep_objects=$lt_predep_objects_CXX
14336
# Dependencies to place after the objects being linked to create a
14338
postdep_objects=$lt_postdep_objects_CXX
14340
# Dependencies to place before the objects being linked to create a
14342
predeps=$lt_predeps_CXX
14344
# Dependencies to place after the objects being linked to create a
14346
postdeps=$lt_postdeps_CXX
14348
# The directories searched by this compiler when creating a shared
14350
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14352
# The library search path used internally by the compiler when linking
14353
# a shared library.
14354
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14356
# Method to check whether dependent libraries are shared objects.
14357
deplibs_check_method=$lt_deplibs_check_method
14359
# Command to use when deplibs_check_method == file_magic.
14360
file_magic_cmd=$lt_file_magic_cmd
14362
# Flag that allows shared libraries with undefined symbols to be built.
14363
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14365
# Flag that forces no undefined symbols.
14366
no_undefined_flag=$lt_no_undefined_flag_CXX
14368
# Commands used to finish a libtool library installation in a directory.
14369
finish_cmds=$lt_finish_cmds
14371
# Same as above, but a single script fragment to be evaled but not shown.
14372
finish_eval=$lt_finish_eval
14374
# Take the output of nm and produce a listing of raw symbols and C names.
14375
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14377
# Transform the output of nm in a proper C declaration
14378
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14380
# Transform the output of nm in a C name address pair
14381
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14383
# This is the shared library runtime path variable.
14384
runpath_var=$runpath_var
14386
# This is the shared library path variable.
14387
shlibpath_var=$shlibpath_var
14389
# Is shlibpath searched before the hard-coded library search path?
14390
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14392
# How to hardcode a shared library path into an executable.
14393
hardcode_action=$hardcode_action_CXX
14395
# Whether we should hardcode library paths into libraries.
14396
hardcode_into_libs=$hardcode_into_libs
14398
# Flag to hardcode \$libdir into a binary during linking.
14399
# This must work even if \$libdir does not exist.
14400
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14402
# If ld is used when linking, flag to hardcode \$libdir into
14403
# a binary during linking. This must work even if \$libdir does
14405
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14407
# Whether we need a single -rpath flag with a separated argument.
14408
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14410
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14411
# resulting binary.
14412
hardcode_direct=$hardcode_direct_CXX
14414
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14415
# resulting binary.
14416
hardcode_minus_L=$hardcode_minus_L_CXX
14418
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14419
# the resulting binary.
14420
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14422
# Set to yes if building a shared library automatically hardcodes DIR into the library
14423
# and all subsequent libraries and executables linked against it.
14424
hardcode_automatic=$hardcode_automatic_CXX
14426
# Variables whose values should be saved in libtool wrapper scripts and
14427
# restored at relink time.
14428
variables_saved_for_relink="$variables_saved_for_relink"
14430
# Whether libtool must link a program against all its dependency libraries.
14431
link_all_deplibs=$link_all_deplibs_CXX
14433
# Compile-time system search path for libraries
14434
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14436
# Run-time system search path for libraries
14437
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14439
# Fix the shell variable \$srcfile for the compiler.
14440
fix_srcfile_path=$lt_fix_srcfile_path
14442
# Set to yes if exported symbols are required.
14443
always_export_symbols=$always_export_symbols_CXX
14445
# The commands to list exported symbols.
14446
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14448
# The commands to extract the exported symbol list from a shared archive.
14449
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14451
# Symbols that should not be listed in the preloaded symbols.
14452
exclude_expsyms=$lt_exclude_expsyms_CXX
14454
# Symbols that must always be exported.
14455
include_expsyms=$lt_include_expsyms_CXX
14457
# ### END LIBTOOL TAG CONFIG: $tagname
14463
# If there is no Makefile yet, we rely on a make rule to execute
14464
# `config.status --recheck' to rerun these tests and create the
14465
# libtool script then.
14466
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14467
if test -f "$ltmain_in"; then
14468
test -f Makefile && make "$ltmain"
14474
ac_cpp='$CPP $CPPFLAGS'
14475
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14476
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14477
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14483
with_gnu_ldcxx=$with_gnu_ld
14484
with_gnu_ld=$lt_save_with_gnu_ld
14485
lt_cv_path_LDCXX=$lt_cv_path_LD
14486
lt_cv_path_LD=$lt_save_path_LD
14487
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14488
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14496
if test -n "$F77" && test "X$F77" != "Xno"; then
14499
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14500
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14501
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14504
archive_cmds_need_lc_F77=no
14505
allow_undefined_flag_F77=
14506
always_export_symbols_F77=no
14507
archive_expsym_cmds_F77=
14508
export_dynamic_flag_spec_F77=
14509
hardcode_direct_F77=no
14510
hardcode_libdir_flag_spec_F77=
14511
hardcode_libdir_flag_spec_ld_F77=
14512
hardcode_libdir_separator_F77=
14513
hardcode_minus_L_F77=no
14514
hardcode_automatic_F77=no
14516
module_expsym_cmds_F77=
14517
link_all_deplibs_F77=unknown
14518
old_archive_cmds_F77=$old_archive_cmds
14519
no_undefined_flag_F77=
14520
whole_archive_flag_spec_F77=
14521
enable_shared_with_static_runtimes_F77=no
14523
# Source file extension for f77 test sources.
14526
# Object file extension for compiled f77 test sources.
14530
# Code to be used in simple compile tests
14531
lt_simple_compile_test_code="\
14537
# Code to be used in simple link tests
14538
lt_simple_link_test_code="\
14543
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14545
# If no C compiler was specified, use CC.
14548
# If no C compiler flags were specified, use CFLAGS.
14549
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14551
# Allow CC to be a program name with arguments.
14555
# save warnings/boilerplate of simple test code
14556
ac_outfile=conftest.$ac_objext
14557
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14558
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14559
_lt_compiler_boilerplate=`cat conftest.err`
14562
ac_outfile=conftest.$ac_objext
14563
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14564
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14565
_lt_linker_boilerplate=`cat conftest.err`
14569
# Allow CC to be a program name with arguments.
14574
for cc_temp in $compiler""; do
14576
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14577
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14582
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14585
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14586
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14587
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14588
echo "${ECHO_T}$can_build_shared" >&6; }
14590
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14591
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14592
test "$can_build_shared" = "no" && enable_shared=no
14594
# On AIX, shared libraries and static libraries use the same namespace, and
14595
# are all built from PIC.
14598
test "$enable_shared" = yes && enable_static=no
14599
if test -n "$RANLIB"; then
14600
archive_cmds="$archive_cmds~\$RANLIB \$lib"
14601
postinstall_cmds='$RANLIB $lib'
14605
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14606
test "$enable_shared" = yes && enable_static=no
14610
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14611
echo "${ECHO_T}$enable_shared" >&6; }
14613
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14614
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14615
# Make sure either enable_shared or enable_static is yes.
14616
test "$enable_shared" = yes || enable_static=yes
14617
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14618
echo "${ECHO_T}$enable_static" >&6; }
14623
lt_prog_compiler_wl_F77=
14624
lt_prog_compiler_pic_F77=
14625
lt_prog_compiler_static_F77=
14627
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14628
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14630
if test "$GCC" = yes; then
14631
lt_prog_compiler_wl_F77='-Wl,'
14632
lt_prog_compiler_static_F77='-static'
14636
# All AIX code is PIC.
14637
if test "$host_cpu" = ia64; then
14638
# AIX 5 now supports IA64 processor
14639
lt_prog_compiler_static_F77='-Bstatic'
14644
# FIXME: we need at least 68020 code to build shared libraries, but
14645
# adding the `-m68020' flag to GCC prevents building anything better,
14647
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14650
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14651
# PIC is the default for these OSes.
14654
mingw* | cygwin* | pw32* | os2*)
14655
# This hack is so that the source file can tell whether it is being
14656
# built for inclusion in a dll (and should export symbols for example).
14657
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14658
# (--disable-auto-import) libraries
14659
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14662
darwin* | rhapsody*)
14663
# PIC is the default on this platform
14664
# Common symbols not allowed in MH_DYLIB files
14665
lt_prog_compiler_pic_F77='-fno-common'
14669
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14670
# Instead, we relocate shared libraries at runtime.
14674
# Just because we use GCC doesn't mean we suddenly get shared libraries
14675
# on systems that don't support them.
14676
lt_prog_compiler_can_build_shared_F77=no
14681
if test -d /usr/nec; then
14682
lt_prog_compiler_pic_F77=-Kconform_pic
14687
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14688
# not for PA HP-UX.
14694
lt_prog_compiler_pic_F77='-fPIC'
14700
lt_prog_compiler_pic_F77='-fPIC'
14704
# PORTME Check for flag to pass linker flags through the system compiler.
14707
lt_prog_compiler_wl_F77='-Wl,'
14708
if test "$host_cpu" = ia64; then
14709
# AIX 5 now supports IA64 processor
14710
lt_prog_compiler_static_F77='-Bstatic'
14712
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14716
# PIC is the default on this platform
14717
# Common symbols not allowed in MH_DYLIB files
14718
case $cc_basename in
14720
lt_prog_compiler_pic_F77='-qnocommon'
14721
lt_prog_compiler_wl_F77='-Wl,'
14726
mingw* | cygwin* | pw32* | os2*)
14727
# This hack is so that the source file can tell whether it is being
14728
# built for inclusion in a dll (and should export symbols for example).
14729
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14732
hpux9* | hpux10* | hpux11*)
14733
lt_prog_compiler_wl_F77='-Wl,'
14734
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14735
# not for PA HP-UX.
14741
lt_prog_compiler_pic_F77='+Z'
14744
# Is there a better lt_prog_compiler_static that works with the bundled CC?
14745
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14748
irix5* | irix6* | nonstopux*)
14749
lt_prog_compiler_wl_F77='-Wl,'
14750
# PIC (with -KPIC) is the default.
14751
lt_prog_compiler_static_F77='-non_shared'
14755
lt_prog_compiler_pic_F77='-KPIC'
14756
lt_prog_compiler_static_F77='-Bstatic'
14759
linux* | k*bsd*-gnu)
14760
case $cc_basename in
14762
lt_prog_compiler_wl_F77='-Wl,'
14763
lt_prog_compiler_pic_F77='-KPIC'
14764
lt_prog_compiler_static_F77='-static'
14766
pgcc* | pgf77* | pgf90* | pgf95*)
14767
# Portland Group compilers (*not* the Pentium gcc compiler,
14768
# which looks to be a dead project)
14769
lt_prog_compiler_wl_F77='-Wl,'
14770
lt_prog_compiler_pic_F77='-fpic'
14771
lt_prog_compiler_static_F77='-Bstatic'
14774
lt_prog_compiler_wl_F77='-Wl,'
14775
# All Alpha code is PIC.
14776
lt_prog_compiler_static_F77='-non_shared'
14779
case `$CC -V 2>&1 | sed 5q` in
14782
lt_prog_compiler_pic_F77='-KPIC'
14783
lt_prog_compiler_static_F77='-Bstatic'
14784
lt_prog_compiler_wl_F77='-Wl,'
14787
# Sun Fortran 8.3 passes all unrecognized flags to the linker
14788
lt_prog_compiler_pic_F77='-KPIC'
14789
lt_prog_compiler_static_F77='-Bstatic'
14790
lt_prog_compiler_wl_F77=''
14797
osf3* | osf4* | osf5*)
14798
lt_prog_compiler_wl_F77='-Wl,'
14799
# All OSF/1 code is PIC.
14800
lt_prog_compiler_static_F77='-non_shared'
14804
lt_prog_compiler_static_F77='-non_shared'
14808
lt_prog_compiler_pic_F77='-KPIC'
14809
lt_prog_compiler_static_F77='-Bstatic'
14810
case $cc_basename in
14811
f77* | f90* | f95*)
14812
lt_prog_compiler_wl_F77='-Qoption ld ';;
14814
lt_prog_compiler_wl_F77='-Wl,';;
14819
lt_prog_compiler_wl_F77='-Qoption ld '
14820
lt_prog_compiler_pic_F77='-PIC'
14821
lt_prog_compiler_static_F77='-Bstatic'
14824
sysv4 | sysv4.2uw2* | sysv4.3*)
14825
lt_prog_compiler_wl_F77='-Wl,'
14826
lt_prog_compiler_pic_F77='-KPIC'
14827
lt_prog_compiler_static_F77='-Bstatic'
14831
if test -d /usr/nec ;then
14832
lt_prog_compiler_pic_F77='-Kconform_pic'
14833
lt_prog_compiler_static_F77='-Bstatic'
14837
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14838
lt_prog_compiler_wl_F77='-Wl,'
14839
lt_prog_compiler_pic_F77='-KPIC'
14840
lt_prog_compiler_static_F77='-Bstatic'
14844
lt_prog_compiler_wl_F77='-Wl,'
14845
lt_prog_compiler_can_build_shared_F77=no
14849
lt_prog_compiler_pic_F77='-pic'
14850
lt_prog_compiler_static_F77='-Bstatic'
14854
lt_prog_compiler_can_build_shared_F77=no
14859
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14860
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14863
# Check to make sure the PIC flag actually works.
14865
if test -n "$lt_prog_compiler_pic_F77"; then
14867
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14868
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14869
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14870
echo $ECHO_N "(cached) $ECHO_C" >&6
14872
lt_cv_prog_compiler_pic_works_F77=no
14873
ac_outfile=conftest.$ac_objext
14874
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14875
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14876
# Insert the option either (1) after the last *FLAGS variable, or
14877
# (2) before a word containing "conftest.", or (3) at the end.
14878
# Note that $ac_compile itself does not contain backslashes and begins
14879
# with a dollar sign (not a hyphen), so the echo should work correctly.
14880
# The option is referenced via a variable to avoid confusing sed.
14881
lt_compile=`echo "$ac_compile" | $SED \
14882
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14883
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14884
-e 's:$: $lt_compiler_flag:'`
14885
(eval echo "\"\$as_me:14885: $lt_compile\"" >&5)
14886
(eval "$lt_compile" 2>conftest.err)
14888
cat conftest.err >&5
14889
echo "$as_me:14889: \$? = $ac_status" >&5
14890
if (exit $ac_status) && test -s "$ac_outfile"; then
14891
# The compiler can only warn and ignore the option if not recognized
14892
# So say no if there are warnings other than the usual output.
14893
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14894
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14895
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14896
lt_cv_prog_compiler_pic_works_F77=yes
14902
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14903
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14905
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14906
case $lt_prog_compiler_pic_F77 in
14908
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14911
lt_prog_compiler_pic_F77=
14912
lt_prog_compiler_can_build_shared_F77=no
14917
# For platforms which do not support PIC, -DPIC is meaningless:
14919
lt_prog_compiler_pic_F77=
14922
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14927
# Check to make sure the static flag actually works.
14929
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14930
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14931
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14932
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14933
echo $ECHO_N "(cached) $ECHO_C" >&6
14935
lt_cv_prog_compiler_static_works_F77=no
14936
save_LDFLAGS="$LDFLAGS"
14937
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14938
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14939
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14940
# The linker can only warn and ignore the option if not recognized
14941
# So say no if there are warnings
14942
if test -s conftest.err; then
14943
# Append any errors to the config.log.
14944
cat conftest.err 1>&5
14945
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14946
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14947
if diff conftest.exp conftest.er2 >/dev/null; then
14948
lt_cv_prog_compiler_static_works_F77=yes
14951
lt_cv_prog_compiler_static_works_F77=yes
14955
LDFLAGS="$save_LDFLAGS"
14958
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14959
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14961
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14964
lt_prog_compiler_static_F77=
14968
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14969
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14970
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14971
echo $ECHO_N "(cached) $ECHO_C" >&6
14973
lt_cv_prog_compiler_c_o_F77=no
14974
$rm -r conftest 2>/dev/null
14978
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14980
lt_compiler_flag="-o out/conftest2.$ac_objext"
14981
# Insert the option either (1) after the last *FLAGS variable, or
14982
# (2) before a word containing "conftest.", or (3) at the end.
14983
# Note that $ac_compile itself does not contain backslashes and begins
14984
# with a dollar sign (not a hyphen), so the echo should work correctly.
14985
lt_compile=`echo "$ac_compile" | $SED \
14986
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14987
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14988
-e 's:$: $lt_compiler_flag:'`
14989
(eval echo "\"\$as_me:14989: $lt_compile\"" >&5)
14990
(eval "$lt_compile" 2>out/conftest.err)
14992
cat out/conftest.err >&5
14993
echo "$as_me:14993: \$? = $ac_status" >&5
14994
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14996
# The compiler can only warn and ignore the option if not recognized
14997
# So say no if there are warnings
14998
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14999
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15000
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15001
lt_cv_prog_compiler_c_o_F77=yes
15006
# SGI C++ compiler will create directory out/ii_files/ for
15007
# template instantiation
15008
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15009
$rm out/* && rmdir out
15015
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15016
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15019
hard_links="nottested"
15020
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15021
# do not overwrite the value of need_locks provided by the user
15022
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15023
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15026
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15028
ln conftest.a conftest.b 2>&5 || hard_links=no
15029
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15030
{ echo "$as_me:$LINENO: result: $hard_links" >&5
15031
echo "${ECHO_T}$hard_links" >&6; }
15032
if test "$hard_links" = no; then
15033
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15034
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15041
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15042
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15045
allow_undefined_flag_F77=
15046
enable_shared_with_static_runtimes_F77=no
15048
archive_expsym_cmds_F77=
15049
old_archive_From_new_cmds_F77=
15050
old_archive_from_expsyms_cmds_F77=
15051
export_dynamic_flag_spec_F77=
15052
whole_archive_flag_spec_F77=
15053
thread_safe_flag_spec_F77=
15054
hardcode_libdir_flag_spec_F77=
15055
hardcode_libdir_flag_spec_ld_F77=
15056
hardcode_libdir_separator_F77=
15057
hardcode_direct_F77=no
15058
hardcode_minus_L_F77=no
15059
hardcode_shlibpath_var_F77=unsupported
15060
link_all_deplibs_F77=unknown
15061
hardcode_automatic_F77=no
15063
module_expsym_cmds_F77=
15064
always_export_symbols_F77=no
15065
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15066
# include_expsyms should be a list of space-separated symbols to be *always*
15067
# included in the symbol list
15068
include_expsyms_F77=
15069
# exclude_expsyms can be an extended regexp of symbols to exclude
15070
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15071
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15072
# as well as any symbol that contains `d'.
15073
exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15074
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15075
# platforms (ab)use it in PIC code, but their linkers get confused if
15076
# the symbol is explicitly referenced. Since portable code cannot
15077
# rely on this symbol name, it's probably fine to never include it in
15078
# preloaded symbol tables.
15079
# Exclude shared library initialization/finalization symbols.
15080
extract_expsyms_cmds=
15081
# Just being paranoid about ensuring that cc_basename is set.
15082
for cc_temp in $compiler""; do
15084
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15085
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15090
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15093
cygwin* | mingw* | pw32*)
15094
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15095
# When not using gcc, we currently assume that we are using
15096
# Microsoft Visual C++.
15097
if test "$GCC" != yes; then
15102
# we just hope/assume this is gcc and not c89 (= MSVC++)
15111
if test "$with_gnu_ld" = yes; then
15112
# If archive_cmds runs LD, not CC, wlarc should be empty
15115
# Set some defaults for GNU ld with shared library support. These
15116
# are reset later if shared libraries are not supported. Putting them
15117
# here allows them to be overridden if necessary.
15118
runpath_var=LD_RUN_PATH
15119
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15120
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15121
# ancient GNU ld didn't support --whole-archive et. al.
15122
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15123
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15125
whole_archive_flag_spec_F77=
15127
supports_anon_versioning=no
15128
case `$LD -v 2>/dev/null` in
15129
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15130
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15131
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15132
*\ 2.11.*) ;; # other 2.11 versions
15133
*) supports_anon_versioning=yes ;;
15136
# See if GNU ld supports shared libraries.
15139
# On AIX/PPC, the GNU linker is very broken
15140
if test "$host_cpu" != ia64; then
15144
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15145
*** to be unable to reliably create shared libraries on AIX.
15146
*** Therefore, libtool is disabling shared libraries support. If you
15147
*** really care for shared libraries, you may want to modify your PATH
15148
*** so that a non-GNU linker is found, and then restart.
15155
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)'
15156
hardcode_libdir_flag_spec_F77='-L$libdir'
15157
hardcode_minus_L_F77=yes
15159
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15160
# that the semantics of dynamic libraries on AmigaOS, at least up
15161
# to version 4, is to share data among multiple programs linked
15162
# with the same dynamic library. Since this doesn't match the
15163
# behavior of shared libraries on other platforms, we can't use
15169
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15170
allow_undefined_flag_F77=unsupported
15171
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15172
# support --undefined. This deserves some investigation. FIXME
15173
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15179
cygwin* | mingw* | pw32*)
15180
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15181
# as there is no search path for DLLs.
15182
hardcode_libdir_flag_spec_F77='-L$libdir'
15183
allow_undefined_flag_F77=unsupported
15184
always_export_symbols_F77=no
15185
enable_shared_with_static_runtimes_F77=yes
15186
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15188
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15189
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15190
# If the export-symbols file already is a .def file (1st line
15191
# is EXPORTS), use it as is; otherwise, prepend...
15192
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15193
cp $export_symbols $output_objdir/$soname.def;
15195
echo EXPORTS > $output_objdir/$soname.def;
15196
cat $export_symbols >> $output_objdir/$soname.def;
15198
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15205
hardcode_direct_F77=no
15206
hardcode_shlibpath_var_F77=no
15207
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15208
export_dynamic_flag_spec_F77='${wl}-E'
15209
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15210
# Instead, shared libraries are loaded at an image base (0x10000000 by
15211
# default) and relocated if they conflict, which is a slow very memory
15212
# consuming and fragmenting process. To avoid this, we pick a random,
15213
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15214
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15215
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'
15216
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'
15219
gnu* | linux* | k*bsd*-gnu)
15220
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15222
case $cc_basename,$host_cpu in
15223
pgcc*) # Portland Group C compiler
15224
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'
15225
tmp_addflag=' $pic_flag'
15227
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15228
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'
15229
tmp_addflag=' $pic_flag -Mnomain' ;;
15230
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15231
tmp_addflag=' -i_dynamic' ;;
15232
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15233
tmp_addflag=' -i_dynamic -nofor_main' ;;
15234
ifc* | ifort*) # Intel Fortran compiler
15235
tmp_addflag=' -nofor_main' ;;
15237
case `$CC -V 2>&1 | sed 5q` in
15238
*Sun\ C*) # Sun C 5.9
15239
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'
15240
tmp_sharedflag='-G' ;;
15241
*Sun\ F*) # Sun Fortran 8.3
15242
tmp_sharedflag='-G' ;;
15244
tmp_sharedflag='-shared' ;;
15246
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15248
if test $supports_anon_versioning = yes; then
15249
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15250
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15251
$echo "local: *; };" >> $output_objdir/$libname.ver~
15252
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15254
link_all_deplibs_F77=no
15260
netbsd* | netbsdelf*-gnu)
15261
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15262
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15265
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15266
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15271
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15275
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15276
*** create shared libraries on Solaris systems. Therefore, libtool
15277
*** is disabling shared libraries support. We urge you to upgrade GNU
15278
*** binutils to release 2.9.1 or newer. Another option is to modify
15279
*** your PATH or compiler configuration so that the native linker is
15280
*** used, and then restart.
15283
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15284
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15285
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15291
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15292
case `$LD -v 2>&1` in
15293
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15297
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15298
*** reliably create shared libraries on SCO systems. Therefore, libtool
15299
*** is disabling shared libraries support. We urge you to upgrade GNU
15300
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15301
*** your PATH or compiler configuration so that the native linker is
15302
*** used, and then restart.
15307
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15308
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15309
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15310
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15319
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15321
hardcode_direct_F77=yes
15322
hardcode_shlibpath_var_F77=no
15326
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15327
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15328
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15335
if test "$ld_shlibs_F77" = no; then
15337
hardcode_libdir_flag_spec_F77=
15338
export_dynamic_flag_spec_F77=
15339
whole_archive_flag_spec_F77=
15342
# PORTME fill in a description of your system's linker (not GNU ld)
15345
allow_undefined_flag_F77=unsupported
15346
always_export_symbols_F77=yes
15347
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'
15348
# Note: this linker hardcodes the directories in LIBPATH if there
15349
# are no directories specified by -L.
15350
hardcode_minus_L_F77=yes
15351
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15352
# Neither direct hardcoding nor static linking is supported with a
15354
hardcode_direct_F77=unsupported
15359
if test "$host_cpu" = ia64; then
15360
# On IA64, the linker does run time linking by default, so we don't
15361
# have to do anything special.
15362
aix_use_runtimelinking=no
15363
exp_sym_flag='-Bexport'
15366
# If we're using GNU nm, then we don't want the "-C" option.
15367
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15368
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15369
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'
15371
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'
15373
aix_use_runtimelinking=no
15375
# Test if we are trying to use run time linking or normal
15376
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15377
# need to do runtime linking.
15378
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15379
for ld_flag in $LDFLAGS; do
15380
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15381
aix_use_runtimelinking=yes
15388
exp_sym_flag='-bexport'
15389
no_entry_flag='-bnoentry'
15392
# When large executables or shared objects are built, AIX ld can
15393
# have problems creating the table of contents. If linking a library
15394
# or program results in "error TOC overflow" add -mminimal-toc to
15395
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15396
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15398
archive_cmds_F77=''
15399
hardcode_direct_F77=yes
15400
hardcode_libdir_separator_F77=':'
15401
link_all_deplibs_F77=yes
15403
if test "$GCC" = yes; then
15404
case $host_os in aix4.[012]|aix4.[012].*)
15405
# We only want to do this on AIX 4.2 and lower, the check
15406
# below for broken collect2 doesn't work under 4.3+
15407
collect2name=`${CC} -print-prog-name=collect2`
15408
if test -f "$collect2name" && \
15409
strings "$collect2name" | grep resolve_lib_name >/dev/null
15411
# We have reworked collect2
15414
# We have old collect2
15415
hardcode_direct_F77=unsupported
15416
# It fails to find uninstalled libraries when the uninstalled
15417
# path is not listed in the libpath. Setting hardcode_minus_L
15418
# to unsupported forces relinking
15419
hardcode_minus_L_F77=yes
15420
hardcode_libdir_flag_spec_F77='-L$libdir'
15421
hardcode_libdir_separator_F77=
15425
shared_flag='-shared'
15426
if test "$aix_use_runtimelinking" = yes; then
15427
shared_flag="$shared_flag "'${wl}-G'
15431
if test "$host_cpu" = ia64; then
15432
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15433
# chokes on -Wl,-G. The following line is correct:
15436
if test "$aix_use_runtimelinking" = yes; then
15437
shared_flag='${wl}-G'
15439
shared_flag='${wl}-bM:SRE'
15444
# It seems that -bexpall does not export symbols beginning with
15445
# underscore (_), so it is better to generate a list of symbols to export.
15446
always_export_symbols_F77=yes
15447
if test "$aix_use_runtimelinking" = yes; then
15448
# Warning - without using the other runtime loading flags (-brtl),
15449
# -berok will link without error, but may produce a broken library.
15450
allow_undefined_flag_F77='-berok'
15451
# Determine the default libpath from the value encoded in an empty executable.
15452
cat >conftest.$ac_ext <<_ACEOF
15457
rm -f conftest.$ac_objext conftest$ac_exeext
15458
if { (ac_try="$ac_link"
15459
case "(($ac_try" in
15460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461
*) ac_try_echo=$ac_try;;
15463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464
(eval "$ac_link") 2>conftest.er1
15466
grep -v '^ *+' conftest.er1 >conftest.err
15468
cat conftest.err >&5
15469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470
(exit $ac_status); } && {
15471
test -z "$ac_f77_werror_flag" ||
15472
test ! -s conftest.err
15473
} && test -s conftest$ac_exeext &&
15474
$as_test_x conftest$ac_exeext; then
15476
lt_aix_libpath_sed='
15477
/Import File Strings/,/^$/ {
15483
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15484
# Check for a 64-bit object if we didn't find anything.
15485
if test -z "$aix_libpath"; then
15486
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15489
echo "$as_me: failed program was:" >&5
15490
sed 's/^/| /' conftest.$ac_ext >&5
15495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15496
conftest$ac_exeext conftest.$ac_ext
15497
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15499
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15500
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"
15502
if test "$host_cpu" = ia64; then
15503
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15504
allow_undefined_flag_F77="-z nodefs"
15505
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"
15507
# Determine the default libpath from the value encoded in an empty executable.
15508
cat >conftest.$ac_ext <<_ACEOF
15513
rm -f conftest.$ac_objext conftest$ac_exeext
15514
if { (ac_try="$ac_link"
15515
case "(($ac_try" in
15516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517
*) ac_try_echo=$ac_try;;
15519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520
(eval "$ac_link") 2>conftest.er1
15522
grep -v '^ *+' conftest.er1 >conftest.err
15524
cat conftest.err >&5
15525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526
(exit $ac_status); } && {
15527
test -z "$ac_f77_werror_flag" ||
15528
test ! -s conftest.err
15529
} && test -s conftest$ac_exeext &&
15530
$as_test_x conftest$ac_exeext; then
15532
lt_aix_libpath_sed='
15533
/Import File Strings/,/^$/ {
15539
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15540
# Check for a 64-bit object if we didn't find anything.
15541
if test -z "$aix_libpath"; then
15542
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15545
echo "$as_me: failed program was:" >&5
15546
sed 's/^/| /' conftest.$ac_ext >&5
15551
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15552
conftest$ac_exeext conftest.$ac_ext
15553
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15555
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15556
# Warning - without using the other run time loading flags,
15557
# -berok will link without error, but may produce a broken library.
15558
no_undefined_flag_F77=' ${wl}-bernotok'
15559
allow_undefined_flag_F77=' ${wl}-berok'
15560
# Exported symbols can be pulled into shared objects from archives
15561
whole_archive_flag_spec_F77='$convenience'
15562
archive_cmds_need_lc_F77=yes
15563
# This is similar to how AIX traditionally builds its shared libraries.
15564
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'
15570
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)'
15571
hardcode_libdir_flag_spec_F77='-L$libdir'
15572
hardcode_minus_L_F77=yes
15573
# see comment about different semantics on the GNU ld section
15578
export_dynamic_flag_spec_F77=-rdynamic
15581
cygwin* | mingw* | pw32*)
15582
# When not using gcc, we currently assume that we are using
15583
# Microsoft Visual C++.
15584
# hardcode_libdir_flag_spec is actually meaningless, as there is
15585
# no search path for DLLs.
15586
hardcode_libdir_flag_spec_F77=' '
15587
allow_undefined_flag_F77=unsupported
15588
# Tell ltmain to make .lib files, not .a files.
15590
# Tell ltmain to make .dll files, not .so files.
15592
# FIXME: Setting linknames here is a bad hack.
15593
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15594
# The linker will automatically build a .lib file if we build a DLL.
15595
old_archive_From_new_cmds_F77='true'
15596
# FIXME: Should let the user specify the lib program.
15597
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15598
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15599
enable_shared_with_static_runtimes_F77=yes
15602
darwin* | rhapsody*)
15604
rhapsody* | darwin1.[012])
15605
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15608
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15609
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15611
case ${MACOSX_DEPLOYMENT_TARGET} in
15613
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15616
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15622
archive_cmds_need_lc_F77=no
15623
hardcode_direct_F77=no
15624
hardcode_automatic_F77=yes
15625
hardcode_shlibpath_var_F77=unsupported
15626
whole_archive_flag_spec_F77=''
15627
link_all_deplibs_F77=yes
15628
if test "$GCC" = yes ; then
15629
output_verbose_link_cmd='echo'
15630
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}"
15631
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15632
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}"
15633
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}"
15635
case $cc_basename in
15637
output_verbose_link_cmd='echo'
15638
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15639
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15640
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15641
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}'
15642
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}'
15652
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15653
hardcode_libdir_flag_spec_F77='-L$libdir'
15654
hardcode_shlibpath_var_F77=no
15661
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15662
# support. Future versions do this automatically, but an explicit c++rt0.o
15663
# does not break anything, and helps significantly (at the cost of a little
15666
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15667
hardcode_libdir_flag_spec_F77='-R$libdir'
15668
hardcode_direct_F77=yes
15669
hardcode_shlibpath_var_F77=no
15672
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
15674
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15675
hardcode_direct_F77=yes
15676
hardcode_minus_L_F77=yes
15677
hardcode_shlibpath_var_F77=no
15680
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15681
freebsd* | dragonfly*)
15682
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15683
hardcode_libdir_flag_spec_F77='-R$libdir'
15684
hardcode_direct_F77=yes
15685
hardcode_shlibpath_var_F77=no
15689
if test "$GCC" = yes; then
15690
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'
15692
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'
15694
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15695
hardcode_libdir_separator_F77=:
15696
hardcode_direct_F77=yes
15698
# hardcode_minus_L: Not really in the search PATH,
15699
# but as the default location of the library.
15700
hardcode_minus_L_F77=yes
15701
export_dynamic_flag_spec_F77='${wl}-E'
15705
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15706
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15708
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15710
if test "$with_gnu_ld" = no; then
15711
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15712
hardcode_libdir_separator_F77=:
15714
hardcode_direct_F77=yes
15715
export_dynamic_flag_spec_F77='${wl}-E'
15717
# hardcode_minus_L: Not really in the search PATH,
15718
# but as the default location of the library.
15719
hardcode_minus_L_F77=yes
15724
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15727
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15730
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15733
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15739
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15742
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15745
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15749
if test "$with_gnu_ld" = no; then
15750
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15751
hardcode_libdir_separator_F77=:
15755
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15756
hardcode_direct_F77=no
15757
hardcode_shlibpath_var_F77=no
15760
hardcode_direct_F77=yes
15761
export_dynamic_flag_spec_F77='${wl}-E'
15763
# hardcode_minus_L: Not really in the search PATH,
15764
# but as the default location of the library.
15765
hardcode_minus_L_F77=yes
15771
irix5* | irix6* | nonstopux*)
15772
if test "$GCC" = yes; then
15773
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'
15775
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'
15776
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15778
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15779
hardcode_libdir_separator_F77=:
15780
link_all_deplibs_F77=yes
15783
netbsd* | netbsdelf*-gnu)
15784
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15785
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15787
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15789
hardcode_libdir_flag_spec_F77='-R$libdir'
15790
hardcode_direct_F77=yes
15791
hardcode_shlibpath_var_F77=no
15795
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15796
hardcode_direct_F77=yes
15797
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15798
hardcode_libdir_separator_F77=:
15799
hardcode_shlibpath_var_F77=no
15803
if test -f /usr/libexec/ld.so; then
15804
hardcode_direct_F77=yes
15805
hardcode_shlibpath_var_F77=no
15806
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15807
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15808
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15809
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15810
export_dynamic_flag_spec_F77='${wl}-E'
15813
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15814
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15815
hardcode_libdir_flag_spec_F77='-R$libdir'
15818
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15819
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15829
hardcode_libdir_flag_spec_F77='-L$libdir'
15830
hardcode_minus_L_F77=yes
15831
allow_undefined_flag_F77=unsupported
15832
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'
15833
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15837
if test "$GCC" = yes; then
15838
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15839
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'
15841
allow_undefined_flag_F77=' -expect_unresolved \*'
15842
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'
15844
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15845
hardcode_libdir_separator_F77=:
15848
osf4* | osf5*) # as osf3* with the addition of -msym flag
15849
if test "$GCC" = yes; then
15850
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15851
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'
15852
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15854
allow_undefined_flag_F77=' -expect_unresolved \*'
15855
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'
15856
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~
15857
$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'
15859
# Both c and cxx compiler support -rpath directly
15860
hardcode_libdir_flag_spec_F77='-rpath $libdir'
15862
hardcode_libdir_separator_F77=:
15866
no_undefined_flag_F77=' -z text'
15867
if test "$GCC" = yes; then
15869
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15870
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15871
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15874
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15875
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15876
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15878
hardcode_libdir_flag_spec_F77='-R$libdir'
15879
hardcode_shlibpath_var_F77=no
15881
solaris2.[0-5] | solaris2.[0-5].*) ;;
15883
# The compiler driver will combine and reorder linker options,
15884
# but understands `-z linker_flag'. GCC discards it without `$wl',
15885
# but is careful enough not to reorder.
15886
# Supported since Solaris 2.6 (maybe 2.5.1?)
15887
if test "$GCC" = yes; then
15888
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15890
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15894
link_all_deplibs_F77=yes
15898
if test "x$host_vendor" = xsequent; then
15899
# Use $CC to link under sequent, because it throws in some extra .o
15900
# files that make .init and .fini sections work.
15901
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15903
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15905
hardcode_libdir_flag_spec_F77='-L$libdir'
15906
hardcode_direct_F77=yes
15907
hardcode_minus_L_F77=yes
15908
hardcode_shlibpath_var_F77=no
15912
case $host_vendor in
15914
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15915
hardcode_direct_F77=yes # is this really true???
15918
## LD is ld it makes a PLAMLIB
15919
## CC just makes a GrossModule.
15920
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15921
reload_cmds_F77='$CC -r -o $output$reload_objs'
15922
hardcode_direct_F77=no
15925
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15926
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15929
runpath_var='LD_RUN_PATH'
15930
hardcode_shlibpath_var_F77=no
15934
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15935
hardcode_shlibpath_var_F77=no
15936
export_dynamic_flag_spec_F77='-Bexport'
15940
if test -d /usr/nec; then
15941
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15942
hardcode_shlibpath_var_F77=no
15943
runpath_var=LD_RUN_PATH
15944
hardcode_runpath_var=yes
15949
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15950
no_undefined_flag_F77='${wl}-z,text'
15951
archive_cmds_need_lc_F77=no
15952
hardcode_shlibpath_var_F77=no
15953
runpath_var='LD_RUN_PATH'
15955
if test "$GCC" = yes; then
15956
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15957
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15959
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15960
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15964
sysv5* | sco3.2v5* | sco5v6*)
15965
# Note: We can NOT use -z defs as we might desire, because we do not
15966
# link with -lc, and that would cause any symbols used from libc to
15967
# always be unresolved, which means just about no library would
15968
# ever link correctly. If we're not using GNU ld we use -z text
15969
# though, which does catch some bad symbols but isn't as heavy-handed
15971
no_undefined_flag_F77='${wl}-z,text'
15972
allow_undefined_flag_F77='${wl}-z,nodefs'
15973
archive_cmds_need_lc_F77=no
15974
hardcode_shlibpath_var_F77=no
15975
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15976
hardcode_libdir_separator_F77=':'
15977
link_all_deplibs_F77=yes
15978
export_dynamic_flag_spec_F77='${wl}-Bexport'
15979
runpath_var='LD_RUN_PATH'
15981
if test "$GCC" = yes; then
15982
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15983
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15985
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15986
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15991
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15992
hardcode_libdir_flag_spec_F77='-L$libdir'
15993
hardcode_shlibpath_var_F77=no
16002
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16003
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16004
test "$ld_shlibs_F77" = no && can_build_shared=no
16007
# Do we need to explicitly link libc?
16009
case "x$archive_cmds_need_lc_F77" in
16011
# Assume -lc should be added
16012
archive_cmds_need_lc_F77=yes
16014
if test "$enable_shared" = yes && test "$GCC" = yes; then
16015
case $archive_cmds_F77 in
16017
# FIXME: we may have to deal with multi-command sequences.
16020
# Test whether the compiler implicitly links with -lc since on some
16021
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16022
# to ld, don't add -lc before -lgcc.
16023
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16024
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16026
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16029
(eval $ac_compile) 2>&5
16031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032
(exit $ac_status); } 2>conftest.err; then
16035
libobjs=conftest.$ac_objext
16037
wl=$lt_prog_compiler_wl_F77
16038
pic_flag=$lt_prog_compiler_pic_F77
16044
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16045
allow_undefined_flag_F77=
16046
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16047
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050
(exit $ac_status); }
16052
archive_cmds_need_lc_F77=no
16054
archive_cmds_need_lc_F77=yes
16056
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16058
cat conftest.err 1>&5
16061
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16062
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16069
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16070
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16071
library_names_spec=
16072
libname_spec='lib$name'
16076
postuninstall_cmds=
16080
shlibpath_overrides_runpath=unknown
16082
dynamic_linker="$host_os ld.so"
16083
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16085
need_lib_prefix=unknown
16086
hardcode_into_libs=no
16088
# when you set need_version to no, make sure it does not cause -set_version
16089
# flags to be left without arguments
16090
need_version=unknown
16095
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16096
shlibpath_var=LIBPATH
16098
# AIX 3 has no versioning support, so we append a major version to the name.
16099
soname_spec='${libname}${release}${shared_ext}$major'
16106
hardcode_into_libs=yes
16107
if test "$host_cpu" = ia64; then
16108
# AIX 5 supports IA64
16109
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16110
shlibpath_var=LD_LIBRARY_PATH
16112
# With GCC up to 2.95.x, collect2 would create an import file
16113
# for dependence libraries. The import file would start with
16114
# the line `#! .'. This would cause the generated library to
16115
# depend on `.', always an invalid library. This was fixed in
16116
# development snapshots of GCC prior to 3.0.
16118
aix4 | aix4.[01] | aix4.[01].*)
16119
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16121
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16124
can_build_shared=no
16128
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16129
# soname into executable. Probably we can add versioning support to
16130
# collect2, so additional links can be useful in future.
16131
if test "$aix_use_runtimelinking" = yes; then
16132
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16133
# instead of lib<name>.a to let people know that these are not
16134
# typical AIX shared libraries.
16135
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16137
# We preserve .a as extension for shared libraries through AIX4.2
16138
# and later when we are not doing run time linking.
16139
library_names_spec='${libname}${release}.a $libname.a'
16140
soname_spec='${libname}${release}${shared_ext}$major'
16142
shlibpath_var=LIBPATH
16147
library_names_spec='$libname.ixlibrary $libname.a'
16148
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16149
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'
16153
library_names_spec='${libname}${shared_ext}'
16154
dynamic_linker="$host_os ld.so"
16155
shlibpath_var=LIBRARY_PATH
16161
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16162
soname_spec='${libname}${release}${shared_ext}$major'
16163
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16164
shlibpath_var=LD_LIBRARY_PATH
16165
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16166
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16167
# the default ld.so.conf also contains /usr/contrib/lib and
16168
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16169
# libtool to hard-code these into programs
16172
cygwin* | mingw* | pw32*)
16173
version_type=windows
16178
case $GCC,$host_os in
16179
yes,cygwin* | yes,mingw* | yes,pw32*)
16180
library_names_spec='$libname.dll.a'
16181
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16182
postinstall_cmds='base_file=`basename \${file}`~
16183
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16184
dldir=$destdir/`dirname \$dlpath`~
16185
test -d \$dldir || mkdir -p \$dldir~
16186
$install_prog $dir/$dlname \$dldir/$dlname~
16187
chmod a+x \$dldir/$dlname'
16188
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16189
dlpath=$dir/\$dldll~
16191
shlibpath_overrides_runpath=yes
16195
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16196
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16197
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16200
# MinGW DLLs use traditional 'lib' prefix
16201
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16202
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16203
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16204
# It is most probably a Windows format PATH printed by
16205
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16206
# path with ; separators, and with drive letters. We can handle the
16207
# drive letters (cygwin fileutils understands them), so leave them,
16208
# especially as we might pass files found there to a mingw objdump,
16209
# which wouldn't understand a cygwinified path. Ahh.
16210
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16212
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16216
# pw32 DLLs use 'pw' prefix rather than 'lib'
16217
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16223
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16226
dynamic_linker='Win32 ld.exe'
16227
# FIXME: first we should search . and the directory the executable is in
16231
darwin* | rhapsody*)
16232
dynamic_linker="$host_os dyld"
16233
version_type=darwin
16236
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16237
soname_spec='${libname}${release}${major}$shared_ext'
16238
shlibpath_overrides_runpath=yes
16239
shlibpath_var=DYLD_LIBRARY_PATH
16240
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16242
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16249
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16250
soname_spec='${libname}${release}${shared_ext}$major'
16251
shlibpath_var=LD_LIBRARY_PATH
16258
freebsd* | dragonfly*)
16259
# DragonFly does not have aout. When/if they implement a new
16260
# versioning mechanism, adjust this.
16261
if test -x /usr/bin/objformat; then
16262
objformat=`/usr/bin/objformat`
16265
freebsd[123]*) objformat=aout ;;
16266
*) objformat=elf ;;
16269
version_type=freebsd-$objformat
16270
case $version_type in
16272
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16277
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16281
shlibpath_var=LD_LIBRARY_PATH
16284
shlibpath_overrides_runpath=yes
16286
freebsd3.[01]* | freebsdelf3.[01]*)
16287
shlibpath_overrides_runpath=yes
16288
hardcode_into_libs=yes
16290
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16291
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16292
shlibpath_overrides_runpath=no
16293
hardcode_into_libs=yes
16295
*) # from 4.6 on, and DragonFly
16296
shlibpath_overrides_runpath=yes
16297
hardcode_into_libs=yes
16306
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16307
soname_spec='${libname}${release}${shared_ext}$major'
16308
shlibpath_var=LD_LIBRARY_PATH
16309
hardcode_into_libs=yes
16312
hpux9* | hpux10* | hpux11*)
16313
# Give a soname corresponding to the major version so that dld.sl refuses to
16314
# link against other versions.
16321
hardcode_into_libs=yes
16322
dynamic_linker="$host_os dld.so"
16323
shlibpath_var=LD_LIBRARY_PATH
16324
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16325
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326
soname_spec='${libname}${release}${shared_ext}$major'
16327
if test "X$HPUX_IA64_MODE" = X32; then
16328
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16330
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16332
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16336
hardcode_into_libs=yes
16337
dynamic_linker="$host_os dld.sl"
16338
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16339
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16340
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16341
soname_spec='${libname}${release}${shared_ext}$major'
16342
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16343
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16347
dynamic_linker="$host_os dld.sl"
16348
shlibpath_var=SHLIB_PATH
16349
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16351
soname_spec='${libname}${release}${shared_ext}$major'
16354
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16355
postinstall_cmds='chmod 555 $lib'
16362
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16363
soname_spec='${libname}${release}${shared_ext}$major'
16364
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16365
shlibpath_var=LD_LIBRARY_PATH
16366
shlibpath_overrides_runpath=no
16367
hardcode_into_libs=yes
16370
irix5* | irix6* | nonstopux*)
16372
nonstopux*) version_type=nonstopux ;;
16374
if test "$lt_cv_prog_gnu_ld" = yes; then
16382
soname_spec='${libname}${release}${shared_ext}$major'
16383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16385
irix5* | nonstopux*)
16386
libsuff= shlibsuff=
16389
case $LD in # libtool.m4 will add one of these switches to LD
16390
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16391
libsuff= shlibsuff= libmagic=32-bit;;
16392
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16393
libsuff=32 shlibsuff=N32 libmagic=N32;;
16394
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16395
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16396
*) libsuff= shlibsuff= libmagic=never-match;;
16400
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16401
shlibpath_overrides_runpath=no
16402
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16403
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16404
hardcode_into_libs=yes
16407
# No shared lib support for Linux oldld, aout, or coff.
16408
linux*oldld* | linux*aout* | linux*coff*)
16412
# This must be Linux ELF.
16413
linux* | k*bsd*-gnu)
16417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418
soname_spec='${libname}${release}${shared_ext}$major'
16419
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16420
shlibpath_var=LD_LIBRARY_PATH
16421
shlibpath_overrides_runpath=no
16422
# This implies no fast_install, which is unacceptable.
16423
# Some rework will be needed to allow for fast_install
16424
# before this can be enabled.
16425
hardcode_into_libs=yes
16427
# Append ld.so.conf contents to the search path
16428
if test -f /etc/ld.so.conf; then
16429
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' ' '`
16430
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16433
# We used to test for /lib/ld.so.1 and disable shared libraries on
16434
# powerpc, because MkLinux only supported shared libraries with the
16435
# GNU dynamic linker. Since this was broken with cross compilers,
16436
# most powerpc-linux boxes support dynamic linking these days and
16437
# people can always --disable-shared, the test was removed, and we
16438
# assume the GNU/Linux dynamic linker is in use.
16439
dynamic_linker='GNU/Linux ld.so'
16446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16447
soname_spec='${libname}${release}${shared_ext}$major'
16448
shlibpath_var=LD_LIBRARY_PATH
16449
shlibpath_overrides_runpath=no
16450
hardcode_into_libs=yes
16451
dynamic_linker='NetBSD ld.elf_so'
16458
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16460
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16461
dynamic_linker='NetBSD (a.out) ld.so'
16463
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16464
soname_spec='${libname}${release}${shared_ext}$major'
16465
dynamic_linker='NetBSD ld.elf_so'
16467
shlibpath_var=LD_LIBRARY_PATH
16468
shlibpath_overrides_runpath=yes
16469
hardcode_into_libs=yes
16474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16475
shlibpath_var=LD_LIBRARY_PATH
16476
shlibpath_overrides_runpath=yes
16483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16484
soname_spec='${libname}${release}${shared_ext}$major'
16485
shlibpath_var=LD_LIBRARY_PATH
16486
shlibpath_overrides_runpath=yes
16491
sys_lib_dlsearch_path_spec="/usr/lib"
16493
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16495
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16496
*) need_version=no ;;
16498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16499
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16500
shlibpath_var=LD_LIBRARY_PATH
16501
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16503
openbsd2.[89] | openbsd2.[89].*)
16504
shlibpath_overrides_runpath=no
16507
shlibpath_overrides_runpath=yes
16511
shlibpath_overrides_runpath=yes
16516
libname_spec='$name'
16519
library_names_spec='$libname${shared_ext} $libname.a'
16520
dynamic_linker='OS/2 ld.exe'
16521
shlibpath_var=LIBPATH
16524
osf3* | osf4* | osf5*)
16528
soname_spec='${libname}${release}${shared_ext}$major'
16529
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16530
shlibpath_var=LD_LIBRARY_PATH
16531
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16532
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16543
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16544
soname_spec='${libname}${release}${shared_ext}$major'
16545
shlibpath_var=LD_LIBRARY_PATH
16546
shlibpath_overrides_runpath=yes
16547
hardcode_into_libs=yes
16548
# ldd complains unless libraries are executable
16549
postinstall_cmds='chmod +x $lib'
16554
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16555
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16556
shlibpath_var=LD_LIBRARY_PATH
16557
shlibpath_overrides_runpath=yes
16558
if test "$with_gnu_ld" = yes; then
16566
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16567
soname_spec='${libname}${release}${shared_ext}$major'
16568
shlibpath_var=LD_LIBRARY_PATH
16569
case $host_vendor in
16571
shlibpath_overrides_runpath=no
16573
export_dynamic_flag_spec='${wl}-Blargedynsym'
16574
runpath_var=LD_RUN_PATH
16582
shlibpath_overrides_runpath=no
16583
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16589
if test -d /usr/nec ;then
16591
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16592
soname_spec='$libname${shared_ext}.$major'
16593
shlibpath_var=LD_LIBRARY_PATH
16597
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16598
version_type=freebsd-elf
16601
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16602
soname_spec='${libname}${release}${shared_ext}$major'
16603
shlibpath_var=LD_LIBRARY_PATH
16604
hardcode_into_libs=yes
16605
if test "$with_gnu_ld" = yes; then
16606
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16607
shlibpath_overrides_runpath=no
16609
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16610
shlibpath_overrides_runpath=yes
16613
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16617
sys_lib_dlsearch_path_spec='/usr/lib'
16622
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16623
soname_spec='${libname}${release}${shared_ext}$major'
16624
shlibpath_var=LD_LIBRARY_PATH
16631
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16632
echo "${ECHO_T}$dynamic_linker" >&6; }
16633
test "$dynamic_linker" = no && can_build_shared=no
16635
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16636
echo $ECHO_N "(cached) $ECHO_C" >&6
16638
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16641
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16642
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16643
echo $ECHO_N "(cached) $ECHO_C" >&6
16645
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16648
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16650
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16651
if test "$GCC" = yes; then
16652
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16655
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16656
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16657
hardcode_action_F77=
16658
if test -n "$hardcode_libdir_flag_spec_F77" || \
16659
test -n "$runpath_var_F77" || \
16660
test "X$hardcode_automatic_F77" = "Xyes" ; then
16662
# We can hardcode non-existant directories.
16663
if test "$hardcode_direct_F77" != no &&
16664
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16665
# have to relink, otherwise we might link with an installed library
16666
# when we should be linking with a yet-to-be-installed one
16667
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16668
test "$hardcode_minus_L_F77" != no; then
16669
# Linking always hardcodes the temporary library directory.
16670
hardcode_action_F77=relink
16672
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16673
hardcode_action_F77=immediate
16676
# We cannot hardcode anything, or else we can only hardcode existing
16678
hardcode_action_F77=unsupported
16680
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16681
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16683
if test "$hardcode_action_F77" = relink; then
16684
# Fast installation is not supported
16685
enable_fast_install=no
16686
elif test "$shlibpath_overrides_runpath" = yes ||
16687
test "$enable_shared" = no; then
16688
# Fast installation is not necessary
16689
enable_fast_install=needless
16693
# The else clause should only fire when bootstrapping the
16694
# libtool distribution, otherwise you forgot to ship ltmain.sh
16695
# with your package, and you will get complaints that there are
16696
# no rules to generate ltmain.sh.
16697
if test -f "$ltmain"; then
16698
# See if we are running on zsh, and set the options which allow our commands through
16699
# without removal of \ escapes.
16700
if test -n "${ZSH_VERSION+set}" ; then
16701
setopt NO_GLOB_SUBST
16703
# Now quote all the things that may contain metacharacters while being
16704
# careful not to overquote the AC_SUBSTed values. We take copies of the
16705
# variables and quote the copies for generation of the libtool script.
16706
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16708
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16709
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16710
deplibs_check_method reload_flag reload_cmds need_locks \
16711
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16712
lt_cv_sys_global_symbol_to_c_name_address \
16713
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16714
old_postinstall_cmds old_postuninstall_cmds \
16718
lt_prog_compiler_wl_F77 \
16719
lt_prog_compiler_pic_F77 \
16720
lt_prog_compiler_static_F77 \
16721
lt_prog_compiler_no_builtin_flag_F77 \
16722
export_dynamic_flag_spec_F77 \
16723
thread_safe_flag_spec_F77 \
16724
whole_archive_flag_spec_F77 \
16725
enable_shared_with_static_runtimes_F77 \
16726
old_archive_cmds_F77 \
16727
old_archive_from_new_cmds_F77 \
16728
predep_objects_F77 \
16729
postdep_objects_F77 \
16732
compiler_lib_search_path_F77 \
16733
compiler_lib_search_dirs_F77 \
16735
archive_expsym_cmds_F77 \
16736
postinstall_cmds_F77 \
16737
postuninstall_cmds_F77 \
16738
old_archive_from_expsyms_cmds_F77 \
16739
allow_undefined_flag_F77 \
16740
no_undefined_flag_F77 \
16741
export_symbols_cmds_F77 \
16742
hardcode_libdir_flag_spec_F77 \
16743
hardcode_libdir_flag_spec_ld_F77 \
16744
hardcode_libdir_separator_F77 \
16745
hardcode_automatic_F77 \
16747
module_expsym_cmds_F77 \
16748
lt_cv_prog_compiler_c_o_F77 \
16749
fix_srcfile_path_F77 \
16750
exclude_expsyms_F77 \
16751
include_expsyms_F77; do
16754
old_archive_cmds_F77 | \
16755
old_archive_from_new_cmds_F77 | \
16756
archive_cmds_F77 | \
16757
archive_expsym_cmds_F77 | \
16758
module_cmds_F77 | \
16759
module_expsym_cmds_F77 | \
16760
old_archive_from_expsyms_cmds_F77 | \
16761
export_symbols_cmds_F77 | \
16762
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16763
postinstall_cmds | postuninstall_cmds | \
16764
old_postinstall_cmds | old_postuninstall_cmds | \
16765
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16766
# Double-quote double-evaled strings.
16767
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16770
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16776
*'\$0 --fallback-echo"')
16777
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16783
cat <<__EOF__ >> "$cfgfile"
16784
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16786
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16788
# Shell to use when invoking shell scripts.
16791
# Whether or not to build shared libraries.
16792
build_libtool_libs=$enable_shared
16794
# Whether or not to build static libraries.
16795
build_old_libs=$enable_static
16797
# Whether or not to add -lc for building shared libraries.
16798
build_libtool_need_lc=$archive_cmds_need_lc_F77
16800
# Whether or not to disallow shared libs when runtime libs are static
16801
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16803
# Whether or not to optimize for fast installation.
16804
fast_install=$enable_fast_install
16807
host_alias=$host_alias
16811
# The build system.
16812
build_alias=$build_alias
16816
# An echo program that does not interpret backslashes.
16821
AR_FLAGS=$lt_AR_FLAGS
16826
# LTCC compiler flags.
16827
LTCFLAGS=$lt_LTCFLAGS
16829
# A language-specific compiler.
16830
CC=$lt_compiler_F77
16832
# Is the compiler the GNU C compiler?
16838
# The linker used to build libraries.
16841
# Whether we need hard or soft links.
16844
# A BSD-compatible nm program.
16847
# A symbol stripping program
16850
# Used to examine libraries when file_magic_cmd begins "file"
16851
MAGIC_CMD=$MAGIC_CMD
16853
# Used on cygwin: DLL creation program.
16856
# Used on cygwin: object dumper.
16859
# Used on cygwin: assembler.
16862
# The name of the directory that contains temporary libtool files.
16865
# How to create reloadable object files.
16866
reload_flag=$lt_reload_flag
16867
reload_cmds=$lt_reload_cmds
16869
# How to pass a linker flag through the compiler.
16870
wl=$lt_lt_prog_compiler_wl_F77
16872
# Object file suffix (normally "o").
16873
objext="$ac_objext"
16875
# Old archive suffix (normally "a").
16878
# Shared library suffix (normally ".so").
16879
shrext_cmds='$shrext_cmds'
16881
# Executable file suffix (normally "").
16884
# Additional compiler flags for building library objects.
16885
pic_flag=$lt_lt_prog_compiler_pic_F77
16888
# What is the maximum length of a command?
16889
max_cmd_len=$lt_cv_sys_max_cmd_len
16891
# Does compiler simultaneously support -c and -o options?
16892
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16894
# Must we lock files when doing compilation?
16895
need_locks=$lt_need_locks
16897
# Do we need the lib prefix for modules?
16898
need_lib_prefix=$need_lib_prefix
16900
# Do we need a version for libraries?
16901
need_version=$need_version
16903
# Whether dlopen is supported.
16904
dlopen_support=$enable_dlopen
16906
# Whether dlopen of programs is supported.
16907
dlopen_self=$enable_dlopen_self
16909
# Whether dlopen of statically linked programs is supported.
16910
dlopen_self_static=$enable_dlopen_self_static
16912
# Compiler flag to prevent dynamic linking.
16913
link_static_flag=$lt_lt_prog_compiler_static_F77
16915
# Compiler flag to turn off builtin functions.
16916
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16918
# Compiler flag to allow reflexive dlopens.
16919
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16921
# Compiler flag to generate shared objects directly from archives.
16922
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16924
# Compiler flag to generate thread-safe objects.
16925
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16927
# Library versioning type.
16928
version_type=$version_type
16930
# Format of library name prefix.
16931
libname_spec=$lt_libname_spec
16933
# List of archive names. First name is the real one, the rest are links.
16934
# The last name is the one that the linker finds with -lNAME.
16935
library_names_spec=$lt_library_names_spec
16937
# The coded name of the library, if different from the real name.
16938
soname_spec=$lt_soname_spec
16940
# Commands used to build and install an old-style archive.
16942
old_archive_cmds=$lt_old_archive_cmds_F77
16943
old_postinstall_cmds=$lt_old_postinstall_cmds
16944
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16946
# Create an old-style archive from a shared archive.
16947
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16949
# Create a temporary old-style archive to link instead of a shared archive.
16950
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16952
# Commands used to build and install a shared archive.
16953
archive_cmds=$lt_archive_cmds_F77
16954
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16955
postinstall_cmds=$lt_postinstall_cmds
16956
postuninstall_cmds=$lt_postuninstall_cmds
16958
# Commands used to build a loadable module (assumed same as above if empty)
16959
module_cmds=$lt_module_cmds_F77
16960
module_expsym_cmds=$lt_module_expsym_cmds_F77
16962
# Commands to strip libraries.
16963
old_striplib=$lt_old_striplib
16964
striplib=$lt_striplib
16966
# Dependencies to place before the objects being linked to create a
16968
predep_objects=$lt_predep_objects_F77
16970
# Dependencies to place after the objects being linked to create a
16972
postdep_objects=$lt_postdep_objects_F77
16974
# Dependencies to place before the objects being linked to create a
16976
predeps=$lt_predeps_F77
16978
# Dependencies to place after the objects being linked to create a
16980
postdeps=$lt_postdeps_F77
16982
# The directories searched by this compiler when creating a shared
16984
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16986
# The library search path used internally by the compiler when linking
16987
# a shared library.
16988
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16990
# Method to check whether dependent libraries are shared objects.
16991
deplibs_check_method=$lt_deplibs_check_method
16993
# Command to use when deplibs_check_method == file_magic.
16994
file_magic_cmd=$lt_file_magic_cmd
16996
# Flag that allows shared libraries with undefined symbols to be built.
16997
allow_undefined_flag=$lt_allow_undefined_flag_F77
16999
# Flag that forces no undefined symbols.
17000
no_undefined_flag=$lt_no_undefined_flag_F77
17002
# Commands used to finish a libtool library installation in a directory.
17003
finish_cmds=$lt_finish_cmds
17005
# Same as above, but a single script fragment to be evaled but not shown.
17006
finish_eval=$lt_finish_eval
17008
# Take the output of nm and produce a listing of raw symbols and C names.
17009
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17011
# Transform the output of nm in a proper C declaration
17012
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17014
# Transform the output of nm in a C name address pair
17015
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17017
# This is the shared library runtime path variable.
17018
runpath_var=$runpath_var
17020
# This is the shared library path variable.
17021
shlibpath_var=$shlibpath_var
17023
# Is shlibpath searched before the hard-coded library search path?
17024
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17026
# How to hardcode a shared library path into an executable.
17027
hardcode_action=$hardcode_action_F77
17029
# Whether we should hardcode library paths into libraries.
17030
hardcode_into_libs=$hardcode_into_libs
17032
# Flag to hardcode \$libdir into a binary during linking.
17033
# This must work even if \$libdir does not exist.
17034
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17036
# If ld is used when linking, flag to hardcode \$libdir into
17037
# a binary during linking. This must work even if \$libdir does
17039
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17041
# Whether we need a single -rpath flag with a separated argument.
17042
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17044
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17045
# resulting binary.
17046
hardcode_direct=$hardcode_direct_F77
17048
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17049
# resulting binary.
17050
hardcode_minus_L=$hardcode_minus_L_F77
17052
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17053
# the resulting binary.
17054
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17056
# Set to yes if building a shared library automatically hardcodes DIR into the library
17057
# and all subsequent libraries and executables linked against it.
17058
hardcode_automatic=$hardcode_automatic_F77
17060
# Variables whose values should be saved in libtool wrapper scripts and
17061
# restored at relink time.
17062
variables_saved_for_relink="$variables_saved_for_relink"
17064
# Whether libtool must link a program against all its dependency libraries.
17065
link_all_deplibs=$link_all_deplibs_F77
17067
# Compile-time system search path for libraries
17068
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17070
# Run-time system search path for libraries
17071
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17073
# Fix the shell variable \$srcfile for the compiler.
17074
fix_srcfile_path=$lt_fix_srcfile_path
17076
# Set to yes if exported symbols are required.
17077
always_export_symbols=$always_export_symbols_F77
17079
# The commands to list exported symbols.
17080
export_symbols_cmds=$lt_export_symbols_cmds_F77
17082
# The commands to extract the exported symbol list from a shared archive.
17083
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17085
# Symbols that should not be listed in the preloaded symbols.
17086
exclude_expsyms=$lt_exclude_expsyms_F77
17088
# Symbols that must always be exported.
17089
include_expsyms=$lt_include_expsyms_F77
17091
# ### END LIBTOOL TAG CONFIG: $tagname
17097
# If there is no Makefile yet, we rely on a make rule to execute
17098
# `config.status --recheck' to rerun these tests and create the
17099
# libtool script then.
17100
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17101
if test -f "$ltmain_in"; then
17102
test -f Makefile && make "$ltmain"
17108
ac_cpp='$CPP $CPPFLAGS'
17109
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17124
# Source file extension for Java test sources.
17127
# Object file extension for compiled Java test sources.
17131
# Code to be used in simple compile tests
17132
lt_simple_compile_test_code="class foo {}"
17134
# Code to be used in simple link tests
17135
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17137
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17139
# If no C compiler was specified, use CC.
17142
# If no C compiler flags were specified, use CFLAGS.
17143
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17145
# Allow CC to be a program name with arguments.
17149
# save warnings/boilerplate of simple test code
17150
ac_outfile=conftest.$ac_objext
17151
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17152
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17153
_lt_compiler_boilerplate=`cat conftest.err`
17156
ac_outfile=conftest.$ac_objext
17157
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17158
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17159
_lt_linker_boilerplate=`cat conftest.err`
17163
# Allow CC to be a program name with arguments.
17168
for cc_temp in $compiler""; do
17170
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17171
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17176
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17179
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17180
archive_cmds_need_lc_GCJ=no
17182
old_archive_cmds_GCJ=$old_archive_cmds
17185
lt_prog_compiler_no_builtin_flag_GCJ=
17187
if test "$GCC" = yes; then
17188
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17191
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17192
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17193
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17194
echo $ECHO_N "(cached) $ECHO_C" >&6
17196
lt_cv_prog_compiler_rtti_exceptions=no
17197
ac_outfile=conftest.$ac_objext
17198
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17199
lt_compiler_flag="-fno-rtti -fno-exceptions"
17200
# Insert the option either (1) after the last *FLAGS variable, or
17201
# (2) before a word containing "conftest.", or (3) at the end.
17202
# Note that $ac_compile itself does not contain backslashes and begins
17203
# with a dollar sign (not a hyphen), so the echo should work correctly.
17204
# The option is referenced via a variable to avoid confusing sed.
17205
lt_compile=`echo "$ac_compile" | $SED \
17206
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17207
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17208
-e 's:$: $lt_compiler_flag:'`
17209
(eval echo "\"\$as_me:17209: $lt_compile\"" >&5)
17210
(eval "$lt_compile" 2>conftest.err)
17212
cat conftest.err >&5
17213
echo "$as_me:17213: \$? = $ac_status" >&5
17214
if (exit $ac_status) && test -s "$ac_outfile"; then
17215
# The compiler can only warn and ignore the option if not recognized
17216
# So say no if there are warnings other than the usual output.
17217
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17218
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17219
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17220
lt_cv_prog_compiler_rtti_exceptions=yes
17226
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17227
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17229
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17230
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17237
lt_prog_compiler_wl_GCJ=
17238
lt_prog_compiler_pic_GCJ=
17239
lt_prog_compiler_static_GCJ=
17241
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17242
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17244
if test "$GCC" = yes; then
17245
lt_prog_compiler_wl_GCJ='-Wl,'
17246
lt_prog_compiler_static_GCJ='-static'
17250
# All AIX code is PIC.
17251
if test "$host_cpu" = ia64; then
17252
# AIX 5 now supports IA64 processor
17253
lt_prog_compiler_static_GCJ='-Bstatic'
17258
# FIXME: we need at least 68020 code to build shared libraries, but
17259
# adding the `-m68020' flag to GCC prevents building anything better,
17261
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17264
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17265
# PIC is the default for these OSes.
17268
mingw* | cygwin* | pw32* | os2*)
17269
# This hack is so that the source file can tell whether it is being
17270
# built for inclusion in a dll (and should export symbols for example).
17271
# Although the cygwin gcc ignores -fPIC, still need this for old-style
17272
# (--disable-auto-import) libraries
17276
darwin* | rhapsody*)
17277
# PIC is the default on this platform
17278
# Common symbols not allowed in MH_DYLIB files
17279
lt_prog_compiler_pic_GCJ='-fno-common'
17283
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
17284
# Instead, we relocate shared libraries at runtime.
17288
# Just because we use GCC doesn't mean we suddenly get shared libraries
17289
# on systems that don't support them.
17290
lt_prog_compiler_can_build_shared_GCJ=no
17295
if test -d /usr/nec; then
17296
lt_prog_compiler_pic_GCJ=-Kconform_pic
17301
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17302
# not for PA HP-UX.
17308
lt_prog_compiler_pic_GCJ='-fPIC'
17314
lt_prog_compiler_pic_GCJ='-fPIC'
17318
# PORTME Check for flag to pass linker flags through the system compiler.
17321
lt_prog_compiler_wl_GCJ='-Wl,'
17322
if test "$host_cpu" = ia64; then
17323
# AIX 5 now supports IA64 processor
17324
lt_prog_compiler_static_GCJ='-Bstatic'
17326
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17330
# PIC is the default on this platform
17331
# Common symbols not allowed in MH_DYLIB files
17332
case $cc_basename in
17334
lt_prog_compiler_pic_GCJ='-qnocommon'
17335
lt_prog_compiler_wl_GCJ='-Wl,'
17340
mingw* | cygwin* | pw32* | os2*)
17341
# This hack is so that the source file can tell whether it is being
17342
# built for inclusion in a dll (and should export symbols for example).
17346
hpux9* | hpux10* | hpux11*)
17347
lt_prog_compiler_wl_GCJ='-Wl,'
17348
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17349
# not for PA HP-UX.
17355
lt_prog_compiler_pic_GCJ='+Z'
17358
# Is there a better lt_prog_compiler_static that works with the bundled CC?
17359
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17362
irix5* | irix6* | nonstopux*)
17363
lt_prog_compiler_wl_GCJ='-Wl,'
17364
# PIC (with -KPIC) is the default.
17365
lt_prog_compiler_static_GCJ='-non_shared'
17369
lt_prog_compiler_pic_GCJ='-KPIC'
17370
lt_prog_compiler_static_GCJ='-Bstatic'
17373
linux* | k*bsd*-gnu)
17374
case $cc_basename in
17376
lt_prog_compiler_wl_GCJ='-Wl,'
17377
lt_prog_compiler_pic_GCJ='-KPIC'
17378
lt_prog_compiler_static_GCJ='-static'
17380
pgcc* | pgf77* | pgf90* | pgf95*)
17381
# Portland Group compilers (*not* the Pentium gcc compiler,
17382
# which looks to be a dead project)
17383
lt_prog_compiler_wl_GCJ='-Wl,'
17384
lt_prog_compiler_pic_GCJ='-fpic'
17385
lt_prog_compiler_static_GCJ='-Bstatic'
17388
lt_prog_compiler_wl_GCJ='-Wl,'
17389
# All Alpha code is PIC.
17390
lt_prog_compiler_static_GCJ='-non_shared'
17393
case `$CC -V 2>&1 | sed 5q` in
17396
lt_prog_compiler_pic_GCJ='-KPIC'
17397
lt_prog_compiler_static_GCJ='-Bstatic'
17398
lt_prog_compiler_wl_GCJ='-Wl,'
17401
# Sun Fortran 8.3 passes all unrecognized flags to the linker
17402
lt_prog_compiler_pic_GCJ='-KPIC'
17403
lt_prog_compiler_static_GCJ='-Bstatic'
17404
lt_prog_compiler_wl_GCJ=''
17411
osf3* | osf4* | osf5*)
17412
lt_prog_compiler_wl_GCJ='-Wl,'
17413
# All OSF/1 code is PIC.
17414
lt_prog_compiler_static_GCJ='-non_shared'
17418
lt_prog_compiler_static_GCJ='-non_shared'
17422
lt_prog_compiler_pic_GCJ='-KPIC'
17423
lt_prog_compiler_static_GCJ='-Bstatic'
17424
case $cc_basename in
17425
f77* | f90* | f95*)
17426
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17428
lt_prog_compiler_wl_GCJ='-Wl,';;
17433
lt_prog_compiler_wl_GCJ='-Qoption ld '
17434
lt_prog_compiler_pic_GCJ='-PIC'
17435
lt_prog_compiler_static_GCJ='-Bstatic'
17438
sysv4 | sysv4.2uw2* | sysv4.3*)
17439
lt_prog_compiler_wl_GCJ='-Wl,'
17440
lt_prog_compiler_pic_GCJ='-KPIC'
17441
lt_prog_compiler_static_GCJ='-Bstatic'
17445
if test -d /usr/nec ;then
17446
lt_prog_compiler_pic_GCJ='-Kconform_pic'
17447
lt_prog_compiler_static_GCJ='-Bstatic'
17451
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17452
lt_prog_compiler_wl_GCJ='-Wl,'
17453
lt_prog_compiler_pic_GCJ='-KPIC'
17454
lt_prog_compiler_static_GCJ='-Bstatic'
17458
lt_prog_compiler_wl_GCJ='-Wl,'
17459
lt_prog_compiler_can_build_shared_GCJ=no
17463
lt_prog_compiler_pic_GCJ='-pic'
17464
lt_prog_compiler_static_GCJ='-Bstatic'
17468
lt_prog_compiler_can_build_shared_GCJ=no
17473
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17474
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17477
# Check to make sure the PIC flag actually works.
17479
if test -n "$lt_prog_compiler_pic_GCJ"; then
17481
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17482
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17483
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17484
echo $ECHO_N "(cached) $ECHO_C" >&6
17486
lt_cv_prog_compiler_pic_works_GCJ=no
17487
ac_outfile=conftest.$ac_objext
17488
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17489
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17490
# Insert the option either (1) after the last *FLAGS variable, or
17491
# (2) before a word containing "conftest.", or (3) at the end.
17492
# Note that $ac_compile itself does not contain backslashes and begins
17493
# with a dollar sign (not a hyphen), so the echo should work correctly.
17494
# The option is referenced via a variable to avoid confusing sed.
17495
lt_compile=`echo "$ac_compile" | $SED \
17496
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17497
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17498
-e 's:$: $lt_compiler_flag:'`
17499
(eval echo "\"\$as_me:17499: $lt_compile\"" >&5)
17500
(eval "$lt_compile" 2>conftest.err)
17502
cat conftest.err >&5
17503
echo "$as_me:17503: \$? = $ac_status" >&5
17504
if (exit $ac_status) && test -s "$ac_outfile"; then
17505
# The compiler can only warn and ignore the option if not recognized
17506
# So say no if there are warnings other than the usual output.
17507
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17508
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17509
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17510
lt_cv_prog_compiler_pic_works_GCJ=yes
17516
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17517
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17519
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17520
case $lt_prog_compiler_pic_GCJ in
17522
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17525
lt_prog_compiler_pic_GCJ=
17526
lt_prog_compiler_can_build_shared_GCJ=no
17531
# For platforms which do not support PIC, -DPIC is meaningless:
17533
lt_prog_compiler_pic_GCJ=
17536
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17541
# Check to make sure the static flag actually works.
17543
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17544
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17545
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17546
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17547
echo $ECHO_N "(cached) $ECHO_C" >&6
17549
lt_cv_prog_compiler_static_works_GCJ=no
17550
save_LDFLAGS="$LDFLAGS"
17551
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17552
echo "$lt_simple_link_test_code" > conftest.$ac_ext
17553
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17554
# The linker can only warn and ignore the option if not recognized
17555
# So say no if there are warnings
17556
if test -s conftest.err; then
17557
# Append any errors to the config.log.
17558
cat conftest.err 1>&5
17559
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17560
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17561
if diff conftest.exp conftest.er2 >/dev/null; then
17562
lt_cv_prog_compiler_static_works_GCJ=yes
17565
lt_cv_prog_compiler_static_works_GCJ=yes
17569
LDFLAGS="$save_LDFLAGS"
17572
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17573
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17575
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17578
lt_prog_compiler_static_GCJ=
17582
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17583
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17584
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17585
echo $ECHO_N "(cached) $ECHO_C" >&6
17587
lt_cv_prog_compiler_c_o_GCJ=no
17588
$rm -r conftest 2>/dev/null
17592
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17594
lt_compiler_flag="-o out/conftest2.$ac_objext"
17595
# Insert the option either (1) after the last *FLAGS variable, or
17596
# (2) before a word containing "conftest.", or (3) at the end.
17597
# Note that $ac_compile itself does not contain backslashes and begins
17598
# with a dollar sign (not a hyphen), so the echo should work correctly.
17599
lt_compile=`echo "$ac_compile" | $SED \
17600
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17601
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17602
-e 's:$: $lt_compiler_flag:'`
17603
(eval echo "\"\$as_me:17603: $lt_compile\"" >&5)
17604
(eval "$lt_compile" 2>out/conftest.err)
17606
cat out/conftest.err >&5
17607
echo "$as_me:17607: \$? = $ac_status" >&5
17608
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17610
# The compiler can only warn and ignore the option if not recognized
17611
# So say no if there are warnings
17612
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17613
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17614
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17615
lt_cv_prog_compiler_c_o_GCJ=yes
17620
# SGI C++ compiler will create directory out/ii_files/ for
17621
# template instantiation
17622
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17623
$rm out/* && rmdir out
17629
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17630
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17633
hard_links="nottested"
17634
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17635
# do not overwrite the value of need_locks provided by the user
17636
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17637
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17640
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17642
ln conftest.a conftest.b 2>&5 || hard_links=no
17643
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17644
{ echo "$as_me:$LINENO: result: $hard_links" >&5
17645
echo "${ECHO_T}$hard_links" >&6; }
17646
if test "$hard_links" = no; then
17647
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17648
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17655
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17656
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17659
allow_undefined_flag_GCJ=
17660
enable_shared_with_static_runtimes_GCJ=no
17662
archive_expsym_cmds_GCJ=
17663
old_archive_From_new_cmds_GCJ=
17664
old_archive_from_expsyms_cmds_GCJ=
17665
export_dynamic_flag_spec_GCJ=
17666
whole_archive_flag_spec_GCJ=
17667
thread_safe_flag_spec_GCJ=
17668
hardcode_libdir_flag_spec_GCJ=
17669
hardcode_libdir_flag_spec_ld_GCJ=
17670
hardcode_libdir_separator_GCJ=
17671
hardcode_direct_GCJ=no
17672
hardcode_minus_L_GCJ=no
17673
hardcode_shlibpath_var_GCJ=unsupported
17674
link_all_deplibs_GCJ=unknown
17675
hardcode_automatic_GCJ=no
17677
module_expsym_cmds_GCJ=
17678
always_export_symbols_GCJ=no
17679
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17680
# include_expsyms should be a list of space-separated symbols to be *always*
17681
# included in the symbol list
17682
include_expsyms_GCJ=
17683
# exclude_expsyms can be an extended regexp of symbols to exclude
17684
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17685
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17686
# as well as any symbol that contains `d'.
17687
exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17688
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17689
# platforms (ab)use it in PIC code, but their linkers get confused if
17690
# the symbol is explicitly referenced. Since portable code cannot
17691
# rely on this symbol name, it's probably fine to never include it in
17692
# preloaded symbol tables.
17693
# Exclude shared library initialization/finalization symbols.
17694
extract_expsyms_cmds=
17695
# Just being paranoid about ensuring that cc_basename is set.
17696
for cc_temp in $compiler""; do
17698
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17699
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17704
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17707
cygwin* | mingw* | pw32*)
17708
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17709
# When not using gcc, we currently assume that we are using
17710
# Microsoft Visual C++.
17711
if test "$GCC" != yes; then
17716
# we just hope/assume this is gcc and not c89 (= MSVC++)
17725
if test "$with_gnu_ld" = yes; then
17726
# If archive_cmds runs LD, not CC, wlarc should be empty
17729
# Set some defaults for GNU ld with shared library support. These
17730
# are reset later if shared libraries are not supported. Putting them
17731
# here allows them to be overridden if necessary.
17732
runpath_var=LD_RUN_PATH
17733
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17734
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17735
# ancient GNU ld didn't support --whole-archive et. al.
17736
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17737
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17739
whole_archive_flag_spec_GCJ=
17741
supports_anon_versioning=no
17742
case `$LD -v 2>/dev/null` in
17743
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17744
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17745
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17746
*\ 2.11.*) ;; # other 2.11 versions
17747
*) supports_anon_versioning=yes ;;
17750
# See if GNU ld supports shared libraries.
17753
# On AIX/PPC, the GNU linker is very broken
17754
if test "$host_cpu" != ia64; then
17758
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17759
*** to be unable to reliably create shared libraries on AIX.
17760
*** Therefore, libtool is disabling shared libraries support. If you
17761
*** really care for shared libraries, you may want to modify your PATH
17762
*** so that a non-GNU linker is found, and then restart.
17769
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)'
17770
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17771
hardcode_minus_L_GCJ=yes
17773
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17774
# that the semantics of dynamic libraries on AmigaOS, at least up
17775
# to version 4, is to share data among multiple programs linked
17776
# with the same dynamic library. Since this doesn't match the
17777
# behavior of shared libraries on other platforms, we can't use
17783
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17784
allow_undefined_flag_GCJ=unsupported
17785
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17786
# support --undefined. This deserves some investigation. FIXME
17787
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17793
cygwin* | mingw* | pw32*)
17794
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17795
# as there is no search path for DLLs.
17796
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17797
allow_undefined_flag_GCJ=unsupported
17798
always_export_symbols_GCJ=no
17799
enable_shared_with_static_runtimes_GCJ=yes
17800
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17802
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17803
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17804
# If the export-symbols file already is a .def file (1st line
17805
# is EXPORTS), use it as is; otherwise, prepend...
17806
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17807
cp $export_symbols $output_objdir/$soname.def;
17809
echo EXPORTS > $output_objdir/$soname.def;
17810
cat $export_symbols >> $output_objdir/$soname.def;
17812
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17819
hardcode_direct_GCJ=no
17820
hardcode_shlibpath_var_GCJ=no
17821
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17822
export_dynamic_flag_spec_GCJ='${wl}-E'
17823
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17824
# Instead, shared libraries are loaded at an image base (0x10000000 by
17825
# default) and relocated if they conflict, which is a slow very memory
17826
# consuming and fragmenting process. To avoid this, we pick a random,
17827
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17828
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
17829
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'
17830
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'
17833
gnu* | linux* | k*bsd*-gnu)
17834
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17836
case $cc_basename,$host_cpu in
17837
pgcc*) # Portland Group C compiler
17838
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'
17839
tmp_addflag=' $pic_flag'
17841
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17842
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'
17843
tmp_addflag=' $pic_flag -Mnomain' ;;
17844
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17845
tmp_addflag=' -i_dynamic' ;;
17846
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17847
tmp_addflag=' -i_dynamic -nofor_main' ;;
17848
ifc* | ifort*) # Intel Fortran compiler
17849
tmp_addflag=' -nofor_main' ;;
17851
case `$CC -V 2>&1 | sed 5q` in
17852
*Sun\ C*) # Sun C 5.9
17853
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'
17854
tmp_sharedflag='-G' ;;
17855
*Sun\ F*) # Sun Fortran 8.3
17856
tmp_sharedflag='-G' ;;
17858
tmp_sharedflag='-shared' ;;
17860
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17862
if test $supports_anon_versioning = yes; then
17863
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17864
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17865
$echo "local: *; };" >> $output_objdir/$libname.ver~
17866
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17868
link_all_deplibs_GCJ=no
17874
netbsd* | netbsdelf*-gnu)
17875
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17876
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17879
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17880
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17885
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17889
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17890
*** create shared libraries on Solaris systems. Therefore, libtool
17891
*** is disabling shared libraries support. We urge you to upgrade GNU
17892
*** binutils to release 2.9.1 or newer. Another option is to modify
17893
*** your PATH or compiler configuration so that the native linker is
17894
*** used, and then restart.
17897
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17898
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17899
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17905
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17906
case `$LD -v 2>&1` in
17907
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17911
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17912
*** reliably create shared libraries on SCO systems. Therefore, libtool
17913
*** is disabling shared libraries support. We urge you to upgrade GNU
17914
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17915
*** your PATH or compiler configuration so that the native linker is
17916
*** used, and then restart.
17921
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17922
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17923
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17924
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17933
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17935
hardcode_direct_GCJ=yes
17936
hardcode_shlibpath_var_GCJ=no
17940
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17941
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17942
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17949
if test "$ld_shlibs_GCJ" = no; then
17951
hardcode_libdir_flag_spec_GCJ=
17952
export_dynamic_flag_spec_GCJ=
17953
whole_archive_flag_spec_GCJ=
17956
# PORTME fill in a description of your system's linker (not GNU ld)
17959
allow_undefined_flag_GCJ=unsupported
17960
always_export_symbols_GCJ=yes
17961
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'
17962
# Note: this linker hardcodes the directories in LIBPATH if there
17963
# are no directories specified by -L.
17964
hardcode_minus_L_GCJ=yes
17965
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17966
# Neither direct hardcoding nor static linking is supported with a
17968
hardcode_direct_GCJ=unsupported
17973
if test "$host_cpu" = ia64; then
17974
# On IA64, the linker does run time linking by default, so we don't
17975
# have to do anything special.
17976
aix_use_runtimelinking=no
17977
exp_sym_flag='-Bexport'
17980
# If we're using GNU nm, then we don't want the "-C" option.
17981
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17982
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17983
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'
17985
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'
17987
aix_use_runtimelinking=no
17989
# Test if we are trying to use run time linking or normal
17990
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17991
# need to do runtime linking.
17992
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17993
for ld_flag in $LDFLAGS; do
17994
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17995
aix_use_runtimelinking=yes
18002
exp_sym_flag='-bexport'
18003
no_entry_flag='-bnoentry'
18006
# When large executables or shared objects are built, AIX ld can
18007
# have problems creating the table of contents. If linking a library
18008
# or program results in "error TOC overflow" add -mminimal-toc to
18009
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18010
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18012
archive_cmds_GCJ=''
18013
hardcode_direct_GCJ=yes
18014
hardcode_libdir_separator_GCJ=':'
18015
link_all_deplibs_GCJ=yes
18017
if test "$GCC" = yes; then
18018
case $host_os in aix4.[012]|aix4.[012].*)
18019
# We only want to do this on AIX 4.2 and lower, the check
18020
# below for broken collect2 doesn't work under 4.3+
18021
collect2name=`${CC} -print-prog-name=collect2`
18022
if test -f "$collect2name" && \
18023
strings "$collect2name" | grep resolve_lib_name >/dev/null
18025
# We have reworked collect2
18028
# We have old collect2
18029
hardcode_direct_GCJ=unsupported
18030
# It fails to find uninstalled libraries when the uninstalled
18031
# path is not listed in the libpath. Setting hardcode_minus_L
18032
# to unsupported forces relinking
18033
hardcode_minus_L_GCJ=yes
18034
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18035
hardcode_libdir_separator_GCJ=
18039
shared_flag='-shared'
18040
if test "$aix_use_runtimelinking" = yes; then
18041
shared_flag="$shared_flag "'${wl}-G'
18045
if test "$host_cpu" = ia64; then
18046
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18047
# chokes on -Wl,-G. The following line is correct:
18050
if test "$aix_use_runtimelinking" = yes; then
18051
shared_flag='${wl}-G'
18053
shared_flag='${wl}-bM:SRE'
18058
# It seems that -bexpall does not export symbols beginning with
18059
# underscore (_), so it is better to generate a list of symbols to export.
18060
always_export_symbols_GCJ=yes
18061
if test "$aix_use_runtimelinking" = yes; then
18062
# Warning - without using the other runtime loading flags (-brtl),
18063
# -berok will link without error, but may produce a broken library.
18064
allow_undefined_flag_GCJ='-berok'
18065
# Determine the default libpath from the value encoded in an empty executable.
18066
cat >conftest.$ac_ext <<_ACEOF
18069
cat confdefs.h >>conftest.$ac_ext
18070
cat >>conftest.$ac_ext <<_ACEOF
18071
/* end confdefs.h. */
18081
rm -f conftest.$ac_objext conftest$ac_exeext
18082
if { (ac_try="$ac_link"
18083
case "(($ac_try" in
18084
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085
*) ac_try_echo=$ac_try;;
18087
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088
(eval "$ac_link") 2>conftest.er1
18090
grep -v '^ *+' conftest.er1 >conftest.err
18092
cat conftest.err >&5
18093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094
(exit $ac_status); } && {
18095
test -z "$ac_c_werror_flag" ||
18096
test ! -s conftest.err
18097
} && test -s conftest$ac_exeext &&
18098
$as_test_x conftest$ac_exeext; then
18100
lt_aix_libpath_sed='
18101
/Import File Strings/,/^$/ {
18107
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18108
# Check for a 64-bit object if we didn't find anything.
18109
if test -z "$aix_libpath"; then
18110
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18113
echo "$as_me: failed program was:" >&5
18114
sed 's/^/| /' conftest.$ac_ext >&5
18119
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18120
conftest$ac_exeext conftest.$ac_ext
18121
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18123
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18124
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"
18126
if test "$host_cpu" = ia64; then
18127
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18128
allow_undefined_flag_GCJ="-z nodefs"
18129
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"
18131
# Determine the default libpath from the value encoded in an empty executable.
18132
cat >conftest.$ac_ext <<_ACEOF
18135
cat confdefs.h >>conftest.$ac_ext
18136
cat >>conftest.$ac_ext <<_ACEOF
18137
/* end confdefs.h. */
18147
rm -f conftest.$ac_objext conftest$ac_exeext
18148
if { (ac_try="$ac_link"
18149
case "(($ac_try" in
18150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18151
*) ac_try_echo=$ac_try;;
18153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18154
(eval "$ac_link") 2>conftest.er1
18156
grep -v '^ *+' conftest.er1 >conftest.err
18158
cat conftest.err >&5
18159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160
(exit $ac_status); } && {
18161
test -z "$ac_c_werror_flag" ||
18162
test ! -s conftest.err
18163
} && test -s conftest$ac_exeext &&
18164
$as_test_x conftest$ac_exeext; then
18166
lt_aix_libpath_sed='
18167
/Import File Strings/,/^$/ {
18173
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18174
# Check for a 64-bit object if we didn't find anything.
18175
if test -z "$aix_libpath"; then
18176
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18179
echo "$as_me: failed program was:" >&5
18180
sed 's/^/| /' conftest.$ac_ext >&5
18185
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18186
conftest$ac_exeext conftest.$ac_ext
18187
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18189
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18190
# Warning - without using the other run time loading flags,
18191
# -berok will link without error, but may produce a broken library.
18192
no_undefined_flag_GCJ=' ${wl}-bernotok'
18193
allow_undefined_flag_GCJ=' ${wl}-berok'
18194
# Exported symbols can be pulled into shared objects from archives
18195
whole_archive_flag_spec_GCJ='$convenience'
18196
archive_cmds_need_lc_GCJ=yes
18197
# This is similar to how AIX traditionally builds its shared libraries.
18198
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'
18204
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)'
18205
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18206
hardcode_minus_L_GCJ=yes
18207
# see comment about different semantics on the GNU ld section
18212
export_dynamic_flag_spec_GCJ=-rdynamic
18215
cygwin* | mingw* | pw32*)
18216
# When not using gcc, we currently assume that we are using
18217
# Microsoft Visual C++.
18218
# hardcode_libdir_flag_spec is actually meaningless, as there is
18219
# no search path for DLLs.
18220
hardcode_libdir_flag_spec_GCJ=' '
18221
allow_undefined_flag_GCJ=unsupported
18222
# Tell ltmain to make .lib files, not .a files.
18224
# Tell ltmain to make .dll files, not .so files.
18226
# FIXME: Setting linknames here is a bad hack.
18227
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18228
# The linker will automatically build a .lib file if we build a DLL.
18229
old_archive_From_new_cmds_GCJ='true'
18230
# FIXME: Should let the user specify the lib program.
18231
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18232
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18233
enable_shared_with_static_runtimes_GCJ=yes
18236
darwin* | rhapsody*)
18238
rhapsody* | darwin1.[012])
18239
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18242
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18243
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18245
case ${MACOSX_DEPLOYMENT_TARGET} in
18247
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18250
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18256
archive_cmds_need_lc_GCJ=no
18257
hardcode_direct_GCJ=no
18258
hardcode_automatic_GCJ=yes
18259
hardcode_shlibpath_var_GCJ=unsupported
18260
whole_archive_flag_spec_GCJ=''
18261
link_all_deplibs_GCJ=yes
18262
if test "$GCC" = yes ; then
18263
output_verbose_link_cmd='echo'
18264
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}"
18265
module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18266
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}"
18267
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}"
18269
case $cc_basename in
18271
output_verbose_link_cmd='echo'
18272
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18273
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18274
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18275
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}'
18276
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}'
18286
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18287
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18288
hardcode_shlibpath_var_GCJ=no
18295
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18296
# support. Future versions do this automatically, but an explicit c++rt0.o
18297
# does not break anything, and helps significantly (at the cost of a little
18300
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18301
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18302
hardcode_direct_GCJ=yes
18303
hardcode_shlibpath_var_GCJ=no
18306
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18308
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18309
hardcode_direct_GCJ=yes
18310
hardcode_minus_L_GCJ=yes
18311
hardcode_shlibpath_var_GCJ=no
18314
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18315
freebsd* | dragonfly*)
18316
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18317
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18318
hardcode_direct_GCJ=yes
18319
hardcode_shlibpath_var_GCJ=no
18323
if test "$GCC" = yes; then
18324
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'
18326
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'
18328
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18329
hardcode_libdir_separator_GCJ=:
18330
hardcode_direct_GCJ=yes
18332
# hardcode_minus_L: Not really in the search PATH,
18333
# but as the default location of the library.
18334
hardcode_minus_L_GCJ=yes
18335
export_dynamic_flag_spec_GCJ='${wl}-E'
18339
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18340
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18342
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18344
if test "$with_gnu_ld" = no; then
18345
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18346
hardcode_libdir_separator_GCJ=:
18348
hardcode_direct_GCJ=yes
18349
export_dynamic_flag_spec_GCJ='${wl}-E'
18351
# hardcode_minus_L: Not really in the search PATH,
18352
# but as the default location of the library.
18353
hardcode_minus_L_GCJ=yes
18358
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18361
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18364
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18367
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18373
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18376
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18379
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18383
if test "$with_gnu_ld" = no; then
18384
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18385
hardcode_libdir_separator_GCJ=:
18389
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18390
hardcode_direct_GCJ=no
18391
hardcode_shlibpath_var_GCJ=no
18394
hardcode_direct_GCJ=yes
18395
export_dynamic_flag_spec_GCJ='${wl}-E'
18397
# hardcode_minus_L: Not really in the search PATH,
18398
# but as the default location of the library.
18399
hardcode_minus_L_GCJ=yes
18405
irix5* | irix6* | nonstopux*)
18406
if test "$GCC" = yes; then
18407
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'
18409
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'
18410
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18412
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18413
hardcode_libdir_separator_GCJ=:
18414
link_all_deplibs_GCJ=yes
18417
netbsd* | netbsdelf*-gnu)
18418
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18419
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18421
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18423
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18424
hardcode_direct_GCJ=yes
18425
hardcode_shlibpath_var_GCJ=no
18429
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18430
hardcode_direct_GCJ=yes
18431
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18432
hardcode_libdir_separator_GCJ=:
18433
hardcode_shlibpath_var_GCJ=no
18437
if test -f /usr/libexec/ld.so; then
18438
hardcode_direct_GCJ=yes
18439
hardcode_shlibpath_var_GCJ=no
18440
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18441
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18442
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18443
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18444
export_dynamic_flag_spec_GCJ='${wl}-E'
18447
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18448
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18449
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18452
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18453
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18463
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18464
hardcode_minus_L_GCJ=yes
18465
allow_undefined_flag_GCJ=unsupported
18466
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'
18467
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18471
if test "$GCC" = yes; then
18472
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18473
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'
18475
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18476
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'
18478
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18479
hardcode_libdir_separator_GCJ=:
18482
osf4* | osf5*) # as osf3* with the addition of -msym flag
18483
if test "$GCC" = yes; then
18484
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18485
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'
18486
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18488
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18489
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'
18490
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~
18491
$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'
18493
# Both c and cxx compiler support -rpath directly
18494
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18496
hardcode_libdir_separator_GCJ=:
18500
no_undefined_flag_GCJ=' -z text'
18501
if test "$GCC" = yes; then
18503
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18504
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18505
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18508
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18509
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18510
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18512
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18513
hardcode_shlibpath_var_GCJ=no
18515
solaris2.[0-5] | solaris2.[0-5].*) ;;
18517
# The compiler driver will combine and reorder linker options,
18518
# but understands `-z linker_flag'. GCC discards it without `$wl',
18519
# but is careful enough not to reorder.
18520
# Supported since Solaris 2.6 (maybe 2.5.1?)
18521
if test "$GCC" = yes; then
18522
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18524
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18528
link_all_deplibs_GCJ=yes
18532
if test "x$host_vendor" = xsequent; then
18533
# Use $CC to link under sequent, because it throws in some extra .o
18534
# files that make .init and .fini sections work.
18535
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18537
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18539
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18540
hardcode_direct_GCJ=yes
18541
hardcode_minus_L_GCJ=yes
18542
hardcode_shlibpath_var_GCJ=no
18546
case $host_vendor in
18548
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18549
hardcode_direct_GCJ=yes # is this really true???
18552
## LD is ld it makes a PLAMLIB
18553
## CC just makes a GrossModule.
18554
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18555
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18556
hardcode_direct_GCJ=no
18559
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18560
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18563
runpath_var='LD_RUN_PATH'
18564
hardcode_shlibpath_var_GCJ=no
18568
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18569
hardcode_shlibpath_var_GCJ=no
18570
export_dynamic_flag_spec_GCJ='-Bexport'
18574
if test -d /usr/nec; then
18575
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18576
hardcode_shlibpath_var_GCJ=no
18577
runpath_var=LD_RUN_PATH
18578
hardcode_runpath_var=yes
18583
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18584
no_undefined_flag_GCJ='${wl}-z,text'
18585
archive_cmds_need_lc_GCJ=no
18586
hardcode_shlibpath_var_GCJ=no
18587
runpath_var='LD_RUN_PATH'
18589
if test "$GCC" = yes; then
18590
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18591
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18593
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18594
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18598
sysv5* | sco3.2v5* | sco5v6*)
18599
# Note: We can NOT use -z defs as we might desire, because we do not
18600
# link with -lc, and that would cause any symbols used from libc to
18601
# always be unresolved, which means just about no library would
18602
# ever link correctly. If we're not using GNU ld we use -z text
18603
# though, which does catch some bad symbols but isn't as heavy-handed
18605
no_undefined_flag_GCJ='${wl}-z,text'
18606
allow_undefined_flag_GCJ='${wl}-z,nodefs'
18607
archive_cmds_need_lc_GCJ=no
18608
hardcode_shlibpath_var_GCJ=no
18609
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18610
hardcode_libdir_separator_GCJ=':'
18611
link_all_deplibs_GCJ=yes
18612
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18613
runpath_var='LD_RUN_PATH'
18615
if test "$GCC" = yes; then
18616
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18617
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18619
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18620
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18625
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18626
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18627
hardcode_shlibpath_var_GCJ=no
18636
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18637
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18638
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18641
# Do we need to explicitly link libc?
18643
case "x$archive_cmds_need_lc_GCJ" in
18645
# Assume -lc should be added
18646
archive_cmds_need_lc_GCJ=yes
18648
if test "$enable_shared" = yes && test "$GCC" = yes; then
18649
case $archive_cmds_GCJ in
18651
# FIXME: we may have to deal with multi-command sequences.
18654
# Test whether the compiler implicitly links with -lc since on some
18655
# systems, -lgcc has to come before -lc. If gcc already passes -lc
18656
# to ld, don't add -lc before -lgcc.
18657
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18658
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18660
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18662
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663
(eval $ac_compile) 2>&5
18665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666
(exit $ac_status); } 2>conftest.err; then
18669
libobjs=conftest.$ac_objext
18671
wl=$lt_prog_compiler_wl_GCJ
18672
pic_flag=$lt_prog_compiler_pic_GCJ
18678
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18679
allow_undefined_flag_GCJ=
18680
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18681
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684
(exit $ac_status); }
18686
archive_cmds_need_lc_GCJ=no
18688
archive_cmds_need_lc_GCJ=yes
18690
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18692
cat conftest.err 1>&5
18695
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18696
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18703
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18704
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18705
library_names_spec=
18706
libname_spec='lib$name'
18710
postuninstall_cmds=
18714
shlibpath_overrides_runpath=unknown
18716
dynamic_linker="$host_os ld.so"
18717
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18719
need_lib_prefix=unknown
18720
hardcode_into_libs=no
18722
# when you set need_version to no, make sure it does not cause -set_version
18723
# flags to be left without arguments
18724
need_version=unknown
18729
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18730
shlibpath_var=LIBPATH
18732
# AIX 3 has no versioning support, so we append a major version to the name.
18733
soname_spec='${libname}${release}${shared_ext}$major'
18740
hardcode_into_libs=yes
18741
if test "$host_cpu" = ia64; then
18742
# AIX 5 supports IA64
18743
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18744
shlibpath_var=LD_LIBRARY_PATH
18746
# With GCC up to 2.95.x, collect2 would create an import file
18747
# for dependence libraries. The import file would start with
18748
# the line `#! .'. This would cause the generated library to
18749
# depend on `.', always an invalid library. This was fixed in
18750
# development snapshots of GCC prior to 3.0.
18752
aix4 | aix4.[01] | aix4.[01].*)
18753
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18755
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18758
can_build_shared=no
18762
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18763
# soname into executable. Probably we can add versioning support to
18764
# collect2, so additional links can be useful in future.
18765
if test "$aix_use_runtimelinking" = yes; then
18766
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18767
# instead of lib<name>.a to let people know that these are not
18768
# typical AIX shared libraries.
18769
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18771
# We preserve .a as extension for shared libraries through AIX4.2
18772
# and later when we are not doing run time linking.
18773
library_names_spec='${libname}${release}.a $libname.a'
18774
soname_spec='${libname}${release}${shared_ext}$major'
18776
shlibpath_var=LIBPATH
18781
library_names_spec='$libname.ixlibrary $libname.a'
18782
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18783
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'
18787
library_names_spec='${libname}${shared_ext}'
18788
dynamic_linker="$host_os ld.so"
18789
shlibpath_var=LIBRARY_PATH
18795
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18796
soname_spec='${libname}${release}${shared_ext}$major'
18797
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18798
shlibpath_var=LD_LIBRARY_PATH
18799
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18800
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18801
# the default ld.so.conf also contains /usr/contrib/lib and
18802
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18803
# libtool to hard-code these into programs
18806
cygwin* | mingw* | pw32*)
18807
version_type=windows
18812
case $GCC,$host_os in
18813
yes,cygwin* | yes,mingw* | yes,pw32*)
18814
library_names_spec='$libname.dll.a'
18815
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18816
postinstall_cmds='base_file=`basename \${file}`~
18817
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18818
dldir=$destdir/`dirname \$dlpath`~
18819
test -d \$dldir || mkdir -p \$dldir~
18820
$install_prog $dir/$dlname \$dldir/$dlname~
18821
chmod a+x \$dldir/$dlname'
18822
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18823
dlpath=$dir/\$dldll~
18825
shlibpath_overrides_runpath=yes
18829
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18830
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18831
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18834
# MinGW DLLs use traditional 'lib' prefix
18835
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18836
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18837
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18838
# It is most probably a Windows format PATH printed by
18839
# mingw gcc, but we are running on Cygwin. Gcc prints its search
18840
# path with ; separators, and with drive letters. We can handle the
18841
# drive letters (cygwin fileutils understands them), so leave them,
18842
# especially as we might pass files found there to a mingw objdump,
18843
# which wouldn't understand a cygwinified path. Ahh.
18844
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18846
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18850
# pw32 DLLs use 'pw' prefix rather than 'lib'
18851
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18857
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18860
dynamic_linker='Win32 ld.exe'
18861
# FIXME: first we should search . and the directory the executable is in
18865
darwin* | rhapsody*)
18866
dynamic_linker="$host_os dyld"
18867
version_type=darwin
18870
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18871
soname_spec='${libname}${release}${major}$shared_ext'
18872
shlibpath_overrides_runpath=yes
18873
shlibpath_var=DYLD_LIBRARY_PATH
18874
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18876
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18883
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18884
soname_spec='${libname}${release}${shared_ext}$major'
18885
shlibpath_var=LD_LIBRARY_PATH
18892
freebsd* | dragonfly*)
18893
# DragonFly does not have aout. When/if they implement a new
18894
# versioning mechanism, adjust this.
18895
if test -x /usr/bin/objformat; then
18896
objformat=`/usr/bin/objformat`
18899
freebsd[123]*) objformat=aout ;;
18900
*) objformat=elf ;;
18903
version_type=freebsd-$objformat
18904
case $version_type in
18906
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18911
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18915
shlibpath_var=LD_LIBRARY_PATH
18918
shlibpath_overrides_runpath=yes
18920
freebsd3.[01]* | freebsdelf3.[01]*)
18921
shlibpath_overrides_runpath=yes
18922
hardcode_into_libs=yes
18924
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18925
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18926
shlibpath_overrides_runpath=no
18927
hardcode_into_libs=yes
18929
*) # from 4.6 on, and DragonFly
18930
shlibpath_overrides_runpath=yes
18931
hardcode_into_libs=yes
18940
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18941
soname_spec='${libname}${release}${shared_ext}$major'
18942
shlibpath_var=LD_LIBRARY_PATH
18943
hardcode_into_libs=yes
18946
hpux9* | hpux10* | hpux11*)
18947
# Give a soname corresponding to the major version so that dld.sl refuses to
18948
# link against other versions.
18955
hardcode_into_libs=yes
18956
dynamic_linker="$host_os dld.so"
18957
shlibpath_var=LD_LIBRARY_PATH
18958
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18959
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18960
soname_spec='${libname}${release}${shared_ext}$major'
18961
if test "X$HPUX_IA64_MODE" = X32; then
18962
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18964
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18966
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18970
hardcode_into_libs=yes
18971
dynamic_linker="$host_os dld.sl"
18972
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18973
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18975
soname_spec='${libname}${release}${shared_ext}$major'
18976
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18977
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18981
dynamic_linker="$host_os dld.sl"
18982
shlibpath_var=SHLIB_PATH
18983
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18984
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18985
soname_spec='${libname}${release}${shared_ext}$major'
18988
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18989
postinstall_cmds='chmod 555 $lib'
18996
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18997
soname_spec='${libname}${release}${shared_ext}$major'
18998
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18999
shlibpath_var=LD_LIBRARY_PATH
19000
shlibpath_overrides_runpath=no
19001
hardcode_into_libs=yes
19004
irix5* | irix6* | nonstopux*)
19006
nonstopux*) version_type=nonstopux ;;
19008
if test "$lt_cv_prog_gnu_ld" = yes; then
19016
soname_spec='${libname}${release}${shared_ext}$major'
19017
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19019
irix5* | nonstopux*)
19020
libsuff= shlibsuff=
19023
case $LD in # libtool.m4 will add one of these switches to LD
19024
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19025
libsuff= shlibsuff= libmagic=32-bit;;
19026
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19027
libsuff=32 shlibsuff=N32 libmagic=N32;;
19028
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19029
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19030
*) libsuff= shlibsuff= libmagic=never-match;;
19034
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19035
shlibpath_overrides_runpath=no
19036
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19037
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19038
hardcode_into_libs=yes
19041
# No shared lib support for Linux oldld, aout, or coff.
19042
linux*oldld* | linux*aout* | linux*coff*)
19046
# This must be Linux ELF.
19047
linux* | k*bsd*-gnu)
19051
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19052
soname_spec='${libname}${release}${shared_ext}$major'
19053
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19054
shlibpath_var=LD_LIBRARY_PATH
19055
shlibpath_overrides_runpath=no
19056
# This implies no fast_install, which is unacceptable.
19057
# Some rework will be needed to allow for fast_install
19058
# before this can be enabled.
19059
hardcode_into_libs=yes
19061
# Append ld.so.conf contents to the search path
19062
if test -f /etc/ld.so.conf; then
19063
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' ' '`
19064
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19067
# We used to test for /lib/ld.so.1 and disable shared libraries on
19068
# powerpc, because MkLinux only supported shared libraries with the
19069
# GNU dynamic linker. Since this was broken with cross compilers,
19070
# most powerpc-linux boxes support dynamic linking these days and
19071
# people can always --disable-shared, the test was removed, and we
19072
# assume the GNU/Linux dynamic linker is in use.
19073
dynamic_linker='GNU/Linux ld.so'
19080
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19081
soname_spec='${libname}${release}${shared_ext}$major'
19082
shlibpath_var=LD_LIBRARY_PATH
19083
shlibpath_overrides_runpath=no
19084
hardcode_into_libs=yes
19085
dynamic_linker='NetBSD ld.elf_so'
19092
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19093
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19094
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19095
dynamic_linker='NetBSD (a.out) ld.so'
19097
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19098
soname_spec='${libname}${release}${shared_ext}$major'
19099
dynamic_linker='NetBSD ld.elf_so'
19101
shlibpath_var=LD_LIBRARY_PATH
19102
shlibpath_overrides_runpath=yes
19103
hardcode_into_libs=yes
19108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19109
shlibpath_var=LD_LIBRARY_PATH
19110
shlibpath_overrides_runpath=yes
19117
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19118
soname_spec='${libname}${release}${shared_ext}$major'
19119
shlibpath_var=LD_LIBRARY_PATH
19120
shlibpath_overrides_runpath=yes
19125
sys_lib_dlsearch_path_spec="/usr/lib"
19127
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19129
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19130
*) need_version=no ;;
19132
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19133
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19134
shlibpath_var=LD_LIBRARY_PATH
19135
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19137
openbsd2.[89] | openbsd2.[89].*)
19138
shlibpath_overrides_runpath=no
19141
shlibpath_overrides_runpath=yes
19145
shlibpath_overrides_runpath=yes
19150
libname_spec='$name'
19153
library_names_spec='$libname${shared_ext} $libname.a'
19154
dynamic_linker='OS/2 ld.exe'
19155
shlibpath_var=LIBPATH
19158
osf3* | osf4* | osf5*)
19162
soname_spec='${libname}${release}${shared_ext}$major'
19163
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19164
shlibpath_var=LD_LIBRARY_PATH
19165
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19166
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19177
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19178
soname_spec='${libname}${release}${shared_ext}$major'
19179
shlibpath_var=LD_LIBRARY_PATH
19180
shlibpath_overrides_runpath=yes
19181
hardcode_into_libs=yes
19182
# ldd complains unless libraries are executable
19183
postinstall_cmds='chmod +x $lib'
19188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19189
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19190
shlibpath_var=LD_LIBRARY_PATH
19191
shlibpath_overrides_runpath=yes
19192
if test "$with_gnu_ld" = yes; then
19200
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19201
soname_spec='${libname}${release}${shared_ext}$major'
19202
shlibpath_var=LD_LIBRARY_PATH
19203
case $host_vendor in
19205
shlibpath_overrides_runpath=no
19207
export_dynamic_flag_spec='${wl}-Blargedynsym'
19208
runpath_var=LD_RUN_PATH
19216
shlibpath_overrides_runpath=no
19217
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19223
if test -d /usr/nec ;then
19225
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19226
soname_spec='$libname${shared_ext}.$major'
19227
shlibpath_var=LD_LIBRARY_PATH
19231
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19232
version_type=freebsd-elf
19235
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19236
soname_spec='${libname}${release}${shared_ext}$major'
19237
shlibpath_var=LD_LIBRARY_PATH
19238
hardcode_into_libs=yes
19239
if test "$with_gnu_ld" = yes; then
19240
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19241
shlibpath_overrides_runpath=no
19243
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19244
shlibpath_overrides_runpath=yes
19247
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19251
sys_lib_dlsearch_path_spec='/usr/lib'
19256
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19257
soname_spec='${libname}${release}${shared_ext}$major'
19258
shlibpath_var=LD_LIBRARY_PATH
19265
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19266
echo "${ECHO_T}$dynamic_linker" >&6; }
19267
test "$dynamic_linker" = no && can_build_shared=no
19269
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19270
echo $ECHO_N "(cached) $ECHO_C" >&6
19272
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19275
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19276
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19277
echo $ECHO_N "(cached) $ECHO_C" >&6
19279
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19282
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19284
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19285
if test "$GCC" = yes; then
19286
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19289
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19290
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19291
hardcode_action_GCJ=
19292
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19293
test -n "$runpath_var_GCJ" || \
19294
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19296
# We can hardcode non-existant directories.
19297
if test "$hardcode_direct_GCJ" != no &&
19298
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19299
# have to relink, otherwise we might link with an installed library
19300
# when we should be linking with a yet-to-be-installed one
19301
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19302
test "$hardcode_minus_L_GCJ" != no; then
19303
# Linking always hardcodes the temporary library directory.
19304
hardcode_action_GCJ=relink
19306
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19307
hardcode_action_GCJ=immediate
19310
# We cannot hardcode anything, or else we can only hardcode existing
19312
hardcode_action_GCJ=unsupported
19314
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19315
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19317
if test "$hardcode_action_GCJ" = relink; then
19318
# Fast installation is not supported
19319
enable_fast_install=no
19320
elif test "$shlibpath_overrides_runpath" = yes ||
19321
test "$enable_shared" = no; then
19322
# Fast installation is not necessary
19323
enable_fast_install=needless
19327
# The else clause should only fire when bootstrapping the
19328
# libtool distribution, otherwise you forgot to ship ltmain.sh
19329
# with your package, and you will get complaints that there are
19330
# no rules to generate ltmain.sh.
19331
if test -f "$ltmain"; then
19332
# See if we are running on zsh, and set the options which allow our commands through
19333
# without removal of \ escapes.
19334
if test -n "${ZSH_VERSION+set}" ; then
19335
setopt NO_GLOB_SUBST
19337
# Now quote all the things that may contain metacharacters while being
19338
# careful not to overquote the AC_SUBSTed values. We take copies of the
19339
# variables and quote the copies for generation of the libtool script.
19340
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19342
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19343
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19344
deplibs_check_method reload_flag reload_cmds need_locks \
19345
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19346
lt_cv_sys_global_symbol_to_c_name_address \
19347
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19348
old_postinstall_cmds old_postuninstall_cmds \
19352
lt_prog_compiler_wl_GCJ \
19353
lt_prog_compiler_pic_GCJ \
19354
lt_prog_compiler_static_GCJ \
19355
lt_prog_compiler_no_builtin_flag_GCJ \
19356
export_dynamic_flag_spec_GCJ \
19357
thread_safe_flag_spec_GCJ \
19358
whole_archive_flag_spec_GCJ \
19359
enable_shared_with_static_runtimes_GCJ \
19360
old_archive_cmds_GCJ \
19361
old_archive_from_new_cmds_GCJ \
19362
predep_objects_GCJ \
19363
postdep_objects_GCJ \
19366
compiler_lib_search_path_GCJ \
19367
compiler_lib_search_dirs_GCJ \
19369
archive_expsym_cmds_GCJ \
19370
postinstall_cmds_GCJ \
19371
postuninstall_cmds_GCJ \
19372
old_archive_from_expsyms_cmds_GCJ \
19373
allow_undefined_flag_GCJ \
19374
no_undefined_flag_GCJ \
19375
export_symbols_cmds_GCJ \
19376
hardcode_libdir_flag_spec_GCJ \
19377
hardcode_libdir_flag_spec_ld_GCJ \
19378
hardcode_libdir_separator_GCJ \
19379
hardcode_automatic_GCJ \
19381
module_expsym_cmds_GCJ \
19382
lt_cv_prog_compiler_c_o_GCJ \
19383
fix_srcfile_path_GCJ \
19384
exclude_expsyms_GCJ \
19385
include_expsyms_GCJ; do
19388
old_archive_cmds_GCJ | \
19389
old_archive_from_new_cmds_GCJ | \
19390
archive_cmds_GCJ | \
19391
archive_expsym_cmds_GCJ | \
19392
module_cmds_GCJ | \
19393
module_expsym_cmds_GCJ | \
19394
old_archive_from_expsyms_cmds_GCJ | \
19395
export_symbols_cmds_GCJ | \
19396
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19397
postinstall_cmds | postuninstall_cmds | \
19398
old_postinstall_cmds | old_postuninstall_cmds | \
19399
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19400
# Double-quote double-evaled strings.
19401
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19404
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19410
*'\$0 --fallback-echo"')
19411
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19417
cat <<__EOF__ >> "$cfgfile"
19418
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19420
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19422
# Shell to use when invoking shell scripts.
19425
# Whether or not to build shared libraries.
19426
build_libtool_libs=$enable_shared
19428
# Whether or not to build static libraries.
19429
build_old_libs=$enable_static
19431
# Whether or not to add -lc for building shared libraries.
19432
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19434
# Whether or not to disallow shared libs when runtime libs are static
19435
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19437
# Whether or not to optimize for fast installation.
19438
fast_install=$enable_fast_install
19441
host_alias=$host_alias
19445
# The build system.
19446
build_alias=$build_alias
19450
# An echo program that does not interpret backslashes.
19455
AR_FLAGS=$lt_AR_FLAGS
19460
# LTCC compiler flags.
19461
LTCFLAGS=$lt_LTCFLAGS
19463
# A language-specific compiler.
19464
CC=$lt_compiler_GCJ
19466
# Is the compiler the GNU C compiler?
19472
# The linker used to build libraries.
19475
# Whether we need hard or soft links.
19478
# A BSD-compatible nm program.
19481
# A symbol stripping program
19484
# Used to examine libraries when file_magic_cmd begins "file"
19485
MAGIC_CMD=$MAGIC_CMD
19487
# Used on cygwin: DLL creation program.
19490
# Used on cygwin: object dumper.
19493
# Used on cygwin: assembler.
19496
# The name of the directory that contains temporary libtool files.
19499
# How to create reloadable object files.
19500
reload_flag=$lt_reload_flag
19501
reload_cmds=$lt_reload_cmds
19503
# How to pass a linker flag through the compiler.
19504
wl=$lt_lt_prog_compiler_wl_GCJ
19506
# Object file suffix (normally "o").
19507
objext="$ac_objext"
19509
# Old archive suffix (normally "a").
19512
# Shared library suffix (normally ".so").
19513
shrext_cmds='$shrext_cmds'
19515
# Executable file suffix (normally "").
19518
# Additional compiler flags for building library objects.
19519
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19522
# What is the maximum length of a command?
19523
max_cmd_len=$lt_cv_sys_max_cmd_len
19525
# Does compiler simultaneously support -c and -o options?
19526
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19528
# Must we lock files when doing compilation?
19529
need_locks=$lt_need_locks
19531
# Do we need the lib prefix for modules?
19532
need_lib_prefix=$need_lib_prefix
19534
# Do we need a version for libraries?
19535
need_version=$need_version
19537
# Whether dlopen is supported.
19538
dlopen_support=$enable_dlopen
19540
# Whether dlopen of programs is supported.
19541
dlopen_self=$enable_dlopen_self
19543
# Whether dlopen of statically linked programs is supported.
19544
dlopen_self_static=$enable_dlopen_self_static
19546
# Compiler flag to prevent dynamic linking.
19547
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19549
# Compiler flag to turn off builtin functions.
19550
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19552
# Compiler flag to allow reflexive dlopens.
19553
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19555
# Compiler flag to generate shared objects directly from archives.
19556
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19558
# Compiler flag to generate thread-safe objects.
19559
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19561
# Library versioning type.
19562
version_type=$version_type
19564
# Format of library name prefix.
19565
libname_spec=$lt_libname_spec
19567
# List of archive names. First name is the real one, the rest are links.
19568
# The last name is the one that the linker finds with -lNAME.
19569
library_names_spec=$lt_library_names_spec
19571
# The coded name of the library, if different from the real name.
19572
soname_spec=$lt_soname_spec
19574
# Commands used to build and install an old-style archive.
19576
old_archive_cmds=$lt_old_archive_cmds_GCJ
19577
old_postinstall_cmds=$lt_old_postinstall_cmds
19578
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19580
# Create an old-style archive from a shared archive.
19581
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19583
# Create a temporary old-style archive to link instead of a shared archive.
19584
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19586
# Commands used to build and install a shared archive.
19587
archive_cmds=$lt_archive_cmds_GCJ
19588
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19589
postinstall_cmds=$lt_postinstall_cmds
19590
postuninstall_cmds=$lt_postuninstall_cmds
19592
# Commands used to build a loadable module (assumed same as above if empty)
19593
module_cmds=$lt_module_cmds_GCJ
19594
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19596
# Commands to strip libraries.
19597
old_striplib=$lt_old_striplib
19598
striplib=$lt_striplib
19600
# Dependencies to place before the objects being linked to create a
19602
predep_objects=$lt_predep_objects_GCJ
19604
# Dependencies to place after the objects being linked to create a
19606
postdep_objects=$lt_postdep_objects_GCJ
19608
# Dependencies to place before the objects being linked to create a
19610
predeps=$lt_predeps_GCJ
19612
# Dependencies to place after the objects being linked to create a
19614
postdeps=$lt_postdeps_GCJ
19616
# The directories searched by this compiler when creating a shared
19618
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19620
# The library search path used internally by the compiler when linking
19621
# a shared library.
19622
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19624
# Method to check whether dependent libraries are shared objects.
19625
deplibs_check_method=$lt_deplibs_check_method
19627
# Command to use when deplibs_check_method == file_magic.
19628
file_magic_cmd=$lt_file_magic_cmd
19630
# Flag that allows shared libraries with undefined symbols to be built.
19631
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19633
# Flag that forces no undefined symbols.
19634
no_undefined_flag=$lt_no_undefined_flag_GCJ
19636
# Commands used to finish a libtool library installation in a directory.
19637
finish_cmds=$lt_finish_cmds
19639
# Same as above, but a single script fragment to be evaled but not shown.
19640
finish_eval=$lt_finish_eval
19642
# Take the output of nm and produce a listing of raw symbols and C names.
19643
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19645
# Transform the output of nm in a proper C declaration
19646
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19648
# Transform the output of nm in a C name address pair
19649
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19651
# This is the shared library runtime path variable.
19652
runpath_var=$runpath_var
19654
# This is the shared library path variable.
19655
shlibpath_var=$shlibpath_var
19657
# Is shlibpath searched before the hard-coded library search path?
19658
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19660
# How to hardcode a shared library path into an executable.
19661
hardcode_action=$hardcode_action_GCJ
19663
# Whether we should hardcode library paths into libraries.
19664
hardcode_into_libs=$hardcode_into_libs
19666
# Flag to hardcode \$libdir into a binary during linking.
19667
# This must work even if \$libdir does not exist.
19668
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19670
# If ld is used when linking, flag to hardcode \$libdir into
19671
# a binary during linking. This must work even if \$libdir does
19673
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19675
# Whether we need a single -rpath flag with a separated argument.
19676
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19678
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19679
# resulting binary.
19680
hardcode_direct=$hardcode_direct_GCJ
19682
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19683
# resulting binary.
19684
hardcode_minus_L=$hardcode_minus_L_GCJ
19686
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19687
# the resulting binary.
19688
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19690
# Set to yes if building a shared library automatically hardcodes DIR into the library
19691
# and all subsequent libraries and executables linked against it.
19692
hardcode_automatic=$hardcode_automatic_GCJ
19694
# Variables whose values should be saved in libtool wrapper scripts and
19695
# restored at relink time.
19696
variables_saved_for_relink="$variables_saved_for_relink"
19698
# Whether libtool must link a program against all its dependency libraries.
19699
link_all_deplibs=$link_all_deplibs_GCJ
19701
# Compile-time system search path for libraries
19702
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19704
# Run-time system search path for libraries
19705
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19707
# Fix the shell variable \$srcfile for the compiler.
19708
fix_srcfile_path=$lt_fix_srcfile_path
19710
# Set to yes if exported symbols are required.
19711
always_export_symbols=$always_export_symbols_GCJ
19713
# The commands to list exported symbols.
19714
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19716
# The commands to extract the exported symbol list from a shared archive.
19717
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19719
# Symbols that should not be listed in the preloaded symbols.
19720
exclude_expsyms=$lt_exclude_expsyms_GCJ
19722
# Symbols that must always be exported.
19723
include_expsyms=$lt_include_expsyms_GCJ
19725
# ### END LIBTOOL TAG CONFIG: $tagname
19731
# If there is no Makefile yet, we rely on a make rule to execute
19732
# `config.status --recheck' to rerun these tests and create the
19733
# libtool script then.
19734
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19735
if test -f "$ltmain_in"; then
19736
test -f Makefile && make "$ltmain"
19742
ac_cpp='$CPP $CPPFLAGS'
19743
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19744
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19745
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19757
# Source file extension for RC test sources.
19760
# Object file extension for compiled RC test sources.
19764
# Code to be used in simple compile tests
19765
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19767
# Code to be used in simple link tests
19768
lt_simple_link_test_code="$lt_simple_compile_test_code"
19770
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19772
# If no C compiler was specified, use CC.
19775
# If no C compiler flags were specified, use CFLAGS.
19776
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19778
# Allow CC to be a program name with arguments.
19782
# save warnings/boilerplate of simple test code
19783
ac_outfile=conftest.$ac_objext
19784
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19785
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19786
_lt_compiler_boilerplate=`cat conftest.err`
19789
ac_outfile=conftest.$ac_objext
19790
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19791
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19792
_lt_linker_boilerplate=`cat conftest.err`
19796
# Allow CC to be a program name with arguments.
19801
for cc_temp in $compiler""; do
19803
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19804
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19809
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19811
lt_cv_prog_compiler_c_o_RC=yes
19813
# The else clause should only fire when bootstrapping the
19814
# libtool distribution, otherwise you forgot to ship ltmain.sh
19815
# with your package, and you will get complaints that there are
19816
# no rules to generate ltmain.sh.
19817
if test -f "$ltmain"; then
19818
# See if we are running on zsh, and set the options which allow our commands through
19819
# without removal of \ escapes.
19820
if test -n "${ZSH_VERSION+set}" ; then
19821
setopt NO_GLOB_SUBST
19823
# Now quote all the things that may contain metacharacters while being
19824
# careful not to overquote the AC_SUBSTed values. We take copies of the
19825
# variables and quote the copies for generation of the libtool script.
19826
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19828
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19829
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19830
deplibs_check_method reload_flag reload_cmds need_locks \
19831
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19832
lt_cv_sys_global_symbol_to_c_name_address \
19833
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19834
old_postinstall_cmds old_postuninstall_cmds \
19838
lt_prog_compiler_wl_RC \
19839
lt_prog_compiler_pic_RC \
19840
lt_prog_compiler_static_RC \
19841
lt_prog_compiler_no_builtin_flag_RC \
19842
export_dynamic_flag_spec_RC \
19843
thread_safe_flag_spec_RC \
19844
whole_archive_flag_spec_RC \
19845
enable_shared_with_static_runtimes_RC \
19846
old_archive_cmds_RC \
19847
old_archive_from_new_cmds_RC \
19848
predep_objects_RC \
19849
postdep_objects_RC \
19852
compiler_lib_search_path_RC \
19853
compiler_lib_search_dirs_RC \
19855
archive_expsym_cmds_RC \
19856
postinstall_cmds_RC \
19857
postuninstall_cmds_RC \
19858
old_archive_from_expsyms_cmds_RC \
19859
allow_undefined_flag_RC \
19860
no_undefined_flag_RC \
19861
export_symbols_cmds_RC \
19862
hardcode_libdir_flag_spec_RC \
19863
hardcode_libdir_flag_spec_ld_RC \
19864
hardcode_libdir_separator_RC \
19865
hardcode_automatic_RC \
19867
module_expsym_cmds_RC \
19868
lt_cv_prog_compiler_c_o_RC \
19869
fix_srcfile_path_RC \
19870
exclude_expsyms_RC \
19871
include_expsyms_RC; do
19874
old_archive_cmds_RC | \
19875
old_archive_from_new_cmds_RC | \
19876
archive_cmds_RC | \
19877
archive_expsym_cmds_RC | \
19879
module_expsym_cmds_RC | \
19880
old_archive_from_expsyms_cmds_RC | \
19881
export_symbols_cmds_RC | \
19882
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19883
postinstall_cmds | postuninstall_cmds | \
19884
old_postinstall_cmds | old_postuninstall_cmds | \
19885
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19886
# Double-quote double-evaled strings.
19887
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19890
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19896
*'\$0 --fallback-echo"')
19897
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19903
cat <<__EOF__ >> "$cfgfile"
19904
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19906
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19908
# Shell to use when invoking shell scripts.
19911
# Whether or not to build shared libraries.
19912
build_libtool_libs=$enable_shared
19914
# Whether or not to build static libraries.
19915
build_old_libs=$enable_static
19917
# Whether or not to add -lc for building shared libraries.
19918
build_libtool_need_lc=$archive_cmds_need_lc_RC
19920
# Whether or not to disallow shared libs when runtime libs are static
19921
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19923
# Whether or not to optimize for fast installation.
19924
fast_install=$enable_fast_install
19927
host_alias=$host_alias
19931
# The build system.
19932
build_alias=$build_alias
19936
# An echo program that does not interpret backslashes.
19941
AR_FLAGS=$lt_AR_FLAGS
19946
# LTCC compiler flags.
19947
LTCFLAGS=$lt_LTCFLAGS
19949
# A language-specific compiler.
19952
# Is the compiler the GNU C compiler?
19958
# The linker used to build libraries.
19961
# Whether we need hard or soft links.
19964
# A BSD-compatible nm program.
19967
# A symbol stripping program
19970
# Used to examine libraries when file_magic_cmd begins "file"
19971
MAGIC_CMD=$MAGIC_CMD
19973
# Used on cygwin: DLL creation program.
19976
# Used on cygwin: object dumper.
19979
# Used on cygwin: assembler.
19982
# The name of the directory that contains temporary libtool files.
19985
# How to create reloadable object files.
19986
reload_flag=$lt_reload_flag
19987
reload_cmds=$lt_reload_cmds
19989
# How to pass a linker flag through the compiler.
19990
wl=$lt_lt_prog_compiler_wl_RC
19992
# Object file suffix (normally "o").
19993
objext="$ac_objext"
19995
# Old archive suffix (normally "a").
19998
# Shared library suffix (normally ".so").
19999
shrext_cmds='$shrext_cmds'
20001
# Executable file suffix (normally "").
20004
# Additional compiler flags for building library objects.
20005
pic_flag=$lt_lt_prog_compiler_pic_RC
20008
# What is the maximum length of a command?
20009
max_cmd_len=$lt_cv_sys_max_cmd_len
20011
# Does compiler simultaneously support -c and -o options?
20012
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20014
# Must we lock files when doing compilation?
20015
need_locks=$lt_need_locks
20017
# Do we need the lib prefix for modules?
20018
need_lib_prefix=$need_lib_prefix
20020
# Do we need a version for libraries?
20021
need_version=$need_version
20023
# Whether dlopen is supported.
20024
dlopen_support=$enable_dlopen
20026
# Whether dlopen of programs is supported.
20027
dlopen_self=$enable_dlopen_self
20029
# Whether dlopen of statically linked programs is supported.
20030
dlopen_self_static=$enable_dlopen_self_static
20032
# Compiler flag to prevent dynamic linking.
20033
link_static_flag=$lt_lt_prog_compiler_static_RC
20035
# Compiler flag to turn off builtin functions.
20036
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20038
# Compiler flag to allow reflexive dlopens.
20039
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20041
# Compiler flag to generate shared objects directly from archives.
20042
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20044
# Compiler flag to generate thread-safe objects.
20045
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20047
# Library versioning type.
20048
version_type=$version_type
20050
# Format of library name prefix.
20051
libname_spec=$lt_libname_spec
20053
# List of archive names. First name is the real one, the rest are links.
20054
# The last name is the one that the linker finds with -lNAME.
20055
library_names_spec=$lt_library_names_spec
20057
# The coded name of the library, if different from the real name.
20058
soname_spec=$lt_soname_spec
20060
# Commands used to build and install an old-style archive.
20062
old_archive_cmds=$lt_old_archive_cmds_RC
20063
old_postinstall_cmds=$lt_old_postinstall_cmds
20064
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20066
# Create an old-style archive from a shared archive.
20067
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20069
# Create a temporary old-style archive to link instead of a shared archive.
20070
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20072
# Commands used to build and install a shared archive.
20073
archive_cmds=$lt_archive_cmds_RC
20074
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20075
postinstall_cmds=$lt_postinstall_cmds
20076
postuninstall_cmds=$lt_postuninstall_cmds
20078
# Commands used to build a loadable module (assumed same as above if empty)
20079
module_cmds=$lt_module_cmds_RC
20080
module_expsym_cmds=$lt_module_expsym_cmds_RC
20082
# Commands to strip libraries.
20083
old_striplib=$lt_old_striplib
20084
striplib=$lt_striplib
20086
# Dependencies to place before the objects being linked to create a
20088
predep_objects=$lt_predep_objects_RC
20090
# Dependencies to place after the objects being linked to create a
20092
postdep_objects=$lt_postdep_objects_RC
20094
# Dependencies to place before the objects being linked to create a
20096
predeps=$lt_predeps_RC
20098
# Dependencies to place after the objects being linked to create a
20100
postdeps=$lt_postdeps_RC
20102
# The directories searched by this compiler when creating a shared
20104
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20106
# The library search path used internally by the compiler when linking
20107
# a shared library.
20108
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20110
# Method to check whether dependent libraries are shared objects.
20111
deplibs_check_method=$lt_deplibs_check_method
20113
# Command to use when deplibs_check_method == file_magic.
20114
file_magic_cmd=$lt_file_magic_cmd
20116
# Flag that allows shared libraries with undefined symbols to be built.
20117
allow_undefined_flag=$lt_allow_undefined_flag_RC
20119
# Flag that forces no undefined symbols.
20120
no_undefined_flag=$lt_no_undefined_flag_RC
20122
# Commands used to finish a libtool library installation in a directory.
20123
finish_cmds=$lt_finish_cmds
20125
# Same as above, but a single script fragment to be evaled but not shown.
20126
finish_eval=$lt_finish_eval
20128
# Take the output of nm and produce a listing of raw symbols and C names.
20129
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20131
# Transform the output of nm in a proper C declaration
20132
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20134
# Transform the output of nm in a C name address pair
20135
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20137
# This is the shared library runtime path variable.
20138
runpath_var=$runpath_var
20140
# This is the shared library path variable.
20141
shlibpath_var=$shlibpath_var
20143
# Is shlibpath searched before the hard-coded library search path?
20144
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20146
# How to hardcode a shared library path into an executable.
20147
hardcode_action=$hardcode_action_RC
20149
# Whether we should hardcode library paths into libraries.
20150
hardcode_into_libs=$hardcode_into_libs
20152
# Flag to hardcode \$libdir into a binary during linking.
20153
# This must work even if \$libdir does not exist.
20154
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20156
# If ld is used when linking, flag to hardcode \$libdir into
20157
# a binary during linking. This must work even if \$libdir does
20159
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20161
# Whether we need a single -rpath flag with a separated argument.
20162
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20164
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20165
# resulting binary.
20166
hardcode_direct=$hardcode_direct_RC
20168
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20169
# resulting binary.
20170
hardcode_minus_L=$hardcode_minus_L_RC
20172
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20173
# the resulting binary.
20174
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20176
# Set to yes if building a shared library automatically hardcodes DIR into the library
20177
# and all subsequent libraries and executables linked against it.
20178
hardcode_automatic=$hardcode_automatic_RC
20180
# Variables whose values should be saved in libtool wrapper scripts and
20181
# restored at relink time.
20182
variables_saved_for_relink="$variables_saved_for_relink"
20184
# Whether libtool must link a program against all its dependency libraries.
20185
link_all_deplibs=$link_all_deplibs_RC
20187
# Compile-time system search path for libraries
20188
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20190
# Run-time system search path for libraries
20191
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20193
# Fix the shell variable \$srcfile for the compiler.
20194
fix_srcfile_path=$lt_fix_srcfile_path
20196
# Set to yes if exported symbols are required.
20197
always_export_symbols=$always_export_symbols_RC
20199
# The commands to list exported symbols.
20200
export_symbols_cmds=$lt_export_symbols_cmds_RC
20202
# The commands to extract the exported symbol list from a shared archive.
20203
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20205
# Symbols that should not be listed in the preloaded symbols.
20206
exclude_expsyms=$lt_exclude_expsyms_RC
20208
# Symbols that must always be exported.
20209
include_expsyms=$lt_include_expsyms_RC
20211
# ### END LIBTOOL TAG CONFIG: $tagname
20217
# If there is no Makefile yet, we rely on a make rule to execute
20218
# `config.status --recheck' to rerun these tests and create the
20219
# libtool script then.
20220
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20221
if test -f "$ltmain_in"; then
20222
test -f Makefile && make "$ltmain"
20228
ac_cpp='$CPP $CPPFLAGS'
20229
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20238
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20239
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20240
{ (exit 1); exit 1; }; }
20244
# Append the new tag name to the list of available tags.
20245
if test -n "$tagname" ; then
20246
available_tags="$available_tags $tagname"
20252
# Now substitute the updated list of available tags.
20253
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20254
mv "${ofile}T" "$ofile"
20258
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20259
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20260
{ (exit 1); exit 1; }; }
20266
# This can be used to rebuild libtool when needed
20267
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20269
# Always use our own libtool.
20270
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20272
# Prevent multiple expansion
20293
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
20294
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
20295
if test "${ac_cv_search_strerror+set}" = set; then
20296
echo $ECHO_N "(cached) $ECHO_C" >&6
20298
ac_func_search_save_LIBS=$LIBS
20299
cat >conftest.$ac_ext <<_ACEOF
20302
cat confdefs.h >>conftest.$ac_ext
20303
cat >>conftest.$ac_ext <<_ACEOF
20304
/* end confdefs.h. */
20306
/* Override any GCC internal prototype to avoid an error.
20307
Use char because int might match the return type of a GCC
20308
builtin and then its argument prototype would still apply. */
20316
return strerror ();
20321
for ac_lib in '' cposix; do
20322
if test -z "$ac_lib"; then
20323
ac_res="none required"
20326
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20328
rm -f conftest.$ac_objext conftest$ac_exeext
20329
if { (ac_try="$ac_link"
20330
case "(($ac_try" in
20331
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20332
*) ac_try_echo=$ac_try;;
20334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20335
(eval "$ac_link") 2>conftest.er1
20337
grep -v '^ *+' conftest.er1 >conftest.err
20339
cat conftest.err >&5
20340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341
(exit $ac_status); } && {
20342
test -z "$ac_c_werror_flag" ||
20343
test ! -s conftest.err
20344
} && test -s conftest$ac_exeext &&
20345
$as_test_x conftest$ac_exeext; then
20346
ac_cv_search_strerror=$ac_res
20348
echo "$as_me: failed program was:" >&5
20349
sed 's/^/| /' conftest.$ac_ext >&5
20354
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20356
if test "${ac_cv_search_strerror+set}" = set; then
20360
if test "${ac_cv_search_strerror+set}" = set; then
20363
ac_cv_search_strerror=no
20365
rm conftest.$ac_ext
20366
LIBS=$ac_func_search_save_LIBS
20368
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
20369
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
20370
ac_res=$ac_cv_search_strerror
20371
if test "$ac_res" != no; then
20372
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20377
ac_cpp='$CPP $CPPFLAGS'
20378
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20379
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20380
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20381
if test -n "$ac_tool_prefix"; then
20382
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20383
set dummy ${ac_tool_prefix}gcc; ac_word=$2
20384
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20385
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20386
if test "${ac_cv_prog_CC+set}" = set; then
20387
echo $ECHO_N "(cached) $ECHO_C" >&6
20389
if test -n "$CC"; then
20390
ac_cv_prog_CC="$CC" # Let the user override the test.
20392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20393
for as_dir in $PATH
20396
test -z "$as_dir" && as_dir=.
20397
for ac_exec_ext in '' $ac_executable_extensions; do
20398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20399
ac_cv_prog_CC="${ac_tool_prefix}gcc"
20400
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20410
if test -n "$CC"; then
20411
{ echo "$as_me:$LINENO: result: $CC" >&5
20412
echo "${ECHO_T}$CC" >&6; }
20414
{ echo "$as_me:$LINENO: result: no" >&5
20415
echo "${ECHO_T}no" >&6; }
20420
if test -z "$ac_cv_prog_CC"; then
20422
# Extract the first word of "gcc", so it can be a program name with args.
20423
set dummy gcc; ac_word=$2
20424
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20425
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20426
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20427
echo $ECHO_N "(cached) $ECHO_C" >&6
20429
if test -n "$ac_ct_CC"; then
20430
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20433
for as_dir in $PATH
20436
test -z "$as_dir" && as_dir=.
20437
for ac_exec_ext in '' $ac_executable_extensions; do
20438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20439
ac_cv_prog_ac_ct_CC="gcc"
20440
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20449
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20450
if test -n "$ac_ct_CC"; then
20451
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20452
echo "${ECHO_T}$ac_ct_CC" >&6; }
20454
{ echo "$as_me:$LINENO: result: no" >&5
20455
echo "${ECHO_T}no" >&6; }
20458
if test "x$ac_ct_CC" = x; then
20461
case $cross_compiling:$ac_tool_warned in
20463
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20464
whose name does not start with the host triplet. If you think this
20465
configuration is useful to you, please write to autoconf@gnu.org." >&5
20466
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20467
whose name does not start with the host triplet. If you think this
20468
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20469
ac_tool_warned=yes ;;
20474
CC="$ac_cv_prog_CC"
20477
if test -z "$CC"; then
20478
if test -n "$ac_tool_prefix"; then
20479
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20480
set dummy ${ac_tool_prefix}cc; ac_word=$2
20481
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20482
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20483
if test "${ac_cv_prog_CC+set}" = set; then
20484
echo $ECHO_N "(cached) $ECHO_C" >&6
20486
if test -n "$CC"; then
20487
ac_cv_prog_CC="$CC" # Let the user override the test.
20489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20490
for as_dir in $PATH
20493
test -z "$as_dir" && as_dir=.
20494
for ac_exec_ext in '' $ac_executable_extensions; do
20495
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20496
ac_cv_prog_CC="${ac_tool_prefix}cc"
20497
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20507
if test -n "$CC"; then
20508
{ echo "$as_me:$LINENO: result: $CC" >&5
20509
echo "${ECHO_T}$CC" >&6; }
20511
{ echo "$as_me:$LINENO: result: no" >&5
20512
echo "${ECHO_T}no" >&6; }
20518
if test -z "$CC"; then
20519
# Extract the first word of "cc", so it can be a program name with args.
20520
set dummy cc; ac_word=$2
20521
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20522
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20523
if test "${ac_cv_prog_CC+set}" = set; then
20524
echo $ECHO_N "(cached) $ECHO_C" >&6
20526
if test -n "$CC"; then
20527
ac_cv_prog_CC="$CC" # Let the user override the test.
20529
ac_prog_rejected=no
20530
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20531
for as_dir in $PATH
20534
test -z "$as_dir" && as_dir=.
20535
for ac_exec_ext in '' $ac_executable_extensions; do
20536
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20537
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20538
ac_prog_rejected=yes
20542
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20549
if test $ac_prog_rejected = yes; then
20550
# We found a bogon in the path, so make sure we never use it.
20551
set dummy $ac_cv_prog_CC
20553
if test $# != 0; then
20554
# We chose a different compiler from the bogus one.
20555
# However, it has the same basename, so the bogon will be chosen
20556
# first if we set CC to just the basename; use the full file name.
20558
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
20564
if test -n "$CC"; then
20565
{ echo "$as_me:$LINENO: result: $CC" >&5
20566
echo "${ECHO_T}$CC" >&6; }
20568
{ echo "$as_me:$LINENO: result: no" >&5
20569
echo "${ECHO_T}no" >&6; }
20574
if test -z "$CC"; then
20575
if test -n "$ac_tool_prefix"; then
20576
for ac_prog in cl.exe
20578
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20579
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20580
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20581
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20582
if test "${ac_cv_prog_CC+set}" = set; then
20583
echo $ECHO_N "(cached) $ECHO_C" >&6
20585
if test -n "$CC"; then
20586
ac_cv_prog_CC="$CC" # Let the user override the test.
20588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20589
for as_dir in $PATH
20592
test -z "$as_dir" && as_dir=.
20593
for ac_exec_ext in '' $ac_executable_extensions; do
20594
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20595
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20596
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20606
if test -n "$CC"; then
20607
{ echo "$as_me:$LINENO: result: $CC" >&5
20608
echo "${ECHO_T}$CC" >&6; }
20610
{ echo "$as_me:$LINENO: result: no" >&5
20611
echo "${ECHO_T}no" >&6; }
20615
test -n "$CC" && break
20618
if test -z "$CC"; then
20620
for ac_prog in cl.exe
20622
# Extract the first word of "$ac_prog", so it can be a program name with args.
20623
set dummy $ac_prog; ac_word=$2
20624
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20625
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20626
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20627
echo $ECHO_N "(cached) $ECHO_C" >&6
20629
if test -n "$ac_ct_CC"; then
20630
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20633
for as_dir in $PATH
20636
test -z "$as_dir" && as_dir=.
20637
for ac_exec_ext in '' $ac_executable_extensions; do
20638
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20639
ac_cv_prog_ac_ct_CC="$ac_prog"
20640
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20649
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20650
if test -n "$ac_ct_CC"; then
20651
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20652
echo "${ECHO_T}$ac_ct_CC" >&6; }
20654
{ echo "$as_me:$LINENO: result: no" >&5
20655
echo "${ECHO_T}no" >&6; }
20659
test -n "$ac_ct_CC" && break
20662
if test "x$ac_ct_CC" = x; then
20665
case $cross_compiling:$ac_tool_warned in
20667
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20668
whose name does not start with the host triplet. If you think this
20669
configuration is useful to you, please write to autoconf@gnu.org." >&5
20670
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20671
whose name does not start with the host triplet. If you think this
20672
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20673
ac_tool_warned=yes ;;
20682
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20683
See \`config.log' for more details." >&5
20684
echo "$as_me: error: no acceptable C compiler found in \$PATH
20685
See \`config.log' for more details." >&2;}
20686
{ (exit 1); exit 1; }; }
20688
# Provide some information about the compiler.
20689
echo "$as_me:$LINENO: checking for C compiler version" >&5
20690
ac_compiler=`set X $ac_compile; echo $2`
20691
{ (ac_try="$ac_compiler --version >&5"
20692
case "(($ac_try" in
20693
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694
*) ac_try_echo=$ac_try;;
20696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697
(eval "$ac_compiler --version >&5") 2>&5
20699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700
(exit $ac_status); }
20701
{ (ac_try="$ac_compiler -v >&5"
20702
case "(($ac_try" in
20703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704
*) ac_try_echo=$ac_try;;
20706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20707
(eval "$ac_compiler -v >&5") 2>&5
20709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710
(exit $ac_status); }
20711
{ (ac_try="$ac_compiler -V >&5"
20712
case "(($ac_try" in
20713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714
*) ac_try_echo=$ac_try;;
20716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717
(eval "$ac_compiler -V >&5") 2>&5
20719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720
(exit $ac_status); }
20722
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20723
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
20724
if test "${ac_cv_c_compiler_gnu+set}" = set; then
20725
echo $ECHO_N "(cached) $ECHO_C" >&6
20727
cat >conftest.$ac_ext <<_ACEOF
20730
cat confdefs.h >>conftest.$ac_ext
20731
cat >>conftest.$ac_ext <<_ACEOF
20732
/* end confdefs.h. */
20745
rm -f conftest.$ac_objext
20746
if { (ac_try="$ac_compile"
20747
case "(($ac_try" in
20748
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749
*) ac_try_echo=$ac_try;;
20751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752
(eval "$ac_compile") 2>conftest.er1
20754
grep -v '^ *+' conftest.er1 >conftest.err
20756
cat conftest.err >&5
20757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758
(exit $ac_status); } && {
20759
test -z "$ac_c_werror_flag" ||
20760
test ! -s conftest.err
20761
} && test -s conftest.$ac_objext; then
20762
ac_compiler_gnu=yes
20764
echo "$as_me: failed program was:" >&5
20765
sed 's/^/| /' conftest.$ac_ext >&5
20770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771
ac_cv_c_compiler_gnu=$ac_compiler_gnu
20774
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20775
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20776
GCC=`test $ac_compiler_gnu = yes && echo yes`
20777
ac_test_CFLAGS=${CFLAGS+set}
20778
ac_save_CFLAGS=$CFLAGS
20779
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20780
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20781
if test "${ac_cv_prog_cc_g+set}" = set; then
20782
echo $ECHO_N "(cached) $ECHO_C" >&6
20784
ac_save_c_werror_flag=$ac_c_werror_flag
20785
ac_c_werror_flag=yes
20788
cat >conftest.$ac_ext <<_ACEOF
20791
cat confdefs.h >>conftest.$ac_ext
20792
cat >>conftest.$ac_ext <<_ACEOF
20793
/* end confdefs.h. */
20803
rm -f conftest.$ac_objext
20804
if { (ac_try="$ac_compile"
20805
case "(($ac_try" in
20806
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20807
*) ac_try_echo=$ac_try;;
20809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810
(eval "$ac_compile") 2>conftest.er1
20812
grep -v '^ *+' conftest.er1 >conftest.err
20814
cat conftest.err >&5
20815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816
(exit $ac_status); } && {
20817
test -z "$ac_c_werror_flag" ||
20818
test ! -s conftest.err
20819
} && test -s conftest.$ac_objext; then
20820
ac_cv_prog_cc_g=yes
20822
echo "$as_me: failed program was:" >&5
20823
sed 's/^/| /' conftest.$ac_ext >&5
20826
cat >conftest.$ac_ext <<_ACEOF
20829
cat confdefs.h >>conftest.$ac_ext
20830
cat >>conftest.$ac_ext <<_ACEOF
20831
/* end confdefs.h. */
20841
rm -f conftest.$ac_objext
20842
if { (ac_try="$ac_compile"
20843
case "(($ac_try" in
20844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845
*) ac_try_echo=$ac_try;;
20847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848
(eval "$ac_compile") 2>conftest.er1
20850
grep -v '^ *+' conftest.er1 >conftest.err
20852
cat conftest.err >&5
20853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854
(exit $ac_status); } && {
20855
test -z "$ac_c_werror_flag" ||
20856
test ! -s conftest.err
20857
} && test -s conftest.$ac_objext; then
20860
echo "$as_me: failed program was:" >&5
20861
sed 's/^/| /' conftest.$ac_ext >&5
20863
ac_c_werror_flag=$ac_save_c_werror_flag
20865
cat >conftest.$ac_ext <<_ACEOF
20868
cat confdefs.h >>conftest.$ac_ext
20869
cat >>conftest.$ac_ext <<_ACEOF
20870
/* end confdefs.h. */
20880
rm -f conftest.$ac_objext
20881
if { (ac_try="$ac_compile"
20882
case "(($ac_try" in
20883
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884
*) ac_try_echo=$ac_try;;
20886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887
(eval "$ac_compile") 2>conftest.er1
20889
grep -v '^ *+' conftest.er1 >conftest.err
20891
cat conftest.err >&5
20892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893
(exit $ac_status); } && {
20894
test -z "$ac_c_werror_flag" ||
20895
test ! -s conftest.err
20896
} && test -s conftest.$ac_objext; then
20897
ac_cv_prog_cc_g=yes
20899
echo "$as_me: failed program was:" >&5
20900
sed 's/^/| /' conftest.$ac_ext >&5
20905
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20912
ac_c_werror_flag=$ac_save_c_werror_flag
20914
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20915
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20916
if test "$ac_test_CFLAGS" = set; then
20917
CFLAGS=$ac_save_CFLAGS
20918
elif test $ac_cv_prog_cc_g = yes; then
20919
if test "$GCC" = yes; then
20925
if test "$GCC" = yes; then
20931
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20932
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20933
if test "${ac_cv_prog_cc_c89+set}" = set; then
20934
echo $ECHO_N "(cached) $ECHO_C" >&6
20936
ac_cv_prog_cc_c89=no
20938
cat >conftest.$ac_ext <<_ACEOF
20941
cat confdefs.h >>conftest.$ac_ext
20942
cat >>conftest.$ac_ext <<_ACEOF
20943
/* end confdefs.h. */
20944
#include <stdarg.h>
20946
#include <sys/types.h>
20947
#include <sys/stat.h>
20948
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20949
struct buf { int x; };
20950
FILE * (*rcsopen) (struct buf *, struct stat *, int);
20951
static char *e (p, i)
20957
static char *f (char * (*g) (char **, int), char **p, ...)
20962
s = g (p, va_arg (v,int));
20967
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20968
function prototypes and stuff, but not '\xHH' hex character constants.
20969
These don't provoke an error unfortunately, instead are silently treated
20970
as 'x'. The following induces an error, until -std is added to get
20971
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20972
array size at least. It's necessary to write '\x00'==0 to get something
20973
that's true only with -std. */
20974
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20976
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20977
inside strings and character constants. */
20979
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20981
int test (int i, double x);
20982
struct s1 {int (*f) (int a);};
20983
struct s2 {int (*f) (double a);};
20984
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20990
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20995
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20996
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20998
CC="$ac_save_CC $ac_arg"
20999
rm -f conftest.$ac_objext
21000
if { (ac_try="$ac_compile"
21001
case "(($ac_try" in
21002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21003
*) ac_try_echo=$ac_try;;
21005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21006
(eval "$ac_compile") 2>conftest.er1
21008
grep -v '^ *+' conftest.er1 >conftest.err
21010
cat conftest.err >&5
21011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012
(exit $ac_status); } && {
21013
test -z "$ac_c_werror_flag" ||
21014
test ! -s conftest.err
21015
} && test -s conftest.$ac_objext; then
21016
ac_cv_prog_cc_c89=$ac_arg
21018
echo "$as_me: failed program was:" >&5
21019
sed 's/^/| /' conftest.$ac_ext >&5
21024
rm -f core conftest.err conftest.$ac_objext
21025
test "x$ac_cv_prog_cc_c89" != "xno" && break
21027
rm -f conftest.$ac_ext
21032
case "x$ac_cv_prog_cc_c89" in
21034
{ echo "$as_me:$LINENO: result: none needed" >&5
21035
echo "${ECHO_T}none needed" >&6; } ;;
21037
{ echo "$as_me:$LINENO: result: unsupported" >&5
21038
echo "${ECHO_T}unsupported" >&6; } ;;
21040
CC="$CC $ac_cv_prog_cc_c89"
21041
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
21042
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
21047
ac_cpp='$CPP $CPPFLAGS'
21048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21049
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21050
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052
depcc="$CC" am_compiler_list=
21054
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21055
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21056
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
21057
echo $ECHO_N "(cached) $ECHO_C" >&6
21059
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21060
# We make a subdir and do the tests there. Otherwise we can end up
21061
# making bogus files that we don't know about and never remove. For
21062
# instance it was reported that on HP-UX the gcc test will end up
21063
# making a dummy file named `D' -- because `-MD' means `put the output
21066
# Copy depcomp to subdir because otherwise we won't find it if we're
21067
# using a relative directory.
21068
cp "$am_depcomp" conftest.dir
21070
# We will build objects and dependencies in a subdirectory because
21071
# it helps to detect inapplicable dependency modes. For instance
21072
# both Tru64's cc and ICC support -MD to output dependencies as a
21073
# side effect of compilation, but ICC will put the dependencies in
21074
# the current directory while Tru64 will put them in the object
21078
am_cv_CC_dependencies_compiler_type=none
21079
if test "$am_compiler_list" = ""; then
21080
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21082
for depmode in $am_compiler_list; do
21083
# Setup a source with many dependencies, because some compilers
21084
# like to wrap large dependency lists on column 80 (with \), and
21085
# we should not choose a depcomp mode which is confused by this.
21087
# We need to recreate these files for each test, as the compiler may
21088
# overwrite some of them when testing with obscure command lines.
21089
# This happens at least with the AIX C compiler.
21091
for i in 1 2 3 4 5 6; do
21092
echo '#include "conftst'$i'.h"' >> sub/conftest.c
21093
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21094
# Solaris 8's {/usr,}/bin/sh.
21095
touch sub/conftst$i.h
21097
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21101
# after this tag, mechanisms are not by side-effect, so they'll
21102
# only be used when explicitly requested
21103
if test "x$enable_dependency_tracking" = xyes; then
21111
# We check with `-c' and `-o' for the sake of the "dashmstdout"
21112
# mode. It turns out that the SunPro C++ compiler does not properly
21113
# handle `-M -o', and we need to detect this.
21114
if depmode=$depmode \
21115
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21116
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21117
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21118
>/dev/null 2>conftest.err &&
21119
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21120
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21121
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21122
# icc doesn't choke on unknown options, it will just issue warnings
21123
# or remarks (even with -Werror). So we grep stderr for any message
21124
# that says an option was ignored or not supported.
21125
# When given -MP, icc 7.0 and 7.1 complain thusly:
21126
# icc: Command line warning: ignoring option '-M'; no argument required
21127
# The diagnosis changed in icc 8.0:
21128
# icc: Command line remark: option '-MP' not supported
21129
if (grep 'ignoring option' conftest.err ||
21130
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21131
am_cv_CC_dependencies_compiler_type=$depmode
21138
rm -rf conftest.dir
21140
am_cv_CC_dependencies_compiler_type=none
21144
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
21145
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
21146
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
21151
test "x$enable_dependency_tracking" != xno \
21152
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
21153
am__fastdepCC_TRUE=
21154
am__fastdepCC_FALSE='#'
21156
am__fastdepCC_TRUE='#'
21157
am__fastdepCC_FALSE=
21161
# Find a good install program. We prefer a C program (faster),
21162
# so one script is as good as another. But avoid the broken or
21163
# incompatible versions:
21164
# SysV /etc/install, /usr/sbin/install
21165
# SunOS /usr/etc/install
21166
# IRIX /sbin/install
21168
# AmigaOS /C/install, which installs bootblocks on floppy discs
21169
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
21170
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
21171
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21172
# OS/2's system install, which has a completely different semantic
21173
# ./install, which can be erroneously created by make from ./install.sh.
21174
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
21175
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
21176
if test -z "$INSTALL"; then
21177
if test "${ac_cv_path_install+set}" = set; then
21178
echo $ECHO_N "(cached) $ECHO_C" >&6
21180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21181
for as_dir in $PATH
21184
test -z "$as_dir" && as_dir=.
21185
# Account for people who put trailing slashes in PATH elements.
21187
./ | .// | /cC/* | \
21188
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21189
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
21192
# OSF1 and SCO ODT 3.0 have their own names for install.
21193
# Don't use installbsd from OSF since it installs stuff as root
21195
for ac_prog in ginstall scoinst install; do
21196
for ac_exec_ext in '' $ac_executable_extensions; do
21197
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21198
if test $ac_prog = install &&
21199
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21200
# AIX install. It has an incompatible calling convention.
21202
elif test $ac_prog = install &&
21203
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21204
# program-specific install script used by HP pwplus--don't use.
21207
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
21220
if test "${ac_cv_path_install+set}" = set; then
21221
INSTALL=$ac_cv_path_install
21223
# As a last resort, use the slow shell script. Don't cache a
21224
# value for INSTALL within a source directory, because that will
21225
# break other packages using the cache if that directory is
21226
# removed, or if the value is a relative name.
21227
INSTALL=$ac_install_sh
21230
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
21231
echo "${ECHO_T}$INSTALL" >&6; }
21233
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21234
# It thinks the first close brace ends the variable substitution.
21235
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
21237
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
21239
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21241
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21242
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
21243
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
21244
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
21245
echo $ECHO_N "(cached) $ECHO_C" >&6
21247
cat >conftest.make <<\_ACEOF
21250
@echo '@@@%%%=$(MAKE)=@@@%%%'
21252
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21253
case `${MAKE-make} -f conftest.make 2>/dev/null` in
21254
*@@@%%%=?*=@@@%%%*)
21255
eval ac_cv_prog_make_${ac_make}_set=yes;;
21257
eval ac_cv_prog_make_${ac_make}_set=no;;
21259
rm -f conftest.make
21261
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
21262
{ echo "$as_me:$LINENO: result: yes" >&5
21263
echo "${ECHO_T}yes" >&6; }
21266
{ echo "$as_me:$LINENO: result: no" >&5
21267
echo "${ECHO_T}no" >&6; }
21268
SET_MAKE="MAKE=${MAKE-make}"
21273
ALL_LINGUAS="ar am az be bg ca cs da de dz en_CA en_GB es eu fi fr he hr hu it ja lv mk ml mn ms nb nl oc pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk vi zh_CN zh_TW"
21276
for ac_header in locale.h
21278
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21279
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21280
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21281
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21282
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21283
echo $ECHO_N "(cached) $ECHO_C" >&6
21285
ac_res=`eval echo '${'$as_ac_Header'}'`
21286
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21287
echo "${ECHO_T}$ac_res" >&6; }
21289
# Is the header compilable?
21290
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21291
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21292
cat >conftest.$ac_ext <<_ACEOF
21295
cat confdefs.h >>conftest.$ac_ext
21296
cat >>conftest.$ac_ext <<_ACEOF
21297
/* end confdefs.h. */
21298
$ac_includes_default
21299
#include <$ac_header>
21301
rm -f conftest.$ac_objext
21302
if { (ac_try="$ac_compile"
21303
case "(($ac_try" in
21304
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21305
*) ac_try_echo=$ac_try;;
21307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21308
(eval "$ac_compile") 2>conftest.er1
21310
grep -v '^ *+' conftest.er1 >conftest.err
21312
cat conftest.err >&5
21313
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314
(exit $ac_status); } && {
21315
test -z "$ac_c_werror_flag" ||
21316
test ! -s conftest.err
21317
} && test -s conftest.$ac_objext; then
21318
ac_header_compiler=yes
21320
echo "$as_me: failed program was:" >&5
21321
sed 's/^/| /' conftest.$ac_ext >&5
21323
ac_header_compiler=no
21326
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328
echo "${ECHO_T}$ac_header_compiler" >&6; }
21330
# Is the header present?
21331
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21332
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21333
cat >conftest.$ac_ext <<_ACEOF
21336
cat confdefs.h >>conftest.$ac_ext
21337
cat >>conftest.$ac_ext <<_ACEOF
21338
/* end confdefs.h. */
21339
#include <$ac_header>
21341
if { (ac_try="$ac_cpp conftest.$ac_ext"
21342
case "(($ac_try" in
21343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344
*) ac_try_echo=$ac_try;;
21346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21349
grep -v '^ *+' conftest.er1 >conftest.err
21351
cat conftest.err >&5
21352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
(exit $ac_status); } >/dev/null && {
21354
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21355
test ! -s conftest.err
21357
ac_header_preproc=yes
21359
echo "$as_me: failed program was:" >&5
21360
sed 's/^/| /' conftest.$ac_ext >&5
21362
ac_header_preproc=no
21365
rm -f conftest.err conftest.$ac_ext
21366
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21367
echo "${ECHO_T}$ac_header_preproc" >&6; }
21369
# So? What about this header?
21370
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21372
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21373
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21374
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21375
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21376
ac_header_preproc=yes
21379
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21380
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21381
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21382
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21383
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21384
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21385
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21386
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21387
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21388
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21389
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21390
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21392
## -------------------------------------------- ##
21393
## Report this to http://mfcn.ilo.de/gnomeradio ##
21394
## -------------------------------------------- ##
21396
) | sed "s/^/$as_me: WARNING: /" >&2
21399
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21400
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21401
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21402
echo $ECHO_N "(cached) $ECHO_C" >&6
21404
eval "$as_ac_Header=\$ac_header_preproc"
21406
ac_res=`eval echo '${'$as_ac_Header'}'`
21407
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21408
echo "${ECHO_T}$ac_res" >&6; }
21411
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21412
cat >>confdefs.h <<_ACEOF
21413
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21420
if test $ac_cv_header_locale_h = yes; then
21421
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21422
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21423
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21424
echo $ECHO_N "(cached) $ECHO_C" >&6
21426
cat >conftest.$ac_ext <<_ACEOF
21429
cat confdefs.h >>conftest.$ac_ext
21430
cat >>conftest.$ac_ext <<_ACEOF
21431
/* end confdefs.h. */
21432
#include <locale.h>
21441
rm -f conftest.$ac_objext conftest$ac_exeext
21442
if { (ac_try="$ac_link"
21443
case "(($ac_try" in
21444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21445
*) ac_try_echo=$ac_try;;
21447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448
(eval "$ac_link") 2>conftest.er1
21450
grep -v '^ *+' conftest.er1 >conftest.err
21452
cat conftest.err >&5
21453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454
(exit $ac_status); } && {
21455
test -z "$ac_c_werror_flag" ||
21456
test ! -s conftest.err
21457
} && test -s conftest$ac_exeext &&
21458
$as_test_x conftest$ac_exeext; then
21459
am_cv_val_LC_MESSAGES=yes
21461
echo "$as_me: failed program was:" >&5
21462
sed 's/^/| /' conftest.$ac_ext >&5
21464
am_cv_val_LC_MESSAGES=no
21467
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21468
conftest$ac_exeext conftest.$ac_ext
21470
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21471
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21472
if test $am_cv_val_LC_MESSAGES = yes; then
21474
cat >>confdefs.h <<\_ACEOF
21475
#define HAVE_LC_MESSAGES 1
21483
gt_cv_have_gettext=no
21489
if test "${ac_cv_header_libintl_h+set}" = set; then
21490
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21491
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21492
if test "${ac_cv_header_libintl_h+set}" = set; then
21493
echo $ECHO_N "(cached) $ECHO_C" >&6
21495
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21496
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21498
# Is the header compilable?
21499
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21500
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21501
cat >conftest.$ac_ext <<_ACEOF
21504
cat confdefs.h >>conftest.$ac_ext
21505
cat >>conftest.$ac_ext <<_ACEOF
21506
/* end confdefs.h. */
21507
$ac_includes_default
21508
#include <libintl.h>
21510
rm -f conftest.$ac_objext
21511
if { (ac_try="$ac_compile"
21512
case "(($ac_try" in
21513
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514
*) ac_try_echo=$ac_try;;
21516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517
(eval "$ac_compile") 2>conftest.er1
21519
grep -v '^ *+' conftest.er1 >conftest.err
21521
cat conftest.err >&5
21522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523
(exit $ac_status); } && {
21524
test -z "$ac_c_werror_flag" ||
21525
test ! -s conftest.err
21526
} && test -s conftest.$ac_objext; then
21527
ac_header_compiler=yes
21529
echo "$as_me: failed program was:" >&5
21530
sed 's/^/| /' conftest.$ac_ext >&5
21532
ac_header_compiler=no
21535
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21537
echo "${ECHO_T}$ac_header_compiler" >&6; }
21539
# Is the header present?
21540
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21541
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21542
cat >conftest.$ac_ext <<_ACEOF
21545
cat confdefs.h >>conftest.$ac_ext
21546
cat >>conftest.$ac_ext <<_ACEOF
21547
/* end confdefs.h. */
21548
#include <libintl.h>
21550
if { (ac_try="$ac_cpp conftest.$ac_ext"
21551
case "(($ac_try" in
21552
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21553
*) ac_try_echo=$ac_try;;
21555
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21558
grep -v '^ *+' conftest.er1 >conftest.err
21560
cat conftest.err >&5
21561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562
(exit $ac_status); } >/dev/null && {
21563
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21564
test ! -s conftest.err
21566
ac_header_preproc=yes
21568
echo "$as_me: failed program was:" >&5
21569
sed 's/^/| /' conftest.$ac_ext >&5
21571
ac_header_preproc=no
21574
rm -f conftest.err conftest.$ac_ext
21575
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21576
echo "${ECHO_T}$ac_header_preproc" >&6; }
21578
# So? What about this header?
21579
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21581
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21582
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21583
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21584
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21585
ac_header_preproc=yes
21588
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21589
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21590
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21591
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
21592
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21593
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21594
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
21595
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
21596
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21597
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21598
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21599
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21601
## -------------------------------------------- ##
21602
## Report this to http://mfcn.ilo.de/gnomeradio ##
21603
## -------------------------------------------- ##
21605
) | sed "s/^/$as_me: WARNING: /" >&2
21608
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21609
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21610
if test "${ac_cv_header_libintl_h+set}" = set; then
21611
echo $ECHO_N "(cached) $ECHO_C" >&6
21613
ac_cv_header_libintl_h=$ac_header_preproc
21615
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21616
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21619
if test $ac_cv_header_libintl_h = yes; then
21620
gt_cv_func_dgettext_libintl="no"
21621
libintl_extra_libs=""
21624
# First check in libc
21626
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21627
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21628
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21629
echo $ECHO_N "(cached) $ECHO_C" >&6
21631
cat >conftest.$ac_ext <<_ACEOF
21634
cat confdefs.h >>conftest.$ac_ext
21635
cat >>conftest.$ac_ext <<_ACEOF
21636
/* end confdefs.h. */
21638
#include <libintl.h>
21643
return !ngettext ("","", 1)
21648
rm -f conftest.$ac_objext conftest$ac_exeext
21649
if { (ac_try="$ac_link"
21650
case "(($ac_try" in
21651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652
*) ac_try_echo=$ac_try;;
21654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655
(eval "$ac_link") 2>conftest.er1
21657
grep -v '^ *+' conftest.er1 >conftest.err
21659
cat conftest.err >&5
21660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
(exit $ac_status); } && {
21662
test -z "$ac_c_werror_flag" ||
21663
test ! -s conftest.err
21664
} && test -s conftest$ac_exeext &&
21665
$as_test_x conftest$ac_exeext; then
21666
gt_cv_func_ngettext_libc=yes
21668
echo "$as_me: failed program was:" >&5
21669
sed 's/^/| /' conftest.$ac_ext >&5
21671
gt_cv_func_ngettext_libc=no
21674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21675
conftest$ac_exeext conftest.$ac_ext
21678
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21679
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21681
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21682
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21683
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21684
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21685
echo $ECHO_N "(cached) $ECHO_C" >&6
21687
cat >conftest.$ac_ext <<_ACEOF
21690
cat confdefs.h >>conftest.$ac_ext
21691
cat >>conftest.$ac_ext <<_ACEOF
21692
/* end confdefs.h. */
21694
#include <libintl.h>
21699
return !dgettext ("","")
21704
rm -f conftest.$ac_objext conftest$ac_exeext
21705
if { (ac_try="$ac_link"
21706
case "(($ac_try" in
21707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21708
*) ac_try_echo=$ac_try;;
21710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21711
(eval "$ac_link") 2>conftest.er1
21713
grep -v '^ *+' conftest.er1 >conftest.err
21715
cat conftest.err >&5
21716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717
(exit $ac_status); } && {
21718
test -z "$ac_c_werror_flag" ||
21719
test ! -s conftest.err
21720
} && test -s conftest$ac_exeext &&
21721
$as_test_x conftest$ac_exeext; then
21722
gt_cv_func_dgettext_libc=yes
21724
echo "$as_me: failed program was:" >&5
21725
sed 's/^/| /' conftest.$ac_ext >&5
21727
gt_cv_func_dgettext_libc=no
21730
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21731
conftest$ac_exeext conftest.$ac_ext
21734
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21735
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21738
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21740
for ac_func in bind_textdomain_codeset
21742
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21743
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21744
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21745
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21746
echo $ECHO_N "(cached) $ECHO_C" >&6
21748
cat >conftest.$ac_ext <<_ACEOF
21751
cat confdefs.h >>conftest.$ac_ext
21752
cat >>conftest.$ac_ext <<_ACEOF
21753
/* end confdefs.h. */
21754
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21755
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21756
#define $ac_func innocuous_$ac_func
21758
/* System header to define __stub macros and hopefully few prototypes,
21759
which can conflict with char $ac_func (); below.
21760
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21761
<limits.h> exists even on freestanding compilers. */
21764
# include <limits.h>
21766
# include <assert.h>
21771
/* Override any GCC internal prototype to avoid an error.
21772
Use char because int might match the return type of a GCC
21773
builtin and then its argument prototype would still apply. */
21778
/* The GNU C library defines this for functions which it implements
21779
to always fail with ENOSYS. Some functions are actually named
21780
something starting with __ and the normal name is an alias. */
21781
#if defined __stub_$ac_func || defined __stub___$ac_func
21788
return $ac_func ();
21793
rm -f conftest.$ac_objext conftest$ac_exeext
21794
if { (ac_try="$ac_link"
21795
case "(($ac_try" in
21796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797
*) ac_try_echo=$ac_try;;
21799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800
(eval "$ac_link") 2>conftest.er1
21802
grep -v '^ *+' conftest.er1 >conftest.err
21804
cat conftest.err >&5
21805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806
(exit $ac_status); } && {
21807
test -z "$ac_c_werror_flag" ||
21808
test ! -s conftest.err
21809
} && test -s conftest$ac_exeext &&
21810
$as_test_x conftest$ac_exeext; then
21811
eval "$as_ac_var=yes"
21813
echo "$as_me: failed program was:" >&5
21814
sed 's/^/| /' conftest.$ac_ext >&5
21816
eval "$as_ac_var=no"
21819
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21820
conftest$ac_exeext conftest.$ac_ext
21822
ac_res=`eval echo '${'$as_ac_var'}'`
21823
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21824
echo "${ECHO_T}$ac_res" >&6; }
21825
if test `eval echo '${'$as_ac_var'}'` = yes; then
21826
cat >>confdefs.h <<_ACEOF
21827
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21836
# If we don't have everything we want, check in libintl
21838
if test "$gt_cv_func_dgettext_libc" != "yes" \
21839
|| test "$gt_cv_func_ngettext_libc" != "yes" \
21840
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21842
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21843
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21844
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21845
echo $ECHO_N "(cached) $ECHO_C" >&6
21847
ac_check_lib_save_LIBS=$LIBS
21848
LIBS="-lintl $LIBS"
21849
cat >conftest.$ac_ext <<_ACEOF
21852
cat confdefs.h >>conftest.$ac_ext
21853
cat >>conftest.$ac_ext <<_ACEOF
21854
/* end confdefs.h. */
21856
/* Override any GCC internal prototype to avoid an error.
21857
Use char because int might match the return type of a GCC
21858
builtin and then its argument prototype would still apply. */
21862
char bindtextdomain ();
21866
return bindtextdomain ();
21871
rm -f conftest.$ac_objext conftest$ac_exeext
21872
if { (ac_try="$ac_link"
21873
case "(($ac_try" in
21874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21875
*) ac_try_echo=$ac_try;;
21877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21878
(eval "$ac_link") 2>conftest.er1
21880
grep -v '^ *+' conftest.er1 >conftest.err
21882
cat conftest.err >&5
21883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884
(exit $ac_status); } && {
21885
test -z "$ac_c_werror_flag" ||
21886
test ! -s conftest.err
21887
} && test -s conftest$ac_exeext &&
21888
$as_test_x conftest$ac_exeext; then
21889
ac_cv_lib_intl_bindtextdomain=yes
21891
echo "$as_me: failed program was:" >&5
21892
sed 's/^/| /' conftest.$ac_ext >&5
21894
ac_cv_lib_intl_bindtextdomain=no
21897
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21898
conftest$ac_exeext conftest.$ac_ext
21899
LIBS=$ac_check_lib_save_LIBS
21901
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21902
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21903
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21904
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21905
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21906
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21907
echo $ECHO_N "(cached) $ECHO_C" >&6
21909
ac_check_lib_save_LIBS=$LIBS
21910
LIBS="-lintl $LIBS"
21911
cat >conftest.$ac_ext <<_ACEOF
21914
cat confdefs.h >>conftest.$ac_ext
21915
cat >>conftest.$ac_ext <<_ACEOF
21916
/* end confdefs.h. */
21918
/* Override any GCC internal prototype to avoid an error.
21919
Use char because int might match the return type of a GCC
21920
builtin and then its argument prototype would still apply. */
21928
return ngettext ();
21933
rm -f conftest.$ac_objext conftest$ac_exeext
21934
if { (ac_try="$ac_link"
21935
case "(($ac_try" in
21936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937
*) ac_try_echo=$ac_try;;
21939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940
(eval "$ac_link") 2>conftest.er1
21942
grep -v '^ *+' conftest.er1 >conftest.err
21944
cat conftest.err >&5
21945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946
(exit $ac_status); } && {
21947
test -z "$ac_c_werror_flag" ||
21948
test ! -s conftest.err
21949
} && test -s conftest$ac_exeext &&
21950
$as_test_x conftest$ac_exeext; then
21951
ac_cv_lib_intl_ngettext=yes
21953
echo "$as_me: failed program was:" >&5
21954
sed 's/^/| /' conftest.$ac_ext >&5
21956
ac_cv_lib_intl_ngettext=no
21959
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21960
conftest$ac_exeext conftest.$ac_ext
21961
LIBS=$ac_check_lib_save_LIBS
21963
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21964
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21965
if test $ac_cv_lib_intl_ngettext = yes; then
21966
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21967
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21968
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21969
echo $ECHO_N "(cached) $ECHO_C" >&6
21971
ac_check_lib_save_LIBS=$LIBS
21972
LIBS="-lintl $LIBS"
21973
cat >conftest.$ac_ext <<_ACEOF
21976
cat confdefs.h >>conftest.$ac_ext
21977
cat >>conftest.$ac_ext <<_ACEOF
21978
/* end confdefs.h. */
21980
/* Override any GCC internal prototype to avoid an error.
21981
Use char because int might match the return type of a GCC
21982
builtin and then its argument prototype would still apply. */
21990
return dgettext ();
21995
rm -f conftest.$ac_objext conftest$ac_exeext
21996
if { (ac_try="$ac_link"
21997
case "(($ac_try" in
21998
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999
*) ac_try_echo=$ac_try;;
22001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002
(eval "$ac_link") 2>conftest.er1
22004
grep -v '^ *+' conftest.er1 >conftest.err
22006
cat conftest.err >&5
22007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008
(exit $ac_status); } && {
22009
test -z "$ac_c_werror_flag" ||
22010
test ! -s conftest.err
22011
} && test -s conftest$ac_exeext &&
22012
$as_test_x conftest$ac_exeext; then
22013
ac_cv_lib_intl_dgettext=yes
22015
echo "$as_me: failed program was:" >&5
22016
sed 's/^/| /' conftest.$ac_ext >&5
22018
ac_cv_lib_intl_dgettext=no
22021
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22022
conftest$ac_exeext conftest.$ac_ext
22023
LIBS=$ac_check_lib_save_LIBS
22025
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22026
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
22027
if test $ac_cv_lib_intl_dgettext = yes; then
22028
gt_cv_func_dgettext_libintl=yes
22036
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22037
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22038
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22039
{ echo "$as_me:$LINENO: result: " >&5
22040
echo "${ECHO_T}" >&6; }
22041
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22042
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22043
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22044
echo $ECHO_N "(cached) $ECHO_C" >&6
22046
ac_check_lib_save_LIBS=$LIBS
22047
LIBS="-lintl -liconv $LIBS"
22048
cat >conftest.$ac_ext <<_ACEOF
22051
cat confdefs.h >>conftest.$ac_ext
22052
cat >>conftest.$ac_ext <<_ACEOF
22053
/* end confdefs.h. */
22055
/* Override any GCC internal prototype to avoid an error.
22056
Use char because int might match the return type of a GCC
22057
builtin and then its argument prototype would still apply. */
22065
return ngettext ();
22070
rm -f conftest.$ac_objext conftest$ac_exeext
22071
if { (ac_try="$ac_link"
22072
case "(($ac_try" in
22073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074
*) ac_try_echo=$ac_try;;
22076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077
(eval "$ac_link") 2>conftest.er1
22079
grep -v '^ *+' conftest.er1 >conftest.err
22081
cat conftest.err >&5
22082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083
(exit $ac_status); } && {
22084
test -z "$ac_c_werror_flag" ||
22085
test ! -s conftest.err
22086
} && test -s conftest$ac_exeext &&
22087
$as_test_x conftest$ac_exeext; then
22088
ac_cv_lib_intl_ngettext=yes
22090
echo "$as_me: failed program was:" >&5
22091
sed 's/^/| /' conftest.$ac_ext >&5
22093
ac_cv_lib_intl_ngettext=no
22096
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22097
conftest$ac_exeext conftest.$ac_ext
22098
LIBS=$ac_check_lib_save_LIBS
22100
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22101
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22102
if test $ac_cv_lib_intl_ngettext = yes; then
22103
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22104
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
22105
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22106
echo $ECHO_N "(cached) $ECHO_C" >&6
22108
ac_check_lib_save_LIBS=$LIBS
22109
LIBS="-lintl -liconv $LIBS"
22110
cat >conftest.$ac_ext <<_ACEOF
22113
cat confdefs.h >>conftest.$ac_ext
22114
cat >>conftest.$ac_ext <<_ACEOF
22115
/* end confdefs.h. */
22117
/* Override any GCC internal prototype to avoid an error.
22118
Use char because int might match the return type of a GCC
22119
builtin and then its argument prototype would still apply. */
22127
return dcgettext ();
22132
rm -f conftest.$ac_objext conftest$ac_exeext
22133
if { (ac_try="$ac_link"
22134
case "(($ac_try" in
22135
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136
*) ac_try_echo=$ac_try;;
22138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139
(eval "$ac_link") 2>conftest.er1
22141
grep -v '^ *+' conftest.er1 >conftest.err
22143
cat conftest.err >&5
22144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
(exit $ac_status); } && {
22146
test -z "$ac_c_werror_flag" ||
22147
test ! -s conftest.err
22148
} && test -s conftest$ac_exeext &&
22149
$as_test_x conftest$ac_exeext; then
22150
ac_cv_lib_intl_dcgettext=yes
22152
echo "$as_me: failed program was:" >&5
22153
sed 's/^/| /' conftest.$ac_ext >&5
22155
ac_cv_lib_intl_dcgettext=no
22158
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22159
conftest$ac_exeext conftest.$ac_ext
22160
LIBS=$ac_check_lib_save_LIBS
22162
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22163
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22164
if test $ac_cv_lib_intl_dcgettext = yes; then
22165
gt_cv_func_dgettext_libintl=yes
22166
libintl_extra_libs=-liconv
22178
# If we found libintl, then check in it for bind_textdomain_codeset();
22179
# we'll prefer libc if neither have bind_textdomain_codeset(),
22180
# and both have dgettext and ngettext
22182
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22183
glib_save_LIBS="$LIBS"
22184
LIBS="$LIBS -lintl $libintl_extra_libs"
22185
unset ac_cv_func_bind_textdomain_codeset
22187
for ac_func in bind_textdomain_codeset
22189
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22190
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22191
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22192
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22193
echo $ECHO_N "(cached) $ECHO_C" >&6
22195
cat >conftest.$ac_ext <<_ACEOF
22198
cat confdefs.h >>conftest.$ac_ext
22199
cat >>conftest.$ac_ext <<_ACEOF
22200
/* end confdefs.h. */
22201
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22202
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22203
#define $ac_func innocuous_$ac_func
22205
/* System header to define __stub macros and hopefully few prototypes,
22206
which can conflict with char $ac_func (); below.
22207
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22208
<limits.h> exists even on freestanding compilers. */
22211
# include <limits.h>
22213
# include <assert.h>
22218
/* Override any GCC internal prototype to avoid an error.
22219
Use char because int might match the return type of a GCC
22220
builtin and then its argument prototype would still apply. */
22225
/* The GNU C library defines this for functions which it implements
22226
to always fail with ENOSYS. Some functions are actually named
22227
something starting with __ and the normal name is an alias. */
22228
#if defined __stub_$ac_func || defined __stub___$ac_func
22235
return $ac_func ();
22240
rm -f conftest.$ac_objext conftest$ac_exeext
22241
if { (ac_try="$ac_link"
22242
case "(($ac_try" in
22243
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244
*) ac_try_echo=$ac_try;;
22246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247
(eval "$ac_link") 2>conftest.er1
22249
grep -v '^ *+' conftest.er1 >conftest.err
22251
cat conftest.err >&5
22252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253
(exit $ac_status); } && {
22254
test -z "$ac_c_werror_flag" ||
22255
test ! -s conftest.err
22256
} && test -s conftest$ac_exeext &&
22257
$as_test_x conftest$ac_exeext; then
22258
eval "$as_ac_var=yes"
22260
echo "$as_me: failed program was:" >&5
22261
sed 's/^/| /' conftest.$ac_ext >&5
22263
eval "$as_ac_var=no"
22266
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22267
conftest$ac_exeext conftest.$ac_ext
22269
ac_res=`eval echo '${'$as_ac_var'}'`
22270
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22271
echo "${ECHO_T}$ac_res" >&6; }
22272
if test `eval echo '${'$as_ac_var'}'` = yes; then
22273
cat >>confdefs.h <<_ACEOF
22274
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22280
LIBS="$glib_save_LIBS"
22282
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22283
gt_cv_func_dgettext_libc=no
22285
if test "$gt_cv_func_dgettext_libc" = "yes" \
22286
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
22287
gt_cv_func_dgettext_libintl=no
22293
if test "$gt_cv_func_dgettext_libc" = "yes" \
22294
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
22295
gt_cv_have_gettext=yes
22298
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22299
INTLLIBS="-lintl $libintl_extra_libs"
22302
if test "$gt_cv_have_gettext" = "yes"; then
22304
cat >>confdefs.h <<\_ACEOF
22305
#define HAVE_GETTEXT 1
22308
# Extract the first word of "msgfmt", so it can be a program name with args.
22309
set dummy msgfmt; ac_word=$2
22310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22312
if test "${ac_cv_path_MSGFMT+set}" = set; then
22313
echo $ECHO_N "(cached) $ECHO_C" >&6
22317
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22320
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22321
for ac_dir in $PATH; do
22322
test -z "$ac_dir" && ac_dir=.
22323
if test -f $ac_dir/$ac_word; then
22324
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22325
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22331
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
22335
MSGFMT="$ac_cv_path_MSGFMT"
22336
if test "$MSGFMT" != "no"; then
22337
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22338
echo "${ECHO_T}$MSGFMT" >&6; }
22340
{ echo "$as_me:$LINENO: result: no" >&5
22341
echo "${ECHO_T}no" >&6; }
22343
if test "$MSGFMT" != "no"; then
22344
glib_save_LIBS="$LIBS"
22345
LIBS="$LIBS $INTLLIBS"
22347
for ac_func in dcgettext
22349
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22351
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22352
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22353
echo $ECHO_N "(cached) $ECHO_C" >&6
22355
cat >conftest.$ac_ext <<_ACEOF
22358
cat confdefs.h >>conftest.$ac_ext
22359
cat >>conftest.$ac_ext <<_ACEOF
22360
/* end confdefs.h. */
22361
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22362
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22363
#define $ac_func innocuous_$ac_func
22365
/* System header to define __stub macros and hopefully few prototypes,
22366
which can conflict with char $ac_func (); below.
22367
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22368
<limits.h> exists even on freestanding compilers. */
22371
# include <limits.h>
22373
# include <assert.h>
22378
/* Override any GCC internal prototype to avoid an error.
22379
Use char because int might match the return type of a GCC
22380
builtin and then its argument prototype would still apply. */
22385
/* The GNU C library defines this for functions which it implements
22386
to always fail with ENOSYS. Some functions are actually named
22387
something starting with __ and the normal name is an alias. */
22388
#if defined __stub_$ac_func || defined __stub___$ac_func
22395
return $ac_func ();
22400
rm -f conftest.$ac_objext conftest$ac_exeext
22401
if { (ac_try="$ac_link"
22402
case "(($ac_try" in
22403
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404
*) ac_try_echo=$ac_try;;
22406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22407
(eval "$ac_link") 2>conftest.er1
22409
grep -v '^ *+' conftest.er1 >conftest.err
22411
cat conftest.err >&5
22412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413
(exit $ac_status); } && {
22414
test -z "$ac_c_werror_flag" ||
22415
test ! -s conftest.err
22416
} && test -s conftest$ac_exeext &&
22417
$as_test_x conftest$ac_exeext; then
22418
eval "$as_ac_var=yes"
22420
echo "$as_me: failed program was:" >&5
22421
sed 's/^/| /' conftest.$ac_ext >&5
22423
eval "$as_ac_var=no"
22426
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22427
conftest$ac_exeext conftest.$ac_ext
22429
ac_res=`eval echo '${'$as_ac_var'}'`
22430
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22431
echo "${ECHO_T}$ac_res" >&6; }
22432
if test `eval echo '${'$as_ac_var'}'` = yes; then
22433
cat >>confdefs.h <<_ACEOF
22434
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22441
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22442
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22443
cat >conftest.foo <<_ACEOF
22447
"Content-Type: text/plain; charset=UTF-8\n"
22448
"Project-Id-Version: test 1.0\n"
22449
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
22450
"Last-Translator: test <foo@bar.xx>\n"
22451
"Language-Team: C <LL@li.org>\n"
22452
"MIME-Version: 1.0\n"
22453
"Content-Transfer-Encoding: 8bit\n"
22456
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22457
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460
(exit $ac_status); }; then
22461
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22462
echo "${ECHO_T}yes" >&6; }
22463
else { echo "$as_me:$LINENO: result: no" >&5
22464
echo "${ECHO_T}no" >&6; }
22465
echo "$as_me: failed input was:" >&5
22466
sed 's/^/| /' conftest.foo >&5
22469
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22470
set dummy gmsgfmt; ac_word=$2
22471
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22473
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22474
echo $ECHO_N "(cached) $ECHO_C" >&6
22478
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22482
for as_dir in $PATH
22485
test -z "$as_dir" && as_dir=.
22486
for ac_exec_ext in '' $ac_executable_extensions; do
22487
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22488
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22489
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22496
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22500
GMSGFMT=$ac_cv_path_GMSGFMT
22501
if test -n "$GMSGFMT"; then
22502
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22503
echo "${ECHO_T}$GMSGFMT" >&6; }
22505
{ echo "$as_me:$LINENO: result: no" >&5
22506
echo "${ECHO_T}no" >&6; }
22510
# Extract the first word of "xgettext", so it can be a program name with args.
22511
set dummy xgettext; ac_word=$2
22512
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22513
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22514
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22515
echo $ECHO_N "(cached) $ECHO_C" >&6
22517
case "$XGETTEXT" in
22519
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22522
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22523
for ac_dir in $PATH; do
22524
test -z "$ac_dir" && ac_dir=.
22525
if test -f $ac_dir/$ac_word; then
22526
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22527
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22533
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22537
XGETTEXT="$ac_cv_path_XGETTEXT"
22538
if test "$XGETTEXT" != ":"; then
22539
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22540
echo "${ECHO_T}$XGETTEXT" >&6; }
22542
{ echo "$as_me:$LINENO: result: no" >&5
22543
echo "${ECHO_T}no" >&6; }
22546
cat >conftest.$ac_ext <<_ACEOF
22549
cat confdefs.h >>conftest.$ac_ext
22550
cat >>conftest.$ac_ext <<_ACEOF
22551
/* end confdefs.h. */
22556
extern int _nl_msg_cat_cntr;
22557
return _nl_msg_cat_cntr
22562
rm -f conftest.$ac_objext conftest$ac_exeext
22563
if { (ac_try="$ac_link"
22564
case "(($ac_try" in
22565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566
*) ac_try_echo=$ac_try;;
22568
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569
(eval "$ac_link") 2>conftest.er1
22571
grep -v '^ *+' conftest.er1 >conftest.err
22573
cat conftest.err >&5
22574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575
(exit $ac_status); } && {
22576
test -z "$ac_c_werror_flag" ||
22577
test ! -s conftest.err
22578
} && test -s conftest$ac_exeext &&
22579
$as_test_x conftest$ac_exeext; then
22583
echo "$as_me: failed program was:" >&5
22584
sed 's/^/| /' conftest.$ac_ext >&5
22588
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22589
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22590
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22591
echo $ECHO_N "(cached) $ECHO_C" >&6
22593
cat >conftest.$ac_ext <<_ACEOF
22596
cat confdefs.h >>conftest.$ac_ext
22597
cat >>conftest.$ac_ext <<_ACEOF
22598
/* end confdefs.h. */
22599
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22600
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22601
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22603
/* System header to define __stub macros and hopefully few prototypes,
22604
which can conflict with char bind_textdomain_codeset (); below.
22605
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22606
<limits.h> exists even on freestanding compilers. */
22609
# include <limits.h>
22611
# include <assert.h>
22614
#undef bind_textdomain_codeset
22616
/* Override any GCC internal prototype to avoid an error.
22617
Use char because int might match the return type of a GCC
22618
builtin and then its argument prototype would still apply. */
22622
char bind_textdomain_codeset ();
22623
/* The GNU C library defines this for functions which it implements
22624
to always fail with ENOSYS. Some functions are actually named
22625
something starting with __ and the normal name is an alias. */
22626
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22633
return bind_textdomain_codeset ();
22638
rm -f conftest.$ac_objext conftest$ac_exeext
22639
if { (ac_try="$ac_link"
22640
case "(($ac_try" in
22641
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642
*) ac_try_echo=$ac_try;;
22644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645
(eval "$ac_link") 2>conftest.er1
22647
grep -v '^ *+' conftest.er1 >conftest.err
22649
cat conftest.err >&5
22650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
(exit $ac_status); } && {
22652
test -z "$ac_c_werror_flag" ||
22653
test ! -s conftest.err
22654
} && test -s conftest$ac_exeext &&
22655
$as_test_x conftest$ac_exeext; then
22656
ac_cv_func_bind_textdomain_codeset=yes
22658
echo "$as_me: failed program was:" >&5
22659
sed 's/^/| /' conftest.$ac_ext >&5
22661
ac_cv_func_bind_textdomain_codeset=no
22664
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22665
conftest$ac_exeext conftest.$ac_ext
22667
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22668
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22669
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22685
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22686
conftest$ac_exeext conftest.$ac_ext
22687
LIBS="$glib_save_LIBS"
22690
gt_cv_have_gettext=no
22698
if test "$gt_cv_have_gettext" = "yes" ; then
22700
cat >>confdefs.h <<\_ACEOF
22701
#define ENABLE_NLS 1
22706
if test "$XGETTEXT" != ":"; then
22707
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22710
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22711
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22716
# We need to process the po/ directory.
22719
ac_config_commands="$ac_config_commands default-1"
22722
for lang in $ALL_LINGUAS; do
22723
GMOFILES="$GMOFILES $lang.gmo"
22724
POFILES="$POFILES $lang.po"
22739
if test "$gt_cv_have_gettext" = "yes"; then
22740
if test "x$ALL_LINGUAS" = "x"; then
22743
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22744
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22746
for presentlang in $ALL_LINGUAS; do
22748
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22749
desiredlanguages="$LINGUAS"
22751
desiredlanguages="$ALL_LINGUAS"
22753
for desiredlang in $desiredlanguages; do
22754
# Use the presentlang catalog if desiredlang is
22755
# a. equal to presentlang, or
22756
# b. a variant of presentlang (because in this case,
22757
# presentlang can be used as a fallback for messages
22758
# which are not translated in the desiredlang catalog).
22759
case "$desiredlang" in
22760
"$presentlang"*) useit=yes;;
22763
if test $useit = yes; then
22764
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22767
LINGUAS=$NEW_LINGUAS
22768
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
22769
echo "${ECHO_T}$LINGUAS" >&6; }
22772
if test -n "$LINGUAS"; then
22773
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22778
if test -n "$ac_aux_dir"; then
22779
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22781
if test -z "$MKINSTALLDIRS"; then
22782
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22786
test -d po || mkdir po
22787
if test "x$srcdir" != "x."; then
22788
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22789
posrcprefix="$srcdir/"
22791
posrcprefix="../$srcdir/"
22797
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22798
< $srcdir/po/POTFILES.in > po/POTFILES
22800
GETTEXT_PACKAGE=gnomeradio
22803
cat >>confdefs.h <<_ACEOF
22804
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
22811
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22812
if test -n "$ac_tool_prefix"; then
22813
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22814
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22815
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22816
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22817
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22818
echo $ECHO_N "(cached) $ECHO_C" >&6
22820
case $PKG_CONFIG in
22822
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22826
for as_dir in $PATH
22829
test -z "$as_dir" && as_dir=.
22830
for ac_exec_ext in '' $ac_executable_extensions; do
22831
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22832
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22833
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22843
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22844
if test -n "$PKG_CONFIG"; then
22845
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22846
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22848
{ echo "$as_me:$LINENO: result: no" >&5
22849
echo "${ECHO_T}no" >&6; }
22854
if test -z "$ac_cv_path_PKG_CONFIG"; then
22855
ac_pt_PKG_CONFIG=$PKG_CONFIG
22856
# Extract the first word of "pkg-config", so it can be a program name with args.
22857
set dummy pkg-config; ac_word=$2
22858
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22860
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22861
echo $ECHO_N "(cached) $ECHO_C" >&6
22863
case $ac_pt_PKG_CONFIG in
22865
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22869
for as_dir in $PATH
22872
test -z "$as_dir" && as_dir=.
22873
for ac_exec_ext in '' $ac_executable_extensions; do
22874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22875
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22876
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22886
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22887
if test -n "$ac_pt_PKG_CONFIG"; then
22888
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22889
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22891
{ echo "$as_me:$LINENO: result: no" >&5
22892
echo "${ECHO_T}no" >&6; }
22895
if test "x$ac_pt_PKG_CONFIG" = x; then
22898
case $cross_compiling:$ac_tool_warned in
22900
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22901
whose name does not start with the host triplet. If you think this
22902
configuration is useful to you, please write to autoconf@gnu.org." >&5
22903
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22904
whose name does not start with the host triplet. If you think this
22905
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22906
ac_tool_warned=yes ;;
22908
PKG_CONFIG=$ac_pt_PKG_CONFIG
22911
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22915
if test -n "$PKG_CONFIG"; then
22916
_pkg_min_version=0.9.0
22917
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22918
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22919
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22920
{ echo "$as_me:$LINENO: result: yes" >&5
22921
echo "${ECHO_T}yes" >&6; }
22923
{ echo "$as_me:$LINENO: result: no" >&5
22924
echo "${ECHO_T}no" >&6; }
22931
{ echo "$as_me:$LINENO: checking for GNOME" >&5
22932
echo $ECHO_N "checking for GNOME... $ECHO_C" >&6; }
22934
if test -n "$PKG_CONFIG"; then
22935
if test -n "$GNOME_CFLAGS"; then
22936
pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
22938
if test -n "$PKG_CONFIG" && \
22939
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
22940
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
22942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943
(exit $ac_status); }; then
22944
pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
22952
if test -n "$PKG_CONFIG"; then
22953
if test -n "$GNOME_LIBS"; then
22954
pkg_cv_GNOME_LIBS="$GNOME_LIBS"
22956
if test -n "$PKG_CONFIG" && \
22957
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
22958
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
22960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961
(exit $ac_status); }; then
22962
pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
22973
if test $pkg_failed = yes; then
22975
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22976
_pkg_short_errors_supported=yes
22978
_pkg_short_errors_supported=no
22980
if test $_pkg_short_errors_supported = yes; then
22981
GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
22983
GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
22985
# Put the nasty error message in config.log where it belongs
22986
echo "$GNOME_PKG_ERRORS" >&5
22988
{ { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
22992
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22993
installed software in a non-standard prefix.
22995
Alternatively, you may set the environment variables GNOME_CFLAGS
22996
and GNOME_LIBS to avoid the need to call pkg-config.
22997
See the pkg-config man page for more details.
22999
echo "$as_me: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
23003
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23004
installed software in a non-standard prefix.
23006
Alternatively, you may set the environment variables GNOME_CFLAGS
23007
and GNOME_LIBS to avoid the need to call pkg-config.
23008
See the pkg-config man page for more details.
23010
{ (exit 1); exit 1; }; }
23011
elif test $pkg_failed = untried; then
23012
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23013
is in your PATH or set the PKG_CONFIG environment variable to the full
23014
path to pkg-config.
23016
Alternatively, you may set the environment variables GNOME_CFLAGS
23017
and GNOME_LIBS to avoid the need to call pkg-config.
23018
See the pkg-config man page for more details.
23020
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23021
See \`config.log' for more details." >&5
23022
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23023
is in your PATH or set the PKG_CONFIG environment variable to the full
23024
path to pkg-config.
23026
Alternatively, you may set the environment variables GNOME_CFLAGS
23027
and GNOME_LIBS to avoid the need to call pkg-config.
23028
See the pkg-config man page for more details.
23030
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23031
See \`config.log' for more details." >&2;}
23032
{ (exit 1); exit 1; }; }
23034
GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
23035
GNOME_LIBS=$pkg_cv_GNOME_LIBS
23036
{ echo "$as_me:$LINENO: result: yes" >&5
23037
echo "${ECHO_T}yes" >&6; }
23042
{ echo "$as_me:$LINENO: checking for GNOME14" >&5
23043
echo $ECHO_N "checking for GNOME14... $ECHO_C" >&6; }
23045
if test -n "$PKG_CONFIG"; then
23046
if test -n "$GNOME14_CFLAGS"; then
23047
pkg_cv_GNOME14_CFLAGS="$GNOME14_CFLAGS"
23049
if test -n "$PKG_CONFIG" && \
23050
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
23051
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
23053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054
(exit $ac_status); }; then
23055
pkg_cv_GNOME14_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.14" 2>/dev/null`
23063
if test -n "$PKG_CONFIG"; then
23064
if test -n "$GNOME14_LIBS"; then
23065
pkg_cv_GNOME14_LIBS="$GNOME14_LIBS"
23067
if test -n "$PKG_CONFIG" && \
23068
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
23069
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
23071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072
(exit $ac_status); }; then
23073
pkg_cv_GNOME14_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.14" 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
GNOME14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
23094
GNOME14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
23096
# Put the nasty error message in config.log where it belongs
23097
echo "$GNOME14_PKG_ERRORS" >&5
23099
{ echo "$as_me:$LINENO: result: no" >&5
23100
echo "${ECHO_T}no" >&6; }
23101
GNOME_14="0";echo "no"
23102
elif test $pkg_failed = untried; then
23103
GNOME_14="0";echo "no"
23105
GNOME14_CFLAGS=$pkg_cv_GNOME14_CFLAGS
23106
GNOME14_LIBS=$pkg_cv_GNOME14_LIBS
23107
{ echo "$as_me:$LINENO: result: yes" >&5
23108
echo "${ECHO_T}yes" >&6; }
23109
GNOME_14="1";echo "yes"
23115
cat >>confdefs.h <<_ACEOF
23116
#define GNOME_14 ${GNOME_14}
23123
{ echo "$as_me:$LINENO: checking for GSTREAMER" >&5
23124
echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; }
23126
if test -n "$PKG_CONFIG"; then
23127
if test -n "$GSTREAMER_CFLAGS"; then
23128
pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
23130
if test -n "$PKG_CONFIG" && \
23131
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
23132
($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
23134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135
(exit $ac_status); }; then
23136
pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
23144
if test -n "$PKG_CONFIG"; then
23145
if test -n "$GSTREAMER_LIBS"; then
23146
pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
23148
if test -n "$PKG_CONFIG" && \
23149
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
23150
($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
23152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153
(exit $ac_status); }; then
23154
pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
23165
if test $pkg_failed = yes; then
23167
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23168
_pkg_short_errors_supported=yes
23170
_pkg_short_errors_supported=no
23172
if test $_pkg_short_errors_supported = yes; then
23173
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
23175
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
23177
# Put the nasty error message in config.log where it belongs
23178
echo "$GSTREAMER_PKG_ERRORS" >&5
23180
{ { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
23182
$GSTREAMER_PKG_ERRORS
23184
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23185
installed software in a non-standard prefix.
23187
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23188
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23189
See the pkg-config man page for more details.
23191
echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
23193
$GSTREAMER_PKG_ERRORS
23195
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23196
installed software in a non-standard prefix.
23198
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23199
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23200
See the pkg-config man page for more details.
23202
{ (exit 1); exit 1; }; }
23203
elif test $pkg_failed = untried; then
23204
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23205
is in your PATH or set the PKG_CONFIG environment variable to the full
23206
path to pkg-config.
23208
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23209
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23210
See the pkg-config man page for more details.
23212
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23213
See \`config.log' for more details." >&5
23214
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23215
is in your PATH or set the PKG_CONFIG environment variable to the full
23216
path to pkg-config.
23218
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23219
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23220
See the pkg-config man page for more details.
23222
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23223
See \`config.log' for more details." >&2;}
23224
{ (exit 1); exit 1; }; }
23226
GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
23227
GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
23228
{ echo "$as_me:$LINENO: result: yes" >&5
23229
echo "${ECHO_T}yes" >&6; }
23236
gdu_cv_version_required=0.3.2
23238
if test -n "$PKG_CONFIG" && \
23239
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
23240
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
23242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243
(exit $ac_status); }; then
23244
gdu_cv_have_gdu=yes
23249
if test "$gdu_cv_have_gdu" = "yes"; then
23252
{ { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
23253
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
23254
{ (exit 1); exit 1; }; }
23259
# Check whether --with-help-dir was given.
23260
if test "${with_help_dir+set}" = set; then
23261
withval=$with_help_dir;
23263
with_help_dir='${datadir}/gnome/help'
23266
HELP_DIR="$with_help_dir"
23270
# Check whether --with-omf-dir was given.
23271
if test "${with_omf_dir+set}" = set; then
23272
withval=$with_omf_dir;
23274
with_omf_dir='${datadir}/omf'
23277
OMF_DIR="$with_omf_dir"
23281
# Check whether --with-help-formats was given.
23282
if test "${with_help_formats+set}" = set; then
23283
withval=$with_help_formats;
23285
with_help_formats=''
23288
DOC_USER_FORMATS="$with_help_formats"
23291
# Check whether --enable-scrollkeeper was given.
23292
if test "${enable_scrollkeeper+set}" = set; then
23293
enableval=$enable_scrollkeeper;
23295
enable_scrollkeeper=yes
23300
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
23302
ENABLE_SK_FALSE='#'
23309
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
23314
if test "$gdu_cv_have_gdu" = "yes"; then
23315
HAVE_GNOME_DOC_UTILS_TRUE=
23316
HAVE_GNOME_DOC_UTILS_FALSE='#'
23318
HAVE_GNOME_DOC_UTILS_TRUE='#'
23319
HAVE_GNOME_DOC_UTILS_FALSE=
23325
# Extract the first word of "gconftool-2", so it can be a program name with args.
23326
set dummy gconftool-2; ac_word=$2
23327
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23328
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23329
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
23330
echo $ECHO_N "(cached) $ECHO_C" >&6
23334
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
23337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23338
for as_dir in $PATH
23341
test -z "$as_dir" && as_dir=.
23342
for ac_exec_ext in '' $ac_executable_extensions; do
23343
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23344
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
23345
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23352
test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
23356
GCONFTOOL=$ac_cv_path_GCONFTOOL
23357
if test -n "$GCONFTOOL"; then
23358
{ echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
23359
echo "${ECHO_T}$GCONFTOOL" >&6; }
23361
{ echo "$as_me:$LINENO: result: no" >&5
23362
echo "${ECHO_T}no" >&6; }
23367
if test x"$GCONFTOOL" = xno; then
23368
{ { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
23369
echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
23370
{ (exit 1); exit 1; }; }
23374
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
23375
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
23377
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
23381
# Check whether --with-gconf-source was given.
23382
if test "${with_gconf_source+set}" = set; then
23383
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
23388
{ echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
23389
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
23391
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
23392
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
23396
# Check whether --with-gconf-schema-file-dir was given.
23397
if test "${with_gconf_schema_file_dir+set}" = set; then
23398
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
23403
{ echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
23404
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
23406
# Check whether --enable-schemas-install was given.
23407
if test "${enable_schemas_install+set}" = set; then
23408
enableval=$enable_schemas_install; case ${enableval} in
23410
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
23411
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
23412
{ (exit 1); exit 1; }; } ;;
23418
if test "$enable_schemas_install" != no; then
23419
GCONF_SCHEMAS_INSTALL_TRUE=
23420
GCONF_SCHEMAS_INSTALL_FALSE='#'
23422
GCONF_SCHEMAS_INSTALL_TRUE='#'
23423
GCONF_SCHEMAS_INSTALL_FALSE=
23429
if test "$enable_lirc" != "no"; then
23430
{ echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
23431
echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6; }
23432
if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
23433
echo $ECHO_N "(cached) $ECHO_C" >&6
23435
ac_check_lib_save_LIBS=$LIBS
23436
LIBS="-llirc_client $LIBS"
23437
cat >conftest.$ac_ext <<_ACEOF
23440
cat confdefs.h >>conftest.$ac_ext
23441
cat >>conftest.$ac_ext <<_ACEOF
23442
/* end confdefs.h. */
23444
/* Override any GCC internal prototype to avoid an error.
23445
Use char because int might match the return type of a GCC
23446
builtin and then its argument prototype would still apply. */
23454
return lirc_init ();
23459
rm -f conftest.$ac_objext conftest$ac_exeext
23460
if { (ac_try="$ac_link"
23461
case "(($ac_try" in
23462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23463
*) ac_try_echo=$ac_try;;
23465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466
(eval "$ac_link") 2>conftest.er1
23468
grep -v '^ *+' conftest.er1 >conftest.err
23470
cat conftest.err >&5
23471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472
(exit $ac_status); } && {
23473
test -z "$ac_c_werror_flag" ||
23474
test ! -s conftest.err
23475
} && test -s conftest$ac_exeext &&
23476
$as_test_x conftest$ac_exeext; then
23477
ac_cv_lib_lirc_client_lirc_init=yes
23479
echo "$as_me: failed program was:" >&5
23480
sed 's/^/| /' conftest.$ac_ext >&5
23482
ac_cv_lib_lirc_client_lirc_init=no
23485
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23486
conftest$ac_exeext conftest.$ac_ext
23487
LIBS=$ac_check_lib_save_LIBS
23489
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
23490
echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6; }
23491
if test $ac_cv_lib_lirc_client_lirc_init = yes; then
23493
cat >>confdefs.h <<\_ACEOF
23494
#define HAVE_LIRC 1
23496
LIRC="-llirc_client"
23500
echo "*** lirc disabled"
23503
# Check whether --enable-install_schemas was given.
23504
if test "${enable_install_schemas+set}" = set; then
23505
enableval=$enable_install_schemas;
23510
if test x$enable_install_schemas != xno; then
23511
INSTALL_SCHEMAS_TRUE=
23512
INSTALL_SCHEMAS_FALSE='#'
23514
INSTALL_SCHEMAS_TRUE='#'
23515
INSTALL_SCHEMAS_FALSE=
23519
ac_config_files="$ac_config_files gnomeradio.spec Makefile src/Makefile po/Makefile.in data/Makefile data/pixmaps/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile help/Makefile"
23521
cat >confcache <<\_ACEOF
23522
# This file is a shell script that caches the results of configure
23523
# tests run on this system so they can be shared between configure
23524
# scripts and configure runs, see configure's option --config-cache.
23525
# It is not useful on other systems. If it contains results you don't
23526
# want to keep, you may remove or edit it.
23528
# config.status only pays attention to the cache file if you give it
23529
# the --recheck option to rerun configure.
23531
# `ac_cv_env_foo' variables (set or unset) will be overridden when
23532
# loading this file, other *unset* `ac_cv_foo' will be assigned the
23533
# following values.
23537
# The following way of writing the cache mishandles newlines in values,
23538
# but we know of no workaround that is simple, portable, and efficient.
23539
# So, we kill variables containing newlines.
23540
# Ultrix sh set writes to stderr and can't be redirected directly,
23541
# and sets the high bit in the cache file unless we assign to the vars.
23543
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23544
eval ac_val=\$$ac_var
23548
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23549
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23552
_ | IFS | as_nl) ;; #(
23553
*) $as_unset $ac_var ;;
23559
case $as_nl`(ac_space=' '; set) 2>&1` in #(
23560
*${as_nl}ac_space=\ *)
23561
# `set' does not quote correctly, so add quotes (double-quote
23562
# substitution turns \\\\ into \\, and sed turns \\ into \).
23565
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23568
# `set' quotes correctly as required by POSIX, so do not add quotes.
23569
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23578
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23580
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23582
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23583
if test -w "$cache_file"; then
23584
test "x$cache_file" != "x/dev/null" &&
23585
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
23586
echo "$as_me: updating cache $cache_file" >&6;}
23587
cat confcache >$cache_file
23589
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23590
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23595
test "x$prefix" = xNONE && prefix=$ac_default_prefix
23596
# Let make expand exec_prefix.
23597
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23599
DEFS=-DHAVE_CONFIG_H
23603
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23604
# 1. Remove the extension, and $U if already installed.
23605
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23606
ac_i=`echo "$ac_i" | sed "$ac_script"`
23607
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23608
# will be set to the directory where LIBOBJS objects are built.
23609
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23610
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23612
LIBOBJS=$ac_libobjs
23614
LTLIBOBJS=$ac_ltlibobjs
23617
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23618
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23619
Usually this means the macro was only invoked conditionally." >&5
23620
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23621
Usually this means the macro was only invoked conditionally." >&2;}
23622
{ (exit 1); exit 1; }; }
23624
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23625
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23626
Usually this means the macro was only invoked conditionally." >&5
23627
echo "$as_me: error: conditional \"AMDEP\" was never defined.
23628
Usually this means the macro was only invoked conditionally." >&2;}
23629
{ (exit 1); exit 1; }; }
23631
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23632
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23633
Usually this means the macro was only invoked conditionally." >&5
23634
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23635
Usually this means the macro was only invoked conditionally." >&2;}
23636
{ (exit 1); exit 1; }; }
23639
ac_config_commands="$ac_config_commands po/stamp-it"
23642
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23643
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23644
Usually this means the macro was only invoked conditionally." >&5
23645
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23646
Usually this means the macro was only invoked conditionally." >&2;}
23647
{ (exit 1); exit 1; }; }
23649
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23650
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23651
Usually this means the macro was only invoked conditionally." >&5
23652
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23653
Usually this means the macro was only invoked conditionally." >&2;}
23654
{ (exit 1); exit 1; }; }
23656
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
23657
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
23658
Usually this means the macro was only invoked conditionally." >&5
23659
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
23660
Usually this means the macro was only invoked conditionally." >&2;}
23661
{ (exit 1); exit 1; }; }
23663
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
23664
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23665
Usually this means the macro was only invoked conditionally." >&5
23666
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23667
Usually this means the macro was only invoked conditionally." >&2;}
23668
{ (exit 1); exit 1; }; }
23670
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
23671
{ { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
23672
Usually this means the macro was only invoked conditionally." >&5
23673
echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
23674
Usually this means the macro was only invoked conditionally." >&2;}
23675
{ (exit 1); exit 1; }; }
23677
if test -z "${INSTALL_SCHEMAS_TRUE}" && test -z "${INSTALL_SCHEMAS_FALSE}"; then
23678
{ { echo "$as_me:$LINENO: error: conditional \"INSTALL_SCHEMAS\" was never defined.
23679
Usually this means the macro was only invoked conditionally." >&5
23680
echo "$as_me: error: conditional \"INSTALL_SCHEMAS\" was never defined.
23681
Usually this means the macro was only invoked conditionally." >&2;}
23682
{ (exit 1); exit 1; }; }
23685
: ${CONFIG_STATUS=./config.status}
23686
ac_clean_files_save=$ac_clean_files
23687
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23688
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23689
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23690
cat >$CONFIG_STATUS <<_ACEOF
23692
# Generated by $as_me.
23693
# Run this file to recreate the current configuration.
23694
# Compiler output produced by configure, useful for debugging
23695
# configure, is in config.log if it exists.
23698
ac_cs_recheck=false
23700
SHELL=\${CONFIG_SHELL-$SHELL}
23703
cat >>$CONFIG_STATUS <<\_ACEOF
23704
## --------------------- ##
23705
## M4sh Initialization. ##
23706
## --------------------- ##
23708
# Be more Bourne compatible
23709
DUALCASE=1; export DUALCASE # for MKS sh
23710
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23713
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23714
# is contrary to our usage. Disable this feature.
23715
alias -g '${1+"$@"}'='"$@"'
23716
setopt NO_GLOB_SUBST
23718
case `(set -o) 2>/dev/null` in
23719
*posix*) set -o posix ;;
23728
# Avoid depending upon Character Ranges.
23729
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23730
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23731
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23732
as_cr_digits='0123456789'
23733
as_cr_alnum=$as_cr_Letters$as_cr_digits
23735
# The user is always right.
23736
if test "${PATH_SEPARATOR+set}" != set; then
23737
echo "#! /bin/sh" >conf$$.sh
23738
echo "exit 0" >>conf$$.sh
23740
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23748
# Support unset when possible.
23749
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23757
# We need space, tab and new line, in precisely that order. Quoting is
23758
# there to prevent editors from complaining about space-tab.
23759
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23760
# splitting by setting IFS to empty value.)
23765
# Find who we are. Look in the path if we contain no directory separator.
23767
*[\\/]* ) as_myself=$0 ;;
23768
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23769
for as_dir in $PATH
23772
test -z "$as_dir" && as_dir=.
23773
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23779
# We did not find ourselves, most probably we were run as `sh COMMAND'
23780
# in which case we are not to be found in the path.
23781
if test "x$as_myself" = x; then
23784
if test ! -f "$as_myself"; then
23785
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23786
{ (exit 1); exit 1; }
23789
# Work around bugs in pre-3.0 UWIN ksh.
23790
for as_var in ENV MAIL MAILPATH
23791
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23799
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23800
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23801
LC_TELEPHONE LC_TIME
23803
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23804
eval $as_var=C; export $as_var
23806
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23810
# Required to use basename.
23811
if expr a : '\(a\)' >/dev/null 2>&1 &&
23812
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23818
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23819
as_basename=basename
23825
# Name of the executable.
23826
as_me=`$as_basename -- "$0" ||
23827
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23828
X"$0" : 'X\(//\)$' \| \
23829
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23831
sed '/^.*\/\([^/][^/]*\)\/*$/{
23850
as_lineno_1=$LINENO
23851
as_lineno_2=$LINENO
23852
test "x$as_lineno_1" != "x$as_lineno_2" &&
23853
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23855
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23856
# uniformly replaced by the line number. The first 'sed' inserts a
23857
# line-number line after each line using $LINENO; the second 'sed'
23858
# does the real work. The second script uses 'N' to pair each
23859
# line-number line with the line containing $LINENO, and appends
23860
# trailing '-' during substitution so that $LINENO is not a special
23861
# case at line end.
23862
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23863
# scripts with optimization help from Paolo Bonzini. Blame Lee
23864
# E. McMahon (1931-1989) for sed's syntax. :-)
23876
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23879
' >$as_me.lineno &&
23880
chmod +x "$as_me.lineno" ||
23881
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23882
{ (exit 1); exit 1; }; }
23884
# Don't try to exec as it changes $[0], causing all sort of problems
23885
# (the dirname of $[0] is not the place where we might find the
23886
# original and so on. Autoconf is especially sensitive to this).
23887
. "./$as_me.lineno"
23888
# Exit status is that of the last command.
23893
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23899
ECHO_C= ECHO_N= ECHO_T=
23900
case `echo -n x` in
23902
case `echo 'x\c'` in
23903
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
23910
if expr a : '\(a\)' >/dev/null 2>&1 &&
23911
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23917
rm -f conf$$ conf$$.exe conf$$.file
23918
if test -d conf$$.dir; then
23919
rm -f conf$$.dir/conf$$.file
23925
if ln -s conf$$.file conf$$ 2>/dev/null; then
23927
# ... but there are two gotchas:
23928
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23929
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23930
# In both cases, we have to default to `cp -p'.
23931
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23933
elif ln conf$$.file conf$$ 2>/dev/null; then
23938
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23939
rmdir conf$$.dir 2>/dev/null
23941
if mkdir -p . 2>/dev/null; then
23944
test -d ./-p && rmdir ./-p
23948
if test -x / >/dev/null 2>&1; then
23949
as_test_x='test -x'
23951
if ls -dL / >/dev/null 2>&1; then
23958
if test -d "$1"; then
23964
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23965
???[sx]*):;;*)false;;esac;fi
23969
as_executable_p=$as_test_x
23971
# Sed expression to map a string onto a valid CPP name.
23972
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23974
# Sed expression to map a string onto a valid variable name.
23975
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23980
# Save the log message, to keep $[0] and so on meaningful, and to
23981
# report actual input values of CONFIG_FILES etc. instead of their
23982
# values after options handling.
23984
This file was extended by gnomeradio $as_me 1.8, which was
23985
generated by GNU Autoconf 2.61. Invocation command line was
23987
CONFIG_FILES = $CONFIG_FILES
23988
CONFIG_HEADERS = $CONFIG_HEADERS
23989
CONFIG_LINKS = $CONFIG_LINKS
23990
CONFIG_COMMANDS = $CONFIG_COMMANDS
23993
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23998
cat >>$CONFIG_STATUS <<_ACEOF
23999
# Files that config.status was made for.
24000
config_files="$ac_config_files"
24001
config_headers="$ac_config_headers"
24002
config_commands="$ac_config_commands"
24006
cat >>$CONFIG_STATUS <<\_ACEOF
24008
\`$as_me' instantiates files from templates according to the
24009
current configuration.
24011
Usage: $0 [OPTIONS] [FILE]...
24013
-h, --help print this help, then exit
24014
-V, --version print version number and configuration settings, then exit
24015
-q, --quiet do not print progress messages
24016
-d, --debug don't remove temporary files
24017
--recheck update $as_me by reconfiguring in the same conditions
24018
--file=FILE[:TEMPLATE]
24019
instantiate the configuration file FILE
24020
--header=FILE[:TEMPLATE]
24021
instantiate the configuration header FILE
24023
Configuration files:
24026
Configuration headers:
24029
Configuration commands:
24032
Report bugs to <bug-autoconf@gnu.org>."
24035
cat >>$CONFIG_STATUS <<_ACEOF
24037
gnomeradio config.status 1.8
24038
configured by $0, generated by GNU Autoconf 2.61,
24039
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24041
Copyright (C) 2006 Free Software Foundation, Inc.
24042
This config.status script is free software; the Free Software Foundation
24043
gives unlimited permission to copy, distribute and modify it."
24050
cat >>$CONFIG_STATUS <<\_ACEOF
24051
# If no file are specified by the user, then we need to provide default
24052
# value. By we need to know if files were specified by the user.
24058
ac_option=`expr "X$1" : 'X\([^=]*\)='`
24059
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24070
# Handling of the options.
24071
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24073
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24074
echo "$ac_cs_version"; exit ;;
24075
--debug | --debu | --deb | --de | --d | -d )
24077
--file | --fil | --fi | --f )
24079
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24080
ac_need_defaults=false;;
24081
--header | --heade | --head | --hea )
24083
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24084
ac_need_defaults=false;;
24086
# Conflict between --help and --header
24087
{ echo "$as_me: error: ambiguous option: $1
24088
Try \`$0 --help' for more information." >&2
24089
{ (exit 1); exit 1; }; };;
24090
--help | --hel | -h )
24091
echo "$ac_cs_usage"; exit ;;
24092
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
24093
| -silent | --silent | --silen | --sile | --sil | --si | --s)
24096
# This is an error.
24097
-*) { echo "$as_me: error: unrecognized option: $1
24098
Try \`$0 --help' for more information." >&2
24099
{ (exit 1); exit 1; }; } ;;
24101
*) ac_config_targets="$ac_config_targets $1"
24102
ac_need_defaults=false ;;
24108
ac_configure_extra_args=
24110
if $ac_cs_silent; then
24112
ac_configure_extra_args="$ac_configure_extra_args --silent"
24116
cat >>$CONFIG_STATUS <<_ACEOF
24117
if \$ac_cs_recheck; then
24118
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24119
CONFIG_SHELL=$SHELL
24120
export CONFIG_SHELL
24121
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24125
cat >>$CONFIG_STATUS <<\_ACEOF
24129
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24130
## Running $as_me. ##
24136
cat >>$CONFIG_STATUS <<_ACEOF
24140
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24141
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
24142
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
24143
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
24148
cat >>$CONFIG_STATUS <<\_ACEOF
24150
# Handling of arguments.
24151
for ac_config_target in $ac_config_targets
24153
case $ac_config_target in
24154
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24155
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24156
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
24157
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24158
"gnomeradio.spec") CONFIG_FILES="$CONFIG_FILES gnomeradio.spec" ;;
24159
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24160
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24161
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24162
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
24163
"data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
24164
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
24165
"data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
24166
"data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
24167
"data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
24168
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
24169
"data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
24170
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
24171
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
24172
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24174
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24175
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24176
{ (exit 1); exit 1; }; };;
24181
# If the user did not use the arguments to specify the items to instantiate,
24182
# then the envvar interface is used. Set only those that are not.
24183
# We use the long form for the default assignment because of an extremely
24184
# bizarre bug on SunOS 4.1.3.
24185
if $ac_need_defaults; then
24186
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24187
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24188
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24191
# Have a temporary directory for convenience. Make it in the build tree
24192
# simply because there is no reason against having it here, and in addition,
24193
# creating and moving files from /tmp can sometimes cause problems.
24194
# Hook for its removal unless debugging.
24195
# Note that there is a small window in which the directory will not be cleaned:
24196
# after its creation but before its name has been assigned to `$tmp'.
24200
trap 'exit_status=$?
24201
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24203
trap '{ (exit 1); exit 1; }' 1 2 13 15
24205
# Create a (secure) tmp directory for tmp files.
24208
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24209
test -n "$tmp" && test -d "$tmp"
24212
tmp=./conf$$-$RANDOM
24213
(umask 077 && mkdir "$tmp")
24216
echo "$me: cannot create a temporary directory in ." >&2
24217
{ (exit 1); exit 1; }
24221
# Set up the sed scripts for CONFIG_FILES section.
24224
# No need to generate the scripts if there are no CONFIG_FILES.
24225
# This happens for instance when ./config.status config.h
24226
if test -n "$CONFIG_FILES"; then
24233
for ac_last_try in false false false false false :; do
24234
cat >conf$$subs.sed <<_ACEOF
24235
SHELL!$SHELL$ac_delim
24236
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24237
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24238
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24239
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24240
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24241
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24242
exec_prefix!$exec_prefix$ac_delim
24243
prefix!$prefix$ac_delim
24244
program_transform_name!$program_transform_name$ac_delim
24245
bindir!$bindir$ac_delim
24246
sbindir!$sbindir$ac_delim
24247
libexecdir!$libexecdir$ac_delim
24248
datarootdir!$datarootdir$ac_delim
24249
datadir!$datadir$ac_delim
24250
sysconfdir!$sysconfdir$ac_delim
24251
sharedstatedir!$sharedstatedir$ac_delim
24252
localstatedir!$localstatedir$ac_delim
24253
includedir!$includedir$ac_delim
24254
oldincludedir!$oldincludedir$ac_delim
24255
docdir!$docdir$ac_delim
24256
infodir!$infodir$ac_delim
24257
htmldir!$htmldir$ac_delim
24258
dvidir!$dvidir$ac_delim
24259
pdfdir!$pdfdir$ac_delim
24260
psdir!$psdir$ac_delim
24261
libdir!$libdir$ac_delim
24262
localedir!$localedir$ac_delim
24263
mandir!$mandir$ac_delim
24264
DEFS!$DEFS$ac_delim
24265
ECHO_C!$ECHO_C$ac_delim
24266
ECHO_N!$ECHO_N$ac_delim
24267
ECHO_T!$ECHO_T$ac_delim
24268
LIBS!$LIBS$ac_delim
24269
build_alias!$build_alias$ac_delim
24270
host_alias!$host_alias$ac_delim
24271
target_alias!$target_alias$ac_delim
24272
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24273
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24274
INSTALL_DATA!$INSTALL_DATA$ac_delim
24275
CYGPATH_W!$CYGPATH_W$ac_delim
24276
PACKAGE!$PACKAGE$ac_delim
24277
VERSION!$VERSION$ac_delim
24278
ACLOCAL!$ACLOCAL$ac_delim
24279
AUTOCONF!$AUTOCONF$ac_delim
24280
AUTOMAKE!$AUTOMAKE$ac_delim
24281
AUTOHEADER!$AUTOHEADER$ac_delim
24282
MAKEINFO!$MAKEINFO$ac_delim
24283
install_sh!$install_sh$ac_delim
24284
STRIP!$STRIP$ac_delim
24285
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24286
mkdir_p!$mkdir_p$ac_delim
24288
SET_MAKE!$SET_MAKE$ac_delim
24289
am__leading_dot!$am__leading_dot$ac_delim
24290
AMTAR!$AMTAR$ac_delim
24291
am__tar!$am__tar$ac_delim
24292
am__untar!$am__untar$ac_delim
24293
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
24294
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
24295
MAINT!$MAINT$ac_delim
24296
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24297
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24298
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24299
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24300
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24301
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24302
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24303
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24304
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24305
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24306
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24307
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24308
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24309
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24310
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24311
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24312
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24313
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24314
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24315
XGETTEXT!$XGETTEXT$ac_delim
24316
MSGMERGE!$MSGMERGE$ac_delim
24317
MSGFMT!$MSGFMT$ac_delim
24318
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24319
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24320
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24321
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24322
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24324
CFLAGS!$CFLAGS$ac_delim
24325
LDFLAGS!$LDFLAGS$ac_delim
24326
CPPFLAGS!$CPPFLAGS$ac_delim
24327
ac_ct_CC!$ac_ct_CC$ac_delim
24328
EXEEXT!$EXEEXT$ac_delim
24329
OBJEXT!$OBJEXT$ac_delim
24330
DEPDIR!$DEPDIR$ac_delim
24331
am__include!$am__include$ac_delim
24334
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24336
elif $ac_last_try; then
24337
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24338
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24339
{ (exit 1); exit 1; }; }
24341
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24345
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24346
if test -n "$ac_eof"; then
24347
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24348
ac_eof=`expr $ac_eof + 1`
24351
cat >>$CONFIG_STATUS <<_ACEOF
24352
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24353
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24356
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24357
s/^/s,@/; s/!/@,|#_!!_#|/
24360
s/'"$ac_delim"'$/,g/; t
24362
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24363
' >>$CONFIG_STATUS <conf$$subs.sed
24364
rm -f conf$$subs.sed
24365
cat >>$CONFIG_STATUS <<_ACEOF
24371
for ac_last_try in false false false false false :; do
24372
cat >conf$$subs.sed <<_ACEOF
24373
am__quote!$am__quote$ac_delim
24374
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24375
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24376
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24377
CCDEPMODE!$CCDEPMODE$ac_delim
24378
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24379
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24380
DATADIRNAME!$DATADIRNAME$ac_delim
24381
build!$build$ac_delim
24382
build_cpu!$build_cpu$ac_delim
24383
build_vendor!$build_vendor$ac_delim
24384
build_os!$build_os$ac_delim
24385
host!$host$ac_delim
24386
host_cpu!$host_cpu$ac_delim
24387
host_vendor!$host_vendor$ac_delim
24388
host_os!$host_os$ac_delim
24390
GREP!$GREP$ac_delim
24391
EGREP!$EGREP$ac_delim
24392
LN_S!$LN_S$ac_delim
24393
ECHO!$ECHO$ac_delim
24395
RANLIB!$RANLIB$ac_delim
24396
DSYMUTIL!$DSYMUTIL$ac_delim
24397
NMEDIT!$NMEDIT$ac_delim
24400
CXXFLAGS!$CXXFLAGS$ac_delim
24401
ac_ct_CXX!$ac_ct_CXX$ac_delim
24402
CXXDEPMODE!$CXXDEPMODE$ac_delim
24403
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24404
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24405
CXXCPP!$CXXCPP$ac_delim
24407
FFLAGS!$FFLAGS$ac_delim
24408
ac_ct_F77!$ac_ct_F77$ac_delim
24409
LIBTOOL!$LIBTOOL$ac_delim
24410
USE_NLS!$USE_NLS$ac_delim
24411
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24412
GMSGFMT!$GMSGFMT$ac_delim
24413
CATALOGS!$CATALOGS$ac_delim
24414
CATOBJEXT!$CATOBJEXT$ac_delim
24415
GMOFILES!$GMOFILES$ac_delim
24416
INSTOBJEXT!$INSTOBJEXT$ac_delim
24417
INTLLIBS!$INTLLIBS$ac_delim
24418
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24419
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24420
POFILES!$POFILES$ac_delim
24421
POSUB!$POSUB$ac_delim
24422
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24423
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24424
PKG_CONFIG!$PKG_CONFIG$ac_delim
24425
GNOME_CFLAGS!$GNOME_CFLAGS$ac_delim
24426
GNOME_LIBS!$GNOME_LIBS$ac_delim
24427
GNOME14_CFLAGS!$GNOME14_CFLAGS$ac_delim
24428
GNOME14_LIBS!$GNOME14_LIBS$ac_delim
24429
GNOME_14!$GNOME_14$ac_delim
24430
LIRC!$LIRC$ac_delim
24431
GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim
24432
GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim
24433
HELP_DIR!$HELP_DIR$ac_delim
24434
OMF_DIR!$OMF_DIR$ac_delim
24435
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
24436
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
24437
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
24438
DISTCHECK_CONFIGURE_FLAGS!$DISTCHECK_CONFIGURE_FLAGS$ac_delim
24439
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
24440
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
24441
GCONFTOOL!$GCONFTOOL$ac_delim
24442
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
24443
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
24444
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
24445
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
24446
INSTALL_SCHEMAS_TRUE!$INSTALL_SCHEMAS_TRUE$ac_delim
24447
INSTALL_SCHEMAS_FALSE!$INSTALL_SCHEMAS_FALSE$ac_delim
24448
LIBOBJS!$LIBOBJS$ac_delim
24449
LTLIBOBJS!$LTLIBOBJS$ac_delim
24452
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
24454
elif $ac_last_try; then
24455
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24456
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24457
{ (exit 1); exit 1; }; }
24459
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24463
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24464
if test -n "$ac_eof"; then
24465
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24466
ac_eof=`expr $ac_eof + 1`
24469
cat >>$CONFIG_STATUS <<_ACEOF
24470
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24471
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24474
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24475
s/^/s,@/; s/!/@,|#_!!_#|/
24478
s/'"$ac_delim"'$/,g/; t
24480
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24481
' >>$CONFIG_STATUS <conf$$subs.sed
24482
rm -f conf$$subs.sed
24483
cat >>$CONFIG_STATUS <<_ACEOF
24490
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24491
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24492
# trailing colons and then remove the whole line if VPATH becomes empty
24493
# (actually we leave an empty line to preserve line numbers).
24494
if test "x$srcdir" = x.; then
24495
ac_vpsub='/^[ ]*VPATH[ ]*=/{
24496
s/:*\$(srcdir):*/:/
24497
s/:*\${srcdir}:*/:/
24499
s/^\([^=]*=[ ]*\):*/\1/
24505
cat >>$CONFIG_STATUS <<\_ACEOF
24506
fi # test -n "$CONFIG_FILES"
24509
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24512
:[FHLC]) ac_mode=$ac_tag; continue;;
24514
case $ac_mode$ac_tag in
24516
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24517
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24518
{ (exit 1); exit 1; }; };;
24519
:[FH]-) ac_tag=-:-;;
24520
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24537
-) ac_f="$tmp/stdin";;
24538
*) # Look for the file first in the build tree, then in the source tree
24539
# (if the path is not absolute). The absolute path cannot be DOS-style,
24540
# because $ac_f cannot contain `:'.
24544
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24546
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24547
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24548
{ (exit 1); exit 1; }; };;
24550
ac_file_inputs="$ac_file_inputs $ac_f"
24553
# Let's still pretend it is `configure' which instantiates (i.e., don't
24554
# use $as_me), people would be surprised to read:
24555
# /* config.h. Generated by config.status. */
24556
configure_input="Generated from "`IFS=:
24557
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24558
if test x"$ac_file" != x-; then
24559
configure_input="$ac_file. $configure_input"
24560
{ echo "$as_me:$LINENO: creating $ac_file" >&5
24561
echo "$as_me: creating $ac_file" >&6;}
24565
*:-:* | *:-) cat >"$tmp/stdin";;
24570
ac_dir=`$as_dirname -- "$ac_file" ||
24571
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24572
X"$ac_file" : 'X\(//\)[^/]' \| \
24573
X"$ac_file" : 'X\(//\)$' \| \
24574
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24576
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24580
/^X\(\/\/\)[^/].*/{
24595
-*) as_dir=./$as_dir;;
24597
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24601
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24602
*) as_qdir=$as_dir;;
24604
as_dirs="'$as_qdir' $as_dirs"
24605
as_dir=`$as_dirname -- "$as_dir" ||
24606
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24607
X"$as_dir" : 'X\(//\)[^/]' \| \
24608
X"$as_dir" : 'X\(//\)$' \| \
24609
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24611
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24615
/^X\(\/\/\)[^/].*/{
24628
test -d "$as_dir" && break
24630
test -z "$as_dirs" || eval "mkdir $as_dirs"
24631
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24632
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24633
{ (exit 1); exit 1; }; }; }
24637
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24639
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24640
# A ".." for each directory in $ac_dir_suffix.
24641
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24642
case $ac_top_builddir_sub in
24643
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24644
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24647
ac_abs_top_builddir=$ac_pwd
24648
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24649
# for backward compatibility:
24650
ac_top_builddir=$ac_top_build_prefix
24653
.) # We are building in place.
24655
ac_top_srcdir=$ac_top_builddir_sub
24656
ac_abs_top_srcdir=$ac_pwd ;;
24657
[\\/]* | ?:[\\/]* ) # Absolute name.
24658
ac_srcdir=$srcdir$ac_dir_suffix;
24659
ac_top_srcdir=$srcdir
24660
ac_abs_top_srcdir=$srcdir ;;
24661
*) # Relative name.
24662
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24663
ac_top_srcdir=$ac_top_build_prefix$srcdir
24664
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24666
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24676
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24677
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24681
cat >>$CONFIG_STATUS <<\_ACEOF
24682
# If the template does not know about datarootdir, expand it.
24683
# FIXME: This hack should be removed a few years after 2.60.
24684
ac_datarootdir_hack=; ac_datarootdir_seen=
24686
case `sed -n '/datarootdir/ {
24695
' $ac_file_inputs` in
24696
*datarootdir*) ac_datarootdir_seen=yes;;
24697
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24698
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24699
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24701
cat >>$CONFIG_STATUS <<_ACEOF
24702
ac_datarootdir_hack='
24703
s&@datadir@&$datadir&g
24704
s&@docdir@&$docdir&g
24705
s&@infodir@&$infodir&g
24706
s&@localedir@&$localedir&g
24707
s&@mandir@&$mandir&g
24708
s&\\\${datarootdir}&$datarootdir&g' ;;
24712
# Neutralize VPATH when `$srcdir' = `.'.
24713
# Shell code in configure.ac might set extrasub.
24714
# FIXME: do we really want to maintain this feature?
24715
cat >>$CONFIG_STATUS <<_ACEOF
24719
cat >>$CONFIG_STATUS <<\_ACEOF
24721
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24722
s&@configure_input@&$configure_input&;t t
24723
s&@top_builddir@&$ac_top_builddir_sub&;t t
24724
s&@srcdir@&$ac_srcdir&;t t
24725
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24726
s&@top_srcdir@&$ac_top_srcdir&;t t
24727
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24728
s&@builddir@&$ac_builddir&;t t
24729
s&@abs_builddir@&$ac_abs_builddir&;t t
24730
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24731
s&@INSTALL@&$ac_INSTALL&;t t
24732
$ac_datarootdir_hack
24733
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24735
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24736
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24737
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24738
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24739
which seems to be undefined. Please make sure it is defined." >&5
24740
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24741
which seems to be undefined. Please make sure it is defined." >&2;}
24745
-) cat "$tmp/out"; rm -f "$tmp/out";;
24746
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24755
# Transform confdefs.h into a sed script `conftest.defines', that
24756
# substitutes the proper values into config.h.in to produce config.h.
24757
rm -f conftest.defines conftest.tail
24758
# First, append a space to every undef/define line, to ease matching.
24759
echo 's/$/ /' >conftest.defines
24760
# Then, protect against being on the right side of a sed subst, or in
24761
# an unquoted here document, in config.status. If some macros were
24762
# called several times there might be several #defines for the same
24763
# symbol, which is useless. But do not sort them, since the last
24764
# AC_DEFINE must be honored.
24765
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24766
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24767
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24768
# PARAMS is the parameter list in the macro definition--in most cases, it's
24769
# just an empty string.
24770
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24771
ac_dB='\\)[ (].*,\\1define\\2'
24779
s/^[ ]*#[ ]*define[ ][ ]*//
24784
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24785
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24786
' >>conftest.defines
24788
# Remove the space that was appended to ease matching.
24789
# Then replace #undef with comments. This is necessary, for
24790
# example, in the case of _POSIX_SOURCE, which is predefined and required
24791
# on some systems where configure will not decide to define it.
24792
# (The regexp can be short, since the line contains either #define or #undef.)
24794
s,^[ #]*u.*,/* & */,' >>conftest.defines
24796
# Break up conftest.defines:
24797
ac_max_sed_lines=50
24799
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24800
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24801
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24803
ac_in='$ac_file_inputs'
24804
ac_out='"$tmp/out1"'
24805
ac_nxt='"$tmp/out2"'
24809
# Write a here document:
24810
cat >>$CONFIG_STATUS <<_ACEOF
24811
# First, check the format of the line:
24812
cat >"\$tmp/defines.sed" <<\\CEOF
24813
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24814
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24818
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24820
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24821
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24822
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24823
grep . conftest.tail >/dev/null || break
24824
rm -f conftest.defines
24825
mv conftest.tail conftest.defines
24827
rm -f conftest.defines conftest.tail
24829
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24830
cat >>$CONFIG_STATUS <<\_ACEOF
24831
if test x"$ac_file" != x-; then
24832
echo "/* $configure_input */" >"$tmp/config.h"
24833
cat "$ac_result" >>"$tmp/config.h"
24834
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24835
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24836
echo "$as_me: $ac_file is unchanged" >&6;}
24839
mv "$tmp/config.h" $ac_file
24842
echo "/* $configure_input */"
24846
# Compute $ac_file's index in $config_headers.
24848
for _am_header in $config_headers :; do
24849
case $_am_header in
24850
$ac_file | $ac_file:* )
24853
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
24856
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24857
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24858
X$ac_file : 'X\(//\)[^/]' \| \
24859
X$ac_file : 'X\(//\)$' \| \
24860
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24862
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24866
/^X\(\/\/\)[^/].*/{
24878
s/.*/./; q'`/stamp-h$_am_stamp_count
24881
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24882
echo "$as_me: executing $ac_file commands" >&6;}
24887
case $ac_file$ac_mode in
24888
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24889
# Strip MF so we end up with the name of the file.
24890
mf=`echo "$mf" | sed -e 's/:.*$//'`
24891
# Check whether this is an Automake generated Makefile or not.
24892
# We used to match only the files named `Makefile.in', but
24893
# some people rename them; so instead we look at the file content.
24894
# Grep'ing the first line is not enough: some people post-process
24895
# each Makefile.in and add a new line on top of each file to say so.
24896
# So let's grep whole file.
24897
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24898
dirpart=`$as_dirname -- "$mf" ||
24899
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24900
X"$mf" : 'X\(//\)[^/]' \| \
24901
X"$mf" : 'X\(//\)$' \| \
24902
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24904
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24908
/^X\(\/\/\)[^/].*/{
24924
# Extract the definition of DEPDIR, am__include, and am__quote
24925
# from the Makefile without running `make'.
24926
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24927
test -z "$DEPDIR" && continue
24928
am__include=`sed -n 's/^am__include = //p' < "$mf"`
24929
test -z "am__include" && continue
24930
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24931
# When using ansi2knr, U may be empty or an underscore; expand it
24932
U=`sed -n 's/^U = //p' < "$mf"`
24933
# Find all dependency output files, they are included files with
24934
# $(DEPDIR) in their names. We invoke sed twice because it is the
24935
# simplest approach to changing $(DEPDIR) to its actual value in the
24937
for file in `sed -n "
24938
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24939
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24940
# Make sure the directory exists.
24941
test -f "$dirpart/$file" && continue
24942
fdir=`$as_dirname -- "$file" ||
24943
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24944
X"$file" : 'X\(//\)[^/]' \| \
24945
X"$file" : 'X\(//\)$' \| \
24946
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24948
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24952
/^X\(\/\/\)[^/].*/{
24965
{ as_dir=$dirpart/$fdir
24967
-*) as_dir=./$as_dir;;
24969
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24973
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24974
*) as_qdir=$as_dir;;
24976
as_dirs="'$as_qdir' $as_dirs"
24977
as_dir=`$as_dirname -- "$as_dir" ||
24978
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24979
X"$as_dir" : 'X\(//\)[^/]' \| \
24980
X"$as_dir" : 'X\(//\)$' \| \
24981
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24983
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24987
/^X\(\/\/\)[^/].*/{
25000
test -d "$as_dir" && break
25002
test -z "$as_dirs" || eval "mkdir $as_dirs"
25003
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25004
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25005
{ (exit 1); exit 1; }; }; }
25006
# echo "creating $dirpart/$file"
25007
echo '# dummy' > "$dirpart/$file"
25013
for file in intltool-extract intltool-merge intltool-update; do
25014
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
25015
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
25016
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
25017
< ${ac_aux_dir}/${file}.in > ${file}.out
25018
if cmp -s ${file} ${file}.out 2>/dev/null; then
25021
mv -f ${file}.out ${file}
25023
chmod ugo+x ${file}
25028
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
25029
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
25032
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
25037
'"s|^| $ac_top_srcdir/|" \
25038
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
25040
if test ! -f "po/Makefile"; then
25041
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
25042
echo "$as_me: error: po/Makefile is not ready." >&2;}
25043
{ (exit 1); exit 1; }; }
25045
mv "po/Makefile" "po/Makefile.tmp"
25046
sed '/^POTFILES =/,/[^\\]$/ {
25050
' "po/Makefile.tmp" >"po/Makefile"
25051
rm -f "po/Makefile.tmp"
25052
mv "po/stamp-it.tmp" "po/stamp-it"
25059
{ (exit 0); exit 0; }
25061
chmod +x $CONFIG_STATUS
25062
ac_clean_files=$ac_clean_files_save
25065
# configure is writing to config.log, and then calls config.status.
25066
# config.status does its own redirection, appending to config.log.
25067
# Unfortunately, on DOS this fails, as config.log is still kept open
25068
# by configure, so config.status won't be able to write to it; its
25069
# output is simply discarded. So we exec the FD to /dev/null,
25070
# effectively closing config.log, so it can be properly (re)opened and
25071
# appended to by config.status. When coming back to configure, we
25072
# need to make the FD available again.
25073
if test "$no_create" != yes; then
25075
ac_config_status_args=
25076
test "$silent" = yes &&
25077
ac_config_status_args="$ac_config_status_args --quiet"
25079
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25081
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
25082
# would make configure fail if this is the last instruction.
25083
$ac_cs_success || { (exit 1); exit 1; }